CN113448465A - Virtual cursor control method and device, storage medium and electronic equipment - Google Patents

Virtual cursor control method and device, storage medium and electronic equipment Download PDF

Info

Publication number
CN113448465A
CN113448465A CN202110725120.8A CN202110725120A CN113448465A CN 113448465 A CN113448465 A CN 113448465A CN 202110725120 A CN202110725120 A CN 202110725120A CN 113448465 A CN113448465 A CN 113448465A
Authority
CN
China
Prior art keywords
key
character
virtual cursor
virtual
control
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
CN202110725120.8A
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.)
Tencent Technology Shenzhen Co Ltd
Original Assignee
Tencent Technology 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 Tencent Technology Shenzhen Co Ltd filed Critical Tencent Technology Shenzhen Co Ltd
Priority to CN202110725120.8A priority Critical patent/CN113448465A/en
Publication of CN113448465A publication Critical patent/CN113448465A/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/0481Interaction techniques based on graphical user interfaces [GUI] based on specific properties of the displayed interaction object or a metaphor-based environment, e.g. interaction with desktop elements like windows or icons, or assisted by a cursor's changing behaviour or appearance
    • G06F3/04812Interaction techniques based on cursor appearance or behaviour, e.g. being affected by the presence of displayed objects
    • 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
    • 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 method and a device for controlling a virtual cursor, a storage medium and electronic equipment. Wherein, the method comprises; responding to a first control instruction triggered by first equipment, and controlling a first virtual cursor to move in a first key area of a target virtual keyboard; when the first virtual cursor is moved to a first position on a first key area, acquiring a first determination instruction triggered by first equipment, wherein the first determination instruction is used for selecting a first character key corresponding to the first position in the first key area and inputting a first character corresponding to the first character key; and responding to the first determination instruction, selecting a first character key and inputting a first character in the target interface. The invention can be applied to virtual reality or a game scene of a host, and relates to the technologies of virtual keyboard control and the like. The invention solves the technical problem of lower efficiency of inputting characters through the virtual keyboard in the related technology.

Description

Virtual cursor control method and device, storage medium and electronic equipment
Technical Field
The invention relates to the field of computers, in particular to a method and a device for controlling a virtual cursor, a storage medium and electronic equipment.
Background
In the existing host game, a user can complete multiple operations such as keyboard input, cursor movement and the like through a handle.
Taking a virtual keyboard as an example, the input mode of the virtual keyboard is generally that a handle is used to control a virtual cursor to move up, down, left and right, a user pushes a rocker on the handle or presses a direction key on the handle once, and the cursor moves a character key on the virtual keyboard until the cursor moves to a desired character key on the virtual keyboard. However, a large number of character keys are usually configured on the virtual keyboard, and thus when a user wants to press a plurality of character keys at a long distance, the user needs to frequently push the rocker or press the direction key, which wastes time and labor and has low efficiency. That is, the prior art has a technical problem that the efficiency of inputting characters through a virtual keyboard is low.
In view of the above problems, no effective solution has been proposed.
Disclosure of Invention
The embodiment of the invention provides a method and a device for controlling a virtual cursor, a storage medium and electronic equipment, which are used for at least solving the technical problem of low efficiency of inputting characters through a virtual keyboard in the related art.
According to an aspect of an embodiment of the present invention, there is provided a method for controlling a virtual keyboard, including; responding to a first control instruction triggered by a first device, controlling a first virtual cursor to move in a first key area of a target virtual keyboard, wherein the target virtual keyboard at least comprises the first key area corresponding to the first device and a second key area corresponding to a second device, the first device is arranged to control the first virtual cursor to move in the first key area and select a character key in the first key area, and the second device is arranged to control a second virtual cursor to move in the second key area and select a character key in the second key area; when the first virtual cursor is moved to a first position on the first key area, acquiring a first determination instruction triggered by the first device, wherein the first determination instruction is used for selecting a first character key corresponding to the first position in the first key area and inputting a first character corresponding to the first character key; and responding to the first determination instruction, selecting the first character key and inputting the first character in a target interface.
According to another aspect of the embodiments of the present invention, there is also provided a control apparatus of a virtual keyboard, including; a first control unit, configured to control a first virtual cursor to move in a first key area of a target virtual keyboard in response to a first control instruction triggered by a first device, where the target virtual keyboard at least includes the first key area corresponding to the first device and a second key area corresponding to a second device, the first device is configured to control the first virtual cursor to move in the first key area and select a character key in the first key area, and the second device is configured to control a second virtual cursor to move in the second key area and select a character key in the second key area; a first obtaining unit, configured to obtain a first determination instruction triggered by the first device when the first virtual cursor is moved to a first position on the first key region, where the first determination instruction is used to select a first character key in the first key region corresponding to the first position and input a first character corresponding to the first character key; and the first input unit is used for responding to the first determination instruction, selecting the first character key and inputting the first character in a target interface.
As an optional solution, the above apparatus further comprises; a first display unit, configured to display a first virtual cursor located at a first preset position before controlling the first virtual cursor to move in a first key area of a target virtual keyboard, where the first preset position is located in a first preset character key in the first key area; the first control unit described above includes; a first control module, configured to control the first virtual cursor to move from the first preset position in the first key area in response to the first control instruction; the device also comprises; and a second control module, configured to control the first virtual cursor to be displayed at the first preset position when the first control instruction is cancelled or the first character is input in the target interface.
As an optional solution, the above apparatus further comprises; and a third control module, configured to, after controlling the first virtual cursor to be displayed at the first preset position, respond to a third control instruction triggered by the first device, and control the first virtual cursor to start moving from the first preset position in the first key area.
As an alternative, the first display unit includes; a display module, configured to display the first virtual cursor located at the first preset position in the first preset character key, where the first preset character key is located at a middle position in the first key area, or located in a middle row in the first key area.
As an optional solution, the above apparatus further comprises; and the adjusting module is used for adjusting the first preset position from the first preset character key to a third preset character key in the first key area according to a first character set input by the first device, wherein a first moving distance corresponding to the first preset character key is greater than a second moving distance corresponding to the third preset character key, the first moving distance is a distance from the first preset character key to the character key where the first character set is located, and the second moving distance is a distance from the third preset character key to the character key where the first character set is located.
As an optional solution, the above apparatus further comprises; a second control unit, configured to control the second virtual cursor to move in the second key area in response to a second control instruction triggered by the second device; a second obtaining unit, configured to obtain a second determination instruction triggered by the second device when the second virtual cursor is moved to a second position on the second key region, where the second determination instruction is used to select a second character key in the second key region corresponding to the second position and input a second character corresponding to the second character key; and the second input unit is used for responding to the second determination instruction, selecting the second character key and inputting the second character in the target interface.
As an optional solution, the above apparatus further comprises; a second display unit, configured to display a second virtual cursor located at a second preset position before controlling the second virtual cursor to move in a second key area of a target virtual keyboard, where the second preset position is located in a second preset character key in the second key area; the second control unit described above includes; a third control module, configured to control the second virtual cursor to move in the second key area from the second preset position in response to the second control instruction; the device also comprises; and a fourth control module, configured to control the second virtual cursor to be displayed at the second preset position when the second control instruction is cancelled or the second character is input in the target interface.
As an alternative, the first control unit includes; a fifth control module, configured to control the first virtual cursor to move in the first key area in response to the first control instruction triggered by a rocker on a first handle, where the first device is the first handle, a swing direction of the rocker is used to control a moving direction of the first virtual cursor, and a swing amount of the rocker is used to control a moving distance of the first virtual cursor; or a sixth control module, configured to control, in response to the first control instruction triggered by the first touch pad, that the first virtual cursor moves in the first key area, where the first device is the first touch pad, and a touch position on the first touch pad is used to control a position of the first virtual cursor.
As an optional solution, the first obtaining unit includes; a first obtaining module, configured to obtain the first determination instruction triggered by pressing a first physical key on a first handle, where the first device is the first handle; or a second obtaining module, configured to obtain the first determination instruction triggered by a first touch pad being pressed at a first touch position, where the first device is the first touch pad, and the first touch position corresponds to the first position.
As an optional solution, the above apparatus further comprises; the first switching unit is used for responding to a first switching instruction triggered by a second physical key on a first handle, switching the input method corresponding to the target virtual keyboard from a first input method to a second input method, and displaying a character key corresponding to the second input method on the target virtual keyboard, wherein the first device is the first handle; or a second switching unit, configured to switch, in response to a second switching instruction triggered by a third physical key on the first handle, an input state corresponding to the target virtual keyboard from one state in a preset state set to another state, and display a character key corresponding to the another state on the target virtual keyboard, where the first device is the first handle, and the preset state set includes a lower case state, an upper case state, and a locked upper case state; or a third input unit, configured to input a third character in the target virtual keyboard in the target interface in response to a third control instruction triggered by a fourth physical key on the first handle, where the first device is the first handle.
As an optional solution, the above apparatus further comprises; and the third obtaining unit is used for responding to a third switching instruction triggered by a fifth physical key on the first equipment, setting the first equipment to control the second virtual cursor to move in the second key area, and selecting the character key in the second key area.
According to still another aspect of the embodiments of the present invention, there is also provided a computer-readable storage medium in which a computer program is stored, wherein the computer program is configured to execute the control method of the virtual keyboard when running.
According to another aspect of the embodiments of the present invention, there is also provided an electronic device, including a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein the processor executes the control method of the virtual keyboard through the computer program.
In the embodiment of the invention, the target virtual keyboard is divided into a plurality of key areas, and different devices are utilized to control the movement of the virtual cursor in different key areas, so that the virtual cursor moves on the key area with a smaller range.
On the other hand, in the embodiment of the invention, the moving distance of the virtual cursor can be further reduced by moving the virtual cursor from the preset initial position every time, so that the virtual cursor can be moved to the character key to be selected more quickly, and the efficiency of inputting the character is further improved.
In another aspect, in the embodiment of the present invention, the initial position of the virtual cursor may be adjusted according to the input character, so as to further reduce the moving distance of the virtual cursor, and thus, the virtual cursor may be moved to the character key to be selected more quickly, and the efficiency of inputting the character is further improved.
Drawings
The accompanying drawings, which are included to provide a further understanding of the invention and are incorporated in and constitute a part of this application, illustrate embodiment(s) of the invention and together with the description serve to explain the invention without limiting the invention. In the drawings;
FIG. 1 is a schematic diagram of an application environment of an alternative method for controlling a virtual keyboard according to an embodiment of the invention;
FIG. 2 is a schematic diagram illustrating a flow of an alternative control method for a virtual keyboard according to an embodiment of the present invention;
FIG. 3 is a diagram illustrating an alternative method for controlling a virtual keyboard, according to an embodiment of the present invention;
FIG. 4 is a schematic diagram of an alternative method for controlling a virtual keyboard according to an embodiment of the present invention;
FIG. 5 is a schematic diagram of an alternative method for controlling a virtual keyboard according to an embodiment of the invention;
FIG. 6 is a schematic diagram of an alternative method for controlling a virtual keyboard according to an embodiment of the invention;
FIG. 7 is a diagram illustrating an alternative method of controlling a virtual keyboard, according to an embodiment of the present invention;
FIG. 8 is a schematic diagram of an alternative method of controlling a virtual keyboard in accordance with embodiments of the present invention;
FIG. 9 is a schematic diagram of an alternative method of controlling a virtual keyboard in accordance with embodiments of the present invention;
FIG. 10 is a schematic diagram of an alternative method of controlling a virtual keyboard in accordance with embodiments of the present invention;
FIG. 11 is a schematic diagram of an alternative method of controlling a virtual keyboard in accordance with embodiments of the present invention;
FIG. 12 is a diagram illustrating an alternative method of controlling a virtual keyboard, according to an embodiment of the present invention;
FIG. 13 is a schematic diagram of an alternative method of controlling a virtual keyboard in accordance with embodiments of the present invention;
FIG. 14 is a schematic diagram of an alternative method of controlling a virtual keyboard in accordance with embodiments of the present invention;
FIG. 15 is a schematic diagram of an alternative method of controlling a virtual keyboard in accordance with embodiments of the present invention;
FIG. 16 is a schematic diagram of an alternative method of controlling a virtual keyboard in accordance with embodiments of the present invention;
FIG. 17 is a schematic diagram of an alternative method of controlling a virtual keyboard in accordance with embodiments of the present invention;
FIG. 18 is a schematic diagram of an alternative method of controlling a virtual keyboard in accordance with embodiments of the present invention;
FIG. 19 is a schematic diagram of an alternative method of controlling a virtual keyboard in accordance with embodiments of the present invention;
FIG. 20 is a schematic diagram of an alternative method of controlling a virtual keyboard in accordance with embodiments of the present invention;
FIG. 21 is a schematic diagram of an alternative method of controlling a virtual keyboard in accordance with embodiments of the present invention;
FIG. 22 is a schematic diagram of an alternative method of controlling a virtual keyboard in accordance with embodiments of the present invention;
FIG. 23 is a schematic diagram of an alternative method of controlling a virtual keyboard in accordance with embodiments of the present invention;
FIG. 24 is a schematic diagram of an alternative method of controlling a virtual keyboard in accordance with embodiments of the present invention;
FIG. 25 is a schematic diagram of an alternative method of controlling a virtual keyboard in accordance with embodiments of the present invention;
FIG. 26 is a schematic diagram of an alternative control device for a virtual keyboard, according to an embodiment of the present invention;
fig. 27 is a schematic structural diagram of an alternative electronic device according to an embodiment of the invention.
Detailed Description
In order to make the technical solutions of the present invention better understood, the technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the drawings in the embodiments of the present invention, and it is obvious that the described embodiments are only a part of the embodiments of the present invention, 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 invention.
It should be noted that the terms "first," "second," and the like in the description and claims of the present invention and in the drawings described above are used for distinguishing between similar elements and not necessarily for describing a particular sequential or chronological order. It is to be understood that the data so used is interchangeable under appropriate circumstances such that the embodiments of the invention described herein are capable of operation in sequences other than those illustrated or described herein. Furthermore, the terms "comprises," "comprising," and "having," and any variations thereof, are intended to cover a non-exclusive inclusion, such that a process, method, system, article, or apparatus that comprises a list of steps or elements is not necessarily limited to those steps or elements expressly listed, but may include other steps or elements not expressly listed or inherent to such process, method, article, or apparatus.
According to an aspect of the embodiments of the present invention, a control method of a virtual keyboard is provided, and optionally, as an optional implementation manner, the control method of a virtual keyboard may be applied, but not limited, to an environment as shown in fig. 1. The system may include, but is not limited to, a user equipment 102, a network 110, and a server 112, wherein the user equipment 102 may include, but is not limited to, a display 108, a processor 106, and a memory 104; further, the user device 102 may include, but is not limited to, a handle (the first device 1022, the second device 1024) and a host, wherein a communication relationship may be established, but is not limited to, between the handle and the host, and the handle may control the host through the communication relationship.
The specific process can comprise the following steps;
step S102, the user equipment 102 obtains a control instruction triggered on the first device 1022/the second device 1024, where the control instruction is used to instruct to select an input character in the target virtual keyboard 1026 displayed on the host;
step S104-S106, the user equipment 102 sends a control instruction to the server 112 through the network 110;
step S108, the server 112 processes the control command through the processing engine 116, so as to generate an input character corresponding to the control command;
steps S110-S112, the server 112 sends the input characters to the user device 102 via the network 110, and the processor 106 in the user device 102 displays the input characters on the display 108, e.g., on the target interface 1028 of the host, and stores the input characters in the memory 104.
Optionally, as an optional implementation manner, as shown in fig. 2, the control method of the virtual keyboard includes;
s202, in response to a first control instruction triggered by first equipment, controlling a first virtual cursor to move in a first key area of a target virtual keyboard, wherein the target virtual keyboard at least comprises a first key area corresponding to the first equipment and a second key area corresponding to second equipment, the first equipment is set to control the first virtual cursor to move in the first key area and select character keys in the first key area, the second equipment is set to control the second virtual cursor to move in the second key area and select character keys in the second key area;
s204, when the first virtual cursor is moved to a first position on the first key area, acquiring a first determining instruction triggered by the first device, wherein the first determining instruction is used for selecting a first character key corresponding to the first position in the first key area and inputting a first character corresponding to the first character key;
s206, responding to the first determination instruction, selecting the first character key and inputting the first character in the target interface.
Optionally, in this embodiment, the control method of the Virtual cursor may be but not limited to be applied in a Virtual Reality (VR) or a game scene of a host, specifically, for example, in a VR or host game or a program, a Virtual keyboard is divided into a left area and a right area, a Virtual cursor is respectively located in the center of each area, and each area corresponds to a left handle and a right handle with a joystick or a handle with a touch pad; and then, the virtual cursors in the virtual keyboard regions on different sides are respectively controlled by using different handles, and when a user presses a trigger of the handle, characters corresponding to the character keys where the current virtual cursors are located can be input.
Optionally, in this embodiment, the first device/the second device may be, but is not limited to, an external device that sees a control instruction generated, such as a handle, a bracelet, a remote controller, and the like;
further taking a bracelet as an example, the handle detects downward shaking operation performed by a user through the gyroscope, and then triggers a first control instruction based on the downward shaking operation; responding to a first control instruction, and controlling a first virtual cursor to move in a first key area of the target virtual keyboard; when the first virtual cursor is moved to a first position on the first key area, a selection operation executed by a user is detected on a touch screen of the handle, and a first determination instruction is triggered based on the selection operation; and responding to the first determination instruction, selecting a first character key and inputting a first character in the target interface.
Optionally, in this embodiment, the manner of triggering various instructions on the first device/the second device may be, but is not limited to, different, and the handle is taken as an example, and usually a plurality of physical keys such as a rocker, an a key, a B key, and a trigger are configured on the handle, so that the control instruction for controlling the cursor movement may be, but is not limited to, triggered by the rocker, the selection instruction for determining the selected character may be, but is not limited to, triggered by the trigger, an input instruction for directly inputting a specific character (for example, an input character "a" corresponding to the a key, an input character "B" corresponding to the B key, and the like) may be, but is not limited to, triggered by the a key/B key, and an execution instruction for executing some specific operations (for example, an operation "delete" corresponding to the a key, an operation "exit" corresponding to the B key, and the like) may also be, but not limited to, triggered by the a key/B key.
Optionally, in this embodiment, the character keys in the first key area may be, but are not limited to be, different from the second key area, and each character key may be, but is not limited to correspond to at least one character, for example, character key "1" corresponds to character "1", but in other input modes, character key "1" may also be, but is not limited to correspond to character "! ".
Optionally, in this embodiment, the key type of the character key in the first key area may be, but is not limited to be, different from that of the second key area, for example, the key type of the character key in the first key area is a number type, and the key type of the character key in the second key area is an alphabet type; in addition, the target virtual keyboard includes at least a first key region corresponding to the first device and a second key region corresponding to the second device, and may further include, but is not limited to, a third key region corresponding to a third device. Based on this, the key type of the character key in the third key area may also be, but not limited to, different from the key types of the character keys in the first key area and the second key area, for example, the key type of the character key in the third key area is a symbol type.
Optionally, in this embodiment, the target interface may be, but is not limited to, displayed in a target display screen, where the target display screen may be, but is not limited to, configured on the first device/the second device, and may also be, but is not limited to, configured on a target device that establishes a communication connection (such as a wired/wireless connection) with the first device/the second device;
for further example, optionally, for example, the first device/the second device are mutually matched handle devices, and it is assumed that the first device is a left handle and the second device is a right handle; then, assuming that the handle device and the host device have established communication connection, the virtual game running on the host device (target device) can be controlled by the handle device, and the running process of the virtual game and the control result of the handle device are displayed on the display screen (target display screen) of the host device.
It should be noted that, a plurality of character keys on the target virtual keyboard are divided in a key area form, and a plurality of devices are used to perform targeted control on the character keys in different key areas, and compared with controlling a virtual cursor to move on the target virtual keyboard, controlling the virtual cursor to move on a key area with a smaller range can save the operation amount required to be executed by the device, thereby improving the control efficiency of the virtual cursor;
moreover, the virtual cursor is controlled to move by utilizing a mode of higher control efficiency on the virtual cursor, so that the virtual cursor can be moved to a character key to be selected more quickly, and further the selection efficiency of the character key is improved;
in addition, the selection operations of each device on the key characters are not interfered with each other, and the characters corresponding to the character keys selected by the multiple devices respectively are collected and input in the target interface, so that the character input efficiency is improved by utilizing the mode that the multiple devices execute parallel control on the virtual keyboard;
therefore, the control method of the virtual keyboard improves the control efficiency of the virtual cursor in the process of controlling the virtual keyboard, improves the selection efficiency of the character keys in the process of controlling the virtual keyboard, improves the character input efficiency in the process of controlling the virtual keyboard, and naturally improves the overall control efficiency of the virtual keyboard on the basis of improving the control efficiency of the virtual cursor, the selection efficiency of the character keys and the character input efficiency. Namely, the control method of the virtual keyboard also improves the overall control efficiency of the virtual keyboard.
By way of further example, optionally as shown in fig. 3, in response to a first control instruction triggered by a first device 310, controlling a first virtual cursor 308-1 to move in a first key region 304 of a target virtual keyboard 302, where the target virtual keyboard 302 includes the first key region 304 corresponding to the first device 310 and a second key region 302 corresponding to a second device 312, the first device 310 is configured to control the first virtual cursor 308-1 to move in the first key region 304 and select a character key in the first key region 304, and the second device 312 is configured to control the second virtual cursor 308-2 to move in the second key region 306 and select a character key in the second key region 306; when the first virtual cursor 308-1 is moved to a first position on the first key area 304, acquiring a first determination instruction triggered by the first device 310, where the first determination instruction is used to select a first character key (e.g., character key "a") corresponding to the first position in the first key area 304 and input a first character (e.g., character "a") corresponding to the first character key; in response to the first determination instruction, the first character button is selected and the first character is input in the target interface 314.
By the embodiment provided by the application, in response to a first control instruction triggered by a first device, a first virtual cursor is controlled to move in a first key area of a target virtual keyboard, wherein the target virtual keyboard at least comprises the first key area corresponding to the first device and a second key area corresponding to a second device, the first device is set to control the first virtual cursor to move in the first key area and select a character key in the first key area, the second device is set to control the second virtual cursor to move in the second key area and select a character key in the second key area; when the first virtual cursor is moved to a first position on a first key area, acquiring a first determination instruction triggered by first equipment, wherein the first determination instruction is used for selecting a first character key corresponding to the first position in the first key area and inputting a first character corresponding to the first character key; and responding to the first determination instruction, selecting the first character key, inputting the first character in the target interface, and utilizing a plurality of devices to perform a region division management and control mode on the character key in the virtual keyboard, so that the purposes of improving the control efficiency of the virtual cursor, the selection efficiency of the character key and the character input efficiency are achieved, and the technical effect of improving the control efficiency of the virtual keyboard is realized.
As an optional scheme, before controlling the first virtual cursor to move in the first key area of the target virtual keyboard, the method further comprises; displaying a first virtual cursor positioned on a first preset position, wherein the first preset position is positioned in a first preset character key in a first key area;
responding to a first control instruction triggered by first equipment, and controlling a first virtual cursor to move in a first key area of a target virtual keyboard; responding to a first control instruction, and controlling a first virtual cursor to move in a first key area from a first preset position;
the method further comprises; and controlling the first virtual cursor to be displayed at the first preset position when the first control instruction is cancelled or the first character is input in the target interface.
Optionally, in this embodiment, each time the virtual cursor is moved from the preset starting position, the moving distance of the virtual cursor may be further reduced, so that the virtual cursor may be moved to the character key to be selected more quickly, and the efficiency of inputting characters is further improved.
For further example, optionally based on the scenario shown in fig. 3, as shown in fig. 4, a first virtual cursor 402 located at a first preset position is displayed, where the first preset position is located in a first preset character key (character key "d") in the first key area, as shown in (a) in fig. 4;
as further shown in fig. 4 (b), in response to the first control instruction, the first virtual cursor 402 is controlled to move in the first key region 304 from the first preset position, assuming that the position of the character key "s" is moved; as further shown in fig. 4 (c), in the case where the first control instruction is cancelled, the first virtual cursor 402 is controlled to be displayed at a first preset position, i.e., at a position where the character key "d" is located.
Optionally, in this embodiment, the second virtual cursor 404 may be, but is not limited to, the same as the first virtual cursor 402, that is, each time the virtual cursor is moved from the preset starting position, the virtual cursor is reset at the starting position in the case of no operation or character selection after the movement;
for further example, based on the scenario shown in fig. 3, for example, as shown in fig. 5, first as shown in (a) of fig. 5, the second virtual cursor 404 is currently located at the position of the character key "k"; further, in a case where the second device 312 also triggers a control instruction, in response to the control instruction, the position of the second virtual cursor 404 is moved to the position of the character key "l", as shown in fig. 5 (b); in addition, assuming that there is no operation currently, as shown in fig. 5, the position of the second virtual cursor 404 is restored to the position of the character key "k".
Optionally, in this embodiment, the second virtual cursor 404 may also, but is not limited to, keep the current position of the virtual cursor unchanged under the condition of no operation or selected character after moving, for example, the display logic of the first virtual cursor 402 is inconsistent;
for further example, based on the scenario shown in fig. 3, for example, as shown in fig. 6, first as shown in (a) of fig. 6, the second virtual cursor 404 is currently located at the position of the character key "k"; further, in a case where the second device 312 also triggers a control instruction, in response to the control instruction, the position of the second virtual cursor 404 is moved to the position of the character key "l", as shown in (b) of fig. 6; further, assuming that there is no operation currently, the position of the second virtual cursor 404 is maintained as the position of the character key "l", as shown in fig. 6.
By the embodiment provided by the application, before controlling the first virtual cursor to move in the first key area of the target virtual keyboard, the method further comprises; displaying a first virtual cursor positioned on a first preset position, wherein the first preset position is positioned in a first preset character key in a first key area; responding to a first control instruction triggered by first equipment, and controlling a first virtual cursor to move in a first key area of a target virtual keyboard; responding to a first control instruction, and controlling a first virtual cursor to move in a first key area from a first preset position; the method further comprises; when the first control instruction is cancelled or the first character is input in the target interface, the first virtual cursor is controlled to be displayed at the first preset position, the purpose of quickly moving to the character key to be selected is achieved, and the effect of improving the character input efficiency is achieved.
As an alternative, the method further comprises;
after the first virtual cursor is controlled to be displayed at the first preset position, the first virtual cursor is controlled to move in the first key area from the first preset position in response to a third control instruction triggered by the first device.
Optionally, in this embodiment, after controlling the first virtual cursor to be displayed at the first preset position, no matter how the first virtual cursor is controlled to move, after the movement is finished, the first virtual cursor is displayed at the first preset position in a reset manner.
Optionally, in this embodiment, the point that the first virtual cursor displays the reset at the first preset position and the first preset position may be, but is not limited to, fixed, but the first preset position may be, but is not limited to, flexibly adjusted, for example, the first preset position is set as a preset starting position of a target account bound to the first device/the second device; for example, the first preset position is an initial position determined in real time according to the historical character input operation executed by the target account number (for example, the distribution information of the input characters is determined according to the historical character input operation, and the position which is most beneficial to the execution of the input operation is determined based on the distribution information).
As an alternative, displaying a first virtual cursor located at a first preset position, including;
and displaying a first virtual cursor positioned at a first preset position in the first preset character key, wherein the first preset character key is positioned at the central position in the first key area, or positioned on a middle row in the first key area.
Optionally, in this embodiment, the central position, the middle row or the middle column may be, but is not limited to be, a position range understood as one or more blocks, where in the case of no character key in the position range, a character key closest to the position range is determined as the first preset character key; under the condition that one character key is included in the position range, determining the character key as a first preset character key; under the condition that at least two character keys are included in the position range, determining a first preset character key in the at least two character keys according to a preset condition, wherein the preset condition can be but is not limited to include at least one of the following conditions; last input character, historical input operation of a target account number associated with the first device/second device, and confidence level of corresponding characters of each character key (for predicting possibility of the currently input character).
For further example, the optional first preset character key is located in the middle row in the first key area, for example, as shown in fig. 7, a plurality of character keys located in the middle row of the first key area 702 are obtained, such as character key "a", character key "s", character key "d", character key "f", and character key "g";
for further example, optionally based on the scenario shown in fig. 7, a first preset character key is located in a middle column of the first key area, for example, as shown in fig. 8, a plurality of character keys, such as a character key "e", a character key "d", and a character key "k", located in the middle column of the first key area 702 are obtained;
for further example, optionally based on the scenario shown in fig. 7, a first preset character key is located in a middle position in the first key area, for example, as shown in fig. 7, an area center (which may be a range or a point) located in the first key area 702 is obtained, and if there is no character key located in the range or coinciding with the point, a character key closest to the area center is determined as a first preset case, such as character key "d".
Through the embodiment provided by the application, the first virtual cursor located at the first preset position in the first preset character key is displayed, wherein the first preset character key is located at the middle position in the first key area, or located on one line in the middle of the first key area, so that the purpose of reducing the moving distance of the virtual cursor is achieved, and the effect of improving the character input efficiency is achieved.
As an alternative, the method further comprises;
according to a first character set input by the first equipment, a first preset position is adjusted from a first preset character key to a third preset character key in a first key area, wherein a first moving distance corresponding to the first preset character key is larger than a second moving distance corresponding to the third preset character key, the first moving distance is a distance from the first preset character key to the character key where the first character set is located, and the second moving distance is a distance from the third preset character key to the character key where the first character set is located.
Optionally, in this embodiment, the initial position of the virtual cursor is adjusted according to the input character, so that the moving distance of the virtual cursor can be further reduced, the character key to be selected can be moved more quickly, and the efficiency of inputting the character is further improved.
By way of further example, optionally based on the scenario shown in fig. 4, continuing as shown in fig. 10, displaying a first virtual cursor 402 located at a first preset position, where the first preset position is located in a first preset character key (character key "d") in the first key area, as shown in (a) in fig. 10;
as further shown in fig. 10 (b), in response to the first control instruction, the first virtual cursor 402 is controlled to move in the first key region 304 from the first preset position, assuming that the position of the character key "a" is moved; as further shown in fig. 10 (c), in the case where the first control instruction is cancelled, the first virtual cursor 402 is controlled to be displayed at the first preset position where the adjustment has occurred, that is, at the position where the character key "s" is located.
According to the embodiment provided by the application, the first preset position is adjusted from the first preset character key to the third preset character key in the first key area according to the first character set input by the first device, wherein the first moving distance corresponding to the first preset character key is larger than the second moving distance corresponding to the third preset character key, the first moving distance is the distance from the first preset character key to the character key where the first character set is located, and the second moving distance is the distance from the third preset character key to the character key where the first character set is located.
As an alternative, the method further comprises;
s1, responding to a second control instruction triggered by a second device, and controlling a second virtual cursor to move in a second key area;
s2, when the second virtual cursor is moved to a second position on the second key area, acquiring a second determination instruction triggered by the second device, wherein the second determination instruction is used for selecting a second character key corresponding to the second position in the second key area and inputting a second character corresponding to the second character key;
and S3, responding to the second determination instruction, selecting the second character key and inputting a second character in the target interface.
Alternatively, in the present embodiment,
it should be noted that, in response to a second control instruction triggered by the second device, the second virtual cursor is controlled to move in the second key area; when the second virtual cursor is moved to a second position on the second key area, a second determination instruction triggered by the second device is obtained, wherein the second determination instruction is used for selecting a second character key corresponding to the second position in the second key area and inputting a second character corresponding to the second character key; and responding to the second determination instruction, selecting a second character key and inputting a second character in the target interface.
To further illustrate, optionally based on the scenario shown in fig. 3, for example, as shown in fig. 11, in response to a second control instruction triggered by the second device 312, the second virtual cursor 308-2 is controlled to move in the second key region 306 of the target virtual keyboard 302; when the second virtual cursor 308-2 is moved to a second position on the second key region 306, acquiring a second determination instruction triggered by the second device 312, where the second determination instruction is used to select a second character key (e.g., character key "l") corresponding to the second position in the second key region 306, and input a second character (e.g., character "l") corresponding to the second character key; in response to the second determination instruction, the second character button is selected and a second character is input in the target interface 314.
For further example, optionally based on the scenario shown in fig. 3, for example, as shown in fig. 12, first as shown in (a) in fig. 12, in response to a first control instruction triggered by the first device 310 and a first determination instruction, a first character "a" corresponding to the character key "a" where the first virtual cursor 308-1 is located is input in the target interface 314; as shown in fig. 12 (b), in response to a second control instruction triggered by the second device 312 and a second determination instruction, a second character "l" corresponding to the character key "l" where the second virtual cursor 308-2 is located is input in the target interface 314. Further, as shown in FIG. 12, the first virtual cursor 302-1 remains at the location of the character key "a" after the operation of the first device 310 is completed.
According to the embodiment provided by the application, a second control instruction triggered by second equipment is responded, and a second virtual cursor is controlled to move in a second key area; when the second virtual cursor is moved to a second position on the second key area, a second determination instruction triggered by the second device is obtained, wherein the second determination instruction is used for selecting a second character key corresponding to the second position in the second key area and inputting a second character corresponding to the second character key; and responding to the second determination instruction, selecting the second character key and inputting the second character in the target interface, so that the aims of improving the control efficiency of the virtual cursor, the selection efficiency of the character key and the character input efficiency are fulfilled, and the technical effect of improving the control efficiency of the virtual keyboard is realized.
As an optional scheme, before controlling the second virtual cursor to move in the second key area of the target virtual keyboard, the method further comprises; displaying a second virtual cursor positioned on a second preset position, wherein the second preset position is positioned in a second preset character key in a second key area;
responding to a second control instruction triggered by second equipment, and controlling a second virtual cursor to move in a second key area of the target virtual keyboard; responding to a second control instruction, and controlling a second virtual cursor to start to move in a second key area from a second preset position;
the method further comprises; and controlling a second virtual cursor to be displayed at a second preset position under the condition that the second control instruction is cancelled or a second character is input in the target interface.
Optionally, in this embodiment, the control logic of the second device and the control logic of the first device may be, but not limited to, identical or opposite, and reference may be made specifically to the related description of the first device, which is not redundantly set here.
By the embodiment provided by the application, before controlling the second virtual cursor to move in the second key area of the target virtual keyboard, the method further comprises; displaying a second virtual cursor positioned on a second preset position, wherein the second preset position is positioned in a second preset character key in a second key area; responding to a second control instruction triggered by second equipment, and controlling a second virtual cursor to move in a second key area of the target virtual keyboard; responding to a second control instruction, and controlling a second virtual cursor to start to move in a second key area from a second preset position; the method further comprises; and when the second control instruction is cancelled or a second character is input in the target interface, controlling a second virtual cursor to be displayed at a second preset position, so that the aim of reducing the moving distance of the virtual cursor is fulfilled, and the effect of improving the character input efficiency is realized.
As an optional scheme, in response to a first control instruction triggered by a first device, controlling a first virtual cursor to move in a first key area of a target virtual keyboard, including;
s1, controlling a first virtual cursor to move in a first key area in response to a first control instruction triggered by a rocker on a first handle, wherein the first device is the first handle, the swinging direction of the rocker is used for controlling the moving direction of the first virtual cursor, and the swinging amount of the rocker is used for controlling the moving distance of the first virtual cursor; or
And S2, in response to a first control instruction triggered by the first touch pad, controlling the first virtual cursor to move in the first key area, wherein the first device is the first touch pad, and the touch position on the first touch pad is used for controlling the position of the first virtual cursor.
Optionally, in this embodiment, the first handle may be, but is not limited to, a joystick-type handle device, and the first touchpad may be, but is not limited to, a touch-type handle device.
For further example, as shown in fig. 13, optionally, a rocker and a trigger are configured on the first handle 1302, where the rocker is used to trigger the first control instruction, the trigger may be, but is not limited to be, used to trigger the first determination instruction, a specific swing direction of the rocker is used to control a moving direction of the first virtual cursor, and a swing amount of the rocker is used to control a moving distance of the first virtual cursor.
For further example, optionally, as shown in fig. 14, a touch panel is configured on the first touch panel device 1402, where the touch panel is used to trigger the first control instruction and the first determination instruction, and a specific touch panel is used to control the position of the first virtual cursor, and when a touch operation is detected on the touch panel, the touch panel is regarded as triggering the first determination instruction.
It should be noted that the first handle and the first touchpad are related contents described while standing on the first device side, and the second device corresponds to the second handle and the second touchpad in the same way, and since the logic may be, but is not limited to, identical or opposite, the description is not repeated here.
According to the embodiment provided by the application, a first control instruction triggered by a rocker on a first handle is responded, and a first virtual cursor is controlled to move in a first key area, wherein the first equipment is the first handle, the swinging direction of the rocker is used for controlling the moving direction of the first virtual cursor, and the swinging amount of the rocker is used for controlling the moving distance of the first virtual cursor; or in response to a first control instruction triggered by the first touch pad, controlling the first virtual cursor to move in the first key area, wherein the first device is the first touch pad, and the touch position on the first touch pad is used for controlling the position of the first virtual cursor, so that the purpose of flexibly completing the control of the virtual cursor in multiple ways is achieved, and the effect of improving the control flexibility of the virtual cursor is achieved.
As an optional scheme, acquiring a first determination instruction triggered by a first device includes;
s1, acquiring a first determining instruction triggered by pressing a first physical key on a first handle, wherein the first equipment is the first handle; or
And S2, acquiring a first determination instruction triggered by the first touch pad being pressed at a first touch position, wherein the first device is the first touch pad, and the first touch position corresponds to the first position.
For further example, as shown in fig. 13, optionally, a rocker and a trigger (a first physical key) are configured on the first handle 1302, where the rocker is used to trigger the first control instruction, the trigger may be, but is not limited to be, used to trigger the first determination instruction, a specific swing direction of the rocker is used to control a moving direction of the first virtual cursor, and a swing amount of the rocker is used to control a moving distance of the first virtual cursor.
For further example, optionally, as shown in fig. 14, a touch panel is configured on the first touch panel device 1402, where the touch panel is used to trigger the first control instruction and the first determination instruction, and a specific touch panel is used to control the position of the first virtual cursor, and when a touch operation is detected on the touch panel, the touch panel is regarded as triggering the first determination instruction.
It should be noted that the first handle, the first physical key) and the first touchpad are related contents described while standing on the first device side, and the second device corresponds to the second handle and the first physical key) and the second touchpad, and since the logic may be, but is not limited to, identical or opposite, the description is not repeated herein.
According to the embodiment provided by the application, a first determining instruction triggered by pressing a first physical key on a first handle is obtained, wherein the first equipment is the first handle; or acquiring a first determining instruction triggered by the first touch pad being pressed down at a first touch position, wherein the first device is the first touch pad, and the first touch position corresponds to the first position, so that the purpose of flexibly completing the control of the virtual cursor in multiple ways is achieved, and the effect of improving the control flexibility of the virtual cursor is realized.
As an alternative, the method further comprises;
s1, responding to a first switching instruction triggered by a second physical key on a first handle, switching an input method corresponding to a target virtual keyboard from a first input method to a second input method, and displaying a character key corresponding to the second input method on the target virtual keyboard, wherein the first device is the first handle; or
S2, responding to a second switching instruction triggered by a third physical key on the first handle, switching the input state corresponding to the target virtual keyboard from one state to another state in a preset state set, and displaying a character key corresponding to the another state on the target virtual keyboard, wherein the first device is the first handle, and the preset state set comprises a lower case state, an upper case state and a locking upper case state; or
And S3, responding to a third control instruction triggered by a fourth physical key on the first handle, and inputting a third character in the target virtual keyboard in the target interface, wherein the first device is the first handle.
Optionally, in this embodiment, the same character key may have different corresponding input characters in different input methods or states, for example, the character key "a" may have "a" in a lower case state, the character "a" in an upper case/locked upper case state, the character "a" in a lower case state, the character "a" in a chinese input method further includes a text box associated with pinyin "a", and the character "a" in an english input method.
Optionally, in this embodiment, a plurality of physical keys may be set on the first handle in a preset manner, but not limited to, to trigger corresponding to different control instructions, so as to improve the operation convenience of the handle.
It should be noted that, in response to a first switching instruction triggered by a second physical key on the first handle, the input method corresponding to the target virtual keyboard is switched from the first input method to the second input method, and a character key corresponding to the second input method is displayed on the target virtual keyboard, where the first device is the first handle; or responding to a second switching instruction triggered by a third physical key on the first handle, switching the input state corresponding to the target virtual keyboard from one state to another state in a preset state set, and displaying a character key corresponding to the other state on the target virtual keyboard, wherein the first device is the first handle, and the preset state set comprises a lower case state, an upper case state and a locking upper case state; or responding to a third control instruction triggered by a fourth physical key on the first handle, and inputting a third character in the target virtual keyboard in the target interface, wherein the first device is the first handle.
According to the embodiment provided by the application, in response to a first switching instruction triggered by a second physical key on a first handle, an input method corresponding to a target virtual keyboard is switched from a first input method to a second input method, and a character key corresponding to the second input method is displayed on the target virtual keyboard, wherein the first device is the first handle; or responding to a second switching instruction triggered by a third physical key on the first handle, switching the input state corresponding to the target virtual keyboard from one state to another state in a preset state set, and displaying a character key corresponding to the other state on the target virtual keyboard, wherein the first device is the first handle, and the preset state set comprises a lower case state, an upper case state and a locking upper case state; or responding to a third control instruction triggered by a fourth physical key on the first handle, and inputting a third character in the target virtual keyboard in the target interface, wherein the first device is the first handle, so that the purpose of improving the operation convenience of the device is achieved, and the effect of improving the character input efficiency is realized.
As an alternative, the method further comprises;
responding to a third switching instruction triggered by a fifth physical key on the first equipment, setting the first equipment to control the second virtual cursor to move in the second key area, and selecting a character key in the second key area.
Optionally, in this embodiment, although it is considered that the operation efficiency may be improved by a manner of controlling the virtual keyboard through multiple devices, if one or more devices are lost among the multiple devices and only one device is left, a manner of configuring the physical key as a trigger key of the third switching instruction in advance is also needed, so that even if only one device is left, the trigger function of only the remaining key on the other device can be switched to the trigger function of the key on the other device through the physical key.
For further example, if an optional first device is used to control selection of a character key on the first key area, and the second device is used to control selection of a character key on the second key area, if the second device is lost, function switching may be implemented through a fifth physical key on the first device, so that the first device may also control selection of a character key on the second key area; the second device works the same.
According to the embodiment provided by the application, the third switching instruction triggered by the fifth physical key on the first equipment is responded, the first equipment is set to control the second virtual cursor to move in the second key area, and the character key in the second key area is selected, so that the effect of improving the operation flexibility of the equipment is realized.
As an alternative, for convenience of understanding, the control method of the virtual cursor is applied to the control scenario of the QWERTY keyboard as an example, for example, the QWERTY keyboard is first divided into two parts, i.e., a left part and a right part, as shown in fig. 15, each part is a 5 × 3 key, and the right area has, in addition to the letter keys, functions and symbol keys, such as delete, space, comma, period (and may be changed into other keys as needed).
The middle keys D and J on the two sides are respectively provided with a black cursor dot, and the two black dots are respectively controlled by rockers or touch pads of the left handle and the right handle;
further, if the rocker handle is used for control, the rod can swing towards any direction, the black point can move along with the rod, and the key where the black point is located is the highlighted key.
Specific rocker operation examples are illustrated below;
the left rocker does not swing, and a left black point is located at an original point D key; the left handle rocker swings to the left by half (less than the maximum swing amount), the left black point moves to the S key, the left handle rocker swings to the leftmost side, and the left black point moves to the A key; the left handle rocker swings to the top, and the left black point moves to the E key. The left handle rocker swings to the lowest right, and the left black point moves to the key B; the left handle rocker swings left and down (the leftmost swing amount is not reached), and the left black point moves to the X key. … … the left handle rocker swings rightmost, the right black dot moves to the L key … …
When the user releases the rocker, the physical characteristic of the rocker is returned to the center, and the black point also follows the key returning to the center of the keyboard area.
Therefore, each time the user selects the key, the user starts from the central key (D or J key), moves to other surrounding keys or keeps the key in place (selects the D or J key) according to needs, and the average moving distance to all keys is shortest.
When a user presses the left handle panel, the user inputs a key selected by the left keyboard highlighted with black, for example, the key A is highlighted, and presses the left handle panel to input A.
When a user presses the right-handle trigger, the user inputs the key of the right keyboard which is highlighted by the black dot, for example, the black dot is an M key, and the user presses the right-handle trigger to input M.
Assuming again that the touchpad handle is used for control, the touch point positions will be mapped to virtual keyboard black point positions. It is conceivable that the virtual keyboard is on the touchpad, where the touch is, and the virtual black dot is on which key. Different from the rocker handle, the keyboard is not required to be pressed by a trigger for key confirmation, and the selected key can be input only by directly pressing the touch pad at the selected position;
the specific rocker process is shown in fig. 16;
s1602, swinging the left or right rocker to move the black point of the left or right keyboard to a desired key;
s1604, pressing the trigger of the left remote controller or the right remote controller to confirm the input;
s1606, inputting a letter or symbol indicated by the key, or applying a function key.
Specifically, a side button Grip on the left handle (which may be defined as any unused button on the handle); and performing case switching.
Wherein, the case and case states are 3;
1. lower case, 2. upper case, 3. locked upper case.
The next state is entered when the key is pressed once, the first state is entered when the key is pressed in the 3 rd state, and the process is circulated, wherein the lower case state is shown in fig. 17; the uppercase state is shown in fig. 18, and the keyboard automatically switches back to the lowercase state when a user inputs a letter but not limited to the uppercase state; the locked capitalization state is shown in fig. 19, and may be, but is not limited to, the alphabetic keys are bold, a green highlight is provided at the lower left of the left keyboard to indicate that the locked capitalization state is currently in, and the user may continuously input capitalization letters in the locked capitalization state.
Further, in order to improve the input requirement, other keys on the handle may be used to trigger other input method functions, such as a side key Grip (which may be defined as any unused key on the handle) on the right handle; the functions of the panel of numbers and punctuation marks are switched on and off, and the letter keys are changed into keys of numbers, punctuation marks and the like. The key switches function switches, presses the panel of calling out numbers and punctuation marks once, and returns to the conventional letter input once again;
in addition, but not limited to, defining some handle keys as shortcuts of common keys, for example;
a button a on the handle (which may be defined as any unused button on the handle);
a space shortcut key for directly inputting a space by pressing;
button B on the handle (which may be defined as any unused button on the handle);
deleting a shortcut key, and pressing the shortcut key to directly delete a character in front of a current input cursor;
in addition, under the scene of Chinese pinyin input, the input method can also support Chinese pinyin input.
Besides the above conventional operations, other handle function keys can be introduced to realize Chinese pinyin input.
A left-handed menu key (which may be defined as any unused key on the handle);
switching the Chinese/English input method;
the default is English input method, pressing the menu key can switch to Chinese phonetic input, and pressing it can return English input.
As shown in fig. 20, a pinyin character frame of a pinyin character pattern appears above the left keyboard. The user may enter pinyin in the same input manner as english, and pinyin may appear in the pinyin character box. The right side will display a row of selectable Chinese characters, the first character being highlighted by default.
As further shown in FIG. 21, moving the rocker to the right (or swiping the touch pad to the right) may move the highlight selection one word unit to the right, whereas swiping the touch pad to the left (or swiping the touch pad to the left) may move the highlight selection one word unit to the left.
(at the same time, the black indication of the lower keyboard moves, the user only needs to pay attention to the area needing to be operated, the user pays attention to the lower part when the user wants to press keys of the keyboard, and pays attention to the upper part when the user wants to select characters).
The right movement of the rocker (or the right sliding of the touch pad) can turn to the next line of Chinese characters, and conversely, the left movement (or the left sliding of the touch pad) can turn to the previous page of Chinese characters.
The left handle A key can also turn pages downwards, and the B key can turn pages upwards. (the A and B keys may be defined as any unused keys.) the left handle may also be used to move a rocker left/right, slide the touchpad to page up/down.
Pressing the left or right handle side Grip key can select to enter the highlighted Chinese character.
Further, the method under the touch screen scene can be obtained in the same manner by specifically describing the rocker. The only major difference is; 1. and 2, inputting the key by using the rocker and needing to be confirmed by combining a trigger, and inputting the touched key by only pressing the touch pad under the scene of the touch pad.
One rocker can swing in any direction to obtain X-axis and Y-axis swing information, the numerical range is-1 to 1, X is the amount of transverse movement, the leftmost is-1, and the rightmost is 1; y is the amount of longitudinal movement, with-1 at the top and 1 at the bottom. For example, moving the rocker to the left and XY (-1,0) and moving the rocker to the bottom and XY (0,1) can be seen with reference to fig. 22.
Further, the virtual keyboard panel shown in FIG. 23, the left and right cut-apart keyboard, is shaped in a 1:1 square ratio, respectively, to allow each key to be accessed from a center circle (which may not completely cover, for example, edge keys). This keypad area need not be square as follows, but could be circular, or could be close to but not exactly 1; a huge 1 model, as long as each key can be contacted circularly.
The circle is the range of circles in which the black dot can move, the black dot defaulting to the center.
This black spot position will be mapped directly from the coordinates of the rocker.
The key with the black dot is highlighted (e.g., the position is highlighted, the color is changed, and the changed color is not displayed in the picture). When the user presses the trigger, the highlighted selected text is confirmed for input.
The functional logic for selecting and inputting characters by using a rocker is shown in fig. 24, and comprises the following specific steps:
s2402, initializing the last selected key, such as initializing keys (lastKeyX, lastKeyY) to (-1, -1), which represents that no key is selected;
s2404, acquiring the value of the rocker, such as (X, Y);
s2406, calculating the position of the black dot (i.e. the virtual cursor) on the keyboard panel, wherein the width of the panel is assumed to be: w, H; the center of the panel is used as an origin coordinate (0,0), the black point mapping coordinate is kX-W/2-X, and kY-H/2-Y;
s2408, calculating keys where black points are located, wherein a numX key is arranged in the transverse direction of the keyboard, a numY key is arranged in the longitudinal direction of the keyboard, and the keys are marked as (0,0) - (numX, numY) from top left to bottom right; the selected key is (selected key x, selected key y); selected keyx ═ (kX + W/2)/W numX, values are integers; selected key y ═ (kY + H/2)/H numY, values are integers;
s2410, judging whether the last selected key is the same as the key selected this time, if so, executing a step S2416, and if not, executing a step S2412;
s2412, canceling highlighting the previous selected key, restoring the color of the key to default, restoring the position of the key to be consistent with other unselected keys, and endowing the previous selected key with the value of the key selected this time;
s2414, highlighting the selected key, deepening the color of the key and enabling the key to move outwards;
s2416, judging whether the user presses a confirmation key of a handle trigger corresponding to the case panel, if so, executing a step S2418, otherwise, executing a step S2404;
s2418, adding a character of the selected button to the input box, or using a function key of the selected button, for example, a function key such as delete or confirm.
In addition, for the scenario of inputting chinese by pinyin, the newly added logic is as shown in fig. 25, and the specific steps are as follows:
s2502, waiting for user operation;
s2504-1, confirming an input key K by a user key press trigger;
s2504-2, the user moves the trigger leftwards or rightwards;
s2504-3, pressing a side skip key by a user;
s2506-1, the selected key K is not directly input into the text input box, but is stored in the pinyin box; adding a pinyin character K in the pinyin frame, wherein all the input pinyin characters are P;
s2506-2, judging whether the Chinese character corresponding to the pinyin is selectable, if so, executing the step S508-2, otherwise, executing the step S502;
s2506-3, judging whether the Chinese character is highlighted or not, if so, executing the step S508-3, otherwise, executing the step S502;
s2508-1, judging whether a Chinese character corresponding to P is found in a database of Chinese characters corresponding to pinyin, if so, executing the step S510, otherwise, executing the step S502;
s2508-2, moving the highlight position to the left or right (switching the selected Chinese characters);
s2508-3, adding a highlighted selected Chinese character in an input box;
s2510, Chinese characters can be selected in the right row of the pinyin frame.
Through the embodiment of the application, the operation is comfortable, and the position of the handle is random; the user does not need to swing the wrist, the handle does not need to be suspended deliberately, the handle can lean against the desk when moving at a certain position (for example, the handle is lifted to the front of the user), or the handle is lifted up and placed at the back without influencing the input use (being applicable to extreme control scenes), and only the finger needs to be moved to select the key for input.
It should be noted that, for simplicity of description, the above-mentioned method embodiments are described as a series of acts or combination of acts, but those skilled in the art will recognize that the present invention is not limited by the order of acts, as some steps may occur in other orders or concurrently in accordance with the invention. Further, those skilled in the art should also appreciate that the embodiments described in the specification are preferred embodiments and that the acts and modules referred to are not necessarily required by the invention.
According to another aspect of the embodiment of the present invention, there is also provided a control apparatus of a virtual keyboard for implementing the control method of a virtual keyboard. As shown in fig. 26, the apparatus includes;
a first control unit 2602, configured to control, in response to a first control instruction triggered by a first device, a first virtual cursor to move in a first key region of a target virtual keyboard, where the target virtual keyboard includes at least a first key region corresponding to the first device and a second key region corresponding to a second device, the first device is configured to control the first virtual cursor to move in the first key region, and select a character key in the first key region, and the second device is configured to control the second virtual cursor to move in the second key region, and select a character key in the second key region;
a first obtaining unit 2604, configured to obtain a first determination instruction triggered by a first device when a first virtual cursor is moved to a first position on a first key region, where the first determination instruction is used to select a first character key in the first key region corresponding to the first position and input a first character corresponding to the first character key;
the first input unit 2606 is configured to select a first character key in response to the first determination instruction, and input a first character in the target interface.
Optionally, in this embodiment, the control device of the Virtual cursor may be applied, but not limited to, in a Virtual Reality (VR) or a game scene of a host, specifically, for example, in a VR or a game or a program of the host, a Virtual keyboard is divided into a left area and a right area, a Virtual cursor is respectively located in the center of each area, and each area corresponds to a left handle and a right handle with a joystick, or a handle with a touch pad; and then, the virtual cursors in the virtual keyboard regions on different sides are respectively controlled by using different handles, and when a user presses a trigger of the handle, characters corresponding to the character keys where the current virtual cursors are located can be input.
Optionally, in this embodiment, the first device/the second device may be, but is not limited to, an external device that sees a control instruction generated, such as a handle, a bracelet, a remote controller, and the like;
further taking a bracelet as an example, the handle detects downward shaking operation performed by a user through the gyroscope, and then triggers a first control instruction based on the downward shaking operation; responding to a first control instruction, and controlling a first virtual cursor to move in a first key area of the target virtual keyboard; when the first virtual cursor is moved to a first position on the first key area, a selection operation executed by a user is detected on a touch screen of the handle, and a first determination instruction is triggered based on the selection operation; and responding to the first determination instruction, selecting a first character key and inputting a first character in the target interface.
Optionally, in this embodiment, the manner of triggering various instructions on the first device/the second device may be, but is not limited to, different, and the handle is taken as an example, and usually a plurality of physical keys such as a rocker, an a key, a B key, and a trigger are configured on the handle, so that the control instruction for controlling the cursor movement may be, but is not limited to, triggered by the rocker, the selection instruction for determining the selected character may be, but is not limited to, triggered by the trigger, an input instruction for directly inputting a specific character (for example, an input character "a" corresponding to the a key, an input character "B" corresponding to the B key, and the like) may be, but is not limited to, triggered by the a key/B key, and an execution instruction for executing some specific operations (for example, an operation "delete" corresponding to the a key, an operation "exit" corresponding to the B key, and the like) may also be, but not limited to, triggered by the a key/B key.
Optionally, in this embodiment, the character keys in the first key area may be, but are not limited to be, different from the second key area, and each character key may be, but is not limited to correspond to at least one character, for example, character key "1" corresponds to character "1", but in other input modes, character key "1" may also be, but is not limited to correspond to character "! ".
Optionally, in this embodiment, the key type of the character key in the first key area may be, but is not limited to be, different from that of the second key area, for example, the key type of the character key in the first key area is a number type, and the key type of the character key in the second key area is an alphabet type; in addition, the target virtual keyboard includes at least a first key region corresponding to the first device and a second key region corresponding to the second device, and may further include, but is not limited to, a third key region corresponding to a third device. Based on this, the key type of the character key in the third key area may also be, but not limited to, different from the key types of the character keys in the first key area and the second key area, for example, the key type of the character key in the third key area is a symbol type.
Optionally, in this embodiment, the target interface may be, but is not limited to, displayed in a target display screen, where the target display screen may be, but is not limited to, configured on the first device/the second device, and may also be, but is not limited to, configured on a target device that establishes a communication connection (such as a wired/wireless connection) with the first device/the second device;
for further example, optionally, for example, the first device/the second device are mutually matched handle devices, and it is assumed that the first device is a left handle and the second device is a right handle; then, assuming that the handle device and the host device have established communication connection, the virtual game running on the host device (target device) can be controlled by the handle device, and the running process of the virtual game and the control result of the handle device are displayed on the display screen (target display screen) of the host device.
It should be noted that, a plurality of character keys on the target virtual keyboard are divided in a key area form, and a plurality of devices are used to perform targeted control on the character keys in different key areas, and compared with controlling a virtual cursor to move on the target virtual keyboard, controlling the virtual cursor to move on a key area with a smaller range can save the operation amount required to be executed by the device, thereby improving the control efficiency of the virtual cursor;
moreover, the virtual cursor is controlled to move by utilizing a mode of higher control efficiency on the virtual cursor, so that the virtual cursor can be moved to a character key to be selected more quickly, and further the selection efficiency of the character key is improved;
in addition, the selection operations of each device on the key characters are not interfered with each other, and the characters corresponding to the character keys selected by the multiple devices respectively are collected and input in the target interface, so that the character input efficiency is improved by utilizing the mode that the multiple devices execute parallel control on the virtual keyboard;
therefore, the control device of the virtual keyboard improves the control efficiency of the virtual cursor in the process of controlling the virtual keyboard, improves the selection efficiency of the character keys in the process of controlling the virtual keyboard, also improves the character input efficiency in the process of controlling the virtual keyboard, and further naturally improves the overall control efficiency of the virtual keyboard on the basis of improving the control efficiency of the virtual cursor, the selection efficiency of the character keys and the character input efficiency. Namely, the control device of the virtual keyboard also improves the overall control efficiency of the virtual keyboard.
For a specific embodiment, reference may be made to an example shown in the control method of the virtual keyboard, which is not described herein again in this example.
By the embodiment provided by the application, in response to a first control instruction triggered by a first device, a first virtual cursor is controlled to move in a first key area of a target virtual keyboard, wherein the target virtual keyboard at least comprises the first key area corresponding to the first device and a second key area corresponding to a second device, the first device is set to control the first virtual cursor to move in the first key area and select a character key in the first key area, the second device is set to control the second virtual cursor to move in the second key area and select a character key in the second key area; when the first virtual cursor is moved to a first position on a first key area, acquiring a first determination instruction triggered by first equipment, wherein the first determination instruction is used for selecting a first character key corresponding to the first position in the first key area and inputting a first character corresponding to the first character key; and responding to the first determination instruction, selecting the first character key, inputting the first character in the target interface, and utilizing a plurality of devices to perform a region division management and control mode on the character key in the virtual keyboard, so that the purposes of improving the control efficiency of the virtual cursor, the selection efficiency of the character key and the character input efficiency are achieved, and the technical effect of improving the control efficiency of the virtual keyboard is realized.
As an optional solution, the apparatus further comprises; the first display unit is used for displaying a first virtual cursor positioned on a first preset position before controlling the first virtual cursor to move in a first key area of the target virtual keyboard, wherein the first preset position is positioned in a first preset character key in the first key area;
a first control unit including; the first control module is used for responding to a first control instruction and controlling a first virtual cursor to start moving in a first key area from a first preset position;
the device also comprises; and the second control module is used for controlling the first virtual cursor to be displayed at the first preset position when the first control instruction is cancelled or the first character is input in the target interface.
For a specific embodiment, reference may be made to an example shown in the control method of the virtual keyboard, which is not described herein again in this example.
As an optional solution, the apparatus further comprises;
and the third control module is used for responding to a third control instruction triggered by the first equipment after controlling the first virtual cursor to be displayed at the first preset position, and controlling the first virtual cursor to start to move in the first key area from the first preset position.
For a specific embodiment, reference may be made to an example shown in the control method of the virtual keyboard, which is not described herein again in this example.
As an alternative, the first display unit includes;
the display module is used for displaying a first virtual cursor located at a first preset position in a first preset character key, wherein the first preset character key is located at the central position in a first key area, or located on a middle row in the first key area.
For a specific embodiment, reference may be made to an example shown in the control method of the virtual keyboard, which is not described herein again in this example.
As an optional solution, the apparatus further comprises;
the adjusting module is used for adjusting the first preset position from a first preset character key to a third preset character key in the first key area according to a first character set input by the first device, wherein a first moving distance corresponding to the first preset character key is larger than a second moving distance corresponding to the third preset character key, the first moving distance is a distance from the first preset character key to the character key where the first character set is located, and the second moving distance is a distance from the third preset character key to the character key where the first character set is located.
For a specific embodiment, reference may be made to an example shown in the control method of the virtual keyboard, which is not described herein again in this example.
As an optional solution, the apparatus further comprises;
the second control unit is used for responding to a second control instruction triggered by second equipment and controlling a second virtual cursor to move in a second key area;
the second obtaining unit is used for obtaining a second determining instruction triggered by the second device when the second virtual cursor is moved to a second position on the second key area, wherein the second determining instruction is used for selecting a second character key corresponding to the second position in the second key area and inputting a second character corresponding to the second character key;
and the second input unit is used for responding to a second determination instruction, selecting a second character key and inputting a second character in the target interface.
For a specific embodiment, reference may be made to an example shown in the control method of the virtual keyboard, which is not described herein again in this example.
As an optional solution, the apparatus further comprises; the second display unit is used for displaying a second virtual cursor positioned on a second preset position before controlling the second virtual cursor to move in a second key area of the target virtual keyboard, wherein the second preset position is positioned in a second preset character key in the second key area;
a second control unit including; the third control module is used for responding to a second control instruction and controlling a second virtual cursor to start to move in a second key area from a second preset position;
the device also comprises; and the fourth control module is used for controlling the second virtual cursor to be displayed at a second preset position when the second control instruction is cancelled or the second character is input in the target interface.
For a specific embodiment, reference may be made to an example shown in the control method of the virtual keyboard, which is not described herein again in this example.
As an alternative, the first control unit 2602 includes;
the fifth control module is used for responding to a first control instruction triggered by a rocker on the first handle and controlling the first virtual cursor to move in the first key area, wherein the first device is the first handle, the swinging direction of the rocker is used for controlling the moving direction of the first virtual cursor, and the swinging amount of the rocker is used for controlling the moving distance of the first virtual cursor; or
And the sixth control module is used for responding to a first control instruction triggered by the first touch pad and controlling the first virtual cursor to move in the first key area, wherein the first device is the first touch pad, and the touch position on the first touch pad is used for controlling the position of the first virtual cursor.
For a specific embodiment, reference may be made to an example shown in the control method of the virtual keyboard, which is not described herein again in this example.
As an alternative, the first obtaining unit 2604 includes;
the first acquisition module is used for acquiring a first determination instruction triggered by pressing a first physical key on a first handle, wherein the first equipment is the first handle; or
The second obtaining module is used for obtaining a first determining instruction triggered by the first touch pad being pressed at a first touch position, wherein the first device is the first touch pad, and the first touch position corresponds to the first position.
For a specific embodiment, reference may be made to an example shown in the control method of the virtual keyboard, which is not described herein again in this example.
As an optional solution, the apparatus further comprises;
the first switching unit is used for responding to a first switching instruction triggered by a second physical key on the first handle, switching the input method corresponding to the target virtual keyboard from the first input method to the second input method, and displaying a character key corresponding to the second input method on the target virtual keyboard, wherein the first equipment is the first handle; or
The second switching unit is used for switching the input state corresponding to the target virtual keyboard from one state to another state in a preset state set in response to a second switching instruction triggered by a third physical key on the first handle, and displaying a character key corresponding to the other state on the target virtual keyboard, wherein the first device is the first handle, and the preset state set comprises a lower case state, an upper case state and a locking upper case state; or
And the third input unit is used for responding to a third control instruction triggered by a fourth physical key on the first handle and inputting a third character in the target virtual keyboard in the target interface, wherein the first device is the first handle.
For a specific embodiment, reference may be made to an example shown in the control method of the virtual keyboard, which is not described herein again in this example.
As an optional solution, the apparatus further comprises;
and the third acquisition unit is used for responding to a third switching instruction triggered by a fifth physical key on the first equipment, setting the first equipment to control the second virtual cursor to move in the second key area, and selecting the character key in the second key area.
For a specific embodiment, reference may be made to an example shown in the control method of the virtual keyboard, which is not described herein again in this example.
According to yet another aspect of the embodiments of the present invention, there is also provided an electronic device for implementing the control method of the virtual keyboard, as shown in fig. 27, the electronic device includes a memory 2702 and a processor 2704, the memory 2702 stores a computer program, and the processor 2704 is configured to execute the steps in any one of the above method embodiments through the computer program.
Optionally, in this embodiment, the electronic device may be located in at least one network device of a plurality of network devices of a computer network.
Alternatively, in this embodiment, the processor may be configured to execute the following steps by a computer program;
s1, in response to a first control instruction triggered by a first device, controlling a first virtual cursor to move in a first key area of a target virtual keyboard, wherein the target virtual keyboard at least comprises a first key area corresponding to the first device and a second key area corresponding to a second device, the first device is configured to control the first virtual cursor to move in the first key area and select a character key in the first key area, the second device is configured to control the second virtual cursor to move in the second key area and select a character key in the second key area;
s2, when the first virtual cursor is moved to a first position on the first key area, acquiring a first determining instruction triggered by the first device, wherein the first determining instruction is used for selecting a first character key corresponding to the first position in the first key area and inputting a first character corresponding to the first character key;
s3, responding to the first determination instruction, selecting the first character key and inputting the first character in the target interface.
Alternatively, it can be understood by those skilled in the art that the structure shown in fig. 27 is only an illustration, and the electronic device may also be a terminal device such as a smart phone (e.g., an Android phone, an iOS phone, etc.), a tablet computer, a palm computer, a Mobile Internet Device (MID), a PAD, and the like. Fig. 27 does not limit the structure of the electronic device. For example, the electronic device may also include more or fewer components (e.g., network interfaces, etc.) than shown in FIG. 27, or have a different configuration than shown in FIG. 27.
The memory 2702 may be used to store software programs and modules, such as program instructions/modules corresponding to the method and apparatus for controlling a virtual keyboard in the embodiment of the present invention, and the processor 2704 executes various functional applications and data processing by running the software programs and modules stored in the memory 2702, so as to implement the above-mentioned method for controlling a virtual keyboard. The memory 2702 may include high-speed random access memory and may also include non-volatile memory, such as one or more magnetic storage devices, flash memory, or other non-volatile solid-state memory. In some examples, the memory 2702 can further include memory located remotely from the processor 2704, which can be connected to the terminal over 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 memory 2702 may be specifically, but not limited to, used for storing information such as a first control instruction, a first determination instruction, and a first character. As an example, as shown in fig. 27, the memory 2702 may include, but is not limited to, a first control unit 2602, a first obtaining unit 2604, and a first input unit 2606 in the control device including the virtual keyboard. In addition, the control device may further include, but is not limited to, other module units in the control device of the virtual keyboard, which is not described in detail in this example.
Optionally, the transmitting device 2706 is used for receiving or sending data via a network. Examples of the network may include a wired network and a wireless network. In one example, the transmission device 2706 includes a Network adapter (NIC) that can be connected to a router via a Network cable to communicate with the internet or a local area Network. In one example, the transmission device 2706 is a Radio Frequency (RF) module, which is used to communicate with the internet in a wireless manner.
In addition, the electronic device further includes; a display 2708 for displaying the first control command, the first determination command, the first character and other information; and a connection bus 2710 for connecting the respective module parts in the electronic apparatus described above.
In other embodiments, the terminal device or the server may be a node in a distributed system, where the distributed system may be a blockchain system, and the blockchain system may be a distributed system formed by connecting a plurality of nodes through a network communication. The nodes may form a Peer-To-Peer (P2P) network, and any type of computing device, such as a server, a terminal, and other electronic devices, may become a node in the blockchain system by joining the Peer-To-Peer network.
According to an aspect of the application, a computer program product or computer program is provided, comprising computer instructions, the computer instructions being stored in a computer readable storage medium. A processor of the computer device reads the computer instructions from the computer-readable storage medium, and the processor executes the computer instructions to cause the computer device to execute the method for controlling the virtual cursor, wherein the computer program is configured to execute the steps in any of the method embodiments described above.
Alternatively, in the present embodiment, the above-mentioned computer-readable storage medium may be configured to store a computer program for executing the following steps;
s1, in response to a first control instruction triggered by a first device, controlling a first virtual cursor to move in a first key area of a target virtual keyboard, wherein the target virtual keyboard at least comprises a first key area corresponding to the first device and a second key area corresponding to a second device, the first device is configured to control the first virtual cursor to move in the first key area and select a character key in the first key area, the second device is configured to control the second virtual cursor to move in the second key area and select a character key in the second key area;
s2, when the first virtual cursor is moved to a first position on the first key area, acquiring a first determining instruction triggered by the first device, wherein the first determining instruction is used for selecting a first character key corresponding to the first position in the first key area and inputting a first character corresponding to the first character key;
s3, responding to the first determination instruction, selecting the first character key and inputting the first character in the target interface.
Alternatively, in this embodiment, a person skilled in the art may understand that all or part of the steps in the methods of the foregoing embodiments may be implemented by a program instructing hardware related to the terminal device, where the program may be stored in a computer-readable storage medium, and the storage medium may include; flash disks, Read-Only memories (ROMs), Random Access Memories (RAMs), magnetic or optical disks, and the like.
The above-mentioned serial numbers of the embodiments of the present invention are merely for description and do not represent the merits of the embodiments.
The integrated unit in the above embodiments, if implemented in the form of a software functional unit and sold or used as a separate product, may be stored in the above computer-readable storage medium. Based on such understanding, the technical solution of the present invention may be substantially or partially implemented in the prior art, or all or part of the technical solution may be embodied in the form of a software product stored in a storage medium, and including instructions for causing one or more computer devices (which may be personal computers, servers, or network devices) to execute all or part of the steps of the method according to the embodiments of the present invention.
In the above embodiments of the present invention, the descriptions of the respective embodiments have respective emphasis, and for parts that are not described in detail in a certain embodiment, reference may be made to related descriptions of other embodiments.
In the several embodiments provided in the present application, it should be understood that the disclosed client may be implemented in other manners. The above-described embodiments of the apparatus are merely illustrative, and for example, a division of a unit is merely a division of a logic function, and an actual implementation may have another division, for example, a plurality of units or components may be combined or integrated into another system, or some features may be omitted, or not executed. In addition, the shown or discussed mutual coupling or direct coupling or communication connection may be an indirect coupling or communication connection through some interfaces, units or modules, and may be in an electrical or other form.
Units described as separate parts may or may not be physically separate, and parts displayed as units may or may not be physical units, may be located in one place, or may be distributed on a plurality of network units. Some or all of the units can be selected according to actual needs to achieve the purpose of the solution of the embodiment.
In addition, functional units in the embodiments of the present invention may be integrated into one processing unit, or each unit may exist alone physically, or two or more units are integrated into one unit. The integrated unit can be realized in a form of hardware, and can also be realized in a form of a software functional unit.
The foregoing is only a preferred embodiment of the present invention, and it should be noted that, for those skilled in the art, various modifications and decorations can be made without departing from the principle of the present invention, and these modifications and decorations should also be regarded as the protection scope of the present invention.

Claims (14)

1. A control method of a virtual cursor is characterized by comprising the following steps;
in response to a first control instruction triggered by a first device, controlling a first virtual cursor to move in a first key area of a target virtual keyboard, wherein the target virtual keyboard at least comprises the first key area corresponding to the first device and a second key area corresponding to a second device, the first device is configured to control the first virtual cursor to move in the first key area and select a character key in the first key area, and the second device is configured to control a second virtual cursor to move in the second key area and select a character key in the second key area;
when the first virtual cursor is moved to a first position on the first key area, acquiring a first determination instruction triggered by the first device, wherein the first determination instruction is used for selecting a first character key corresponding to the first position in the first key area and inputting a first character corresponding to the first character key;
and responding to the first determination instruction, selecting the first character key and inputting the first character in a target interface.
2. The method of claim 1,
before the controlling the first virtual cursor to move in the first key region of the target virtual keyboard, the method further comprises; displaying the first virtual cursor positioned at a first preset position, wherein the first preset position is positioned in a first preset character key in the first key area;
the method comprises the steps of responding to a first control instruction triggered by first equipment, and controlling a first virtual cursor to move in a first key area of a target virtual keyboard; responding to the first control instruction, and controlling the first virtual cursor to move in the first key area from the first preset position;
the method further comprises; and controlling the first virtual cursor to be displayed at the first preset position when the first control instruction is cancelled or the first character is input in the target interface.
3. The method of claim 2, further comprising;
after the first virtual cursor is controlled to be displayed at the first preset position, responding to a third control instruction triggered by the first device, and controlling the first virtual cursor to move in the first key area from the first preset position.
4. The method of claim 2, wherein said displaying said first virtual cursor at a first preset position comprises;
displaying the first virtual cursor located at the first preset position in the first preset character key, wherein the first preset character key is located at a central position in the first key area, or located on a middle row in the first key area.
5. The method of claim 2, further comprising;
and adjusting the first preset position from the first preset character key to a third preset character key in the first key area according to a first character set input by the first equipment, wherein a first moving distance corresponding to the first preset character key is greater than a second moving distance corresponding to the third preset character key, the first moving distance is a distance from the first preset character key to the character key where the first character set is located, and the second moving distance is a distance from the third preset character key to the character key where the first character set is located.
6. The method of claim 1, further comprising;
responding to a second control instruction triggered by the second equipment, and controlling the second virtual cursor to move in the second key area;
when the second virtual cursor is moved to a second position on the second key area, acquiring a second determination instruction triggered by the second device, wherein the second determination instruction is used for selecting a second character key corresponding to the second position in the second key area and inputting a second character corresponding to the second character key;
and responding to the second determination instruction, selecting the second character key, and inputting the second character in the target interface.
7. The method of claim 6,
before the controlling the second virtual cursor to move in the second key region of the target virtual keyboard, the method further comprises; displaying the second virtual cursor located at a second preset position, wherein the second preset position is located in a second preset character key in the second key area;
the second control instruction triggered by the second equipment is used for controlling a second virtual cursor to move in a second key area of the target virtual keyboard; responding to the second control instruction, and controlling the second virtual cursor to move in the second key area from the second preset position;
the method further comprises; and controlling the second virtual cursor to be displayed at the second preset position when the second control instruction is cancelled or the second character is input in the target interface.
8. The method according to any one of claims 1 to 7, wherein the controlling of the first virtual cursor to move in the first key region of the target virtual keyboard in response to the first control instruction triggered by the first device comprises;
responding to the first control instruction triggered by a rocker on a first handle, and controlling the first virtual cursor to move in the first key area, wherein the first device is the first handle, the swinging direction of the rocker is used for controlling the moving direction of the first virtual cursor, and the swinging amount of the rocker is used for controlling the moving distance of the first virtual cursor; or
And responding to the first control instruction triggered by the first touch pad, and controlling the first virtual cursor to move in the first key area, wherein the first device is the first touch pad, and the touch position on the first touch pad is used for controlling the position of the first virtual cursor.
9. The method according to any one of claims 1 to 7, wherein the obtaining of the first determination instruction triggered by the first device comprises;
acquiring a first determination instruction triggered by pressing a first physical key on a first handle, wherein the first equipment is the first handle; or
The method comprises the steps of obtaining a first determination instruction triggered by pressing a first touch pad at a first touch position, wherein the first device is the first touch pad, and the first touch position corresponds to the first position.
10. The method according to any one of claims 1 to 7, further comprising;
responding to a first switching instruction triggered by a second physical key on a first handle, switching an input method corresponding to the target virtual keyboard from a first input method to a second input method, and displaying a character key corresponding to the second input method on the target virtual keyboard, wherein the first device is the first handle; or
Responding to a second switching instruction triggered by a third physical key on the first handle, switching an input state corresponding to the target virtual keyboard from one state to another state in a preset state set, and displaying a character key corresponding to the another state on the target virtual keyboard, wherein the first device is the first handle, and the preset state set comprises a lower case state, an upper case state and a locked upper case state; or
Responding to a third control instruction triggered by a fourth physical key on the first handle, and inputting a third character in the target virtual keyboard in the target interface, wherein the first device is the first handle.
11. The method according to any one of claims 1 to 7, further comprising;
responding to a third switching instruction triggered by a fifth physical key on the first equipment, setting the first equipment to control the second virtual cursor to move in the second key area, and selecting a character key in the second key area.
12. A control device of a virtual cursor is characterized by comprising;
a first control unit, configured to control a first virtual cursor to move in a first key region of a target virtual keyboard in response to a first control instruction triggered by a first device, where the target virtual keyboard includes at least the first key region corresponding to the first device and a second key region corresponding to a second device, the first device is configured to control the first virtual cursor to move in the first key region, and select a character key in the first key region, and the second device is configured to control a second virtual cursor to move in the second key region, and select a character key in the second key region;
a first obtaining unit, configured to obtain a first determination instruction triggered by the first device when the first virtual cursor is moved to a first position on the first key region, where the first determination instruction is used to select a first character key in the first key region corresponding to the first position and input a first character corresponding to the first character key;
and the first input unit is used for responding to the first determination instruction, selecting the first character key and inputting the first character in a target interface.
13. A computer-readable storage medium, comprising a stored program, wherein the program is operable to perform the method of any one of claims 1 to 11.
14. An electronic device comprising a memory and a processor, characterized in that the memory has stored therein a computer program, the processor being arranged to execute the method of any of claims 1 to 11 by means of the computer program.
CN202110725120.8A 2021-06-29 2021-06-29 Virtual cursor control method and device, storage medium and electronic equipment Pending CN113448465A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202110725120.8A CN113448465A (en) 2021-06-29 2021-06-29 Virtual cursor control method and device, storage medium and electronic equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202110725120.8A CN113448465A (en) 2021-06-29 2021-06-29 Virtual cursor control method and device, storage medium and electronic equipment

Publications (1)

Publication Number Publication Date
CN113448465A true CN113448465A (en) 2021-09-28

Family

ID=77813814

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202110725120.8A Pending CN113448465A (en) 2021-06-29 2021-06-29 Virtual cursor control method and device, storage medium and electronic equipment

Country Status (1)

Country Link
CN (1) CN113448465A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN116400839A (en) * 2023-06-01 2023-07-07 北京虹宇科技有限公司 Input method, device and equipment in three-dimensional space

Citations (14)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20090007001A1 (en) * 2007-06-28 2009-01-01 Matsushita Electric Industrial Co., Ltd. Virtual keypad systems and methods
CN102445994A (en) * 2010-09-30 2012-05-09 北京搜狗科技发展有限公司 Intelligence input method and system thereof
CN103139626A (en) * 2013-02-05 2013-06-05 深圳创维-Rgb电子有限公司 Method how remote control inputs characters to display equipment
CN103152623A (en) * 2013-02-05 2013-06-12 深圳创维-Rgb电子有限公司 Method for inputting characters into display equipment by using remote controller
CN103941986A (en) * 2014-04-10 2014-07-23 百度在线网络技术(北京)有限公司 Portable type terminal and input method interface self-adaptation adjusting method thereof
CN104216649A (en) * 2013-05-31 2014-12-17 海尔集团公司 Character input method
CN104731363A (en) * 2015-03-30 2015-06-24 北京奇艺世纪科技有限公司 Remote device based character input method and device
CN104768071A (en) * 2015-02-28 2015-07-08 北京奇艺世纪科技有限公司 Character arrangement and cursor movement methods and devices for virtual keyboard
CN105100853A (en) * 2015-06-30 2015-11-25 北京奇艺世纪科技有限公司 Method and device for character arrangement of virtual keyboard
CN205427822U (en) * 2015-03-19 2016-08-03 苹果公司 Electronic equipment and device that is used for editing text
CN107203276A (en) * 2016-03-17 2017-09-26 阿里巴巴集团控股有限公司 Input the control process method and device of information
CN108121438A (en) * 2016-11-30 2018-06-05 成都理想境界科技有限公司 Dummy keyboard input method and device based on head-mounted display apparatus
CN109173251A (en) * 2018-08-30 2019-01-11 北京奇艺世纪科技有限公司 A kind of method for inputting characters rapidly and device based on handle
CN110351589A (en) * 2018-04-04 2019-10-18 深圳Tcl新技术有限公司 A kind of method, system and the storage medium of multifocal operation dummy keyboard

Patent Citations (14)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20090007001A1 (en) * 2007-06-28 2009-01-01 Matsushita Electric Industrial Co., Ltd. Virtual keypad systems and methods
CN102445994A (en) * 2010-09-30 2012-05-09 北京搜狗科技发展有限公司 Intelligence input method and system thereof
CN103139626A (en) * 2013-02-05 2013-06-05 深圳创维-Rgb电子有限公司 Method how remote control inputs characters to display equipment
CN103152623A (en) * 2013-02-05 2013-06-12 深圳创维-Rgb电子有限公司 Method for inputting characters into display equipment by using remote controller
CN104216649A (en) * 2013-05-31 2014-12-17 海尔集团公司 Character input method
CN103941986A (en) * 2014-04-10 2014-07-23 百度在线网络技术(北京)有限公司 Portable type terminal and input method interface self-adaptation adjusting method thereof
CN104768071A (en) * 2015-02-28 2015-07-08 北京奇艺世纪科技有限公司 Character arrangement and cursor movement methods and devices for virtual keyboard
CN205427822U (en) * 2015-03-19 2016-08-03 苹果公司 Electronic equipment and device that is used for editing text
CN104731363A (en) * 2015-03-30 2015-06-24 北京奇艺世纪科技有限公司 Remote device based character input method and device
CN105100853A (en) * 2015-06-30 2015-11-25 北京奇艺世纪科技有限公司 Method and device for character arrangement of virtual keyboard
CN107203276A (en) * 2016-03-17 2017-09-26 阿里巴巴集团控股有限公司 Input the control process method and device of information
CN108121438A (en) * 2016-11-30 2018-06-05 成都理想境界科技有限公司 Dummy keyboard input method and device based on head-mounted display apparatus
CN110351589A (en) * 2018-04-04 2019-10-18 深圳Tcl新技术有限公司 A kind of method, system and the storage medium of multifocal operation dummy keyboard
CN109173251A (en) * 2018-08-30 2019-01-11 北京奇艺世纪科技有限公司 A kind of method for inputting characters rapidly and device based on handle

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN116400839A (en) * 2023-06-01 2023-07-07 北京虹宇科技有限公司 Input method, device and equipment in three-dimensional space
CN116400839B (en) * 2023-06-01 2023-08-22 北京虹宇科技有限公司 Input method, device and equipment in three-dimensional space

Similar Documents

Publication Publication Date Title
US7075519B2 (en) Method for entering a character sequence into an electronic device as well as an electronic device for performing said method
KR100736195B1 (en) Mobile phone and mobile phone control method
CN104679436A (en) Suspended key based on touch screen and device
EP1168780B1 (en) Improved data input
CN104182163A (en) Method and device for displaying virtual keyboard
CN107272881B (en) Information input method and device, input method keyboard and electronic equipment
CN103034396A (en) Method and device for moving icon to Android system desktop
CN113448465A (en) Virtual cursor control method and device, storage medium and electronic equipment
CN105094583A (en) Quick operation method and apparatus for digital terminal with touch screen
CN104932789A (en) Information display method and electronic equipment
KR101808774B1 (en) Virtual keyboard strucutre for mobile device, method of inputting character using virtual keyboard for mobile device, computer readable storage media containing program for executing the same
EP2821901A1 (en) Method and apparatus for processing keyboard input
CN111840990A (en) Input control method and device and electronic equipment
CN108737870A (en) A kind of soft keyboard key assignments selection method and device
CN112148172B (en) Operation control method and device
CN110688041B (en) Mobile client focus adjusting method and device, mobile terminal and readable storage medium
CN113760141A (en) Display method, display device, electronic apparatus, and storage medium
WO2021178255A1 (en) Electronic input system
US11461129B2 (en) Data processing method, terminal and storage medium
CN111208930A (en) Keyboard layout method and device, storage equipment and terminal equipment
KR100690733B1 (en) System for defining keypad of mobile communication terminal and method thereof
CN106325702B (en) Method and device for recognizing mouse gestures
CN112558955A (en) Robot programming and control method, readable storage medium, and computing device
EP1387243A2 (en) User input device
CN111752428A (en) Icon arrangement method and device, 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
REG Reference to a national code

Ref country code: HK

Ref legal event code: DE

Ref document number: 40051847

Country of ref document: HK