CN114610223A - Information input method and device, storage medium and electronic equipment - Google Patents

Information input method and device, storage medium and electronic equipment Download PDF

Info

Publication number
CN114610223A
CN114610223A CN202011403704.5A CN202011403704A CN114610223A CN 114610223 A CN114610223 A CN 114610223A CN 202011403704 A CN202011403704 A CN 202011403704A CN 114610223 A CN114610223 A CN 114610223A
Authority
CN
China
Prior art keywords
sliding
virtual keyboard
function key
key
information
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
CN202011403704.5A
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.)
Yulong Computer Telecommunication Scientific Shenzhen Co Ltd
Original Assignee
Yulong Computer Telecommunication Scientific Shenzhen 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 Yulong Computer Telecommunication Scientific Shenzhen Co Ltd filed Critical Yulong Computer Telecommunication Scientific Shenzhen Co Ltd
Priority to CN202011403704.5A priority Critical patent/CN114610223A/en
Publication of CN114610223A publication Critical patent/CN114610223A/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/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
    • 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
    • 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/0484Interaction techniques based on graphical user interfaces [GUI] for the control of specific functions or operations, e.g. selecting or manipulating an object, an image or a displayed text element, setting a parameter value or selecting a range
    • G06F3/04847Interaction techniques to control parameter settings, e.g. interaction with sliders or dials

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)
  • Input From Keyboards Or The Like (AREA)

Abstract

The embodiment of the application discloses an information input method, an information input device, a storage medium and electronic equipment, which are applied to AR equipment, wherein the AR equipment comprises an infrared device, and the method comprises the following steps: the method comprises the steps of detecting a first sliding instruction input on a first virtual keyboard, displaying the first virtual keyboard in a detection area of an infrared device, obtaining first sliding information corresponding to the first sliding instruction, determining a target function key in the first virtual keyboard based on the first sliding information, and inputting a key value corresponding to the target function key, wherein the first sliding information comprises a first sliding position, a first sliding direction and a first finger number. By adopting the embodiment of the application, accurate information input can be carried out, and the portability of the AR equipment is ensured.

Description

Information input method and device, storage medium and electronic equipment
Technical Field
The present application relates to the field of computer technologies, and in particular, to an information input method, an information input apparatus, a storage medium, and an electronic device.
Background
An Augmented Reality (AR) device is a device capable of displaying a video and superimposing a corresponding image, video, and three-dimensional (3D) model on the video. The existing AR equipment adopts a voice recognition technology to recognize user voice so as to receive information input by a user, but the existing AR equipment cannot accurately recognize the user voice under a noisy use environment so as to accurately receive the information input by the user. The existing AR equipment also receives information input by a user through an external mouse or a touch pad, but the user is inconvenient to input and is not easy to carry when using the external mouse or the touch pad. Therefore, the conventional information input method for the AR device cannot accurately input information without affecting the portability of the AR device.
Disclosure of Invention
The embodiment of the application provides an information input method, an information input device, a storage medium and electronic equipment, which are applied to AR equipment, can perform accurate information input and simultaneously ensure the portability of the AR equipment. The technical scheme is as follows:
in a first aspect, an embodiment of the present application provides an information input method, which is applied to an AR device, where the AR device includes an infrared device, and the method includes:
detecting a first sliding instruction input on a first virtual keyboard, wherein the first virtual keyboard is displayed in a detection area of the infrared device;
acquiring first sliding information corresponding to the first sliding instruction, wherein the first sliding information comprises a first sliding position, a first sliding direction and a first finger number;
and determining a target function key in the first virtual keyboard based on the first sliding information, and inputting a key value corresponding to the target function key.
In a second aspect, an embodiment of the present application provides an information input apparatus, including:
the instruction detection module is used for detecting a first sliding instruction input on a first virtual keyboard, and the first virtual keyboard is displayed in a detection area of the infrared device;
the information acquisition module is used for acquiring first sliding information corresponding to the first sliding instruction, wherein the first sliding information comprises a first sliding position, a first sliding direction and a first finger number;
and the key value input module is used for determining a target function key in the first virtual keyboard based on the first sliding information and inputting a key value corresponding to the target function key.
In a third aspect, embodiments of the present application provide a computer storage medium storing a plurality of instructions adapted to be loaded by a processor and to perform the above-mentioned method steps.
In a fourth aspect, an embodiment of the present application provides an electronic device, which may include: a processor and a memory; wherein the memory stores a computer program adapted to be loaded by the processor and to perform the above-mentioned method steps.
The beneficial effects brought by the technical scheme provided by some embodiments of the application at least comprise:
in one or more embodiments of the present application, an AR device displays a first virtual keyboard in a detection area of an infrared device in the AR device, detects a first sliding instruction input on the first virtual keyboard, acquires first sliding information corresponding to the first sliding instruction, determines a target function key in the first virtual keyboard based on the first sliding information, and inputs a key value corresponding to the target function key, so that accurate information input can be performed, and portability of the AR device is ensured.
Drawings
In order to more clearly illustrate the embodiments of the present application 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 application, and for those skilled in the art, other drawings can be obtained according to the drawings without creative efforts.
Fig. 1 is a schematic flowchart of an information input method provided in an embodiment of the present application;
fig. 2a is an exemplary schematic diagram of a first virtual keyboard according to an embodiment of the present application;
FIG. 2b is a diagram illustrating an example of a first slide command according to an embodiment of the present disclosure;
FIG. 3 is a schematic flow chart diagram of another information input method provided by the embodiments of the present application;
FIG. 4a is a schematic diagram illustrating an example of another first virtual keyboard according to an embodiment of the present application;
FIG. 4b is a schematic diagram illustrating an example of a target function key labeled according to an embodiment of the present application;
fig. 4c is an exemplary diagram of a second virtual keyboard provided in the embodiment of the present application;
FIG. 5 is a schematic flow chart diagram of another information input method provided in the embodiments of the present application;
FIG. 6 is a schematic diagram illustrating an example of a click command provided by an embodiment of the present application;
fig. 7 is a schematic structural diagram of an information input device according to an embodiment of the present application;
fig. 8 is a schematic structural diagram of a key value input module according to an embodiment of the present application;
fig. 9 is a schematic structural diagram of another key value input module according to an embodiment of the present application;
fig. 10 is a schematic structural diagram of an electronic device according to an embodiment of the present application.
Detailed Description
The technical solutions in the embodiments of the present application will be clearly and completely described below with reference to the drawings in the embodiments of the present application, and it is obvious that the described embodiments are only a part 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.
In the description of the present application, it is to be understood that the terms "first," "second," and the like are used for descriptive purposes only and are not to be construed as indicating or implying relative importance. In the description of the present application, it is noted that, unless explicitly stated or limited otherwise, "including" and "having" and any variations thereof, are intended to cover non-exclusive inclusions. For example, a process, method, system, article, or apparatus that comprises a list of steps or elements is not limited to only those steps or elements listed, but may alternatively include other steps or elements not listed, or inherent to such process, method, article, or apparatus. The specific meaning of the above terms in the present application can be understood in a specific case by those of ordinary skill in the art. Further, in the description of the present application, "a plurality" means two or more unless otherwise specified. "and/or" describes the association relationship of the associated objects, meaning that there may be three relationships, e.g., a and/or B, which may mean: a exists alone, A and B exist simultaneously, and B exists alone. The character "/" generally indicates that the former and latter associated objects are in an "or" relationship.
The present application will be described in detail with reference to specific examples.
In one embodiment, as shown in fig. 1, an information input method is specifically proposed, which can be implemented by means of a computer program and can be run on an information input device based on the von neumann architecture. The computer program may be integrated into the application or may run as a separate tool-like application. The information input device may be a device including an AR apparatus.
Specifically, the information input method includes:
s101: and detecting a first sliding instruction input on a first virtual keyboard, wherein the first virtual keyboard is displayed in a detection area of the infrared device.
The execution subject of the present embodiment is an AR apparatus including an infrared device. The infrared device is a device capable of acquiring and applying infrared radiation information, the first virtual keyboard is displayed in a detection area of the infrared device, and a first sliding instruction input on the first virtual keyboard can be detected by acquiring the infrared radiation information at the detection area. The first sliding instruction is an instruction which is detected by the AR device when a user performs a sliding gesture operation when selecting and inputting a function key in the first virtual keyboard.
The first virtual keyboard is that the AR equipment displays a virtual keyboard image on a user interface, and the display position is in the detection area of the infrared device, so that a user can input a first sliding instruction corresponding to a target function key according to the first virtual keyboard.
For example, as shown in fig. 2a, taking AR glasses as an example, an exemplary schematic diagram of a first virtual keyboard, the AR glasses 2 includes an infrared device 21, wherein a first virtual keyboard 23 is displayed on a detection area 22 of the infrared device 21. After wearing the AR glasses 2, the user inputs a first slide instruction on the first virtual keyboard 23.
S102: and acquiring first sliding information corresponding to the first sliding instruction, wherein the first sliding information comprises a first sliding position, a first sliding direction and a first finger number.
Specifically, the first sliding information obtaining process includes: and controlling all the infrared devices to acquire first sliding information corresponding to the first sliding instruction. It should be noted that the infrared devices include at least one, and each infrared device corresponds to each function key of the first virtual keyboard.
The first sliding instruction is input by a user through a sliding gesture, and therefore the first sliding information acquired by the infrared device includes a first sliding position, a first sliding direction and a first number of fingers, wherein the first sliding position is a position where the sliding gesture of the user passes through the detection area. The first sliding direction is a direction of the sliding gesture, and may be a straight line direction from left to right or from top to bottom, or a broken line direction. The first number of fingers is the number of fingers that the user extends in the swipe gesture.
For example, as shown in fig. 2b, an exemplary schematic diagram of a first sliding instruction is shown, where a user stretches two fingers to slide in a zigzag direction to sequentially pass through detection areas corresponding to the "3", "5", "7", "8" and "9" function keys, so as to input the first sliding instruction, at this time, infrared devices corresponding to the "3", "5", "7", "8" and "9" function keys receive infrared radiation information of the respective detection areas, so as to determine first sliding information corresponding to the first sliding instruction, which includes the detection areas corresponding to the function keys with first sliding positions of "3", "5", "7", "8" and "9", where the first sliding direction is a zigzag direction from top right to bottom left and then from left to right, and the number of first fingers is 2.
It should be noted that the sliding information about the number of fingers acquired by the infrared device may be obtained by performing feature extraction on an infrared image after infrared imaging, or may be obtained by determining the number of times of passing through the same area in one sliding gesture, where the number of times is the number of fingers.
S103: and determining a target function key in the first virtual keyboard based on the first sliding information, and inputting a key value corresponding to the target function key.
Specifically, at least one first function key covered by the first sliding position is determined in the first virtual keyboard, a target function key is determined in the at least one first function key according to the first sliding direction, the numerical value corresponding to the number of the first fingers and the arrangement sequence of the first function keys, and a key value corresponding to the target function key is input.
For example, when the first virtual keyboard is a nine-grid keyboard as shown in fig. 2b, the first sliding instruction information is input as follows: the first function keys covered by the first slide position include "2", "5", and "8". The first sliding direction is from the lower part of the function key "8" to the upper part of the function key "2", the arrangement sequence of the first function key in the first virtual keyboard is "2, 5, 8", and the number corresponding to the number of the first finger is 3. Therefore, in the reading order of "8, 5, 2", the 3 rd-order function key is determined as the target function key "2".
In the embodiment of the application, the AR device displays a first virtual keyboard in a detection area of an infrared device in the AR device, detects a first sliding instruction input on the first virtual keyboard, acquires first sliding information corresponding to the first sliding instruction, determines a target function key in the first virtual keyboard based on the first sliding information, and inputs a key value corresponding to the target function key, so that accurate information input can be performed, and the portability of the AR device is ensured.
Referring to fig. 3, fig. 3 is a schematic flow chart of another embodiment of an information input method according to the present application. Specifically, the method comprises the following steps:
s201: and detecting a first sliding instruction input on a first virtual keyboard, wherein the first virtual keyboard is displayed in a detection area of the infrared device.
See S101 for details, which are not described herein.
Optionally, each function key of the first virtual keyboard corresponds to a plurality of key values. For example, as shown in fig. 4a, in an exemplary diagram of a first virtual keyboard, each function key corresponds to a number and also corresponds to a plurality of letters, wherein the function key corresponding to "1" also corresponds to a key value of a separator.
S202: and acquiring first sliding information corresponding to the first sliding instruction, wherein the first sliding information comprises a first sliding position, a first sliding direction and a first finger number.
See S102 for details, which are not described herein.
S203: determining a target function key in the first virtual keyboard based on the first sliding information.
See S103 specifically, and the details are not repeated here.
Optionally, the target function key is marked in the first virtual keyboard according to a preset mode. The preset mode can be a color-changing mark of the target function key, an amplifying mark of the target function key and a suspension mark of the target function key.
For example, as shown in fig. 4b, an exemplary diagram of marking a target function key is shown, and when "7" is determined as the target function key, the target function key corresponding to the mark "7" is enlarged.
S204: and displaying the key values of the target function keys in the form of a second virtual keyboard, wherein the second virtual keyboard is displayed in the detection area, the target function keys comprise at least one key value, and each key value is respectively displayed on each function key of the second virtual keyboard.
Each function key of the second virtual keyboard corresponds to each key value of the target function key, each function key is displayed in a detection area of an infrared device, and each infrared device corresponds to each function key of the first virtual keyboard. It is easily understood that the number of function keys in the second virtual keyboard is smaller than the number of function keys in the first virtual keyboard, and therefore, when the second virtual keyboard is displayed in the detection area, there are cases where a certain number of infrared devices do not display the function keys of the second virtual keyboard, or there are cases where at least two infrared devices correspond to one function key.
For example, as shown in fig. 4C, an exemplary diagram of a second virtual keyboard takes key values corresponding to target function keys as "2", "a", "B", and "C" as an example, and four function keys in the second virtual keyboard respectively correspond to key values of "2", "a", "B", and "C".
S205: and detecting a second sliding instruction input on the second virtual keyboard.
And each function key of the second virtual keyboard is displayed in a detection area of the infrared device, and the infrared device detects a second sliding instruction input on the second virtual keyboard by acquiring infrared radiation information at the detection area. The second sliding instruction is an instruction which is detected by the AR device when the user performs a sliding gesture operation when selecting and inputting the function key in the second virtual keyboard.
S206: and acquiring second sliding information corresponding to the second sliding instruction, wherein the second sliding information comprises a second sliding position, a second sliding direction and a second number of fingers.
Specifically, the second sliding information obtaining process includes: and controlling the infrared devices corresponding to the function keys in the second virtual keyboard to acquire second sliding information corresponding to the second sliding instruction. The second sliding instruction is input by the user through a sliding gesture, and therefore the second sliding information acquired by the infrared device includes a second sliding position, a second sliding direction and a second number of fingers. The process of acquiring the second sliding information is the same as the process of acquiring the first sliding information, which may be referred to as S102 specifically, and is not described herein again.
S207: and determining a target sub-function key in the second virtual keyboard based on the second sliding information, and inputting a target key value corresponding to the target sub-function key.
Specifically, at least one second function key covered by the second sliding position is determined in the second virtual keyboard, a target sub-function key is determined in the at least one second function key according to the second sliding direction, the numerical value corresponding to the number of the second fingers and the arrangement sequence of the second function keys, and a target key value corresponding to the target sub-function key is input.
In the embodiment of the application, the AR device displays a first virtual keyboard in a detection area of an infrared device in the AR device, detects a first sliding instruction input on the first virtual keyboard, acquires first sliding information corresponding to the first sliding instruction, and based on the first sliding information, determining a target function key in the first virtual keyboard and displaying a second virtual keyboard in the detection area, each function key of the second virtual keyboard corresponds to each key value, a second sliding instruction input on the second virtual keyboard is detected, second sliding information corresponding to the second sliding instruction is obtained, and based on the second sliding information, and determining a target sub-function key in the first virtual keyboard, and inputting a target key value corresponding to the target sub-function key, so that accurate information input can be performed, and the portability of the AR equipment is ensured.
Referring to fig. 5, fig. 5 is a schematic flowchart of another embodiment of an information input method according to the present application. Specifically, the method comprises the following steps:
s301: and detecting a first sliding instruction input on a first virtual keyboard, wherein the first virtual keyboard is displayed in a detection area of the infrared device.
See S201 specifically, and the details are not repeated here.
S302: and acquiring first sliding information corresponding to the first sliding instruction, wherein the first sliding information comprises a first sliding position, a first sliding direction and a first finger number.
See S202 specifically, and will not be described herein.
S303: determining a target function key in the first virtual keyboard based on the first sliding information.
See S203 for details, which are not described herein again.
S304: and displaying the key values of the target function keys in the form of a second virtual keyboard, wherein the second virtual keyboard is displayed in the detection area, the target function keys comprise at least one key value, and each key value is respectively displayed on each function key of the second virtual keyboard.
See S204 for details, which are not described herein.
S305: and detecting a click command input on the second virtual keyboard, determining a target key value corresponding to the click command, and inputting the target key value.
The number of the functional keys in the second virtual keyboard is small, and at the moment, the detection area of the infrared device can detect the clicking action of the user without identifying errors. Therefore, the user can accurately input information by clicking the function key.
For example, as shown in fig. 6, in an exemplary schematic diagram of a click command, function keys of the second virtual keyboard are arranged in a row, and a user inputs a target key value "L" by clicking a function key corresponding to "L".
In this embodiment, in this embodiment of the present application, an AR device displays a first virtual keyboard in a detection area of an infrared device in the AR device, detects a first sliding instruction input on the first virtual keyboard, acquires first sliding information corresponding to the first sliding instruction, determines a target function key in the first virtual keyboard based on the first sliding information, and displays a second virtual keyboard in the detection area, where each function key of the second virtual keyboard corresponds to each key value, detects a click instruction input on the second virtual keyboard, determines a target key value corresponding to the click instruction, and inputs the target key value, so that accurate information input can be performed, and portability of the AR device is ensured.
The information input device provided by the embodiment of the present application will be described in detail below with reference to fig. 7. It should be noted that the information input device shown in fig. 7 is used for executing the method of the embodiment shown in fig. 1 to fig. 6 of the present application, and for convenience of description, only the portion related to the embodiment of the present application is shown, and specific technical details are not disclosed, please refer to the embodiment shown in fig. 1 to fig. 6 of the present application.
Please refer to fig. 7, which illustrates a schematic structural diagram of an information input device according to an embodiment of the present application. The information input apparatus 1 may be implemented as all or a part of an AR device by software, hardware, or a combination of both. According to some embodiments, the information input device 1 includes an instruction detection module 11, an information acquisition module 12, and a key value input module 13, and is specifically configured to:
the instruction detection module 11 is configured to detect a first sliding instruction input on a first virtual keyboard, where the first virtual keyboard is displayed in a detection area of the infrared device;
the information obtaining module 12 is configured to obtain first sliding information corresponding to the first sliding instruction, where the first sliding information includes a first sliding position, a first sliding direction, and a first number of fingers;
and a key value input module 13, configured to determine a target function key in the first virtual keyboard based on the first sliding information, and input a key value corresponding to the target function key.
Optionally, the infrared device includes at least one, each infrared device corresponds to each function key of the first virtual keyboard, and the information obtaining module 12 is further configured to:
and controlling all the infrared devices to acquire first sliding information corresponding to the first sliding instruction.
Optionally, as shown in fig. 8, the key-value input module 13 includes:
a key value display unit 131, configured to display key values of the target function keys in a form of a second virtual keyboard, where the second virtual keyboard is displayed in the detection area, the target function keys include at least one key value, and each key value is displayed on each function key of the second virtual keyboard;
a second instruction detecting unit 132, configured to detect a second sliding instruction input on the second virtual keyboard;
a second information obtaining unit 133, configured to obtain second sliding information corresponding to the second sliding instruction, where the second sliding information includes a second sliding position, a second sliding direction, and a second number of fingers;
a target key value input unit 134, configured to determine a target sub-function key in the second virtual keyboard based on the second sliding information, and input a target key value corresponding to the target sub-function key.
Optionally, as shown in fig. 9, the key-value input module 13 includes:
a function key display unit 135, configured to display key values of the target function key in a form of a second virtual keyboard, where the second virtual keyboard is displayed in the detection area, the target function key includes at least one key value, and each key value is respectively displayed on each function key of the second virtual keyboard;
the click instruction detection unit 136 is configured to detect a click instruction input on the second virtual keyboard, determine a target key value corresponding to the click instruction, and input the target key value.
It should be noted that, when the information input apparatus provided in the foregoing embodiment executes the information input method, only the division of the functional modules is illustrated, and in practical applications, the functions may be distributed and completed by different functional modules according to needs, that is, the internal structure of the device may be divided into different functional modules to complete all or part of the functions described above. In addition, the information input device and the information input method provided by the above embodiments belong to the same concept, and the detailed implementation process thereof is referred to as the method embodiment, which is not described herein again.
The above-mentioned serial numbers of the embodiments of the present application are merely for description and do not represent the merits of the embodiments.
In this embodiment, the AR device displays a first virtual keyboard in a detection area of an infrared device in the AR device, detects a first sliding instruction input on the first virtual keyboard, acquires first sliding information corresponding to the first sliding instruction, determines a target function key in the first virtual keyboard based on the first sliding information, and inputs a key value corresponding to the target function key, so that accurate information input can be performed, and portability of the AR device is ensured.
An embodiment of the present application further provides a computer storage medium, where the computer storage medium may store a plurality of instructions, and the instructions are suitable for being loaded by a processor and executing the information input method according to the embodiments shown in fig. 1 to 6, and a specific execution process may refer to specific descriptions of the embodiments shown in fig. 1 to 6, which is not described herein again.
The present application further provides a computer program product, where at least one instruction is stored, and the at least one instruction is loaded by the processor and executes the information input method according to the embodiment shown in fig. 1 to 6, where a specific execution process may refer to specific descriptions of the embodiment shown in fig. 1 to 6, and is not described herein again.
Please refer to fig. 10, which provides a schematic structural diagram of an electronic device according to an embodiment of the present application. As shown in fig. 10, the electronic device 1000 may include: at least one processor 1001, at least one network interface 1004, a user interface 1003, memory 1005, at least one communication bus 1002.
The communication bus 1002 is used to implement connection communication among these components.
The user interface 1003 may include a Display screen (Display) and a Camera (Camera), and the optional user interface 1003 may also include a standard wired interface and a wireless interface.
The network interface 1004 may optionally include a standard wired interface, a wireless interface (e.g., WI-FI interface), among others.
Processor 1001 may include one or more processing cores, among other things. The processor 1001 connects various parts throughout the server 1000 using various interfaces and lines, and performs various functions of the server 1000 and processes data by executing or executing instructions, programs, code sets, or instruction sets stored in the memory 1005, and calling data stored in the memory 1005. Alternatively, the processor 1001 may be implemented in at least one hardware form of Digital Signal Processing (DSP), Field-Programmable Gate Array (FPGA), and Programmable Logic Array (PLA). The processor 1001 may integrate one or more of a Central Processing Unit (CPU), a Graphics Processing Unit (GPU), a modem, and the like. Wherein, the CPU mainly processes an operating system, a user interface, an application program and the like; the GPU is used for rendering and drawing the content required to be displayed by the display screen; the modem is used to handle wireless communications. It is understood that the modem may not be integrated into the processor 1001, but may be implemented by a single chip.
The Memory 1005 may include a Random Access Memory (RAM) or a Read-Only Memory (Read-Only Memory). Optionally, the memory 1005 includes a non-transitory computer-readable medium. The memory 1005 may be used to store an instruction, a program, code, a set of codes, or a set of instructions. The memory 1005 may include a stored program area and a stored data area, wherein the stored program area may store instructions for implementing an operating system, instructions for at least one function (such as a touch function, a sound playing function, an image playing function, etc.), instructions for implementing the various method embodiments described above, and the like; the storage data area may store data and the like referred to in the above respective method embodiments. The memory 1005 may optionally be at least one memory device located remotely from the processor 1001. As shown in fig. 10, a memory 1005, which is a kind of computer storage medium, may include therein an operating system, a network communication module, a user interface module, and an information input application program.
In the electronic device 1000 shown in fig. 10, the user interface 1003 is mainly used as an interface for providing input for a user, and acquiring data input by the user; and the processor 1001 may be configured to call the information input application stored in the memory 1005, and specifically perform the following operations:
detecting a first sliding instruction input on a first virtual keyboard, wherein the first virtual keyboard is displayed in a detection area of the infrared device;
acquiring first sliding information corresponding to the first sliding instruction, wherein the first sliding information comprises a first sliding position, a first sliding direction and a first finger number;
and determining a target function key in the first virtual keyboard based on the first sliding information, and inputting a key value corresponding to the target function key.
In an embodiment, the infrared devices include at least one infrared device, each infrared device corresponds to a function key of the first virtual keyboard, and the processor 1001, when executing the acquiring of the first sliding information corresponding to the first sliding instruction, specifically executes the following operations:
and controlling all the infrared devices to acquire first sliding information corresponding to the first sliding instruction.
In one embodiment, when executing the determining of the target function key in the first virtual keyboard based on the first sliding information, the processor 1001 specifically executes the following operations:
determining at least one first function key covered by the sliding position in the first virtual keyboard;
and determining a target function key in the at least one first function key according to the first sliding direction, the numerical value corresponding to the number of the first fingers and the arrangement sequence of the first function keys.
In an embodiment, when the processor 1001 executes the key value corresponding to the target function key, the following operation is specifically executed:
displaying key values of the target function keys in a form of a second virtual keyboard, wherein the second virtual keyboard is displayed in the detection area, the target function keys comprise at least one key value, and each key value is respectively displayed on each function key of the second virtual keyboard;
detecting a second sliding instruction input on the second virtual keyboard;
acquiring second sliding information corresponding to the second sliding instruction, wherein the second sliding information comprises a second sliding position, a second sliding direction and a second number of fingers;
and determining a target sub-function key in the second virtual keyboard based on the second sliding information, and inputting a target key value corresponding to the target sub-function key.
In an embodiment, when the processor 1001 executes the key value corresponding to the input target function key, the following operation is specifically executed:
displaying key values of the target function keys in a form of a second virtual keyboard, wherein the second virtual keyboard is displayed in the detection area, the target function keys comprise at least one key value, and each key value is respectively displayed on each function key of the second virtual keyboard;
and detecting a click command input on the second virtual keyboard, determining a target key value corresponding to the click command, and inputting the target key value.
In one embodiment, the processor 1001, after executing the determining of the target function key in the first virtual keyboard, further executes the following operations:
marking the target function key in the first virtual keyboard according to a preset mode.
In this embodiment, the AR device displays a first virtual keyboard in a detection area of an infrared device in the AR device, detects a first sliding instruction input on the first virtual keyboard, acquires first sliding information corresponding to the first sliding instruction, determines a target function key in the first virtual keyboard based on the first sliding information, and inputs a key value corresponding to the target function key, so that accurate information input can be performed, and portability of the AR device is ensured.
It will be understood by those skilled in the art that all or part of the processes of the methods of the embodiments described above can be implemented by a computer program, which can be stored in a computer-readable storage medium, and 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 or a random access memory.
The above disclosure is only for the purpose of illustrating the preferred embodiments of the present application and is not to be construed as limiting the scope of the present application, so that the present application is not limited thereto, and all equivalent variations and modifications can be made to the present application.

Claims (10)

1. An information input method is applied to an AR device, the AR device comprises an infrared device, and the method comprises the following steps:
detecting a first sliding instruction input on a first virtual keyboard, wherein the first virtual keyboard is displayed in a detection area of the infrared device;
acquiring first sliding information corresponding to the first sliding instruction, wherein the first sliding information comprises a first sliding position, a first sliding direction and a first finger number;
and determining a target function key in the first virtual keyboard based on the first sliding information, and inputting a key value corresponding to the target function key.
2. The method according to claim 1, wherein the infrared devices include at least one, each infrared device corresponds to a function key of the first virtual keyboard, and the obtaining first sliding information corresponding to the first sliding instruction includes:
and controlling all the infrared devices to acquire first sliding information corresponding to the first sliding instruction.
3. The method of claim 1, wherein determining a target function key in the first virtual keyboard based on the first swipe information comprises:
determining at least one first function key covered by the sliding position in the first virtual keyboard;
and determining a target function key in the at least one first function key according to the first sliding direction, the numerical value corresponding to the number of the first fingers and the arrangement sequence of the first function keys.
4. The method of claim 1, wherein the inputting the key value corresponding to the target function key comprises:
displaying key values of the target function keys in a form of a second virtual keyboard, wherein the second virtual keyboard is displayed in the detection area, the target function keys comprise at least one key value, and each key value is respectively displayed on each function key of the second virtual keyboard;
detecting a second sliding instruction input on the second virtual keyboard;
acquiring second sliding information corresponding to the second sliding instruction, wherein the second sliding information comprises a second sliding position, a second sliding direction and a second number of fingers;
and determining a target sub-function key in the second virtual keyboard based on the second sliding information, and inputting a target key value corresponding to the target sub-function key.
5. The method of claim 1, wherein the inputting the key value corresponding to the target function key comprises:
displaying key values of the target function keys in a form of a second virtual keyboard, wherein the second virtual keyboard is displayed in the detection area, the target function keys comprise at least one key value, and each key value is respectively displayed on each function key of the second virtual keyboard;
and detecting a click command input on the second virtual keyboard, determining a target key value corresponding to the click command, and inputting the target key value.
6. The method of claim 1, wherein after determining the target function key in the first virtual keyboard, further comprising:
marking the target function key in the first virtual keyboard according to a preset mode.
7. An information input apparatus, characterized in that the apparatus comprises:
the instruction detection module is used for detecting a first sliding instruction input on a first virtual keyboard, and the first virtual keyboard is displayed in a detection area of the infrared device;
the information acquisition module is used for acquiring first sliding information corresponding to the first sliding instruction, wherein the first sliding information comprises a first sliding position, a first sliding direction and a first finger number;
and the key value input module is used for determining a target function key in the first virtual keyboard based on the first sliding information and inputting a key value corresponding to the target function key.
8. The information input apparatus of claim 7, wherein the infrared devices comprise at least one, each of the infrared devices corresponds to a function key of the first virtual keyboard, and the information acquisition module is further configured to:
and controlling all the infrared devices to acquire first sliding information corresponding to the first sliding instruction.
9. A computer storage medium, characterized in that it stores a plurality of instructions adapted to be loaded by a processor and to perform the method steps according to any one of claims 1 to 6.
10. An electronic device, comprising: a processor and a memory; wherein the memory stores a computer program adapted to be loaded by the processor and to perform the method steps of any of claims 1 to 6.
CN202011403704.5A 2020-12-04 2020-12-04 Information input method and device, storage medium and electronic equipment Pending CN114610223A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202011403704.5A CN114610223A (en) 2020-12-04 2020-12-04 Information input method and device, storage medium and electronic equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202011403704.5A CN114610223A (en) 2020-12-04 2020-12-04 Information input method and device, storage medium and electronic equipment

Publications (1)

Publication Number Publication Date
CN114610223A true CN114610223A (en) 2022-06-10

Family

ID=81855815

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202011403704.5A Pending CN114610223A (en) 2020-12-04 2020-12-04 Information input method and device, storage medium and electronic equipment

Country Status (1)

Country Link
CN (1) CN114610223A (en)

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102117175A (en) * 2010-09-29 2011-07-06 北京搜狗科技发展有限公司 Method and device for inputting Chinese in sliding way and touch-screen input method system
US20110242138A1 (en) * 2010-03-31 2011-10-06 Tribble Guy L Device, Method, and Graphical User Interface with Concurrent Virtual Keyboards
CN105739672A (en) * 2014-12-09 2016-07-06 深圳富泰宏精密工业有限公司 Projection input system and method
CN106358088A (en) * 2015-07-20 2017-01-25 阿里巴巴集团控股有限公司 Input method and device
CN108932100A (en) * 2017-05-26 2018-12-04 成都理想境界科技有限公司 A kind of operating method and head-mounted display apparatus of dummy keyboard

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20110242138A1 (en) * 2010-03-31 2011-10-06 Tribble Guy L Device, Method, and Graphical User Interface with Concurrent Virtual Keyboards
CN102117175A (en) * 2010-09-29 2011-07-06 北京搜狗科技发展有限公司 Method and device for inputting Chinese in sliding way and touch-screen input method system
CN105739672A (en) * 2014-12-09 2016-07-06 深圳富泰宏精密工业有限公司 Projection input system and method
CN106358088A (en) * 2015-07-20 2017-01-25 阿里巴巴集团控股有限公司 Input method and device
CN108932100A (en) * 2017-05-26 2018-12-04 成都理想境界科技有限公司 A kind of operating method and head-mounted display apparatus of dummy keyboard

Similar Documents

Publication Publication Date Title
US8413075B2 (en) Gesture movies
EP3096207B1 (en) Display control method, data process apparatus, and program
EP3046094A1 (en) Map information display device, map information display method, and map information display program
CN110090444B (en) Game behavior record creating method and device, storage medium and electronic equipment
CN108596955B (en) Image detection method, image detection device and mobile terminal
US10810113B2 (en) Method and apparatus for creating reference images for an automated test of software with a graphical user interface
CN105900056A (en) Hover-sensitive control of secondary display
WO2016011027A1 (en) Method and apparatus of controlling a smart device
CN106462379A (en) Voice-controllable image display device and voice control method for image display device
US20150169134A1 (en) Methods circuits apparatuses systems and associated computer executable code for providing projection based human machine interfaces
CN108228065B (en) Method and device for detecting UI control information and electronic equipment
US20130127867A1 (en) Freestyle drawing supported by stencil edge shapes
US20170255318A1 (en) Performing Actions Responsive to Hovering Over an Input Surface
WO2008004624A1 (en) Handwritten input processing device, handwritten input processing method, and handwritten input processing program
CN111475089A (en) Task display method, device, terminal and storage medium
CN107239202B (en) Control instruction identification method and device
CN111025039A (en) Method, device, equipment and medium for testing accuracy of touch display screen
US10073612B1 (en) Fixed cursor input interface for a computer aided design application executing on a touch screen device
US20150091836A1 (en) Touch control input method and system, computer storage medium
US9235338B1 (en) Pan and zoom gesture detection in a multiple touch display
JP5991538B2 (en) Data processing apparatus, data processing system, and program
EP3373250A1 (en) Method and portable electronic device for changing graphics processing resolution based on scenario
CN114610223A (en) Information input method and device, storage medium and electronic equipment
CN114115631A (en) Graphic processing method, apparatus, device and storage medium
CN114201164A (en) Magnetic attraction method and device for graphical programming module, electronic equipment and medium

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
RJ01 Rejection of invention patent application after publication

Application publication date: 20220610

RJ01 Rejection of invention patent application after publication