Wireless keyboard and keyboard input and mouse control method
Through the design of the wireless keyboard, the technology combined with the processor and ranging module is used to detect finger displacement and movement in real time, solving the problems of insufficient portability and input efficiency of traditional keyboards, and achieving a portable and efficient keyboard input method.
Patent Information
- Application Number
- CN202411559319.8
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-11-04
- Publication Date
- 2025-02-18
AI Technical Summary
Traditional physical and virtual keyboards have shortcomings in portability and input efficiency, which leads users to face input efficiency and accuracy problems when using mobile devices. At the same time, long-term use of touch screen keyboards may also lead to hand fatigue.
A wireless keyboard is designed, using a combination of processor and ranging module to detect finger displacement and movements in real time through the ranging module. The processor adjusts the position of the selected letter or mouse cursor according to the detection results, and determines the mouse's Click Status.
It realizes a portable keyboard input method, improves input efficiency and accuracy, reduces hand fatigue, and provides keyboard and mouse functions without increasing the size of the device.
Smart Images

Figure CN119473052A_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the technical field of information input, and in particular to a wireless keyboard and a keyboard input and mouse control method. Background Art
[0002] With the popularity of mobile devices and the growing demand for portable computing, traditional physical keyboards and mice can no longer meet the needs of modern users for device portability and maximum screen space. The screen size of smartphones and tablets limits the size of virtual keyboards, which seriously affects input efficiency and accuracy. In addition, long-term use of touch screen keyboards may also cause user hand fatigue.
[0003] On the other hand, although the traditional mechanical keyboard provides better typing feel and input efficiency, it is large in size and not suitable for the portability of mobile devices. Summary of the invention
[0004] In view of this, the embodiments of the present application are directed to providing a wireless keyboard and a keyboard input and mouse control method, so as to provide a portable keyboard.
[0005] The present application provides a wireless keyboard, comprising:
[0006] A processor and a ranging module connected to the processor;
[0007] Wherein, the distance measurement module is used to test the displacement and movement of the target in the preset area;
[0008] The processor is used to adjust the selected letters based on the displacement and movement of the target; determine whether the letters are selected for input based on the movement of the target, or adjust the position of the mouse cursor based on the displacement and movement of the target; determine the click status of the mouse based on the movement of the target.
[0009] In some embodiments, the ranging module is a wireless transmission and detection module or a laser ranging module.
[0010] In some embodiments, the ranging module includes a plurality of ranging components;
[0011] The distance measuring components are used to be respectively arranged on both sides and the bottom of the mobile phone to detect the areas on both sides and the bottom of the mobile phone;
[0012] Or the distance measuring component is used to be placed in the middle and on both sides of the two hands to detect the placement area of the two hands.
[0013] The present application provides a keyboard input and mouse control method, which is applied to the wireless keyboard as described above, and the keyboard input and mouse control method includes:
[0014] Acquire information collected by a wireless keyboard in real time; wherein the wireless keyboard is used to collect displacement and movement of fingers in a preset area;
[0015] Display the currently selected button on the preset display interface in real time;
[0016] Adjust the currently selected key based on the displacement of the finger;
[0017] When a preset action is detected, information is input based on the currently selected key; or,
[0018] Acquire information collected by a wireless keyboard in real time; wherein the wireless keyboard is used to collect displacement and movement of fingers in a preset area;
[0019] Display the position of the mouse cursor on the preset display interface in real time;
[0020] Adjust the position of the mouse cursor based on the displacement and movement of the finger;
[0021] When a preset action is detected, the click state of the mouse is determined based on the preset action.
[0022] In some embodiments, in the wireless keyboard, a side distance measuring component is provided corresponding to the left and right sides respectively; the two distance measuring components detect the area where the left and right hands are located respectively to obtain a distance measuring data;
[0023] The adjusting the currently selected key based on the displacement of the finger includes:
[0024] The row information of the selected key is adjusted based on the distance measurement data obtained by one of the distance measurement components; and the column information of the selected key is adjusted based on the data information obtained by another data component.
[0025] In some embodiments, the principle of adjusting the row information of the selected key based on the distance measurement data obtained by one of the distance measurement components and adjusting the column information of the selected key based on the data information obtained by another data component includes:
[0026] The larger the distance measurement data obtained by the distance measurement component corresponding to the row information, the larger the row information of the selected key; the larger the distance measurement data obtained by the distance measurement component corresponding to the column information, the larger the column information of the selected key; or, the smaller the distance measurement data obtained by the distance measurement component corresponding to the row information, the larger the row information of the selected key; the smaller the distance measurement data obtained by the distance measurement component corresponding to the column information, the larger the column information of the selected key;
[0027] In some embodiments, in the wireless keyboard, a set of side distance measuring components is respectively arranged corresponding to the left and right sides; a set of side distance measuring components includes two or more side distance measuring components, and each set of distance measuring components detects the areas where the left and right hands are located respectively to obtain a set of distance measuring data;
[0028] The adjusting the currently selected key based on the displacement of the finger includes:
[0029] The row information of the selected key is adjusted based on the distance measurement data obtained by one group of distance measurement components; and the column information of the selected key is adjusted based on the data information obtained by the other group of data components.
[0030] In some embodiments, the adjusting the row information of the selected key based on the distance measurement data obtained by one of the distance measurement components includes: if the finger is shaken in a preset area of one of the distance measurement components based on the distance measurement data, the row information is increased by one; if the finger is shaken in a preset area of another distance measurement component based on the distance measurement data, the row information is decreased by one;
[0031] The adjusting the column information of the selected key based on the distance measurement data obtained by another group of distance measurement components includes: if it is obtained based on the distance measurement data that the finger shakes in a preset area of one of the distance measurement components, then the column information is increased by one; if it is obtained based on the distance measurement data that the finger shakes in a preset area of another distance measurement component, then the column information is decreased by one.
[0032] In some embodiments, in the wireless keyboard, a group of side distance measuring components is respectively arranged on the left and right sides; a group of side distance measuring components includes 4 side distance measuring components;
[0033] Based on the displacement of the finger, adjust the currently selected key, including:
[0034] The keyboard is divided into two parts, left and right, with 4 rows in each part, a total of 8 rows; each side distance measuring component corresponds to a row;
[0035] When a side distance measuring component detects finger movement, the row corresponding to the side distance measuring component is selected, and each time the side distance measuring component detects finger movement, the selected key is controlled to move to the next key in the key of the row, and it cycles from left to right in a row, or stops when it reaches the last key on the left and right;
[0036] Or, a set of side distance measuring components is respectively provided on the left and right sides; a set of side distance measuring components includes 2 side distance measuring components;
[0037] Based on the displacement of the finger, adjust the currently selected key, including:
[0038] The left hand controls the row and column information of the letters on the left keyboard one by one based on the information detected by the two side distance measuring components of the distance measuring component on the left, so as to adjust the currently selected key;
[0039] Based on the information detected by the two side distance measuring components of the distance measuring component on the right, the right hand controls the row and column information of the letters on the right keyboard one by one to adjust the currently selected key.
[0040] In some embodiments, in the wireless keyboard, a group of side distance measuring components is respectively arranged on the left and right sides; a group of side distance measuring components includes 4 side distance measuring components;
[0041] Based on the displacement of the finger, adjust the currently selected key, including:
[0042] Based on a set of side distance measurement components, the movement trajectory of the hand is determined, and based on a preset corresponding relationship, a first line corresponding to the keyboard is obtained;
[0043] Based on another set of side distance measurement components, the movement trajectory of the hand is determined, and based on a preset corresponding relationship, a second line corresponding to the keyboard is obtained;
[0044] A key corresponding to the intersection of the first line and the second line is determined as the selected key.
[0045] In some embodiments, a side distance measuring component is provided corresponding to each of the left and right sides; the two distance measuring components detect the area where the left and right hands are located respectively to obtain a distance measuring data;
[0046] The adjusting the currently selected key based on the displacement of the finger includes:
[0047] Adjust the x-coordinate information of the mouse cursor based on the distance measurement data obtained by one of the distance measurement components; adjust the y-coordinate information of the mouse cursor based on the data information obtained by another data component;
[0048] When the target action is detected as the first action, the click state of the mouse is controlled to be that the left button is pressed;
[0049] When it is detected that the target action is the second action, the click state of the mouse is controlled to be that the right button is pressed.
[0050] The solution provided by the present application includes: a processor and a distance measurement module connected to the processor; wherein the distance measurement module is used to test the displacement and movement of the target in the preset area; the processor is used to adjust the selected letter based on the displacement and movement of the target; determine whether the letter is selected for input based on the movement of the target, or, based on the displacement and movement of the target, adjust the position of the mouse cursor; based on the movement of the target, determine the click state of the mouse. . In this way, in the solution provided by the present application, the design of the wireless keyboard allows it to be small in size, which is convenient for users to carry with them, and is particularly suitable for use on mobile devices. This design makes full use of the advantages of infrared technology, and can realize the keyboard and mouse functions without increasing the size of the device, providing users with a portable input method. Due to its small size, this wireless keyboard can be easily integrated into various mobile devices, such as smartphones, tablets and laptops, and can even be used as an accessory for smart watches, greatly expanding its application scenarios. The keyboard can be completely folded up when not in use, which saves a lot of storage space compared to traditional keyboards and improves portability. The wireless keyboard can be connected to a variety of devices such as desktop computers, laptops, tablets and smartphones via Bluetooth or USB interfaces, providing a wide range of compatibility. BRIEF DESCRIPTION OF THE DRAWINGS
[0051] By describing the embodiments of the present application in more detail in conjunction with the accompanying drawings, the above and other purposes, features and advantages of the present application will become more apparent. The accompanying drawings are used to provide a further understanding of the embodiments of the present application and constitute a part of the specification. Together with the embodiments of the present application, they are used to explain the present application and do not constitute a limitation of the present application. In the accompanying drawings, the same reference numerals generally represent the same components or steps.
[0052] Figure 1 It is a schematic diagram of the structure of a wireless keyboard provided by an embodiment of the present application.
[0053] Figure 2 It is a schematic diagram of a wireless keyboard provided in one embodiment of the present application.
[0054] Figure 3 It is a schematic diagram of a wireless keyboard provided in another embodiment of the present application.
[0055] Figure 4 This is a schematic diagram of a wireless keyboard provided in yet another embodiment of the present application.
[0056] Figure 5 This is a schematic diagram of a wireless keyboard provided in yet another embodiment of the present application.
[0057] Figure 6 It is a flowchart of a keyboard input method provided by an embodiment of the present application.
[0058] Figure 7 This is a schematic diagram of a wireless keyboard display interface provided by yet another embodiment of the present application.
[0059] Figure 8 It is a flow chart of a wireless keyboard provided in yet another embodiment of the present application.
[0060] Fig. 9 This is a schematic diagram of a wireless keyboard display interface provided by yet another embodiment of the present application. DETAILED DESCRIPTION
[0061] The following will be combined with the drawings in the embodiments of the present invention to clearly and completely describe the technical solutions in the embodiments of the present invention. Obviously, the described embodiments are only part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of the present invention.
[0062] Exemplary Methods
[0063] Figure 1 Schematic diagram of the structure of a wireless keyboard provided by an embodiment of the present application. Figure 1 As shown, the keyboard comprises: a processor 1 and a distance measurement module 2 connected to the processor;
[0064] Wherein, the distance measurement module is used to test the displacement and movement of the target in the preset area;
[0065] The processor is used to adjust the selected letter based on the displacement and movement of the target; and determine whether to select a letter for input based on the movement of the target.
[0066] Specifically, the distance measuring module is a wireless transmission and detection module or a laser distance measuring module. The distance measuring module includes a plurality of distance measuring components; the distance measuring components are used to be respectively arranged on both sides and the bottom of the mobile phone to detect the areas on both sides and the bottom of the mobile phone; or the distance measuring components are used to be placed between the two hands to detect the areas where the two hands are placed.
[0067] It should be noted that in some cases, the computer or mobile phone connected to the device can act as a processor.
[0068] Specifically, the device used in the present invention is an infrared / laser distance measuring module. Because the distance measuring module includes a transmitting and receiving device in one device, the two modules can also be separated into two devices. In this way, there are two designs. The following is a design using a distance measuring module that transmits and receives together.
[0069] Reference Figure 2, multiple laser distance measuring modules are distributed on three sides of the phone / tablet (1-5 on each side and two on the bottom). The laser distance measuring module can also be a separate device from the phone. In this case, the usage method is similar to the computer laser detection rod; the distance measuring modules on the left and right sides are used to measure the movement of the four fingers, and the distance measuring module under the phone is used to measure the movement of the thumb.
[0070] Reference Figure 3 , 4 laser distance measurement modules are distributed on a straight or curved rod. Two rods correspond to the left and right hands. They are put together and plugged into the computer via USB. When using, place the laser detection rod horizontally above the left and right hands. The two distance measurement rods can be combined into one and placed in the middle of the two hands.
[0071] The following is a design method that separates receiving and sending:
[0072] Reference Figure 4 The modules on the side and bottom of the mobile phone are not ranging modules but infrared receiving modules. At this time, another transmitting module connected to the mobile phone is needed.
[0073] Reference Figure 5 , the receiving and transmitting devices in the middle of the two hands can be combined into one device. How many transceivers or rangefinders are there on the laser ranging or transceiver device as described above depends on the software algorithm and operation mode to be used below. In mode 1, only one ranging module or transceiver module is needed. In modes 2 and 3, multiple ranging modules or transceiver modules are required.
[0074] Specifically, the distance measurement module can directly obtain distance (and its) change information. There are products on the market with a detection accuracy of millimeter level and a response speed of 100ms that can be used.
[0075] The design of separate sending and receiving is mainly to obtain information on whether a certain sending and receiving path is blocked by a finger, and to determine which letter is selected through the combination of 4 fingers.
[0076] Reference Figure 6 The present application also provides a keyboard input and mouse control method, which is applied to the wireless keyboard provided in the present application. The keyboard input and mouse control method includes:
[0077] Step S601, acquiring information collected by a wireless keyboard in real time; wherein the wireless keyboard is used to collect the displacement and movement of fingers in a preset area;
[0078] In this step, the sensor of the wireless keyboard starts working, monitoring and capturing the displacement and movement of the user's finger in the preset area in real time. The wireless keyboard emits infrared light through the infrared transmitter. When the user's finger enters the preset area and moves, the infrared light is blocked by the finger, and the change of the light signal received by the infrared receiver is converted into an electrical signal. These signals are then acquired by the processor in real time for subsequent key recognition and input processing. This step is the basis of the entire input process, ensuring the real-time capture and response of finger movements.
[0079] Step S602, displaying the currently selected button on a preset display interface in real time;
[0080] Based on the finger displacement information obtained in step S601, the processor calculates the approximate position of the user's finger on the virtual keyboard and displays the currently selected key in real time on a preset display interface (such as a mobile phone, tablet or computer screen). This displayed key is usually presented in a highlighted or other visual prompting manner so that the user knows which key is currently selected. This step enhances the user's visual feedback, allowing the user to intuitively see their input operations and the interaction results of the virtual keyboard. For specific display effects, please refer to Figure 7 .
[0081] Step S603, adjusting the currently selected key based on the displacement of the finger;
[0082] As the user's finger moves within the preset area, the wireless keyboard's sensors continuously capture these movements. The processor dynamically adjusts the currently selected key on the display interface based on this continuous displacement information. For example, if the user's finger moves to the right, the highlighted selected key on the display interface will also move to the right accordingly to track the position of the finger. This step ensures that the user can browse and select different keys on the virtual keyboard with simple finger movements, thereby achieving a smooth input experience.
[0083] Step S604: when a preset action is detected, information is input based on the currently selected key.
[0084] In step S603, when the user's finger moves to the key they want to press, they perform a preset action, such as tapping, clicking or other specific gestures. After the sensor of the wireless keyboard detects this preset action, the processor recognizes this action as a confirmation signal and then inputs the character or command corresponding to the currently selected key into the user's device. This step is the key to completing the input, which converts the user's physical action into digital information, realizing the input operation without physical contact.
[0085] In general, these four steps together constitute the basic operation process of the wireless keyboard, from real-time monitoring of finger movements to selecting and confirming keys on the display interface, providing users with a novel, intuitive and efficient input method.
[0086] Specifically, based on the different details of the wireless keyboard, the keyboard input and mouse control methods will also be technically adjusted accordingly, as follows:
[0087] In the wireless keyboard, a side distance measuring component is respectively arranged on the left and right sides; the two distance measuring components detect the area where the left and right hands are located respectively to obtain a distance measuring data;
[0088] The adjusting the currently selected key based on the displacement of the finger includes:
[0089] The row information of the selected key is adjusted based on the distance measurement data obtained by one of the distance measurement components; and the column information of the selected key is adjusted based on the data information obtained by another data component.
[0090] The principles of adjusting the row information of the selected key based on the distance measurement data obtained by one of the distance measurement components and adjusting the column information of the selected key based on the data information obtained by another data component include:
[0091] The larger the distance measurement data obtained by the distance measurement component corresponding to the row information, the larger the row information of the selected key;
[0092] The larger the distance measurement data obtained by the distance measurement component corresponding to the column information, the larger the column information of the selected button.
[0093] In the wireless keyboard, a set of side distance measuring components is respectively arranged corresponding to the left and right sides; a set of side distance measuring components includes two or more side distance measuring components, and each set of distance measuring components detects the areas where the left and right hands are located respectively to obtain a set of distance measuring data;
[0094] The adjusting the currently selected key based on the displacement of the finger includes:
[0095] The row information of the selected key is adjusted based on the distance measurement data obtained by one group of distance measurement components; and the column information of the selected key is adjusted based on the data information obtained by the other group of data components.
[0096] Further, the adjusting the row information of the selected key based on the distance measurement data obtained by one of the distance measurement components includes: if it is obtained based on the distance measurement data that the finger is shaking in a preset area of one of the distance measurement components, then the row information is increased by one; if it is obtained based on the distance measurement data that the finger is shaking in a preset area of another distance measurement component, then the row information is decreased by one;
[0097] The adjusting the column information of the selected key based on the distance measurement data obtained by another group of distance measurement components includes: if it is obtained based on the distance measurement data that the finger shakes in a preset area of one of the distance measurement components, then the column information is increased by one; if it is obtained based on the distance measurement data that the finger shakes in a preset area of another distance measurement component, then the column information is decreased by one.
[0098] In some embodiments, a group of side distance measuring components is respectively arranged corresponding to the left and right sides; a group of side distance measuring components includes 4 side distance measuring components;
[0099] Based on the displacement of the finger, adjust the currently selected key, including:
[0100] The keyboard is divided into two parts, left and right, with 4 rows in each part, a total of 8 rows; each side distance measuring component corresponds to a row;
[0101] When a side distance measuring component detects finger movement, the row corresponding to the side distance measuring component is selected, and each time the side distance measuring component detects finger movement, the selected key is controlled to move to the next key in the key of the row, and if it has moved to the last key, it moves to the first key, that is, it cycles from left to right or from right to left in a row, or stops when it reaches the last key on the left and right;
[0102] Or, a set of side distance measuring components is respectively provided on the left and right sides; a set of side distance measuring components includes 2 side distance measuring components;
[0103] Based on the displacement of the finger, adjust the currently selected key, including:
[0104] The left hand controls the row and column information of the letters on the left keyboard one by one based on the information detected by the two side distance measuring components of the distance measuring component on the left, so as to adjust the currently selected key;
[0105] Based on the information detected by the two side distance measuring components of the distance measuring component on the right, the right hand controls the row and column information of the letters on the right keyboard one by one to adjust the currently selected key.
[0106] In some embodiments, in the wireless keyboard, a group of side distance measuring components is respectively arranged on the left and right sides; a group of side distance measuring components includes 4 side distance measuring components;
[0107] Based on the displacement of the finger, adjust the currently selected key, including:
[0108] Based on a set of side distance measurement components, the movement trajectory of the hand is determined, and based on a preset corresponding relationship, a first line corresponding to the keyboard is obtained;
[0109] Based on another set of side distance measurement components, the movement trajectory of the hand is determined, and based on a preset corresponding relationship, a second line corresponding to the keyboard is obtained;
[0110] A key corresponding to the intersection of the first line and the second line is determined as the selected key.
[0111] The solution provided by this application is described below in conjunction with specific embodiments:
[0112] When the keyboard is connected to a computer or mobile phone, a specific character input software needs to be installed to use this input method. The character layout of this software is the same as that of ordinary mobile phone input software, the only difference is that an initial default character is selected and highlighted each time it is opened.
[0113] The difference between the PC and normal computers is that a software hard disk will pop up, and there will also be an initial default highlighted letter to indicate that it is selected (for example Figure 7 The one selected is g)
[0114] The keyboard can occupy 2 / 3 of the phone screen to display more special characters and more Chinese prompts, and users can scroll the keyboard displayed on the touch screen.
[0115] When the user moves his finger, the highlighted character will also move with the movement of the finger. When the character that the user wants is moved, the user moves a specific finger to indicate that the character is selected. The keyboard operation process is as follows Figure 8 shown.
[0116] Depending on whether an infrared rangefinder is used or a separate transmitter and receiver design is used, there are two main types of how the highlighted characters are moved.
[0117] When using a laser rangefinder: Refer to Fig. 9 , the rangefinders on the left and right sides of the phone will return 4 measured data, a total of 8 data on the left and right. At this time, the keyboard is divided into the left-hand control area and the right-hand control area. The 4 fingers control the 4 rows of characters on the keyboard respectively, and the distance between the fingers and the laser rangefinder indicates which direction the highlighted character moves. Moving the finger makes the distance smaller and the highlighted character moves inward, and moving the finger makes the distance larger and the highlighted character moves outward. A specially designed laser rangefinder for measuring two thumbs is used to measure the movement of the thumbs. When the distance between the thumbs changes, it means that the highlighted character is selected.
[0118] When using a separate transmitter and receiver device or only a pair of transmitters and receivers and a pair of laser rangefinders. The distance on the left hand indicates which of the 4 rows of the keyboard is selected. The smaller the distance, the lower the highlighted character moves. The distance on the right hand indicates which of the 10 characters on the keyboard is selected. The smaller the distance, the lower the highlighted character moves.
[0119] Specifically, refer to the following embodiments:
[0120] Example (mode) 1:
[0121] The left hand controls the up and down movement of the highlighted letters, and the right hand controls the left and right movement of the highlighted letters. In this case, the current input display keyboard can be used.
[0122] When entering text editing mode, the keyboard is displayed and the initial letter a is highlighted. At the same time, laser detection is started.
[0123] When the 4 laser transmitters and receivers are distributed on the left 2 and right 2 of the mobile phone:
[0124] Jittering your left index finger near the first laser shot will move the highlighted letters upward.
[0125] Jittering your left index finger near the second laser emission will move the highlighted letters downward.
[0126] Jittering your right index finger near the first laser shot will move the highlighted letters to the left.
[0127] Jittering your right index finger near the second laser emission will move the highlighted letters to the right.
[0128] You can also distribute the four laser transceivers on the right side of the phone so that you can control the movement of letters up, down, left, and right with just one hand.
[0129] When the letter is selected, the distance between the laser detector and the thumb becomes better, and the highlighted letter or associated word is selected.
[0130] After the letter or word is selected, it will be entered into the text dialog box, and the highlighted letter will return to the initial letter e or not.
[0131] There are two laser detectors on the lower part of the phone, one on each side, for detecting the left and right thumbs. The left hand controls the space bar, and the right hand controls the enter key. When the two move at the same time, it means shift, and when both hands cover the laser detectors at the same time, it means delete. Or it can mean other combinations.
[0132] Example (mode) 2:
[0133] The left hand controls the letter selection of the left keyboard, and the right hand controls the letter selection of the right keyboard.
[0134] In this case, the keyboard needs to be split into two parts, left and right.
[0135] Only one highlighted letter can be selected at any time.
[0136] When entering text editing mode, the keyboard is displayed and the initial letter f is highlighted. At the same time, laser detection is started.
[0137] When the 4 laser transmitters and receivers are distributed on the left 2 and right 2 of the mobile phone:
[0138] By shaking your left index finger near the first laser emission, the highlighted letters can be moved up and down in a circular motion. (Since there are only 4 rows of letters, they can be moved in a circular motion in the order of 1 2 3 4 1 2 3 4)
[0139] By shaking your left index finger near the second laser emission, the highlighted letters can be moved left and right in a circular motion.
[0140] As long as the laser transmitter is shaking, it will keep cycling left and right.
[0141] When a letter is selected, cover any laser with your fingertips to select the highlighted letter or associated word.
[0142] After the letter or word is selected, it will be entered into the text dialog box, and the highlighted letter will return to the initial letter e or not.
[0143] You can also distribute two laser detectors on the lower part of the phone to detect the left and right thumbs. The left hand controls the space key, and the right hand controls the enter key. When the two hands move at the same time, it means shift, and when the two hands cover the laser detectors at the same time, it means delete. Or it can represent other combinations.
[0144] Example (mode) three:
[0145] The phone has 4 laser transceivers on each side, which are used to detect the movements of the 4 fingers on the left and right.
[0146] This is the most complex detection mode. The working principle of the software related to laser detection can be seen in the software recognition process above.
[0147] You can even use the direction of your finger gestures to indicate which letter is selected and highlight the letter. Draw a line with your left hand and a line with your right hand, and the intersection of the two lines is the letter. The software determines the direction of the line through the data detected by 3 / 4 / 5 laser heads, because three points form a straight line.
[0148] When you move your finger horizontally, the highlight of the on-screen keyboard will move to indicate which letter you want to enter. Once you are sure to enter the letter, the process will be accelerated. Users can move their fingers at will to change the selected letter, and pressing any finger means confirming the letter.
[0149] In some embodiments, it also includes:
[0150] Acquire information collected by a wireless keyboard in real time; wherein the wireless keyboard is used to collect displacement and movement of fingers in a preset area;
[0151] Display the position of the mouse cursor on the preset display interface in real time;
[0152] Adjust the position of the mouse cursor based on the displacement and movement of the finger;
[0153] When a preset action is detected, the click state of the mouse is determined based on the preset action.
[0154] Specifically, a side distance measuring component is provided on each side corresponding to the left and right sides; the two distance measuring components detect the area where the left and right hands are located respectively to obtain a distance measuring data;
[0155] The adjusting the currently selected key based on the displacement of the finger includes:
[0156] Adjust the x-coordinate information of the mouse cursor based on the distance measurement data obtained by one of the distance measurement components; adjust the y-coordinate information of the mouse cursor based on the data information obtained by another data component;
[0157] When the target action is detected as the first action, the click state of the mouse is controlled to be that the left button is pressed;
[0158] When it is detected that the target action is the second action, the click state of the mouse is controlled to be that the right button is pressed.
[0159] The specific idea of the solution provided by this application is to simulate the coordinates (x, y) of a point on a plane with two parameters x and y. Use a laser rangefinder to measure the x parameter and another to measure the y parameter. In this way, the movement of the two fingers can jointly determine the position of the mouse on the desktop. As follows Figure 2 The two laser rangefinders at the lower left or right corner of the laser keyboard can be used to provide the function of a mouse; when the two laser rangefinders at the lower left corner provide x,y coordinates, the laser rangefinder on the right side of the phone provides the left mouse button function, and the laser rangefinder at the bottom of the right side of the phone provides the right mouse button function.
[0160] Another implementation example can be referred to Figure 5 The two sets of detection devices in the lower left or right corners can be used to provide the function of the mouse, that is, when the sending and receiving are separated, the bottom set of sending and receiving of the left and right hands can be used to provide the x and y coordinates. The shaking of the left hand fingers (i.e., the first action) indicates that the left button is pressed, and the shaking of the right hand fingers (i.e., the second action) indicates that the right button is pressed.
[0161] In some embodiments, it also includes: determining the selected key based on the displacement and movement of the finger through a pre-trained deep learning model.
[0162] Specifically, the deep learning model can learn to recognize the displacement and movement of fingers through a large amount of data training, thereby determining the key that the user intends to input. This training process involves the precise recognition of finger positions and movements, and mapping these recognition results to specific keys.
[0163] Through pre-trained deep learning models, especially convolutional neural networks, gestures can be effectively recognized and analyzed to identify finger displacement and movement during keyboard input, so as to determine the key that the user intends to input. The application of this technology can not only improve input efficiency, but also enhance the naturalness and convenience of human-computer interaction.
[0164] In some embodiments, the solution provided by the present application may also be combined with a mechanical keyboard. For example, the solution provided by the present application also includes a mechanical keyboard with a preset number of keys, and when the mechanical key is pressed, a preset instruction is executed. Specifically, the instruction may be: inputting the character corresponding to the selected key, or adjusting the selected key.
[0165] The above description has been given for the purpose of illustration and description. In addition, this description is not intended to limit the embodiments of the present application to the forms disclosed herein. Although multiple example aspects and embodiments have been discussed above, those skilled in the art will recognize certain variations, modifications, changes, additions and sub-combinations thereof.
Claims
1. A wireless keyboard, characterized in that: include: A processor and a ranging module connected to the processor; Wherein, the distance measurement module is used to test the displacement and movement of the target in the preset area; The processor is used to adjust the selected letters based on the displacement and movement of the target; determine whether the letters are selected for input based on the movement of the target, or adjust the position of the mouse cursor based on the displacement and movement of the target; determine the click status of the mouse based on the movement of the target.
2. The wireless keyboard according to claim 1, characterized in that: The distance measuring module is a wireless transmission and detection module or a laser distance measuring module.
3. The wireless keyboard according to claim 1, characterized in that: The ranging module includes a plurality of ranging components; The distance measuring components are used to be respectively arranged on both sides and the bottom of the mobile phone to detect the areas on both sides and the bottom of the mobile phone; Or the distance measuring component is used to be placed between two hands to detect the placement area of the two hands.
4. A keyboard input and mouse control method, characterized in that: Applied to the wireless keyboard according to any one of claims 1 to 3, the keyboard input and mouse control method comprises: Acquire information collected by a wireless keyboard in real time; wherein the wireless keyboard is used to collect displacement and movement of fingers in a preset area; Display the currently selected button on the preset display interface in real time; Adjust the currently selected key based on the displacement and movement of the finger; When a preset action is detected, information is input based on the currently selected key; or, Acquire information collected by a wireless keyboard in real time; wherein the wireless keyboard is used to collect displacement and movement of fingers in a preset area; Display the position of the mouse cursor on the preset display interface in real time; Adjust the position of the mouse cursor based on the displacement and movement of the finger; When a preset action is detected, determining a click state of the mouse based on the preset action; Alternatively, a pre-trained deep learning model can be used to determine the selected key based on the finger displacement and movement.
5. The keyboard input and mouse control method according to claim 4, characterized in that: In the wireless keyboard, a side distance measuring component is respectively arranged on the left and right sides; the two distance measuring components detect the area where the left and right hands are located respectively to obtain a distance measuring data; The adjusting the currently selected key based on the displacement of the finger includes: Adjusting the row information of the selected key based on the distance measurement data obtained by one of the distance measurement components; adjusting the column information of the selected key based on the data information obtained by another data component; The principle of adjusting the row information of the selected key based on the distance measurement data obtained by one of the distance measurement components and adjusting the column information of the selected key based on the data information obtained by another data component includes: The larger the ranging data obtained by the ranging component corresponding to the row information, the larger the row information of the selected key; the larger the ranging data obtained by the ranging component corresponding to the column information, the larger the column information of the selected key; or, the smaller the ranging data obtained by the ranging component corresponding to the row information, the larger the row information of the selected key; the smaller the ranging data obtained by the ranging component corresponding to the column information, the larger the column information of the selected key.
6. The keyboard input and mouse control method according to claim 4, characterized in that: In the wireless keyboard, a set of side distance measuring components is respectively arranged corresponding to the left and right sides; a set of side distance measuring components includes two or more side distance measuring components, and each set of distance measuring components detects the areas where the left and right hands are located respectively to obtain a set of distance measuring data; The adjusting the currently selected key based on the displacement of the finger includes: The row information of the selected key is adjusted based on the distance measurement data obtained by one group of distance measurement components; and the column information of the selected key is adjusted based on the data information obtained by the other group of data components.
7. The keyboard input and mouse control method according to claim 6, characterized in that: The adjusting the row information of the selected key based on the distance measurement data obtained by one of the distance measurement components comprises: if it is obtained based on the distance measurement data that the finger shakes in a preset area of one of the distance measurement components, then the row information is increased by one; if it is obtained based on the distance measurement data that the finger shakes in a preset area of another distance measurement component, then the row information is decreased by one; The adjusting the column information of the selected key based on the distance measurement data obtained by another group of distance measurement components includes: if it is obtained based on the distance measurement data that the finger shakes in a preset area of one of the distance measurement components, then the column information is increased by one; if it is obtained based on the distance measurement data that the finger shakes in a preset area of another distance measurement component, then the column information is decreased by one.
8. The keyboard input and mouse control method according to claim 4, characterized in that: In the wireless keyboard, a group of side distance measuring components is respectively arranged on the left and right sides; a group of side distance measuring components includes 4 side distance measuring components; Based on the displacement of the finger, adjust the currently selected key, including: The keyboard is divided into two parts, left and right, with 4 rows in each part, a total of 8 rows; each side distance measuring component corresponds to a row; When a side distance measuring component detects finger movement, the row corresponding to the side distance measuring component is selected, and each time the side distance measuring component detects finger movement, the selected key is controlled to move to the next key in the key of the row, and it cycles from left to right in a row, or stops when it reaches the last key on the left and right; Or, a set of side distance measuring components is respectively provided on the left and right sides; a set of side distance measuring components includes 2 side distance measuring components; Based on the displacement of the finger, adjust the currently selected key, including: The left hand controls the row and column information of the letters on the left keyboard one by one based on the information detected by the two side distance measuring components of the distance measuring component on the left, so as to adjust the currently selected key; Based on the information detected by the two side distance measuring components of the distance measuring component on the right, the right hand controls the row and column information of the letters on the right keyboard one by one to adjust the currently selected key.
9. The keyboard input and mouse control method according to claim 4, characterized in that: In the wireless keyboard, a group of side distance measuring components is respectively arranged on the left and right sides; a group of side distance measuring components includes 4 side distance measuring components; Based on the displacement of the finger, adjust the currently selected key, including: Based on a set of side distance measurement components, the movement trajectory of the hand is determined, and based on a preset corresponding relationship, a first line corresponding to the keyboard is obtained; Based on another set of side distance measurement components, the movement trajectory of the hand is determined, and based on a preset corresponding relationship, a second line corresponding to the keyboard is obtained; A key corresponding to the intersection of the first line and the second line is determined as the selected key.
10. The keyboard input and mouse control method according to claim 4, characterized in that: A side distance measuring component is provided on each side corresponding to the left and right sides; the two distance measuring components detect the area where the left and right hands are located respectively to obtain a distance measuring data; The adjusting the currently selected key based on the displacement of the finger includes: Adjust the x-coordinate information of the mouse cursor based on the distance measurement data obtained by one of the distance measurement components; adjust the y-coordinate information of the mouse cursor based on the data information obtained by another data component; When the target action is detected as the first action, the click state of the mouse is controlled to be that the left button is pressed; When it is detected that the target action is the second action, the click state of the mouse is controlled to be that the right button is pressed.