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

Keyboard input method and device and electronic equipment Download PDF

Info

Publication number
CN111190529B
CN111190529B CN201811358643.8A CN201811358643A CN111190529B CN 111190529 B CN111190529 B CN 111190529B CN 201811358643 A CN201811358643 A CN 201811358643A CN 111190529 B CN111190529 B CN 111190529B
Authority
CN
China
Prior art keywords
control
loading
editing control
event
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.)
Active
Application number
CN201811358643.8A
Other languages
Chinese (zh)
Other versions
CN111190529A (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
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

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, comprising the following steps: starting a virtual keyboard application; loading an event monitoring module for monitoring the action of the activity control; monitoring a message event by using the event monitoring module, and acquiring version information of a windows operating system when the message event is monitored to be an action of an active control and the active control is an input 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 input 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 invention relates to the technical field of control of touch equipment, in particular to a keyboard input method and device and electronic equipment.
Background
At present, touch control equipment such as an electronic whiteboard and the like is widely applied to the field of teaching. The electronic whiteboard is provided with a plurality of teaching application software, and each software can be correspondingly operated through touch operation, so that the electronic whiteboard is powerful in function and convenient to operate. The software has an editing function, some software has a handwriting input function and does not have a keyboard input function, and some software has a keyboard input function, but the keyboard input functions of the software are independent, unified calling is not realized, and the realization is complicated.
Disclosure of Invention
Therefore, the invention aims to provide a keyboard input method and device and electronic equipment, which can realize the keyboard input function of various input 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 activity control;
Monitoring a message event by using the event monitoring module, and acquiring version information of a windows operating system when the message event is monitored to be an action of an active control and the active control is an input control;
and loading the virtual keyboard of the corresponding version according to the version information.
Optionally, starting the virtual keyboard application is achieved through shellexecuteAPI.
Optionally, the inputtable control includes: a date editing control, a time editing control, a date and time editing control, a row editing control, a text editing control, a combination editing control, a rich text editing control, an integer rotation control, a decimal rotation control and a dial control.
The embodiment of the invention also provides a keyboard input device, which comprises:
the loading module is used for loading the event monitoring module for monitoring the action of the activity control;
the event monitoring module is used for monitoring a message event, and calling the version acquisition module when the message event is monitored to be an action of an active control and the active control is an inputtable control;
the version acquisition module is used for acquiring 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, starting the virtual keyboard application is achieved through shellexecuteAPI.
Optionally, the inputtable control includes: a date editing control, a time editing control, a date and time editing control, a row editing control, a text editing control, a combination editing control, a rich text editing control, an integer rotation control, a decimal rotation control and a dial control.
The embodiment of the invention also provides electronic equipment, which comprises a memory, a processor and a computer program stored on the memory and capable of running on the processor, wherein the processor realizes the method when executing the program.
As can be seen from the above, according to the keyboard input method, the keyboard input device and the electronic equipment provided by the invention, the event monitoring module is utilized to monitor the message event, and when the monitored message event is an action of the active control and the active control is an input control, version information of the operating system is obtained; 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 input 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 invention or the technical solutions in the prior art, the drawings that are required in the embodiments or the description of the prior art will be briefly described, it being obvious that the drawings in the following description are only some embodiments of the invention, and that other drawings may be obtained according to these drawings without inventive effort for a person skilled in the art.
FIG. 1 is a schematic flow chart of a method according to an embodiment of the invention;
fig. 2 is a schematic diagram of a device structure according to an embodiment of the present invention.
Detailed Description
The present invention will be further described in detail below with reference to specific embodiments and with reference to the accompanying drawings, in order to make the objects, technical solutions and advantages of the present invention more apparent.
It should be noted that, in the embodiments of the present invention, all the expressions "first" and "second" are used to distinguish two entities with the same name but different entities or different parameters, and it is noted that the "first" and "second" are only used for convenience of expression, and should not be construed as limiting the embodiments of the present invention, and the following embodiments are not described one by one.
FIG. 1 is a flow chart of a method according to an embodiment of the invention. As shown in the figure, the keyboard input method provided by the embodiment of the invention comprises the following steps:
S10: starting a virtual keyboard application;
In the embodiment of the invention, the TabTip.exe of the windows virtual keyboard application is started through shellexecuteAPI.
S11: loading an event monitoring module for monitoring the action of the activity control;
In one embodiment, a notify event function of Application is loaded, and the notify function is used to monitor the action of the current active control and determine whether the current active control is an inputtable control. Wherein the inputtable controls include: a date editing control, a time editing control, a date time editing control, a row editing control, a text editing control, a combination editing control, a rich text editing control, an integer rotation control, a decimal rotation control, a dial control and the like.
S12: monitoring a message event of an application layer by using an event monitoring module, judging whether the current active control is an inputtable control when the message event is monitored to be an active control action, and executing a step S13 if the current active control is the inputtable control;
S13: version information of a windows operating system is obtained;
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, through carrying out event monitoring on all the inputtable controls, no matter which control in the software the inputtable control is, the virtual keyboard can be triggered and executed uniformly, so that the program is simplified, the operation is convenient, and the user experience is improved.
Fig. 2 is a schematic diagram of a device structure according to an embodiment of the present invention. As shown in the drawings, the keyboard input device provided by the embodiment of the invention comprises:
the keyboard starting module is used for starting the virtual keyboard application;
In the embodiment of the invention, the TabTip.exe of the windows virtual keyboard application is started through shellexecuteAPI.
The loading module is used for loading the event monitoring module for monitoring the action of the activity control;
In one embodiment, a notify event function of Application is loaded, and the notify function is used to monitor the action of the current active control and determine whether the current active control is an inputtable control. Wherein the inputtable controls include: a date editing control, a time editing control, a date time editing control, a row editing control, a text editing control, a combination editing control, a rich text editing control, an integer rotation control, a decimal rotation control, a dial control and the like.
The event monitoring module is used for monitoring the message event of the application layer, and calling the version acquisition module when the message event is monitored to be an action of the active control and the current active control is an input control;
the version acquisition module is used for acquiring 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 object, the embodiment of the invention also provides an embodiment of a device for executing the keyboard input method. The device comprises:
one or more processors and memory.
The apparatus for performing the keyboard input method may further include: input means and output means.
The processor, memory, input devices, and output devices may be connected by a bus or other means.
The memory is used as a non-volatile computer readable storage medium for storing non-volatile software programs, non-volatile computer executable programs and modules, such as program instructions/modules corresponding to the keyboard input method in the embodiment of the invention. The processor executes various functional applications of the server and data processing by running nonvolatile software programs, instructions and modules stored in the memory, that is, implements the keyboard input method of the above-described method embodiment.
The memory may include a memory program area and a memory data area, wherein the memory program area may store an operating system, at least one application program required for a function; the storage data area may store data created according to the use of a device performing the keyboard input method, etc. In addition, 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 with respect to the processor, the remote memory being connectable to the membership user action monitoring device through 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 controls of the device performing the keyboard input method. The output means may comprise a display device such as a display screen.
The one or more modules are stored in the memory that, when executed by the one or more processors, perform the keyboard entry method of any of the method embodiments described above. The technical effects of the embodiment of the device for executing the keyboard input method are the same as or similar to those of any of the previous method embodiments.
The embodiment of the invention also provides a non-transitory computer storage medium, which stores computer executable instructions that can execute the method for processing the list item operation in any of the method embodiments. Embodiments of the non-transitory computer storage medium have technical effects identical or similar to any of the method embodiments described above.
Finally, it should be noted that, as will be appreciated by those skilled in the art, all or part of the procedures in implementing the methods of the embodiments described above may be implemented by a computer program for instructing relevant hardware, where the program may be stored in a computer readable storage medium, and the program may include the procedures of the embodiments of the methods described above when executed. The storage medium may be a magnetic disk, an optical disk, a Read-Only Memory (ROM), a random-access Memory (Random Access Memory, RAM), or the like. The technical effects of the computer program embodiments are the same as or similar to any of the method embodiments described above.
In addition, typically, the devices, apparatuses and the like described in the present disclosure may be various electronic terminal apparatuses, such as mobile phones, personal Digital Assistants (PDAs), tablet computers (PADs), smart televisions, and the like, and may also be large-sized terminal apparatuses, such as servers, and the like, so the protection scope of the present disclosure should not be limited to a specific type of device, apparatus, and the like. The client described in the present disclosure may be applied to any 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 above-described functions defined in the methods of the present disclosure are performed when the computer program is executed by a CPU.
Furthermore, the above-described method steps and system units may also be implemented using a controller and a computer-readable storage medium storing a computer program for causing the controller to implement the above-described steps or unit functions.
Further, it should be appreciated that the computer-readable storage medium (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 acts as external cache memory. By way of example and not limitation, RAM may be 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 RambusRAM (DRRAM). The storage devices of the disclosed aspects are intended to comprise, without being limited to, these and other suitable types of memory.
The device of the foregoing embodiment is configured to implement the corresponding method in the foregoing embodiment, and has the beneficial effects of the corresponding method embodiment, which is not described herein.
Those of ordinary skill in the art will appreciate that: the discussion of any of the embodiments above is merely exemplary and is not intended to suggest that the scope of the disclosure, including the claims, is limited to these examples; the technical features of the above embodiments or in the different embodiments may also be combined within the idea of the invention, the 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.
Additionally, well-known power/ground connections to Integrated Circuit (IC) chips and other components may or may not be shown within the provided figures, in order to simplify the illustration and discussion, and so as not to obscure the invention. Furthermore, the 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., such 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 in nature and not as restrictive.
While the invention has been described in conjunction with specific embodiments thereof, many alternatives, modifications, and variations of those embodiments will be apparent to those skilled in the art in light of the foregoing description. For example, other memory architectures (e.g., dynamic RAM (DRAM)) may use the embodiments discussed.
The embodiments of the invention are intended to embrace all such alternatives, modifications and variances which fall within the broad scope of the appended claims. Therefore, any omission, modification, equivalent replacement, improvement, etc. of the present invention should be included in the scope of the present invention.

Claims (3)

1. A keyboard input method, comprising:
Starting a virtual keyboard application through shellexecuteAPI;
loading an event monitoring module for monitoring the action of the activity control;
Monitoring a message event by using the event monitoring module, and acquiring version information of a windows operating system when the message event is monitored to be an action of an active control and the active control is an input control; wherein the inputtable control comprises: a date editing control, a time editing control, a date and time editing control, a row editing control, a text editing control, a combination editing control, a rich text editing control, an integer rotation control, a decimal rotation control and a dial control;
and loading the virtual keyboard of the corresponding version according to the version information.
2. A keyboard input device, comprising:
the loading module is used for loading the event monitoring module for monitoring the action of the activity control;
The event monitoring module is used for monitoring a message event, and calling the version acquisition module when the message event is monitored to be an action of an active control and the active control is an inputtable control; wherein the inputtable control comprises: a date editing control, a time editing control, a date and time editing control, a row editing control, a text editing control, a combination editing control, a rich text editing control, an integer rotation control, a decimal rotation control and a dial control;
the version acquisition module is used for acquiring version information of the windows operating system;
and the keyboard loading module is used for loading the virtual keyboard of the corresponding version through shellexecuteAPI according to the version information.
3. An electronic device comprising a memory, a processor, and a computer program stored on the memory and executable on the processor, wherein the processor implements the method of claim 1 when executing the program.
CN201811358643.8A 2018-11-15 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 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 2018-11-15 Keyboard input method and device and electronic equipment

Publications (2)

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

Family

ID=70707140

Family Applications (1)

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

Country Status (1)

Country Link
CN (1) CN111190529B (en)

Families Citing this family (1)

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

Citations (9)

* 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
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

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US9733823B2 (en) * 2015-04-01 2017-08-15 Microsoft Technology Licensing, Llc View activation via hit testing in an asynchronous windowing system

Patent Citations (9)

* 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
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

Also Published As

Publication number Publication date
CN111190529A (en) 2020-05-22

Similar Documents

Publication Publication Date Title
CN110830280B (en) Micro-service gateway device and method and electronic equipment
CN110447215B (en) Dynamic warning method and terminal for malicious behavior of application software
CN107479868B (en) Interface loading method, device and equipment
CN111062189A (en) Data analysis method and device and electronic equipment
CN110908855A (en) Micro-service operation maintenance device and method and electronic equipment
CN111190529B (en) Keyboard input method and device and electronic equipment
CN110781139A (en) Teaching plan resource management system and method and electronic equipment
US20140324368A1 (en) Test method, test system and electronic device employing the same
CN107516117A (en) Quick Response Code processing method, device, terminal and server
CN111382415A (en) Unified login method and device and electronic equipment
US20160036853A1 (en) Storage medium storing program for login alerts, and method and system thereof
US10282527B2 (en) Information processing apparatus, information processing method, program, storage medium, and password entry apparatus
CN110737861A (en) webpage data processing method, device, equipment and storage medium
CN110912959B (en) Equipment access method and device, management and control system and electronic equipment
CN110765738A (en) System and method for generating card number and electronic equipment
CN114489603A (en) Code generation method, apparatus, electronic device, medium, and product
CN113672826A (en) Page jump method, device, computer equipment and storage medium
CN111324226B (en) Touch message processing method and device and electronic equipment
CN110908567B (en) Terminal assistant device and method and electronic equipment
CN111200621A (en) Ad hoc network method and device, and electronic device
CN107872381B (en) Prompting method and device
CN111158569A (en) Erasing operation method and device and electronic equipment
CN110895474A (en) Terminal micro-service device and method and electronic equipment
CN110737562A (en) method and system for monitoring process and electronic equipment
KR101612929B1 (en) Method for transmitting current position information when mobile phone is turned the power off

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