CN111190529A - Keyboard input method and device and electronic equipment - Google Patents

Keyboard input method and device and electronic equipment Download PDF

Info

Publication number
CN111190529A
CN111190529A CN201811358643.8A CN201811358643A CN111190529A CN 111190529 A CN111190529 A CN 111190529A CN 201811358643 A CN201811358643 A CN 201811358643A CN 111190529 A CN111190529 A CN 111190529A
Authority
CN
China
Prior art keywords
control
editing control
loading
inputtable
monitoring
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
CN201811358643.8A
Other languages
Chinese (zh)
Other versions
CN111190529B (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.)
Hitevision Co Ltd
Original Assignee
Hitevision 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 Hitevision Co Ltd filed Critical Hitevision Co Ltd
Priority to CN201811358643.8A priority Critical patent/CN111190529B/en
Priority claimed from CN201811358643.8A external-priority patent/CN111190529B/en
Publication of CN111190529A publication Critical patent/CN111190529A/en
Application granted granted Critical
Publication of CN111190529B publication Critical patent/CN111190529B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

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

Abstract

The invention discloses a keyboard input method and device and electronic equipment, wherein the keyboard input method comprises the following steps: starting a virtual keyboard application; loading an event monitoring module for monitoring the action of the active control; monitoring a message event by using the event monitoring module, and acquiring version information of the windows operating system when the message event is monitored to be an action of an active control which is an inputtable control; and loading the virtual keyboard of the corresponding version according to the version information. According to the method and the device, the keyboard input function of various inputtable controls can be realized, the program is simplified, and the user experience is improved.

Description

Keyboard input method and device and electronic equipment
Technical Field
The present invention relates to the field of touch device control technologies, and in particular, to a keyboard input method and apparatus, and an electronic device.
Background
At present, touch control equipment such as an electronic whiteboard and the like is more and more widely applied in the teaching field. The electronic whiteboard is provided with various teaching application software, corresponding operation can be performed on each software through touch operation, and the electronic whiteboard is powerful in function and convenient to operate. The software has the functions of editing, handwriting input and keyboard input, but the keyboard input of each software is independent, uniform calling is not realized, and the realization is more complicated.
Disclosure of Invention
In view of the above, the present invention provides a keyboard input method and apparatus, and an electronic device, which can implement a keyboard input function of a plurality of inputtable controls.
Based on the above object, the present invention provides a keyboard input method, comprising:
starting a virtual keyboard application;
loading an event monitoring module for monitoring the action of the active control;
monitoring a message event by using the event monitoring module, and acquiring version information of the windows operating system when the message event is monitored to be an action of an active control which is an inputtable control;
and loading the virtual keyboard of the corresponding version according to the version information.
Optionally, the virtual keyboard application is started through a shellexecute api.
Optionally, the inputtable controls include: the device comprises a date editing control, a time editing control, a date and time editing control, a line editing control, a text editing control, a combined editing control, a rich text editing control, an integer rotation control, a decimal rotation control and a dial plate control.
An embodiment of the present invention further provides a keyboard input device, including:
the loading module is used for loading an event monitoring module for monitoring the action of the movable control;
the event monitoring module is used for monitoring message events, and calling the version acquisition module when the message events are monitored to be the actions of the movable controls and the movable controls are inputtable controls;
the version acquisition module is used for acquiring the version information of the windows operating system;
and the keyboard loading module is used for loading the virtual keyboard of the corresponding version according to the version information.
Optionally, the virtual keyboard application is started through a shellexecute api.
Optionally, the inputtable controls include: the device comprises a date editing control, a time editing control, a date and time editing control, a line editing control, a text editing control, a combined editing control, a rich text editing control, an integer rotation control, a decimal rotation control and a dial plate control.
An embodiment of the present invention further provides an electronic device, which includes a memory, a processor, and a computer program stored in the memory and executable on the processor, and the processor implements the method when executing the computer program.
The keyboard input method, the keyboard input device and the electronic equipment provided by the invention have the advantages that the event monitoring module is used for monitoring the message event, and when the message event is monitored to be an action of the movable control, and the movable control can be input, the version information of the operating system is acquired; and loading the virtual keyboard of the corresponding version according to the version information. According to the method and the device, the keyboard input function of various inputtable controls can be realized, the program is simplified, and the user experience is improved.
Drawings
In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings used in the description of the embodiments or the prior art will be briefly described below, it is obvious that the drawings in the following description are only some embodiments of the present invention, and for those skilled in the art, other drawings can be obtained according to the drawings without creative efforts.
FIG. 1 is a schematic flow chart of a method according to an embodiment of the present invention;
fig. 2 is a schematic structural diagram of an apparatus according to an embodiment of the present invention.
Detailed Description
In order to make the objects, technical solutions and advantages of the present invention more apparent, the present invention is described in further detail below with reference to specific embodiments and the accompanying drawings.
It should be noted that all expressions using "first" and "second" in the embodiments of the present invention are used for distinguishing two entities with the same name but different names or different parameters, and it should be noted that "first" and "second" are merely for convenience of description and should not be construed as limitations of the embodiments of the present invention, and they are not described in any more detail in the following embodiments.
FIG. 1 is a schematic flow chart of a method according to an embodiment of the present invention. As shown in the figure, the keyboard input method provided by the embodiment of the present invention includes:
s10: starting a virtual keyboard application;
in the embodiment of the invention, the windows virtual keyboard application TabTip.
S11: loading an event monitoring module for monitoring the action of the active control;
in one embodiment, a notify event function of Application is loaded, and the notify function is used for monitoring the action of the current active control and judging whether the current active control is an inputtable control. Wherein the inputtable controls include: the device comprises a date editing control, a time editing control, a date and time editing control, a line editing control, a text editing control, a combined editing control, a rich text editing control, an integer rotation control, a decimal rotation control, a dial plate control and the like.
S12: monitoring the message event of the application layer by using an event monitoring module, judging whether the current active control is an inputtable control or not when the message event is monitored to be an active control action, and executing the step S13 if the current active control is the inputtable control;
s13: acquiring version information of a windows operating system;
s14: and loading the virtual keyboard of the corresponding version according to the version information of the windows operating system.
In the embodiment of the invention, event monitoring is carried out on all the inputtable controls, and the virtual keyboard can be triggered and executed uniformly no matter which software the inputtable controls are, so that the program is simplified, the operation is convenient, and the user experience is improved.
Fig. 2 is a schematic structural diagram of an apparatus according to an embodiment of the present invention. As shown in the drawings, the keyboard input device provided by the embodiment of the present invention includes:
the keyboard starting module is used for starting the virtual keyboard application;
in the embodiment of the invention, the windows virtual keyboard application TabTip.
The loading module is used for loading an event monitoring module for monitoring the action of the movable control;
in one embodiment, a notify event function of Application is loaded, and the notify function is used for monitoring the action of the current active control and judging whether the current active control is an inputtable control. Wherein the inputtable controls include: the device comprises a date editing control, a time editing control, a date and time editing control, a line editing control, a text editing control, a combined editing control, a rich text editing control, an integer rotation control, a decimal rotation control, a dial plate control and the like.
The event monitoring module is used for monitoring message events of the application layer, and calling the version acquisition module when the message events are monitored to be the actions of the active controls and the current active controls are inputtable controls;
the version acquisition module is used for acquiring the version information of the windows operating system;
and the keyboard loading module is used for loading the virtual keyboard of the corresponding version according to the version information of the windows operating system.
Based on the above purpose, the embodiment of the present invention further provides an embodiment of an apparatus for executing the keyboard input method. The device comprises:
one or more processors, and a memory.
The apparatus for performing the key input method may further include: an input device and an output device.
The processor, memory, input device, and output device may be connected by a bus or other means.
The memory, which is a non-volatile computer-readable storage medium, may be used to store non-volatile software programs, non-volatile computer-executable programs, and modules, such as program instructions/modules corresponding to the keyboard input method in the embodiments of the present invention. The processor executes various functional applications and data processing of the server by running nonvolatile software programs, instructions and modules stored in the memory, namely, the keyboard input method of the above-mentioned method embodiment is realized.
The memory may include a storage program area and a storage data area, wherein the storage program area may store an operating system, an application program required for at least one function; the storage data area may store data created according to use of a device performing the key input method, and the like. Further, the memory may include high speed random access memory, and may also include non-volatile memory, such as at least one magnetic disk storage device, flash memory device, or other non-volatile solid state storage device. In some embodiments, the memory optionally includes memory remotely located from the processor, and these remote memories may be connected to the member user behavior monitoring device via a network. Examples of such networks include, but are not limited to, the internet, intranets, local area networks, mobile communication networks, and combinations thereof.
The input device may receive input numeric or character information and generate key signal inputs related to user settings and function control of a device performing a keyboard input method. The output device may include a display device such as a display screen.
The one or more modules are stored in the memory and, when executed by the one or more processors, perform the keyboard input method of any of the method embodiments described above. The technical effect of the embodiment of the device for executing the keyboard input method is the same as or similar to that of any method embodiment.
The embodiment of the invention also provides a non-transitory computer storage medium, wherein the computer storage medium stores computer executable instructions, and the computer executable instructions can execute the processing method of the list item operation in any method embodiment. Embodiments of the non-transitory computer storage medium may be the same or similar in technical effect to any of the method embodiments described above.
Finally, it should be noted that, as will be understood by those skilled in the art, all or part of the processes in the methods of the above embodiments may be implemented by a computer program that can be stored in a computer-readable storage medium and that, when executed, can include the processes of the embodiments of the methods described above. The storage medium may be a magnetic disk, an optical disk, a Read-Only Memory (ROM), a Random Access Memory (RAM), or the like. The technical effect of the embodiment of the computer program is the same as or similar to that of any of the method embodiments described above.
Furthermore, the apparatuses, devices, etc. described in the present disclosure may be various electronic terminal devices, such as a mobile phone, a Personal Digital Assistant (PDA), a tablet computer (PAD), a smart television, etc., and may also be large terminal devices, such as a server, etc., and therefore the scope of protection of the present disclosure should not be limited to a specific type of apparatus, device. The client disclosed by the present disclosure may be applied to any one of the above electronic terminal devices in the form of electronic hardware, computer software, or a combination of both.
Furthermore, the method according to the present disclosure may also be implemented as a computer program executed by a CPU, which may be stored in a computer-readable storage medium. The computer program, when executed by the CPU, performs the above-described functions defined in the method of the present disclosure.
Further, the above method steps and system elements may also be implemented using a controller and a computer readable storage medium for storing a computer program for causing the controller to implement the functions of the above steps or elements.
Further, it should be appreciated that the computer-readable storage media (e.g., memory) described herein can be either volatile memory or nonvolatile memory, or can include both volatile and nonvolatile memory. By way of example, and not limitation, nonvolatile memory can include Read Only Memory (ROM), Programmable ROM (PROM), Electrically Programmable ROM (EPROM), Electrically Erasable Programmable ROM (EEPROM), or flash memory. Volatile memory can include Random Access Memory (RAM), which can act as external cache memory. By way of example and not limitation, RAM is available in a variety of forms such as synchronous RAM (DRAM), Dynamic RAM (DRAM), Synchronous DRAM (SDRAM), double data rate SDRAM (DDR SDRAM), Enhanced SDRAM (ESDRAM), Synchronous Link DRAM (SLDRAM), and Direct Rambus RAM (DRRAM). The storage devices of the disclosed aspects are intended to comprise, without being limited to, these and other suitable types of memory.
The apparatus of the foregoing embodiment is used to implement the corresponding method in the foregoing embodiment, and has the beneficial effects of the corresponding method embodiment, which are not described herein again.
Those of ordinary skill in the art will understand that: the discussion of any embodiment above is meant to be exemplary only, and is not intended to intimate that the scope of the disclosure, including the claims, is limited to these examples; within the idea of the invention, also features in the above embodiments or in different embodiments may be combined, steps may be implemented in any order, and there are many other variations of the different aspects of the invention as described above, which are not provided in detail for the sake of brevity.
In addition, well known power/ground connections to Integrated Circuit (IC) chips and other components may or may not be shown within the provided figures for simplicity of illustration and discussion, and so as not to obscure the invention. Furthermore, devices may be shown in block diagram form in order to avoid obscuring the invention, and also in view of the fact that specifics with respect to implementation of such block diagram devices are highly dependent upon the platform within which the present invention is to be implemented (i.e., specifics should be well within purview of one skilled in the art). Where specific details (e.g., circuits) are set forth in order to describe example embodiments of the invention, it should be apparent to one skilled in the art that the invention can be practiced without, or with variation of, these specific details. Accordingly, the description is to be regarded as illustrative instead of restrictive.
While the present invention has been described in conjunction with specific embodiments thereof, many alternatives, modifications, and variations of these embodiments will be apparent to those of ordinary skill in the art in light of the foregoing description. For example, other memory architectures (e.g., dynamic ram (dram)) may use the discussed embodiments.
The embodiments of the invention are intended to embrace all such alternatives, modifications and variances that fall within the broad scope of the appended claims. Therefore, any omissions, modifications, substitutions, improvements and the like that may be made without departing from the spirit and principles of the invention are intended to be included within the scope of the invention.

Claims (7)

1. A keyboard input method, comprising:
starting a virtual keyboard application;
loading an event monitoring module for monitoring the action of the active control;
monitoring a message event by using the event monitoring module, and acquiring version information of the windows operating system when the message event is monitored to be an action of an active control which is an inputtable control;
and loading the virtual keyboard of the corresponding version according to the version information.
2. The method of claim 1, wherein launching the virtual keyboard application is performed via a shellexecute api.
3. The method of claim 1, wherein the inputtable controls comprise: the device comprises a date editing control, a time editing control, a date and time editing control, a line editing control, a text editing control, a combined editing control, a rich text editing control, an integer rotation control, a decimal rotation control and a dial plate control.
4. A keyboard input device, comprising:
the loading module is used for loading an event monitoring module for monitoring the action of the movable control;
the event monitoring module is used for monitoring message events, and calling the version acquisition module when the message events are monitored to be the actions of the movable controls and the movable controls are inputtable controls;
the version acquisition module is used for acquiring the version information of the windows operating system;
and the keyboard loading module is used for loading the virtual keyboard of the corresponding version according to the version information.
5. The apparatus of claim 1, wherein launching the virtual keyboard application is implemented via a shellexecute api.
6. The apparatus of claim 1, wherein the inputtable control comprises: the device comprises a date editing control, a time editing control, a date and time editing control, a line editing control, a text editing control, a combined editing control, a rich text editing control, an integer rotation control, a decimal rotation control and a dial plate control.
7. An electronic device comprising a memory, a processor and a computer program stored on the memory and executable on the processor, characterized in that the processor implements the method according to any of claims 1 to 3 when executing the program.
CN201811358643.8A 2018-11-15 Keyboard input method and device and electronic equipment Active CN111190529B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201811358643.8A CN111190529B (en) 2018-11-15 Keyboard input method and device and electronic equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201811358643.8A CN111190529B (en) 2018-11-15 Keyboard input method and device and electronic equipment

Publications (2)

Publication Number Publication Date
CN111190529A true CN111190529A (en) 2020-05-22
CN111190529B CN111190529B (en) 2024-04-30

Family

ID=

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111782062A (en) * 2020-07-01 2020-10-16 广州朗国电子科技有限公司 Soft input method position adjusting method and device, storage medium and large-screen all-in-one machine

Citations (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101883174A (en) * 2009-12-31 2010-11-10 联想(北京)有限公司 Method for switching terminal keyboards, and mobile terminal
CN103605430A (en) * 2013-12-03 2014-02-26 深圳雷柏科技股份有限公司 Method and device for simulating keyboard input
CN103902213A (en) * 2012-12-27 2014-07-02 中国移动通信集团河南有限公司 Text information generating method and device
CN104765528A (en) * 2015-03-19 2015-07-08 广东欧珀移动通信有限公司 Display method and device of virtual keyboard
CN104898963A (en) * 2014-03-04 2015-09-09 珠海金山办公软件有限公司 Virtual keyboard display method and virtual keyboard display system
CN105468256A (en) * 2015-11-20 2016-04-06 北京奇虎科技有限公司 Input method keyboard switching method and device
US20160291828A1 (en) * 2015-04-01 2016-10-06 Microsoft Technology Licensing, Llc. View Activation via Hit Testing in an Asynchronous Windowing System
CN107741820A (en) * 2017-09-12 2018-02-27 维沃移动通信有限公司 A kind of entering method keyboard display methods and mobile terminal
CN108052268A (en) * 2017-10-31 2018-05-18 深圳康得新智能显示科技有限公司 Man-machine interaction method and device
CN108762654A (en) * 2018-05-15 2018-11-06 Oppo(重庆)智能科技有限公司 Method, apparatus, terminal and the computer readable storage medium of text editing

Patent Citations (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101883174A (en) * 2009-12-31 2010-11-10 联想(北京)有限公司 Method for switching terminal keyboards, and mobile terminal
CN103902213A (en) * 2012-12-27 2014-07-02 中国移动通信集团河南有限公司 Text information generating method and device
CN103605430A (en) * 2013-12-03 2014-02-26 深圳雷柏科技股份有限公司 Method and device for simulating keyboard input
CN104898963A (en) * 2014-03-04 2015-09-09 珠海金山办公软件有限公司 Virtual keyboard display method and virtual keyboard display system
CN104765528A (en) * 2015-03-19 2015-07-08 广东欧珀移动通信有限公司 Display method and device of virtual keyboard
US20160291828A1 (en) * 2015-04-01 2016-10-06 Microsoft Technology Licensing, Llc. View Activation via Hit Testing in an Asynchronous Windowing System
CN105468256A (en) * 2015-11-20 2016-04-06 北京奇虎科技有限公司 Input method keyboard switching method and device
CN107741820A (en) * 2017-09-12 2018-02-27 维沃移动通信有限公司 A kind of entering method keyboard display methods and mobile terminal
CN108052268A (en) * 2017-10-31 2018-05-18 深圳康得新智能显示科技有限公司 Man-machine interaction method and device
CN108762654A (en) * 2018-05-15 2018-11-06 Oppo(重庆)智能科技有限公司 Method, apparatus, terminal and the computer readable storage medium of text editing

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111782062A (en) * 2020-07-01 2020-10-16 广州朗国电子科技有限公司 Soft input method position adjusting method and device, storage medium and large-screen all-in-one machine

Similar Documents

Publication Publication Date Title
CN105511949B (en) Verification code filling method and device and mobile terminal
CN111062189A (en) Data analysis method and device and electronic equipment
CN107479868B (en) Interface loading method, device and equipment
CN111782304B (en) Paging loading data logic control method, device, computer equipment and medium
CN111459364B (en) Icon updating method and device and electronic equipment
CN110830280A (en) Micro-service gateway device and method and electronic equipment
CN111385137A (en) Terminal awakening method, server and electronic equipment
CN111475754B (en) Page loading method, device, terminal and storage medium
CN108509228B (en) Page loading method, terminal equipment and computer readable storage medium
CN110781139A (en) Teaching plan resource management system and method and electronic equipment
CN110806910A (en) Method and system for optimizing carousel map and electronic equipment
CN111190529A (en) Keyboard input method and device and electronic equipment
CN111190529B (en) Keyboard input method and device and electronic equipment
CN110765738A (en) System and method for generating card number and electronic equipment
CN111382415A (en) Unified login method and device and electronic equipment
CN111124627A (en) Method, device, terminal and storage medium for determining application program caller
CN111200621A (en) Ad hoc network method and device, and electronic device
CN111158569A (en) Erasing operation method and device and electronic equipment
CN110908567B (en) Terminal assistant device and method and electronic equipment
CN111381849A (en) Software updating method and device and electronic equipment
CN111158505A (en) Thick-thin handwriting writing method and device and electronic equipment
CN108009057B (en) Test method and device for password input, storage medium and electronic equipment
CN110895474A (en) Terminal micro-service device and method and electronic equipment
CN111142982A (en) Event execution method and device and electronic equipment
CN110912959A (en) Device access method and device, management and control system and electronic device

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