CN113986030A - Mouse-based character input method, device and medium - Google Patents

Mouse-based character input method, device and medium Download PDF

Info

Publication number
CN113986030A
CN113986030A CN202111433789.6A CN202111433789A CN113986030A CN 113986030 A CN113986030 A CN 113986030A CN 202111433789 A CN202111433789 A CN 202111433789A CN 113986030 A CN113986030 A CN 113986030A
Authority
CN
China
Prior art keywords
input
mouse
character
mode
determining
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN202111433789.6A
Other languages
Chinese (zh)
Inventor
张汉同
张子良
刘鹏程
李明
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Synthesis Electronic Technology Co Ltd
Original Assignee
Synthesis Electronic 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 Synthesis Electronic Technology Co Ltd filed Critical Synthesis Electronic Technology Co Ltd
Priority to CN202111433789.6A priority Critical patent/CN113986030A/en
Publication of CN113986030A publication Critical patent/CN113986030A/en
Pending legal-status Critical Current

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/03Arrangements for converting the position or the displacement of a member into a coded form
    • G06F3/033Pointing devices displaced or positioned by the user, e.g. mice, trackballs, pens or joysticks; Accessories therefor
    • G06F3/0354Pointing devices displaced or positioned by the user, e.g. mice, trackballs, pens or joysticks; Accessories therefor with detection of 2D relative movements between the device, or an operating part thereof, and a plane or surface, e.g. 2D mice, trackballs, pens or pucks
    • G06F3/03543Mice or pucks
    • 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/02Input arrangements using manually operated switches, e.g. using keyboards or dials
    • G06F3/023Arrangements for converting discrete items of information into a coded form, e.g. arrangements for interpreting keyboard generated codes as alphanumeric codes, operand codes or instruction codes
    • G06F3/0233Character input methods
    • 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

Landscapes

  • Engineering & Computer Science (AREA)
  • General Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Human Computer Interaction (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • User Interface Of Digital Computer (AREA)

Abstract

The application discloses a character input method, equipment and medium based on a mouse, wherein the method comprises the following steps: determining that the terminal is connected with the mouse, and receiving a driving program sent by the mouse so as to install the driving program to the terminal; receiving a character input instruction sent by a mouse, and displaying a character input box on a terminal according to the character input instruction; receiving a mode instruction sent by a mouse, and determining an input mode according to the mode instruction; determining an input character according to an input mode and according to a variety of input signals transmitted by a mouse; displaying the input character in the character input box, and storing the input character to the clipboard. The input experience and the input efficiency of the user are improved, the time for the user to switch the virtual keyboard back and forth is saved through a direct mouse input mode, meanwhile, the input mode and the input content are correspondingly optimized, and the use experience of the user is greatly improved.

Description

Mouse-based character input method, device and medium
Technical Field
The present application relates to the field of computer information technology, and in particular, to a mouse-based character input method, device and medium.
Background
In a scene of inputting characters into a computer, people usually input the characters in a physical keyboard mode, and although the input mode of the traditional physical keyboard is visual, the physical keyboard is large in size and inconvenient to carry. Meanwhile, with the gradual popularization of tablet computers, the use frequency of the traditional physical keyboard is gradually reduced, and the use frequency of the virtual keyboard is gradually increased.
In addition, when a user logs in or visits some websites or servers, the corresponding login password needs to be input, and the setting of the login password usually has specific limiting rules, such as no continuous number, no less than a few characters, necessity of setting in a form of mixing multiple characters, and the like. Therefore, when a user inputs a password by directly touching the virtual keyboard or clicking the virtual keyboard through a mouse, the virtual keyboard needs to be clicked and switched many times, which brings great inconvenience.
Disclosure of Invention
In order to solve the above problems, the present application provides a method, device and medium for inputting characters based on a mouse, including:
in one aspect, the present application provides a mouse-based character input method, including: determining that a terminal is connected with a mouse, and receiving a driver sent by the mouse so as to install the driver to the terminal, wherein the driver is used for supporting character input of the mouse; receiving a character input instruction sent by the mouse, and displaying a character input box on the terminal according to the character input instruction; receiving a mode instruction sent by the mouse, and determining an input mode according to the mode instruction, wherein the input mode comprises: an alphabet input mode, a number input mode, a virtual keyboard input mode; determining an input character according to the input mode and according to a plurality of input signals transmitted by the mouse; displaying the input character in the character input box, and storing the input character to a clipboard.
In one example, determining the input character according to the input mode and according to a plurality of input signals sent by the mouse specifically includes: determining that the input mode is an alphabetic input mode; receiving a first signal and/or a second signal sent by the mouse, wherein the first signal is generated when a left key of the mouse is pressed, and the second signal is generated when a right key of the mouse is pressed; and determining corresponding letters according to the first signal and/or the second signal and a pre-stored letter matching table, and taking the corresponding letters as input characters.
In one example, determining the input character according to the input mode and according to a plurality of input signals sent by the mouse specifically includes: determining the input mode to be a digital input mode; receiving a first signal and/or a second signal sent by the mouse, wherein the first signal is generated when a left key of the mouse is pressed, and the second signal is generated when a right key of the mouse is pressed; and determining corresponding numbers according to the first signal and/or the second signal and a pre-stored number matching table, and taking the corresponding numbers as input characters.
In one example, determining the input character according to the input mode and according to a plurality of input signals sent by the mouse specifically includes: determining that the input mode is a virtual keyboard input mode; receiving a keyboard switching instruction sent by the mouse, selecting one of multiple types of virtual keyboards according to the keyboard switching instruction, and displaying the selected one on the terminal, wherein the types of the virtual keyboards at least comprise one of the following types: an uppercase English letter virtual keyboard, a lowercase English letter virtual keyboard, and a number and symbol virtual keyboard; and receiving a third signal sent when the mouse clicks the virtual keyboard, and determining the input character according to the third signal.
In one example, after presenting the entered character in the character entry box and storing the entered character to a clipboard, the method further comprises: determining that the character input is finished, and canceling and displaying the character input frame; and pasting the input characters to a character input area in the terminal according to the clipboard.
In one example, before determining the input character according to the input mode and according to a plurality of input signals transmitted by the mouse, the method further comprises: acquiring a current picture of the terminal, and identifying the current picture according to a pre-trained identification model to obtain an identification result; determining the type of characters to be input in the current picture according to the recognition result, wherein the type of the characters to be input at least comprises one of the following types: english letter type, digit type, symbol type; and determining the input mode according to the type of the character to be input and the input habit of the user.
In one example, after presenting the entered character in the character entry box and storing the entered character to a clipboard, the method further comprises: carrying out hot word retrieval on the input characters, and determining that hot words corresponding to the input characters exist; and displaying the hot words in the terminal, and replacing the input characters with the hot words in the clipboard according to a determined instruction.
In one example, after presenting the entered character in the character entry box and storing the entered character to a clipboard, the method further comprises: receiving a terminal control instruction sent by the mouse, and acquiring a sliding track of the mouse within a preset time according to the terminal control instruction; smoothing the sliding track to obtain a processed sliding track; matching the processed sliding track with a pre-stored track matching table to obtain a corresponding execution action, wherein the execution action at least comprises one of the following actions: page turning, backward turning, withdrawing and deleting; in the terminal, the execution action is executed.
On the other hand, the present application also provides a mouse-based character input device, comprising: at least one processor; and a memory communicatively coupled to the at least one processor; wherein the memory stores instructions executable by the at least one processor to enable the at least one processor to: determining that a terminal is connected with a mouse, and receiving a driver sent by the mouse so as to install the driver to the terminal, wherein the driver is used for supporting character input of the mouse; receiving a character input instruction sent by the mouse, and displaying a character input box on the terminal according to the character input instruction; receiving a mode instruction sent by the mouse, and determining an input mode according to the mode instruction, wherein the input mode comprises: an alphabet input mode, a number input mode, a virtual keyboard input mode; determining an input character according to the input mode and according to a plurality of input signals transmitted by the mouse; displaying the input character in the character input box, and storing the input character to a clipboard.
In another aspect, the present application further provides a non-volatile computer storage medium storing computer-executable instructions configured to: determining that a terminal is connected with a mouse, and receiving a driver sent by the mouse so as to install the driver to the terminal, wherein the driver is used for supporting character input of the mouse; receiving a character input instruction sent by the mouse, and displaying a character input box on the terminal according to the character input instruction; receiving a mode instruction sent by the mouse, and determining an input mode according to the mode instruction, wherein the input mode comprises: an alphabet input mode, a number input mode, a virtual keyboard input mode; determining an input character according to the input mode and according to a plurality of input signals transmitted by the mouse; displaying the input character in the character input box, and storing the input character to a clipboard.
The mouse-based character input method, the mouse-based character input equipment and the mouse-based character input medium have the following beneficial effects that: the input experience and the input efficiency of the user are improved, the time for the user to switch the virtual keyboard back and forth is saved through a direct mouse input mode, meanwhile, the input mode and the input content are correspondingly optimized, and the use experience of the user is greatly improved.
Drawings
The accompanying drawings, which are included to provide a further understanding of the application and are incorporated in and constitute a part of this application, illustrate embodiment(s) of the application and together with the description serve to explain the application and not to limit the application. In the drawings:
FIG. 1 is a schematic flow chart illustrating a mouse-based character input method according to an embodiment of the present disclosure;
FIG. 2 is a diagram of an alphabet matching table in an embodiment of the present application;
FIG. 3 is a diagram of a number matching table in an embodiment of the present application;
FIG. 4 is a schematic diagram of a virtual keyboard in an embodiment of the present application;
FIG. 5 is a diagram of a mouse-based character input device according to an embodiment of the present disclosure.
Detailed Description
In order to make the objects, technical solutions and advantages of the present application more apparent, the technical solutions of the present application will be described in detail and completely with reference to the following specific embodiments of the present application and the accompanying drawings. It should be apparent that the described embodiments are only some of the embodiments of the present application, and not all of the embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present application.
The embodiments in the present application are described in a progressive manner, and the same and similar parts among the embodiments can be referred to each other, and each embodiment focuses on the differences from the other embodiments. In particular, for the device and media embodiments, the description is relatively simple as it is substantially similar to the method embodiments, and reference may be made to some descriptions of the method embodiments for relevant points. The device and the medium provided by the embodiment of the application correspond to the method one by one, so the device and the medium also have the beneficial technical effects similar to the corresponding method.
It should be noted that, a mouse-based character input method described in this application may be stored in a corresponding system or server, and the system or server should have a corresponding hardware device built in, including but not limited to: a processor, a memory, a communication module, etc. to implement various technical solutions in the present application. In the embodiment of the present application, a system is taken as an example for explanation, and the system may be disposed in a corresponding terminal, and simultaneously can implement connection with a mouse, where the terminal includes but is not limited to: and the computer, the tablet computer, the mobile phone or other terminal equipment with corresponding computing power and functions can be connected with the mouse in a wired or wireless mode. The system can determine the interaction relation between the system and the hardware equipment in the terminal through corresponding program setting so as to carry out resource calling or information interaction on the hardware equipment. In addition, the opening mode of the system can also be determined by corresponding software setting modes, including but not limited to: the system is opened along with startup, opened through APP, WEB page login and other modes, so that the operation use, monitoring or debugging of a user on the system are met, and further character input through a mouse is realized.
The technical solutions provided by the embodiments of the present application are described in detail below with reference to the accompanying drawings.
As shown in fig. 1, a method for inputting characters based on a mouse according to an embodiment of the present application includes:
s101: the method comprises the steps of determining that a terminal is connected with a mouse, and receiving a driving program sent by the mouse so as to install the driving program to the terminal, wherein the driving program is used for supporting character input of the mouse.
Specifically, the system determines that the terminal where the system is located is connected with the mouse, the terminal can be connected with the mouse in a wired or wireless mode, receives the driving program sent by the mouse, and installs the driving program to the terminal.
The driver is used for supporting the interaction between the mouse and the corresponding signals of the terminal in a uniform format. The driver can be provided by the mouse, in addition, the system can also be constructed in advance according to different types of mice and store the driver, and after the connection between the mouse and the terminal is determined, the corresponding driver is selected and installed to the terminal.
S102: and receiving a character input instruction sent by the mouse, and displaying a character input box on the terminal according to the character input instruction.
Specifically, according to the driver, the system can receive a character input instruction sent by a mouse. The character input command can be determined to be transmitted by pressing a specific key in a mouse, or can be determined to be transmitted in a multi-key combination mode (including simultaneous pressing and continuous pressing).
In the embodiment of the present application, a specific key in a mouse may be pressed to determine to send a character input instruction, a user may determine to send an input character input instruction to a terminal by pressing the key for a long time (for example, pressing the key for a long time for one second), and may determine to exit an input mode by pressing the key for a long time again (for example, pressing the key for a long time for one second), so as to enter a mouse operation in a normal state.
Further, the system determines that the mouse is used for inputting characters next according to the character input instruction, and displays the character input box in the display screen of the terminal.
The character input box may interact with a buffer or a memory of the terminal where the system is located, i.e. the characters entered in the character input box may be stored in the buffer or the memory.
S103: receiving a mode instruction sent by the mouse, and determining an input mode according to the mode instruction, wherein the input mode comprises: an alphabetic input mode, a numeric input mode, a virtual keyboard input mode.
Specifically, the mode command is sent by a mouse, and the user may determine the sending by pressing a specific key in the mouse, or may determine the sending in the form of a multi-key combination as described above.
In the embodiment of the application, after the system receives the character input instruction, the mode instruction sent by the mouse can be further collected. The user can confirm to switch the input mode by clicking a specific key of the mouse, and meanwhile, the input mode can be displayed in a screen of the terminal in a text prompt mode, so that the user can know the current input mode conveniently.
Further, in the alphabet input mode, the input character may be determined by clicking left and right buttons of a mouse with reference to the alphabet matching table as shown in fig. 2.
In the number input mode, the input character can be determined by clicking the left and right mouse buttons against the number matching table as shown in fig. 3.
In the virtual keyboard input mode, the input character can be determined by clicking the corresponding character of the virtual keyboard in comparison with the virtual keyboard diagram shown in fig. 4.
In addition, it should be noted that the input modes corresponding to the tables described in the present application are pre-stored in the terminal where the system is located, and the user can directly input the corresponding instructions, so that the system can determine the corresponding input characters according to the input instructions.
S104: determining an input character according to the input mode and according to a plurality of input signals transmitted by the mouse.
Specifically, the method comprises the following steps:
the system determines the input mode to be an alphabetic input mode.
Furthermore, the system receives a first signal and/or a second signal sent by the mouse, wherein the first signal is generated when a left button of the mouse is pressed, and the second signal is generated when a right button of the mouse is pressed.
Further, the system determines a corresponding letter according to the first signal and/or the second signal and a pre-stored letter matching table as shown in fig. 2, and takes the corresponding letter as an input character.
In addition:
the system determines the input mode to be a numeric input mode.
Furthermore, the system receives a first signal and/or a second signal sent by the mouse, wherein the first signal is generated when a left button of the mouse is pressed, and the second signal is generated when a right button of the mouse is pressed.
Furthermore, the system determines the corresponding number according to the first signal and/or the second signal and a pre-stored number matching table, and takes the corresponding number as the input character.
In addition:
the system determines the input mode to be a virtual keyboard input mode.
Furthermore, a keyboard switching command sent by the mouse is received, and in the embodiment of the application, the keyboard type can be determined by adopting a pulley arranged on the mouse in a rolling mode.
The system selects one of the multiple types of virtual keyboards shown in fig. 4 according to the keyboard switching instruction, and displays the selected type on the terminal, wherein the types of the virtual keyboards at least include one of the following types: an upper case English letter virtual keyboard, a lower case English letter virtual keyboard and a number and symbol virtual keyboard.
Further, the system receives a third signal transmitted when the virtual keyboard is clicked by the mouse, and determines the input character according to the third signal.
In the embodiment of the application, a plurality of input modes are set, so that a user can directly click in the virtual keyboard to further determine the input characters, and the input characters can be further determined by continuously clicking left and right keys.
When a user logs in or accesses some websites or servers, the user needs to input a corresponding login password or authentication code, and the login password or authentication code usually has a specific restriction rule, such as a number that cannot be continuous, a number of characters that cannot be smaller than a preset number, a mixture of multiple characters that must be set, and the like. Therefore, if the user directly inputs the password by touching the virtual keyboard or clicking the virtual keyboard through the mouse, the virtual keyboard needs to be clicked and switched for many times, which brings great inconvenience.
In the technical scheme recorded in the application, if a user does not want to display the virtual keyboard on a screen, the user can directly click the left key and the right key of the mouse to realize the input of characters through an alphabetic input mode or a numeric input mode, so that great convenience is brought to the user, and meanwhile, the input efficiency of the user is improved.
In addition, the input box of the password or the verification code in most websites or servers is usually located at the center of the screen, and if a user wakes up the virtual keyboard when using a device such as a tablet computer, the input box is often blocked, and the user cannot check whether the input is correct before the input is finished, which causes great inconvenience. In addition, the virtual keyboard input mode is further included in the application, and as can be seen from fig. 4, the interface of each virtual keyboard is extremely concise, the occupied screen area is extremely small, and the condition that the input frame is shielded cannot exist.
S105: displaying the input character in the character input box, and storing the input character to a clipboard.
Specifically, after the user finishes inputting, the input characters are displayed in the character input box, the user can modify the input characters at this time, after the final determination, the user can determine that the input is finished by clicking a determination key arranged in the terminal screen, and at this time, the system can store the input characters in the clipboard.
In addition, the user can also send a corresponding instruction through the mouse to determine to exit the character input mode, that is, the mouse is switched to a normal state, and at this time, the system can also determine that the character input is finished and simultaneously store the input character to the clipboard.
Further, the user can directly paste the inputted character to a desired position.
In one embodiment, after the system presents the input character in the character input box and stores the input character to the clipboard, the method may further include:
and determining that the character input is finished, and canceling the display of the character input box.
Furthermore, according to the clipboard, that is, the input characters stored in the clipboard, the system pastes the input characters to a character input area in the terminal, that is, an input box in which a user needs to input in a website or a server, or in other scenes.
In one embodiment, the system may further include, before determining the input character according to the input mode and according to a variety of input signals transmitted by the mouse:
the system acquires a current picture of the terminal, and identifies the current picture according to a pre-trained identification model to obtain an identification result;
determining the type of the character to be input in the current picture according to the recognition result, wherein the type of the character to be input at least comprises one of the following types: english letter type, digital type, symbol type.
And then, determining an input mode according to the type of the character to be input and the input habit of the user.
For example, the recognition model recognizes the current picture, and the recognition result shows that there are keywords: and verifying the code. Because the verification code is usually a number, a number input mode or a virtual keyboard input mode can be selected, meanwhile, the input habit of the user is analyzed, the frequency of the number input mode is higher than that of the virtual keyboard input mode when the user inputs the number, and finally the input mode is determined to be the number input mode.
Through the technical scheme recorded in the embodiment, the time for switching the input mode by the user is effectively saved, and the use experience of the user is greatly improved.
In one embodiment, after displaying the input character in the character input box and storing the input character to the clipboard, the method may further include:
and carrying out hot word retrieval on the input characters, and determining that hot words corresponding to the input characters exist.
And displaying the hot words in the terminal, and replacing the input characters with the hot words in the clipboard according to the determined instruction.
When a user inputs English through a mouse, an input error condition may exist, and by the technical scheme recorded in the embodiment, the input error condition can be effectively avoided, meanwhile, the modification time of the user is saved, and the user experience is further improved.
In one embodiment, after the system presents the input character in the character input box and stores the input character to the clipboard, the method may further include:
and receiving a terminal control instruction sent by the mouse, wherein the terminal control instruction can be determined to be sent by pressing a certain specific key or pressing a combined key in the same way as the technical scheme.
And then, the system collects the sliding track of the mouse within the preset time according to the terminal control instruction.
And smoothing the sliding track to obtain the processed sliding track.
Matching the processed sliding track with a pre-stored track matching table to obtain a corresponding execution action, wherein the execution action comprises at least one of the following actions: page turning, backward turning, withdrawing and deleting.
In the terminal, the execution action is executed.
For example, a sliding track of the mouse within three seconds is collected, the sliding track is subjected to smoothing processing, the sliding track after the processing is determined to be triangular, then, according to a prestored track matching table, a corresponding page turning action of the triangle is determined, and then the system executes the page turning action on the current page of the terminal.
In one embodiment, as shown in fig. 5, the present application also provides a mouse-based character input device, including:
at least one processor; and the number of the first and second groups,
a memory communicatively coupled to the at least one processor; wherein the content of the first and second substances,
the memory stores instructions executable by the at least one processor to cause the at least one processor to perform instructions for:
determining that a terminal is connected with a mouse, and receiving a driver sent by the mouse so as to install the driver to the terminal, wherein the driver is used for supporting character input of the mouse;
receiving a character input instruction sent by the mouse, and displaying a character input box on the terminal according to the character input instruction;
receiving a mode instruction sent by the mouse, and determining an input mode according to the mode instruction, wherein the input mode comprises: an alphabet input mode, a number input mode, a virtual keyboard input mode;
determining an input character according to the input mode and according to a plurality of input signals transmitted by the mouse;
displaying the input character in the character input box, and storing the input character to a clipboard.
In one embodiment, the present application further provides a non-transitory computer storage medium storing computer-executable instructions configured to:
determining that a terminal is connected with a mouse, and receiving a driver sent by the mouse so as to install the driver to the terminal, wherein the driver is used for supporting character input of the mouse;
receiving a character input instruction sent by the mouse, and displaying a character input box on the terminal according to the character input instruction;
receiving a mode instruction sent by the mouse, and determining an input mode according to the mode instruction, wherein the input mode comprises: an alphabet input mode, a number input mode, a virtual keyboard input mode;
determining an input character according to the input mode and according to a plurality of input signals transmitted by the mouse;
displaying the input character in the character input box, and storing the input character to a clipboard.
The embodiments in the present application are described in a progressive manner, and the same and similar parts among the embodiments can be referred to each other, and each embodiment focuses on the differences from the other embodiments. In particular, for the device and media embodiments, the description is relatively simple as it is substantially similar to the method embodiments, and reference may be made to some descriptions of the method embodiments for relevant points.
The device and the medium provided by the embodiment of the application correspond to the method one to one, so the device and the medium also have the similar beneficial technical effects as the corresponding method, and the beneficial technical effects of the method are explained in detail above, so the beneficial technical effects of the device and the medium are not repeated herein.
As will be appreciated by one skilled in the art, embodiments of the present application may be provided as a method, system, or computer program product. Accordingly, the present application may take the form of an entirely hardware embodiment, an entirely software embodiment or an embodiment combining software and hardware aspects. Furthermore, the present application may take the form of a computer program product embodied on one or more computer-usable storage media (including, but not limited to, disk storage, CD-ROM, optical storage, and the like) having computer-usable program code embodied therein.
The present application is described with reference to flowchart illustrations and/or block diagrams of methods, apparatus (systems), and computer program products according to embodiments of the application. It will be understood that each flow and/or block of the flow diagrams and/or block diagrams, and combinations of flows and/or blocks in the flow diagrams and/or block diagrams, can be implemented by computer program instructions. These computer program instructions may be provided to a processor of a general purpose computer, special purpose computer, embedded processor, or other programmable data processing apparatus to produce a machine, such that the instructions, which execute via the processor of the computer or other programmable data processing apparatus, create means for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be stored in a computer-readable memory that can direct a computer or other programmable data processing apparatus to function in a particular manner, such that the instructions stored in the computer-readable memory produce an article of manufacture including instruction means which implement the function specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be loaded onto a computer or other programmable data processing apparatus to cause a series of operational steps to be performed on the computer or other programmable apparatus to produce a computer implemented process such that the instructions which execute on the computer or other programmable apparatus provide steps for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
In a typical configuration, a computing device includes one or more processors (CPUs), input/output interfaces, network interfaces, and memory.
Computer-readable media, including both non-transitory and non-transitory, removable and non-removable media, may implement information storage by any method or technology. The information may be computer readable instructions, data structures, modules of a program, or other data. Examples of computer storage media include, but are not limited to, phase change memory (PRAM), Static Random Access Memory (SRAM), Dynamic Random Access Memory (DRAM), other types of Random Access Memory (RAM), Read Only Memory (ROM), Electrically Erasable Programmable Read Only Memory (EEPROM), flash memory or other memory technology, compact disc read only memory (CD-ROM), Digital Versatile Discs (DVD) or other optical storage, magnetic cassettes, magnetic tape magnetic disk storage or other magnetic storage devices, or any other non-transmission medium that can be used to store information that can be accessed by a computing device. As defined herein, a computer readable medium does not include a transitory computer readable medium such as a modulated data signal and a carrier wave.
It should also be noted that the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or apparatus. Without further limitation, an element defined by the phrase "comprising an … …" does not exclude the presence of other like elements in a process, method, article, or apparatus that comprises the element.
The above description is only an example of the present application and is not intended to limit the present application. Various modifications and changes may occur to those skilled in the art. Any modification, equivalent replacement, improvement, etc. made within the spirit and principle of the present application should be included in the scope of the claims of the present application.

Claims (10)

1. A character input method based on a mouse is characterized by comprising the following steps:
determining that a terminal is connected with a mouse, and receiving a driver sent by the mouse so as to install the driver to the terminal, wherein the driver is used for supporting character input of the mouse;
receiving a character input instruction sent by the mouse, and displaying a character input box on the terminal according to the character input instruction;
receiving a mode instruction sent by the mouse, and determining an input mode according to the mode instruction, wherein the input mode comprises: an alphabet input mode, a number input mode, a virtual keyboard input mode;
determining an input character according to the input mode and according to a plurality of input signals transmitted by the mouse;
displaying the input character in the character input box, and storing the input character to a clipboard.
2. The method of claim 1, wherein determining the input character according to the input mode and according to a plurality of input signals transmitted by the mouse comprises:
determining that the input mode is an alphabetic input mode;
receiving a first signal and/or a second signal sent by the mouse, wherein the first signal is generated when a left key of the mouse is pressed, and the second signal is generated when a right key of the mouse is pressed;
and determining corresponding letters according to the first signal and/or the second signal and a pre-stored letter matching table, and taking the corresponding letters as input characters.
3. The method of claim 1, wherein determining the input character according to the input mode and according to a plurality of input signals transmitted by the mouse comprises:
determining the input mode to be a digital input mode;
receiving a first signal and/or a second signal sent by the mouse, wherein the first signal is generated when a left key of the mouse is pressed, and the second signal is generated when a right key of the mouse is pressed;
and determining corresponding numbers according to the first signal and/or the second signal and a pre-stored number matching table, and taking the corresponding numbers as input characters.
4. The method of claim 1, wherein determining the input character according to the input mode and according to a plurality of input signals transmitted by the mouse comprises:
determining that the input mode is a virtual keyboard input mode;
receiving a keyboard switching instruction sent by the mouse, selecting one of multiple types of virtual keyboards according to the keyboard switching instruction, and displaying the selected one on the terminal, wherein the types of the virtual keyboards at least comprise one of the following types: an uppercase English letter virtual keyboard, a lowercase English letter virtual keyboard, and a number and symbol virtual keyboard;
and receiving a third signal sent when the mouse clicks the virtual keyboard, and determining the input character according to the third signal.
5. The mouse-based character input method of claim 1, wherein after the input character is presented in the character input box and the input character is stored to a clipboard, the method further comprises:
determining that the character input is finished, and canceling and displaying the character input frame;
and pasting the input characters to a character input area in the terminal according to the clipboard.
6. The mouse-based character input method of claim 1, wherein before determining the input character according to the input mode and according to a variety of input signals transmitted by the mouse, the method further comprises:
acquiring a current picture of the terminal, and identifying the current picture according to a pre-trained identification model to obtain an identification result;
determining the type of characters to be input in the current picture according to the recognition result, wherein the type of the characters to be input at least comprises one of the following types: english letter type, digit type, symbol type;
and determining the input mode according to the type of the character to be input and the input habit of the user.
7. The mouse-based character input method of claim 1, wherein after the input character is presented in the character input box and the input character is stored to a clipboard, the method further comprises:
carrying out hot word retrieval on the input characters, and determining that hot words corresponding to the input characters exist;
and displaying the hot words in the terminal, and replacing the input characters with the hot words in the clipboard according to a determined instruction.
8. The mouse-based character input method of claim 1, wherein after the input character is presented in the character input box and the input character is stored to a clipboard, the method further comprises:
receiving a terminal control instruction sent by the mouse, and acquiring a sliding track of the mouse within a preset time according to the terminal control instruction;
smoothing the sliding track to obtain a processed sliding track;
matching the processed sliding track with a pre-stored track matching table to obtain a corresponding execution action, wherein the execution action at least comprises one of the following actions: page turning, backward turning, withdrawing and deleting;
in the terminal, the execution action is executed.
9. A mouse-based character input device, comprising:
at least one processor; and the number of the first and second groups,
a memory communicatively coupled to the at least one processor; wherein the content of the first and second substances,
the memory stores instructions executable by the at least one processor to cause the at least one processor to perform instructions for:
determining that a terminal is connected with a mouse, and receiving a driver sent by the mouse so as to install the driver to the terminal, wherein the driver is used for supporting character input of the mouse;
receiving a character input instruction sent by the mouse, and displaying a character input box on the terminal according to the character input instruction;
receiving a mode instruction sent by the mouse, and determining an input mode according to the mode instruction, wherein the input mode comprises: an alphabet input mode, a number input mode, a virtual keyboard input mode;
determining an input character according to the input mode and according to a plurality of input signals transmitted by the mouse;
displaying the input character in the character input box, and storing the input character to a clipboard.
10. A non-transitory computer storage medium storing computer-executable instructions, the computer-executable instructions configured to:
determining that a terminal is connected with a mouse, and receiving a driver sent by the mouse so as to install the driver to the terminal, wherein the driver is used for supporting character input of the mouse;
receiving a character input instruction sent by the mouse, and displaying a character input box on the terminal according to the character input instruction;
receiving a mode instruction sent by the mouse, and determining an input mode according to the mode instruction, wherein the input mode comprises: an alphabet input mode, a number input mode, a virtual keyboard input mode;
determining an input character according to the input mode and according to a plurality of input signals transmitted by the mouse;
displaying the input character in the character input box, and storing the input character to a clipboard.
CN202111433789.6A 2021-11-29 2021-11-29 Mouse-based character input method, device and medium Pending CN113986030A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202111433789.6A CN113986030A (en) 2021-11-29 2021-11-29 Mouse-based character input method, device and medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202111433789.6A CN113986030A (en) 2021-11-29 2021-11-29 Mouse-based character input method, device and medium

Publications (1)

Publication Number Publication Date
CN113986030A true CN113986030A (en) 2022-01-28

Family

ID=79732466

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202111433789.6A Pending CN113986030A (en) 2021-11-29 2021-11-29 Mouse-based character input method, device and medium

Country Status (1)

Country Link
CN (1) CN113986030A (en)

Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR20020004008A (en) * 2000-06-29 2002-01-16 구문수 Method for displaying of input character information using mouse cursor
KR20030021584A (en) * 2001-09-06 2003-03-15 양용철 A Method and Apparatus of Internet Log In
CN101387925A (en) * 2008-10-23 2009-03-18 北京中星微电子有限公司 Mouse, password input method and password input system
KR20100089620A (en) * 2009-02-04 2010-08-12 허성민 Method and terminal for inputting character
CN101842770A (en) * 2007-11-22 2010-09-22 金渊铢 Characters input method
US20100325572A1 (en) * 2009-06-23 2010-12-23 Microsoft Corporation Multiple mouse character entry
CN102929852A (en) * 2012-10-15 2013-02-13 福建榕基软件股份有限公司 Method and system for realizing conversion of simplified and traditional Chinese characters in rich text editor
CN111338556A (en) * 2020-02-25 2020-06-26 韦季李 Input method, input device, terminal equipment and storage medium

Patent Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR20020004008A (en) * 2000-06-29 2002-01-16 구문수 Method for displaying of input character information using mouse cursor
KR20030021584A (en) * 2001-09-06 2003-03-15 양용철 A Method and Apparatus of Internet Log In
CN101842770A (en) * 2007-11-22 2010-09-22 金渊铢 Characters input method
CN101387925A (en) * 2008-10-23 2009-03-18 北京中星微电子有限公司 Mouse, password input method and password input system
KR20100089620A (en) * 2009-02-04 2010-08-12 허성민 Method and terminal for inputting character
US20100325572A1 (en) * 2009-06-23 2010-12-23 Microsoft Corporation Multiple mouse character entry
CN102929852A (en) * 2012-10-15 2013-02-13 福建榕基软件股份有限公司 Method and system for realizing conversion of simplified and traditional Chinese characters in rich text editor
CN111338556A (en) * 2020-02-25 2020-06-26 韦季李 Input method, input device, terminal equipment and storage medium

Similar Documents

Publication Publication Date Title
US9152529B2 (en) Systems and methods for dynamically altering a user interface based on user interface actions
CN108363593A (en) Application program preloads method, apparatus, storage medium and terminal
US10331871B2 (en) Password input interface
CN107547750A (en) Control method, device and the storage medium of terminal
CN104809174A (en) Opening method of terminal application
CN108763579A (en) Search for content recommendation method, device, terminal device and storage medium
CN108460259B (en) Information processing method and device and terminal
WO2017156983A1 (en) List callup method and device
CN109814801A (en) Using login method, device, terminal and storage medium
CN108762837A (en) Application program preloads method, apparatus, storage medium and terminal
CN111933134A (en) Man-machine interaction method and device, electronic equipment and storage medium
US20110296347A1 (en) Text entry techniques
CN104598507A (en) Information searching method and device
CN106598409B (en) Text copying method and device and intelligent terminal
CN104808899A (en) Terminal
CN104794412A (en) Information input method and device and mobile terminal
CN113127432A (en) Operation execution method, device, electronic equipment and medium
CN108664286A (en) Application program preloads method, apparatus, storage medium and mobile terminal
JP7142961B2 (en) multilingual keyboard system
CN108737634B (en) Voice input method and device, computer device and computer readable storage medium
US7088341B2 (en) System and method for inputting special characters
CN105094562A (en) Information processing method and terminal
CN112199135A (en) Information guiding method, device, electronic equipment and storage medium
CN103778232A (en) Method and device for processing personalized information
CN110554817A (en) desktop icon display control method and device, readable medium and computing equipment

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