CN112083831A - Key identification method and device based on laser projection keyboard - Google Patents

Key identification method and device based on laser projection keyboard Download PDF

Info

Publication number
CN112083831A
CN112083831A CN202010854376.4A CN202010854376A CN112083831A CN 112083831 A CN112083831 A CN 112083831A CN 202010854376 A CN202010854376 A CN 202010854376A CN 112083831 A CN112083831 A CN 112083831A
Authority
CN
China
Prior art keywords
light
plate
key
energy
reflection signal
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
CN202010854376.4A
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.)
OFilm Microelectronics Technology Co Ltd
Original Assignee
OFilm Microelectronics Technology 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 OFilm Microelectronics Technology Co Ltd filed Critical OFilm Microelectronics Technology Co Ltd
Priority to CN202010854376.4A priority Critical patent/CN112083831A/en
Publication of CN112083831A publication Critical patent/CN112083831A/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/03Arrangements for converting the position or the displacement of a member into a coded form
    • G06F3/041Digitisers, e.g. for touch screens or touch pads, characterised by the transducing means
    • G06F3/042Digitisers, e.g. for touch screens or touch pads, characterised by the transducing means by opto-electronic means
    • G06F3/0425Digitisers, e.g. for touch screens or touch pads, characterised by the transducing means by opto-electronic means using a single imaging device like a video camera for tracking the absolute position of a single or a plurality of objects with respect to an imaged reference surface, e.g. video camera imaging a display or a projection screen, a table or a wall surface, on which a computer generated image is displayed or projected
    • G06F3/0426Digitisers, e.g. for touch screens or touch pads, characterised by the transducing means by opto-electronic means using a single imaging device like a video camera for tracking the absolute position of a single or a plurality of objects with respect to an imaged reference surface, e.g. video camera imaging a display or a projection screen, a table or a wall surface, on which a computer generated image is displayed or projected tracking fingers with respect to a virtual keyboard projected or printed on the surface
    • 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/16Sound input; Sound output
    • G06F3/167Audio in a user interface, e.g. using voice commands for navigating, audio feedback
    • 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

Landscapes

  • Engineering & Computer Science (AREA)
  • General Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Multimedia (AREA)
  • Human Computer Interaction (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Health & Medical Sciences (AREA)
  • Audiology, Speech & Language Pathology (AREA)
  • General Health & Medical Sciences (AREA)
  • Input From Keyboards Or The Like (AREA)

Abstract

The embodiment of the application discloses a key identification method and a key identification device based on a laser projection keyboard, wherein a plurality of light identification units emit light signals so as to project a virtual keyboard on the surface of an object; the plurality of light identification units and the plurality of keys in the virtual keyboard have one-to-one correspondence; receiving a light reflection signal formed when a user taps on the virtual keyboard through a light sensor, and detecting an energy value of the light emission signal; when the energy value of the light reflection signal is larger than the energy threshold value, identifying the key corresponding to the light identification unit where the light sensor is located as a target key; wherein the energy threshold is related to the light recognition unit where the light sensor is located. The light reflection signal that produces when this application passes through the light identification unit and receives the user and clicks the button to detect the energy value of light reflection signal, and then carry out the discernment of target button, reduced the hardware cost of laser projection keyboard, improved the accuracy of button discernment.

Description

Key identification method and device based on laser projection keyboard
Technical Field
The invention relates to the field of virtual keyboards, in particular to a key identification method and device based on a laser projection keyboard.
Background
With the development of the optoelectronic technology, various electronic products using the optoelectronic technology to replace the traditional mechanical hardware have come to the fore, wherein the laser projection keyboard is a common consumer electronic product and is receiving more and more attention. At present, a laser projection keyboard in the market projects visible light onto a plane, and when a user clicks the keyboard, the camera performs photographing to complete identification of keys. But the inventor finds that: when two fingers are overlapped, the fingers are blocked mutually, the recognition is disabled, and a camera needs to take a large number of pictures and process the large number of pictures, so that the requirement on hardware is high. How to complete accurate key identification under the condition of low hardware cost is an urgent problem to be solved.
Disclosure of Invention
The embodiment of the application provides a key identification method and device based on a laser projection keyboard, and aims to solve the technical problems of inaccurate key identification and high hardware cost of the laser projection keyboard in the related technology. The technical scheme is as follows:
in one aspect, an embodiment of the present application provides an identification method based on a laser projection keyboard, where the method includes:
transmitting light signals through a plurality of light recognition units so as to project a virtual keyboard on the surface of an object; the plurality of light identification units and the plurality of keys in the virtual keyboard have one-to-one correspondence;
receiving a light reflection signal formed when a user taps on the virtual keyboard through a light sensor, and detecting an energy value of the light emission signal;
when the energy value of the light reflection signal is larger than the energy threshold value, identifying the key corresponding to the light identification unit where the light sensor is located as a target key; wherein the energy threshold is related to the light recognition unit where the light sensor is located.
Optionally, when the energy value of the light reflection signal is greater than an energy threshold, identifying a key corresponding to the light identification unit where the light sensor is located as a target key includes:
playing a target key prompt tone corresponding to the target key through a sound unit; the target key prompt tone is used for prompting a user that the target key is successfully pressed.
Optionally, the detecting the energy value of the light emission signal includes:
collecting a plurality of energy sampling values within a preset time length;
and when the mean square error of the plurality of energy sampling values is smaller than a mean square error threshold value, taking the average value of the plurality of energy sampling values as the energy value of the light emission signal.
Optionally, when the energy value of the light reflection signal is greater than the energy threshold, identifying the key corresponding to the light identification unit where the light sensor is located as the target key includes:
and when the energy value of the light reflection signal is greater than an energy threshold value and the duration is greater than a first duration threshold value, identifying the key corresponding to the light identification unit where the light sensor is located as a target key.
Optionally, the method further comprises:
calculating the time length of the light sensor not receiving the light reflection signal;
and when the duration is greater than a second duration threshold, indicating the plurality of light identification units to stop working.
Optionally, the method further comprises:
when the energy value of the light emission signal is not larger than the energy threshold value, the light sensor is instructed to continue monitoring.
In another aspect, an embodiment of the present application provides a key identification device based on a laser keyboard, including a processor, a memory, and a plurality of optical identification units, where each optical identification unit includes at least one optical transmitter and at least one optical receiver;
a memory for storing a computer program;
a processor for invoking a computer program stored in the memory to perform the steps of:
transmitting light signals through a plurality of light recognition units so as to project a virtual keyboard on the surface of an object; the plurality of light identification units and the plurality of keys in the virtual keyboard have one-to-one correspondence;
receiving a light reflection signal formed when a user taps on the virtual keyboard through a light sensor, and detecting an energy value of the light emission signal;
when the energy value of the light reflection signal is larger than the energy threshold value, identifying the key corresponding to the light identification unit where the light sensor is located as a target key; wherein the energy threshold is related to the light recognition unit where the light sensor is located.
Optionally, each light recognition unit comprises: the light identification device comprises a first light emitter, a second light emitter and a light receiver, wherein the first light emitter and the second light emitter are respectively arranged on two sides of the light receiver, and the intersection of a light signal emitted by the first light emitter and a light signal emitted by the second light emitter is positioned on a key corresponding to the light identification unit.
Optionally, the first optical transmitter and the second optical transmitter are symmetrically disposed on two sides of the optical receiver, and the first optical transmitter, the second optical transmitter and the optical receiver are located on a same plane, which is perpendicular to a horizontal plane.
Optionally, the plurality of light recognition units are disposed on the same plane.
Optionally, the plurality of light recognition units comprise a first light recognition unit group, a second light recognition unit group and a third light recognition unit group, the first light recognition unit group is disposed on the first flat plate, the second light recognition unit group is disposed on the second flat plate, the third light recognition unit group is disposed on the third flat plate, the first flat plate and the third flat plate are disposed on two sides of the second flat plate, the first flat plate and the second flat plate are fixedly connected, the third flat plate and the second flat plate are fixedly connected, the first flat plate and the second flat plate have an included angle, and the third flat plate and the second flat plate have an included angle greater than 90 degrees and smaller than 180 degrees.
Optionally, the plurality of light recognition units are composed of a first light recognition unit group, a second light recognition unit group and a third light recognition unit group, the first light recognition unit group is disposed on a first flat plate, the second light recognition unit group is disposed on a second flat plate, the third light recognition unit group is disposed on a third flat plate, the first flat plate and the third flat plate are located on two sides of the second flat plate, the first flat plate and the second flat plate are rotatably connected, and the third flat plate and the second flat plate are rotatably connected;
when the first flat plate and the third flat plate are in the unfolded state, fixing parts are arranged on the first flat plate and the third flat plate and are used for fixing the first flat plate and the third flat plate, so that the included angle between the first flat plate and the second flat plate and the included angle between the third flat plate and the second flat plate are larger than 90 degrees and smaller than 180 degrees;
when the first and third flat plates are in the accommodated state, the first and third flat plates are disposed in the accommodating grooves.
Optionally, the transmission power of the optical signals transmitted by the respective optical identification units is different.
The beneficial effects brought by the technical scheme provided by the embodiment of the application at least comprise:
when the scheme of the embodiment of the application is executed, the light signals are emitted through the plurality of light recognition units so as to project the virtual keyboard on the surface of the object; the plurality of light identification units and the plurality of keys in the virtual keyboard have one-to-one correspondence; receiving a light reflection signal formed when a user taps on the virtual keyboard through a light sensor, and detecting an energy value of the light emission signal; when the energy value of the light reflection signal is larger than the energy threshold value, identifying the key corresponding to the light identification unit where the light sensor is located as a target key; wherein the energy threshold is related to the light recognition unit where the light sensor is located. The light reflection signal that produces when this application passes through the light identification unit and receives the user and clicks the button to detect the energy value of light reflection signal, and then carry out the discernment of target button, reduced the hardware cost of laser projection keyboard, improved the accuracy of button discernment.
Drawings
In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings used in the description of the embodiments or the prior art will be briefly described below, it is obvious that the drawings in the following description are only some embodiments of the present invention, and for those skilled in the art, other drawings can be obtained according to the drawings without creative efforts.
Fig. 1 is a schematic flowchart of a key identification method based on a laser projection keyboard according to an embodiment of the present application;
fig. 2 is a schematic flowchart of a key identification method based on a laser projection keyboard according to an embodiment of the present application;
fig. 3 is a schematic diagram illustrating a principle of key identification of a key identification method based on a laser projection keyboard according to an embodiment of the present application;
fig. 4 is a schematic hardware structure diagram of a key identification device based on a laser projection keyboard according to an embodiment of the present application;
fig. 5 is a schematic projection diagram of a virtual keyboard of a key identification device based on a laser projection keyboard according to an embodiment of the present application;
fig. 6 is a schematic structural diagram of an optical recognition unit of a key recognition device based on a laser projection keyboard according to an embodiment of the present application;
fig. 7 is a schematic structural diagram of an optical recognition unit of a key recognition device based on a laser projection keyboard according to an embodiment of the present application;
fig. 8 is a schematic structural diagram of a flat panel of a key identification device based on a laser projection keyboard according to an embodiment of the present application;
fig. 9 is a schematic structural diagram of a flat panel of a key identification device based on a laser projection keyboard according to an embodiment of the present application.
Detailed Description
In order to make the objects, features and advantages of the embodiments of the present application more obvious and understandable, the technical solutions in the embodiments of the present application will be clearly and completely described below with reference to the drawings in the embodiments of the present application, and it is obvious that the described embodiments are only a part of the embodiments of the present application, and not all the embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present application.
When the following description refers to the accompanying drawings, like numbers in different drawings represent the same or similar elements unless otherwise indicated. The embodiments described in the following exemplary embodiments do not represent all embodiments consistent with the present application. Rather, they are merely examples of apparatus and methods consistent with certain aspects of the application, as detailed in the appended claims.
In the description of the present application, it is to be understood that the terms "first," "second," and the like are used for descriptive purposes only and are not to be construed as indicating or implying relative importance. The specific meaning of the above terms in the present application can be understood in a specific case by those of ordinary skill in the art.
In the following method embodiments, for convenience of description, only the main execution body of each step is taken as a processor in the laser keyboard recognition device for description.
Fig. 1 is a schematic flow chart of a key identification method based on a laser projection keyboard according to an embodiment of the present application. As shown in fig. 1, the method of the embodiment of the present application may include the steps of:
s101, emitting light signals through a plurality of light recognition units so as to project a virtual keyboard on the surface of an object, wherein the plurality of light recognition units and a plurality of keys in the virtual keyboard have a one-to-one correspondence relationship.
The light identification units may be configured to emit light signals and detect energy values of light reflection signals, each light identification unit may include two light emitters and one light sensor, the light emitters may be configured to emit light signals, and the light sensors may be configured to detect energy values of light reflection signals. Each light identification unit corresponds to a unique key on the virtual keyboard, and the plurality of identification units and the plurality of keys on the virtual keyboard have one-to-one correspondence.
And S102, receiving a light reflection signal formed when a user taps on the virtual keyboard through a light sensor, and detecting the energy value of the light reflection signal.
Generally, each key is an effective information energy point, the effective information energy point is formed by converging light rays emitted by two light emitters at one point, when a user clicks a key on a virtual keyboard on the surface of an object, light of the effective information energy point where the key is located can be reflected to a light sensor, and the light sensor receives a light reflection signal of the effective information energy point formed by the user clicking the key to detect the energy value of the light reflection signal. The energy value of the light reflection signal can be detected, a plurality of energy sampling values can be collected within a preset time period, and when the mean square error of the plurality of energy sampling values is smaller than the mean square error threshold value, the average value of the plurality of energy sampling values is used as the energy value of the light reflection signal.
And S103, when the energy value of the light reflection signal is greater than the energy threshold value, identifying the key corresponding to the light identification unit where the light sensor is located as a target key.
The energy threshold value is related to the light identification units where the light sensors are located, and each light identification unit corresponds to one energy threshold value.
Generally, after an energy value of a light reflection signal is detected by a light sensor, the energy value is compared with an energy threshold of a light recognition unit corresponding to the light sensor, and when the energy value is determined to be greater than the energy threshold, a key corresponding to the light recognition unit where the light sensor is located is recognized as a target key.
When the scheme of the embodiment of the application is executed, the light signals are emitted through the plurality of light recognition units so as to project the virtual keyboard on the surface of the object; the plurality of light identification units and the plurality of keys in the virtual keyboard have one-to-one correspondence; receiving a light reflection signal formed when a user taps on the virtual keyboard through a light sensor, and detecting an energy value of the light emission signal; when the energy value of the light reflection signal is larger than the energy threshold value, identifying the key corresponding to the light identification unit where the light sensor is located as a target key; wherein the energy threshold is related to the light recognition unit where the light sensor is located. The light reflection signal that produces when this application passes through the light identification unit and receives the user and clicks the button to detect the energy value of light reflection signal, and then carry out the discernment of target button, reduced the hardware cost of laser projection keyboard, improved the accuracy of button discernment.
Please refer to fig. 2, which is a flowchart illustrating a key identification method based on a laser projection keyboard according to an embodiment of the present disclosure. As shown in fig. 2, the method of the embodiment of the present application may include the steps of:
s201, emitting light signals through a plurality of light recognition units so as to project a virtual keyboard on the surface of an object, wherein the plurality of light recognition units and a plurality of keys in the virtual keyboard have a one-to-one correspondence relationship.
The light identification units may be configured to emit light signals and detect energy values of light reflection signals, each light identification unit may include two light emitters and one light sensor, the light emitters may be configured to emit light signals, and the light sensors may be configured to detect energy values of light reflection signals. Each light identification unit corresponds to a unique key on the virtual keyboard, and the plurality of identification units and the plurality of keys on the virtual keyboard have one-to-one correspondence.
S202, receiving a light reflection signal formed when a user taps on the virtual keyboard through a light sensor, and collecting a plurality of energy sampling values within a preset time length.
Generally, each key is located at a convergence point of optical signals emitted by two light emitters, the convergence point is called an effective information energy point, when a finger of a user is placed on the key, light of the effective information energy point is reflected to the light sensor, the light sensor receives a light reflection signal, and the light sensor converts the light signal into an electric signal. In the embodiment of the present application, a photodiode can be used as the light sensor, and the photodiode is operated under the reverse voltage. In the absence of illumination, the reverse current is small (typically less than 0.1 microampere), referred to as dark current. When light is irradiated, photons carrying energy enter the PN junction, and then the energy is transferred to bound electrons on the covalent bonds, so that part of the electrons break away from the covalent bonds, and electron hole pairs are generated and called as photon-generated carriers. They participate in the drift motion under the action of reverse voltage, so that the reverse current is obviously increased, and the higher the intensity of light, the larger the reverse current is. This property is called "photoconductivity". Under the irradiation of light with general illumination, the current generated by the photodiode is called photocurrent, and the photocurrent changes with the change of light intensity, so that the change of light signals can be converted into the change of current and voltage. In this case, acquiring a plurality of energy sampling values may be understood as acquiring a plurality of current values or voltage values within a preset time period.
And S203, when the mean square error of the plurality of energy sampling values is smaller than the mean square error threshold value, taking the average value of the plurality of energy sampling values as the energy value of the light reflection signal, and detecting whether the energy value is larger than the energy threshold value.
It will be appreciated that the energy sample value may be a current value or a voltage value after the optical signal is converted into an electrical signal, and then the energy threshold value may be a current threshold value or a voltage threshold value. And when the mean square error of the current value is smaller than a mean square error threshold value or the mean square error of the voltage value is smaller than a mean square error threshold value, the mean value of the current value or the mean value of the voltage value is used as an energy value of the light reflection signal, and whether the mean value of the current value is larger than the current threshold value or whether the mean value of the voltage value is larger than the voltage threshold value or not is detected. When the mean square deviation of the current values is greater than the mean square deviation threshold value or the mean square deviation of the voltage values is greater than the mean square deviation threshold value, it is indicated that the plurality of current values or the plurality of voltage values have larger differences, the light reflection signal in the preset time period is unstable, the energy sampling value cannot be calculated according to the plurality of current values or the plurality of voltage values, the plurality of current values or the plurality of voltage values in the next preset time period can be collected, and the energy sampling value can be calculated according to the latest plurality of current values or the plurality of voltage values.
S204, when the energy value of the light reflection signal is greater than the energy threshold and the duration is greater than the first time threshold, identifying the key corresponding to the light identification unit where the light sensor is located as the target key.
In the application, only when the energy value of the light reflection signal is greater than the energy threshold and the duration is greater than the first duration threshold, the key corresponding to the light identification unit where the light sensor is located can be identified as the target key, so that the situation that a user mistakenly touches the key in the key knocking process to cause wrong key identification can be avoided. It is understood that the light sensor may be instructed to monitor when the energy value of the light reflection signal is not greater than the energy threshold.
Specifically, referring to the schematic diagram of the identification of the target key shown in fig. 3, the identification unit corresponding to key a is composed of a light emitter 301, a light sensor 302 and a light emitter 303, the identification unit corresponding to key B is composed of a light emitter 305, a light sensor 306 and a light emitter 307, and the identification unit corresponding to key C is not shown in fig. 3. As can be seen from fig. 3, Edge Emitting Lasers (EEL) of different identification units may also form a convergence point, and may also fall on a certain key to form false triggering, where the key C is the case, light signals emitted by the light emitters 301 and 303 converge at the position of the key a, light signals emitted by the light emitters 305 and 307 converge at the position of the key B, light signals emitted by the light emitters 301 and 307 converge at the position of the key C, the position of the key a is an effective information energy point of the light identification unit corresponding to the key a, and the position of the key B is an effective information energy point of the light identification unit corresponding to the key B. The position of the key C is an effective information energy point of the optical identification unit corresponding to the key C, the relative distance is fixed because the positions of each identification unit and the corresponding key are fixed, the obtained energy feedback is also fixed, the distance of the position of the obvious key C is far greater than the distance of the effective information energy point, the distances are different, the energy values fed back to the PD are different, and the system judges that the system is an ineffective information energy point.
And S205, playing the target key prompt tone corresponding to the target key through the sound unit.
Wherein the target key prompt tone is used for prompting the user that the target key is successfully pressed. For the target key prompt tone of each key, all keys may share one prompt tone, part of keys may share one prompt tone, or each different key may correspond to a different prompt tone, which is not limited in this embodiment of the present application. After the target key hit by the user is identified, the target key prompt tone associated with the target key is acquired, and the target key prompt tone corresponding to the target key is played through the sound unit.
And S206, calculating the time length when the light sensor does not receive the light reflection signal, and indicating the plurality of light identification units to stop working when the time length is greater than a second time length threshold value.
Generally, the time length during which the light sensor does not receive the light reflection signal can be calculated through a timer, and when the time length is judged to be greater than the second time length threshold, it indicates that the user does not tap a key within the second time length threshold, which can indicate that the user does not need to perform keyboard input at present, and can indicate that the light identification unit stops working. It can be understood that, at this time, all the light recognition units may be instructed to stop working, that is, stopping projecting the virtual keyboard on the surface of the object, and when the user uses the virtual keyboard again, the light recognition units may be enabled to resume working by turning on the power switch, and the virtual keyboard area is projected on the surface of the object; and when a user clicks a key projected by the optical identification unit, other optical identification units which stop working can resume working, and the virtual keyboard is projected on the surface of the object continuously. According to the method, when the user does not use the virtual keyboard temporarily, the effect of saving electricity is achieved.
And S207, when the energy value of the light reflection signal is not greater than the energy threshold value, indicating the light sensor to continue monitoring.
Generally, for the energy value of the received light reflection signal of each light sensor, when it is detected that the energy value of the light reflection signal is less than or equal to the energy threshold, it indicates that the light reflection signal received by the light sensor is not the light signals emitted by the two light emitters of the light identification unit where the light sensor is located at the time, and is a point where the light signals emitted by the light emitters of different identification units converge, at this time, the light sensor may be instructed to continue monitoring, receive the light reflection signal, and further, steps S202 to S207 in fig. 3 are performed.
And S208, determining the current residual capacity, determining the corresponding emission power reduction amount according to the residual capacity when the residual capacity is smaller than the capacity threshold, and adjusting the current emission power of each light identification unit based on the emission power reduction amount.
Generally, the power supply may be switched on from the laser keyboard projection apparatus, the current remaining power amount may be monitored after the virtual keyboard is projected on the surface of the object, when the remaining power amount is smaller than the power amount threshold, the corresponding reduction amount of the emission power may be calculated according to the remaining power amount, the emission power of each of the identification units is different, and the current emission power of each of the light identification units is adjusted by the corresponding reduction amount based on the reduction amount of the emission power.
When the scheme of the embodiment of the application is executed, the light signals are emitted through the plurality of light recognition units so as to project the virtual keyboard on the surface of the object; the plurality of light identification units and the plurality of keys in the virtual keyboard have one-to-one correspondence; receiving a light reflection signal formed when a user taps on the virtual keyboard through a light sensor, and detecting an energy value of the light emission signal; when the energy value of the light reflection signal is larger than the energy threshold value, identifying the key corresponding to the light identification unit where the light sensor is located as a target key; wherein the energy threshold is related to the light recognition unit where the light sensor is located. The light reflection signal that produces when this application passes through the light identification unit and receives the user and clicks the button to detect the energy value of light reflection signal, and then carry out the discernment of target button, reduced the hardware cost of laser projection keyboard, improved the accuracy of button discernment.
Fig. 4 is a schematic diagram of a hardware structure of a key identification device based on a laser projection keyboard according to an embodiment of the present application. As shown in fig. 4, the key recognition apparatus based on the laser projection keyboard may include a processor, a memory, a plurality of light recognition units including at least one light emitter and at least one light receiver;
a memory for storing a computer program;
a processor for invoking a computer program stored in the memory to perform the steps of:
transmitting light signals through a plurality of light recognition units so as to project a virtual keyboard on the surface of an object; the plurality of light identification units and the plurality of keys in the virtual keyboard have one-to-one correspondence;
in particular, the optical identification units may be configured to emit an optical signal and to detect an energy value of the optical reflection signal, and each optical identification unit may include at least one optical transmitter and at least one optical receiver, the optical transmitter being configured to emit the optical signal and the optical receiver being configured to detect the energy value of the optical reflection signal. Each light identification unit corresponds to a unique key on the virtual keyboard, and the plurality of identification units and the plurality of keys on the virtual keyboard have one-to-one correspondence. As shown in fig. 5, the virtual keyboard 510 projected on the surface of the object by the key recognition device 500 based on the laser projection keyboard is provided with other hardware devices such as a memory, a processor, and an optical recognition unit, etc. the key recognition device 500 based on the laser projection keyboard is provided with the virtual keyboard.
And receiving a light reflection signal formed when a user taps on the virtual keyboard through a light sensor, and detecting the energy value of the light reflection signal.
Specifically, the light reflection signal is a light signal reflected to the light receiver when the user clicks a key with a finger. Because each key has a corresponding effective information energy point, the effective information energy point is formed by converging light rays emitted by two light emitters at one point, when a user clicks the key on a virtual keyboard on the surface of an object, the light of the effective information energy point where the key is positioned can be reflected to a light receiver, and the light receiver receives a light reflection signal of the effective information energy point formed by the user clicking the key to detect the energy value of the light reflection signal. When the energy value of the light reflection signal is detected, a plurality of energy sampling values can be collected within a preset time period, and when the mean square error of the plurality of energy sampling values is smaller than the mean square error threshold value, the average value of the plurality of energy sampling values is used as the energy value of the light reflection signal. It can be understood that, the optical receiver converts the optical signal into the electrical signal, and represents the energy value of the optical reflection signal in the form of a current value or a voltage value, in this application, the optical receiver may employ a photodiode, and the photodiode may convert the optical signal into the current value or the voltage value in the circuit, so that a plurality of current values or voltage values may be collected within a preset time period, and then a current mean value or a voltage mean value is calculated, and when the mean square deviation of the current is smaller than the mean square deviation threshold or the mean square deviation of the voltage is smaller than the mean square deviation threshold, the current mean value or the voltage mean value is taken as the final energy value of the optical reflection signal.
When the energy value of the light reflection signal is larger than the energy threshold value, identifying the key corresponding to the light identification unit where the light sensor is located as a target key; the energy threshold is related to the light identification units where the light sensors are located, and each light identification unit corresponds to one energy threshold.
Specifically, after the energy value of the light reflection signal is detected by the light sensor, the energy value is compared with the energy threshold of the light identification unit corresponding to the light sensor, and when the energy value is determined to be greater than the energy threshold, the key corresponding to the light identification unit where the light sensor is located is identified as the target key.
It can be understood that the energy value and the energy threshold value are compared because not only the light rays emitted by two light emitters of the same identification unit are converged at one point, but also the light rays emitted by two light emitters in different light identification units are converged at one point, and at this time, whether the key corresponding to the light identification unit is used as the target key can be determined by judging the energy value, because the light identification unit and the effective information energy point are also in one-to-one correspondence, the position of the effective information energy point is determined, the relative distance between the light identification unit and the effective information energy point is also fixed, and then the energy value corresponding to the effective information energy point is also fixed.
In a possible embodiment, as shown in the schematic structural diagram of the light recognition unit 600 shown in fig. 6, each light recognition unit may include: the light recognition unit comprises a first light emitter 601, a second light emitter 603 and a light receiver 602, wherein the first light emitter 601 and the second light emitter 603 can be respectively arranged at two sides of the light receiver 602, and the intersection of the light signal emitted by the first light emitter 601 and the light signal emitted by the second light emitter 603 is positioned on the corresponding key of the light recognition unit 600. When a user presses a key corresponding to the identification unit 600 with a finger, a light reflection signal is generated, and the light receiver 602 is configured to receive the light reflection signal, and further, may detect an energy value generated by the light reflection signal lock, compare the energy value with an energy threshold, and identify the key as a target key when the energy value is greater than the energy threshold and the duration is greater than a first preset duration.
In a possible embodiment, as shown in fig. 7, the light identification unit 700, the light identification unit 701 and the light identification unit 702 are schematically configured, the first light emitter 701 and the second light emitter 703 in the light identification unit 700 may be symmetrically disposed on two sides of the light receiver 702 at a distance from the top of the light receiver 702, and the first light emitter 701, the second light emitter 703 and the light receiver 702 are located on the same plane, which is perpendicular to the horizontal plane; the first and second optical transmitters 711 and 713 in the optical recognition unit 710 may be symmetrically disposed at both sides that are not at the same horizontal line as the optical receiver 712 but are at a distance below the optical receiver 712, and the first and second optical transmitters 711 and 713 and the optical receiver 712 are located on the same plane, which is perpendicular to the horizontal plane; the first light emitter 721 and the second light emitter 723 in the light recognition unit 720 may be symmetrically disposed on the same horizontal line of the light receiver 722 at two sides farthest from the left and right, and the first light emitter 721, the second light emitter 723 and the light receiver 722 are located on the same plane, which is perpendicular to the horizontal plane.
In a possible embodiment, as shown in the structural diagram of the flat plate 800 shown in fig. 8, a plurality of light recognition units may be disposed on the same plane, the number of light recognition units in fig. 7 is only exemplary, and in the process of practical application, the number may be set according to the number of keys. The optical recognition unit 801, the optical recognition unit 802, the optical recognition unit 803, and the optical recognition unit 804 may be disposed on a plane on which the flat panel 800 is located.
In a possible embodiment, as shown in fig. 9, the key identification device based on the laser projection keyboard may include a plurality of light identification units, which are composed of a first light identification unit group, a second light identification unit group, and a third light identification unit group, the number of light identification units in fig. 9 is only exemplary, and in the process of practical application, the number of light identification units may be set according to the number of keys. The first light recognition unit group is disposed on the first flat plate 910, the second light recognition unit group is disposed on the second flat plate 920, the third light recognition unit group is disposed on the third flat plate 930, the first flat plate 910 and the third flat plate 930 are disposed on two sides of the second flat plate 920, the first flat plate 910 is fixedly connected to the second flat plate 920, the third flat plate 930 is fixedly connected to the second flat plate 920, an included angle between the first flat plate 910 and the second flat plate 920 is larger than 90 degrees and smaller than 180 degrees, and an included angle between the third flat plate 930 and the second flat plate 920 is smaller than 180 degrees.
In a possible embodiment, as shown in fig. 9, the key identification device based on the laser projection keyboard may include a plurality of light identification units, which are composed of a first light identification unit group, a second light identification unit group, and a third light identification unit group, the number of light identification units in fig. 9 is only exemplary, and in the process of practical application, the number of light identification units may be set according to the number of keys. The first light recognition unit group is arranged on the first flat plate 910, the second light recognition unit group is arranged on the second flat plate 920, the third light recognition unit group is arranged on the third flat plate 930, the first flat plate 910 and the third flat plate 930 are positioned at two sides of the second flat plate 920, the first flat plate 910 is rotatably connected with the second flat plate 920, and the third flat plate 930 is rotatably connected with the second flat plate 920;
when the first and third flat plates 910 and 930 are in the unfolded state, fixing members are disposed on the first and third flat plates 910 and 930, and are used to fix the first and third flat plates 910 and 920, so that an included angle between the first and second flat plates 910 and 920, and an included angle between the third and second flat plates 930 and 920 are greater than 90 degrees and less than 180 degrees;
when the first and third flat plates 910 and 930 are in the receiving state, the first and third flat plates 910 and 930 are disposed in the receiving groove.
In a possible embodiment, the emission power of the light signals emitted by the individual light detection units is different.
When the scheme of the embodiment of the application is executed, the light signals are emitted through the plurality of light recognition units so as to project the virtual keyboard on the surface of the object; the plurality of light identification units and the plurality of keys in the virtual keyboard have one-to-one correspondence; receiving a light reflection signal formed when a user taps on the virtual keyboard through a light sensor, and detecting an energy value of the light emission signal; when the energy value of the light reflection signal is larger than the energy threshold value, identifying the key corresponding to the light identification unit where the light sensor is located as a target key; wherein the energy threshold is related to the light recognition unit where the light sensor is located. The light reflection signal that produces when this application passes through the light identification unit and receives the user and clicks the button to detect the energy value of light reflection signal, and then carry out the discernment of target button, reduced the hardware cost of laser projection keyboard, improved the accuracy of button discernment.
It will be understood by those skilled in the art that all or part of the processes of the methods of the embodiments described above can be implemented by a computer program, which can be stored in a computer-readable storage medium, and when executed, can include the processes of the embodiments of the methods described above. The storage medium may be a magnetic disk, an optical disk, a read-only memory or a random access memory.
The above disclosure is only for the purpose of illustrating the preferred embodiments of the present application and is not to be construed as limiting the scope of the present application, so that the present application is not limited thereto, and all equivalent variations and modifications can be made to the present application.

Claims (11)

1. A key identification method based on a laser projection keyboard is characterized by comprising the following steps:
transmitting light signals through a plurality of light recognition units so as to project a virtual keyboard on the surface of an object; the plurality of light identification units and the plurality of keys in the virtual keyboard have one-to-one correspondence;
receiving a light reflection signal formed when a user taps on the virtual keyboard through a light sensor, and detecting an energy value of the light reflection signal;
when the energy value of the light reflection signal is larger than the energy threshold value, identifying the key corresponding to the light identification unit where the light sensor is located as a target key; wherein the energy threshold is related to an identification unit where the light sensor is located.
2. The method according to claim 1, wherein when the energy value of the light reflection signal is greater than the energy threshold, identifying the key corresponding to the light identification unit where the light sensor is located as the target key comprises:
playing a target key prompt tone corresponding to the target key through a sound unit; the target key prompt tone is used for prompting a user that the target key is successfully pressed.
3. The method of claim 1, wherein said detecting an energy value of said light reflection signal comprises:
collecting a plurality of energy sampling values within a preset time length;
and when the mean square error of the plurality of energy sampling values is smaller than a mean square error threshold value, taking the average value of the plurality of energy sampling values as the energy value of the optical reflection signal.
4. The method according to claim 1, wherein the identifying the key corresponding to the light identification unit where the light sensor is located as the target key when the energy value of the light reflection signal is greater than the energy threshold value comprises:
and when the energy value of the light reflection signal is greater than an energy threshold value and the duration is greater than a first duration threshold value, identifying the key corresponding to the light identification unit where the light sensor is located as a target key.
5. The method of claim 1, further comprising:
calculating the time length of the light sensor not receiving the light reflection signal;
and when the duration is greater than a second duration threshold, indicating the plurality of light identification units to stop working.
6. The method of claim 1, further comprising:
determining the current residual capacity;
when the residual electric quantity is smaller than an electric quantity threshold value, determining a corresponding transmission power reduction quantity according to the residual electric quantity;
adjusting the current transmission power of each light identification unit based on the transmission power reduction amount.
7. A key identification device based on a laser keyboard comprises a processor, a memory and a plurality of light identification units, wherein each light identification unit comprises at least one light emitter and at least one light receiver;
a memory for storing a computer program;
a processor for invoking a computer program stored in the memory to perform the steps of:
transmitting light signals through a plurality of light recognition units so as to project a virtual keyboard on the surface of an object; the plurality of light identification units and the plurality of keys in the virtual keyboard have one-to-one correspondence;
receiving a light reflection signal formed when a user taps on the virtual keyboard through a light sensor, and detecting an energy value of the light emission signal;
when the energy value of the light reflection signal is larger than the energy threshold value, identifying the key corresponding to the light identification unit where the light sensor is located as a target key; wherein the energy threshold is related to the light recognition unit where the light sensor is located.
8. The key identification device of claim 7 wherein each light identification unit comprises: the light identification device comprises a first light emitter, a second light emitter and a light receiver, wherein the first light emitter and the second light emitter are respectively arranged on two sides of the light receiver, and the intersection of a light signal emitted by the first light emitter and a light signal emitted by the second light emitter is positioned on a key corresponding to the light identification unit.
9. The key identification device of claim 7, wherein the first light emitter and the second light emitter are symmetrically disposed on two sides of the light receiver, and the first light emitter, the second light emitter and the light receiver are disposed on a same plane, which is perpendicular to a projection plane of the virtual keyboard.
10. The apparatus according to claim 7, wherein the plurality of light recognition units are composed of a first light recognition unit group, a second light recognition unit group and a third light recognition unit group, the first light recognition unit group is disposed on a first plate, the second light recognition unit group is disposed on a second plate, the third light recognition unit group is disposed on a third plate, the first plate and the third plate are disposed on two sides of the second plate, the first plate and the second plate are fixedly connected, the third plate and the second plate are fixedly connected, and an included angle between the first plate and the second plate and an included angle between the third plate and the second plate are greater than 90 degrees and smaller than 180 degrees.
11. The key identification device of claim 7, wherein the plurality of light identification units are composed of a first light identification unit group, a second light identification unit group and a third light identification unit group, the first light identification unit group is disposed on a first plate, the second light identification unit group is disposed on a second plate, the third light identification unit group is disposed on a third plate, the first plate and the third plate are disposed on two sides of the second plate, the first plate and the second plate are rotatably connected, and the third plate and the second plate are rotatably connected;
when the first flat plate and the third flat plate are in the unfolded state, fixing parts are arranged on the first flat plate and the third flat plate and are used for fixing the first flat plate and the third flat plate, so that the included angle between the first flat plate and the second flat plate and the included angle between the third flat plate and the second flat plate are larger than 90 degrees and smaller than 180 degrees;
when the first and third flat plates are in the accommodated state, the first and third flat plates are disposed in the accommodating grooves.
CN202010854376.4A 2020-08-21 2020-08-21 Key identification method and device based on laser projection keyboard Pending CN112083831A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202010854376.4A CN112083831A (en) 2020-08-21 2020-08-21 Key identification method and device based on laser projection keyboard

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202010854376.4A CN112083831A (en) 2020-08-21 2020-08-21 Key identification method and device based on laser projection keyboard

Publications (1)

Publication Number Publication Date
CN112083831A true CN112083831A (en) 2020-12-15

Family

ID=73729595

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202010854376.4A Pending CN112083831A (en) 2020-08-21 2020-08-21 Key identification method and device based on laser projection keyboard

Country Status (1)

Country Link
CN (1) CN112083831A (en)

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
TW201110000A (en) * 2009-09-15 2011-03-16 Hon Hai Prec Ind Co Ltd Display system for displaying virtual keyboard and method thereof
CN102591464A (en) * 2012-01-13 2012-07-18 吴岳忠 Laser virtual keyboard
CN108153428A (en) * 2018-01-26 2018-06-12 哨鸟(深圳)前海科技有限公司 Laser-projection keyboard and its implementation
WO2019018992A1 (en) * 2017-07-24 2019-01-31 深圳市柔宇科技有限公司 Gesture recognition method, head-wearable device, and gesture recognition apparatus
CN208622282U (en) * 2018-03-16 2019-03-19 吕红梅 A kind of novel display board of psychology education
CN109558062A (en) * 2018-03-29 2019-04-02 广州小狗机器人技术有限公司 A kind of determination method and apparatus of interactive placement
CN110087289A (en) * 2019-04-16 2019-08-02 深圳市博实结科技有限公司 Communication module control method, device, computer equipment and storage medium

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
TW201110000A (en) * 2009-09-15 2011-03-16 Hon Hai Prec Ind Co Ltd Display system for displaying virtual keyboard and method thereof
CN102591464A (en) * 2012-01-13 2012-07-18 吴岳忠 Laser virtual keyboard
WO2019018992A1 (en) * 2017-07-24 2019-01-31 深圳市柔宇科技有限公司 Gesture recognition method, head-wearable device, and gesture recognition apparatus
CN108153428A (en) * 2018-01-26 2018-06-12 哨鸟(深圳)前海科技有限公司 Laser-projection keyboard and its implementation
CN208622282U (en) * 2018-03-16 2019-03-19 吕红梅 A kind of novel display board of psychology education
CN109558062A (en) * 2018-03-29 2019-04-02 广州小狗机器人技术有限公司 A kind of determination method and apparatus of interactive placement
CN110087289A (en) * 2019-04-16 2019-08-02 深圳市博实结科技有限公司 Communication module control method, device, computer equipment and storage medium

Similar Documents

Publication Publication Date Title
JP6578006B2 (en) Detector for optically determining the position of at least one object
JP2021099365A (en) Three dimensional lidar system with targeted field of view
EP3715904B1 (en) Time of flight assembly, terminal device and control method for time of flight assembly
US11340340B2 (en) LiDAR apparatus and operating method thereof
TWI512573B (en) Methods and apparatus for sensing touch events on a display
JP2000146538A (en) Identification apparatus for three dimensional object
US9885803B2 (en) Translucent object presence and condition detection based on detected light intensity
US8907264B2 (en) Motion and simple gesture detection using multiple photodetector segments
CN110501713A (en) Distance measuring equipment and method
US9544634B2 (en) Method, system, and related device for operating display device
CN106775520A (en) Mobile terminal and bright screen method
CN112083831A (en) Key identification method and device based on laser projection keyboard
US6504526B1 (en) Wireless pointing system
TW202033135A (en) Seat cushion
CN106681528A (en) Air mouse, air mouse control system and infrared positioning method of air mouse
JPH03200941A (en) Range finder for camera
KR20190132186A (en) Distance measuring device and method
CN106990859B (en) Optical touch system, optical touch device and touch detection method thereof
CN112209191A (en) Key triggering method and device
Xu et al. Contactless elevator call based on TOF laser ranging and floating image technologies
JP2002243438A (en) Optical detector
CN207650385U (en) A kind of light source detection system
CN114609687A (en) Photoelectric sensor for detecting transparent object and method for detecting transparent object
JP2807039B2 (en) Photoelectric switch
JP2014238392A (en) Reflector used in reflex mode detection device

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
CB02 Change of applicant information

Address after: 330096 No.699 Tianxiang North Avenue, Nanchang hi tech Industrial Development Zone, Nanchang City, Jiangxi Province

Applicant after: Jiangxi OMS Microelectronics Co.,Ltd.

Address before: 330096 Jiangxi Nanchang Nanchang hi tech Industrial Development Zone, east of six road, south of Tianxiang Avenue.

Applicant before: OFilm Microelectronics Technology Co.,Ltd.

CB02 Change of applicant information
WD01 Invention patent application deemed withdrawn after publication

Application publication date: 20201215

WD01 Invention patent application deemed withdrawn after publication