CN114265541A - Information input method, computing device and storage medium - Google Patents

Information input method, computing device and storage medium Download PDF

Info

Publication number
CN114265541A
CN114265541A CN202111581024.7A CN202111581024A CN114265541A CN 114265541 A CN114265541 A CN 114265541A CN 202111581024 A CN202111581024 A CN 202111581024A CN 114265541 A CN114265541 A CN 114265541A
Authority
CN
China
Prior art keywords
input
information
input box
application
box
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.)
Granted
Application number
CN202111581024.7A
Other languages
Chinese (zh)
Other versions
CN114265541B (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.)
Uniontech Software Technology Co Ltd
Original Assignee
Uniontech Software 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 Uniontech Software Technology Co Ltd filed Critical Uniontech Software Technology Co Ltd
Priority to CN202111581024.7A priority Critical patent/CN114265541B/en
Publication of CN114265541A publication Critical patent/CN114265541A/en
Application granted granted Critical
Publication of CN114265541B publication Critical patent/CN114265541B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • User Interface Of Digital Computer (AREA)

Abstract

The invention discloses an information input method, a computing device and a storage medium, and the method comprises the following steps: registering an input box in the display server according to the registration information of the application; when an input signal of the input equipment is received, judging whether input operation is currently performed in an input box or not; if the input operation is not being performed in the input frame, matching the input information in the input signal with the input frame registered in the display server according to a matching rule in the display server; if the target input box corresponding to the input information is matched, determining an application name and an input box number corresponding to the matching rule of the target input box according to the registration information; and sending the input information and the input box number to a target application corresponding to the application name according to the application name, so that the target application writes the input information in the target input box according to the input box number. The method and the device save the process that the user needs to click the input box, improve the information input efficiency and improve the use experience of the user on the application.

Description

Information input method, computing device and storage medium
Technical Field
The present invention relates to the field of operating systems, and in particular, to an information input method, a computing device, and a storage medium.
Background
With the development of computer technology, more and more applications are developed. In the process of using the application program, the application program sets one or more input boxes in the interface displayed for the user in order to receive the information input by the user. If the user needs to input information into the application program, the user needs to click the input box in the application program, switch to the input state in the input box and normally input the information.
In the prior art, if a user does not click an input box, when information is directly input through an input device, an operating system discards the information input by the user at the moment, and the information cannot be normally input in the input box in an application. If the user is inputting by using the keyboard at the moment, the user needs to click by using a mouse or a touch pad to select the input box, and then the information can be normally input in the input box.
For this reason, a new information input method is required.
Disclosure of Invention
To this end, the present invention provides an information input method in an attempt to solve or at least alleviate the above-presented problems.
According to an aspect of the present invention, there is provided an information input method adapted to be executed in a computing device, the computing device being communicatively connected to one or more input devices, an operating system running in the computing device and running one or more applications based on the operating system, the operating system including a display server, the method comprising the steps of: receiving registration information sent by one or more applications, and registering an input box in a display server according to each piece of registration information, wherein the registration information comprises an application name of the application, an input box number and a matching rule of the input box; when an input signal of the input equipment is received, judging whether input operation is currently performed in an input box or not; if the input operation is not being performed in the input frame, matching the input information in the input signal with the input frame registered in the display server according to a matching rule in the display server; if the target input box corresponding to the input information is matched, determining an application name and an input box number corresponding to the matching rule of the target input box according to the registration information; and sending the input information and the input box number to a target application corresponding to the application name according to the application name, so that the target application writes the input information in the target input box according to the input box number.
Optionally, the matching rule is constructed by the application from a character set of the input box, the character set comprising characters that the input box is capable of inputting.
Optionally, in the method according to the present invention, matching the input information in the input signal with the input frame registered in the display server according to a matching rule includes the steps of: determining one or more input characters included in the input information according to the input information; determining a character set allowed to be input by the input box according to the matching rule; judging whether the character set comprises all input characters in the input information; and if the character set comprises all input characters in the input information, taking the input box corresponding to the matching rule as a target input box matched with the input information.
Optionally, in the method according to the present invention, further comprising the step of: and if the input operation is being performed in the input box, the input information is sent to the application corresponding to the input box, so that the application writes the input information in the input box.
Optionally, in the method according to the present invention, further comprising the step of: if multiple candidate input boxes corresponding to the input information are matched according to the matching rules, determining the application corresponding to each candidate input box to obtain multiple applications; displaying the identifications of the plurality of applications to a user so that the user can select a target application needing to input information from the plurality of application names; and acquiring the target application selected by the user, taking the candidate input box in the target application as a target input box, and sending the input box number and the input information of the target input box to the target application.
Optionally, in the method according to the present invention, further comprising the step of: if the input frame corresponding to the input information is not matched according to the matching rule, storing the input information; when the user selects an input box in the application, input information is transmitted to the application selected by the user so as to input the input information.
Optionally, in the method according to the present invention, the registration information includes one or more pieces of input box information, each piece of input box information includes an application name of the application, an input box number, and a matching rule of the input box, and the target application writes the input information in the target input box according to the input box number includes: matching the input box number with the corresponding input box information according to the registration information; determining an input interface of a target input box corresponding to the input box number according to the matched input box information; and selecting the target input box according to the input interface, and writing the input information in the target input box.
Optionally, in the method according to the invention, the character set of the input box is constructed according to the character types allowed to be input by the input box, the character set comprising characters of one or more character types.
According to another aspect of the present invention, there is provided a computing device comprising: one or more processors; a memory; and one or more programs, wherein the one or more programs are stored in the memory and configured to be executed by the one or more processors, the one or more programs including instructions for performing the information input method according to the present invention.
According to still another aspect of the present invention, there is provided a computer-readable storage medium storing one or more programs, the one or more programs comprising instructions, which when executed by a computing device, cause the computing device to perform an information input method according to the present invention.
The invention discloses an information input method which is suitable for being executed in computing equipment. The computing device is in communication connection with the input device, an operating system runs in the computing device, one or more applications run on the basis of the operating system, and the operating system comprises a display server. The information input method comprises the following steps: firstly, receiving registration information sent by one or more applications, and registering an input box in a display server according to each piece of registration information, wherein the registration information comprises an application name of the application, an input box number and a matching rule of the input box; when an input signal of the input equipment is received, judging whether input operation is currently performed in an input box or not; if the input operation is not being performed in the input frame, matching the input information in the input signal with the input frame registered in the display server according to the matching rule; if the target input box corresponding to the input information is matched, determining an application name and an input box number corresponding to the input box number of the target input box according to the registration information; and sending the input information and the input box number to a target application corresponding to the application name according to the application name, so that the target application writes the input information in the target input box according to the input box number. According to the method and the device, the target input box can be automatically matched according to the input content of the user under the condition that the user does not select the input box, the input content is sent to the target application where the target input box is located, and the input content is filled in the target input box of the target application, so that the process that the user needs to click the input box is saved, the information input efficiency is improved, and the use experience of the user on the application is improved.
Drawings
To the accomplishment of the foregoing and related ends, certain illustrative aspects are described herein in connection with the following description and the annexed drawings, which are indicative of various ways in which the principles disclosed herein may be practiced, and all aspects and equivalents thereof are intended to be within the scope of the claimed subject matter. The above and other objects, features and advantages of the present disclosure will become more apparent from the following detailed description when read in conjunction with the accompanying drawings. Throughout this disclosure, like reference numerals generally refer to like parts or elements.
FIG. 1 illustrates a schematic diagram of an operating system running in a computing device according to an exemplary embodiment of the invention;
FIG. 2 illustrates a block diagram of a computing device 200, according to an exemplary embodiment of the invention;
FIG. 3 shows a flow diagram of an information input method 300 according to an exemplary embodiment of the invention;
FIG. 4 is a diagram illustrating the input of information in an application in the prior art; and
fig. 5 illustrates a schematic diagram of inputting information in an input box according to an exemplary embodiment of the present invention.
Detailed Description
Exemplary embodiments of the present disclosure will be described in more detail below with reference to the accompanying drawings. While exemplary embodiments of the present disclosure are shown in the drawings, it should be understood that the present disclosure may be embodied in various forms and should not be limited to the embodiments set forth herein. Rather, these embodiments are provided so that this disclosure will be thorough and complete, and will fully convey the scope of the disclosure to those skilled in the art. Like reference numerals generally refer to like parts or elements.
FIG. 1 shows a schematic diagram of an operating system running in a computing device according to an exemplary embodiment of the invention. As shown in FIG. 1, an operating system 110 runs in a computing device 200, and a plurality of applications 121-123 run based on the operating system 110. The present invention is not limited as to the type of operating system 110. The number of applications running as shown in fig. 1 is merely exemplary, and the invention is not limited to the number and variety of applications. The operating system 110 further comprises a display server 111, and the display server 111 is used for providing display services for the applications 121-123 in the operating system 110. According to an embodiment of the present invention, the display server 111 may be implemented as a wayland display server, and the present invention is not limited to the specific implementation of the display server 111.
Computing device 200 is also communicatively connected with input device 131 and input device 132. The manner in which the computing device and the input device are linked as shown in FIG. 1 is exemplary only, and the invention is not limited to the manner in which the computing device 200 and the input device are connected, and the number of input devices to which the computing device 200 is connected. The input device 131 or 132 may be implemented as a keyboard, a mouse, etc., and the present invention is not limited to the specific implementation manner of the input device 131 or 132.
FIG. 2 illustrates a block diagram of a computing device 200, according to an exemplary embodiment of the invention. As shown in FIG. 2, in a basic configuration 202, a computing device 200 typically includes a system memory 206 and one or more processors 204. A memory bus 208 may be used for communication between the processor 204 and the system memory 206.
Depending on the desired configuration, the processor 204 may be any type of processing, including but not limited to: a microprocessor (μ P), a microcontroller (μ C), a Digital Signal Processor (DSP), or any combination thereof. The processor 204 may include one or more levels of cache, such as a level one cache 210 and a level two cache 212, a processor core 214, and registers 216. Example processor cores 214 may include Arithmetic Logic Units (ALUs), Floating Point Units (FPUs), digital signal processing cores (DSP cores), or any combination thereof. The example memory controller 218 may be used with the processor 204, or in some implementations the memory controller 218 may be an internal part of the processor 204.
Depending on the desired configuration, system memory 206 may be any type of memory, including but not limited to: volatile memory (such as RAM), non-volatile memory (such as ROM, flash memory, etc.), or any combination thereof. System memory 206 may include an operating system 220, one or more programs 222, and program data 228. In some embodiments, the program 222 may be arranged to execute the instructions 223 of the method 300 according to the invention on an operating system by one or more processors 204 using the program data 228.
Computing device 200 may also include a storage interface bus 234. The storage interface bus 234 enables communication from the storage devices 232 (e.g., removable storage 236 and non-removable storage 238) to the basic configuration 202 via the bus/interface controller 230. Operating system 220, programs 222, and at least a portion of data 224 can be stored on removable storage 236 and/or non-removable storage 238, and loaded into system memory 206 via storage interface bus 234 and executed by one or more processors 204 when computing device 200 is powered on or programs 222 are to be executed.
Computing device 200 may also include an interface bus 240 that facilitates communication from various interface devices (e.g., output devices 242, peripheral interfaces 244, and communication devices 246) to the basic configuration 202 via the bus/interface controller 230. The example output device 242 includes a graphics processing unit 248 and an audio processing unit 250. They may be configured to facilitate communication with various external devices, such as a display or speakers, via one or more a/V ports 252. Example peripheral interfaces 244 can include a serial interface controller 254 and a parallel interface controller 256, which can be configured to facilitate communications with external devices such as input devices (e.g., keyboard, mouse, pen, voice input device, touch input device) or other peripherals (e.g., printer, scanner, etc.) via one or more I/O ports 258. An example communication device 246 may include a network controller 260, which may be arranged to communicate with one or more other computing devices 200 over a network communication link via one or more communication ports 264.
A network communication link may be one example of a communication medium. Communication media may typically be embodied by computer readable instructions, data structures, program modules, and may include any information delivery media, such as carrier waves or other transport mechanisms, in a modulated data signal. A "modulated data signal" may be a signal that has one or more of its data set or its changes made in such a manner as to encode information in the signal. By way of non-limiting example, communication media may include wired media such as a wired network or private-wired network, and various wireless media such as acoustic, Radio Frequency (RF), microwave, Infrared (IR), or other wireless media. The term computer readable media as used herein may include both storage media and communication media.
In a computing device 200 according to the present invention, program 222 comprises a plurality of program instructions of information input method 300 that may direct processor 204 to perform some of the steps of information input method 300 that are run in computing device 200 of the present invention such that various portions of computing device 200 effect input of information by performing information input method 300 of the present invention.
Computing device 200 may be implemented as a server, e.g., a file server, a database, a server, an application server, etc., which may be, for example, a Personal Digital Assistant (PDA), a wireless web-browsing device, an application-specific device, or a hybrid device that include any of the above functions. May be implemented as a personal computer including both desktop and notebook computer configurations, and in some embodiments computing device 200 is configured as information input method 300.
Fig. 3 shows a flow diagram of an information input method 300 according to an exemplary embodiment of the invention. The information input method 300 is suitable for being executed in a computing device which is in communication connection with one or more input devices, an operating system is executed in the computing device, and one or more applications are executed based on the operating system, wherein the display server is included in the operating system.
Step S310 is performed first, and registration information sent by one or more applications is received, and an input box is registered in the display server according to each piece of registration information, where the registration information includes an application name of an application, an input box number, and a matching rule of the input box.
If the application runs, a user is required to input information including an account number, a password and the like, an application interface is displayed on a desktop, and the application interface comprises one or more input boxes for the user to input the information. The input box refers to an interface component for inputting texts, and the number, the size, the shape and the like of the input boxes in the application are not limited by the invention.
The application name in the registration information is the name of the application sending the registration information, and the corresponding application can be uniquely determined according to the application name. The input box number is a unique number created for the input box included in the application; the number of the input boxes of each input box in the application is different; the input box numbers of the input boxes of different applications are different. The matching rule is a rule for matching the input information input by the user through the input equipment with the input box. According to the matching rule, an input box matching the input information can be determined.
And each application sends registration information to the display server when registering the input box, the display server receives the registration information sent by each application to obtain a plurality of pieces of registration information, and the input box in the application is registered according to each piece of registration information.
The registration information includes one or more pieces of input box information, and the number of input boxes included in the application determines the number of input box information in the registration information. When an input box is arranged in the application, the generated registration information comprises a piece of registration information; when there are multiple input boxes in the application, the generated registration information includes a corresponding number of pieces of registration information.
Each piece of input box information comprises an application name of the application, an input box number and a matching rule of the input box, and the application can determine the input box in the application through the input box number according to one or more pieces of input box information included in the registration information.
The matching rules of the input box are constructed by the application according to the character set of the input box, wherein the character set comprises characters which can be input by the input box. The character set of the input box is constructed according to the character types allowed to be input by the input box, and the character set comprises characters of one or more character types. Alternatively, according to an embodiment of the present invention, the character types include upper case characters, lower case characters, numeric characters, kanji characters, and the like, and the present invention does not limit the character types included in the character set. Among the character types, the capital characters include: a to Z; the lower case characters include a-z; the numeric characters include: 0 to 9; kanji characters include commonly used single kanji characters.
Specifically, the character set of each input box in the application may be determined in advance. When the character set of the input box is determined, the character set can be constructed according to the use requirement and the type of the input box, such as the input box for inputting the password, wherein the character set comprises upper case characters, lower case characters and numeric characters; the input box for entering the user name, whose character set cannot include numeric characters, but may include upper case characters and lower case characters.
According to an embodiment of the present invention, the matching rule constructed according to the character set of the input box can be implemented as a regular expression, and the present invention does not limit the specific form of the matching rule. The input box for inputting the password, the character set of which comprises capital characters, lowercase characters and numeric characters, can be constructed to obtain the matching rule as follows: ?; an input box for inputting a user name, whose character set cannot include numeric characters but may include upper case characters and lower case characters, may be constructed to obtain a matching rule as: a-zA-Z0-9_ - ] {4,16} $.
When the input boxes are registered in the display server, the input box information corresponding to each input box is stored in the display server, namely the registration information of each application is stored in the display server. When the input box is registered in the display server, currently running, each application including the input box registers the input box in the display server.
Subsequently, step S320 is executed to determine whether an input operation is currently performed in the input box when an input signal of the input device is received. According to one embodiment of the invention, when the user has selected an input box, that is, indicates that an input operation is being performed in the input box. The selection means that the user clicks the input box, and the input box is selected or an input cursor is displayed, so that information can be input. And if the input operation is being performed in the input box, the input information is sent to the application corresponding to the input box, so that the application writes the input information in the input box. The input signal includes input information, and the input signal is information triggered by a user through an input device.
Alternatively, according to one embodiment of the present invention, the input device 131 may be implemented as a mouse and the input device 132 may be implemented as a keyboard. When the user clicks an input box in the application 121 through a mouse and the input box is selected, it indicates that the input box is selected. When the user inputs information through the keypad, the input information is directly transmitted to the application 121 so that the application 121 displays the input information in the input box. The invention does not limit the information input mode of the user through the equipment, such as the information input through a keyboard, the information input through a mouse and the like.
Subsequently, step S330 is executed, and if no input operation is being performed in the input box, the input information in the input signal is matched with the input box registered in the display server according to the matching rule in the display server. The fact that the user does not perform input operation in the input box means that the user does not select any input box currently, and at the moment, the input box corresponding to the input information needs to be matched according to the matching rule.
Specifically, when input information in an input signal is matched with an input frame registered in a display server, one or more input characters included in the input information are determined according to the input information; the input information generally includes a string of characters, which includes one or more characters, the input information is decomposed to obtain a single character, and the single character obtained by decomposing the input information is used as the input character to obtain one or more input characters.
The set of characters allowed to be entered by the input box is then determined according to the matching rules. According to one embodiment of the invention, when the matching rule is implemented as a regular expression, the character set allowed to be input by the input box may be determined according to the regular expression. The character set includes one or more character types, each character type including a plurality of characters.
And then judging whether the character set comprises all input characters in the input information, and if the character set comprises all input characters in the input information, taking the input box corresponding to the matching rule as a target input box matched with the input information. The character set includes all input characters in the input information, which means that all input characters in the input information are in the set of the character set.
According to one embodiment of the invention, a 'user name' input box and a 'password' input box are registered in the display server, the matching rule of the 'user name' input box is ^ a-zA-Z0-9- ] {4,16} $, and the character set comprises upper case characters and lower case characters; the matching rule for the password "input box is ^ (.
When the input operation is not being performed in the input box and the input signal of the input device is received, the input information is '111 zhangsan' according to the input model. The character string of the input information is disassembled, and the input characters included in the input information are obtained as follows: 1. 1, z, h, a, n, g, s, a, and n. Because the character set of the matching rule of the "username" input box does not include numeric characters, but the input characters include numeric characters, the character set corresponding to the matching rule of the "username" input box does not include all input characters, the input information cannot be matched with the "username" input box,
and the matching rule of the 'password' input box, the character set of which comprises capital characters, lowercase characters and numeric characters, can comprise all input characters, so that the input information is matched with the 'password' input box, and the 'password' input box is used as a target input box corresponding to the input information.
Subsequently, step S340 is executed, and if the target input box corresponding to the input information is matched, the application name and the input box number corresponding to the matching rule of the target input box are determined according to the registration information. And when determining the application name and the input box number corresponding to the input box number of the target input box, determining the matching rule of the target input box according to the input box information to determine the corresponding application name and the input box number.
Finally, step S350 is executed, the input information and the input box number are sent to the target application corresponding to the application name according to the application name, so that the target application writes the input information in the target input box according to the input box number. When the application writes input information into the target input box according to the input box number, matching the input box number with the corresponding input box information according to the registration information; and finally, selecting the target input frame according to the input interface, and writing the input information into the target input frame, so that the corresponding input frame is matched according to the input information and the input information is written into the input frame under the condition that the input frame is not selected.
According to one embodiment of the invention, if a plurality of candidate input boxes corresponding to the input information are matched according to the matching rule, the application corresponding to each candidate input box is determined to obtain a plurality of applications; displaying the identifications of the plurality of applications to a user so that the user can select a target application needing to input information from the plurality of application names; since a plurality of application registration input boxes exist in the display server, when the input information can be matched with the input boxes of a plurality of applications, the input boxes are all used as candidate input boxes and are provided for the user to select. Because a plurality of application registration input boxes exist in the display server, when the input information can be matched with the input boxes of a plurality of applications, all the input boxes are used as candidate input boxes, and the applications where the candidate input boxes are located are provided for a user to select. The application identifier comprises an application name, an application icon, an application window thumbnail, an application opened file name, an application opened file thumbnail and the like.
And then, acquiring the target application selected by the user, taking the candidate input box in the target application as a target input box, sending the input box number and the input information of the target input box to the target application, so that the target application determines the input box according to the input box number, and writing the input information into the input box.
Optionally, according to an embodiment of the present invention, if the input frame corresponding to the input information is not matched according to the matching rule, the input information is saved. The unmatched input box means that an input box which can be matched with the input information is not registered in the display server. The display server stores the input information, and when the user selects an input box in the application later, the input information is sent to the application selected by the user so that the application inputs the input information.
Fig. 4 shows a schematic diagram of inputting information in an application in the prior art. As shown in fig. 4: when a user inputs a keyboard, the user firstly moves the mouse and then clicks the corresponding input box to select the input box, so that the user can input the content. This process is time consuming and requires lifting the hand off the keyboard and then returning to the keyboard, which wastes physical effort and time and results in a very poor user experience. Especially, in places similar to a login interface, the full screen only has one input box, but if the input box is not selected, the focus is in other positions, and the input can be only carried out by moving the mouse to select the input box. When the input box is not selected, if the key is hit, the current operating system only automatically discards the input key information, for example, after clicking a "show desktop" button, the key hit is not reflected. Wherein, the focus is the position clicked by the mouse.
Fig. 5 illustrates a schematic diagram of inputting information in an input box according to an exemplary embodiment of the present invention. As shown in fig. 5, when the user inputs input information, the input boxes are automatically matched according to the registered input boxes. And sending the input information to the application, so that the application can write the input information in the input box conveniently.
The invention discloses an information input method which is suitable for being executed in computing equipment. The computing device is in communication connection with the input device, an operating system runs in the computing device, one or more applications run on the basis of the operating system, and the operating system comprises a display server. The information input method comprises the following steps: firstly, receiving registration information sent by one or more applications, and registering an input box in a display server according to each piece of registration information, wherein the registration information comprises an application name of the application, an input box number and a matching rule of the input box; when an input signal of the input equipment is received, judging whether input operation is currently performed in an input box or not; if the input operation is not being performed in the input frame, matching the input information in the input signal with the input frame registered in the display server according to the matching rule; if the target input box corresponding to the input information is matched, determining an application name and an input box number corresponding to the input box number of the target input box according to the registration information; and sending the input information and the input box number to a target application corresponding to the application name according to the application name, so that the target application writes the input information in the target input box according to the input box number. According to the method and the device, the target input box can be automatically matched according to the input content of the user under the condition that the user does not select the input box, the input content is sent to the target application where the target input box is located, and the input content is filled in the target input box of the target application, so that the process that the user needs to click the input box is saved, the information input efficiency is improved, and the use experience of the user on the application is improved.
In the description provided herein, numerous specific details are set forth. It is understood, however, that embodiments of the invention may be practiced without these specific details. In some instances, well-known methods, structures and techniques have not been shown in detail in order not to obscure an understanding of this description.
Similarly, it should be appreciated that in the foregoing description of exemplary embodiments of the invention, various features of the invention are sometimes grouped together in a single embodiment, figure, or description thereof for the purpose of streamlining the disclosure and aiding in the understanding of one or more of the various inventive aspects.
Those skilled in the art will appreciate that the modules or units or groups of devices in the examples disclosed herein may be arranged in a device as described in this embodiment, or alternatively may be located in one or more devices different from the devices in this example. The modules in the foregoing examples may be combined into one module or may be further divided into multiple sub-modules.
Those skilled in the art will appreciate that the modules in the device in an embodiment may be adaptively changed and disposed in one or more devices different from the embodiment. Modules or units or groups in embodiments may be combined into one module or unit or group and may furthermore be divided into sub-modules or sub-units or sub-groups. All of the features disclosed in this specification, and all of the processes or elements of any method or apparatus so disclosed, may be combined in any combination, except that at least some of such features and/or processes or elements are mutually exclusive. Each feature disclosed in this specification may be replaced by an alternative feature serving the same, equivalent or similar purpose, unless expressly stated otherwise.
Furthermore, those skilled in the art will appreciate that while some embodiments described herein include some features included in other embodiments, rather than other features, combinations of features of different embodiments are meant to be within the scope of the invention and form different embodiments.
Furthermore, some of the described embodiments are described herein as a method or combination of method elements that can be performed by a processor of a computer system or by other means of performing the described functions. A processor having the necessary instructions for carrying out the method or method elements thus forms a means for carrying out the method or method elements. Further, the elements of the apparatus embodiments described herein are examples of the following apparatus: the apparatus is used to implement the functions performed by the elements for the purpose of carrying out the invention.
The various techniques described herein may be implemented in connection with hardware or software or, alternatively, with a combination of both. Thus, the methods and apparatus of the present invention, or certain aspects or portions thereof, may take the form of program code (i.e., instructions) embodied in tangible media, such as floppy diskettes, CD-ROMs, hard drives, or any other machine-readable storage medium, wherein, when the program is loaded into and executed by a machine, such as a computer, the machine becomes an apparatus for practicing the invention.
In the case of program code execution on programmable computers, the computing device will generally include a processor, a storage medium readable by the processor (including volatile and non-volatile memory and/or storage elements), at least one input device, and at least one output device. Wherein the memory is configured to store program code; the processor is configured to execute the shortcut key implementation method of the present invention in accordance with instructions in the program code stored in the memory.
By way of example, and not limitation, computer readable media may comprise computer storage media and communication media. Computer-readable media includes both computer storage media and communication media. Computer storage media store information such as computer readable instructions, data structures, program modules or other data. Communication media typically embodies computer readable instructions, data structures, program modules or other data in a modulated data signal such as a carrier wave or other transport mechanism and includes any information delivery media. Combinations of any of the above are also included within the scope of computer readable media.
As used herein, unless otherwise specified the use of the ordinal adjectives "first", "second", "third", etc., to describe a common object, merely indicate that different instances of like objects are being referred to, and are not intended to imply that the objects so described must be in a given sequence, either temporally, spatially, in ranking, or in any other manner.
While the invention has been described with respect to a limited number of embodiments, those skilled in the art, having benefit of this description, will appreciate that other embodiments can be devised which do not depart from the scope of the invention as described herein. Furthermore, it should be noted that the language used in the specification has been principally selected for readability and instructional purposes, and may not have been selected to delineate or circumscribe the inventive subject matter. Accordingly, many modifications and variations will be apparent to practitioners skilled in this art. The disclosure of the present invention is intended to be illustrative, but not limiting, of the scope of the invention.

Claims (10)

1. An information input method, adapted to be executed in a computing device, the computing device being in communication connection with one or more input devices, an operating system running in the computing device and one or more applications running based on the operating system, the operating system including a display server, the method comprising the steps of:
receiving registration information sent by the one or more applications, and registering an input box in the display server according to each piece of registration information, wherein the registration information comprises an application name of the application, an input box number and a matching rule of the input box;
when an input signal of the input equipment is received, judging whether input operation is currently performed in an input box;
if the input operation is not being performed in the input frame, matching the input information in the input signal with the input frame registered in the display server according to a matching rule in the display server;
if the target input box corresponding to the input information is matched, determining an application name and an input box number corresponding to a matching rule of the target input box according to the registration information;
and sending the input information and the input box number to a target application corresponding to the application name according to the application name, so that the target application can write the input information into the target input box according to the input box number.
2. The method of claim 1, wherein the matching rule is constructed by the application from a character set of the input box, the character set comprising characters that the input box is capable of inputting.
3. The method as claimed in claim 2, wherein the matching of the input information in the input signal with the input box registered in the display server according to the matching rule comprises the steps of:
determining one or more input characters included in the input information according to the input information;
determining a character set allowed to be input by the input box according to the matching rule;
judging whether the character set comprises all input characters in the input information;
and if the character set comprises all input characters in the input information, taking the input box corresponding to the matching rule as a target input box matched with the input information.
4. A method according to any of claims 1-3, wherein the method further comprises the step of:
and if the input operation is being performed in the input box, sending the input information to the application corresponding to the input box so that the application can write the input information into the input box.
5. A method according to any of claims 1-3, wherein the method further comprises the step of:
if multiple candidate input boxes corresponding to the input information are matched according to the matching rule, determining the application corresponding to each candidate input box to obtain multiple applications;
displaying the identifications of the plurality of applications to a user so that the user can select a target application needing to input information from the plurality of application names;
and acquiring the target application selected by the user, taking the candidate input box in the target application as a target input box, and sending the input box number of the target input box and the input information to the target application.
6. A method according to any of claims 1-3, wherein the method further comprises the step of:
if the input frame corresponding to the input information is not matched according to the matching rule, storing the input information;
when the user selects an input box in an application, the input information is transmitted to the application selected by the user so as to input the input information.
7. The method according to any one of claims 1-6, wherein the registration information includes one or more pieces of input box information, each piece of input box information includes an application name of the application, an input box number, and a matching rule of an input box, and the target application writes input information in the target input box according to the input box number includes the steps of:
matching the input box number with corresponding input box information according to the registration information;
determining an input interface of a target input box corresponding to the input box number according to the matched input box information;
and selecting a target input box according to the input interface, and writing input information in the target input box.
8. The method of claim 7, wherein the character set of the input box is constructed according to the character types that the input box allows to input, the character set comprising characters of one or more character types.
9. A computing device, comprising:
one or more processors;
a memory; and
one or more apparatuses comprising instructions for performing the method of any of claims 1-8.
10. A computer readable storage medium storing one or more programs, the one or more programs comprising instructions, which when executed by a computing device, cause the computing device to perform the method of any of claims 1-8.
CN202111581024.7A 2021-12-22 2021-12-22 Information input method, computing device and storage medium Active CN114265541B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202111581024.7A CN114265541B (en) 2021-12-22 2021-12-22 Information input method, computing device and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202111581024.7A CN114265541B (en) 2021-12-22 2021-12-22 Information input method, computing device and storage medium

Publications (2)

Publication Number Publication Date
CN114265541A true CN114265541A (en) 2022-04-01
CN114265541B CN114265541B (en) 2024-05-31

Family

ID=80828876

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202111581024.7A Active CN114265541B (en) 2021-12-22 2021-12-22 Information input method, computing device and storage medium

Country Status (1)

Country Link
CN (1) CN114265541B (en)

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2012133596A (en) * 2010-12-21 2012-07-12 Canon Marketing Japan Inc Input control system, client terminal, input control method and program
CN103425704A (en) * 2012-05-24 2013-12-04 阿里巴巴集团控股有限公司 Application interface providing method and application interface providing device
CN103914209A (en) * 2014-03-28 2014-07-09 联想(北京)有限公司 Information processing method and electronic device
CN107357562A (en) * 2017-05-24 2017-11-17 青岛海信移动通信技术股份有限公司 A kind of information fill method, device and client
CN109086096A (en) * 2018-06-22 2018-12-25 北京明华联盟科技有限公司 Data entry device, electronic equipment and the storage medium of Edge browser
CN110874148A (en) * 2019-10-28 2020-03-10 维沃移动通信有限公司 Input control method and electronic equipment

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2012133596A (en) * 2010-12-21 2012-07-12 Canon Marketing Japan Inc Input control system, client terminal, input control method and program
CN103425704A (en) * 2012-05-24 2013-12-04 阿里巴巴集团控股有限公司 Application interface providing method and application interface providing device
CN103914209A (en) * 2014-03-28 2014-07-09 联想(北京)有限公司 Information processing method and electronic device
CN107357562A (en) * 2017-05-24 2017-11-17 青岛海信移动通信技术股份有限公司 A kind of information fill method, device and client
CN109086096A (en) * 2018-06-22 2018-12-25 北京明华联盟科技有限公司 Data entry device, electronic equipment and the storage medium of Edge browser
CN110874148A (en) * 2019-10-28 2020-03-10 维沃移动通信有限公司 Input control method and electronic equipment

Also Published As

Publication number Publication date
CN114265541B (en) 2024-05-31

Similar Documents

Publication Publication Date Title
JP2021527260A (en) Regular expression generation based on positive pattern matching examples and negative pattern matching examples
JP5832980B2 (en) Handwriting input support device, method and program
CN104885041B (en) The progress of handwriting input is shown
CN103562835A (en) Web browser with quick site access user interface
EP2940551A1 (en) Method and device for implementing voice input
CN110659287A (en) Method for processing field names of table and computing equipment
CN110808987A (en) Method and computing device for identifying malicious domain name
US11727701B2 (en) Techniques to determine document recognition errors
CN111651990A (en) Entity identification method, computing equipment and readable storage medium
CN112800305A (en) Knowledge graph data extraction method and device based on web crawler
CN107515904B (en) Job searching method and computing equipment
CN114241501B (en) Image document processing method and device and electronic equipment
CN112558841A (en) Application icon management method, computing device and readable storage medium
JP2013149273A (en) Method, apparatus and computer program for providing input order independent character input mechanism
JP2022079439A (en) Method and system for extracting information from document image
CN113535650A (en) File naming method and computing device
CN114265541B (en) Information input method, computing device and storage medium
US20180052696A1 (en) Providing teaching user interface activated by user action
CN110516169B (en) Data display method, device and system and computing equipment
CN114489421A (en) Virtual screen generation method, computing device and storage medium
CN114153538A (en) Window switching method, computing device and storage medium
JP6484143B2 (en) Image processing system, method, program, and recording medium using landscape photograph including text
CN113625922B (en) File translation method, computing device and readable storage medium
US11989241B2 (en) Electronic apparatus for processing information for providing page and method thereof
CN114596051A (en) Mail information input method, computing device and storage medium

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