CN112631495A - Interaction method based on laser induction, terminal equipment and computer readable storage medium - Google Patents

Interaction method based on laser induction, terminal equipment and computer readable storage medium Download PDF

Info

Publication number
CN112631495A
CN112631495A CN202011572795.5A CN202011572795A CN112631495A CN 112631495 A CN112631495 A CN 112631495A CN 202011572795 A CN202011572795 A CN 202011572795A CN 112631495 A CN112631495 A CN 112631495A
Authority
CN
China
Prior art keywords
coordinate information
coordinate
laser
display area
range
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
CN202011572795.5A
Other languages
Chinese (zh)
Inventor
张发
赵德民
罗阳志
任贵斌
司科研
任新伟
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
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 CN202011572795.5A priority Critical patent/CN112631495A/en
Publication of CN112631495A publication Critical patent/CN112631495A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/048Interaction techniques based on graphical user interfaces [GUI]
    • G06F3/0487Interaction techniques based on graphical user interfaces [GUI] using specific features provided by the input device, e.g. functions controlled by the rotation of a mouse with dual sensing arrangements, or of the nature of the input device, e.g. tap gestures based on pressure sensed by a digitiser
    • 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/033Pointing devices displaced or positioned by the user, e.g. mice, trackballs, pens or joysticks; Accessories therefor
    • G06F3/0354Pointing devices displaced or positioned by the user, e.g. mice, trackballs, pens or joysticks; Accessories therefor with detection of 2D relative movements between the device, or an operating part thereof, and a plane or surface, e.g. 2D mice, trackballs, pens or pucks
    • G06F3/03542Light pens for emitting or receiving light

Abstract

The invention discloses an interaction method based on laser induction, a terminal device and a computer readable storage medium, wherein the method comprises the following steps: acquiring first coordinate information of a laser spot; acquiring second coordinate information of the cursor according to the first coordinate information and a coordinate range of a preset display area, wherein the second coordinate information is in the coordinate range; and displaying the cursor according to the second coordinate information. The invention improves the intelligent degree of the terminal equipment.

Description

Interaction method based on laser induction, terminal equipment and computer readable storage medium
Technical Field
The present invention relates to the field of laser interaction technologies, and in particular, to an interaction method based on laser sensing, a terminal device, and a computer-readable storage medium.
Background
When controlling screen content through laser-induced interaction at present, because the range of laser pen is great, surpass the demonstration scope of screen very easily and lead to the cursor to lose to greatly increased user operation's the degree of difficulty, leaded to display device's intelligent degree low.
Disclosure of Invention
The embodiment of the invention aims to solve the technical problem of low intelligent degree of display equipment by providing an interaction method based on laser induction, terminal equipment and a computer readable storage medium.
The embodiment of the invention provides an interaction method based on laser induction, which is applied to terminal equipment and comprises the following steps:
acquiring first coordinate information of a laser spot;
acquiring second coordinate information of the cursor according to the first coordinate information and a coordinate range of a preset display area, wherein the second coordinate information is in the coordinate range;
and displaying the cursor according to the second coordinate information.
In an embodiment, the laser spot is formed by irradiating a laser beam emitted by a laser emitting device on a laser sensing layer of the terminal device, the first coordinate information is coordinate information of the laser spot in the laser sensing layer, the second coordinate information is coordinate information corresponding to the first coordinate information and located in a coordinate range of a preset display area, and the step of obtaining the second coordinate information of the cursor according to the first coordinate information and the coordinate range of the preset display area includes:
determining third coordinate information corresponding to the first coordinate information according to a first preset corresponding relation and the first coordinate information, wherein the first preset corresponding relation is a corresponding relation between the first coordinate information preset in the terminal equipment and the third coordinate information, and the third coordinate information is coordinate information which is in a coordinate range of the preset display area or out of the coordinate range of the preset display area and corresponds to the first coordinate information;
and acquiring second coordinate information of the cursor according to the third coordinate information and the coordinate range of the preset display area.
In an embodiment, the step of obtaining the second coordinate information of the cursor according to the third coordinate information and the coordinate range of the preset display area includes:
if the third coordinate information is in the coordinate range, taking the third coordinate information as second coordinate information of the cursor;
and if the third coordinate information is not in the coordinate range, adjusting the third coordinate information according to the boundary coordinate information of the coordinate range of the preset display area to obtain second coordinate information of the cursor.
In an embodiment, the boundary coordinate information of the coordinate range of the preset display area includes an abscissa limit value and an ordinate limit value of the coordinate range of the preset display area, and the step of adjusting the third coordinate information according to the boundary coordinate information of the coordinate range of the preset display area to obtain the second coordinate information of the cursor includes:
if the abscissa of the third coordinate information exceeds the abscissa limit value of the coordinate range, taking the exceeded abscissa limit value as the abscissa of the second coordinate information;
and if the ordinate of the third coordinate information exceeds the limit value of the ordinate of the coordinate range, taking the exceeded limit value of the ordinate as the ordinate of the second coordinate information.
In an embodiment, before the step of obtaining the second coordinate information of the cursor according to the first coordinate information and the coordinate range of the preset display area, the interaction method based on laser sensing further includes:
and acquiring resolution information of the terminal equipment, and determining the coordinate range of the preset display area according to the resolution information.
In an embodiment, after the step of displaying the cursor according to the second coordinate information, the method further includes:
acquiring an operation instruction aiming at the cursor;
and generating an interactive instruction according to the operation type corresponding to the operation instruction and the second coordinate information.
In an embodiment, the step of generating an interactive instruction according to the operation type corresponding to the operation instruction and the second coordinate information includes:
determining an operation type corresponding to the operation instruction;
determining a target object according to the second coordinate information;
and determining the interaction instruction according to the operation type and the target object.
An embodiment of the present invention further provides a terminal device, where the terminal device includes: the laser sensing layer, the memory, the processor and the laser sensing-based interaction program stored on the memory and capable of running on the processor, wherein the processor implements the steps of the laser sensing-based interaction method when executing the laser sensing-based interaction program.
An embodiment of the present invention further provides a computer-readable storage medium, where the computer-readable storage medium stores a laser sensing-based interaction program, and when the laser sensing-based interaction program is executed by a processor, the steps of the laser sensing-based interaction method are implemented as described above.
In the technical scheme of the embodiment, the terminal equipment acquires first coordinate information of a laser spot; acquiring second coordinate information of the cursor according to the first coordinate information and a coordinate range of a preset display area, wherein the second coordinate information is in the coordinate range; and displaying the cursor according to the second coordinate information. Because terminal equipment accessible is handled the coordinate information of laser light board, can make the user when carrying out the mutual of laser-induced, the coordinate value of laser-induced layer coordinate information all can correspond a screen pixel and show the coordinate value of coordinate information, at mutual in-process, can make the cursor never go out of bounds, consequently, has improved the interactive intelligent degree of laser-induced.
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 diagram of a hardware architecture of a terminal device according to an embodiment of the present invention;
FIG. 2 is a schematic flow chart illustrating a first embodiment of a laser-induced interaction method according to the present invention;
FIG. 3 is a detailed flowchart of step S20 of the laser-induced interaction method according to the second embodiment of the present invention;
FIG. 4 is a detailed flowchart of step S22 of the laser-induced interaction method according to the third embodiment of the present invention;
fig. 5 is a detailed flowchart of step S222 of a fourth embodiment of the interaction method based on laser sensing according to the present invention;
FIG. 6 is a flowchart illustrating a fifth exemplary embodiment of a laser-induced interaction method according to the present invention;
FIG. 7 is a flowchart illustrating a sixth exemplary embodiment of a laser-induced interaction method according to the present invention;
FIG. 8 is a flowchart illustrating a detailed process of a seventh embodiment 50 of the laser-induced interaction method according to the present invention;
fig. 8A is a reference diagram of a seventh embodiment of the interaction method based on laser sensing according to the present invention.
Detailed Description
For a better understanding of the above technical solutions, exemplary embodiments of the present disclosure will be described in more detail below with reference to the accompanying drawings. While exemplary embodiments of the present disclosure are shown in the drawings, it should be understood that the present disclosure may be embodied in various forms and should not be limited to the embodiments set forth herein. Rather, these embodiments are provided so that this disclosure will be thorough and complete, and will fully convey the scope of the disclosure to those skilled in the art.
The main solution of the invention is: the method comprises the steps that terminal equipment obtains first coordinate information of a laser spot; acquiring second coordinate information of the cursor according to the first coordinate information and a coordinate range of a preset display area, wherein the second coordinate information is in the coordinate range; and displaying the cursor according to the second coordinate information.
Because terminal equipment accessible is handled the coordinate information of laser light board, can make the user when carrying out the mutual of laser-induced, the coordinate value of laser-induced layer coordinate information all can correspond a screen pixel and show the coordinate value of coordinate information, at mutual in-process, can make the cursor never go out of bounds, consequently, has improved the interactive intelligent degree of laser-induced.
As an implementation, the terminal device may be as in fig. 1.
The embodiment scheme of the invention relates to a terminal device, which comprises: a processor 101, e.g. a CPU, a memory 102, a communication bus 103, a laser sensing layer 104. Wherein a communication bus 103 is used for enabling the connection communication between these components.
The memory 102 may be a high-speed RAM memory or a non-volatile memory (e.g., a disk memory). As in fig. 1, a detection program may be included in the memory 103 as a kind of computer storage medium; and the processor 101 may be configured to call the detection program stored in the memory 102 and perform the following operations:
acquiring first coordinate information of a laser spot;
acquiring second coordinate information of the cursor according to the first coordinate information and a coordinate range of a preset display area, wherein the second coordinate information is in the coordinate range;
and displaying the cursor according to the second coordinate information.
In one embodiment, the processor 101 may be configured to call a detection program stored in the memory 102 and perform the following operations:
determining third coordinate information corresponding to the first coordinate information according to a first preset corresponding relation and the first coordinate information, wherein the first preset corresponding relation is a corresponding relation between the first coordinate information preset in the terminal equipment and the third coordinate information, and the third coordinate information is coordinate information which is in a coordinate range of the preset display area or out of the coordinate range of the preset display area and corresponds to the first coordinate information;
and acquiring second coordinate information of the cursor according to the third coordinate information and the coordinate range of the preset display area.
In one embodiment, the processor 101 may be configured to call a detection program stored in the memory 102 and perform the following operations:
if the third coordinate information is in the coordinate range, taking the third coordinate information as second coordinate information of the cursor;
and if the third coordinate information is not in the coordinate range, adjusting the third coordinate information according to the boundary coordinate information of the coordinate range of the preset display area to obtain second coordinate information of the cursor.
In one embodiment, the processor 101 may be configured to call a detection program stored in the memory 102 and perform the following operations:
if the abscissa of the third coordinate information exceeds the abscissa limit value of the coordinate range, taking the exceeded abscissa limit value as the abscissa of the second coordinate information;
and if the ordinate of the third coordinate information exceeds the limit value of the ordinate of the coordinate range, taking the exceeded limit value of the ordinate as the ordinate of the second coordinate information.
In one embodiment, the processor 101 may be configured to call a detection program stored in the memory 102 and perform the following operations:
and acquiring resolution information of the terminal equipment, and determining the coordinate range of the preset display area according to the resolution information.
In one embodiment, the processor 101 may be configured to call a detection program stored in the memory 102 and perform the following operations:
acquiring an operation instruction aiming at the cursor;
and generating an interactive instruction according to the operation type corresponding to the operation instruction and the second coordinate information.
In one embodiment, the processor 101 may be configured to call a detection program stored in the memory 102 and perform the following operations:
determining an operation type corresponding to the operation instruction;
determining a target object according to the second coordinate information;
and determining the interaction instruction according to the operation type and the target object.
In the technical scheme of the embodiment, the terminal equipment acquires first coordinate information of a laser spot; acquiring second coordinate information of the cursor according to the first coordinate information and a coordinate range of a preset display area, wherein the second coordinate information is in the coordinate range; and displaying the cursor according to the second coordinate information. Because terminal equipment accessible is handled the coordinate information of laser light board, can make the user when carrying out the mutual of laser-induced, the coordinate value of laser-induced layer coordinate information all can correspond a screen pixel and show the coordinate value of coordinate information, at mutual in-process, can make the cursor never go out of bounds, consequently, has improved the interactive intelligent degree of laser-induced.
In order to better understand the technical solution, the technical solution will be described in detail with reference to the drawings and the specific embodiments.
Referring to fig. 2, fig. 2 is a first embodiment of the laser sensing-based interaction method of the present invention, which includes the following steps:
in step S10, first coordinate information of the laser spot is acquired.
In this embodiment, the interaction control method based on laser sensing is applied to a terminal device, where the terminal device has a display device, for example: intelligent terminals such as PC, advertisement machine. The display device is configured to implement interactive control based on laser sensing, and the laser sensing layer is configured to receive a laser spot emitted by a laser emitting device to start executing the steps of this embodiment, for example: the user illuminates the display device with the laser transmitting device and starts to perform the steps of this embodiment after the display device senses the laser spot. Specifically, the terminal device is also a hardware device having a computer infrastructure, which can be described by using a von neumann architecture, that is, the terminal device includes an arithmetic logic unit, a control circuit, a memory, and an input-output device, and the laser spot is a bright area formed by focusing a laser beam on a point.
Specifically, after a laser sensing layer in the display device senses a laser spot, since the laser spot sensed by the laser sensing layer is invisible light, and the interactive control is realized on the display device of the terminal device, after the laser sensing layer senses the laser spot, first coordinate information of the laser spot can be obtained; then, second coordinate information of the cursor is obtained according to the first coordinate information and a coordinate range of a preset display area, wherein the second coordinate information is in the coordinate range; and displaying the cursor according to the second coordinate information.
Further, the laser sensing layer may be formed by M × N photoelectric sensors, such as photo resistors, and the X-axis coordinate and the Y-axis coordinate of each photoelectric sensor are obtained by encoding each photoelectric sensor, so that the photoelectric sensors can detect the coordinate information of the light spot. The first coordinate information is coordinate information of a photoelectric sensor corresponding to the laser spot in the laser sensor, optionally, in view of possible inconsistency of the size of the laser spot, when the laser spot corresponds to a coordinate of the photoelectric sensor, the first coordinate information may be selected from the coordinates of the photoelectric sensor, for example: when the coordinates corresponding to the laser spot are (98, 99), (99, 99), (100, 99), (99, 98) and (99, 100), the center point coordinates (99, 99) can be used as the first coordinate information; at present, under an ideal state, the laser facula and the photoelectric sensor coordinate are in a one-to-one relationship.
Step S20, obtaining second coordinate information of the cursor according to the first coordinate information and a coordinate range of a preset display area, where the second coordinate information is within the coordinate range.
In this embodiment, the second coordinate information and the first coordinate information have a corresponding relationship, and specifically, the terminal device may convert the coordinate value corresponding to the first coordinate information into a coordinate value corresponding to the second coordinate information, for example: after the terminal equipment finishes scanning the frame, the terminal converts the coordinate point of the identified laser sensing layer (Sensor) into the coordinate of the display pixel of the screen. It should be noted that the second coordinate information is located in the coordinate range of the pre-display area, and it is easily understood that even if the coordinate value corresponding to the first coordinate information is larger, there is a corresponding coordinate value of the second coordinate information located in the coordinate range of the pre-display area.
And step S30, displaying the cursor according to the second coordinate information.
In this embodiment, the terminal device may generate a cursor corresponding to the second coordinate information on the display device.
In the technical scheme of the embodiment, the terminal equipment acquires first coordinate information of a laser spot; acquiring second coordinate information of the cursor according to the first coordinate information and a coordinate range of a preset display area, wherein the second coordinate information is in the coordinate range; and displaying the cursor according to the second coordinate information. Because terminal equipment accessible is handled the coordinate information of laser light board, can make the user when carrying out the mutual of laser-induced, the coordinate value of laser-induced layer coordinate information all can correspond a screen pixel and show the coordinate value of coordinate information, at mutual in-process, can make the cursor never go out of bounds, consequently, has improved the interactive intelligent degree of laser-induced.
Referring to fig. 3, fig. 3 is a second embodiment of the interaction method based on laser sensing according to the present invention, and based on the first embodiment, step S20 includes:
step S21, determining third coordinate information corresponding to the first coordinate information according to a first preset corresponding relationship and the first coordinate information, where the first preset corresponding relationship is a corresponding relationship between the first coordinate information and the third coordinate information preset in the terminal device, and the third coordinate information is coordinate information corresponding to the first coordinate information and located within a coordinate range of the preset display area or located outside the coordinate range of the preset display area.
In this embodiment, the laser spot is formed by irradiating a laser beam emitted by a laser emitting device onto a laser sensing layer of a terminal device, the first coordinate information is coordinate information of the laser spot in the laser sensing layer, and the second coordinate information and the third coordinate information refer to screen display pixel information, where the second coordinate information is different from the third coordinate information in that a coordinate value corresponding to the second coordinate information is within a coordinate range of a preset display area, and a coordinate value corresponding to the third coordinate information may be outside the coordinate range of the preset display area, the first preset relationship is preset for the first coordinate information and the third coordinate information, and the terminal device may determine the third coordinate information according to the first preset corresponding relationship and the first coordinate information.
And step S22, acquiring second coordinate information of the cursor according to the third coordinate information and the coordinate range of the preset display area.
In this embodiment, when the terminal device determines that the first coordinate information corresponds to the third coordinate information, when determining a corresponding second coordinate information according to the third coordinate information, it is easily understood that when the coordinate value corresponding to the first coordinate information is not within the coordinate range of the preset display area, a second coordinate information different from the coordinate value of the third coordinate information is determined, specifically, for example: when the first coordinate information is A and the corresponding third coordinate information is B, determining second coordinate information C in the coordinate range of the preset display area according to B.
In the technical scheme of this embodiment, since the control of the coordinate information is performed according to the preset corresponding relationship, when the change of the coordinates of the laser sensing layer is large, a cursor is finally generated in the preset display area, and the stability of the interaction of the laser sensing is improved.
Referring to fig. 4, fig. 4 is a third embodiment of the interaction method based on laser sensing of the present invention, and step S22 includes:
step S221, if the third coordinate information is within the coordinate range, using the third coordinate information as the second coordinate information of the cursor.
In this embodiment, the terminal device determines whether the third coordinate information is within the coordinate range of the pre-display area, and further determines whether the third coordinate information is within the coordinate range of the pre-display area.
Step S222, if the third coordinate information is not within the coordinate range, adjusting the third coordinate information according to the boundary coordinate information of the coordinate range of the preset display area to obtain second coordinate information of the cursor.
In the technical scheme of this embodiment, the terminal device determines the coordinate range of the coordinate value of the third coordinate information, and when the terminal device is in the coordinate range of the preset display area, the terminal device can directly use the coordinate value as the second coordinate information without searching for the corresponding second coordinate information, so that the generation efficiency of the second coordinate information is improved.
Referring to fig. 5, fig. 5 is a fourth embodiment of the interaction method based on laser sensing of the present invention, based on any one of the first to third embodiments, step S222 includes:
step S2221, if the abscissa of the third coordinate information exceeds the abscissa limit value of the coordinate range, using the exceeded abscissa limit value as the abscissa of the second coordinate information.
Step S2222, if the ordinate of the third coordinate information exceeds the limit value of the ordinate of the coordinate range, taking the exceeded limit value of the ordinate as the ordinate of the second coordinate information.
In this embodiment, when the third coordinate information is not in the coordinate range of the preset display area, the terminal device may determine whether both the abscissa and the ordinate of the terminal device exceed the coordinate limit value, and further reassign the coordinate information exceeding the coordinate limit value according to the determination result, the abscissa limit value, and the ordinate limit value, for example: screening display coordinates and corresponding coordinate data of the screen, displaying boundary coordinates of coordinates beyond the range of the screen, taking a screen of 1920X1080 as an example: the upper left corner of the screen is (0, 0), the value range of x is [0, 1920], and the value range of y is [0, 1080 ]. The coordinates of x and y are judged during laser driving: if x is less than 0, then x is assigned a value of 0, and if x is greater than 1920, then the value is 1920, and y is the same.
In the technical scheme of the embodiment, the terminal device can clearly determine the object to be assigned through the abscissa and the ordinate of the display pixel coordinate of the determination screen, and then can assign the object, so that when the laser sensing interaction is realized, a cursor cannot go out of bounds, and the user experience is improved.
Referring to fig. 6, fig. 6 is a fifth embodiment of the interaction method based on laser sensing according to the present invention, based on any one of the first to fourth embodiments, before step S20, the method further includes:
and step S40, acquiring resolution information of the terminal equipment, and determining the coordinate range of the preset display area according to the resolution information.
In this embodiment, the coordinate range of the preset display area may be determined according to resolution information of the terminal device.
Optionally, the coordinate range of the preset display area may be further set within the resolution range, for example: for a screen with a resolution of 1920x1080, if the user feels that the resolution is too high, a smaller display area may be set on the screen.
In the technical scheme of the embodiment, the terminal device determines the coordinate range of the preset display area through the resolution of the terminal device, and the resolution information is easy to obtain and convenient to directly call, so that the determination of the coordinate range of the preset display area can be accelerated.
Referring to fig. 7, fig. 7 is a sixth embodiment of the interaction method based on laser sensing according to the present invention, based on any one of the first to fifth embodiments, after step S30, the method further includes:
step S50, an operation instruction for the cursor is acquired.
In this embodiment, the operation instruction may be generated for an association relationship with a cursor, where the association relationship includes a cursor state, and optionally, the cursor state may simulate a mouse, specifically, for example: if the mouse is simulated by double-click, a user can quickly press the switch of the laser emitting device twice within the preset time to realize the double-click operation instruction and the click operation. Optionally, the operation instruction may also be determined according to a preset corresponding relationship between the cursor trajectory and the operation type, for example: if the mouse double-click is simulated, the track comparison determination can be carried out on the basis of the moving track of the cursor in the preset time period and the preset cursor track. How to aim at the operation instruction of the cursor is not limited too much.
And step S60, generating an interactive instruction according to the operation type corresponding to the operation instruction and the second coordinate information.
In the technical scheme of the embodiment, the operation type can be determined through the cursor and the interaction instruction is further generated according to the coordinate information of the cursor, so that the intelligent degree of the laser-induced interaction is improved compared with the remote control operation in the prior art.
Referring to fig. 8, fig. 8 is a seventh embodiment of the interaction method based on laser induction according to the present invention, and based on any one of the first to sixth embodiments, step S60 includes:
and step S61, determining an operation type corresponding to the operation instruction.
Step S62, determining the target object according to the second coordinate information.
Step S63, determining the interaction instruction according to the operation type and the target object.
In this embodiment, referring to fig. 8A, the laser coordinate is converted into a tocuh event to obtain a cursor, and therefore, the cursor has an attribute of tocuh, where touch includes three types of events, which are: touchstart, touchmove, touchend, wherein touchstart represents a trigger when a finger touches a DOM element. touchmove represents the trigger when a finger slides over a DOM element. Touchend identifies the trigger when a finger is removed from a DOM element. Therefore, the cursor can trigger a touch event, so that the cursor has a corresponding relation with an operation instruction (similar to the touch event).
For a target object to be operated (similar to the DOM element described above), the determination may be made according to the position of the cursor in the display interface, for example: when the operation type corresponding to the operation instruction is determined to be 'double-click' according to the cursor and the second coordinate information of the cursor corresponds to the 'music' application icon, the 'music' application program is taken as the target object, an interaction instruction for opening the music application program is further generated,
in the technical scheme of the embodiment, the operation type and the target object are determined through the cursor so as to determine the interaction instruction, so that the intelligent degree of the laser-induced interaction can be further improved.
In order to achieve the above object, an embodiment of the present invention further provides a terminal device, where the terminal device includes: the laser sensing layer, the memory, the processor and the laser sensing-based interaction program stored on the memory and capable of running on the processor, wherein the processor implements the steps of the laser sensing-based interaction method when executing the laser sensing-based interaction program.
In order to achieve the above object, an embodiment of the present invention further provides a computer-readable storage medium, where a laser sensing-based interaction program is stored on the computer-readable storage medium, and the laser sensing-based interaction program, when executed by a processor, implements the steps of the laser sensing-based interaction method as described above.
It will be appreciated by those skilled in the art that embodiments of the present invention may be provided as a method, system, or interactive program product based on laser sensing. Accordingly, the present invention may take the form of an entirely hardware embodiment, an entirely software embodiment or an embodiment combining software and hardware aspects. Furthermore, the present invention may take the form of a laser-based inductive interaction program product embodied on one or more computer-usable storage media (including, but not limited to, disk storage, CD-ROM, optical storage, etc.) having computer-usable program code embodied therein.
The present invention has been described with reference to flowchart illustrations and/or block diagrams of methods, apparatus (systems), and laser sensing based interactive program products according to embodiments of the invention. It will be understood that each flow and/or block of the flow diagrams and/or block diagrams, and combinations of flows and/or blocks in the flow diagrams and/or block diagrams, can be implemented by laser-based inductive interactive program instructions. These laser-based interactive program instructions may be provided to a processor of a general purpose computer, special purpose computer, embedded processor, or other programmable data processing apparatus to produce a machine, such that the instructions, which execute via the processor of the computer or other programmable data processing apparatus, create means for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
These laser-based interactive program instructions may also be stored in a computer-readable memory that can direct a computer or other programmable data processing apparatus to function in a particular manner, such that the instructions stored in the computer-readable memory produce an article of manufacture including instruction means which implement the function specified in the flowchart flow or flows and/or block diagram block or blocks.
These laser-based interactive program instructions may also be loaded onto a computer or other programmable data processing apparatus to cause a series of operational steps to be performed on the computer or other programmable apparatus to produce a computer implemented process such that the instructions which execute on the computer or other programmable apparatus provide steps for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
It should be noted that in the claims, any reference signs placed between parentheses shall not be construed as limiting the claim. The word "comprising" does not exclude the presence of elements or steps not listed in a claim. The word "a" or "an" preceding an element does not exclude the presence of a plurality of such elements. The invention may be implemented by means of hardware comprising several distinct elements, and by means of a suitably programmed computer. In the unit claims enumerating several means, several of these means may be embodied by one and the same item of hardware. The usage of the words first, second and third, etcetera do not indicate any ordering. These words may be interpreted as names.
While preferred embodiments of the present invention have been described, additional variations and modifications in those embodiments may occur to those skilled in the art once they learn of the basic inventive concepts. Therefore, it is intended that the appended claims be interpreted as including preferred embodiments and all such alterations and modifications as fall within the scope of the invention.
It will be apparent to those skilled in the art that various changes and modifications may be made in the present invention without departing from the spirit and scope of the invention. Thus, if such modifications and variations of the present invention fall within the scope of the claims of the present invention and their equivalents, the present invention is also intended to include such modifications and variations.

Claims (9)

1. An interaction method based on laser induction is characterized in that the interaction method based on laser induction is applied to terminal equipment, and comprises the following steps:
acquiring first coordinate information of a laser spot;
acquiring second coordinate information of the cursor according to the first coordinate information and a coordinate range of a preset display area, wherein the second coordinate information is in the coordinate range;
and displaying the cursor according to the second coordinate information.
2. The interaction method based on laser sensing of claim 1, wherein the laser spot is formed by irradiating a laser sensing layer of the terminal device with a laser beam emitted by a laser emitting device, the first coordinate information is coordinate information of the laser spot in the laser sensing layer, the second coordinate information is coordinate information of the first coordinate information corresponding to the coordinate range of the preset display area, and the step of obtaining the second coordinate information of the cursor according to the first coordinate information and the coordinate range of the preset display area comprises:
determining third coordinate information corresponding to the first coordinate information according to a first preset corresponding relation and the first coordinate information, wherein the first preset corresponding relation is a corresponding relation between the first coordinate information preset in the terminal equipment and the third coordinate information, and the third coordinate information is coordinate information which is in a coordinate range of the preset display area or out of the coordinate range of the preset display area and corresponds to the first coordinate information;
and acquiring second coordinate information of the cursor according to the third coordinate information and the coordinate range of the preset display area.
3. The laser sensing-based interaction method according to claim 2, wherein the step of obtaining second coordinate information of the cursor according to the third coordinate information and a coordinate range of a preset display area comprises:
if the third coordinate information is in the coordinate range, taking the third coordinate information as second coordinate information of the cursor;
and if the third coordinate information is not in the coordinate range, adjusting the third coordinate information according to the boundary coordinate information of the coordinate range of the preset display area to obtain second coordinate information of the cursor.
4. The laser sensing-based interaction method according to claim 3, wherein the boundary coordinate information of the coordinate range of the preset display area includes an abscissa limit value and an ordinate limit value of the coordinate range of the preset display area, and the step of adjusting the third coordinate information according to the boundary coordinate information of the coordinate range of the preset display area to obtain the second coordinate information of the cursor includes:
if the abscissa of the third coordinate information exceeds the abscissa limit value of the coordinate range, taking the exceeded abscissa limit value as the abscissa of the second coordinate information;
and if the ordinate of the third coordinate information exceeds the limit value of the ordinate of the coordinate range, taking the exceeded limit value of the ordinate as the ordinate of the second coordinate information.
5. The laser sensing-based interaction method according to claim 1, wherein before the step of obtaining the second coordinate information of the cursor according to the first coordinate information and the coordinate range of the preset display area, the laser sensing-based interaction method further comprises:
and acquiring resolution information of the terminal equipment, and determining the coordinate range of the preset display area according to the resolution information.
6. The laser sensing-based interaction method according to any one of claims 1 to 5, wherein after the step of displaying the cursor according to the second coordinate information, further comprising:
acquiring an operation instruction aiming at the cursor;
and generating an interactive instruction according to the operation type corresponding to the operation instruction and the second coordinate information.
7. The laser sensing-based interaction method according to claim 6, wherein the step of generating the interaction command according to the operation type corresponding to the operation command and the second coordinate information comprises:
determining an operation type corresponding to the operation instruction;
determining a target object according to the second coordinate information;
and determining the interaction instruction according to the operation type and the target object.
8. A terminal device, characterized in that the terminal device comprises: laser sensing layer, a memory, a processor and a laser sensing based interaction program stored on the memory and executable on the processor, the processor implementing the steps of the laser sensing based interaction method according to any one of claims 1 to 7 when executing the laser sensing based interaction program.
9. A computer-readable storage medium, wherein a laser sensing-based interaction program is stored on the computer-readable storage medium, and when executed by a processor, the computer-readable storage medium implements the steps of the laser sensing-based interaction method according to any one of claims 1 to 7.
CN202011572795.5A 2020-12-25 2020-12-25 Interaction method based on laser induction, terminal equipment and computer readable storage medium Pending CN112631495A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202011572795.5A CN112631495A (en) 2020-12-25 2020-12-25 Interaction method based on laser induction, terminal equipment and computer readable storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202011572795.5A CN112631495A (en) 2020-12-25 2020-12-25 Interaction method based on laser induction, terminal equipment and computer readable storage medium

Publications (1)

Publication Number Publication Date
CN112631495A true CN112631495A (en) 2021-04-09

Family

ID=75325559

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202011572795.5A Pending CN112631495A (en) 2020-12-25 2020-12-25 Interaction method based on laser induction, terminal equipment and computer readable storage medium

Country Status (1)

Country Link
CN (1) CN112631495A (en)

Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104166509A (en) * 2013-05-20 2014-11-26 华为技术有限公司 Non-contact screen interaction method and system
CN104932757A (en) * 2014-03-21 2015-09-23 中兴通讯股份有限公司 Laser visual touch method and system
CN106445090A (en) * 2015-08-12 2017-02-22 中兴通讯股份有限公司 Cursor control method and apparatus, and input device
CN107180853A (en) * 2017-07-10 2017-09-19 京东方科技集团股份有限公司 A kind of OLED display panel and its control method, display device
CN107291272A (en) * 2017-06-20 2017-10-24 广州视源电子科技股份有限公司 Cursor position determination and method, device and the relevant device of image capture
CN107728881A (en) * 2013-07-22 2018-02-23 原相科技股份有限公司 The cursor positioning method of hand-held indicator device
WO2018065197A1 (en) * 2016-10-07 2018-04-12 Arcelik Anonim Sirketi System and method for positioning cursor on oled display devices
US20180307335A1 (en) * 2017-04-19 2018-10-25 Chung Yuan Christian University Laser spot detecting and locating system and method thereof
CN111107406A (en) * 2019-12-20 2020-05-05 视联动力信息技术股份有限公司 Control method and device of display terminal and storage medium

Patent Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104166509A (en) * 2013-05-20 2014-11-26 华为技术有限公司 Non-contact screen interaction method and system
CN107728881A (en) * 2013-07-22 2018-02-23 原相科技股份有限公司 The cursor positioning method of hand-held indicator device
CN104932757A (en) * 2014-03-21 2015-09-23 中兴通讯股份有限公司 Laser visual touch method and system
CN106445090A (en) * 2015-08-12 2017-02-22 中兴通讯股份有限公司 Cursor control method and apparatus, and input device
WO2018065197A1 (en) * 2016-10-07 2018-04-12 Arcelik Anonim Sirketi System and method for positioning cursor on oled display devices
US20180307335A1 (en) * 2017-04-19 2018-10-25 Chung Yuan Christian University Laser spot detecting and locating system and method thereof
CN107291272A (en) * 2017-06-20 2017-10-24 广州视源电子科技股份有限公司 Cursor position determination and method, device and the relevant device of image capture
CN107180853A (en) * 2017-07-10 2017-09-19 京东方科技集团股份有限公司 A kind of OLED display panel and its control method, display device
CN111107406A (en) * 2019-12-20 2020-05-05 视联动力信息技术股份有限公司 Control method and device of display terminal and storage medium

Similar Documents

Publication Publication Date Title
Seo et al. Direct hand touchable interactions in augmented reality environments for natural and intuitive user experiences
KR101062961B1 (en) System and Method for authoring contents of augmented reality, and the recording media storing the program performing the said method
CN109561271B (en) Method for guiding terminal operation, first terminal and second terminal
CN1947087A (en) Controller involving manipulation of virtual objects on a multi-contact touch screen
EP4086730A1 (en) Touch control method for display, terminal device, and storage medium
CN108829371B (en) Interface control method and device, storage medium and electronic equipment
CN103092432A (en) Trigger control method and system of man-machine interaction operating instruction and laser emission device
CN111344663B (en) Rendering device and rendering method
US20140333585A1 (en) Electronic apparatus, information processing method, and storage medium
EP2663915A1 (en) Method for supporting multiple menus and interactive input system employing same
CN113010018B (en) Interaction control method, terminal device and storage medium
JP2006244078A (en) Display control device and control method thereof
CN105912101B (en) Projection control method and electronic equipment
CN104899361A (en) Remote control method and apparatus
CN103402131A (en) Two-dimensional code identifying method, set top box and system
CN110413161B (en) Component configuration method and device and electronic equipment
CN103729131A (en) Human-computer interaction method and associated equipment and system
CN112631495A (en) Interaction method based on laser induction, terminal equipment and computer readable storage medium
CN109032343B (en) Industrial man-machine interaction system and method based on vision and haptic augmented reality
CN110333780A (en) Function triggering method, device, equipment and storage medium
CN104583919A (en) Information processing device, information processing method, program, and information storage medium
CN111694451B (en) Method, device, equipment and storage medium for processing operation data
CN117377929A (en) Identifying places of interest on physical objects by 3D models of the physical objects in an augmented reality view
CN105975285A (en) Suspension window control method and device
CN110209294B (en) Mouse control method and system and KVM system

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