CN110286799B - Infrared information acquisition method and related device - Google Patents
Infrared information acquisition method and related device Download PDFInfo
- Publication number
- CN110286799B CN110286799B CN201910569161.5A CN201910569161A CN110286799B CN 110286799 B CN110286799 B CN 110286799B CN 201910569161 A CN201910569161 A CN 201910569161A CN 110286799 B CN110286799 B CN 110286799B
- Authority
- CN
- China
- Prior art keywords
- touch point
- infrared
- information
- writing
- touch
- 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.)
- Active
Links
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
-
- 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/0416—Control or interface arrangements specially adapted for digitisers
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)
- Position Input By Displaying (AREA)
Abstract
The application discloses an infrared information acquisition method, which comprises the following steps: judging whether a first touch point is detected; if the first touch point is detected, a first preset scanning area is obtained according to first touch point information of the first touch point; acquiring a second touch point and corresponding second touch point information in a first preset scanning area when the first preset scanning area is scanned; and if the first touch point is not detected, performing cyclic scanning. The application avoids the time consumption caused by the data transmission after the infrared scanning sequence is completed in the related technology, reduces the touch delay, improves the touch response and transmission speed, improves the point reporting rate and improves the user experience. The application also provides an infrared information acquisition device, electronic equipment and a computer readable storage medium, which have the beneficial effects.
Description
Technical Field
The present application relates to the field of touch technologies, and in particular, to an infrared information acquisition method, an infrared information acquisition device, an electronic apparatus, and a computer readable storage medium.
Background
The infrared touch screen is characterized in that the microcontroller controls related digital logic devices to switch infrared transmitting and receiving lamps on the periphery of the touch screen, then the receiving end collects signals of received infrared invisible rays, and after collecting signal data, the operation processing is carried out, touch points are calculated, and a system is reported to realize touch events.
The software algorithm of the infrared touch screen at present firstly scans and collects signals for infrared lamps on the surface of the infrared touch screen in a multi-line sequence, and the scanning sequence is from the first infrared lamp of an X axis to the last infrared lamp of a Y axis in sequence, so that a complete scanning period is achieved at one time. And after the touch algorithm receives the information, sequentially judging, processing and calculating all signals, obtaining touch shielding information, then calculating coordinate points of touch shielding points, obtaining position coordinates of the touch points, and outputting and reporting to a system to realize touch events. However, after the infrared lamps are scanned sequentially in sequence, the infrared signals are collected and then are fed to the touch algorithm module for calculation processing, at the moment, the touch algorithm module is in a passive receiving state, only the infrared signals are sent to be processed after the infrared signal information is collected, and the relevant waiting processing time is consumed when waiting.
Therefore, how to provide a solution to the above technical problem is a problem that a person skilled in the art needs to solve at present.
Disclosure of Invention
The application aims to provide an infrared information acquisition method, an infrared information acquisition device, electronic equipment and a computer readable storage medium, which can reduce touch delay. The specific scheme is as follows:
the application provides an infrared information acquisition method, which comprises the following steps:
judging whether a first touch point is detected;
if the first touch point is detected, a first preset scanning area is obtained according to first touch point information of the first touch point; acquiring a second touch point and corresponding second touch point information in the first preset scanning area when the first preset scanning area is scanned;
and if the first touch point is not detected, performing cyclic scanning.
Optionally, before determining whether the first touch point is detected, the method includes:
determining infrared receiving devices corresponding to the infrared emitting devices;
and carrying out switch scanning on the infrared emission device and all the corresponding infrared receiving devices according to a preset sequence.
Optionally, after obtaining the second touch point in the first preset scanning area and the corresponding second touch point information, the method further includes:
determining coordinate information of the second touch point according to the second touch point information;
acquiring thickness information of the second touch point by utilizing the coordinate information;
and sending the coordinate information and the thickness information to writing software so that the writing software controls the touch screen to display.
Optionally, determining whether the first touch point is detected includes:
determining a current writing mode;
acquiring initial first touch point information;
and judging whether the initial first touch point is the first touch point or not based on the current writing mode.
The application provides an infrared information acquisition device, comprising:
the judging module is used for judging whether the first touch point is detected or not;
the first processing module is used for acquiring a first preset scanning area according to first touch point information of the first touch point if the first touch point is detected; acquiring a second touch point and corresponding second touch point information in the first preset scanning area when the first preset scanning area is scanned;
and the second processing module is used for performing cyclic scanning if the first touch point is not detected.
Optionally, the method further comprises:
the first determining module is used for determining infrared receiving devices corresponding to the infrared emitting devices;
and the scanning module is used for carrying out switch scanning on the infrared emission device and all the corresponding infrared receiving devices according to a preset sequence.
Optionally, the method further comprises:
the second determining module is used for determining coordinate information of the second touch point according to the second touch point information;
the thickness information acquisition module is used for acquiring thickness information of the second touch point by utilizing the coordinate information;
and the sending module is used for sending the coordinate information and the thickness information to writing software so that the writing software controls the touch screen to display.
The present application provides an electronic device including:
a touch screen;
a memory for storing a computer program;
and the processor is used for realizing the steps of the infrared information acquisition method when executing the computer program.
Optionally, the touch screen includes:
a touch screen body;
the infrared emission devices are positioned on the first side of the touch screen body, wherein each infrared emission device adopts an arrangement mode that the arrangement density of the middle of each infrared emission device is smaller than that of the two ends of each infrared emission device on the first side;
a plurality of infrared receiving devices positioned on the second side of the touch screen body corresponding to the infrared transmitting devices; wherein the first side is parallel to the second side.
The present application provides a computer readable storage medium having stored thereon a computer program which when executed by a processor implements the steps of the infrared information collection method as described above.
The application provides an infrared information acquisition method, which comprises the following steps: judging whether a first touch point is detected; if the first touch point is detected, a first preset scanning area is obtained according to first touch point information of the first touch point; acquiring a second touch point and corresponding second touch point information in a first preset scanning area when the first preset scanning area is scanned; and if the first touch point is not detected, performing cyclic scanning.
As can be seen, according to the method, a first preset scanning area is obtained according to the first touch point information of the first touch point by detecting the first touch point; when the first preset scanning area is scanned, tracking of the first touch point is achieved by the mode of acquiring the second touch point in the first preset scanning area and the corresponding second touch point information, the first preset scanning area is scanned in a targeted mode, time consumption caused by data transmission after the infrared scanning sequence is completed in the related art is avoided, touch delay is reduced, touch response and transmission speed are improved, point reporting rate is improved, and user experience is improved. The application also provides an infrared information acquisition device, electronic equipment and a computer readable storage medium, which have the beneficial effects and are not repeated here.
Drawings
In order to more clearly illustrate the embodiments of the present application or the technical solutions in the prior art, the drawings that are required to be used in the embodiments or the description of the prior art will be briefly described below, and it is obvious that the drawings in the following description are only embodiments of the present application, and that other drawings can be obtained according to the provided drawings without inventive effort for a person skilled in the art.
FIG. 1 is a flowchart of an infrared information acquisition method according to an embodiment of the present application;
fig. 2 is a schematic diagram of an external information acquisition method according to an embodiment of the present application;
fig. 3 is a schematic structural diagram of an infrared information acquisition device according to an embodiment of the present application.
Detailed Description
For the purpose of making the objects, technical solutions and advantages of the embodiments of the present application more apparent, the technical solutions of the embodiments of the present application will be clearly and completely described below with reference to the accompanying drawings in the embodiments of the present application, and it is apparent that the described embodiments are some embodiments of the present application, but not all embodiments of the present application. All other embodiments, which can be made by those skilled in the art based on the embodiments of the application without making any inventive effort, are intended to be within the scope of the application.
In the common technology, after the infrared lamps are scanned sequentially in sequence, the infrared signals are collected and then are sent to the touch algorithm module for calculation processing, at the moment, the touch algorithm module is in a passive receiving state, only the infrared signals are sent to be processed after the infrared signal information is collected, the relevant waiting time is consumed during waiting, in addition, the infrared lamps are scanned sequentially, and the touch delay is caused by long time consumption. Based on the technical problems described above, the present embodiment provides an infrared information acquisition method, which acquires a first preset scanning area according to first touch point information of a first touch point by detecting the first touch point; when the first preset scanning area is scanned, tracking of the first touch point is achieved by acquiring the second touch point and corresponding second touch point information in the first preset scanning area, the first preset scanning area is scanned in a targeted mode, time consumption caused by data transmission after the infrared scanning sequence is completed in the related art is avoided, touch delay is reduced, touch correspondence and transmission speed are improved, point reporting rate is improved, user experience is improved, and referring to fig. 1 specifically, fig. 1 is a flow chart of an infrared information acquisition method provided by the embodiment of the application, which specifically comprises the following steps:
s101, judging whether a first touch point is detected.
In the optical network formed by the infrared emission device and the infrared receiving device, when the shielding area is not scanned, the cyclic scanning is carried out consistently. The cyclic scanning may be that scanning is sequentially performed from a first infrared emitting device of the X axis to a last infrared emitting device of the Y axis, so as to complete one cycle of scanning, for example, the first infrared emitting device of the X axis scans one-to-one and the infrared receiving device of the right diagonal coordinate until the last infrared emitting device of the Y axis and the right diagonal coordinate are scanned, then the first infrared emitting device of the X axis emits infrared light of the left diagonal coordinate, the corresponding infrared receiving device collects infrared information until the last infrared emitting device of the Y axis and the infrared light of the left diagonal coordinate are collected, the corresponding infrared receiving device collects infrared information, and finally the first infrared emitting device of the X axis emits infrared light of the right diagonal coordinate, the corresponding infrared receiving device collects infrared information until the last infrared emitting device of the Y axis and the right diagonal coordinate are infrared light, and the corresponding infrared receiving device collects infrared information, so as to complete one cycle of scanning; for another example, infrared light rays of all angles are emitted from the first infrared emission device of the X axis, and corresponding infrared information is collected by the corresponding infrared receiving device until the last infrared emission device of the Y axis scans, so that one period of scanning is completed. The present embodiment is not limited to the scanning method, and may be set by a user in a user-defined manner as long as the purpose of the present embodiment can be achieved.
Further, whether the first touch point is detected is determined, but the detection mode is not limited in this embodiment, and the first touch point may be used only if there is touch information, or may be used only if the touch point reaches a certain condition, for example, when the width of the touch point is greater than a preset width threshold, the first touch point may be used as a false hand when the width of the touch point is less than the preset width, and further, the first touch point may be cleared, or may be considered as a false hand when the width of the touch point is less than the preset time, according to the touch time of the touch point.
S102, if the first touch point is detected, a first preset scanning area is obtained according to first touch point information of the first touch point.
If the first touch point is detected, a first preset scanning area is obtained according to first touch point information of the first touch point. The purpose of this step is to perform a predetermined operation to obtain a first preset scan area. The first touch point information comprises coordinate information, touch time, touch force and the like of the touch point. The first preset scanning area may be a preset area range, or may be an area range determined according to the first touch point information. For example, if the coordinate information of the touch point is (X, Y), the first preset scanning range is (X-n) 1 ,Y-m 1 )、(X-n 1 ,Y+m 2 )、(X+n 2 ,Y-m 1 )、(X+n 2 ,Y+m 2 ) At this time, n 1 、m 1 、n 2 、m 2 Any one or more of the items may be equal or different, and this embodiment is not described in detail, and the user may customize the setting. The area range determined according to the first touch point information may be that when the coordinate information in the first touch point information is within a preset range, n corresponding to the preset range can be directly obtained 1 、m 1 、n 2 、m 2 Values.
And S103, when the first preset scanning area is scanned, acquiring a second touch point in the first preset scanning area and corresponding second touch point information.
At this time, the touch point is not lifted, so that the next shielding is performed around the first touch point, therefore, in the prior art, all infrared emission devices and infrared receiving devices are scanned in a round robin manner, so that time waste is generated and time delay is caused. The second touch point information comprises coordinate information, touch time, touch force and the like of the second touch point.
Specifically, in this embodiment, after a preset operation is performed, a first preset scanning area is actively calculated and issued to a scanning sampling module, and after the scanning sampling module receives the first preset scanning area, signal scanning and acquisition are performed on an infrared transmitting device and an infrared receiving device of the first preset scanning area, as shown in fig. 2 below, fig. 2 is a schematic diagram of an external information acquisition method provided in an embodiment of the present application, and regional scanning and signal acquisition are performed in the first preset scanning area, so as to implement calculation and tracking of the point.
Further, after obtaining the second touch point in the first preset scanning area and the corresponding second touch point information, the method further includes:
detecting whether the second touch point is lifted;
if the touch point is not lifted, acquiring a third touch point and corresponding third touch point information in the second preset scanning area when the second preset scanning area is scanned, and circulating until the touch point is lifted, wherein circulating scanning is performed at the moment.
And S104, if the first touch point is not detected, performing cyclic scanning.
Based on the above technical solution, in this embodiment, by detecting the first touch point, a first preset scan area is obtained according to first touch point information of the first touch point; when the first preset scanning area is scanned, tracking of the first touch point is achieved by the mode of acquiring the second touch point in the first preset scanning area and the corresponding second touch point information, the first preset scanning area is scanned in a targeted mode, time consumption caused by data transmission after the infrared scanning sequence is completed in the related art is avoided, touch delay is reduced, touch response and transmission speed are improved, point reporting rate is improved, and user experience is improved.
Based on the above embodiments, the present embodiment provides another method for collecting infrared information, before determining whether a first touch point is detected, including: determining infrared receiving devices corresponding to the infrared emitting devices; and switching and scanning the infrared emission device and all corresponding infrared receiving devices according to a preset sequence.
Based on the above technical scheme, the embodiment performs switch scanning through the infrared emission device corresponding to all the infrared receiving devices so as to complete scanning of all the infrared emission devices, therefore, the infrared emission devices only need to be turned on normally and on once in the whole scanning process, and acquisition of all signals can be completed in one period, so that the related scanning addressing time and the time of switching the infrared emission devices are saved, the scanning sampling speed is improved, and the touch control delay is reduced.
Based on the above embodiments, the present embodiment provides another method for acquiring infrared information, after acquiring the second touch point in the first preset scanning area and the corresponding second touch point information, further including: determining coordinate information of the second touch point according to the second touch point information; acquiring thickness information of the second touch point by utilizing the coordinate information; and sending the coordinate information and the thickness information to the writing software so that the writing software controls the touch screen to display.
Based on the technical scheme, the thickness information of the touch point is obtained by utilizing the coordinate information, and the thickness of the strokes in writing is realized by utilizing the coordinate information and the thickness information, so that the writing of the strokes can be truly restored and displayed according to the thickness information, the distortion problem of simulating and restoring notes according to a related algorithm in the related technology is avoided, and the authenticity of the displayed handwriting content is improved.
Based on any one of the above embodiments, the present embodiment provides another method for collecting infrared information, which further describes whether a first touch point is detected, including: determining a current writing mode; acquiring initial first touch point information; and judging whether the initial first touch point is the first touch point or not based on the current writing mode.
Specifically, a plurality of writing modes, for example, writing with a writing brush, writing with a pen or writing with a cursive script, a slave script, song Ti, a small seal, and the like, may be preset, and since different writing modes have different writing characteristics, the writing modes have characteristics of the writing modes, for example, when the current writing mode is a, because the characteristic of a is a, b, c, d, if the characteristic of the initial first touch point information does not conform to a is a, b, c, d, it is proved that the writing is wrong at this time, and the current initial first touch point is not used as the first touch point.
Based on the above technical scheme, the embodiment can more intelligently reflect the current writing situation by judging whether the initial first touch point is the first touch point based on the current writing mode.
The following describes an infrared information acquisition device provided by the embodiment of the present application, where the infrared information acquisition device described below and the infrared information acquisition method described above can be correspondingly referred to each other, and specifically, the infrared information acquisition device is disposed in a touch algorithm module, and referring to fig. 3, fig. 3 is a schematic structural diagram of the infrared information acquisition device provided by the embodiment of the present application, and the infrared information acquisition device includes:
a judging module 100, configured to judge whether a first touch point is detected;
the first processing module 200 is configured to obtain a first preset scan area according to first touch point information of a first touch point if the first touch point is detected; acquiring a second touch point and corresponding second touch point information in a first preset scanning area when the first preset scanning area is scanned;
the second processing module 300 is configured to perform a cyclic scan if the first touch point is not detected.
In some embodiments, the method further comprises:
the first determining module is used for determining infrared receiving devices corresponding to the infrared emitting devices;
and the scanning module is used for carrying out switch scanning on the infrared emission device and all the corresponding infrared receiving devices according to a preset sequence.
In some embodiments, the method further comprises: the second determining module is used for determining coordinate information of a second touch point according to the second touch point information; the thickness information acquisition module is used for acquiring thickness information of the second touch point by utilizing the coordinate information; and the sending module is used for sending the coordinate information and the thickness information to the writing software so that the writing software controls the touch screen to display.
In some embodiments, the determining module 100 includes:
a determining unit configured to determine a current writing mode;
the acquisition unit is used for acquiring initial first touch point information;
and the judging unit is used for judging whether the initial first touch point is the first touch point or not based on the current writing mode.
Since the embodiment of the infrared information collecting device portion corresponds to the embodiment of the infrared information collecting method portion, the embodiment of the infrared information collecting device portion is referred to the description of the embodiment of the infrared information collecting method portion, and is not repeated herein.
The following embodiment provides a specific display method, which includes:
the scanning program module performs regional scanning to acquire signals, uploads shielding signals of the first touch point and reports the shielding signals to the touch algorithm module;
the touch algorithm module acquires shielding information of a first touch point and performs contact operation processing to judge whether the first touch point is detected; if the first touch point is detected, a first preset scanning area is obtained according to first touch point information of the first touch point; issuing a first preset scanning area to a scanning program module;
the scanning program module scans the first preset scanning area and sends second touch control points in the first preset scanning area to the touch algorithm module;
and the touch algorithm module obtains corresponding second touch point information of the corresponding second touch point through operation processing and then uploads the second touch point information to the system to realize a touch event function.
According to the method and the device, the defects that the traditional scanning program sequentially scans, collects and reports time consuming frames such as passive receiving and calculating by a touch algorithm module are avoided, unnecessary waiting time consuming of the touch algorithm and scanning time consuming of an infrared transmitting device and an infrared receiving device which are redundant by a signal scanning module are saved, touch delay is reduced, touch response and transmission speed are improved, point reporting rate is improved, touch writing following response experience is improved, strokes do not feel delayed, lines are smooth, font writing reduction degree is high, and touch writing following response and writing experience are improved.
The following describes an electronic device provided by an embodiment of the present application, where the electronic device described below and the method for collecting infrared information described above may be referred to correspondingly.
The present application provides an electronic device including:
a touch screen;
a memory for storing a computer program;
and the processor is used for realizing the steps of the infrared information acquisition method when executing the computer program.
According to the embodiment, a first preset scanning area is obtained according to first touch point information of a first touch point by detecting the first touch point; when the first preset scanning area is scanned, tracking of the first touch point is achieved by the mode of acquiring the second touch point in the first preset scanning area and the corresponding second touch point information, the first preset scanning area is scanned in a targeted mode, time consumption caused by data transmission after the infrared scanning sequence is completed in the related art is avoided, touch delay is reduced, touch response and transmission speed are improved, point reporting rate is improved, and user experience is improved.
Further, the touch screen includes: a touch screen body; the touch screen comprises a touch screen body and a plurality of infrared emission devices, wherein the infrared emission devices are positioned on the first side of the touch screen body, and each infrared emission device adopts an arrangement mode that the arrangement density of the middle of each infrared emission device is smaller than that of the two ends of each infrared emission device; a plurality of infrared receiving devices positioned on the second side of the touch screen body corresponding to the infrared transmitting devices; wherein the first side is parallel to the second side.
Based on the above technical means, the arrangement mode of the infrared emission devices is adopted, the arrangement mode that the arrangement density in the middle is smaller than that of the two ends is adopted at the first side edge, comprehensive and reasonable arrangement is achieved, the arrangement distance of the infrared emission devices at the place where the optical network is covered fully is wider than the arrangement distance of the infrared emission devices at the place where the optical network is covered incompletely or the blind area, comprehensive non-blind area infrared network coverage is achieved, the problem that the cost of the infrared emission devices needs to be increased when the infrared emission devices are arranged at equal intervals in the related art is avoided, cost is reduced, and user experience is improved.
Since the embodiment of the electronic device portion corresponds to the embodiment of the infrared information collecting method portion, the embodiment of the electronic device portion is referred to the description of the embodiment of the infrared information collecting method portion, and is not repeated herein.
The following describes a computer readable storage medium provided in an embodiment of the present application, where the computer readable storage medium described below and the method for collecting infrared information described above may be referred to correspondingly.
The application provides a computer readable storage medium, on which a computer program is stored which, when being executed by a processor, implements the steps of the infrared information collection method as described above.
Since the embodiments of the computer readable storage medium portion and the embodiments of the infrared information collecting method portion correspond to each other, the embodiments of the computer readable storage medium portion are referred to the description of the embodiments of the infrared information collecting method portion, and are not repeated herein.
In the description, each embodiment is described in a progressive manner, and each embodiment is mainly described by the differences from other embodiments, so that the same similar parts among the embodiments are mutually referred. For the device disclosed in the embodiment, since it corresponds to the method disclosed in the embodiment, the description is relatively simple, and the relevant points refer to the description of the method section.
Those of skill would further appreciate that the various illustrative elements and algorithm steps described in connection with the embodiments disclosed herein may be implemented as electronic hardware, computer software, or combinations of both, and that the various illustrative elements and steps are described above generally in terms of functionality in order to clearly illustrate the interchangeability of hardware and software. Whether such functionality is implemented as hardware or software depends upon the particular application and design constraints imposed on the solution. Skilled artisans may implement the described functionality in varying ways for each particular application, but such implementation decisions should not be interpreted as causing a departure from the scope of the present application.
The steps of a method or algorithm described in connection with the embodiments disclosed herein may be embodied directly in hardware, in a software module executed by a processor, or in a combination of the two. The software modules may be disposed in Random Access Memory (RAM), memory, read Only Memory (ROM), electrically programmable ROM, electrically erasable programmable ROM, registers, hard disk, a removable disk, a CD-ROM, or any other form of storage medium known in the art.
The infrared information acquisition method, the infrared information acquisition device, the electronic equipment and the computer readable storage medium provided by the application are described in detail. The principles and embodiments of the present application have been described herein with reference to specific examples, the description of which is intended only to facilitate an understanding of the method of the present application and its core ideas. It should be noted that it will be apparent to those skilled in the art that various modifications and adaptations of the application can be made without departing from the principles of the application and these modifications and adaptations are intended to be within the scope of the application as defined in the following claims.
Claims (9)
1. The infrared information acquisition method is characterized by comprising the following steps of:
judging whether a first touch point is detected;
if the first touch point is detected, a first preset scanning area is obtained according to first touch point information of the first touch point; acquiring a second touch point and corresponding second touch point information in the first preset scanning area when the first preset scanning area is scanned;
if the first touch point is not detected, performing cyclic scanning;
judging whether the first touch point is detected comprises the following steps:
determining a current writing mode;
acquiring initial first touch point information;
judging whether the initial first touch point is the first touch point or not based on the current writing mode;
judging whether the initial first touch point is the first touch point based on the current writing mode comprises the following steps:
judging whether the initial first touch point is the first touch point or not based on the writing characteristics of the current writing mode;
the writing modes comprise a plurality of writing brush writing modes, pen writing modes, grass writing modes, slave writing modes, song Ti writing modes and small seal writing modes.
2. The method for collecting infrared information according to claim 1, wherein before determining whether the first touch point is detected, the method comprises:
determining infrared receiving devices corresponding to the infrared emitting devices;
and carrying out switch scanning on the infrared emission device and all the corresponding infrared receiving devices according to a preset sequence.
3. The method for collecting infrared information according to claim 1, further comprising, after obtaining the second touch point and the corresponding second touch point information in the first preset scanning area:
determining coordinate information of the second touch point according to the second touch point information;
acquiring thickness information of the second touch point by utilizing the coordinate information;
and sending the coordinate information and the thickness information to writing software so that the writing software controls the touch screen to display.
4. An infrared information acquisition device, characterized by comprising:
the judging module is used for judging whether the first touch point is detected or not;
the first processing module is used for acquiring a first preset scanning area according to first touch point information of the first touch point if the first touch point is detected; acquiring a second touch point and corresponding second touch point information in the first preset scanning area when the first preset scanning area is scanned;
the second processing module is used for performing cyclic scanning if the first touch point is not detected;
the judging module comprises:
a determining unit configured to determine a current writing mode;
the acquisition unit is used for acquiring initial first touch point information;
the judging unit is used for judging whether the initial first touch point is a first touch point or not based on the current writing mode;
the judging unit is specifically configured to:
judging whether the initial first touch point is the first touch point or not based on the writing characteristics of the current writing mode;
the writing modes comprise a plurality of writing brush writing modes, pen writing modes, grass writing modes, slave writing modes, song Ti writing modes and small seal writing modes.
5. The infrared information collection apparatus of claim 4, further comprising:
the first determining module is used for determining infrared receiving devices corresponding to the infrared emitting devices;
and the scanning module is used for carrying out switch scanning on the infrared emission device and all the corresponding infrared receiving devices according to a preset sequence.
6. The infrared information collection apparatus of claim 4, further comprising:
the second determining module is used for determining coordinate information of the second touch point according to the second touch point information;
the thickness information acquisition module is used for acquiring thickness information of the second touch point by utilizing the coordinate information;
and the sending module is used for sending the coordinate information and the thickness information to writing software so that the writing software controls the touch screen to display.
7. An electronic device, comprising:
a touch screen;
a memory for storing a computer program;
a processor for implementing the steps of the infrared information collection method according to any one of claims 1 to 3 when executing said computer program.
8. The electronic device of claim 7, wherein the touch screen comprises:
a touch screen body;
the infrared emission devices are positioned on the first side of the touch screen body, wherein each infrared emission device adopts an arrangement mode that the arrangement density of the middle of each infrared emission device is smaller than that of the two ends of each infrared emission device on the first side;
a plurality of infrared receiving devices positioned on the second side of the touch screen body corresponding to the infrared transmitting devices; wherein the first side is parallel to the second side.
9. A computer-readable storage medium, characterized in that the computer-readable storage medium has stored thereon a computer program which, when executed by a processor, implements the steps of the infrared information collection method according to any of claims 1 to 3.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201910569161.5A CN110286799B (en) | 2019-06-27 | 2019-06-27 | Infrared information acquisition method and related device |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201910569161.5A CN110286799B (en) | 2019-06-27 | 2019-06-27 | Infrared information acquisition method and related device |
Publications (2)
Publication Number | Publication Date |
---|---|
CN110286799A CN110286799A (en) | 2019-09-27 |
CN110286799B true CN110286799B (en) | 2023-10-03 |
Family
ID=68019962
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201910569161.5A Active CN110286799B (en) | 2019-06-27 | 2019-06-27 | Infrared information acquisition method and related device |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN110286799B (en) |
Families Citing this family (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN113126835B (en) * | 2021-04-30 | 2024-08-23 | 北京钛方科技有限责任公司 | Detection method, touch device and storage medium |
CN114325328A (en) * | 2021-12-29 | 2022-04-12 | 深圳市华胜软件技术有限公司 | Fault detection system, fault detection method, electronic device, and storage medium |
CN116483223A (en) * | 2022-01-14 | 2023-07-25 | 广州众远智慧科技有限公司 | Control method, control device and processor of infrared spliced touch screen |
Citations (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN103713780A (en) * | 2012-09-29 | 2014-04-09 | 联想(北京)有限公司 | Method for processing information and electronic equipment |
CN105786373A (en) * | 2014-12-24 | 2016-07-20 | 联想(北京)有限公司 | Touch track display method and electronic device |
CN106293276A (en) * | 2016-10-18 | 2017-01-04 | 青岛海信电器股份有限公司 | The vigour of style in writing based on infrared touch-control determines method, device and touch-screen system |
CN106468963A (en) * | 2015-08-21 | 2017-03-01 | 神讯电脑(昆山)有限公司 | Contactor control device and touch-control control method |
CN107045408A (en) * | 2017-04-14 | 2017-08-15 | 广州华欣电子科技有限公司 | Touch control method, smart pen, touch control identification method, apparatus and system |
CN107145256A (en) * | 2017-04-14 | 2017-09-08 | 广州华欣电子科技有限公司 | Zero touches the implementation method of height, apparatus and system |
CN107291307A (en) * | 2017-07-26 | 2017-10-24 | 京东方科技集团股份有限公司 | Ultrasonic wave contactor control device and method, display device |
Family Cites Families (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102053757B (en) * | 2009-11-05 | 2012-12-19 | 上海精研电子科技有限公司 | Infrared touch screen device and multipoint positioning method thereof |
-
2019
- 2019-06-27 CN CN201910569161.5A patent/CN110286799B/en active Active
Patent Citations (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN103713780A (en) * | 2012-09-29 | 2014-04-09 | 联想(北京)有限公司 | Method for processing information and electronic equipment |
CN105786373A (en) * | 2014-12-24 | 2016-07-20 | 联想(北京)有限公司 | Touch track display method and electronic device |
CN106468963A (en) * | 2015-08-21 | 2017-03-01 | 神讯电脑(昆山)有限公司 | Contactor control device and touch-control control method |
CN106293276A (en) * | 2016-10-18 | 2017-01-04 | 青岛海信电器股份有限公司 | The vigour of style in writing based on infrared touch-control determines method, device and touch-screen system |
CN107045408A (en) * | 2017-04-14 | 2017-08-15 | 广州华欣电子科技有限公司 | Touch control method, smart pen, touch control identification method, apparatus and system |
CN107145256A (en) * | 2017-04-14 | 2017-09-08 | 广州华欣电子科技有限公司 | Zero touches the implementation method of height, apparatus and system |
CN107291307A (en) * | 2017-07-26 | 2017-10-24 | 京东方科技集团股份有限公司 | Ultrasonic wave contactor control device and method, display device |
Also Published As
Publication number | Publication date |
---|---|
CN110286799A (en) | 2019-09-27 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN110286799B (en) | Infrared information acquisition method and related device | |
US9086749B2 (en) | System and method for improved processing of touch sensor data | |
CN101634919B (en) | Device and method for identifying gestures | |
CN109543574A (en) | Fingerprint collecting method and relevant device | |
CN108089813B (en) | Touch screen scribing operation processing method and device, electronic equipment and storage medium | |
CN103649877A (en) | Multitouch recognizing device | |
CN109241954A (en) | Fingerprint identification method and relevant device | |
CN109992148A (en) | Touch-control display driver circuit | |
CN106055177B (en) | A kind of scan method and device of infrared touch panel | |
JP4944998B1 (en) | Touch panel device and plasma display device having the same | |
TWI490764B (en) | Hybrid capacitive scan method | |
WO2020168861A1 (en) | Method for obtaining fingerprint template and related device | |
CN109101884A (en) | A kind of pulse array prediction technique | |
CN105094413B (en) | The noise detecting method of touch device, touch control controller and touch panel | |
CN110333801A (en) | A kind of infrared touch panel | |
CN106775058A (en) | Control method and control device of infrared touch screen | |
CN106896966A (en) | Contact position and the method and apparatus of shape information storage in infrared touch panel | |
CN116562318A (en) | Encoding format detection method and device based on PDA terminal and electronic equipment | |
CN105068688A (en) | Touchscreen position reporting method and apparatus | |
CN112799547A (en) | Touch positioning method of infrared touch screen, model training method, device, equipment and medium | |
CN109493288B (en) | Light spot self-adaptive mapping method for interactive classroom teaching system | |
CN110658929A (en) | Control method and device for intelligent pen | |
CN109657562A (en) | Fingerprint input method and relevant device | |
CN110275639A (en) | Touch data processing method, device, terminal and storage medium | |
CN107122084B (en) | Method and device for identifying touch operation on infrared touch screen and terminal 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 | ||
GR01 | Patent grant | ||
GR01 | Patent grant |