CN112068739A - Infrared touch response method, device and storage medium - Google Patents
Infrared touch response method, device and storage medium Download PDFInfo
- Publication number
- CN112068739A CN112068739A CN202011010113.1A CN202011010113A CN112068739A CN 112068739 A CN112068739 A CN 112068739A CN 202011010113 A CN202011010113 A CN 202011010113A CN 112068739 A CN112068739 A CN 112068739A
- Authority
- CN
- China
- Prior art keywords
- signal
- direction signal
- frame signal
- point finding
- scanned
- 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.)
- Withdrawn
Links
- 230000004044 response Effects 0.000 title claims abstract description 46
- 238000000034 method Methods 0.000 title claims abstract description 40
- 238000012545 processing Methods 0.000 claims abstract description 44
- 238000004590 computer program Methods 0.000 claims description 17
- 230000003139 buffering effect Effects 0.000 claims description 5
- 238000010586 diagram Methods 0.000 description 6
- 230000006870 function Effects 0.000 description 6
- 230000006872 improvement Effects 0.000 description 6
- 238000004891 communication Methods 0.000 description 5
- 238000004806 packaging method and process Methods 0.000 description 4
- 230000009286 beneficial effect Effects 0.000 description 3
- 230000003287 optical effect Effects 0.000 description 3
- 230000004048 modification Effects 0.000 description 2
- 238000012986 modification Methods 0.000 description 2
- 230000008569 process Effects 0.000 description 2
- 230000001413 cellular effect Effects 0.000 description 1
- 230000008859 change Effects 0.000 description 1
- 238000013500 data storage Methods 0.000 description 1
- 238000001514 detection method Methods 0.000 description 1
- 238000011161 development Methods 0.000 description 1
- 238000005516 engineering process Methods 0.000 description 1
- 239000007787 solid Substances 0.000 description 1
Images
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F3/00—Input 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/01—Input arrangements or combined input and output arrangements for interaction between user and computer
- G06F3/03—Arrangements for converting the position or the displacement of a member into a coded form
- G06F3/041—Digitisers, e.g. for touch screens or touch pads, characterised by the transducing means
- G06F3/042—Digitisers, e.g. for touch screens or touch pads, characterised by the transducing means by opto-electronic means
- G06F3/0421—Digitisers, e.g. for touch screens or touch pads, characterised by the transducing means by opto-electronic means by interrupting or reflecting a light beam, e.g. optical touch-screen
- G06F3/0423—Digitisers, e.g. for touch screens or touch pads, characterised by the transducing means by opto-electronic means by interrupting or reflecting a light beam, e.g. optical touch-screen using sweeping light beams, e.g. using rotating or vibrating mirror
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F3/00—Input 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/01—Input arrangements or combined input and output arrangements for interaction between user and computer
- G06F3/03—Arrangements for converting the position or the displacement of a member into a coded form
- G06F3/041—Digitisers, e.g. for touch screens or touch pads, characterised by the transducing means
- G06F3/0412—Digitisers structurally integrated in a display
Landscapes
- Engineering & Computer Science (AREA)
- General Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- Human Computer Interaction (AREA)
- Physics & Mathematics (AREA)
- General Physics & Mathematics (AREA)
- Photometry And Measurement Of Optical Pulse Characteristics (AREA)
Abstract
The invention discloses an infrared touch response method, an infrared touch response device and a storage medium, wherein the method comprises the steps of acquiring a first direction signal currently scanned in a current scanning period; obtaining a current frame signal according to a first direction signal scanned currently and a second direction signal in a previous frame signal; performing point finding processing on the current frame signal, and outputting a point finding result corresponding to the current frame signal; acquiring a second direction signal scanned currently in a current scanning period; obtaining a next frame signal according to a second direction signal scanned currently and a first direction signal in the current frame signal; performing point finding processing on the next frame signal, and outputting a point finding result corresponding to the next frame signal; after scanning the light signal of one axis, combining the light signal of the other axis of the previous frame signal to immediately perform algorithm point finding, so that the touch response speed is effectively improved, the touch response time is reduced, and the infrared touch quick response is realized.
Description
Technical Field
The invention relates to the technical field of infrared touch, in particular to an infrared touch response method, an infrared touch response device and a storage medium.
Background
Currently, the existing infrared touch generally performs infrared scanning processing, that is, scanning a frame signal of an X axis first, then scanning a frame signal of a Y axis, after scanning of the XY two-axis signal is completed, processing the frame signal by an algorithm, and then finishing processing and reporting touch data by the algorithm. Based on the existing scanning and algorithm processing flow, the method can be divided into two schemes, one scheme is a double-buffer mode, the scanning and algorithm synchronously process the data of the previous frame, and the other scheme is that the current frame is processed by the algorithm after the current frame is scanned. However, the touch response time of the two schemes is composed of the time overhead of light scanning and algorithm, the response speed is slow, the response time is long, and the development requirement of the touch quick response of the infrared touch product cannot be met.
Disclosure of Invention
In view of the foregoing problems, an object of the present invention is to provide an infrared touch response method, an infrared touch response device, and a storage medium, which can effectively improve a touch response speed and reduce a touch response duration, thereby implementing a fast infrared touch response.
In a first aspect, an embodiment of the present invention provides an infrared touch response method, including:
acquiring a first direction signal scanned currently in a current scanning period;
obtaining a current frame signal according to a first direction signal scanned currently and a second direction signal in a previous frame signal; the method comprises the steps that a frame signal comprises a first direction signal and a second direction signal, and the directions of the first direction signal and the second direction signal are different;
performing point finding processing on the current frame signal, and outputting a point finding result corresponding to the current frame signal;
acquiring a second direction signal scanned currently in a current scanning period;
obtaining a next frame signal according to a second direction signal scanned currently and a first direction signal in the current frame signal;
performing point finding processing on the next frame signal, and outputting a point finding result corresponding to the next frame signal; and the point finding result comprises the number and the position information of the real-time touch points.
As an improvement of the above, the method further comprises:
acquiring a first direction signal and a second direction signal which are scanned for the first time in the current scanning period, and taking the first direction signal and the second direction signal as a first frame signal and caching the first frame signal;
and performing point finding processing on the first frame signal, and outputting a point finding result corresponding to the first frame signal.
As a modification of the above, the direction of the first direction signal is perpendicular to the direction of the second direction signal.
As an improvement of the above scheme, the first direction signal is an X-axis ray signal; the second direction signal is a Y-axis light signal.
As an improvement of the above solution, obtaining a current frame signal according to a currently scanned first direction signal and a second direction signal in a previous frame signal includes:
updating the first direction signal of the last frame signal to the currently scanned first direction signal;
obtaining a current frame signal and caching according to the second direction signal of the previous frame signal and the updated first direction signal;
the obtaining a next frame signal according to the currently scanned second direction signal and the first direction signal in the current frame signal includes:
updating a second direction signal in the current frame signal to a second direction signal scanned currently;
and obtaining and buffering a next frame signal according to the first direction signal of the current frame signal and the updated second direction signal.
As an improvement of the above, the method further comprises:
and before outputting the point finding result corresponding to the current frame signal, calibrating the point finding result corresponding to the current frame signal.
As an improvement of the above, the method further comprises:
and before outputting the point finding result corresponding to the next frame signal, calibrating the point finding result corresponding to the next frame signal.
In a second aspect, an embodiment of the present invention further provides an infrared touch response device, including:
the first signal acquisition module is used for acquiring a first direction signal currently scanned in a current scanning period;
the first signal processing module is used for obtaining a current frame signal according to a currently scanned first direction signal and a second direction signal in a previous frame signal; the method comprises the steps that a frame signal comprises a first direction signal and a second direction signal, and the directions of the first direction signal and the second direction signal are different;
the first point finding module is used for carrying out point finding processing on the current frame signal and outputting a point finding result corresponding to the current frame signal;
the second signal acquisition module is used for acquiring a second direction signal currently scanned in the current scanning period;
the second signal processing module is used for obtaining a next frame signal according to a second direction signal scanned currently and the first direction signal in the current frame signal;
the second point finding module is used for carrying out point finding processing on the next frame signal and outputting a point finding result corresponding to the next frame signal; and the point finding result comprises the number and the position information of the real-time touch points.
As an improvement of the above solution, the infrared touch response device further includes:
the third signal acquisition module is used for acquiring a first direction signal and a second direction signal which are scanned for the first time in the current scanning period, and the first direction signal and the second direction signal are used as a first frame signal and are cached;
and the third point finding module is used for carrying out point finding processing on the first frame signal and outputting a point finding result corresponding to the first frame signal.
In a third aspect, an embodiment of the present invention further provides a computer-readable storage medium, where the computer-readable storage medium includes a stored computer program, where, when the computer program runs, the apparatus where the computer-readable storage medium is located is controlled to perform the infrared touch response method according to any one of the first aspect.
Compared with the prior art, the embodiment of the invention has the beneficial effects that: the method comprises the steps of packaging a currently scanned first direction signal and a second direction signal in a previous frame signal to serve as a current frame signal and conducting point finding processing, packaging the currently scanned second direction signal and the first direction signal in the current frame signal to serve as a next frame signal and conducting point finding processing, and performing algorithm point finding immediately after scanning a light signal of one axis and combining the light signal of the other axis of the previous frame signal without waiting for completion of simultaneous scanning of two axes signals and then conducting algorithm point finding processing.
Drawings
In order to more clearly illustrate the technical solution of the present invention, the drawings needed to be used in the embodiments will be briefly described below, and it is obvious that the drawings in the following description are only some embodiments of the present invention, and it is obvious for those skilled in the art that other drawings can be obtained according to the drawings without creative efforts.
FIG. 1 is a flow chart of an infrared touch response method provided by an embodiment of the invention;
FIG. 2 is a schematic block diagram of an infrared touch response flow provided by an embodiment of the invention;
FIG. 3 is a schematic diagram of the optical signal package logic provided by an embodiment of the present invention;
FIG. 4 is a schematic block diagram of an infrared touch responsive device provided by an embodiment of the present invention;
FIG. 5 is a schematic block diagram of an infrared touch responsive device provided by an embodiment of the present invention.
Detailed Description
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.
Referring to fig. 1, a first embodiment of the present invention provides an infrared touch response method, including:
s1: and acquiring a first direction signal currently scanned in a current scanning period.
S2: obtaining a current frame signal according to a first direction signal scanned currently and a second direction signal in a previous frame signal; the frame signal comprises a first direction signal and a second direction signal, and the directions of the first direction signal and the second direction signal are different.
One side frame of the two opposite side frames of the infrared touch screen is provided with a group of infrared transmitting tubes, the other side frame is provided with a group of infrared receiving tubes, and the infrared receiving tubes are in one-to-one correspondence with the infrared transmitting tubes and used for receiving light signals transmitted by the corresponding infrared receiving tubes. By starting the infrared transmitting tube and the infrared receiving tube of the infrared touch screen for scanning, light signals between the corresponding infrared transmitting tube and the corresponding infrared receiving tube can be obtained. The emission direction of the infrared receiving tube can be perpendicular to the side frame adjacent to the infrared receiving tube or inclined to the side frame adjacent to the infrared receiving tube. In the embodiment of the present invention, the direction of the first direction signal is perpendicular to the direction of the second direction signal, and the directions of two adjacent side frames of the infrared touch screen are taken as the X-axis direction and the Y-axis direction, preferably, the first direction signal is an X-axis light signal, and the second direction signal is a Y-axis light signal. In other embodiments, the first direction signal may also be an oblique axis light signal inclined by 45 degrees with respect to the Y axis, and the second direction signal may be an oblique axis light signal inclined by 45 degrees with respect to the X axis.
In other embodiments, the direction of the first direction signal may be inclined to the direction of the second direction signal by an angle greater than 0 degrees and less than 90 degrees. For example, the first direction signal is an X-axis light signal, and the second direction signal is an oblique-axis light signal inclined by 45 degrees with respect to the X-axis; or the first direction signal is an oblique axis light signal inclined by 45 degrees with respect to the Y axis, and the second direction signal is a Y axis light signal.
S3: and performing point finding processing on the current frame signal, and outputting a point finding result corresponding to the current frame signal.
In the embodiment of the present invention, an infrared detection optical network can be formed on the surface of the touch screen through light signals in two directions on the infrared touch screen, for example, an X-axis light signal and a Y-axis light signal, and an object (such as a finger) performing a touch operation can change the infrared ray of a touch point and then be converted into a coordinate position of the touch point to implement a response of the operation, where a point finding processing technology of the infrared touch screen is the prior art, and is not described in detail herein.
S4: and acquiring a second direction signal currently scanned in the current scanning period.
S5: and obtaining a next frame signal according to the second direction signal scanned currently and the first direction signal in the current frame signal.
S6: performing point finding processing on the next frame signal, and outputting a point finding result corresponding to the next frame signal; and the point finding result comprises the number and the position information of the real-time touch points.
In the embodiment of the invention, after the light ray signal of one axis is scanned, the algorithm point finding is carried out immediately by combining the light ray signal of the other axis of the previous frame signal, and the algorithm point finding processing is carried out without waiting for the completion of scanning the two axis signals simultaneously, so that the touch response speed is effectively improved, the touch response time is reduced, and the infrared touch quick response is realized.
In an optional embodiment, the method further comprises:
acquiring a first direction signal and a second direction signal which are scanned for the first time in the current scanning period, and taking the first direction signal and the second direction signal as a first frame signal and caching the first frame signal;
and performing point finding processing on the first frame signal, and outputting a point finding result corresponding to the first frame signal.
For each scanning period of the infrared touch screen, scanning X for the first time1Axial ray signal sum Y1The axial ray signal packet is buffered in Buf as the first frame point-finding data, and then the X2 axial ray of the next frame is scannedThe signals are updated into the first frame of point finding data to obtain second frame of point finding data (X2 axis light signal, Y1 axis light signal package), then the Y2 axis light signal package of the next frame is scanned and updated into the second frame of point finding data to obtain third frame of point finding data (X2 axis light signal, Y3 axis light signal package), the process is repeated continuously, the specific signal package logic is as shown in figure 3, after scanning, one axis signal and the previous axis signal form a frame immediately, and therefore quick response is achieved.
In an alternative embodiment, the obtaining the current frame signal according to the currently scanned first direction signal and the second direction signal in the previous frame signal includes:
updating the first direction signal of the last frame signal to the currently scanned first direction signal;
obtaining a current frame signal and caching according to the second direction signal of the previous frame signal and the updated first direction signal;
the obtaining a next frame signal according to the currently scanned second direction signal and the first direction signal in the current frame signal includes:
updating a second direction signal in the current frame signal to a second direction signal scanned currently;
and obtaining and buffering a next frame signal according to the first direction signal of the current frame signal and the updated second direction signal.
In an optional embodiment, the method further comprises:
and before outputting the point finding result corresponding to the current frame signal, calibrating the point finding result corresponding to the current frame signal.
In an optional embodiment, the method further comprises:
and before outputting the point finding result corresponding to the next frame signal, calibrating the point finding result corresponding to the next frame signal.
In the embodiment of the invention, the point finding precision can be effectively improved by calibrating the point finding result.
Compared with the prior art, the embodiment of the invention has the beneficial effects that: as shown in fig. 2, a currently scanned first direction signal and a second direction signal in a previous frame signal are packaged to be used as a current frame signal and subjected to point finding processing, and then the currently scanned second direction signal and the first direction signal in the current frame signal are packaged to be used as a next frame signal and subjected to point finding processing. Meanwhile, the method provided by the embodiment is high in compatibility and applicable to infrared touch screens of various sizes.
As shown in fig. 4, a second embodiment of the present invention also provides an infrared touch response device, including:
the first signal acquisition module 1 is used for acquiring a first direction signal currently scanned in a current scanning period;
the first signal processing module 2 is configured to obtain a current frame signal according to a currently scanned first direction signal and a second direction signal in a previous frame signal; the method comprises the steps that a frame signal comprises a first direction signal and a second direction signal, and the directions of the first direction signal and the second direction signal are different;
the first point finding module 3 is configured to perform point finding processing on the current frame signal, and output a point finding result corresponding to the current frame signal;
the second signal acquisition module 4 is configured to acquire a second direction signal currently scanned in a current scanning period;
the second signal processing module 5 is configured to obtain a next frame signal according to a currently scanned second direction signal and the first direction signal in the current frame signal;
the second point finding module 6 is configured to perform point finding processing on the next frame signal, and output a point finding result corresponding to the next frame signal; and the point finding result comprises the number and the position information of the real-time touch points.
In an alternative embodiment, the infrared touch responsive device further comprises:
the third signal acquisition module is used for acquiring a first direction signal and a second direction signal which are scanned for the first time in the current scanning period, and the first direction signal and the second direction signal are used as a first frame signal and are cached;
and the third point finding module is used for carrying out point finding processing on the first frame signal and outputting a point finding result corresponding to the first frame signal.
In an alternative embodiment, the first direction signal is perpendicular to the direction of the second direction signal.
In an alternative embodiment, the first direction signal is an X-axis ray signal; the second direction signal is a Y-axis light signal.
In an alternative embodiment, the first signal processing module 2 comprises:
the first signal updating unit is used for updating the first direction signal of the previous frame signal into a currently scanned first direction signal;
the first buffer unit is used for obtaining and buffering the current frame signal according to the second direction signal of the previous frame signal and the updated first direction signal;
the second signal processing module 5 includes:
the second signal updating unit is used for updating a second direction signal in the current frame signal into a currently scanned second direction signal;
and the second buffer unit is used for obtaining and buffering the next frame signal according to the first direction signal of the current frame signal and the updated second direction signal.
In an alternative embodiment, the apparatus further comprises:
and the first calibration module is used for calibrating the point finding result corresponding to the current frame signal before outputting the point finding result corresponding to the current frame signal.
In an alternative embodiment, the apparatus further comprises:
and the second calibration module is used for calibrating the point finding result corresponding to the next frame signal before outputting the point finding result corresponding to the next frame signal.
Compared with the prior art, the embodiment of the invention has the beneficial effects that: the method comprises the steps of packaging a currently scanned first direction signal and a second direction signal in a previous frame signal to serve as a current frame signal and conducting point finding processing, packaging the currently scanned second direction signal and the first direction signal in the current frame signal to serve as a next frame signal and conducting point finding processing, and performing algorithm point finding immediately after scanning a light signal of one axis and combining the light signal of the other axis of the previous frame signal without waiting for completion of simultaneous scanning of two axes signals and then conducting algorithm point finding processing.
It should be noted that the above-described device embodiments are merely illustrative, where the units described as separate parts may or may not be physically separate, and the parts displayed as units may or may not be physical units, may be located in one place, or may be distributed on multiple network units. Some or all of the modules may be selected according to actual needs to achieve the purpose of the solution of the present embodiment. In addition, in the drawings of the embodiment of the apparatus provided by the present invention, the connection relationship between the modules indicates that there is a communication connection between them, and may be specifically implemented as one or more communication buses or signal lines. One of ordinary skill in the art can understand and implement it without inventive effort.
Referring to fig. 5, a schematic diagram of an infrared touch response device according to a third embodiment of the present invention is shown. As shown in fig. 5, the infrared touch response device includes: at least one processor 11, such as a CPU, at least one network interface 14 or other user interface 13, a memory 15, at least one communication bus 12, the communication bus 12 being used to enable connectivity communications between these components. The user interface 13 may optionally include a USB interface, and other standard interfaces, wired interfaces. The network interface 14 may optionally include a Wi-Fi interface as well as other wireless interfaces. The memory 15 may comprise a high-speed RAM memory, and may also include a non-volatile memory (non-volatile memory), such as at least one disk memory. The memory 15 may optionally comprise at least one memory device located remotely from the aforementioned processor 11.
In some embodiments, memory 15 stores the following elements, executable modules or data structures, or a subset thereof, or an expanded set thereof:
an operating system 151, which contains various system programs for implementing various basic services and for processing hardware-based tasks;
and (5) a procedure 152.
Specifically, the processor 11 is configured to call the program 152 stored in the memory 15 to execute the infrared touch response method according to the above embodiment, for example, step S1 shown in fig. 1. Alternatively, the processor implements the functions of the modules/units in the above device embodiments when executing the computer program, for example, the first signal acquiring module.
Illustratively, the computer program may be partitioned into one or more modules/units that are stored in the memory and executed by the processor to implement the invention. The one or more modules/units may be a series of computer program instruction segments capable of performing specific functions, which are used to describe the execution of the computer program in the infrared touch-responsive device.
The infrared touch response device can be a desktop computer, a notebook, a palm computer, a cloud server and other computing devices. The infrared touch-responsive device may include, but is not limited to, a processor, a memory. Those skilled in the art will appreciate that the schematic diagrams are merely examples of an infrared touch-responsive device and do not constitute a limitation of an infrared touch-responsive device, and may include more or fewer components than those shown, or some components in combination, or different components.
The Processor 11 may be a Central Processing Unit (CPU), other general purpose Processor, a Digital Signal Processor (DSP), an Application Specific Integrated Circuit (ASIC), an off-the-shelf Programmable Gate Array (FPGA) or other Programmable logic device, discrete Gate or transistor logic, discrete hardware components, etc. The general purpose processor may be a microprocessor or the processor may be any conventional processor or the like, and the processor 11 is the control center of the infrared touch-responsive device and connects the various parts of the entire infrared touch-responsive device using various interfaces and lines.
The memory 15 may be used to store the computer programs and/or modules, and the processor 11 implements various functions of the infrared touch response device by running or executing the computer programs and/or modules stored in the memory and invoking data stored in the memory. The memory 15 may mainly include a program storage area and a data storage area, wherein the program storage area may store an operating system, an application program required by at least one function (such as a sound playing function, an image playing function, etc.), and the like; the storage data area may store data (such as audio data, a phonebook, etc.) created according to the use of the cellular phone, and the like. Further, the memory 15 may include high speed random access memory, and may also include non-volatile memory, such as a hard disk, a memory, a plug-in hard disk, a Smart Media Card (SMC), a Secure Digital (SD) Card, a Flash memory Card (Flash Card), at least one magnetic disk storage device, a Flash memory device, or other volatile solid state storage device.
Wherein the infrared touch response device integrated module/unit, if implemented in the form of a software functional unit and sold or used as a stand-alone product, may be stored in a computer readable storage medium. Based on such understanding, all or part of the flow of the method according to the embodiments of the present invention may also be implemented by a computer program, which may be stored in a computer-readable storage medium, and when the computer program is executed by a processor, the steps of the method embodiments may be implemented. Wherein the computer program comprises computer program code, which may be in the form of source code, object code, an executable file or some intermediate form, etc. The computer-readable medium may include: any entity or device capable of carrying the computer program code, recording medium, usb disk, removable hard disk, magnetic disk, optical disk, computer Memory, Read-Only Memory (ROM), Random Access Memory (RAM), electrical carrier wave signals, telecommunications signals, software distribution medium, and the like. It should be noted that the computer readable medium may contain content that is subject to appropriate increase or decrease as required by legislation and patent practice in jurisdictions, for example, in some jurisdictions, computer readable media does not include electrical carrier signals and telecommunications signals as is required by legislation and patent practice.
A fourth embodiment of the present invention provides a computer-readable storage medium, where the computer-readable storage medium includes a stored computer program, and when the computer program runs, the apparatus where the computer-readable storage medium is located is controlled to execute the infrared touch response method according to any one of the first embodiments.
While the foregoing is directed to the preferred embodiment of the present invention, it will be understood by those skilled in the art that various changes and modifications may be made without departing from the spirit and scope of the invention.
Claims (10)
1. An infrared touch response method, comprising:
acquiring a first direction signal scanned currently in a current scanning period;
obtaining a current frame signal according to a first direction signal scanned currently and a second direction signal in a previous frame signal; the method comprises the steps that a frame signal comprises a first direction signal and a second direction signal, and the directions of the first direction signal and the second direction signal are different;
performing point finding processing on the current frame signal, and outputting a point finding result corresponding to the current frame signal;
acquiring a second direction signal scanned currently in a current scanning period;
obtaining a next frame signal according to a second direction signal scanned currently and a first direction signal in the current frame signal;
performing point finding processing on the next frame signal, and outputting a point finding result corresponding to the next frame signal; and the point finding result comprises the number and the position information of the real-time touch points.
2. The infrared touch response method of claim 1, further comprising:
acquiring a first direction signal and a second direction signal which are scanned for the first time in the current scanning period, and taking the first direction signal and the second direction signal as a first frame signal and caching the first frame signal;
and performing point finding processing on the first frame signal, and outputting a point finding result corresponding to the first frame signal.
3. The infrared touch response method of claim 1 or 2, characterized in that the direction of the first direction signal is perpendicular to the direction of the second direction signal.
4. The infrared touch response method of claim 3, wherein the first directional signal is an X-axis ray signal; the second direction signal is a Y-axis light signal.
5. The infrared touch response method of claim 1, wherein obtaining the current frame signal according to the currently scanned first direction signal and the second direction signal in the previous frame signal comprises:
updating the first direction signal of the last frame signal to the currently scanned first direction signal;
obtaining a current frame signal and caching according to the second direction signal of the previous frame signal and the updated first direction signal;
the obtaining a next frame signal according to the currently scanned second direction signal and the first direction signal in the current frame signal includes:
updating a second direction signal in the current frame signal to a second direction signal scanned currently;
and obtaining and buffering a next frame signal according to the first direction signal of the current frame signal and the updated second direction signal.
6. The infrared touch response method of claim 1, further comprising:
and before outputting the point finding result corresponding to the current frame signal, calibrating the point finding result corresponding to the current frame signal.
7. The infrared touch response method of claim 1 or 6, further comprising:
and before outputting the point finding result corresponding to the next frame signal, calibrating the point finding result corresponding to the next frame signal.
8. An infrared touch-responsive device, comprising:
the first signal acquisition module is used for acquiring a first direction signal currently scanned in a current scanning period;
the first signal processing module is used for obtaining a current frame signal according to a currently scanned first direction signal and a second direction signal in a previous frame signal; the method comprises the steps that a frame signal comprises a first direction signal and a second direction signal, and the directions of the first direction signal and the second direction signal are different;
the first point finding module is used for carrying out point finding processing on the current frame signal and outputting a point finding result corresponding to the current frame signal;
the second signal acquisition module is used for acquiring a second direction signal currently scanned in the current scanning period;
the second signal processing module is used for obtaining a next frame signal according to a second direction signal scanned currently and the first direction signal in the current frame signal;
the second point finding module is used for carrying out point finding processing on the next frame signal and outputting a point finding result corresponding to the next frame signal; and the point finding result comprises the number and the position information of the real-time touch points.
9. The infrared touch responsive device of claim 8, further comprising:
the third signal acquisition module is used for acquiring a first direction signal and a second direction signal which are scanned for the first time in the current scanning period, and the first direction signal and the second direction signal are used as a first frame signal and are cached;
and the third point finding module is used for carrying out point finding processing on the first frame signal and outputting a point finding result corresponding to the first frame signal.
10. A computer-readable storage medium, comprising a stored computer program, wherein the computer program, when executed, controls an apparatus in which the computer-readable storage medium is located to perform the infrared touch response method of any of claims 1-7.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202011010113.1A CN112068739A (en) | 2020-09-23 | 2020-09-23 | Infrared touch response method, device and storage medium |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202011010113.1A CN112068739A (en) | 2020-09-23 | 2020-09-23 | Infrared touch response method, device and storage medium |
Publications (1)
Publication Number | Publication Date |
---|---|
CN112068739A true CN112068739A (en) | 2020-12-11 |
Family
ID=73682511
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202011010113.1A Withdrawn CN112068739A (en) | 2020-09-23 | 2020-09-23 | Infrared touch response method, device and storage medium |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN112068739A (en) |
Cited By (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN112799546A (en) * | 2021-01-26 | 2021-05-14 | 广州创知科技有限公司 | Touch detection method and device, interactive panel and storage medium |
CN114415852A (en) * | 2021-11-30 | 2022-04-29 | 深圳市鸿合创新信息技术有限责任公司 | Touch coordinate determination method and related equipment |
CN114415853A (en) * | 2021-12-08 | 2022-04-29 | 深圳市鸿合创新信息技术有限责任公司 | Touch point position determining method and device and electronic equipment |
WO2024021684A1 (en) * | 2022-07-28 | 2024-02-01 | 荣耀终端有限公司 | Method and apparatus for increasing touch-control response speed |
Citations (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
KR20080096975A (en) * | 2007-04-30 | 2008-11-04 | 안영수 | Method for driving touch-screen |
CN103472959A (en) * | 2013-09-29 | 2013-12-25 | 广州视睿电子科技有限公司 | Signal scanning method of infrared touch screen |
US20150253933A1 (en) * | 2014-03-05 | 2015-09-10 | Wistron Corporation | Optical touch apparatus and optical touch method |
CN105404433A (en) * | 2015-12-04 | 2016-03-16 | 青岛海信电器股份有限公司 | Touch identification method and display apparatus based on infrared touch screen |
CN105975139A (en) * | 2016-05-11 | 2016-09-28 | 青岛海信电器股份有限公司 | Touch point extraction method, device and display equipment |
CN106886342A (en) * | 2017-04-21 | 2017-06-23 | 青岛海信电器股份有限公司 | A kind of infrared touch panel and its localization method |
CN107329608A (en) * | 2017-06-23 | 2017-11-07 | 青岛海信电器股份有限公司 | One kind motion touch objects localization method, device and infrared touch control terminal |
-
2020
- 2020-09-23 CN CN202011010113.1A patent/CN112068739A/en not_active Withdrawn
Patent Citations (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
KR20080096975A (en) * | 2007-04-30 | 2008-11-04 | 안영수 | Method for driving touch-screen |
CN103472959A (en) * | 2013-09-29 | 2013-12-25 | 广州视睿电子科技有限公司 | Signal scanning method of infrared touch screen |
US20150253933A1 (en) * | 2014-03-05 | 2015-09-10 | Wistron Corporation | Optical touch apparatus and optical touch method |
CN105404433A (en) * | 2015-12-04 | 2016-03-16 | 青岛海信电器股份有限公司 | Touch identification method and display apparatus based on infrared touch screen |
CN105975139A (en) * | 2016-05-11 | 2016-09-28 | 青岛海信电器股份有限公司 | Touch point extraction method, device and display equipment |
CN106886342A (en) * | 2017-04-21 | 2017-06-23 | 青岛海信电器股份有限公司 | A kind of infrared touch panel and its localization method |
CN107329608A (en) * | 2017-06-23 | 2017-11-07 | 青岛海信电器股份有限公司 | One kind motion touch objects localization method, device and infrared touch control terminal |
Cited By (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN112799546A (en) * | 2021-01-26 | 2021-05-14 | 广州创知科技有限公司 | Touch detection method and device, interactive panel and storage medium |
CN112799546B (en) * | 2021-01-26 | 2024-05-31 | 广州创知科技有限公司 | Touch detection method and device, interaction panel and storage medium |
CN114415852A (en) * | 2021-11-30 | 2022-04-29 | 深圳市鸿合创新信息技术有限责任公司 | Touch coordinate determination method and related equipment |
CN114415853A (en) * | 2021-12-08 | 2022-04-29 | 深圳市鸿合创新信息技术有限责任公司 | Touch point position determining method and device and electronic equipment |
WO2024021684A1 (en) * | 2022-07-28 | 2024-02-01 | 荣耀终端有限公司 | Method and apparatus for increasing touch-control response speed |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN112068739A (en) | Infrared touch response method, device and storage medium | |
TWI453603B (en) | Platform independent information handling system, communication method, and computer program product thereof | |
TWI546775B (en) | Image processing method and device | |
US20220241689A1 (en) | Game Character Rendering Method And Apparatus, Electronic Device, And Computer-Readable Medium | |
CN110515871B (en) | Interrupt method, interrupt device, FPGA (field programmable Gate array) and storage medium | |
CN111738917B (en) | Picture telescoping method, device, equipment and storage medium | |
KR20210131225A (en) | Method and apparatus for processing image frame, electronic device, storage media and program | |
CN105094289B (en) | A kind of method, equipment and system for realizing graphical user's interactive interface | |
CN112102437A (en) | Canvas-based radar map generation method and device, storage medium and terminal | |
CN114004905B (en) | Method, device, equipment and storage medium for generating character style pictogram | |
US12079911B2 (en) | Method for image synthesis, device for image synthesis and storage medium | |
US12026433B2 (en) | Image interaction using sound signals | |
US20230402031A1 (en) | Speech processing method and apparatus, and electronic device | |
US20230199262A1 (en) | Information display method and device, and terminal and storage medium | |
CN110717467A (en) | Head pose estimation method, device, equipment and storage medium | |
CN112995549A (en) | Data processing method, device, equipment and computer readable storage medium | |
CN111338827B (en) | Method and device for pasting form data and electronic equipment | |
CN110413540B (en) | Method, system, equipment and storage medium for FPGA data caching | |
CN110288523B (en) | Image generation method and device | |
CN112613409A (en) | Hand key point detection method and device, network equipment and storage medium | |
CN110445578B (en) | SPI data transmission method and device | |
CN112231023A (en) | Information display method, device, equipment and storage medium | |
US20240319967A1 (en) | Script generation method and apparatus, device, and storage medium | |
CN116166185A (en) | Caching method, image transmission method, electronic device and storage medium | |
CN109308862B (en) | Signal control method, control device, processing device and signal control 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 | ||
WW01 | Invention patent application withdrawn after publication | ||
WW01 | Invention patent application withdrawn after publication |
Application publication date: 20201211 |