CN110737365B - Method and device for calculating touch area from double-finger closing scribing to single-finger scribing and touch display device - Google Patents

Method and device for calculating touch area from double-finger closing scribing to single-finger scribing and touch display device Download PDF

Info

Publication number
CN110737365B
CN110737365B CN201911120077.1A CN201911120077A CN110737365B CN 110737365 B CN110737365 B CN 110737365B CN 201911120077 A CN201911120077 A CN 201911120077A CN 110737365 B CN110737365 B CN 110737365B
Authority
CN
China
Prior art keywords
maximum value
value
values
around
octave
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
Application number
CN201911120077.1A
Other languages
Chinese (zh)
Other versions
CN110737365A (en
Inventor
毕硕本
范京津
王国杰
路明月
郭家宝
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Nanjing University of Information Science and Technology
Original Assignee
Nanjing University of Information Science and Technology
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Nanjing University of Information Science and Technology filed Critical Nanjing University of Information Science and Technology
Priority to CN201911120077.1A priority Critical patent/CN110737365B/en
Publication of CN110737365A publication Critical patent/CN110737365A/en
Application granted granted Critical
Publication of CN110737365B publication Critical patent/CN110737365B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/03Arrangements for converting the position or the displacement of a member into a coded form
    • G06F3/041Digitisers, e.g. for touch screens or touch pads, characterised by the transducing means
    • G06F3/0416Control or interface arrangements specially adapted for digitisers
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F2203/00Indexing scheme relating to G06F3/00 - G06F3/048
    • G06F2203/041Indexing scheme relating to G06F3/041 - G06F3/045
    • G06F2203/04104Multi-touch detection in digitiser, i.e. details about the simultaneous detection of a plurality of touching locations, e.g. multiple fingers or pen and finger

Abstract

The invention provides a method and a device for calculating a touch area from a two-finger closing and scribing mode to a single-finger scribing mode, and a touch display device, wherein the method comprises the following steps: judging whether the second largest value of the current touch area is in sixteen grids around the maximum eight grids; if yes, respectively calculating the touch values of the two-point touch areas according to a first calculation mode; if not, judging whether the second largest value of the current touch area is within the maximum value eight-grid; if yes, respectively calculating the touch values of the two-point touch areas according to a second calculation mode; if none, the next cycle continues. The method can effectively enhance the linear stability in the process of changing the double-finger closing scribing into the single-finger scribing.

Description

Method and device for calculating touch area from double-finger closing scribing to single-finger scribing and touch display device
Technical Field
The invention relates to the technical field of touch control, in particular to a method and a device for calculating a touch area from a double-finger close scribing mode to a single-finger scribing mode and a touch control display device.
Background
In the mutual capacitance multi-point touch system, when a user changes a double-finger drawn line into a single-finger drawn line, the two fingers are too close to each other, so that the touch IC can be easily understood as a single-finger drawn line sometimes and a double-finger drawn line sometimes. The touch track is constantly switched between the touch track and the touch track, so that touch response is constantly changed, and the lineation is in burr and stair shapes, thereby causing bad operation experience. The patent aims to provide a method for recalculating and dividing a double-finger pressing area and enhancing the linear stability.
Disclosure of Invention
The invention aims to solve the problems of burrs and stair shapes of a scribing track caused by changing a double-finger closing scribing mode into a single-finger scribing mode in the prior art, provides a method and a device for calculating a touch area changing the double-finger closing scribing mode into the single-finger scribing mode, and a touch display device, and can effectively improve the problems and enhance the linear stability.
A method for calculating a touch area from a two-finger closing line to a single-finger line comprises the following steps:
step S101: judging whether the second largest value of the current touch area is in sixteen grids around the largest value of eight grids;
step S102: if yes, respectively calculating the touch values of the two-point touch area according to a first calculation formula;
step S103: if not, judging whether the second largest value of the current touch area is within the maximum value eight-grid;
step S104: if yes, respectively calculating the touch values of the two-point touch area according to a second calculation formula;
step S105: if none, the next cycle continues.
Further, the step S101 of determining whether the second largest value of the current touch area is within sixteen cells around the maximum eight cells includes: collecting real-time signal data; comparing and calculating the real-time signal data with prestored basic signal data which is not touched to obtain signal variation; judging whether the drawing is changed from the drawing with two fingers into the drawing with one finger or not according to the signal variation; if so, finding out the maximum value and the second maximum value of the current touch area; and judging whether the second largest value of the current touch area is in sixteen lattices around the maximum eight lattices.
Further, in step S102: when the maximum value is on the right side of the second maximum value, acquiring the original values of the units positioned in the 0 degree direction, the 45 degree direction and the 315 degree direction of the maximum value in the eight lattices around the maximum value, namely the original values of the units positioned in the 135 degree direction, the 180 degree direction and the 225 degree direction of the second maximum value in the eight lattices around the second maximum value; acquiring original values of units positioned in the direction of 90 degrees and the direction of 270 degrees of the maximum value in eight grids around the maximum value; acquiring original values of units positioned in the direction of 90 degrees and the direction of 270 degrees of the secondary maximum value in eight grids around the secondary maximum value;
the values of the cells located in the maximum value 0 ° direction, 45 ° direction, and 315 ° direction in the octave around the maximum value after recalculation and the values of the cells located in the next largest value 135 ° direction, 180 ° direction, and 225 ° direction in the octave around the next largest value are found by the first calculation formula:
Figure BDA0002275213180000021
wherein Q 1 For the values of the cells in the direction of the next largest value 135 deg. in the recalculated octave around the next largest value, Q 2 For the values of the cells in the direction of the next largest value 180 DEG within the recalculated next largest value surrounding octave, Q 3 For the values of the cells in the direction of the next maximum 225 deg. in the recalculated next maximum surrounding octave, P 1 The values of the cells located in the direction of 45 DEG of the maximum value in the octave around the recalculated maximum value, P 2 For the values of the cells located in the direction of 0 ° of the maximum value in the octagons around the recalculated maximum value, P 3 The values of the cells located in the direction of the maximum value 315 DEG in the octave around the recalculated maximum value, D 1 The original values of the cells located in the direction of 45 DEG from the maximum value in the eight cells around the maximum value, D 2 Is the original value of the cell located in the direction of 0 ° of the maximum value in the octagon around the maximum value, D 3 Is the original value, M, of the cell in the direction of 315 ° of the maximum value in the octave around the maximum value 1 Is the original value of the maximum unit, M 2 Is the original value of the next largest value unit, V 1 Is the original value, V, of the cell located in the 90 DEG direction of the next largest value in the eight squares around the next largest value 3 Is the original value, U, of the cell located in the direction of 270 DEG of the next maximum value in the eight lattices surrounding the next maximum value 1 Is the original value, U, of the cell located in the direction of 90 DEG of the maximum value in the eight lattices around the maximum value 3 The original values of the cells located in the direction of 270 ° of the maximum value in the octave around the maximum value.
Further, in step S102: when the maximum value is on the left side of the second maximum value, acquiring the original values of the units positioned in the directions of 135 degrees, 180 degrees and 225 degrees of the maximum value in the eight lattices around the maximum value, namely the original values of the units positioned in the directions of 0 degrees, 45 degrees and 315 degrees of the second maximum value in the eight lattices around the second maximum value; acquiring original values of units positioned in the direction of 90 degrees and the direction of 270 degrees of the maximum value in eight grids around the maximum value; acquiring original values of units positioned in the direction of 90 degrees and the direction of 270 degrees of the secondary maximum value in eight grids around the secondary maximum value;
the values of the cells located in the 135 ° direction, 180 ° direction, and 225 ° direction of the maximum value in the octave around the recalculated maximum value and the values of the cells located in the 0 ° direction, 45 ° direction, and 315 ° direction of the next largest value in the octave around the next largest value are found by the first calculation formula:
Figure BDA0002275213180000031
wherein Q 1 For the values of the cells in the direction of the next maximum value of 45 DEG within the recalculated next maximum value surrounding octave, Q 2 For the values of the cells in the direction of the next largest value 0 DEG within the recalculated next largest value surrounding octave, Q 3 For the values of the cells in the direction of the next largest value 315 deg. in the recalculated octave around the next largest value, P 1 The values of the cells located in the direction of the maximum value 135 DEG in the octave around the recalculated maximum value, P 2 The values of the cells located in the direction of 180 DEG of the maximum value in the octave around the recalculated maximum value, P 3 The values of the cells located in the direction of the maximum value 225 DEG within the octave around the recalculated maximum value, D 1 Is the original value of the cell located at 135 deg. of the maximum value in the eight lattices around the maximum value, D 2 Is the original value of the cell located in the direction of 180 DEG of the maximum value in the octave around the maximum value, D 3 Is the original value, M, of the cell in the direction of 225 ° of the maximum value in the octave around the maximum value 1 Is the original value of the maximum value unit, M 2 Is the original value of the next largest value unit, V 1 Is the original value, V, of the cell located in the direction of 90 DEG of the next maximum value in the eight lattices surrounding the next maximum value 3 Is the original value, U, of the cell located in the direction of 270 DEG of the next maximum value in the eight lattices surrounding the next maximum value 1 Is the original value of the cell located in the direction of 90 DEG from the maximum value in the eight cells around the maximum value, U 3 The original values of the cells located in the direction of 270 ° of the maximum value in the octave around the maximum value.
Further, the step S103 of determining whether the second largest value of the current touch area is within the maximum eight squares includes:
collecting real-time signal data; comparing and calculating the real-time signal data with prestored basic signal data which is not touched to obtain signal variation; judging whether the drawing is changed from the drawing with two fingers into the drawing with one finger or not according to the signal variation; if so, finding out the maximum value and the second maximum value of the current touch area; and judging whether the second largest value of the current touch area is in the eight-grid lattice around the largest value.
Further, in step S104: when the maximum value is on the right side of the second maximum value, acquiring the original values of the units positioned in the direction of 90 degrees and the direction of 270 degrees of the maximum value in the octagon grid around the maximum value; acquiring original values of units positioned in the direction of 90 degrees and the direction of 270 degrees of the secondary maximum value in eight grids around the secondary maximum value;
using a second calculation formula, the values of the cells located in the maximum value 0 ° direction, 45 ° direction, 90 ° direction, 270 ° direction, and 315 ° direction in the octave around the recalculated maximum value and the values of the cells located in the next largest value 90 ° direction, 135 ° direction, 180 ° direction, 225 ° direction, and 270 ° direction in the octave around the next largest value are obtained:
Figure BDA0002275213180000041
wherein A is 1 For the values of the cells located in the direction of the next largest value 135 deg. in the recalculated octave around the next largest value, A 2 For the values of the cells located in the direction of 180 DEG of the next maximum in the recalculated octave surrounding the next maximum, A 3 For the values of the cells located in the direction of the next maximum value 225 deg. in the recalculated octave around the next maximum value, A 4 For the values of the cells located in the direction of the next largest value 90 DEG within the recalculated next largest value surrounding octave, A 5 For the values of the cells located in the direction of 270 DEG of the next maximum in the recalculated octave surrounding the next maximum, B 1 The values of the cells located in the direction of 45 DEG of the maximum value in the octave around the recalculated maximum value, B 2 For the values of the cells located in the direction of 0 ° of the maximum value in the octagons around the recalculated maximum value, B 3 The values of the cells located in the direction of the maximum value 315 deg. in the octagons around the recalculated maximum value, B 4 For the values of the cells located in the direction of the next largest value 90 DEG within the recalculated next largest value surrounding octave, B 5 To recalculateThe value of the cell located in the direction of 270 ° of the next maximum in the octave around the next maximum, M 1 Is the original value of the maximum value unit, M 2 As original value of the next largest value unit, E 1 The original values of the cells located in the direction of 90 DEG of the next maximum value in the eight cells around the next maximum value, E 3 Is the original value of the cell located in the direction of 270 DEG of the next maximum value in the eight lattices around the next maximum value, R 1 Is the original value, R, of the cell located in the direction of 90 DEG of the maximum value in the eight lattices surrounding the maximum value 3 The original values of the cells located in the direction of 270 ° of the maximum value in the octave around the maximum value.
Further, in step S104: when the maximum value is on the left side of the second maximum value, acquiring the original values of the units positioned in the direction of 90 degrees and the direction of 270 degrees of the maximum value in the octagon grid around the maximum value; acquiring original values of units positioned in the direction of 90 degrees and the direction of 270 degrees of the secondary maximum value in eight grids around the secondary maximum value;
the values of the cells located in the next largest value 90 ° direction, 135 ° direction, 180 ° direction 225 ° direction, and 270 ° direction in the octave around the largest value after recalculation and the values of the cells located in the next largest value 0 ° direction, 45 ° direction, 90 ° direction, 270 ° direction, and 315 ° direction are found by the second calculation formula:
Figure BDA0002275213180000051
wherein A is 1 For the values of the cells located in the direction of 45 DEG of the next maximum in the recalculated octave surrounding 2 For the values of the cells located in the direction of the next largest value 0 DEG within the recalculated next largest value surrounding octave, A 3 For the values of the cells located in the direction of the next largest value 315 deg. in the recalculated octave 4 For the values of the cells located in the direction of the next largest value 90 DEG within the recalculated next largest value surrounding octave, A 5 For the values of the cells located in the direction of 270 DEG of the next maximum in the recalculated octave surrounding the next maximum, B 1 The values of the cells located in the direction of 135 DEG in the octave around the maximum value after recalculation, B 2 To recalculateThe calculated value of the cell located in the direction of 180 ° of the maximum value in the octave around the maximum value, B 3 The values of the cells located in the direction of the maximum value 225 DEG in the octave around the recalculated maximum value, B 4 For the values of the cells located in the direction of the next largest value 90 DEG within the recalculated next largest value surrounding octave, B 5 For the values of the cells in the direction of 270 DEG of the next maximum in the recalculated octave surrounding the next maximum, M 1 Is the original value of the maximum value unit, M 2 As original value of the next largest value unit, E 1 The original values of the cells located in the direction of 90 DEG of the next maximum value in the eight cells around the next maximum value, E 3 Is the original value of the cell located in the direction of 270 DEG of the next maximum value in the eight lattices around the next maximum value, R 1 Is the original value, R, of the cell located in the direction of 90 DEG of the maximum value in the eight lattices surrounding the maximum value 3 The original values of the cells located in the direction of 270 ° of the maximum value in the octave around the maximum value.
The utility model provides a touch-control recognition device that two fingers are drawn close and are drawn a line and become single finger and draw line touch area calculation, includes display area and non-display area, be provided with a plurality of passageways in the display area, be provided with touch-control IC and memory in the non-display area, touch-control IC with a plurality of channel connection, the memory has many instructions, touch-control IC is used for reading the instruction and carry out:
judging whether the second largest value of the current touch area is in sixteen grids around the maximum eight grids;
if yes, respectively calculating the touch values of the two-point touch area according to a first calculation mode;
if not, judging whether the second largest value of the current touch area is within the maximum value eight-grid;
if yes, respectively calculating the touch values of the two-point touch area according to a second calculation mode;
if none, the next cycle continues.
A touch display device comprises the device for calculating the touch area from the double-finger close scribing to the single-finger scribing.
The invention has the beneficial effects that:
according to the method and the device for calculating the double-finger closing and scribing-to-single-finger scribing touch area and the touch display device, provided by the invention, the burr and stair shape of the scribing track in the process of changing the double-finger closing and scribing to the single-finger scribing are improved and the linear stability is enhanced by recalculating the value of the double-finger touch area in the process of changing the double-finger closing and scribing to the single-finger scribing.
Drawings
Fig. 1 is a flowchart of a method for calculating a touch area from a closed two-finger scribe line to a single-finger scribe line according to an embodiment of the present invention.
Fig. 2 is a schematic diagram of a second largest value in sixteen lattices around the largest value and the largest value on the right side of the second largest value in the calculation method for changing a two-finger-closing scribing line into a single-finger scribing line touch area provided by the invention.
Fig. 3 is a schematic diagram of a second largest value in sixteen lattices around the largest value and the largest value on the left side of the second largest value in the calculation method for changing a two-finger-closing scribing line into a single-finger scribing line touch area provided by the invention.
Fig. 4 is a schematic diagram of a second largest value in an eight-grid around the largest value and the largest value on the right side of the second largest value in the calculation method for changing a two-finger closing and scribing line into a single-finger scribing line touch area provided by the invention.
Fig. 5 is a schematic diagram of a second largest value in an eight-grid around the largest value and the largest value on the left side of the second largest value in the calculation method for changing a two-finger-closing-drawing line into a single-finger-drawing line touch area provided by the invention.
Fig. 6 is a schematic structural diagram of a touch recognition device for calculating a touch area from a double-finger close scribing line to a single-finger scribing line according to an embodiment of the present invention.
Reference numerals: the display device comprises a display area 601, a non-display area 602, a touch IC603, a memory 604, a sensing channel 605 and a driving channel 606.
Detailed Description
In order to make the objects, technical solutions and effects of the present invention clearer and clearer, the present invention is further described in detail below with reference to the accompanying drawings and examples. It should be understood that the specific embodiments described herein are merely illustrative of the invention and are not intended to limit the invention.
Example one
Referring to fig. 1, the present embodiment provides a method for calculating a touch area from a closed two-finger scribe line to a single-finger scribe line, including:
step S101, judging whether the second largest value of the current touch area is in sixteen grids around the largest eight grid;
step S102, if yes, calculating the touch values of the two-point touch areas according to a first calculation mode;
step S103, if not, judging whether the second largest value of the current touch area is within the maximum value eight grid;
step S104, if yes, respectively calculating the touch values of the two-point touch areas according to a second calculation mode;
step S105, if the two steps are not the same, continuing to perform the next cycle;
specifically, step S101 is executed to determine whether the second largest value of the current touch area is within sixteen lattices around the maximum eight lattices, which specifically includes: collecting real-time signal data; comparing and calculating the real-time signal data with prestored basic signal data which is not touched to obtain signal variation; judging whether the drawing is changed from the drawing with two fingers into the drawing with one finger or not according to the signal variation; if so, finding out the maximum value and the second maximum value of the current touch area; and judging whether the second largest value of the current touch area is in sixteen lattices around the maximum eight lattices.
Further, step S102 is executed, as shown in fig. 2, and if yes, the touch values of the two-point touch area are respectively calculated according to the result of the determination in step S101, and the method specifically includes:
when the maximum value is on the right side of the second maximum value, acquiring the original values of the units positioned in the directions of 0 degree, 45 degrees and 315 degrees in the octave around the maximum value, namely the original values of the units positioned in the directions of 135 degrees, 180 degrees and 225 degrees in the octave around the second maximum value;
acquiring original values of units positioned in the direction of 90 degrees and the direction of 270 degrees of the maximum value in eight grids around the maximum value;
acquiring original values of units positioned in the direction of 90 degrees and the direction of 270 degrees of the secondary maximum value in eight grids around the secondary maximum value;
the values of the cells located in the 0 °, 45 ° and 315 ° directions of the maximum value in the octave around the maximum value after recalculation and the values of the cells located in the 135 °, 180 ° and 225 ° directions of the next largest value in the octave around the next largest value are found by the following equations:
Figure BDA0002275213180000081
wherein Q 1 For the values of the cells in the direction of the next largest value 135 deg. in the recalculated octave around the next largest value, Q 2 For the values of the cells in the direction of the next largest value 180 DEG within the recalculated next largest value surrounding octave, Q 3 For the values of the cells located in the direction of the next maximum 225 ° in the recalculated next maximum-surrounding octave, P 1 The values of the cells located in the direction of 45 DEG of the maximum value in the octagons around the recalculated maximum value, P 2 The values of the cells located in the direction of 0 DEG of the maximum value in the octagons around the recalculated maximum value, P 3 The values of the cells located in the direction of the maximum value 315 DEG in the octave around the recalculated maximum value, D 1 Is the original value of the cell located in the direction of 45 DEG of the maximum value in the eight lattices around the maximum value, D 2 Is the original value of the cell located in the direction of 0 ° of the maximum value in the octagons around the maximum value, D 3 Is the original value, M, of the cell in the direction of 315 ° of the maximum value in the octave around the maximum value 1 Is the original value of the maximum unit, M 2 Is the original value of the next largest value unit, V 1 Is the original value, V, of the cell located in the direction of 90 DEG of the next maximum value in the eight lattices surrounding the next maximum value 3 Is the original value, U, of the cell located in the direction of 270 DEG of the next maximum value in the eight lattices surrounding the next maximum value 1 Is the original value, U, of the cell located in the direction of 90 DEG of the maximum value in the eight lattices around the maximum value 3 The original values of the cells located in the direction of 270 ° of the maximum value in the octave around the maximum value.
Further, as shown in fig. 3, if yes, the touch values of the two-point touch area are respectively calculated according to a first calculation method, which specifically includes:
when the maximum value is on the left side of the second maximum value, acquiring the original values of the units positioned in the directions of 135 degrees, 180 degrees and 225 degrees of the maximum value in the eight lattices around the maximum value, namely the original values of the units positioned in the directions of 0 degrees, 45 degrees and 315 degrees of the second maximum value in the eight lattices around the second maximum value;
acquiring original values of units positioned in the direction of 90 degrees and the direction of 270 degrees of the maximum value in eight grids around the maximum value;
acquiring original values of units positioned in the direction of 90 degrees and the direction of 270 degrees of the secondary maximum value in eight grids around the secondary maximum value;
the values of the cells located in the 135 °, 180 °, and 225 ° directions of the maximum value in the octave around the maximum value after recalculation and the values of the cells located in the 0 °, 45 °, and 315 ° directions of the next largest value in the octave around the next largest value are found by the following equations:
Figure BDA0002275213180000091
wherein Q 1 For the values of the cells in the direction of the next maximum value of 45 DEG within the recalculated next maximum value surrounding octave, Q 2 For the values of the cells located in the direction of the next largest value 0 deg. in the recalculated next largest value surrounding octave, Q 3 For the values of the cells in the direction of the next largest value 315 deg. in the recalculated octave around the next largest value, P 1 The values of the cells located in the direction of 135 DEG in the octave around the maximum value after recalculation, P 2 The values of the cells located in the direction of 180 DEG of the maximum value in the octagons around the recalculated maximum value, P 3 The values of the cells located in the direction of the maximum value 225 DEG within the octave around the recalculated maximum value, D 1 Is the original value of the cell located at 135 deg. of the maximum value in the eight lattices around the maximum value, D 2 Is the original value of the cell located in the direction of 180 DEG of the maximum value in the octave around the maximum value, D 3 Is located at maximum value 2 in the eight lattices around the maximum valueOriginal value, M, of the cell in the 25 deg. direction 1 Is the original value of the maximum value unit, M 2 Is the original value of the next largest value unit, V 1 Is the original value, V, of the cell located in the direction of 90 DEG of the next maximum value in the eight lattices surrounding the next maximum value 3 Is the original value, U, of the cell located in the direction of 270 DEG of the next largest value in the octave grid around the next largest value 1 Is the original value, U, of the cell located in the direction of 90 DEG of the maximum value in the eight lattices around the maximum value 3 The original values of the cells located in the direction of 270 ° of the maximum value in the octave around the maximum value.
Further, step S103 is executed, if not, it is determined whether the next largest value of the current touch area is within the maximum value of eight grids, specifically including: collecting real-time signal data; comparing and calculating the real-time signal data with prestored basic signal data which is not touched to obtain signal variation; judging whether the drawing is changed from the drawing with two fingers into the drawing with one finger or not according to the signal variation; if so, finding out the maximum value and the second maximum value of the current touch area; and judging whether the second largest value of the current touch area is in the eight-grid lattice around the largest value.
Further, step S104 is executed, as shown in fig. 4, according to the result of the determination in step S103, if yes, the touch values of the two-point touch area are respectively calculated according to a second calculation method, which specifically includes:
when the maximum value is on the right side of the second maximum value, acquiring original values of units positioned in the direction of 90 degrees and the direction of 270 degrees of the maximum value in an octave around the maximum value;
acquiring original values of units positioned in the direction of 90 degrees and the direction of 270 degrees of the secondary maximum value in eight grids around the secondary maximum value;
the values of the cells located in the 0 °, 45 °, 90 °, 270 °, and 315 ° directions of the maximum value in the octave around the maximum value after recalculation and the values of the cells located in the 90 °, 135 °, 180 °, 225 °, and 270 ° directions of the next largest value in the octave around the next largest value are found by the following equations:
Figure BDA0002275213180000101
wherein A is 1 For the values of the cells located in the direction of the next largest value 135 deg. in the recalculated octave around the next largest value, A 2 For the values of the cells located in the direction of 180 DEG of the next maximum in the recalculated octave surrounding the next maximum, A 3 For the values of the cells located in the direction of the next maximum value 225 deg. in the recalculated octave around the next maximum value, A 4 For the values of the cells located in the direction of the next largest value 90 deg. in the recalculated octave around the next largest value, A 5 For the values of the cells located in the direction of the next largest value 270 deg. in the recalculated octave around the next largest value, B 1 The values of the cells located in the direction of 45 DEG of the maximum value in the octave around the recalculated maximum value, B 2 For the values of the cells located in the direction of 0 ° of the maximum value in the octagons around the recalculated maximum value, B 3 The values of the cells located in the direction of the maximum value 315 deg. in the octagons around the recalculated maximum value, B 4 For the values of the cells located in the direction of the next largest value 90 DEG within the recalculated next largest value surrounding octave, B 5 For the values of the cells located in the direction of the next largest value 270 in the recalculated octave around the next largest value, M 1 Is the original value of the maximum value unit, M 2 As original value of the next largest value unit, E 1 The original values of the cells located in the direction of 90 DEG from the second largest value in the octave around the second largest value, E 3 Is the original value of the cell located in the direction of 270 DEG of the next maximum value in the eight lattices around the next maximum value, R 1 Is the original value, R, of the cell located in the 90 DEG direction of the maximum value in the eight cells around the maximum value 3 The original values of the cells located in the direction of 270 ° of the maximum value in the octave around the maximum value.
Further, as shown in fig. 5, if yes, the touch values of the two-point touch area are respectively calculated according to a second calculation method, which specifically includes:
when the maximum value is on the left side of the second maximum value, acquiring the original values of the units positioned in the direction of 90 degrees and the direction of 270 degrees of the maximum value in the octagon grid around the maximum value;
acquiring original values of units positioned in the direction of 90 degrees and the direction of 270 degrees of the secondary maximum value in eight grids around the secondary maximum value;
the values of the cells located in the next largest 90 °, 135 °, 180 °, 225 °, and 270 ° directions in the eight lattices around the maximum value and the values of the cells located in the next largest 0 °, 45 °, 90 °, 270 °, and 315 ° directions in the newly calculated maximum value are obtained by the following equations:
Figure BDA0002275213180000111
wherein A is 1 For the values of the cells located in the direction of 45 DEG of the next maximum in the recalculated octave surrounding 2 For the values of the cells located in the direction of the next largest value 0 DEG within the recalculated next largest value surrounding octave, A 3 For the values of the cells located in the direction of the next largest value 315 deg. in the recalculated octave around the next largest value, A 4 For the values of the cells located in the direction of the next largest value 90 deg. in the recalculated octave around the next largest value, A 5 For the values of the cells located in the direction of 270 DEG of the next maximum in the recalculated octave surrounding the next maximum, B 1 The values of the cells located in the direction of the maximum value 135 DEG in the octave around the recalculated maximum value, B 2 The values of the cells located in the direction of 180 DEG of the maximum value in the octagons around the recalculated maximum value, B 3 The values of the cells located in the direction of the maximum value 225 DEG in the octave around the recalculated maximum value, B 4 For the values of the cells located in the direction of the next largest value 90 DEG within the recalculated next largest value surrounding octave, B 5 For the values of the cells in the direction of 270 DEG of the next maximum in the recalculated octave surrounding the next maximum, M 1 Is the original value of the maximum value unit, M 2 As original value of the next largest value unit, E 1 The original values of the cells located in the direction of 90 DEG of the next maximum value in the eight cells around the next maximum value, E 3 Is the original value of the cell located in the direction of 270 DEG of the next maximum value in the eight lattices around the next maximum value, R 1 Is the original value, R, of the cell located in the 90 DEG direction of the maximum value in the eight cells around the maximum value 3 The unit in the direction of 270 degrees of the maximum value in the eight lattices around the maximum valueThe original value of (a).
Further, step S105 is executed, if none of the steps is performed, the next loop is continued, which specifically includes:
if the conditions of the sixteen grids and the eight grids are not met, no operation is carried out, and the next cycle is directly started.
According to the method for calculating the double-finger closing and scribing changed into the single-finger scribing touch area, whether the secondary maximum value of touch pressing is in the range of sixteen grids or eight grids around the maximum value or not is judged, the first calculation mode or the second calculation mode is adopted to recalculate the double-finger touch pressing area, the calculated double-finger touch pressing area is obtained, burrs and stair shapes of scribing tracks in the process of changing the double-finger closing and scribing into the single-finger scribing are improved, and the linear stability is enhanced.
Example two
Referring to fig. 6, the touch recognition device for calculating a touch area from a two-finger folding line to a single-finger drawing line according to this embodiment includes a display area 601 and a non-display area 602, where multiple channels are disposed in the display area, a touch IC603 and a memory 604 are disposed in the non-display area 602, the touch IC603 is connected to the multiple channels, and multiple instructions are stored in the memory 604, and the touch IC603 is configured to read the instructions and execute:
judging whether the second largest value of the current touch area is in sixteen grids around the largest value of eight grids;
if yes, respectively calculating the touch values of the two-point touch areas according to a first calculation mode;
if not, judging whether the second largest value of the current touch area is within the maximum value eight-grid;
if yes, respectively calculating the touch values of the two-point touch area according to a second calculation mode;
if none, the next cycle continues.
Specifically, the multiple channels in the display area 601 include Y sensing channels 605 arranged longitudinally and X driving channels 606 arranged transversely, and the calculation setting of the double-finger drawn-together scribe line to single-finger drawn-scribe touch area refers to embodiment one specifically, and is not described herein again.
Further, the touch IC603 is further configured to determine whether the next largest value of the current touch area is within sixteen cells or eight cells of the maximum value when it is determined that the double-finger drawing-together and scribing operation is currently performed, and calculate the touch value of the two-finger touch area.
According to the touch recognition device for calculating the scribing touch area from the double-finger closing scribing to the single-finger scribing, judgment of the double-finger closing scribing to the single-finger scribing is carried out on the data collected in the display area, then the calculating is carried out on the double-finger closing scribing touch area, burrs and stair shapes of the scribing track in the process of changing the double-finger closing scribing to the single-finger scribing are improved, and the linear stability is enhanced.
EXAMPLE III
The present embodiment provides a touch display device, which includes the touch recognition device for calculating a touch area from a two-finger close-together scribing line to a one-finger scribing line according to the second embodiment.
The touch display device provided by the embodiment includes, but is not limited to, any product or component with a display function, such as a mobile phone, a tablet computer, a display, a notebook computer, and the like.
It will be understood that modifications and variations can be made by persons skilled in the art in light of the above teachings and all such modifications and variations are intended to be included within the scope of the invention as defined in the appended claims.

Claims (5)

1. A method for calculating a touch area from a two-finger close scribing line to a single-finger scribing line is characterized by comprising the following steps:
step S101: judging whether the second largest value of the current touch area is in sixteen grids around the maximum eight grids;
step S102: if yes, respectively calculating the touch values of the two-point touch areas according to a first calculation formula;
step S103: if not, judging whether the second largest value of the current touch area is within the maximum value eight-grid;
step S104: if yes, respectively calculating the touch values of the two-point touch areas according to a second calculation formula;
step S105: if not, continuing to perform the next cycle;
step S101 of determining whether the second largest value of the current touch area is within sixteen cells around the maximum eight cells includes: collecting real-time signal data; comparing and calculating the real-time signal data with prestored basic signal data which is not touched to obtain signal variation; judging whether the drawing is changed from the drawing with two fingers into the drawing with one finger or not according to the signal variation; if so, finding out the maximum value and the second maximum value of the current touch area; judging whether the second largest value of the current touch area is in sixteen grids around the maximum eight grids;
in step S102: when the maximum value is on the right side of the second maximum value, acquiring the original values of the units positioned in the 0 degree direction, the 45 degree direction and the 315 degree direction of the maximum value in the eight lattices around the maximum value, namely the original values of the units positioned in the 135 degree direction, the 180 degree direction and the 225 degree direction of the second maximum value in the eight lattices around the second maximum value; acquiring original values of units positioned in the direction of 90 degrees and the direction of 270 degrees of the maximum value in eight grids around the maximum value; acquiring original values of units positioned in the direction of 90 degrees and the direction of 270 degrees of the secondary maximum value in eight grids around the secondary maximum value;
the values of the cells located in the maximum value 0 ° direction, 45 ° direction, and 315 ° direction in the octave around the maximum value after recalculation and the values of the cells located in the next largest value 135 ° direction, 180 ° direction, and 225 ° direction in the octave around the next largest value are found by the first calculation formula:
Figure FDA0003689928510000011
wherein Q 1 For the values of the cells in the direction of the next largest value 135 deg. in the recalculated octave around the next largest value, Q 2 For the values of the cells in the direction of the next largest value 180 DEG within the recalculated next largest value surrounding octave, Q 3 For the values of the cells in the direction of the next maximum 225 deg. in the recalculated next maximum surrounding octave, P 1 The values of the cells located in the direction of 45 DEG of the maximum value in the octave around the recalculated maximum value, P 2 For the values of the cells located in the direction of 0 ° of the maximum value in the octagons around the recalculated maximum value, P 3 The values of the cells located in the direction of the maximum value 315 DEG in the octave around the recalculated maximum value, D 1 The original values of the cells located in the direction of 45 DEG from the maximum value in the eight cells around the maximum value, D 2 Is the original value of the cell located in the direction of 0 ° of the maximum value in the octagons around the maximum value, D 3 Is the original value, M, of the cell in the direction of 315 ° of the maximum value in the octave around the maximum value 1 Is the original value of the maximum value unit, M 2 Is the original value of the next largest value unit, V 1 Is the original value, V, of the cell located in the direction of 90 DEG of the next maximum value in the eight lattices surrounding the next maximum value 3 Is the original value, U, of the cell located in the direction of 270 DEG of the next maximum value in the eight lattices surrounding the next maximum value 1 Is the original value, U, of the cell located in the direction of 90 DEG of the maximum value in the eight lattices around the maximum value 3 The original values of the units positioned in the direction of 270 degrees of the maximum value in the eight lattices around the maximum value;
in step S103, determining whether the second largest value of the current touch area is within the eight-grid square of the largest value, includes:
collecting real-time signal data; comparing and calculating the real-time signal data with prestored basic signal data which is not touched to obtain signal variation; judging whether the drawing is changed from the drawing with two fingers into the drawing with one finger or not according to the signal variation; if so, finding out the maximum value and the second maximum value of the current touch area; judging whether the second largest value of the current touch area is in eight grids around the largest value;
in step S104: when the maximum value is on the right side of the second maximum value, acquiring the original values of the units positioned in the direction of 90 degrees and the direction of 270 degrees of the maximum value in the octagon grid around the maximum value; acquiring original values of units positioned in the direction of 90 degrees and the direction of 270 degrees of the secondary maximum value in eight grids around the secondary maximum value;
the values of the cells located in the maximum value 0 ° direction, 45 ° direction, 90 ° direction, 270 ° direction, and 315 ° direction in the octave around the maximum value after recalculation and the values of the cells located in the next largest value 90 ° direction, 135 ° direction, 180 ° direction, 225 ° direction, and 270 ° direction in the octave around the next largest value are found by the second calculation formula:
Figure FDA0003689928510000031
wherein A is 1 For the values of the cells located in the direction of the next largest value 135 deg. in the recalculated octave around the next largest value, A 2 For the values of the cells located in the direction of 180 DEG of the next maximum in the recalculated octave surrounding the next maximum, A 3 For the values of the cells located in the direction of the next largest value 225 deg. in the recalculated octave around the next largest value, A 4 For the values of the cells located in the direction of the next largest value 90 deg. in the recalculated octave around the next largest value, A 5 For the values of the cells located in the direction of the next largest value 270 deg. in the recalculated octave around the next largest value, B 1 The values of the cells located in the direction of 45 DEG of the maximum value in the octave around the recalculated maximum value, B 2 For the values of the cells located in the direction of 0 ° of the maximum value in the octagons around the recalculated maximum value, B 3 For the values of the cells located in the direction of the maximum value 315 deg. in the octagons around the recalculated maximum value, B 4 For the values of the cells located in the direction of the next largest value 90 DEG within the recalculated octave around the next largest value, B 5 For the values of the cells in the direction of 270 DEG of the next maximum in the recalculated octave surrounding the next maximum, M 1 Is the original value of the maximum value unit, M 2 As original value of the next largest value unit, E 1 The original values of the cells located in the direction of 90 DEG of the next maximum value in the eight cells around the next maximum value, E 3 Is the original value of the cell located in the direction of 270 DEG of the second largest value in the eight squares around the second largest value, R 1 Is the original value, R, of the cell located in the direction of 90 DEG of the maximum value in the eight lattices surrounding the maximum value 3 The original values of the cells located in the direction of 270 ° of the maximum value in the octave around the maximum value.
2. The method for calculating the touch area from the two-finger closing scribes to the one-finger scribes according to claim 1, wherein in step S102: when the maximum value is on the left side of the second largest value, acquiring the original values of the units positioned in the 135 DEG direction, 180 DEG direction and 225 DEG direction of the maximum value in the eight lattices around the maximum value, namely the original values of the units positioned in the 0 DEG direction, 45 DEG direction and 315 DEG direction of the second largest value in the eight lattices around the second largest value; acquiring original values of units positioned in the direction of 90 degrees and the direction of 270 degrees of the maximum value in eight grids around the maximum value; acquiring original values of units positioned in the direction of 90 degrees and the direction of 270 degrees of the secondary maximum value in eight grids around the secondary maximum value;
the values of the cells located in the 135 ° direction, 180 ° direction, and 225 ° direction of the maximum value in the octave around the recalculated maximum value and the values of the cells located in the 0 ° direction, 45 ° direction, and 315 ° direction of the next largest value in the octave around the next largest value are found by the first calculation formula:
Figure FDA0003689928510000041
wherein Q 1 For the values of the cells in the direction of the next maximum value of 45 DEG within the recalculated next maximum value surrounding octave, Q 2 For the values of the cells in the direction of the next largest value 0 DEG within the recalculated next largest value surrounding octave, Q 3 For the values of the cells in the direction of the next largest value 315 deg. in the recalculated octave around the next largest value, P 1 The values of the cells located in the direction of the maximum value 135 DEG in the octave around the recalculated maximum value, P 2 The values of the cells located in the direction of 180 DEG of the maximum value in the octave around the recalculated maximum value, P 3 The values of the cells located in the direction of the maximum value 225 DEG within the octave around the recalculated maximum value, D 1 The original values of the cells located in the direction of 135 ° of the maximum value in the octagons around the maximum value, D 2 Is the original value of the cell located in the direction of 180 DEG of the maximum value in the octave around the maximum value, D 3 Is the original value, M, of the cell in the direction of 225 ° of the maximum value in the octave around the maximum value 1 Is the original value of the maximum value unit, M 2 Is the original value of the next largest value unit, V 1 Is the original value, V, of the cell located in the direction of 90 DEG of the next maximum value in the eight lattices surrounding the next maximum value 3 Is the original value, U, of the cell located in the direction of 270 DEG of the next largest value in the octave grid around the next largest value 1 Is the original value, U, of the cell located in the direction of 90 DEG of the maximum value in the eight lattices around the maximum value 3 The original values of the cells located in the direction of 270 ° of the maximum value in the octave around the maximum value.
3. The method for calculating the touch area from the two-finger drawing-together scribing line to the single-finger scribing line according to claim 1, wherein in the step S104: when the maximum value is on the left side of the second maximum value, acquiring the original values of the units positioned in the direction of 90 degrees and the direction of 270 degrees of the maximum value in the octagon grid around the maximum value; acquiring original values of units positioned in the direction of 90 degrees and the direction of 270 degrees of the secondary maximum value in eight grids around the secondary maximum value; the values of the cells located in the next largest value 90 ° direction, 135 ° direction, 180 ° direction 225 ° direction, and 270 ° direction in the eight lattices located around the maximum value after recalculation and the values of the cells located in the next largest value 0 ° direction, 45 ° direction, 90 ° direction, 270 ° direction, and 315 ° direction are found by the second calculation formula:
Figure FDA0003689928510000051
wherein A is 1 For the values of the cells located in the direction of 45 DEG of the next maximum in the recalculated octave surrounding 2 For the values of the cells located in the direction of the next largest value 0 DEG within the recalculated next largest value surrounding octave, A 3 For the values of the cells located in the direction of the next largest value 315 deg. in the recalculated octave around the next largest value, A 4 For the values of the cells located in the direction of the next largest value 90 DEG within the recalculated next largest value surrounding octave, A 5 For the values of the cells located in the direction of 270 DEG of the next maximum in the recalculated octave surrounding the next maximum, B 1 The values of the cells located in the direction of the maximum value 135 DEG in the octave around the recalculated maximum value, B 2 To be at a maximum 18 within the octagon around the recalculated maximumValue of the cell in the 0 ° direction, B 3 The values of the cells located in the direction of the maximum value 225 DEG in the octave around the recalculated maximum value, B 4 For the values of the cells located in the direction of the next largest value 90 DEG within the recalculated next largest value surrounding octave, B 5 For the values of the cells located in the direction of the next largest value 270 in the recalculated octave around the next largest value, M 1 Is the original value of the maximum value unit, M 2 As original value of the next largest value unit, E 1 The original values of the cells located in the direction of 90 DEG of the next maximum value in the eight cells around the next maximum value, E 3 Is the original value of the cell located in the direction of 270 DEG of the second largest value in the eight squares around the second largest value, R 1 Is the original value, R, of the cell located in the direction of 90 DEG of the maximum value in the eight lattices surrounding the maximum value 3 The original values of the cells located in the direction of 270 ° of the maximum value in the octave around the maximum value.
4. A touch recognition device for performing calculation of a touch area from a two-finger close scribing line to a single-finger scribing line according to the calculation method of claim 1, comprising a display area and a non-display area, wherein a plurality of channels are disposed in the display area, a touch IC and a memory are disposed in the non-display area, the touch IC is connected to the channels, and a plurality of instructions are stored in the memory, and the touch IC is configured to read the instructions and execute:
judging whether the second largest value of the current touch area is in sixteen grids around the maximum eight grids;
if yes, respectively calculating the touch values of the two-point touch areas according to a first calculation mode;
if not, judging whether the second largest value of the current touch area is within the maximum value eight-grid;
if yes, respectively calculating the touch values of the two-point touch areas according to a second calculation mode;
if none, the next cycle continues.
5. A touch display device, comprising the touch recognition device for calculating the touch area from the double-finger close scribing line to the single-finger scribing line according to claim 4.
CN201911120077.1A 2019-11-15 2019-11-15 Method and device for calculating touch area from double-finger closing scribing to single-finger scribing and touch display device Active CN110737365B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201911120077.1A CN110737365B (en) 2019-11-15 2019-11-15 Method and device for calculating touch area from double-finger closing scribing to single-finger scribing and touch display device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201911120077.1A CN110737365B (en) 2019-11-15 2019-11-15 Method and device for calculating touch area from double-finger closing scribing to single-finger scribing and touch display device

Publications (2)

Publication Number Publication Date
CN110737365A CN110737365A (en) 2020-01-31
CN110737365B true CN110737365B (en) 2022-09-27

Family

ID=69273005

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201911120077.1A Active CN110737365B (en) 2019-11-15 2019-11-15 Method and device for calculating touch area from double-finger closing scribing to single-finger scribing and touch display device

Country Status (1)

Country Link
CN (1) CN110737365B (en)

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102968235A (en) * 2012-11-27 2013-03-13 深圳市汇顶科技股份有限公司 Touch detection method, system and touch control terminal of touch sensor
CN109271069A (en) * 2018-10-29 2019-01-25 深圳市德名利电子有限公司 Second zone lookup method and touch device, mobile terminal based on capacitance touching control
CN109491538A (en) * 2018-10-29 2019-03-19 深圳市德名利电子有限公司 One kind two refers to pressing overlapping region recognition methods, touch device and mobile terminal
CN109656408A (en) * 2018-12-11 2019-04-19 深圳市德名利电子有限公司 Touch-control coordinate calculation method, touch device and mobile terminal based on region mirror image

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102968235A (en) * 2012-11-27 2013-03-13 深圳市汇顶科技股份有限公司 Touch detection method, system and touch control terminal of touch sensor
CN109271069A (en) * 2018-10-29 2019-01-25 深圳市德名利电子有限公司 Second zone lookup method and touch device, mobile terminal based on capacitance touching control
CN109491538A (en) * 2018-10-29 2019-03-19 深圳市德名利电子有限公司 One kind two refers to pressing overlapping region recognition methods, touch device and mobile terminal
CN109656408A (en) * 2018-12-11 2019-04-19 深圳市德名利电子有限公司 Touch-control coordinate calculation method, touch device and mobile terminal based on region mirror image

Also Published As

Publication number Publication date
CN110737365A (en) 2020-01-31

Similar Documents

Publication Publication Date Title
CN103365599B (en) Mobile terminal operation optimization method and device based on screen sliding track
CN101408824A (en) Method for recognizing mouse gesticulation
CN102693025B (en) Touch finger identification method for multi-touch interaction system
CN102902407B (en) A kind of touch-screen output display touches the method and apparatus of person's handwriting
CN104714637B (en) Polygonal gesture detection and interaction method, device and computer program product
CN103927042B (en) Touch point positioning method and device and electronic device
US20170322596A1 (en) Operational Control Method for Flexible Display Device
CN109271069B (en) Secondary area searching method based on capacitive touch, touch device and mobile terminal
CN103218167B (en) A kind of car-mounted terminal single-point touch gesture pattern recognition
CN103761094A (en) Method for polygon combination in planar drawing
CN103177245B (en) gesture recognition method and device
CN110737365B (en) Method and device for calculating touch area from double-finger closing scribing to single-finger scribing and touch display device
CN104981761A (en) Touch panel apparatus and methods
CN103197761A (en) Gesture recognition method and device
CN113342208B (en) Railway line selection method based on multi-point touch equipment, terminal and storage medium
CN103970383B (en) Capacitive touch screen contact positioning method and terminal
CN104715092A (en) Method for rapidly building connection relation between Label and graph in hierarchical layout verification
CN110908538B (en) Calculation method and device for changing single-finger scribing into double-finger closing scribing touch area and touch display device
CN105824548A (en) Methods and devices for merging and splitting spreadsheet cells
CN104142755A (en) Non-linear Gesture Recognition Method
CN103854026A (en) Recognition method and electronic device
CN203457288U (en) Touch-type gesture recognition control device for earphones
CN110928476B (en) Method and device for distinguishing double-finger closing scribing line from single-finger scribing line according to touch area and touch display device
TWI533225B (en) Method and device for identifying number of objects
CN102722309B (en) Method for identifying touch-control information of touch gestures in multi-point touch interaction system

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant