CN114428571A - Interaction method, computer equipment and computer readable storage medium - Google Patents

Interaction method, computer equipment and computer readable storage medium Download PDF

Info

Publication number
CN114428571A
CN114428571A CN202011181794.8A CN202011181794A CN114428571A CN 114428571 A CN114428571 A CN 114428571A CN 202011181794 A CN202011181794 A CN 202011181794A CN 114428571 A CN114428571 A CN 114428571A
Authority
CN
China
Prior art keywords
laser
key value
value information
position information
information
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN202011181794.8A
Other languages
Chinese (zh)
Inventor
司科研
赵德民
罗阳志
任贵斌
张发
任新伟
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Shenzhen TCL New Technology Co Ltd
Original Assignee
Shenzhen TCL New 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 Shenzhen TCL New Technology Co Ltd filed Critical Shenzhen TCL New Technology Co Ltd
Priority to CN202011181794.8A priority Critical patent/CN114428571A/en
Publication of CN114428571A publication Critical patent/CN114428571A/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

Abstract

The application relates to an interaction method, computer equipment and a computer readable storage medium, wherein the interaction method comprises the following steps: responding to the laser signal, and acquiring laser position information corresponding to the laser signal; the laser position information is information reflecting the position of the laser sensor receiving the laser signal; determining laser position information respectively corresponding to each key value information according to the laser position information and the key value information corresponding to the laser signal; and determining the operation corresponding to the laser signal according to the laser position information corresponding to each key value information so as to enable the terminal equipment to execute the operation. The method comprises the steps of obtaining laser position information corresponding to laser signals, determining laser position information corresponding to each key value information according to the laser position information and key value information corresponding to the laser signals, and then determining operation corresponding to the laser signals, so that the terminal equipment executes operation, distinguishing the laser position information through the key value information, determining operation corresponding to the laser signals, and finishing interaction based on the laser signals.

Description

Interaction method, computer equipment and computer readable storage medium
Technical Field
The present application relates to the field of interaction technologies, and in particular, to an interaction method, a computer device, and a computer-readable storage medium.
Background
The interaction refers to an information exchange process for completing a determined task between two or more interactive individuals in a certain interaction mode by using a certain dialogue language. The interactive individuals comprise: mobile devices, computers, projectors, printers, televisions, swipe cards, and the like. However, in the prior art, the interaction mode is limited to near-field interaction such as a touch screen and a touch pad, and far-field interaction cannot be realized.
Therefore, the prior art is in need of improvement.
Disclosure of Invention
The technical problem to be solved by the present invention is to provide an interaction method, a computer device, and a computer readable storage medium, aiming at solving the problem that the interaction mode in the prior art is limited to near field interaction and far field interaction cannot be realized.
In one aspect, an embodiment of the present invention provides an interaction method, including:
acquiring laser position information; the laser position information is information reflecting the position of the laser sensor receiving the laser signal;
determining laser position information respectively corresponding to each key value information according to the laser position information and the key value information corresponding to the laser signal;
and determining the operation corresponding to the laser signal according to the laser position information corresponding to each key value information so as to enable the terminal equipment to execute the operation.
In a second aspect, an embodiment of the present invention provides a computer device, including a memory and a processor, where the memory stores a computer program, and the processor implements the following steps when executing the computer program:
acquiring laser position information; the laser position information is information reflecting the position of the laser sensor receiving the laser signal;
determining laser position information respectively corresponding to each key value information according to the laser position information and the key value information corresponding to the laser signal;
and determining the operation corresponding to the laser signal according to the laser position information corresponding to each key value information so as to enable the terminal equipment to execute the operation.
In a third aspect, an embodiment of the present invention provides a computer-readable storage medium, on which a computer program is stored, where the computer program, when executed by a processor, implements the following steps:
acquiring laser position information; the laser position information is information reflecting the position of the laser sensor receiving the laser signal;
determining laser position information respectively corresponding to each key value information according to the laser position information and the key value information corresponding to the laser signal;
and determining the operation corresponding to the laser signal according to the laser position information corresponding to each key value information so as to enable the terminal equipment to execute the operation.
Compared with the prior art, the embodiment of the invention has the following advantages: the method comprises the steps of responding to a laser signal, obtaining laser position information corresponding to the laser signal, determining laser position information corresponding to each key value information according to the laser position information and key value information corresponding to the laser signal, and determining operation corresponding to the laser signal according to the laser position information corresponding to each key value information, so that the terminal equipment executes the operation.
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 described in 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 diagram of a display device according to an embodiment of the present invention;
FIG. 2 is a diagram illustrating an application scenario in an embodiment of the present invention;
FIG. 3 is a flow chart of an interaction method in an embodiment of the invention;
fig. 4 is an internal structural diagram of a computer device in an embodiment of the present invention.
Detailed Description
In order to make the technical solutions of the present invention better understood, the technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the drawings in the embodiments of the present invention, and it is obvious that the described embodiments are only a part of the embodiments of the present invention, and not all of the embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.
The inventor of the present invention has found that, based on the interaction induced by laser, for example, when the terminal device is controlled to execute the operation by irradiating the interactive individual terminal device with laser, the terminal device cannot distinguish the received laser signal, and when there is interference of other laser signals or when there are two or more laser signals, the interaction process cannot be completed. For example, a user touches the touch screen with the left hand and the right hand, and the touch screen can receive two touch operations of the left hand and the right hand, so as to realize interaction. In the interaction based on the laser sensing, when the terminal device receives two laser signals, the two laser signals cannot be distinguished, so that the interaction cannot be completed.
In order to solve the above problem, in the embodiment of the present invention, laser position information corresponding to a laser signal is obtained in response to the laser signal, laser position information corresponding to each key value information is determined according to the laser position information and key value information corresponding to the laser signal, and an operation corresponding to the laser signal is determined according to the laser position information corresponding to each key value information, so that the terminal device executes the operation.
In addition, because the laser signal is adopted for interaction, the method can be applied to the far field interaction process, and the characteristic that laser has directional light emission is utilized to realize accurate interaction.
The embodiment of the present invention can be applied to the following scenarios, as shown in fig. 2, the interaction method of the present invention is applied to an interaction system, and the interaction system includes: the laser control device 20 and the terminal device 10, the laser control device can emit a laser signal, after the laser control device sends the laser signal to the terminal device, the terminal device responds to the laser signal, obtains laser position information corresponding to the laser signal, determines laser position information corresponding to each key value information according to the laser position information and key value information corresponding to the laser signal, determines an operation corresponding to the laser signal according to the laser position information corresponding to each key value information, and the terminal device executes the operation.
It is to be understood that, in the application scenario described above, the actions of the embodiments of the present invention are described as being performed in part by the terminal device and in part by the laser controller, as shown in fig. 2. However, such actions may be performed entirely by the laser controller or entirely by the terminal device. The invention is not limited in its implementation to the details of execution, provided that the acts disclosed in the embodiments of the invention are performed. The terminal device 10 includes a desktop terminal or a mobile terminal, such as a desktop computer, a tablet computer, a notebook computer, a smart phone, a television, and the like. The laser controller 20 includes a laser infrared controller, such as a laser infrared remote controller, a laser infrared glove controller, a laser infrared head cover controller, etc., but other controllers are also possible, for example, one laser controller for each finger and one laser controller for each foot, that is, the laser controllers can be disposed at any position on the body.
It should be noted that the above application scenarios are only presented to facilitate understanding of the present invention, and the embodiments of the present invention are not limited in any way in this respect. Rather, embodiments of the present invention may be applied to any scenario where applicable.
Various non-limiting embodiments of the present invention are described in detail below with reference to the accompanying drawings.
Referring to fig. 1 and 3, an interaction method in an embodiment of the invention is shown. And the terminal equipment is provided with a laser sensor. The laser sensor is a device for sensing the laser signal, and in this embodiment, the laser sensor includes a plurality of laser sensing units, and when the laser signal emitted by the laser controller is received by the laser sensing units, the position of the laser signal irradiated on the laser sensor can be determined by the position of the laser sensing units in the laser sensor. Specifically, the laser sensor may adopt a laser sensing layer, and the laser sensing layer is disposed on the surface of the terminal device. For example, the terminal device is a display device, the laser sensing layer is located on a display panel surface of the display device, and when a user wants to control the display device, the laser controller may be used to send a laser signal and irradiate the laser sensing layer, so as to determine a position of the laser signal on the laser sensing layer, thereby controlling a control or an application of the position indicated by the laser signal on the display device.
In this embodiment, the interaction method may include the following steps:
s1, responding to the laser signal, and acquiring laser position information corresponding to the laser signal; the laser position information is information reflecting the position of the laser sensor receiving the laser signal.
Specifically, the interaction based on laser sensing is realized by using the characteristic of long laser range (the laser range can reach 10 kilometers). Because the laser is parallel light and has the characteristic of directional light emission, the laser has a long stroke, and when the laser is emitted to a far target, the change of the spot size of the laser is small, the change of the light intensity is small, and the laser can still be detected after being transmitted in a long distance, so the laser can be applied to far-field interaction. Far-field interaction refers to interaction at a distance, as opposed to near-field interaction, which typically refers to interaction within 10 meters, and far-field interaction refers to interaction over 10 meters. The laser position information is information reflecting a position at which the laser sensor receives the laser signal. When the laser signal is emitted to the laser sensor, the laser sensor senses the laser signal and receives the laser signal, so that laser position information corresponding to the laser signal is obtained.
For example, the number of the laser sensing units in the laser sensor is 1000 × 1000, so that 1000 × 1000 coordinates can be formed, each laser sensing unit represents one coordinate, an x-y coordinate system can be established, 1000 scales are arranged on an x coordinate axis, and 1000 scales are arranged on a y coordinate axis. When the laser sensing units in the 200 th row and the 300 th column receive the laser signal, the obtained laser position information is (200, 300), that is, the x coordinate of the laser signal is 200, and the y coordinate is 300. Specifically, as shown in fig. 1, two laser infrared remote controllers are adopted and respectively held by the left hand and the right hand, so that two laser position information can be obtained. The terminal device includes: a Field-Programmable Gate Array (FPGA). And laser position information corresponding to the laser signal can be determined through the FPGA.
It should be noted that, because a user holds the laser controller by hand, the laser controller is easy to move, the laser signal may also change, the laser signal is not received by only one laser sensing unit, but a plurality of laser sensing units all receive the laser signal, and then a series of coordinates of the laser signal may be obtained, that is, the laser position information may be a series of coordinate information. It is understood that the coordinate information of a series of laser signals is arranged in time sequence to form a track.
In one implementation of this embodiment, the laser signal may be a laser control signal emitted by a laser controller. When only one laser controller sends out the laser signal, the operation corresponding to the laser signal can be generated, for example, clicking operation, double-clicking operation, long-pressing operation, dragging operation and the like. The laser signal may also be a laser control signal sent by a plurality of laser controllers, as shown in fig. 1, the embodiment takes two laser controllers as an example for description.
The laser signals include a laser signal emitted by a first laser controller and a laser signal emitted by a second laser controller. For example, the laser control assembly includes at least two laser controllers, wherein the first laser controller and the second laser controller are two laser controllers in the laser control assembly. The first laser controller and the second laser controller may be remote controllers of a terminal device (e.g., a display device). The first laser controller may be operated by a left hand of a user and the second laser controller may be operated by a right hand of the user, thereby enabling left-right-hand far-field interaction. Of course, the laser control assembly may also include 3 laser controllers (e.g., a display device having three remote controllers, etc.), may also include 4 laser controllers, etc. Specifically, 10 laser controllers are adopted, each finger of the two hands of the user corresponds to one laser controller, and far-field interaction of each finger of the left hand and the right hand can be achieved.
In an implementation manner of this embodiment, a laser controller is used to emit a laser signal, the laser controller may be a semiconductor laser, the semiconductor laser converts electrical energy into optical energy, photons are released to generate optical energy by using the reduction of the electron energy level in the process of combining holes and electrons, and then the photons generate a propagation direction of resonance-normalized photons between the resonant cavities to form the laser signal. In addition, laser controllers include solid state lasers (e.g., ruby lasers, converting light energy to light energy at different wavelengths), gas lasers (e.g., carbon dioxide lasers), and chemical lasers (chemical energy converted to light energy). In particular, the laser signal comprises an infrared laser signal. The infrared laser signal can be generated by a laser infrared LED, the size of the laser infrared LED is small, the size of the laser infrared LED is in millimeter magnitude, the size of the light emitting chip is in hundred-micron magnitude, and the remote controller is convenient to manufacture and use. In addition, the laser may use visible light or ultraviolet light.
In an implementation manner of this embodiment, in order to further visualize the position of the laser signal, the terminal device is a display device, and the position of the laser signal is displayed through the display device, so as to realize visualization of the laser signal. Step S1, in response to the laser signal, acquiring laser position information corresponding to the laser signal, including:
s11, responding to a laser signal, acquiring laser position information corresponding to the laser signal, and determining display position information corresponding to the laser position information according to the laser position information; the display position information is information of a position of a display mark on the display device, and the display mark is an image that is displayed on the display device and is used for identifying the position of the laser signal.
Specifically, the display mark is an image displayed on the display device and used for identifying the position of the laser signal, and the position of the laser signal is identified by displaying the display mark in the display device, so that a user can observe the display mark to obtain the position of the laser signal. When a laser signal is irradiated on the laser sensor, the position of the laser signal on the laser sensor is obtained through the laser sensor, and then the laser position information is obtained, for example, the laser position information is (200, 300). As shown in fig. 1, a laser signal is irradiated on the laser sensor to form a laser spot, and since the distance is long and the size of the laser spot is small, the laser spot is difficult to see by human eyes, and more specifically, the laser position information is recognized, a display mark is displayed on the display device, and the position of the display mark on the display device corresponds to the position of the laser signal on the laser sensor, so that the display position information of the display mark corresponds to the laser position information of the laser signal.
In one implementation, the laser sensor adopts a laser sensing layer, the laser sensing layer is located on the front face of the display device, when a laser signal irradiates the laser sensing layer, the position of the laser signal can be obtained, and the display mark is located on an extension line of the laser signal, namely, the laser signal penetrates through the laser sensing layer and then irradiates on the display mark.
And determining display position information corresponding to the laser position information according to the laser position information, wherein the laser position information represents the position of a laser sensing unit which receives the laser signal on the laser sensor, and the display position information represents the position of a display mark on the display equipment. If the number of the laser sensing units on the laser sensor can be the same as the number of the pixels on the display device, that is, the resolution of the laser sensor is the same as the resolution of the display device, the laser sensing units on the laser sensor and the pixels on the display device have a one-to-one correspondence relationship. Of course, in other implementation manners, the number of the laser sensing units on the laser sensor may be different from the number of the pixels on the display device, that is, the resolution of the laser sensor is different from the resolution of the display device. For example, when the number of the laser sensing units on the laser sensor is less than the number of the pixels on the display device, one laser sensing unit corresponds to a plurality of adjacent pixels, and when the laser sensing unit receives the laser signal, the display mark is displayed on the plurality of adjacent pixels corresponding to the laser sensing unit.
As shown in fig. 1, the terminal device includes: and the SOC (System-on-a-Chip) Chip determines the laser position information corresponding to the laser signal through the FPGA, and can determine the display position information corresponding to the laser position information according to the laser position information, and the SOC Chip can display a display mark on the display panel according to the display position information.
S12, when the display position information is located in a preset area, the laser position information is effective laser position information; and using the effective laser position information as laser position information.
Specifically, when the laser signal points to the edge of the terminal device, the display position information is also located at the edge of the terminal device, and if the laser signal moves to the outside of the terminal device, the display mark still remains at the edge of the terminal device, so as to avoid that a user mistakenly thinks that the laser signal is still on the terminal device, and when the display position information is located in a preset area, the laser position information is effective laser position information; and when the display position information is positioned outside the preset area, the laser position information is invalid laser position information. The effective laser position information refers to laser position information playing a control role in the terminal equipment, and the ineffective laser position information refers to laser position information not playing a control role in the terminal equipment. And after the effective laser position information is determined, performing subsequent steps by taking the effective laser position information as laser position information. The preset region refers to a region preset on the terminal device, for example, the preset region is located in a left region, a middle region, or a right region of the terminal device, for example, as shown in fig. 2, a dotted line on the terminal device 10 is the preset region, and at this time, the preset region is located in the middle region of the terminal device. Of course, the preset area is located in a display area of the terminal device, and the display area refers to an area on the terminal device where an image is displayed.
For example, the terminal device is a display device, for example, the resolution of the display device is 1000 × 1000, the preset region may be 900 × 900, and 50 pixels away from the edge of the display device are located outside the preset region. For example, when the laser signal is irradiated at 30 pixels from the edge of the display device, the resulting laser position information is invalid laser position information. When the laser signal is irradiated at 100 pixels from the edge of the display device, the resulting laser position information is effective laser position information.
And S2, determining laser position information corresponding to each key value information respectively according to the laser position information and the key value information corresponding to the laser signals.
Specifically, the key value information is information reflecting a code of an operation instruction corresponding to the laser signal, a plurality of keys are arranged on the laser controller, different keys correspond to different key value information, and generally, each key has one-to-one corresponding key value information. Specifically, a transmitter of the laser controller encodes an electrical signal generated by the key to obtain an electrical signal carrying key value information, and then modulates (including frequency modulation and amplitude modulation) the electrical signal, converts the electrical signal into a laser signal carrying key value information, and sends the laser signal out. The laser sensing unit of the laser sensor receives the laser signal carrying the key value information, the laser signal is amplified and decoded to obtain an original electric signal, and the electric signal is subjected to power amplification to drive relevant electric elements on the terminal equipment, so that the control of the terminal equipment is realized.
Specifically, when the laser signal is sent by a laser controller, the laser signal corresponds to key value information. When the laser signal is sent by a plurality of laser controllers, the laser signal is provided with a plurality of key value information, and each key value information corresponds to laser position information respectively.
In an implementation manner of the embodiment of the present invention, step S2, determining, according to the laser position information and the key value information corresponding to the laser signal, the key value information corresponding to each of the laser position information respectively includes:
s21, determining key value information corresponding to the laser signal; and the number of the key value information corresponding to the laser signals is at least two.
And S22, determining the laser position information corresponding to the key value information according to the key value information and all the laser position information aiming at each key value information.
Specifically, the key value information corresponding to the laser signal may be determined according to the laser signal, for example, the laser signal may be generated by encoding in a manner of encoding and decoding when the laser controller generates the laser signal, so that the laser signal carries the key value information, and the laser sensor receives the laser signal and then decodes the laser signal to obtain the key value information corresponding to the laser signal.
The number of the key value information can be at least two, and for each key value information, the laser position information corresponding to the key value information can be determined according to the key value information and all the laser position information.
For example, when the laser signals are sent by the first laser controller and the second laser controller, the laser signals sent by the first laser controller and the laser signals sent by the second laser controller may respectively correspond to different key value information. According to the laser signal sent by the first laser controller, the first key value information corresponding to the laser signal can be determined, and therefore the first laser position information corresponding to the first key value information is determined according to all the laser position information and the first key value information. According to the laser signal sent by the second laser controller, the second key value information corresponding to the laser signal can be determined, so that the second laser position information corresponding to the second key value information is determined according to all the laser position information and the second key value information.
For example, the laser position information corresponding to the laser signals emitted by the first laser controller and the second laser controller is (200, 300), (300, 500). Although the laser position information can be obtained, it is not possible to distinguish whether the laser position information belongs to the laser signal emitted by the first laser controller or the second laser controller. When the laser signal is received, the key value information corresponding to the laser signal may be determined based on the laser signal, for example, if the key value information corresponding to the laser signal at the (200, 300) position is the first key value information, the laser position information corresponding to the first key value information is (200, 300), and if the key value information corresponding to the laser signal at the (300, 500) position is the second key value information, the laser position information corresponding to the second key value information is (300, 500).
It should be noted that, due to the movement of the laser controller, the laser position information may be a series of coordinates, for example, the laser position information is (200, 300), (201, 300), (202, 301), and the coordinates are arranged in time sequence, so that the coordinates can be connected into a continuous track in time sequence, and since the key value information corresponding to the laser position information of (200, 300) is the first key value information, the other coordinates ((201, 300), (202, 301)) generated by the laser signal correspond to the first key value information, that is, the first laser position information corresponding to the first key value information is (200, 300), (201, 300), (202, 301).
And S3, determining the operation corresponding to the laser signal according to the laser position information corresponding to each key value information, so that the terminal equipment executes the operation.
Specifically, the operation corresponding to the laser signal is determined according to the laser position information corresponding to each key value information. When only one piece of key value information is available, the operation corresponding to the laser signal can be determined according to the laser position information corresponding to the key value information, for example, when the laser position information is a coordinate within the preset time, the operation corresponding to the laser signal is clicking, and when the coordinate of the laser position information exceeds the preset time, the operation corresponding to the laser signal is long-pressing. And continuously generating two laser signals, wherein the laser position information corresponding to the two laser signals is the same coordinate, and the operation corresponding to the laser signals is double click. The laser position information corresponding to the laser signal is a series of continuous coordinates to form a track, and the operation corresponding to the laser signal is dragging, for example, an application icon on the terminal device may be moved.
In an implementation manner of this embodiment, when there are at least two pieces of key value information, step S3, determining, according to laser position information corresponding to each piece of key value information, an operation corresponding to the laser signal, includes:
s31, determining a laser track corresponding to the key value information according to the laser position information corresponding to the key value information aiming at each key value information; the laser track is formed by laser position information.
Specifically, the laser track refers to a track formed by the laser position information over time. Over time, the laser signal is not always on one coordinate, but is moved in a direction to obtain a series of coordinates to form a track, i.e., the laser track. Each key value information corresponds to a laser track respectively.
And S32, determining the operation corresponding to the laser signal according to the laser tracks respectively corresponding to the key value information, so that the terminal equipment executes the operation.
Specifically, according to the laser tracks respectively corresponding to the key value information, the operation corresponding to the laser signal is determined, so that the terminal device executes the operation. And if the laser tracks are different, the operations corresponding to the laser signals are also different, and the operations corresponding to the laser tracks can be defined according to requirements. For example, the operations include: an enlargement operation, a reduction operation, and a rotation operation. And when the two laser tracks are close to each other, the operation corresponding to the laser signal is a reduction operation. When the two laser tracks are far away from each other, the operation corresponding to the laser signal is amplification operation. When the two laser tracks rotate along the same direction by taking one point as a center, the operation corresponding to the laser signal is a rotating operation. The following description will be given by taking two pieces of key value information as an example, where the two pieces of key value information are the first key value information and the second key value information, respectively, and then the laser track corresponding to the first key value information and the laser track corresponding to the second key value information can be obtained.
In one implementation manner of this embodiment, the operation includes: and (5) amplifying operation. Step S32, determining an operation corresponding to the laser signal according to the laser trajectory corresponding to each key value information, including:
s321, when the distance between the real-time position of the laser track corresponding to the first key value information and the real-time position of the laser track corresponding to the second key value information increases, the operation corresponding to the laser signal is an amplifying operation.
Specifically, the real-time position of the laser track corresponding to the first key value information and the real-time position of the laser track corresponding to the second key value information at different times are determined, and when the distance between the real-time position of the laser track corresponding to the first key value information and the real-time position of the laser track corresponding to the second key value information increases, the operation corresponding to the laser signal is an amplification operation. It should be noted that the real-time position of the laser track corresponding to the first key value information and the real-time position of the laser track corresponding to the second key value information are real-time positions at the same time. That is, the laser track corresponding to the first key value information is far away from the laser track corresponding to the second key value information, and the operation corresponding to the laser signal is an amplification operation. It should be noted that, in an implementation manner, when the distance between the real-time position of the laser track corresponding to the first key value information and the real-time position of the laser track corresponding to the second key value information increases, it may be understood that the operation corresponding to the laser signal may be an amplification operation only when the increased distance between the real-time position of the laser track corresponding to the first key value information and the real-time position of the laser track corresponding to the second key value information is greater than a threshold value.
In one implementation manner of this embodiment, the operation includes: and (5) reducing operation. Step S32, determining an operation corresponding to the laser signal according to the laser trajectory corresponding to each key value information, including:
and S322, when the distance between the real-time position of the laser track corresponding to the first key value information and the real-time position of the laser track corresponding to the second key value information is reduced, the operation corresponding to the laser signal is a reduction operation.
Specifically, the real-time position of the laser track corresponding to the first key value information and the real-time position of the laser track corresponding to the second key value information at different times are determined, and when the distance between the real-time position of the laser track corresponding to the first key value information and the real-time position of the laser track corresponding to the second key value information is reduced, the operation corresponding to the laser signal is a reduction operation. It should be noted that the real-time position of the laser track corresponding to the first key value information and the real-time position of the laser track corresponding to the second key value information are real-time positions at the same time. That is, the laser track corresponding to the first key value information is close to the laser track corresponding to the second key value information, and the operation corresponding to the laser signal is a zoom-out operation. It should be noted that, in an implementation manner, when a distance between a real-time position of a laser track corresponding to the first key value information and a real-time position of a laser track corresponding to the second key value information decreases, it may be understood that the operation corresponding to the laser signal may be regarded as a reduction operation only when the decreased distance between the real-time position of the laser track corresponding to the first key value information and the real-time position of the laser track corresponding to the second key value information is greater than a threshold value.
In one implementation manner of this embodiment, the operation includes: and (4) rotating. Step S32, determining an operation corresponding to the laser signal according to the laser trajectory corresponding to each key value information, including:
step S323, when the distance between the real-time position of the laser track corresponding to the first key value information and the real-time position of the laser track corresponding to the second key value information is not changed, and the laser track corresponding to the first key value information and/or the laser track corresponding to the second key value information are arc tracks, determining that the operation corresponding to the laser signal is a rotation operation.
Specifically, for convenience of description, a laser infrared glove controller is taken as an example for description, the laser infrared glove controller includes a left glove and a right glove, key value information corresponding to a laser signal sent by the left glove is first key value information, and key value information corresponding to a laser signal sent by the right glove is second key value information. The rotation operation can be classified into the following three cases: firstly, the left glove is fixed, the left glove moves, and the laser track of the right glove is an arc track taking the position of the left glove as the center of a circle; the second, left and right gloves all move, the laser track of the right glove and the laser track of the gloved glove are located on the same circle (as shown in fig. 2); and the third glove, the left glove and the right glove all move, and the laser track of the right glove and the laser track of the gloves are respectively positioned on two concentric circles. Under the above three conditions, the distance between the real-time position of the laser track corresponding to the first key value information and the real-time position of the laser track corresponding to the second key value information is not changed (it should be noted that, in an implementation manner, when the distance between the real-time position of the laser track corresponding to the first key value information and the real-time position of the laser track corresponding to the second key value information is not changed, it can be understood that the distance between the real-time position of the laser track corresponding to the first key value information and the real-time position of the laser track corresponding to the second key value information is not changed when the change distance between the real-time position of the laser track corresponding to the first key value information and the real-time position of the laser track corresponding to the second key value information is smaller than a threshold value), and in the first case, the laser track corresponding to the second key value information is an arc track. In a second case and a third case, the laser track corresponding to the first key value information and the laser track corresponding to the second key value information are both arc tracks, and the difference between the second case and the third case is as follows: the radius of the laser track corresponding to the first key value information is different from the radius of the laser track corresponding to the second key value information. The rotation operation may be divided into clockwise rotation and counterclockwise rotation according to the rotation direction, for example, as shown in fig. 2, the rotation operation is clockwise rotation, and the user may perform the rotation operation as desired. It should be noted that the real-time position of the laser track corresponding to the first key value information and the real-time position of the laser track corresponding to the second key value information are real-time positions at the same time.
In summary, the present application relates to an interaction method, which is applied to a terminal device, wherein a laser sensor is disposed on the terminal device; the interaction method comprises the following steps: responding to a laser signal, and acquiring laser position information corresponding to the laser signal; the laser position information is information reflecting the position of the laser sensor receiving the laser signal; determining laser position information respectively corresponding to each key value information according to the laser position information and the key value information corresponding to the laser signal; and determining the operation corresponding to the laser signal according to the laser position information corresponding to each key value information so as to enable the terminal equipment to execute the operation. The laser position information corresponding to the laser signal is obtained in response to the laser signal, the laser position information corresponding to each key value information is determined according to the laser position information and the key value information corresponding to the laser signal, and the operation corresponding to the laser signal is determined according to the laser position information corresponding to each key value information, so that the terminal equipment executes the operation.
In one embodiment, the present invention provides a computer device, which may be a terminal, having an internal structure as shown in fig. 4. The computer device includes a processor, a memory, a network interface, a display screen, and an input device connected by a system bus. Wherein the processor of the computer device is configured to provide computing and control capabilities. The memory of the computer device comprises a nonvolatile storage medium and an internal memory. The non-volatile storage medium stores an operating system and a computer program. The internal memory provides an environment for the operation of an operating system and computer programs in the non-volatile storage medium. The network interface of the computer device is used for communicating with an external terminal through a network connection. The computer program is executed by a processor to implement the interaction method. The display screen of the computer equipment can be a liquid crystal display screen or an electronic ink display screen, and the input device of the computer equipment can be a touch layer covered on the display screen, a key, a track ball or a touch pad arranged on the shell of the computer equipment, an external keyboard, a touch pad or a mouse and the like.
It will be appreciated by those skilled in the art that the block diagram of FIG. 4 is only a partial block diagram of the structure associated with the inventive arrangements and is not intended to limit the computing devices to which the inventive arrangements may be applied, and that a particular computing device may include more or less components than those shown, or may have some components combined, or may have a different arrangement of components.
In one embodiment, there is provided a computer device comprising a memory and a processor, the memory storing a computer program, the processor implementing the following steps when executing the computer program:
responding to a laser signal, and acquiring laser position information corresponding to the laser signal; the laser position information is information reflecting the position of the laser sensor receiving the laser signal;
determining laser position information respectively corresponding to each key value information according to the laser position information and the key value information corresponding to the laser signal;
and determining the operation corresponding to the laser signal according to the laser position information corresponding to each key value information so as to enable the terminal equipment to execute the operation.
In one embodiment, a computer-readable storage medium is provided, having stored thereon a computer program which, when executed by a processor, performs the steps of:
responding to a laser signal, and acquiring laser position information corresponding to the laser signal; the laser position information is information reflecting the position of the laser sensor receiving the laser signal;
determining laser position information respectively corresponding to each key value information according to the laser position information and the key value information corresponding to the laser signal;
and determining the operation corresponding to the laser signal according to the laser position information corresponding to each key value information so as to enable the terminal equipment to execute the operation.
The technical features of the above embodiments can be arbitrarily combined, and for the sake of brevity, all possible combinations of the technical features in the above embodiments are not described, but should be considered as the scope of the present specification as long as there is no contradiction between the combinations of the technical features.

Claims (10)

1. An interaction method is characterized in that the interaction method is applied to terminal equipment, and a laser sensor is arranged on the terminal equipment; the interaction method comprises the following steps:
responding to a laser signal, and acquiring laser position information corresponding to the laser signal; the laser position information is information reflecting the position of the laser sensor receiving the laser signal;
determining laser position information respectively corresponding to each key value information according to the laser position information and the key value information corresponding to the laser signal;
and determining the operation corresponding to the laser signal according to the laser position information corresponding to each key value information so as to enable the terminal equipment to execute the operation.
2. The interaction method according to claim 1, wherein the determining, according to the laser position information and the key value information corresponding to the laser signal, the key value information corresponding to each of the laser position information, respectively, comprises:
determining key value information corresponding to the laser signal; at least two pieces of key value information corresponding to the laser signals are provided;
and aiming at each key value information, determining laser position information corresponding to the key value information according to the key value information and all the laser position information.
3. The interaction method according to claim 2, wherein the determining, according to the laser position information corresponding to each key value information, an operation corresponding to the laser signal so that the terminal device performs the operation includes:
for each piece of key value information, determining a laser track corresponding to the key value information according to the laser position information corresponding to the key value information; the laser track is formed by laser position information;
and determining the operation corresponding to the laser signal according to the laser tracks respectively corresponding to the key value information, so that the terminal equipment executes the operation.
4. The interaction method as claimed in claim 3, wherein the key value information is coded information reflecting an operation instruction corresponding to the laser signal, and the key value information includes: the key value of the first key value information is different from that of the second key value information.
5. The interaction method of claim 4, wherein the operations comprise: amplifying operation; determining the operation corresponding to the laser signal according to the laser tracks respectively corresponding to the key value information, wherein the operation comprises the following steps:
and when the distance between the real-time position of the laser track corresponding to the first key value information and the real-time position of the laser track corresponding to the second key value information is increased, determining that the operation corresponding to the laser signal is amplification operation.
6. The interaction method of claim 4, wherein the operations comprise: reducing operation; determining the operation corresponding to the laser signal according to the laser tracks respectively corresponding to the key value information, wherein the operation comprises the following steps:
and when the distance between the real-time position of the laser track corresponding to the first key value information and the real-time position of the laser track corresponding to the second key value information is reduced, determining that the operation corresponding to the laser signal is a reduction operation.
7. The interaction method of claim 4, wherein the operations comprise: rotating; determining the operation corresponding to the laser signal according to the laser tracks respectively corresponding to the key value information, wherein the operation comprises the following steps:
and when the distance between the real-time position of the laser track corresponding to the first key value information and the real-time position of the laser track corresponding to the second key value information is not changed, and the laser track corresponding to the first key value information and/or the laser track corresponding to the second key value information are arc tracks, determining that the operation corresponding to the laser signal is a rotating operation.
8. The interaction method according to any one of claims 1 to 7, wherein the terminal device is a display device; the obtaining of the laser position information corresponding to the laser signal in response to the laser signal includes:
responding to a laser signal, acquiring laser position information corresponding to the laser signal, and determining display position information corresponding to the laser position information according to the laser position information; the display position information is information of a position of a display mark on the display device, and the display mark is an image which is displayed on the display device and used for identifying the position of the laser signal;
when the display position information is located in a preset area, the laser position information is effective laser position information; and using the effective laser position information as laser position information;
and/or the laser signal comprises an infrared laser signal.
9. A computer device comprising a memory and a processor, the memory storing a computer program, characterized in that the processor realizes the steps of the interaction method of any one of claims 1 to 8 when executing the computer program.
10. A computer-readable storage medium, on which a computer program is stored, which, when being executed by a processor, carries out the steps of the interaction method according to any one of claims 1 to 8.
CN202011181794.8A 2020-10-29 2020-10-29 Interaction method, computer equipment and computer readable storage medium Pending CN114428571A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202011181794.8A CN114428571A (en) 2020-10-29 2020-10-29 Interaction method, computer equipment and computer readable storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202011181794.8A CN114428571A (en) 2020-10-29 2020-10-29 Interaction method, computer equipment and computer readable storage medium

Publications (1)

Publication Number Publication Date
CN114428571A true CN114428571A (en) 2022-05-03

Family

ID=81310335

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202011181794.8A Pending CN114428571A (en) 2020-10-29 2020-10-29 Interaction method, computer equipment and computer readable storage medium

Country Status (1)

Country Link
CN (1) CN114428571A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN116661656A (en) * 2023-08-02 2023-08-29 安科优选(深圳)技术有限公司 Picture interaction method and shooting display system

Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1746831A (en) * 2004-09-08 2006-03-15 上海迪比特实业有限公司 Interactive projection system
CN201118739Y (en) * 2007-11-22 2008-09-17 深圳市同洲电子股份有限公司 A remote controller
CN101387932A (en) * 2007-09-13 2009-03-18 夏普株式会社 Display system
CN102323868A (en) * 2011-10-26 2012-01-18 中国人民解放军国防科学技术大学 Man-machine multipoint interaction method and device based on infrared image
CN102622108A (en) * 2012-01-18 2012-08-01 深圳市中科睿成智能科技有限公司 Interactive projecting system and implementation method for same
CN103092432A (en) * 2011-11-08 2013-05-08 深圳市中科睿成智能科技有限公司 Trigger control method and system of man-machine interaction operating instruction and laser emission device
CN105912145A (en) * 2016-04-15 2016-08-31 武汉邮电科学研究院 Laser pen mouse system and image positioning method thereof
CN106960559A (en) * 2017-03-24 2017-07-18 微鲸科技有限公司 Screen display device, display content control method, remote control system and remote control thereof
CN109144375A (en) * 2018-10-09 2019-01-04 中天智领(北京)科技有限公司 A kind of screen control method and device

Patent Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1746831A (en) * 2004-09-08 2006-03-15 上海迪比特实业有限公司 Interactive projection system
CN101387932A (en) * 2007-09-13 2009-03-18 夏普株式会社 Display system
CN201118739Y (en) * 2007-11-22 2008-09-17 深圳市同洲电子股份有限公司 A remote controller
CN102323868A (en) * 2011-10-26 2012-01-18 中国人民解放军国防科学技术大学 Man-machine multipoint interaction method and device based on infrared image
CN103092432A (en) * 2011-11-08 2013-05-08 深圳市中科睿成智能科技有限公司 Trigger control method and system of man-machine interaction operating instruction and laser emission device
CN102622108A (en) * 2012-01-18 2012-08-01 深圳市中科睿成智能科技有限公司 Interactive projecting system and implementation method for same
CN105912145A (en) * 2016-04-15 2016-08-31 武汉邮电科学研究院 Laser pen mouse system and image positioning method thereof
CN106960559A (en) * 2017-03-24 2017-07-18 微鲸科技有限公司 Screen display device, display content control method, remote control system and remote control thereof
CN109144375A (en) * 2018-10-09 2019-01-04 中天智领(北京)科技有限公司 A kind of screen control method and device

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN116661656A (en) * 2023-08-02 2023-08-29 安科优选(深圳)技术有限公司 Picture interaction method and shooting display system
CN116661656B (en) * 2023-08-02 2024-03-12 安科优选(深圳)技术有限公司 Picture interaction method and shooting display system

Similar Documents

Publication Publication Date Title
CN104185831B (en) For the system and method using input unit dynamic regulation user-interface parameters
US8086971B2 (en) Apparatus, methods and computer program products providing finger-based and hand-based gesture commands for portable electronic device applications
US8199106B2 (en) Systems and methods of camera-based fingertip tracking
CN103092432B (en) The trigger control method of man-machine interactive operation instruction and system and laser beam emitting device
US11941207B2 (en) Touch control method for display, terminal device, and storage medium
US11752432B2 (en) Information processing device and method of causing computer to perform game program
KR101176104B1 (en) Interactive electric board system and management method using optical sensing pen
CN104166509A (en) Non-contact screen interaction method and system
US20010022575A1 (en) Input device for a computer
CN104932757A (en) Laser visual touch method and system
CN111443831A (en) Gesture recognition method and device
US20150153892A1 (en) Input device and input management method
CN114428571A (en) Interaction method, computer equipment and computer readable storage medium
US8749488B2 (en) Apparatus and method for providing contactless graphic user interface
CN103729131A (en) Human-computer interaction method and associated equipment and system
US20210157419A1 (en) Interface device and on-panel pad
JP2014123316A (en) Information processing system, information processing device, detection device, information processing method, detection method, and computer program
AU2011362920B2 (en) Method and device for generating image keyboard
CN114706487A (en) Character input method and device, electronic equipment and readable storage medium
US20100125196A1 (en) Ultrasonic Diagnostic Apparatus And Method For Generating Commands In Ultrasonic Diagnostic Apparatus
US20150062038A1 (en) Electronic device, control method, and computer program product
CN114415865A (en) Interaction method, computer equipment and computer readable storage medium
JP2002222054A (en) Pointing device
JPWO2013161245A1 (en) Display control system, display device, and display panel
CN109976652B (en) Information processing method and electronic equipment

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