CN107193476B - Information input method and device, computer equipment and readable medium - Google Patents

Information input method and device, computer equipment and readable medium Download PDF

Info

Publication number
CN107193476B
CN107193476B CN201710325300.0A CN201710325300A CN107193476B CN 107193476 B CN107193476 B CN 107193476B CN 201710325300 A CN201710325300 A CN 201710325300A CN 107193476 B CN107193476 B CN 107193476B
Authority
CN
China
Prior art keywords
input
information
virtual
virtual keyboard
type
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.)
Active
Application number
CN201710325300.0A
Other languages
Chinese (zh)
Other versions
CN107193476A (en
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.)
Beijing Baidu Netcom Science and Technology Co Ltd
Original Assignee
Beijing Baidu Netcom Science and Technology 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 Beijing Baidu Netcom Science and Technology Co Ltd filed Critical Beijing Baidu Netcom Science and Technology Co Ltd
Priority to CN201710325300.0A priority Critical patent/CN107193476B/en
Publication of CN107193476A publication Critical patent/CN107193476A/en
Application granted granted Critical
Publication of CN107193476B publication Critical patent/CN107193476B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/048Interaction techniques based on graphical user interfaces [GUI]
    • G06F3/0487Interaction techniques based on graphical user interfaces [GUI] using specific features provided by the input device, e.g. functions controlled by the rotation of a mouse with dual sensing arrangements, or of the nature of the input device, e.g. tap gestures based on pressure sensed by a digitiser
    • G06F3/0488Interaction techniques based on graphical user interfaces [GUI] using specific features provided by the input device, e.g. functions controlled by the rotation of a mouse with dual sensing arrangements, or of the nature of the input device, e.g. tap gestures based on pressure sensed by a digitiser using a touch-screen or digitiser, e.g. input of commands through traced gestures
    • G06F3/04886Interaction techniques based on graphical user interfaces [GUI] using specific features provided by the input device, e.g. functions controlled by the rotation of a mouse with dual sensing arrangements, or of the nature of the input device, e.g. tap gestures based on pressure sensed by a digitiser using a touch-screen or digitiser, e.g. input of commands through traced gestures by partitioning the display area of the touch-screen or the surface of the digitising tablet into independently controllable areas, e.g. virtual keyboards or menus

Abstract

The invention provides an information input method and device, computer equipment and a readable medium. The method comprises the following steps: acquiring the type of information to be input in the input box from the input attribute of the input box; expanding an expanded virtual key corresponding to the type of the information to be input on the basis of the basic virtual keyboard according to the type of the information to be input to obtain an expanded virtual keyboard; and displaying the expanded virtual keyboard so that a user can input information in the input box according to the expanded virtual keyboard. By adopting the scheme of the invention, because the extended virtual keys corresponding to the types of the information to be input are extended in the extended virtual keyboard, a user can directly input the information according to the extended virtual keyboard when the user uses the extended virtual keys to input the information; compared with the prior art, the method saves complex key switching operation, can increase the convenience of information input, can effectively save information input time, and improves the information input efficiency.

Description

Information input method and device, computer equipment and readable medium
[ technical field ] A method for producing a semiconductor device
The present invention relates to the field of computer application technologies, and in particular, to an information input method and apparatus, a computer device, and a readable medium.
[ background of the invention ]
With the development of science and technology, the appearance of the intelligent terminal greatly facilitates the life of people. People can use the intelligent terminal to log in a mailbox for sending and receiving mails, log in various instant messaging and chatting with friends, input a website in various browsers for inquiring webpage information and writing and recording various text information.
In the prior art, many intelligent terminals adopt touch display screens, and when a user uses the intelligent terminal, the user can hang up a basic virtual keyboard by acquiring a focus of an input box, so that the basic virtual keyboard can be used for inputting various account numbers and passwords, inputting various long text information such as a mail text and a note book, inputting chat information in instant messaging, inputting network address information in a browser and the like. For example, 26 letters included in the base virtual keyboard may be displayed in a full keyboard manner, i.e., each letter occupies one virtual key. Or 26 letters included in the basic virtual keyboard can also adopt a 9-grid mode, a plurality of letters are placed in one virtual key, and the input of different letters is switched by clicking for a plurality of times. In addition, the basic virtual keyboard can also comprise Chinese and English switching keys, symbol triggering keys, digital switching keys, voice input switching keys, enter keys and other keys. Specifically, other virtual keys besides 26 letters can be set and displayed according to the interface layout of the basic virtual keyboard. When information is input, no matter what type of information is input currently, as long as the virtual key corresponding to the input information is information of virtual keys other than the basic virtual keyboard, the information can be input only by clicking the corresponding switching key in the basic virtual keyboard and lifting the corresponding virtual key.
Therefore, in the prior art, if the virtual key corresponding to the input information is information of a virtual key outside the basic virtual keyboard, the operation process is very complicated, and the information input efficiency is low.
[ summary of the invention ]
The invention provides an information input method and device, computer equipment and a readable medium, which are used for improving the efficiency of information input.
The invention provides an information input method, which comprises the following steps:
acquiring the type of information to be input in an input box from the input attribute of the input box;
expanding an expanded virtual key corresponding to the type of the information to be input on the basis of a basic virtual keyboard according to the type of the information to be input to obtain an expanded virtual keyboard;
and displaying the extended virtual keyboard so that a user can input information in the input box according to the extended virtual keyboard.
Further optionally, in the method, according to the type of the information to be input, the extended virtual key corresponding to the type of the information to be input is extended on the basis of a basic virtual keyboard to obtain an extended virtual keyboard, and specifically includes:
and expanding at least one row of a plurality of expanded virtual keys corresponding to the type of the information to be input on the basis of the basic virtual keyboard according to the type of the information to be input to obtain the expanded virtual keyboard.
Further optionally, in the method described above, before at least one row of the multiple extended virtual keys corresponding to the type of the information to be input is extended on the basis of the basic virtual keyboard according to the type of the information to be input, and the extended virtual keyboard is obtained, the method includes:
and acquiring a plurality of virtual keys corresponding to the type of the information to be input and having the highest use frequency from a historical information input record, wherein the virtual keys are used as the plurality of extended virtual keys.
Further optionally, in the method as described above, before obtaining the type of the information to be input in the input box from the input attribute of the input box, the method further includes:
and when the basic virtual keyboard is required to be hung, acquiring the input attribute of the input box.
Further optionally, in the method described above, the type of the information to be input includes an account number, a password, a digital verification code, long text information, a website address, or an expression; and/or
The number of the expanded virtual keys corresponding to the type of the information to be input is equal to the number of the row of virtual keyboards with the largest number in the basic virtual keyboards; and/or
The number of the expanded virtual keys corresponding to the type of the information to be input is equal to the number of the virtual keyboards included in the row, which is immediately adjacent to the row where the expanded virtual keys are located, in the basic virtual keyboard.
The present invention provides an information input device, the device comprising:
the acquisition module is used for acquiring the type of the information to be input in the input box from the input attribute of the input box;
the expansion module is used for expanding the expansion virtual keys corresponding to the types of the information to be input on the basis of the basic virtual keyboard according to the types of the information to be input to obtain an expansion virtual keyboard;
and the display module is used for displaying the extended virtual keyboard so that a user can input information in the input box according to the extended virtual keyboard.
Further optionally, in the apparatus as described above, the extension module is specifically configured to extend, based on the type of the information to be input, at least one row of multiple extension virtual keys corresponding to the type of the information to be input on the basis of the basic virtual keyboard, so as to obtain the extension virtual keyboard.
Further optionally, in the apparatus as described above, the obtaining module is further configured to obtain, from a history information input record, a plurality of virtual keys corresponding to the type of the information to be input and having a highest frequency of use as the plurality of extended virtual keys.
Further optionally, in the apparatus as described above, the obtaining module is further configured to obtain the input attribute of the input box when the basic virtual keyboard is required to be suspended.
Further optionally, in the apparatus as described above, the type of the information to be input includes an account number, a password, a digital verification code, long text information, a website address, or an expression; and/or
The number of the expanded virtual keys corresponding to the type of the information to be input is equal to the number of the row of virtual keyboards with the largest number in the basic virtual keyboards; and/or
The number of the expanded virtual keys corresponding to the type of the information to be input is equal to the number of the virtual keyboards included in the row, which is immediately adjacent to the row where the expanded virtual keys are located, in the basic virtual keyboard.
The present invention also provides a computer apparatus, the apparatus comprising:
one or more processors;
a memory for storing one or more programs,
when executed by the one or more processors, cause the one or more processors to implement the information input method as described above.
The present invention also provides a computer-readable medium, on which a computer program is stored, which program, when being executed by a processor, carries out the information input method as described above.
According to the information input method and device, the computer equipment and the readable medium, the type of the information to be input in the input box is obtained from the input attribute of the input box; expanding an expanded virtual key corresponding to the type of the information to be input on the basis of the basic virtual keyboard according to the type of the information to be input to obtain an expanded virtual keyboard; and displaying the expanded virtual keyboard so that a user can input information in the input box according to the expanded virtual keyboard. By adopting the scheme of the invention, because the extended virtual key corresponding to the type of the information to be input is extended in the extended virtual keyboard, a user can directly input the information in the input frame according to the extended virtual keyboard when the information is input; compared with the prior art, the method and the device have the advantages that complicated key switching operation is omitted when the type corresponding information of the information to be input is input in the input box, convenience of information input can be improved, information input time can be effectively saved, and information input efficiency is improved.
[ description of the drawings ]
Fig. 1 is a flowchart of an information input method according to an embodiment of the present invention.
Fig. 2 is a schematic diagram of a classic basic virtual keyboard in the prior art.
Fig. 3 is a schematic diagram of an extended virtual keyboard according to an embodiment of the present invention.
Fig. 4 is a schematic diagram of another extended virtual keyboard according to an embodiment of the present invention.
Fig. 5 is a schematic diagram of another extended virtual keyboard according to an embodiment of the present invention.
Fig. 6 is a schematic diagram of another extended virtual keyboard according to an embodiment of the present invention.
Fig. 7 is a structural diagram of an embodiment of the information input device of the present invention.
FIG. 8 is a block diagram of an embodiment of a computer device of the present invention.
Fig. 9 is an exemplary diagram of a computer device provided by the present invention.
[ detailed description ] embodiments
In order to make the objects, technical solutions and advantages of the present invention more apparent, the present invention will be described in detail with reference to the accompanying drawings and specific embodiments.
Fig. 1 is a flowchart of an information input method according to an embodiment of the present invention. As shown in fig. 1, the information input method of this embodiment may specifically include the following steps:
100. acquiring the type of information to be input in the input box from the input attribute of the input box;
the execution main body of the information input method of the embodiment is an information input device, the information input device can adopt software integration, and when a user uses the information input device, the user can download an installation package corresponding to the information input device and install the information input device, so that the information input device can be used for information input.
The application scenarios of the information input method of the embodiment may be as follows: a user opens an input box through a touch screen of the intelligent terminal to prepare for information input. The user can obtain the input focus by clicking the input box, the information input device determines that the user needs to input information in the input box, and the basic virtual keyboard of the information input device is requested to be hoisted for information input. The input box of this embodiment may be an input box for inputting account information when the user wants to log in a mailbox, a microblog, a forum, or the like, or an input box for inputting password information when the user wants to log in a mailbox, a microblog, a forum, or the like, or an input box for inputting a digital verification code when the user logs in a certain account, or an input box for inputting text information in a memo, a notepad, a text of a mailbox, or the like, or an input box for inputting chat information of instant messaging when the user uses instant messaging such as QQ, WeChat, MSN, Skype, or the like, or an input box for inputting website information in a browser, or the like. For each input box, the input attribute of each input box is set in the corresponding page of the web page or the corresponding Application (App), and the input attribute of the input box may include the type of information to be input in the input box, the size of the input box, or may also include other parameter information of the input box, such as the skin color of the input box. Therefore, optionally, before step 101, the method may further include acquiring an input attribute of the input box when the base virtual keyboard is required to be hung. Namely, the user clicks an input box displayed on the touch screen to acquire an input focus so as to request to lift the basic virtual keyboard. At this time, when the information input device detects that the basic virtual keyboard is required to be lifted, the input attribute of the input box can be acquired from the page of the webpage corresponding to the input box or the App corresponding to the input box; and then acquiring the type of the information to be input in the input box from the input attribute of the input box.
For example, the type of the information to be input in this embodiment includes an account number, a password, a website address, or an expression; or may also include other types of information to be input, not to mention a few examples.
101. Expanding an expanded virtual key corresponding to the type of the information to be input on the basis of the basic virtual keyboard according to the type of the information to be input to obtain an expanded virtual keyboard;
in this embodiment, the extended virtual keys extended on the basis of the basic virtual keyboard are extended virtual keys corresponding to types of information to be input, and then the basic virtual keyboard and the extended virtual keys together form the extended virtual keyboard.
For example, for a classic basic virtual keyboard, at this time, the corresponding step 101 "expand, according to the type of the information to be input, an expanded virtual key corresponding to the type of the information to be input on the basis of the basic virtual keyboard to obtain an expanded virtual keyboard", may specifically include: and expanding at least one row of a plurality of expanded virtual keys corresponding to the type of the information to be input on the basis of the basic virtual keyboard according to the type of the information to be input to obtain an expanded virtual keyboard. The virtual keys of 26 letters included in the basic virtual keyboard in this embodiment may be displayed in a full keyboard manner, or in a 9-grid manner. Similarly, the basic virtual keyboard may further include a chinese-english switching key, a symbol triggering key, a number switching key, a voice input switching key, a enter key, and other virtual keys, so that when there is an input demand, the virtual keys are switched to implement information input.
In this embodiment, at least one row of the extended virtual keys corresponding to the type of the information to be input may be set by the user according to the type of the information to be input. Specifically, the user may use the virtual keys which are easy to be used when inputting the type of information to be input that the user thinks, and may display the virtual keys which are easy to be used as the extended virtual keys in the extended virtual keyboard.
Or, optionally, before the step "expand at least one row of the plurality of expanded virtual keys corresponding to the type of the information to be input on the basis of the basic virtual keyboard according to the type of the information to be input to obtain the expanded virtual keyboard," in this embodiment, the method may further include: and acquiring a plurality of virtual keys which correspond to the type of the information to be input and have the highest use frequency from the historical information input record as a plurality of extended virtual keys. According to the scheme, subjectivity set by a user manually is avoided, and a plurality of virtual keys which correspond to types of information to be input and have the highest use frequency are obtained from the historical information input records by analyzing the historical information input records and are used as a plurality of extended virtual keys.
The number of the extended virtual keys in the extended virtual keyboard in this embodiment may be one, two, three, or more. To facilitate the expanded virtual keys, the row of expanded virtual keys in the expanded virtual keyboard may be located above or below the base virtual keyboard.
For example, in order to ensure that the number of the expanded virtual keys is enough, the number of the expanded virtual keys corresponding to the type of the information to be input may be set to be equal to the number of the virtual keyboard in the row with the largest number in the base virtual keyboard. However, if the number of the obtained plurality of extended virtual keys is not enough for one row, the virtual keys of some symbols can be added as the extended virtual keys, so as to reduce the need of switching the keyboard during symbol input and increase the convenience of symbol input.
Or, in order to ensure the aesthetic property of the extended virtual keyboard extended on the basis of the basic virtual keyboard, the number of the extended virtual keys corresponding to the type of the information to be input may be set to be equal to the number of the virtual keyboards included in the row of the basic virtual keyboard immediately adjacent to the row where the extended virtual keys are located.
Or, when the row of the expanded virtual keys in the virtual expanded virtual keyboard is located above the basic virtual keyboard, the number of the expanded virtual keys corresponding to the type of the information to be input may be set to be equal to the number of the virtual keyboards included in the row of the basic virtual keyboard immediately adjacent to the row of the expanded virtual keys, and then 2 is subtracted from the number of the virtual keyboards included in the row of the basic virtual keyboard immediately adjacent to the row of the expanded virtual keys, that is, one virtual key may be respectively indented on the left and right sides of the row of the basic virtual keyboard immediately adjacent to the row of the expanded virtual keys, so as to increase the aesthetic property of the layout of the expanded.
Or when the row of the extended virtual keys in the virtual extended virtual keyboard is located below the basic virtual keyboard, the number of the extended virtual keys corresponding to the type of the information to be input may be set to be equal to the sum of 2 of the number of the virtual keys included in the row of the basic virtual keyboard immediately adjacent to the row of the extended virtual keys, that is, compared with the row of the basic virtual keyboard immediately adjacent to the row of the extended virtual keys, one virtual key may be extended on the left and right sides, so as to increase the aesthetic property of the layout of the extended virtual keyboard.
Or setting a use frequency threshold for a preset time period without considering the aesthetic property of the layout of the expanded virtual keyboard, then counting historical information input records, and obtaining virtual keys corresponding to the type of the information to be input and having the use frequency greater than the use frequency threshold within the preset time period from the record to serve as the expanded virtual keys. And if the number of the obtained virtual keys is not enough to arrange a row, displaying the expanded virtual keys only at a plurality of key positions in the center of the row of the expanded virtual keyboard as much as possible according to the display attractiveness. If the number of the obtained expanded virtual keys is arranged according to any one of the whole-row arrangement schemes, and there are scattered expanded virtual keys which are not enough to arrange the whole row after the whole row is arranged, the remaining expanded virtual keys which are not enough to arrange the whole row can be arranged at the central positions of the keys in the row which is not enough to arrange the whole row. In practical application, other arrangement modes capable of displaying the extended virtual keys can be adopted in the extended virtual keyboard, and are not described in detail herein.
102. And displaying the expanded virtual keyboard so that a user can input information in the input box according to the expanded virtual keyboard.
After the extended virtual keyboard is obtained in the above embodiment, the extended virtual keyboard is finally displayed. The expanded virtual keyboard is characterized in that expanded virtual keys corresponding to the type of information to be input in the input box are expanded and displayed, and the expanded virtual keys are virtual keys with very high use frequency when information is input in the input box. Therefore, when a user inputs information according to the extended virtual keyboard, if the user wants to input characters corresponding to the virtual keys in the extended virtual keys, the user does not need to call the extended virtual keys on the basis of the basic virtual keyboard, and can directly input the information according to the extended virtual keys in the extended virtual keyboard, so that the complex key switching operation when inputting the information corresponding to the type of the information to be input in the input frame is reduced, and the convenience of information input is improved.
In the information input method of the embodiment, the type of information to be input in the input box is obtained from the input attribute of the input box; expanding an expanded virtual key corresponding to the type of the information to be input on the basis of the basic virtual keyboard according to the type of the information to be input to obtain an expanded virtual keyboard; and displaying the expanded virtual keyboard so that a user can input information in the input box according to the expanded virtual keyboard. By adopting the scheme of the embodiment, because the extended virtual keys corresponding to the types of the information to be input are extended in the extended virtual keyboard, a user can directly input the information according to the extended virtual keyboard when inputting the information by using the extended virtual keys; compared with the prior art, the method saves complex key switching operation, can increase the convenience of information input, can effectively save information input time, and improves the information input efficiency.
Fig. 2 is a schematic diagram of a classic basic virtual keyboard in the prior art. In the existing terminal such as a mobile phone or a tablet computer, when a user needs to input information in an input box displayed on a touch screen, an input focus is obtained by clicking the input box, a basic virtual keyboard as shown in fig. 2 is lifted, virtual keys of 26 letters in the classic basic virtual keyboard are arranged in a full keyboard mode, and each letter occupies one virtual key. In addition, as shown in fig. 2, the basic virtual keyboard may further include a chinese-english switching key, such as the key "middle/english" in fig. 2, a symbol triggering key, such as the key "symbol" in fig. 2, a numeric switching key, such as the key "123" in fig. 2, a voice input switching key, such as the virtual key in the middle of the bottom row of the basic virtual keyboard in fig. 2, and virtual keys, such as an enter key, a backspace key, and the like.
Fig. 3 is a schematic diagram of an extended virtual keyboard according to an embodiment of the present invention. As shown in fig. 3, in this embodiment, the type of the information to be input in the input box is a password or a digital verification code, in practical applications, the password and the digital verification code mostly adopt numbers, and in the classic basic virtual keyboard shown in fig. 2, if a digital password or a digital verification code is to be input, a digital switching key needs to be clicked, and the digital virtual key is lifted up to realize the input. In the extended virtual keyboard shown in fig. 3, a row of extended virtual keyboards is extended above the base virtual keyboard according to the type of information to be input in the input box, that is, a password or a numeric verification code, as shown in fig. 3, each extended row of extended virtual keys includes 10 extended virtual keys, including numbers 1, 2, 3, 4, 5, 6, 7, 8, 9, and 0, to generate an extended virtual keyboard. Therefore, when a user inputs a password or a digital verification code in the input frame according to the extended virtual keyboard, the user can directly input the password or the digital verification code according to the extended virtual keyboard without using a digital switching key to lift the digital virtual keyboard, so that the convenience of information input can be improved, the information input time can be effectively saved, and the information input efficiency is improved.
Fig. 4 is a schematic diagram of another extended virtual keyboard according to an embodiment of the present invention. As shown in fig. 4, in this embodiment, the type of the information to be input in the input box is taken as an example of instant messaging, and in practical applications, in a chat scene of instant messaging, users often adopt various expressions to communicate. In this embodiment, the multiple expressions with the highest frequency of use of the user may be obtained from the history chat records of the currently logged-in user, and the virtual keys corresponding to the multiple expressions with the higher frequency of use are used as the extended virtual keys. For example, in fig. 4, an extended virtual keyboard is generated by extending 10 extended virtual keys above a base virtual keyboard. Therefore, when a user inputs emoticons in a chat input box of instant messaging according to the extended virtual keyboard, the emoticons with high use frequency of the user do not need to adopt the emoticons to switch keys to lift the virtual keyboard of the emoticons, and the emoticons can be directly input according to the extended virtual keyboard, so that the convenience of information input can be improved, the information input time can be effectively saved, and the information input efficiency is improved.
Fig. 5 is a schematic diagram of another extended virtual keyboard according to an embodiment of the present invention. As shown in fig. 5, in this embodiment, taking the type of the information to be input in the input box as the website as an example, in practical applications, in the browser, the user may directly input the website in the website input box to query the information of the website corresponding to the website. In this embodiment, a plurality of fields with the highest usage frequency in the history access web page may be obtained from the history access web page record of the browser, and the virtual keys corresponding to the plurality of fields with the higher usage frequency are used as the extended virtual keys. For example, fig. 5 illustrates a virtual keyboard with 10 extended virtual keys "www", "m.", "wap.", ". com", "and" c "," extending over the underlying virtual keyboard,
Figure BDA0001290978940000101
". cn", ". net", "http", "://", "/" are examples, an extended virtual keyboard is generated. Therefore, when a user inputs a website in an input box of the website of the browser according to the extended virtual keyboard, for fields with higher use frequency of the user, such as 10 extended virtual keys in fig. 5, the virtual keyboard with symbols suspended by symbol switching keys is not needed, and the fields in the extended virtual keys are not input by one character and one character, and the fields are directly input according to the extended virtual keyboard, so that the convenience of information input can be improved, the information input time can be effectively saved, and the information input efficiency is improved.
Fig. 6 is a schematic diagram of another extended virtual keyboard according to an embodiment of the present invention. As shown in fig. 6, in this embodiment, the type of the information to be input in the input box is taken as a long text as an example, and in practical applications, in a memo or a notebook, etc., a user can input the informationThe long text information may be entered directly in the long text entry box. In this embodiment, the virtual keys corresponding to the most used functions during editing the long text message may be obtained from the history editing record corresponding to the long text message, and the virtual keys corresponding to the most used functions during editing the long text message may be used as the extended virtual keys. For example, in fig. 6, 10 virtual keys "select all", "copy", "paste", "clipboard", cursor left and right are extended above the basic virtual keyboard
Figure BDA0001290978940000102
Up-down moving cursor
Figure BDA0001290978940000103
Left alignment "| ←, right alignment" → | "," undo ", and" clear "are taken as examples, and the extended virtual keyboard is generated. Thus, when a user inputs long text information in the long text input box according to the extended virtual keyboard, for virtual keys with functions with high use frequency, such as 10 extended virtual keys in fig. 6, the virtual keyboard with the functions is not required to be hung up by using the function switching keys, and the functions can be directly operated according to the virtual keys with the functions displayed in the extended virtual keyboard, so that the convenience of information input can be improved, the information input time can be effectively saved, and the information input efficiency is improved.
Fig. 7 is a structural diagram of an embodiment of the information input device of the present invention. As shown in fig. 7, the information input device of the present embodiment may specifically include: an acquisition module 10, an expansion module 11 and a display module 12.
The obtaining module 10 is configured to obtain a type of information to be input in the input box from an input attribute of the input box;
the expansion module 11 is configured to expand the expansion virtual key corresponding to the type of the information to be input on the basis of the basic virtual keyboard according to the type of the information to be input, which is obtained by the obtaining module 10, to obtain an expansion virtual keyboard;
the display module 12 is configured to display the extended virtual keyboard extended by the extension module 11, so that a user can input information in the input box according to the extended virtual keyboard.
The information input device of this embodiment, the implementation principle and technical effect of implementing information input by using the module are the same as those of the related method embodiment, and details of the related method embodiment may be referred to and are not repeated herein.
Further optionally, in the information input device in the embodiment shown in fig. 7, the expansion module 11 is specifically configured to expand, on the basis of the basic virtual keyboard, at least one row of multiple expansion virtual keys corresponding to the type of the information to be input according to the type of the information to be input acquired by the acquisition module 10, so as to obtain the expansion virtual keyboard.
Further optionally, in the information input apparatus in the embodiment shown in fig. 7, the obtaining module 10 is further configured to obtain, from the history information input record, a plurality of virtual keys, corresponding to the type of the information to be input, and having a highest frequency of use as the plurality of extended virtual keys.
Further optionally, in the information input apparatus in the embodiment shown in fig. 7, the obtaining module 10 is further configured to obtain the input attribute of the input box when the basic virtual keyboard is required to be lifted.
Further optionally, in the information input apparatus in the embodiment shown in fig. 7, the type of the information to be input includes an account number, a password, a digital verification code, long text information, a website address, or an expression; and/or
The number of the expanded virtual keys corresponding to the type of the information to be input is equal to the number of the virtual keyboard in the row with the largest number in the basic virtual keyboard; and/or
The number of the expanded virtual keys corresponding to the type of the information to be input is equal to the number of the virtual keyboards included in the row, which is in the basic virtual keyboard and is immediately adjacent to the row where the expanded virtual keys are located.
FIG. 8 is a block diagram of an embodiment of a computer device of the present invention. As shown in fig. 8, the computer device of the present embodiment includes: one or more processors 30, and a memory 40, the memory 40 being configured to store one or more programs, when the one or more programs stored in the memory 40 are executed by the one or more processors 30, to cause the one or more processors 30 to implement the information input method of the embodiments shown in fig. 1, 3-6 above. The embodiment shown in fig. 8 is exemplified by including a plurality of processors 30.
For example, fig. 9 is an exemplary diagram of a computer device provided by the present invention. FIG. 9 illustrates a block diagram of an exemplary computer device 12a suitable for use in implementing embodiments of the present invention. The computer device 12a shown in fig. 9 is only an example and should not bring any limitation to the function and the scope of use of the embodiments of the present invention.
As shown in FIG. 9, computer device 12a is in the form of a general purpose computing device. The components of computer device 12a may include, but are not limited to: one or more processors 16a, a system memory 28a, and a bus 18a that connects the various system components (including the system memory 28a and the processors 16 a).
Bus 18a represents one or more of any of several types of bus structures, including a memory bus or memory controller, a peripheral bus, an accelerated graphics port, and a processor or local bus using any of a variety of bus architectures. By way of example, such architectures include, but are not limited to, Industry Standard Architecture (ISA) bus, micro-channel architecture (MAC) bus, enhanced ISA bus, Video Electronics Standards Association (VESA) local bus, and Peripheral Component Interconnect (PCI) bus.
Computer device 12a typically includes a variety of computer system readable media. Such media may be any available media that is accessible by computer device 12a and includes both volatile and nonvolatile media, removable and non-removable media.
The system memory 28a may include computer system readable media in the form of volatile memory, such as Random Access Memory (RAM)30a and/or cache memory 32 a. Computer device 12a may further include other removable/non-removable, volatile/nonvolatile computer system storage media. By way of example only, storage system 34a may be used to read from and write to non-removable, nonvolatile magnetic media (not shown in FIG. 9, and commonly referred to as a "hard drive"). Although not shown in FIG. 9, a magnetic disk drive for reading from and writing to a removable, nonvolatile magnetic disk (e.g., a "floppy disk") and an optical disk drive for reading from or writing to a removable, nonvolatile optical disk (e.g., a CD-ROM, DVD-ROM, or other optical media) may be provided. In these cases, each drive may be connected to bus 18a by one or more data media interfaces. System memory 28a may include at least one program product having a set (e.g., at least one) of program modules that are configured to carry out the functions of the embodiments of the invention described above with respect to fig. 1 and 7.
A program/utility 40a having a set (at least one) of program modules 42a may be stored, for example, in system memory 28a, such program modules 42a including, but not limited to, an operating system, one or more application programs, other program modules, and program data, each of which examples or some combination thereof may include an implementation of a network environment. Program modules 42a generally perform the functions and/or methods described above in connection with the embodiments of fig. 1 and 7.
Computer device 12a may also communicate with one or more external devices 14a (e.g., keyboard, pointing device, display 24a, etc.), with one or more devices that enable a user to interact with computer device 12a, and/or with any devices (e.g., network card, modem, etc.) that enable computer device 12a to communicate with one or more other computing devices. Such communication may be through an input/output (I/O) interface 22 a. Also, computer device 12a may communicate with one or more networks (e.g., a Local Area Network (LAN), a Wide Area Network (WAN) and/or a public network, such as the Internet) through network adapter 20 a. As shown, network adapter 20a communicates with the other modules of computer device 12a via bus 18 a. It should be understood that although not shown in the figures, other hardware and/or software modules may be used in conjunction with computer device 12a, including but not limited to: microcode, device drivers, redundant processors, external disk drive arrays, RAID systems, tape drives, and data backup storage systems, among others.
The processor 16a executes various functional applications and data processing, for example, implementing the information input method shown in the above-described embodiment, by executing the program stored in the system memory 28 a.
The present invention also provides a computer-readable medium on which a computer program is stored, which when executed by a processor implements the information input method as shown in the above embodiments.
The computer-readable media of this embodiment may include RAM30a, and/or cache memory 32a, and/or storage system 34a in system memory 28a in the embodiment illustrated in fig. 9 described above.
With the development of technology, the propagation path of computer programs is no longer limited to tangible media, and the computer programs can be directly downloaded from a network or acquired by other methods. Accordingly, the computer-readable medium in the present embodiment may include not only tangible media but also intangible media.
The computer-readable medium of the present embodiments may take any combination of one or more computer-readable media. The computer readable medium may be a computer readable signal medium or a computer readable storage medium. A computer readable storage medium may be, for example, but not limited to, an electronic, magnetic, optical, electromagnetic, infrared, or semiconductor system, apparatus, or device, or any combination of the foregoing. More specific examples (a non-exhaustive list) of the computer readable storage medium would include the following: an electrical connection having one or more wires, a portable computer diskette, a hard disk, a Random Access Memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disc read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the foregoing. In the context of this document, a computer readable storage medium may be any tangible medium that can contain, or store a program for use by or in connection with an instruction execution system, apparatus, or device.
A computer readable signal medium may include a propagated data signal with computer readable program code embodied therein, for example, in baseband or as part of a carrier wave. Such a propagated data signal may take any of a variety of forms, including, but not limited to, electro-magnetic, optical, or any suitable combination thereof. A computer readable signal medium may also be any computer readable medium that is not a computer readable storage medium and that can communicate, propagate, or transport a program for use by or in connection with an instruction execution system, apparatus, or device.
Program code embodied on a computer readable medium may be transmitted using any appropriate medium, including but not limited to wireless, wireline, optical fiber cable, RF, etc., or any suitable combination of the foregoing.
Computer program code for carrying out operations for aspects of the present invention may be written in any combination of one or more programming languages, including an object oriented programming language such as Java, Smalltalk, C + + or the like and conventional procedural programming languages, such as the "C" programming language or similar programming languages. The program code may execute entirely on the user's computer, partly on the user's computer, as a stand-alone software package, partly on the user's computer and partly on a remote computer or entirely on the remote computer or server. In the case of a remote computer, the remote computer may be connected to the user's computer through any type of network, including a Local Area Network (LAN) or a Wide Area Network (WAN), or the connection may be made to an external computer (for example, through the Internet using an Internet service provider).
In the embodiments provided in the present invention, it should be understood that the disclosed system, apparatus and method may be implemented in other ways. For example, the above-described device embodiments are merely illustrative, and for example, the division of the units is only one logical functional division, and other divisions may be realized in practice.
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 place, or may be distributed on a plurality of network units. Some or all of the units can be selected according to actual needs to achieve the purpose of the solution of the embodiment.
In addition, functional units in the embodiments of the present invention may be integrated into one processing unit, or each unit may exist alone physically, or two or more units are integrated into one unit. The integrated unit can be realized in a form of hardware, or in a form of hardware plus a software functional unit.
The integrated unit implemented in the form of a software functional unit may be stored in a computer readable storage medium. The software functional unit is stored in a storage medium and includes several instructions to enable a computer device (which may be a personal computer, a server, or a network device) or a processor (processor) to execute some steps of the methods according to the embodiments of the present invention. And the aforementioned storage medium includes: various media capable of storing program codes, such as a usb disk, a removable hard disk, a Read-Only Memory (ROM), a Random Access Memory (RAM), a magnetic disk, or an optical disk.
The above description is only for the purpose of illustrating the preferred embodiments of the present invention and is not to be construed as limiting the invention, and any modifications, equivalents, improvements and the like made within the spirit and principle of the present invention should be included in the scope of the present invention.

Claims (8)

1. An information input method, characterized in that the method comprises:
acquiring the type of information to be input in an input box from the input attribute of the input box;
acquiring a plurality of virtual keys corresponding to the type of the information to be input and having the highest use frequency from a historical information input record, and using the virtual keys as the plurality of extended virtual keys;
expanding at least one row of a plurality of expanded virtual keys corresponding to the type of the information to be input on the basis of a basic virtual keyboard according to the type of the information to be input to obtain an expanded virtual keyboard;
and displaying the extended virtual keyboard so that a user can input information in the input box according to the extended virtual keyboard.
2. The method according to claim 1, wherein before obtaining the type of information to be input in the input box from the input attribute of the input box, the method further comprises:
and when the basic virtual keyboard is required to be hung, acquiring the input attribute of the input box.
3. The method according to any one of claims 1-2, wherein the type of the information to be input comprises an account number, a password, a digital authentication code, long text information, a web address, or an expression; and/or
The number of the expanded virtual keys corresponding to the type of the information to be input is equal to the number of the row of virtual keyboards with the largest number in the basic virtual keyboards; and/or
The number of the expanded virtual keys corresponding to the type of the information to be input is equal to the number of the virtual keyboards included in the row, which is immediately adjacent to the row where the expanded virtual keys are located, in the basic virtual keyboard.
4. An information input apparatus, characterized in that the apparatus comprises:
the acquisition module is used for acquiring the type of information to be input in the input box from the input attribute of the input box, and also used for acquiring a plurality of virtual keys which correspond to the type of the information to be input and have the highest use frequency from a historical information input record as a plurality of extended virtual keys;
the expansion module is used for expanding at least one row of a plurality of expansion virtual keys corresponding to the type of the information to be input on the basis of a basic virtual keyboard according to the type of the information to be input to obtain an expansion virtual keyboard;
and the display module is used for displaying the extended virtual keyboard so that a user can input information in the input box according to the extended virtual keyboard.
5. The apparatus of claim 4, wherein the obtaining module is further configured to obtain the input attribute of the input box when the underlying virtual keyboard is required to be lifted.
6. The device according to any one of claims 4-5, wherein the type of the information to be input comprises an account number, a password, a digital verification code, long text information, a website address or an expression; and/or
The number of the expanded virtual keys corresponding to the type of the information to be input is equal to the number of the row of virtual keyboards with the largest number in the basic virtual keyboards; and/or
The number of the expanded virtual keys corresponding to the type of the information to be input is equal to the number of the virtual keyboards included in the row, which is immediately adjacent to the row where the expanded virtual keys are located, in the basic virtual keyboard.
7. A computer device, the device comprising:
one or more processors;
a memory for storing one or more programs,
when executed by the one or more processors, cause the one or more processors to implement the method of any one of claims 1-3.
8. A computer-readable medium, on which a computer program is stored which, when being executed by a processor, carries out the method according to any one of claims 1-3.
CN201710325300.0A 2017-05-10 2017-05-10 Information input method and device, computer equipment and readable medium Active CN107193476B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201710325300.0A CN107193476B (en) 2017-05-10 2017-05-10 Information input method and device, computer equipment and readable medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201710325300.0A CN107193476B (en) 2017-05-10 2017-05-10 Information input method and device, computer equipment and readable medium

Publications (2)

Publication Number Publication Date
CN107193476A CN107193476A (en) 2017-09-22
CN107193476B true CN107193476B (en) 2020-08-28

Family

ID=59873256

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201710325300.0A Active CN107193476B (en) 2017-05-10 2017-05-10 Information input method and device, computer equipment and readable medium

Country Status (1)

Country Link
CN (1) CN107193476B (en)

Families Citing this family (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109144336B (en) * 2017-06-28 2021-12-14 北京搜狗科技发展有限公司 Data processing method, device and equipment and readable storage medium
CN108009057B (en) * 2017-11-14 2021-04-02 东软集团股份有限公司 Test method and device for password input, storage medium and electronic equipment
EP3783462B1 (en) * 2018-05-10 2022-12-07 Honor Device Co., Ltd. Method for displaying virtual keyboard of input method, and terminal
CN108628534B (en) * 2018-05-14 2021-01-08 维沃移动通信有限公司 Character display method and mobile terminal
CN109634438B (en) * 2018-12-14 2021-01-08 维沃移动通信有限公司 Input method control method and terminal equipment
CN110427745B (en) * 2019-07-02 2022-03-08 五八有限公司 Verification code obtaining method and device, electronic equipment and computer readable medium
CN110324239B (en) * 2019-07-10 2021-03-26 浪潮卓数大数据产业发展有限公司 Instant messaging method, system and first client
CN111901231B (en) * 2020-06-06 2021-12-14 烽火通信科技股份有限公司 Method and system for realizing virtual key of home gateway

Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101916158A (en) * 2010-07-30 2010-12-15 百度在线网络技术(北京)有限公司 Method and device for configuring input mode according to input box of user device
CN102279698A (en) * 2010-01-29 2011-12-14 诺基亚公司 Virtual keyboard, input method and relevant storage medium
CN102576254A (en) * 2009-09-16 2012-07-11 普雷姆·库马·奈尔 A data entry device (DED)
CN103207758A (en) * 2012-01-13 2013-07-17 洪荣昭 Keyboard key arrangement method and handheld electronic device applying same
CN103513896A (en) * 2012-06-20 2014-01-15 Tcl集团股份有限公司 Method and system for customizing virtual keyboard of electronic terminal
CN103596027A (en) * 2013-11-22 2014-02-19 乐视致新电子科技(天津)有限公司 Method and device for retrieving keyboards under different scenes of intelligent television
CN104346515A (en) * 2013-08-09 2015-02-11 联想(北京)有限公司 Information processing method and electronic equipment
CN104516648A (en) * 2013-09-26 2015-04-15 联想(北京)有限公司 Information processing method and electronic device

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US9529449B1 (en) * 2013-12-04 2016-12-27 Google Inc. Input method editors for indic languages

Patent Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102576254A (en) * 2009-09-16 2012-07-11 普雷姆·库马·奈尔 A data entry device (DED)
CN102279698A (en) * 2010-01-29 2011-12-14 诺基亚公司 Virtual keyboard, input method and relevant storage medium
CN101916158A (en) * 2010-07-30 2010-12-15 百度在线网络技术(北京)有限公司 Method and device for configuring input mode according to input box of user device
CN103207758A (en) * 2012-01-13 2013-07-17 洪荣昭 Keyboard key arrangement method and handheld electronic device applying same
CN103513896A (en) * 2012-06-20 2014-01-15 Tcl集团股份有限公司 Method and system for customizing virtual keyboard of electronic terminal
CN104346515A (en) * 2013-08-09 2015-02-11 联想(北京)有限公司 Information processing method and electronic equipment
CN104516648A (en) * 2013-09-26 2015-04-15 联想(北京)有限公司 Information processing method and electronic device
CN103596027A (en) * 2013-11-22 2014-02-19 乐视致新电子科技(天津)有限公司 Method and device for retrieving keyboards under different scenes of intelligent television

Also Published As

Publication number Publication date
CN107193476A (en) 2017-09-22

Similar Documents

Publication Publication Date Title
CN107193476B (en) Information input method and device, computer equipment and readable medium
CN103543903B (en) shortcut operation method, device and mobile terminal
US9152529B2 (en) Systems and methods for dynamically altering a user interface based on user interface actions
KR101541147B1 (en) Dynamic virtual input device configuration
JP6126218B2 (en) System and method for input assist control by sliding operation in portable terminal equipment
US20180060312A1 (en) Providing ideogram translation
US11199965B2 (en) Virtual keyboard
CN107491477B (en) Emotion symbol searching method and device
US20140160032A1 (en) Swipe Stroke Input and Continuous Handwriting
US20140184514A1 (en) Input processing method and apparatus
CN104660688B (en) A kind of method and apparatus obtaining log-on message
WO2003091034A1 (en) Emoticon keyboard
CN103218363B (en) Information processing method and device
WO2010036457A2 (en) Editing 2d structures using natural input
CN105335383B (en) Input information processing method and device
CN107977155B (en) Handwriting recognition method, device, equipment and storage medium
CN110515519A (en) Show method, equipment and the computer storage medium of reading content
US20170090725A1 (en) Selecting at least one graphical user interface item
CN101727270A (en) Method for constructing soft keyboard, device for inputting character information and method thereof
US9888036B2 (en) Message sending device, message receiving device, message checking method, and recording medium
CN102736831A (en) Input method and device applied to mobile terminal comprising virtual keyboard
CN106886364A (en) A kind of text handling method and terminal based on speech recognition
CN102591851B (en) A kind of method and apparatus for editing target text based on keyboard
CN106843526A (en) A kind of Account Administration system and its application method based on input method
US20140145992A1 (en) Information Input Method and Touchscreen Terminal

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
GR01 Patent grant
GR01 Patent grant