CN115904095A - Information input method and device, electronic equipment and readable storage medium - Google Patents

Information input method and device, electronic equipment and readable storage medium Download PDF

Info

Publication number
CN115904095A
CN115904095A CN202211634693.0A CN202211634693A CN115904095A CN 115904095 A CN115904095 A CN 115904095A CN 202211634693 A CN202211634693 A CN 202211634693A CN 115904095 A CN115904095 A CN 115904095A
Authority
CN
China
Prior art keywords
input
placeholder
user
character
mode
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
Application number
CN202211634693.0A
Other languages
Chinese (zh)
Inventor
李皖兴
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Vivo Mobile Communication Co Ltd
Original Assignee
Vivo Mobile Communication Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Vivo Mobile Communication Co Ltd filed Critical Vivo Mobile Communication Co Ltd
Priority to CN202211634693.0A priority Critical patent/CN115904095A/en
Publication of CN115904095A publication Critical patent/CN115904095A/en
Pending legal-status Critical Current

Links

Images

Landscapes

  • Input From Keyboards Or The Like (AREA)

Abstract

The application discloses an information input method, an information input device, electronic equipment and a readable storage medium, and belongs to the technical field of information processing. The method comprises the following steps: displaying an input keyboard, the input keyboard comprising a first key for entering a placeholder; receiving a first input of the input keyboard by a user in a first input mode, wherein an input object of the first input comprises the first key; in response to the first input, displaying a first character string, the first character string comprising at least one placeholder and at least one first character; receiving a second input of the input keyboard by the user in a second input mode; replacing a first placeholder of the at least one placeholder with a second character in response to the second input.

Description

Information input method and device, electronic equipment and readable storage medium
Technical Field
The application belongs to the technical field of information processing, and particularly relates to an information input method and device, an electronic device and a readable storage medium.
Background
Along with the improvement of living standard of people, the use of electronic equipment is more and more common, can communicate with other people in the world through electronic equipment. When a user uses the electronic equipment, the user often needs to input characters, the characters can be input through a keyboard of the input software, and the keyboard supports 26 English keys.
When a user inputs characters, if the input characters have both capital letters and lowercase letters, the user needs to frequently switch between capital and lowercase letters, and the input efficiency is low.
Disclosure of Invention
An object of the embodiments of the present application is to provide an information input method, an information input device, an electronic device, and a readable storage medium, which can avoid frequent input mode switching and improve input efficiency.
In a first aspect, an embodiment of the present application provides an information input method, where the method includes:
displaying an input keyboard, the input keyboard comprising a first key for entering a placeholder;
receiving a first input of the input keyboard by a user in a first input mode, wherein an input object of the first input comprises the first key;
in response to the first input, displaying a first character string, the first character string comprising at least one placeholder and at least one first character;
receiving a second input of the input keyboard by the user in a second input mode;
in response to the second input, replacing a first placeholder of the at least one placeholder with a second character.
In a second aspect, an embodiment of the present application provides an information input apparatus, including:
a first display module to display an input keyboard, the input keyboard including first keys to input placeholders;
the first receiving module is used for receiving a first input of the input keyboard in a first input mode;
a first response module to display a first character in an edit box in response to the first input, the first character string including at least one placeholder;
the second receiving module is used for receiving second input of the input keyboard in a second input mode;
a second response module, configured to, in response to the second input, replace the first placeholder with a second character to obtain a second character, where the second character is determined according to the second input, and the first placeholder is a placeholder in the at least one placeholder.
In a third aspect, embodiments of the present application provide an electronic device, which includes a processor and a memory, where the memory stores a program or instructions executable on the processor, and the program or instructions, when executed by the processor, implement the steps of the method according to the first aspect.
In a fourth aspect, embodiments of the present application provide a readable storage medium, on which a program or instructions are stored, which when executed by a processor implement the steps of the method according to the first aspect.
In a fifth aspect, an embodiment of the present application provides a chip, where the chip includes a processor and a communication interface, where the communication interface is coupled to the processor, and the processor is configured to execute a program or instructions to implement the method according to the first aspect.
In a sixth aspect, embodiments of the present application provide a program product, stored on a storage medium, for execution by at least one processor to implement the method of the first aspect.
In an embodiment of the application, an input keyboard is displayed, the input keyboard comprising a first key for entering a placeholder; receiving a first input of the input keyboard by a user in a first input mode, wherein an input object of the first input comprises the first key; in response to the first input, displaying a first character string, the first character string comprising at least one placeholder and at least one first character; receiving a second input of the input keyboard by the user in a second input mode; in response to the second input, replacing a first placeholder of the at least one placeholder with a second character. Through the process, in the character input process, the input keyboard is firstly input in the first input mode, the placeholder is adopted to replace the character in the second input mode, after the character input in the first input mode is completed, the input mode of the input keyboard is switched to the second input mode, the placeholder is replaced in the second input mode, the whole process only needs to be switched once, the switching operation of the input mode of a user can be reduced, and the input efficiency is improved.
Drawings
FIG. 1 is a flow chart of an information input method provided by an embodiment of the present application;
FIG. 2-1 is a schematic diagram of an input character display according to an embodiment of the present application;
FIG. 2-2 is a second schematic diagram of an input character display according to an embodiment of the present application;
FIGS. 2-3 are third schematic diagrams of an input character display provided by an embodiment of the present application;
FIGS. 2-4 are fourth exemplary diagrams of an input character display provided by an embodiment of the present application;
FIGS. 2-5 are fifth exemplary diagrams of input character display provided by the present application;
FIGS. 2-6 are six schematic diagrams of input character display provided by embodiments of the present application;
FIG. 3 is a block diagram of an information input device according to an embodiment of the present application;
FIG. 4 is a block diagram of an electronic device according to an embodiment of the present disclosure;
fig. 5 is a second structural diagram of an electronic device according to an embodiment of the present application.
Detailed Description
The technical solutions in the embodiments of the present application will be described clearly below with reference to the drawings in the embodiments of the present application, and it is obvious that the described embodiments are some, but not all, embodiments of the present application. All other embodiments, which can be derived from the embodiments in the present application by a person skilled in the art, are within the scope of protection of the present application.
The terms first, second and the like in the description and in the claims of the present application are used for distinguishing between similar elements and not necessarily for describing a particular sequential or chronological order. It will be appreciated that the data so used may be interchanged under appropriate circumstances such that embodiments of the application may be practiced in sequences other than those illustrated or described herein, and that the terms "first," "second," and the like are generally used herein in a generic sense and do not limit the number of terms, e.g., the first term can be one or more than one. In addition, "and/or" in the specification and claims means at least one of connected objects, a character "/" generally means that a preceding and succeeding related objects are in an "or" relationship.
The information input method provided by the embodiment of the present application is described in detail below with reference to the accompanying drawings through specific embodiments and application scenarios thereof.
Fig. 1 is a flowchart of an information input method provided in an embodiment of the present application, where the information input method in the embodiment includes the following steps:
step 101, displaying an input keyboard, wherein the input keyboard comprises a first key, and the first key is used for inputting a placeholder.
Placeholders can be understood without any practical meaning and can subsequently be replaced by other characters or character strings. The placeholder may be in "\9633;" representation, or in other formats, and is not limited herein. The input keyboard can also comprise a plurality of letter keys, the number of the letter keys can be 26, the letter keys correspond to 26 English letters, and each letter key corresponds to one English letter.
In the input keyboard shown in fig. 2-1, reference numeral 21 denotes a first key, which may also be referred to as a placeholder key. By clicking on the first button, a placeholder can be entered. The placeholder has the same characteristics as other characters, for example, the placeholder can be deleted, copied, pasted, selected by long pressing or dragging, replaced by other characters after selection, deleted after selection, and the like. As shown in fig. 2-1, reference numeral 22 indicates a handle-like sign, and multiple selections can be made by dragging the sign.
102, in a first input mode, receiving a first input of the input keyboard from a user, wherein an input object of the first input comprises the first key.
The first input may be an input that clicks a key on an input keyboard, and the first input may include a plurality of sub-inputs, each of which is used to click a key on the input keyboard. For example, the first input may input the string "A \9633;, B \9633;, C \9633;" as shown in FIG. 2-1.
The first input mode may be one of a capital letter input mode, a small letter input mode, a chinese input mode, an english input mode, a punctuation input mode, and the like. For example, for letter keys, if the first input mode is a capital letter input mode, the key corresponding to a is clicked, and then the character "a" is input; and if the first input mode is a lower case letter input mode, clicking a key corresponding to the character a to input the character a.
Step 103, responding to the first input, displaying a first character string, wherein the first character string comprises at least one placeholder and at least one first character.
As shown in fig. 2-1, an input first character string is displayed in the edit box, wherein the first character string includes three placeholders, and each placeholder can be replaced by one character or character string, for example, if input is performed through an input keyboard, the placeholder is replaced by the input character; if the input is made by pasting, the placeholder may be replaced by a pasted character string, which is not limited herein.
And 104, receiving a second input of the input keyboard by the user in a second input mode, wherein the second input is used for inputting a second character.
The second input mode may be one of a capital letter input mode, a small letter input mode, a chinese character input mode, an english input mode, a punctuation input mode, and the like, and the first input mode is different from the second input mode.
Step 105, replacing a first placeholder of the at least one placeholder with a second character in response to the second input. The first placeholder is a placeholder in the at least one placeholder.
For example, if the input text includes a plurality of upper-case letters and lower-case letters, the upper-case letters may be input first, the lower-case letters are replaced with placeholders in the input process, after the upper-case letters are input, the upper-case input mode of the input keyboard is switched, then the placeholders are replaced with the input lower-case letters to obtain the second character, and the whole input process only needs to be switched once.
For another example, if the input text includes a chinese character and an english character, the chinese character may be input first, the english character may be replaced with a placeholder in the input process, after the chinese character is input, the chinese-english input mode of the input keyboard is switched, and then the placeholder is replaced with the input english letter to obtain the second character, and the whole input process only needs to perform one chinese-english switching.
The method in this embodiment displays an input keyboard comprising first keys for entering placeholders; receiving a first input of the input keyboard by a user in a first input mode, wherein an input object of the first input comprises the first key; in response to the first input, displaying a first character string, the first character string comprising at least one placeholder and at least one first character; receiving a second input of the input keyboard by the user in a second input mode; in response to the second input, replacing a first placeholder of the at least one placeholder with a second character. Through the process, in the character input process, the input keyboard is firstly input in the first input mode, the placeholder is adopted to replace the character in the second input mode, after the character input in the first input mode is completed, the input mode of the input keyboard is switched to the second input mode, the placeholder is replaced in the second input mode, the whole process only needs to be switched once, the switching operation of the input mode of a user can be reduced, and the input efficiency is improved.
In an embodiment of the application, the input keyboard further includes a second key, where in one case, the second key is used to open or close a placeholder editing mode, and in a case that the placeholder editing mode is opened, the input mode of the input keyboard is switched to a second input mode through a switching input, so that characters input in the second input mode for placeholders in the first character string are replaced, and in another case, the second key is used to open or close the second input mode, for example, a user may open the second input mode by clicking the second key, and may replace characters input in the second input mode for placeholders in the first character string;
before the receiving a second input of the input keyboard by the user, the method further comprises:
receiving a third input of the user to the second key;
in response to the third input, a second input mode is turned on and a first placeholder in the first string is placed in a selected state.
Specifically, the third input may be an input of clicking a second key, after the second key is clicked, the first placeholder is in a selected state, and the first placeholder is highlighted, and if an input cursor is displayed in the edit box, the input cursor in the edit box is hidden, as shown in fig. 2-2, in the figure, reference numeral 23 is a second key, which may also be referred to as a placeholder edit key, in the figure, reference numeral 24 is a first placeholder, and in the figure, the first placeholder is highlighted. The first placeholder may be a first input placeholder in the first character string, or a first-ranked placeholder in the first character string, and may be specifically set according to an actual situation, which is not limited herein. The highlighted placeholder is the selected placeholder. The highlighting may be a highlighting or a bolding, which is not limited herein.
It should be noted that the input keyboard may include the second key in any input mode. And if the second key is clicked, entering a placeholder editing mode, and if the second key is clicked again, exiting the placeholder editing mode and entering a normal mode. In the placeholder editing mode, a copy operation and a paste operation for the first character string may be prohibited. In the normal mode, a copy operation and a paste operation may be performed on the first character string.
After clicking the lowercase letter "a", the first placeholder 24 is replaced with "a", as shown in fig. 2-3, and the characters obtained after the replacement are "AaB \9633;" C \9633; ".
In this embodiment, the second key can trigger the entering of the placeholder editing mode, so that the characters of the first placeholder in the second input mode are replaced, the whole process only needs to be switched once, the switching operation of the user can be reduced, and the input efficiency is improved.
In an embodiment of the application, in a case that the at least one placeholder includes a second placeholder, and the second placeholder is a next placeholder to the first placeholder, after receiving the second input by the user into the input keyboard, the method further comprises:
in response to the second input, placing the second placeholder in a selected state.
Specifically, the second placeholder is the next placeholder of the first placeholder in the first string, e.g., as shown in fig. 2-2, if the first placeholder is a placeholder between a and B, the second placeholder is a placeholder located between B and C; if the first placeholder is the last placeholder, the second placeholder is the first placeholder in the first string, i.e., the placeholder between a and B, and in the case that the first string includes one placeholder, the first placeholder of the first string is also the last placeholder of the first string.
As shown in fig. 2-3, after the first placeholder 24 is replaced with "a", the resulting string is "AaB \9633;" C \9633; "highlighted moves to the next placeholder, i.e., the placeholder between B and C, which is the second placeholder.
In this embodiment, after the first placeholder is replaced with the second character, if the at least one placeholder includes a second placeholder, the second placeholder is in a selected state, so as to continue to be replaced with the second placeholder. Through the steps, the placeholders can be selected automatically in sequence, and the user can replace the placeholders only by inputting the replacement characters, so that the user operation is simplified, and the input efficiency is improved.
In one embodiment of the present application, after the turning on the second input mode, the method further includes:
if the target condition is met, switching the second input mode to the first input mode, and displaying an input cursor; wherein the target condition comprises any one of:
receiving a fourth input of the user to the second key; placeholders in the first string are all replaced.
Specifically, the fourth input may be an input of clicking a second key, and by clicking the second key, the second input mode may be closed, and the input mode of the input keyboard is switched to the first input mode; and under the condition that the placeholders in the first character string are replaced, the input mode of the input keyboard is automatically switched into the first input mode without manual operation of a user. Through the steps, the input mode of the input keyboard can be actively or automatically switched to the first input mode, and the input cursor is displayed again, so that the user can continuously input characters in the first input mode, the user operation is simplified, and the input efficiency is improved.
In an embodiment of the application, after replacing the first placeholder of the at least one placeholder with the second character, the method further includes:
receiving a fifth input of the user;
in response to the fifth input, replacing the second character with the first placeholder and placing the first placeholder in a selected state.
Specifically, a fifth input is used to delete the modification to the newly replaced placeholder, which may be an input clicking the "delete" button. As shown in FIGS. 2-3, if the user clicks the "delete" button, the modification of the placeholder at the "a" location will be reversed, the "a" will be replaced back to "\9633;" and this placeholder is highlighted. The first placeholder is selected in a highlighted form, which may be highlighted and selected, and the user may continue character replacing the first placeholder, i.e. entering a new character to replace the first placeholder.
Through the steps, the replacement of the first placeholder by the second character can be backed, namely the second character is replaced by the first placeholder, the user can input the character again to replace the first placeholder, the user can modify the character at the first placeholder conveniently, and the input efficiency is improved.
The following illustrates an information input method provided in an embodiment of the present application.
The placeholder edit mode has the following characteristics:
in this mode, a placeholder is highlighted and selected, where the selection does not have a handle-like identifier.
In this mode, clicking the placeholder editing key again will exit the placeholder editing mode, enter the normal mode, and position the cursor to the end of the character string.
In this mode, copy or paste operations cannot be performed.
In this mode, the entered character or string will replace the currently highlighted placeholder and highlight the next placeholder. If no next placeholder exists, highlighting the selected first placeholder; if no placeholder exists, the placeholder editing mode is exited, the ordinary mode is entered, and the cursor is positioned at the end of the character string.
In this mode, clicking delete will reverse the modification of the previous placeholder of the current placeholder and highlight the selected previous placeholder. If the previous placeholder does not exist, no response is made.
For example, the first character is "A \9633;" B \9633; "C \9633;" clicking the placeholder edit key 23 enters the placeholder edit mode, as shown in FIGS. 2-2.
After "a" is entered, the currently selected placeholder is replaced and the next placeholder is selected, with the processing results shown in FIGS. 2-3.
At this point, clicking delete the modification that would fall back the placeholder for the "a" location, replace "a" back "\9633;" and highlight this placeholder, the result is shown in FIG. 2-2.
The following illustrates the process of entering the string "AaBbCc" as follows:
if a segment of character string 'AaBbCC' is input, the input method is in a capital letter input mode, and 'A \9633, B \9633, C \9633;' as shown in FIGS. 2-4, the reference number 25 in the figure is a cursor;
clicking the "placeholder edit key", the cursor in editing disappears, entering the "placeholder edit mode", and highlighting by default the first "placeholder", as shown in fig. 2-2.
Cutting to a lower case English input mode, entering "a" will replace the currently selected placeholder and select the next placeholder as shown in FIGS. 2-3.
Input "b" will replace the currently selected placeholder and select the next placeholder, as shown in FIGS. 2-5.
Entering "c" will replace the currently selected placeholder and exit the placeholder editing mode, entering the normal mode, with the cursor positioned at the end of the string, as shown in fig. 2-6.
In the process of inputting the character string 'AaBbCC', the capital and small characters are quickly input through the placeholder, the capital and small characters can be prevented from being switched for many times, the capital and small characters are only required to be switched once by adopting the method provided by the embodiment of the application, the user operation is simplified, and the input efficiency is improved.
According to the information input method provided by the embodiment of the application, the execution main body can be an information input device. In the embodiment of the present application, an information input method executed by an information input device is taken as an example, and the information input device provided in the embodiment of the present application is described.
As shown in fig. 3, the information input device 300 includes:
a first display module 301 for displaying an input keyboard, the input keyboard comprising first keys for inputting placeholders;
a first receiving module 302, configured to receive, in a first input mode, a first input of the input keyboard by a user, where an input object of the first input includes the first key;
a second display module 303 for displaying a first character string in response to the first input, the first character string comprising at least one placeholder and at least one first character;
a second receiving module 304, configured to receive a second input of the input keyboard from the user in a second input mode;
a first replacement module 305 to replace a first placeholder of the at least one placeholder with a second character in response to the second input.
Optionally, the input keyboard further comprises a second key, and the second key is used for turning on or off the second input mode;
the device further comprises:
the third receiving module is used for receiving a third input of the second key by the user;
and the first response module is used for responding to the third input, starting a second input mode and enabling a first placeholder in the first character string to be in a selected state.
Optionally, in the case of displaying an input cursor, the apparatus further includes:
and the second response module is used for responding to the third input and canceling the display of the input cursor.
Optionally, in a case that the at least one placeholder includes a second placeholder and the second placeholder is a subsequent placeholder to the first placeholder, the apparatus further comprises:
a third response module to cause the second placeholder to be in a selected state in response to the second input.
Optionally, the apparatus further comprises:
the fourth response module is used for switching the second input mode into the first input mode and displaying an input cursor if the target condition is met;
wherein the target condition comprises any one of:
receiving a fourth input of the user to the second key; placeholders in the first string are all replaced.
Optionally, the apparatus further comprises:
the fourth receiving module is used for receiving a fifth input of the user;
a fifth response module to replace the second character with the first placeholder and place the first placeholder in a selected state in response to the fifth input.
The information input device 300 provided in the embodiment of the present application can implement each process implemented by the foregoing method embodiments, achieve the same technical effect, and is not described herein again to avoid repetition.
The information input device 300 in the embodiment of the present application may be an electronic device, or may be a component in an electronic device, such as an integrated circuit or a chip. The electronic device may be a terminal, or may be a device other than a terminal. The electronic Device may be, for example, a Mobile phone, a tablet computer, a notebook computer, a palm top computer, a vehicle-mounted electronic Device, a Mobile Internet Device (MID), an Augmented Reality (AR)/Virtual Reality (VR) Device, a robot, a wearable Device, an ultra-Mobile personal computer (UMPC), a netbook or a Personal Digital Assistant (PDA), and the like, and may also be a server, a Network Attached Storage (Network Attached Storage, NAS), a personal computer (NAS), a Television (TV), a teller machine, a self-service machine, and the like, and the embodiments of the present application are not limited in particular.
The information input device 300 in the embodiment of the present application may be a device having an operating system. The operating system may be an Android (Android) operating system, an ios operating system, or other possible operating systems, and embodiments of the present application are not limited specifically.
Optionally, as shown in fig. 4, an electronic device 400 is further provided in an embodiment of the present application, and includes a processor 401 and a memory 402, where the memory 402 stores a program or an instruction that can be executed on the processor 401, and when the program or the instruction is executed by the processor 401, the steps of the above-described information input method embodiment are implemented, and the same technical effects can be achieved, and are not described again here to avoid repetition.
It should be noted that the electronic device in the embodiment of the present application includes the mobile electronic device and the non-mobile electronic device described above.
Fig. 5 is a hardware structure diagram of an electronic device implementing the embodiment of the present application.
The electronic device 500 includes, but is not limited to: a radio frequency unit 501, a network module 502, an audio output unit 503, an input unit 504, a sensor 505, a display unit 506, a user input unit 507, an interface unit 508, a memory 509, a processor 510, and the like.
Those skilled in the art will appreciate that the electronic device 500 may further include a power supply (e.g., a battery) for supplying power to various components, and the power supply may be logically connected to the processor 510 via a power management system, so as to implement functions of managing charging, discharging, and power consumption via the power management system. The electronic device structure shown in fig. 5 does not constitute a limitation of the electronic device, and the electronic device may include more or less components than those shown, or combine some components, or arrange different components, and thus, the description is omitted here.
The display unit 506 is configured to display an input keyboard, where the input keyboard includes a first key, and the first key is used to input a placeholder;
a user input unit 507, configured to receive a first input to the input keyboard by a user in a first input mode, where an input object of the first input includes the first key;
a display unit 506 for displaying a first character string in response to the first input, the first character string including at least one placeholder and at least one first character;
a user input unit 507, configured to receive a second input to the input keypad by the user in a second input mode;
a processor 510 for replacing a first placeholder of the at least one placeholder with a second character in response to the second input.
Optionally, the input keyboard further comprises a second key, and the second key is used for turning on or off the second input mode;
a user input unit 507, configured to receive a third input to the second key by a user;
processor 510, configured to, in response to the third input, turn on a second input mode and place a first placeholder in the first string in a selected state.
Alternatively, in a case where an input cursor is displayed, the display unit 506 is configured to cancel displaying the input cursor in response to the third input.
Optionally, in a case that the at least one placeholder includes a second placeholder and the second placeholder is a subsequent placeholder to the first placeholder, processor 510 is configured to, in response to the second input, place the second placeholder in a selected state.
Optionally, the processor 510 is configured to switch from the second input mode to the first input mode if the target condition is met, and display an input cursor through the display unit 506;
wherein the target condition comprises any one of:
receiving a fourth input of the user to the second key; placeholders in the first string are each replaced.
Optionally, a user input unit 507, configured to receive a fifth input by the user;
a processor 510, configured to replace the second character with the first placeholder and place the first placeholder in a selected state in response to the fifth input.
The electronic device provided by the embodiment of the application can implement each process implemented by the foregoing method embodiment, and is not described here again to avoid repetition.
It should be understood that in the embodiment of the present application, the input Unit 504 may include a Graphics Processing Unit (GPU) 5041 and a microphone 5042, and the Graphics processor 5041 processes image data of still pictures or videos obtained by an image capturing device (such as a camera) in a video capturing mode or an image capturing mode. The display unit 506 may include a display panel 5061, and the display panel 5061 may be configured in the form of a liquid crystal display, an organic light emitting diode, or the like. The user input unit 507 includes at least one of a touch panel 5071 and other input devices 5072. A touch panel 5071, also referred to as a touch screen. The touch panel 5071 may include two parts of a touch detection device and a touch controller. Other input devices 5072 may include, but are not limited to, a physical keyboard, function keys (e.g., volume control alphabet keys, on/off alphabet keys, etc.), a trackball, a mouse, and a joystick, which are not described in detail herein.
The memory 509 may be used to store software programs as well as various data. The memory 509 may mainly include a first storage area storing a program or an instruction and a second storage area storing data, wherein the first storage area may store an operating system, an application program or an instruction (such as a sound playing function, an image playing function, etc.) required for at least one function, and the like. Further, the memory 509 may include volatile memory or non-volatile memory, or the memory 509 may include both volatile and non-volatile memory. The non-volatile Memory may be a Read-Only Memory (ROM), a Programmable ROM (PROM), an Erasable PROM (EPROM), an Electrically Erasable PROM (EEPROM), or a flash Memory. The volatile Memory may be a Random Access Memory (RAM), a Static Random Access Memory (Static RAM, SRAM), a Dynamic Random Access Memory (Dynamic RAM, DRAM), a Synchronous Dynamic Random Access Memory (Synchronous DRAM, SDRAM), a Double Data Rate Synchronous Dynamic Random Access Memory (Double Data Rate SDRAM, ddr SDRAM), an Enhanced Synchronous SDRAM (ESDRAM), a Synchronous Link DRAM (SLDRAM), and a Direct Memory bus RAM (DRRAM). The memory 509 in the embodiments of the subject application includes, but is not limited to, these and any other suitable types of memory.
Processor 510 may include one or more processing units; optionally, the processor 510 integrates an application processor, which primarily handles operations involving the operating system, user interface, and applications, and a modem processor, which primarily handles wireless communication signals, such as a baseband processor. It will be appreciated that the modem processor described above may not be integrated into processor 510.
The embodiment of the present application further provides a readable storage medium, where a program or an instruction is stored on the readable storage medium, and when the program or the instruction is executed by a processor, the program or the instruction implements each process of the above-mentioned information input method embodiment, and can achieve the same technical effect, and in order to avoid repetition, details are not 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 or optical disk, and the like.
The embodiment of the present application further provides a chip, where the chip includes a processor and a communication interface, the communication interface is coupled to the processor, and the processor is configured to run a program or an instruction to implement each process of the above information input method embodiment, and can achieve the same technical effect, and in order to avoid repetition, the description is omitted here.
It should be understood that the chips mentioned in the embodiments of the present application may also be referred to as system-on-chip, system-on-chip or system-on-chip, etc.
Embodiments of the present application provide a computer program product, where the program product is stored in a storage medium, and the program product is executed by at least one processor to implement the processes of the above-mentioned embodiments of the information input method, and can achieve the same technical effects, and in order to avoid repetition, details are not repeated here.
It should be noted that, in this document, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or apparatus. Without further limitation, an element defined by the phrases "comprising a component of' 8230; \8230;" does not exclude the presence of another like element in a process, method, article, or apparatus that comprises the element. Further, it should be noted that the scope of the methods and apparatus of the embodiments of the present application is not limited to performing the functions in the order illustrated or discussed, but may include performing the functions in a substantially simultaneous manner or in a reverse order based on the functions involved, e.g., the methods described may be performed in an order different than that described, and various steps may be added, omitted, or combined. In addition, features described with reference to certain examples may be combined in other examples.
Through the above description of the embodiments, those skilled in the art will clearly understand that the method of the above embodiments can be implemented by software plus a necessary general hardware platform, and certainly can also be implemented by hardware, but in many cases, the former is a better implementation manner. Based on such understanding, the technical solutions of the present application or portions thereof that contribute to the prior art may be embodied in the form of a computer software product, which is stored in a storage medium (such as ROM/RAM, magnetic disk, optical disk) and includes instructions for enabling a terminal (which may be a mobile phone, a computer, a server, or a network device, etc.) to execute the method according to the embodiments of the present application.
While the present embodiments have been described with reference to the accompanying drawings, it is to be understood that the invention is not limited to the precise embodiments described above, which are meant to be illustrative and not restrictive, and that various changes may be made therein by those skilled in the art without departing from the spirit and scope of the invention as defined by the appended claims.

Claims (14)

1. An information input method, comprising:
displaying an input keyboard, the input keyboard comprising a first key for entering a placeholder;
receiving a first input of the input keyboard by a user in a first input mode, wherein an input object of the first input comprises the first key;
in response to the first input, displaying a first character string, the first character string including at least one placeholder and at least one first character;
receiving a second input of the input keyboard by the user in a second input mode;
in response to the second input, replacing a first placeholder of the at least one placeholder with a second character.
2. The method of claim 1, wherein the input keyboard further comprises a second key for turning on or off the second input mode;
before the receiving of the second input of the input keyboard by the user, the method further comprises:
receiving a third input of the user to the second key;
in response to the third input, a second input mode is turned on and a first placeholder in the first string is placed in a selected state.
3. The method of claim 2, wherein after receiving a third input to the second key by the user while the input cursor is displayed, the method further comprises:
canceling display of the input cursor in response to the third input.
4. The method of claim 1, wherein in a case that the at least one placeholder includes a second placeholder and the second placeholder is a subsequent placeholder to the first placeholder, after receiving the second input from the user into the input keyboard, the method further comprises:
in response to the second input, placing the second placeholder in a selected state.
5. The method of claim 2, wherein after the turning on the second input mode, the method further comprises:
under the condition that the target condition is met, switching from the second input mode to the first input mode, and displaying an input cursor;
wherein the target condition comprises any one of:
receiving a fourth input of the user to the second key; placeholders in the first string are all replaced.
6. The method of claim 1, wherein after replacing the first one of the at least one placeholder with the second character, the method further comprises:
receiving a fifth input of the user;
in response to the fifth input, replacing the second character with the first placeholder and placing the first placeholder in a selected state.
7. An information input device, comprising:
a first display module to display an input keyboard, the input keyboard including first keys to input placeholders;
the first receiving module is used for receiving a first input of the input keyboard by a user in a first input mode, wherein an input object of the first input comprises the first key;
a second display module to display a first character string in response to the first input, the first character string including at least one placeholder and at least one first character;
the second receiving module is used for receiving a second input of the input keyboard by the user in a second input mode;
a first replacement module to replace a first placeholder of the at least one placeholder with a second character in response to the second input.
8. The apparatus of claim 7, wherein the input keyboard further comprises a second key for turning on or off the second input mode;
the device further comprises:
the third receiving module is used for receiving a third input of the second key by the user;
and the response module is used for responding to the third input, starting a second input mode and enabling a first placeholder in the first character string to be in a selected state.
9. The apparatus of claim 8, wherein in the case of displaying an input cursor, the apparatus further comprises:
and the second response module is used for responding to the third input and canceling the display of the input cursor.
10. The apparatus of claim 7, wherein in a case that the at least one placeholder comprises a second placeholder and the second placeholder is a subsequent placeholder from the first placeholder, the apparatus further comprises:
a third response module to cause the second placeholder to be in a selected state in response to the second input.
11. The apparatus of claim 8, further comprising:
the fourth response module is used for switching the second input mode into the first input mode and displaying an input cursor under the condition that the target condition is met;
wherein the target condition comprises any one of:
receiving a fourth input of the user to the second key; placeholders in the first string are all replaced.
12. The apparatus of claim 7, further comprising:
the fourth receiving module is used for receiving a fifth input of the user;
a fifth response module to replace the second character with the first placeholder and place the first placeholder in a selected state in response to the fifth input.
13. An electronic device comprising a processor and a memory, the memory storing a program or instructions executable on the processor, the program or instructions when executed by the processor implementing the steps of the information input method of any one of claims 1 to 6.
14. A readable storage medium, characterized in that the readable storage medium stores thereon a program or instructions which, when executed by a processor, implement the steps of the information input method according to any one of claims 1 to 6.
CN202211634693.0A 2022-12-19 2022-12-19 Information input method and device, electronic equipment and readable storage medium Pending CN115904095A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202211634693.0A CN115904095A (en) 2022-12-19 2022-12-19 Information input method and device, electronic equipment and readable storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202211634693.0A CN115904095A (en) 2022-12-19 2022-12-19 Information input method and device, electronic equipment and readable storage medium

Publications (1)

Publication Number Publication Date
CN115904095A true CN115904095A (en) 2023-04-04

Family

ID=86494837

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202211634693.0A Pending CN115904095A (en) 2022-12-19 2022-12-19 Information input method and device, electronic equipment and readable storage medium

Country Status (1)

Country Link
CN (1) CN115904095A (en)

Similar Documents

Publication Publication Date Title
CN112256179B (en) Text processing method and device
CN113849092A (en) Content sharing method and device and electronic equipment
CN115357158A (en) Message processing method and device, electronic equipment and storage medium
CN114518820A (en) Icon sorting method and device and electronic equipment
CN114116098B (en) Application icon management method and device, electronic equipment and storage medium
CN114721565A (en) Application program starting method and device, electronic equipment and storage medium
CN114518822A (en) Application icon management method and device and electronic equipment
CN114415886A (en) Application icon management method and electronic equipment
CN115729412A (en) Interface display method and device
CN113325986B (en) Program control method, program control device, electronic device and readable storage medium
CN115328355A (en) Application function starting method and device
CN114816633A (en) Information display method and device and electronic equipment
CN113885981A (en) Desktop editing method and device and electronic equipment
CN113835578A (en) Display method and device and electronic equipment
CN113253904A (en) Display method, display device and electronic equipment
CN113010072A (en) Searching method and device, electronic equipment and readable storage medium
CN115904095A (en) Information input method and device, electronic equipment and readable storage medium
CN113807057B (en) Text editing method and device
CN114840109A (en) Information display method and device, electronic equipment and readable storage medium
CN117312595A (en) Picture display method and device
CN115686285A (en) Page display method and device, electronic equipment and readable storage medium
CN115146189A (en) Content sharing method and device and electronic equipment
CN114647749A (en) Document processing method and device and electronic equipment
CN118349149A (en) Image display method and device and electronic equipment
CN118689577A (en) Display method and device of screen locking wallpaper

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