CN111213115A - Touch control jumping point processing method and device - Google Patents

Touch control jumping point processing method and device Download PDF

Info

Publication number
CN111213115A
CN111213115A CN201780095823.9A CN201780095823A CN111213115A CN 111213115 A CN111213115 A CN 111213115A CN 201780095823 A CN201780095823 A CN 201780095823A CN 111213115 A CN111213115 A CN 111213115A
Authority
CN
China
Prior art keywords
touch point
touch
point
distance
reported
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN201780095823.9A
Other languages
Chinese (zh)
Inventor
黄政
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Shenzhen Royole Technologies Co Ltd
Original Assignee
Shenzhen Royole Technologies Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Shenzhen Royole Technologies Co Ltd filed Critical Shenzhen Royole Technologies Co Ltd
Publication of CN111213115A publication Critical patent/CN111213115A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/03Arrangements for converting the position or the displacement of a member into a coded form
    • G06F3/041Digitisers, e.g. for touch screens or touch pads, characterised by the transducing means

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)
  • User Interface Of Digital Computer (AREA)
  • Position Input By Displaying (AREA)

Abstract

Disclosed herein are a method for determining a touch skip point and a related device, the method comprising: acquiring the position information of a touch point PN reported by the flexible sensor for the Nth time and the position information of a touch point PN-1 reported for the Nth-1 st time, wherein N is an integer and is more than or equal to 3; determining a first distance between the touch point PN and the touch point PN-1 according to the position information of the touch point PN and the position information of the touch point PN-1; judging whether the first distance is greater than a first distance threshold value; if so, determining the touch point PN as a touch jumping point. By the method, the touch jumping points in the touch points reported by the flexible sensor can be determined, and the accuracy of touch jumping point identification is improved.

Description

Touch control jumping point processing method and device Technical Field
The present disclosure relates to the field of screen detection technologies, and in particular, to a method and an apparatus for processing a touch skip point.
Background
A Flexible Sensor (FS) has a Flexible characteristic, and the current Flexible Sensor can be applied to a plurality of fields, for example, the Flexible Sensor can be configured in a touch screen (e.g., a Flexible touch screen) to detect a touch operation on the touch screen and determine a touch point corresponding to the touch operation and position information of the touch point.
In practical application, when the flexible display screen reports the touch points, a touch jump point may occur, that is, the position of the touch point currently reported by the flexible sensor is far away from the position of the touch point last reported by the flexible sensor and is far greater than the distance between the touch point last reported by the flexible sensor and the touch point last reported by the flexible sensor, and the touch point currently reported by the flexible sensor is defined as the touch jump point. The occurrence of the touch jumping may affect the recognition or processing of the touch operation, and the touch jumping needs to be filtered. Therefore, how to determine whether the touch point reported by the flexible sensor is a touch skip point is a subject of active research by those skilled in the art.
Disclosure of Invention
The embodiment of the application provides a method for determining a touch jumping point and related equipment. Touch jumping points in the touch points reported by the flexible sensor can be determined, and the accuracy of touch jumping point identification is improved.
In a first aspect, an embodiment of the present application provides a method for determining a touch skip point, where the method includes:
acquiring touch point P reported by flexible sensor for the Nth timeNPosition information of (1) th touch point P and touch point P reported at the N-1 st timeN-1N is an integer, and N is not less than 3;
according to the touch point PNAnd the touch point PN-1Determining the touch point PNAnd the touch point PN-1A first distance therebetween;
judging whether the first distance is greater than a first distance threshold value;
if so, determining the touch point PNIs a touch skip point.
In a second aspect, an embodiment of the present application provides an apparatus for determining a touch skip point, where the apparatus includes:
an obtaining module, configured to obtain a touch point P reported by the flexible sensor for the nth timeNPosition information of (1) th touch point P and touch point P reported at the N-1 st timeN-1N is an integer, and N is not less than 3;
a processing module for processing the touch point PNAnd the touch point PN-1Determining the touch point PNAnd the touch point PN-1A first distance therebetween;
the processing module is further configured to determine whether the first distance is greater than a first distance threshold;
the processing module is further configured to determine the touch point P if yesNIs a touch skip point.
In a third aspect, an embodiment of the present application provides a terminal, where the terminal includes:
a flexible sensor, a processor, and a memory;
the flexible sensor, the processor and the memory are coupled;
the flexible sensor is used for acquiring position information of a touch point and sending the position information to the processor;
the memory is to store computer instructions;
the processor invokes the computer instructions to perform the steps of:
acquiring a touch point P reported by the flexible sensor for the Nth timeNPosition information of (1) th touch point P and touch point P reported at the N-1 st timeN-1N is an integer, and N is not less than 3;
according to the touch point PNAnd the touch point PN-1Determining the touch point PNAnd the touch point PN-1A first distance therebetween;
judging whether the first distance is greater than a first distance threshold value;
if so, determining the touch point PNIs a touch skip point.
In a fourth aspect, embodiments of the present application provide a readable storage medium for storing computer instructions for a processor to invoke and execute the method of the first aspect.
In the embodiment of the application, the data is obtainedTouch point P reported by flexible sensor for Nth timeNPosition information of (1) th touch point P and touch point P reported at the N-1 st timeN-1Can determine the touch point PNAnd the touch point PN-1And determining whether the first distance is greater than a first distance threshold, and if so, determining the touch point PNIs a touch skip point. By the method, the touch jumping points in the touch points reported by the flexible sensor can be determined, and the accuracy of touch jumping point identification is improved.
Drawings
Fig. 1 is a schematic flowchart illustrating a method for determining a touch skip point according to an embodiment of the present disclosure;
fig. 2 is a schematic flowchart of another method for determining a touch skip point according to an embodiment of the present disclosure;
fig. 3 is an explanatory diagram of a touch skip point provided in the embodiment of the present application;
fig. 4 is a schematic flowchart illustrating a method for determining a touch skip point according to another embodiment of the present disclosure;
fig. 5 is a schematic flowchart illustrating a method for determining a touch skip point according to another embodiment of the present disclosure;
fig. 6 is a schematic diagram illustrating another touch skip point provided in the embodiment of the present application;
fig. 7A is a schematic diagram illustrating determination of a touch skip point according to an embodiment of the present disclosure;
fig. 7B is a schematic diagram of touch points after touch skip point filtering according to an embodiment of the present disclosure;
fig. 8 is a unit composition diagram of a device for determining a touch skip point according to an embodiment of the present disclosure;
fig. 9 is a schematic structural diagram of a terminal according to an embodiment of the present application.
Detailed Description
The embodiments of the present application will be described below with reference to the accompanying drawings.
Referring to fig. 1, fig. 1 is a method for determining a touch skip point according to an embodiment of the present disclosure. As shown in fig. 1, the method may include at least the following steps.
Step S101, acquiring touch point P reported by flexible sensor for the Nth timeNPosition information of (1) th touch point P and touch point P reported at the N-1 st timeN-1N is an integer, and N is not less than 3.
For example, the flexible sensor may detect a touch operation and periodically report position information of a touch point in the touch operation. The position information of the touch point can be understood as coordinate information of the touch point. The coordinate axis on which the coordinate information is based may be established based on a touch screen configured with the flexible sensor, and is not limited herein.
Exemplarily, when the touch point P reported by the flexible sensor for the first time is obtained1After the position information, the touch point P can be determined1The location information of (2) is stored. In the embodiment of the present application, the position information of the touch point is saved in the variable lastpoint as an example. Here, the touch point P may be first touched1Is saved to the variable lastpoint.
When a touch point P reported by the flexible sensor for the second time is obtained2After the position information, the touch point P can be determined1Position information and touch point P2Determines a touch point P1And touch point P2The distance between them. And the distance may be saved. In the embodiment of the application, the touch point P is used1And touch point P2The distance between them is stored in the variable lastresistance for the purpose of illustration. And can touch the point P2Saving to the variable lastpoint, that is, updating the value in the variable lastpoint to the touch point P2The location information of (1).
When a touch point P reported by the flexible sensor for the Nth time is obtainedNAfter the position information, the touch point P can be determined according to the following stepsNWhether the touch control jumping point is detected. Wherein N is an integer greater than or equal to 3.
Step S102, according to the touch point PNAnd the touch point PN-1Determining the touch point PNAnd the touch point PN-1A first distance therebetween.
Step S103, judging whether the first distance is larger than a first distance threshold value.
Illustratively, when the touch point P is determinedNAnd touch point PN-1After the first distance, it may be determined whether the first distance is greater than a first distance threshold.
Wherein the first distance threshold may be the distance held in the variable lastdistance. Alternatively, the first distance threshold may be the product of the distance in the variable lastdistance and its corresponding parameter. That is, the first distance threshold may be represented by equation (1): dthreshold1=DlastdistanceAnd x a is determined. Wherein D isthreshold1Is a first distance threshold, DlastdistanceIs the distance in variable lastvariance, and a is the parameter corresponding to the distance in variable lastvariance. Wherein, the distance unit is a report point of the flexible display screen.
One correspondence of distance to parameter in the variable lastvariance can be seen in table 1.
Dlastdistance a
(0,2.2) 1
[2.2,24] 4.1
(24,150] 2.09
TABLE 1
Of course, the first distance threshold may be determined in other manners, which are not limited herein.
Further, the distance in the variable lastdistance may be according to the touch point PN-1Touch point P reported with flexible sensor N-2 timesN-2The distance between them is determined.
In one case, the distance in the variable lastdistance may be the touch point PN-1And touch point PN-2The distance between them. For example, when N is 3, the distance in the variable lastdistance is the touch point P2And touch point P1The distance between them.
In another case, when N is>3, the distance in the variable lastdistance may be the touch point PN-1And touch point PN-2Distance between and touch point PN-2And touch point PN-3The distance between them is determined by weighting.
The distance in the variable lastdistance may also be determined in a combination of the two above, which is not limited herein.
The above implementation is exemplified below.
When N is 3, touch point P is held in variable lastpoint2Can be based on the touch point P2Position information and touch point P3Determines a touch point P3And touch point P2The distance between them. Further, the distance in the variable lastdistance is the touch point P2And touch point P1The distance between them. The first distance threshold is determined based on the distance in the variable lastdistance and the correspondence in table 1 above. And determines a touch point P3And touch point P2If the distance between the first and second points is greater than the first distance threshold, step S104 is executed. If the touch point is smaller than the preset value, determining a touch point P3Not a touch skip point. Can touch the point P3Saves to the variable lastpoint and updates the distance in the variable lastdistance. Further acquiring the touch point P reported next time by the flexible display screen4The location information of (2) is skipped to execute steps S101 to S103.
Specifically, the distance in the updated variable lastdistance is the touch point P3And touch point P2A distance D between32And touch point P2And touch point P1A distance D between21And (4) obtaining the result by weighting.
For example, equation (2) may be utilized: dnew_lastdistance=K1×Dlastdistance+K2×DnowdistanceTo get the distance in the updated variable lastvariance. Wherein D isnew_lastdistanceRepresents the distance in the updated variable lastvariance; dlastdistanceRepresents the distance in the variable lastdistance before update, where D may be represented21;DnowdistanceRepresents the distance between the currently acquired touch point and the last acquired touch point, and may represent D herein32(ii) a Wherein, K1Represents DlastdistanceWeight value of, K2Represents DnowdistanceThe weight value of (2). Wherein, K1And K2The sum of which is 1, K1Can be greater than K2The value of (a). For example, K1Can be 0.75, K2The value of (a) may be 0.25, which is not limited herein.
Then at the confirmed touch point P3After the touch jumping point is not reached, the distance in the variable lastdistance is updated to be K1×D21+K2×D32
When N is 4, acquiring a touch point P4And acquires the touch point P from the variable lastpoint3The location information of (1). Determining a touch point P according to the position information of the two touch points4And touch point P3A distance D between43. And determines a first distance threshold according to the distance in the variable lastdistance and the corresponding relationship in table 1. Here, the distance in the variable lastvariance is obtained based on the formula (2) described above. Can judge the distance D43If the distance is greater than the first distance threshold, step S104 is executed, and if the distance is less than the first distance threshold, the touch point P may be determined4Not a touch skip point. Can touch the point P4To the variable lastpoint, and the distance in variable lastdistance may be updated according to equation (2). Further acquiring the touch point P reported next time by the flexible display screen5The location information of (2) is skipped to execute steps S101 to S103.
For the case that N ≧ 5, the implementation of N ≧ 4 can be referred to, which is not described herein.
By the method, the distance threshold is associated with the position information of the touch point, so that the touch jumping point judgment accuracy can be improved.
Step S104, if yes, determining the touch point PNIs a touch skip point.
Step S105, if not, determining the touch point PNNot a touch skip point.
For example, if the step S104 determines that the first distance is greater than the first distance threshold, it may be determined that the touch point is a touch skip point.
Further, the touch skip point may be filtered. Or determining that a plurality of touch points behind the touch jumping point are also touch jumping points, and filtering the touch jumping points together. Therefore, the filtered touch points can be used for forming a touch track of the touch operation, and the touch operation is identified or processed according to the touch track.
In the embodiment of the application, the touch point P reported by the flexible sensor for the Nth time is obtainedNPosition information of (1) th touch point P and touch point P reported at the N-1 st timeN-1Can determine the touch point PNAnd the touch point PN-1And determining whether the first distance is greater than a first distance threshold, and if so, determining the touch point PNIs a touch skip point. By the method, the touch jumping points in the touch points reported by the flexible sensor can be determined, and the accuracy of touch jumping point identification is improved.
Referring to fig. 2, fig. 2 is a schematic flowchart illustrating another method for determining a touch skip point according to an embodiment of the present disclosure. As shown in fig. 2, the method includes at least the following steps.
Step S201, obtaining the Nth reported by the flexible sensorTouch point PNPosition information of (1) th touch point P and touch point P reported at the N-1 st timeN-1N is an integer, and N is not less than 3.
Step S202, according to the touch point PNAnd the touch point PN-1Determining the touch point PNAnd the touch point PN-1A first distance therebetween.
Step S203, determining whether the first distance is greater than a first distance threshold.
The specific implementation manner of steps S201 to S203 may refer to the description in the above embodiments, and is not described herein again.
Step S204, if yes, according to the touch point PNAnd the touch point PN-1Determining the touch point PN-1To the touch point PNIn the first direction.
Step S205, judging whether an included angle between the first direction and the second direction is larger than a first included angle threshold value; wherein the second direction is the touch point P reported in the Nth-2 th timeN-2To the PN-1In the direction of (a).
Step S206, if yes, determining the touch point PNIs a touch skip point.
The method in the above embodiment will be described with reference to fig. 3.
As shown in fig. 3, the touch points P reported by the flexible sensor are sequentially obtainedN-2Position information (x) ofN-2,yN-2) Touch point PN-1Position information (x) ofN-1,yN-1) And touch point PNPosition information (x) ofN,yN). The position information of the touch point can be represented by a coordinate value of the touch point.
Can be based on the touch point PN-1Position information (x) ofN-1,yN-1) And touch point PNPosition information (x) ofN,yN) Determining a touch point PN-1To the touch point PNVector v of1Vector v1Can be expressed as (x)N-xN-1,yN-yN-1). Wherein the vector v1The length of the touch point is the touch point PN-1And touch point PNDistance between, vector v1Is the touch point PN-1To the touch point PNIn the direction of (a).
Similarly, the touch point P can be determinedN-2Position information (x) ofN-2,yN-2) And touch point PN-1Position information (x) ofN-1,yN-1) Determining a touch point PN-2To the touch point PN-1Vector v of2Vector v2Can be expressed as (x)N-1-xN-2,yN-1-yN-2). Wherein the vector v2The length of the touch point is the touch point PN-2And touch point PN-1Distance between, vector v2Is the touch point PN-2To the touch point PN-1In the direction of (a).
In fig. 3, vector v is shown1Sum vector v2Is merely illustrative.
First, according to the above embodiment, a touch point P can be determinedN-1And touch point PNIs greater than a first distance threshold. If the vector v is larger than the threshold value, the vector v can be further judged1And vector v2Whether the included angle therebetween is greater than a first included angle threshold. As shown in fig. 3, vector v1And vector v2The angle therebetween can be expressed as theta. If theta is larger than the first included angle threshold value, determining a touch point PNIs a touch skip point. Here, the first angle threshold may be preset or related to a touch trajectory of a touch operation, and is not limited herein, for example, θ may be 25 degrees or another value, and is not limited herein. If θ is less than or equal to the first angle threshold, the next touch point P can be obtainedN+1And steps S201 to S206 are repeatedly performed.
By the method, the accuracy of determining the touch jumping point can be further improved.
Some implementations for determining multiple touch skip points are described below.
Referring to fig. 4, fig. 4 is a flowchart illustrating a method for determining a touch skip point according to another embodiment of the present disclosure. As shown in fig. 4, the method includes at least the following steps.
Step S401, obtaining a touch point P reported by the flexible sensor for the Nth timeNPosition information of (1) th touch point P and touch point P reported at the N-1 st timeN-1N is an integer, and N is not less than 3.
Step S402, according to the touch point PNAnd the touch point PN-1Determining the touch point PNAnd the touch point PN-1A first distance therebetween.
Step S403, determining whether the first distance is greater than a first distance threshold.
Step S404, if yes, determining the touch point PNIs a touch skip point.
The specific implementation manner of steps S401 to S404 may refer to the description in the above embodiments, and is not described herein again.
Step S405, the touch point P is processedNAnd touch point P reported at the N +1 th timeN+1Touch point P reported to the N + M timesN+MA first set is formed.
And M is an integer greater than 1 and is determined by a preset time length T and a reporting period T of reporting the touch points by the flexible sensor.
For example, due to the characteristic of the phenomenon of the touch jumping, the touch jumping usually occurs in sequence. At the determined touch point PNAfter the touch jumping point, the touch point P can be determinedNAnd the touch points acquired for a plurality of times are also touch jumping points. Here, M touch points may be grouped into a set to determine whether all touch points in the set are touch skip points.
Illustratively, the value of M may be given by formula (3):
Figure PCTCN2017110812-APPB-000001
and (4) determining. Wherein, T is a preset duration, which may be a duration in which a common touch skip point occurs; t is flexible transmissionThe period of reporting touch points by the sensor, b is a constant and can be related to the number of touch points in touch operation. For example, b may take the value of 2 or 3, etc., and is not limited herein.
After M is determined, it is further determined whether the touch points in the first set are all touch skip points through the following steps.
Step S406, determining the touch point P reported at the N + i th time in the first setN+iTouch point P reported with the (N + i-1) th timeN+i-1Is less than a second distance threshold.
Wherein i is any integer in [0.6M, M ].
Illustratively, first the initial value of i may be determined as an upward integer of 0.6M. Determining a touch point PN+iAnd touch point PN+i-1Is less than a second distance threshold. The second distance threshold may be determined according to a distance value between two adjacent normal jumping points, which is not limited herein.
If touch point PN+iAnd touch point PN+i-1The distance between the touch points is greater than the second distance threshold value, the touch point P is indicatedN+iFor the touch jumping, the value of i may be added by 1, and step S406 is repeatedly executed until the value of i is equal to M. If the value of i is determined from the initial value to M that the distance between the previous touch points is greater than the second distance threshold, step S408 may be executed. Otherwise, step S407 is executed.
Step S407, if so, the touch point P is determinedNTo the touch point PN+i-1A second set is formed, the second set being a subset of the first set.
For example, if a touch point P is determined in step S406N+iAnd touch point PN+i-1The distance between the touch points is less than the second distance threshold, the touch point P may be touchedN+iIf the determination is false, the touch point P can be determinedN+iAnd determining the touch point as a normal touch point.
Further, the touch point P may be setNTo the touch point PN+i-1Forming a second set, and determining each touch point in the second setAre all touch jumping points. Thereby filtering the touch points in the second set.
Step S408, if not, determining that each touch point in the first set is a touch skip point.
For example, if it is determined in step S406 that the distance between two adjacent touch points in the first set is not smaller than the second distance threshold, it may be determined that each touch point in the first set is a touch skip point. Touch points in the first set may thus be filtered.
Through the method, the touch jumping points can be accurately determined.
Referring to fig. 5, fig. 5 is a flowchart illustrating a method for determining a touch skip point according to another embodiment of the present disclosure. As shown in fig. 5, the method may include at least the following steps.
Step S501, obtaining a touch point P reported by the flexible sensor for the Nth timeNPosition information of (1) th touch point P and touch point P reported at the N-1 st timeN-1N is an integer, and N is not less than 3.
Step S502, according to the touch point PNAnd the touch point PN-1Determining the touch point PNAnd the touch point PN-1A first distance therebetween.
Step S503, determining whether the first distance is greater than a first distance threshold.
Step S504, if yes, determining the touch point PNIs a touch skip point.
Step S505, the touch point P is processedNAnd touch point P reported at the N +1 th timeN+1Touch point P reported to the N + M timesN+MA first set is formed.
And M is an integer greater than 1 and is determined by a preset time length T and a reporting period T of reporting the touch points by the flexible sensor.
Step S506, determining the touch point P reported at the N + i th time in the first setN+iTouch point P reported with the (N + i-1) th timeN+i-1Is less than a second distance threshold.
Wherein i is any integer in [0.6M, M ].
The specific implementation manner of steps S501 to S506 may refer to the description in the above embodiments, and is not described herein again.
Step S507, if the determination result in the step S506 is yes, the touch point P is determinedNTo the touch point PN+i-1A second set is formed, the second set being a subset of the first set.
After the second set is formed, it may be further determined whether all the second set is a touch skip point according to the following steps.
Step S508, determining the touch point PNTo the touch point PN+1Direction of and touch point P reported at the N + i-2 th timeN+i-2To the touch point PN+i-1Is greater than a second angle threshold.
The following describes an implementation of step S508 with reference to fig. 6.
Wherein, the touch point P can be determined according toNPosition information (x) ofN,yN) And touch point PN+1Position information (x) ofN+1,yN+1) Determining a touch point PNTo the touch point PN+1Vector v of3Vector v3Can be expressed as (x)N+1-xN,yN+1-yN). Wherein the vector v3The length of the touch point is the touch point PNAnd touch point PN+1Distance between, vector v3Is the touch point PNTo the touch point PN+1In the direction of (a).
Similarly, the touch point P can be determinedN+i-2Position information (x) ofN+i-2,yN+i-2) And touch point PN+i-1Position information (x) ofN+i-1,yN+i-1) Determining a touch point PN+i-2To the touch point PN+i-1Vector v of4Vector v4Can be expressed as (x)N+i-1-xN+i-2,yN+i-1-yN+i-2). Wherein the vector v4The length of the touch point is the touch point PN+i-2And touch point PN+i-1Distance between, vector v4Is the touch point PN+i-2To the touch point PN+i-1In the direction of (a).
Note that the vector v3Sum vector v4Is merely exemplary.
As shown in fig. 6, vector v3Sum vector v4The included angle therebetween can be represented as α, and it is determined α whether the included angle is greater than a second included angle threshold, where the second included angle threshold can be preset, and a value of the second included angle threshold is not limited herein.
If the value α is greater than the second angle threshold, step S509 may be executed, and if the value α is not greater than the second angle threshold, step S510 may be executed.
In step S509, if the determination result in step S508 is yes, it is determined that each touch point in the second set is a touch skip point.
Illustratively, touch points in the second set may be filtered out.
Step S510, if the determination result in the step S508 is no, determining the touch point PN+i-1Not a touch skip point.
If α is less than the second angle threshold, the touch point in the second set may not be a touch skip point, for example, the touch point P is touchedN+i-1If the misjudgment occurs, the touch point P can be determined hereN+i-1And determining the touch point as a normal touch point.
Step S511, if the determination result in the step S506 is negative, it is determined that each touch point in the first set is a touch skip point.
By the method, the accuracy of determining the touch jumping point can be further improved.
Fig. 7A shows obtaining actual touch points reported by the flexible sensor. As shown in fig. 7A, the touch points in the area 71 are the touch jumping points determined according to the above method, and the touch jumping points in the area 71 may be filtered to obtain normal touch points, as shown in fig. 7B, the character "y" corresponding to the touch operation may be determined according to the normal touch points. Further, the character "y" may be displayed or whether there is an operation instruction corresponding to the character "y" to further perform the operation execution, etc., which is not limited herein.
Of course, the implementation manners in the above embodiments may be implemented in combination, and are not limited herein. For example, the implementations in the embodiments shown in fig. 4 or 5 may be combined with the implementations in the embodiments shown in fig. 2 to further improve the accuracy of determining the touch skip point.
The following describes embodiments of the apparatus of the present application with reference to the drawings.
Referring to fig. 8, fig. 8 is a device for determining a touch skip point according to an embodiment of the present disclosure. The apparatus comprises at least an acquisition module 801 and a processing module 803.
The obtaining module 801 is configured to obtain a touch point P reported by the flexible sensor N timesNPosition information of (1) th touch point P and touch point P reported at the N-1 st timeN-1N is an integer, and N is not less than 3;
a processing module 803 for processing the touch point PNAnd the touch point PN-1Determining the touch point PNAnd the touch point PN-1A first distance therebetween;
the processing module 803 is further configured to determine whether the first distance is greater than a first distance threshold;
the processing module 803 is further configured to determine the touch point P if yesNIs a touch skip point.
Optionally, the processing module 803 is further configured to:
if the first distance is judged to be larger than the first distance threshold value, according to the touch point PNAnd the touch point PN-1Determining the touch point PN-1To the touch point PNA first direction of (a);
judging whether an included angle between the first direction and the second direction is larger than a first included angle threshold value or not; wherein the second direction is the touch point P reported in the Nth-2 th timeN-2To the PN-1The direction of (a);
the determining that the first touch point is a touch skip point comprises:
if so, determining that the first touch point is a touch jumping point.
Optionally, the processing module 803 is further configured to:
the touch point P is detectedNAnd touch point P reported at the N +1 th timeN+1Touch point P reported to the N + M timesN+MForming a first set; m is an integer greater than 1 and is determined by a preset time length T and a reporting period T of reporting the touch points by the flexible sensor;
determining a touch point P reported N + i times in the first setN+iTouch point P reported with the (N + i-1) th timeN+i-1Whether the distance therebetween is less than a second distance threshold; wherein i is [0.6M, M]Any one integer within;
if so, the touch point P is determinedNTo the touch point PN+i-1Forming a second set, the second set being a subset of the first set;
if not, determining that each touch point in the first set is a touch skip point.
Optionally, the processing module 803 is further configured to:
judging the touch point PNTo the touch point PN+1Direction of and touch point P reported at the N + i-2 th timeN+i-2To the touch point PN+i-1Whether the included angle of the direction of (a) is greater than a second included angle threshold value;
if so, determining that each touch point in the second set is a touch skip point.
The device can accurately determine the touch jumping points and improve the accuracy of determining the touch jumping points.
The above-described devices are presented in the form of a unit. An "element" may refer to an application-specific integrated circuit (ASIC), a processor and memory that execute one or more software or firmware programs, an integrated logic circuit, and/or other devices that may provide the described functionality. Further, the above units may be implemented by the processor 901 of the terminal shown in fig. 9.
Referring to fig. 9, fig. 9 is a schematic structural diagram of a terminal according to the present application. As shown in fig. 9, the terminal 900 includes at least one processor 901, at least one memory 902, and at least one flexible sensor 903. The processor 901, the memory 902 and the flexible sensor 903 may be connected via a communication bus and communicate with each other.
The processor 901 may be a general purpose Central Processing Unit (CPU), a microprocessor, an application-specific integrated circuit (ASIC), or one or more integrated circuits for controlling the execution of programs according to the above schemes.
The flexible sensor 902 may be used to collect position information of the touch point and may send the position information to the processor 901.
The Memory 902 may be, but is not limited to, a Read-Only Memory (ROM) or other type of static storage device that can store static information and instructions, a Random Access Memory (RAM) or other type of dynamic storage device that can store information and instructions, an Electrically Erasable Programmable Read-Only Memory (EEPROM), a Compact Disc Read-Only Memory (CD-ROM) or other optical Disc storage, optical Disc storage (including Compact Disc, laser Disc, optical Disc, digital versatile Disc, blu-ray Disc, etc.), magnetic disk storage media or other magnetic storage devices, or any other medium that can be used to carry or store desired program code in the form of instructions or data structures and that can be accessed by a computer. The memory may be self-contained and coupled to the processor via a bus. The memory may also be integral to the processor.
The memory 902 is used for storing application program codes for executing the above schemes, and the processor 901 controls the execution. The processor 901 is configured to execute application program code stored in the memory 902.
The code stored in the memory 902 may perform the method for determining the touch skip point, such as obtaining the touch point P reported by the flexible sensor NNPosition information of (1) th touch point P and touch point P reported at the N-1 st timeN-1N is an integer, and N is not less than 3; according to the touch point PNAnd the touch point PN-1Determining the touch point PNAnd the touch point PN-1A first distance therebetween; judging whether the first distance is greater than a first distance threshold value; if so, determining the touch point PNIs a touch skip point.
An embodiment of the present invention further provides a computer storage medium, where the computer storage medium may store a program, and when the program is executed, the program includes some or all of the steps of any one of the touch skip point determination methods described in the above method embodiments.
It should be noted that, for simplicity of description, the above-mentioned method embodiments are described as a series of acts or combination of acts, but those skilled in the art will recognize that the present invention is not limited by the order of acts, as some steps may occur in other orders or concurrently in accordance with the invention. Further, those skilled in the art should also appreciate that the embodiments described in the specification are preferred embodiments and that the acts and modules referred to are not necessarily required by the invention.
The above description is only an embodiment of the present invention, and not intended to limit the scope of the present invention, and all modifications of equivalent structures and equivalent processes performed by the present specification and drawings, or directly or indirectly applied to other related technical fields, are included in the scope of the present invention.

Claims (18)

  1. A method for determining a touch skip point is characterized by comprising the following steps:
    acquiring touch point P reported by flexible sensor for the Nth timeNPosition information of (1) th touch point P and touch point P reported at the N-1 st timeN-1N is an integer, and N is not less than 3;
    according to the touch point PNAnd the touch point PN-1Determining the touch point PNAnd the touch point PN-1A first distance therebetween;
    judging whether the first distance is greater than a first distance threshold value;
    if so, determining the touch point PNIs a touch skip point.
  2. The method of claim 1,
    the first distance threshold is the product of a second distance and a first parameter corresponding to the second distance;
    the second distance is determined by the touch point PN-1And touch point P reported in the N-2 th timeN-2The distance between them is determined.
  3. The method of claim 2,
    if N is greater than 3, the second distance is determined by the touch point PN-1And the touch point PN-2A third distance therebetween, and the touch point PN-2And touch point P reported in the Nth-3 th timeN-3And a fourth distance therebetween.
  4. The method of claim 3, wherein the weight value corresponding to the third distance is greater than the weight value corresponding to the fourth distance.
  5. The method according to any one of claims 1-4, wherein if the first distance is determined to be greater than the first distance threshold, the method further comprises:
    according to the touch point PNAnd the touch point PN-1Determining the touch point PN-1To the touch point PNA first direction of (a);
    judging whether an included angle between the first direction and the second direction is larger than a first included angle threshold value or not; wherein the second direction is the touch point P reported in the Nth-2 th timeN-2To the PN-1The direction of (a);
    the determining that the first touch point is a touch skip point comprises:
    if so, determining that the first touch point is a touch jumping point.
  6. The method of claim 5, wherein after determining that the first touch point is a touch skip point, the method further comprises:
    the touch point P is detectedNAnd touch point P reported at the N +1 th timeN+1Touch point P reported to the N + M timesN+MForming a first set; m is an integer greater than 1 and is determined by a preset time length T and a reporting period T of reporting the touch points by the flexible sensor;
    determining a touch point P reported N + i times in the first setN+iTouch point P reported with the (N + i-1) th timeN+i-1Whether the distance therebetween is less than a second distance threshold; wherein i is [0.6M, M]Any one integer within;
    if so, the touch point P is determinedNTo the touch point PN+i-1Forming a second set, the second set being a subset of the first set;
    if not, determining that each touch point in the first set is a touch skip point.
  7. The method of claim 6, wherein after grouping the first touch point to the N + i-1 th reported touch point into a second set, the method further comprises:
    judging the touch point PNTo the touch point PN+1Direction of and touch point P reported at the N + i-2 th timeN+i-2To the touch point PN+i-1Whether the included angle of the direction of (a) is greater than a second included angle threshold value;
    if so, determining that each touch point in the second set is a touch skip point.
  8. A terminal, comprising:
    a flexible sensor, a processor, and a memory;
    the flexible sensor, the processor and the memory are coupled;
    the flexible sensor is used for acquiring position information of a touch point and sending the position information to the processor;
    the memory is to store computer instructions;
    the processor invokes the computer instructions to perform the steps of:
    acquiring a touch point P reported by the flexible sensor for the Nth timeNPosition information of (1) th touch point P and touch point P reported at the N-1 st timeN-1N is an integer, and N is not less than 3;
    according to the touch point PNAnd the touch point PN-1Determining the touch point PNAnd the touch point PN-1A first distance therebetween;
    judging whether the first distance is greater than a first distance threshold value;
    if so, determining the touch point PNIs a touch skip point.
  9. The terminal of claim 8,
    the first distance threshold is the product of a second distance and a first parameter corresponding to the second distance;
    the second distance is determined by the touch point PN-1And touch point P reported in the N-2 th timeN-2The distance between them is determined.
  10. The terminal of claim 9,
    if N is greater than 3, the second distance is determined by the touch point PN-1And the touch point PN-2A third distance therebetween, and the touch point PN-2And touch point P reported in the Nth-3 th timeN-3And a fourth distance therebetween.
  11. The terminal of claim 10, wherein the weight value corresponding to the third distance is greater than the weight value corresponding to the fourth distance.
  12. The terminal according to any of claims 8-11, wherein the processor is further configured to perform the steps of:
    if the first distance is judged to be larger than the first distance threshold value, according to the touch point PNAnd the touch point PN-1Determining the touch point PN-1To the touch point PNA first direction of (a);
    judging whether an included angle between the first direction and the second direction is larger than a first included angle threshold value or not; wherein the second direction is the touch point P reported in the Nth-2 th timeN-2To the PN-1The direction of (a);
    the determining that the first touch point is a touch skip point comprises:
    if so, determining that the first touch point is a touch jumping point.
  13. The terminal of claim 12, wherein the processor is further configured to perform the steps of:
    the touch point P is detectedNAnd touch point P reported at the N +1 th timeN+1Touch point P reported to the N + M timesN+MForming a first set; m is an integer greater than 1 and is determined by a preset time length T and a reporting period T of reporting the touch points by the flexible sensor;
    determining a touch point P reported N + i times in the first setN+iTouch point P reported with the (N + i-1) th timeN+i-1Whether the distance therebetween is less than a second distance threshold; wherein i is [0.6M, M]Any one integer within;
    if so, the touch point P is determinedNTo the touch point PN+i-1Forming a second set, the second set being a subset of the first set;
    if not, determining that each touch point in the first set is a touch skip point.
  14. The method of claim 13, wherein the processor is further configured to perform the steps of:
    judging the touch point PNTo the touch point PN+1Direction of and touch point P reported at the N + i-2 th timeN+i-2To the touch point PN+i-1Whether the included angle of the direction of (a) is greater than a second included angle threshold value;
    if so, determining that each touch point in the second set is a touch skip point.
  15. An apparatus for determining a touch skip point, comprising:
    an obtaining module, configured to obtain a touch point P reported by the flexible sensor for the nth timeNPosition information of (1) th touch point P and touch point P reported at the N-1 st timeN-1N is an integer, and N is not less than 3;
    a processing module for processing the touch point PNAnd the touch point PN-1Determining the touch point PNAnd the touch point PN-1A first distance therebetween;
    the processing module is further configured to determine whether the first distance is greater than a first distance threshold;
    the processing module is further configured to determine the touch point P if yesNIs a touch skip point.
  16. The apparatus of claim 15, wherein the processing module is further configured to:
    if the first distance is judged to be larger than the first distance threshold value, according to the touch point PNAnd the touch point PN-1Determining the touch point PN-1To the touch point PNA first direction of (a);
    judging whether an included angle between the first direction and the second direction is larger than a first included angle threshold value or not; wherein the second direction is the touch point P reported in the Nth-2 th timeN-2To the PN-1The direction of (a);
    the determining that the first touch point is a touch skip point comprises:
    if so, determining that the first touch point is a touch jumping point.
  17. The apparatus of claim 16, wherein the processing module is further configured to:
    the touch point P is detectedNAnd touch point P reported at the N +1 th timeN+1Touch point P reported to the N + M timesN+MForming a first set; m is an integer greater than 1 and is determined by a preset time length T and a reporting period T of reporting the touch points by the flexible sensor;
    determining a touch point P reported N + i times in the first setN+iTouch point P reported with the (N + i-1) th timeN+i-1Whether the distance therebetween is less than a second distance threshold; wherein i is [0.6M, M]Any one integer within;
    if so, the touch point P is determinedNTo the touch point PN+i-1Forming a second set, the second set being a subset of the first set;
    if not, determining that each touch point in the first set is a touch skip point.
  18. The apparatus of claim 17, wherein the processing module is further configured to:
    judging the touch point PNTo the touch point PN+1Direction of and touch point P reported at the N + i-2 th timeN+i-2To the touch point PN+i-1Whether the included angle of the direction of (a) is greater than a second included angle threshold value;
    if so, determining that each touch point in the second set is a touch skip point.
CN201780095823.9A 2017-11-14 2017-11-14 Touch control jumping point processing method and device Pending CN111213115A (en)

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
PCT/CN2017/110812 WO2019095094A1 (en) 2017-11-14 2017-11-14 Touch control skip point processing method and apparatus

Publications (1)

Publication Number Publication Date
CN111213115A true CN111213115A (en) 2020-05-29

Family

ID=66539239

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201780095823.9A Pending CN111213115A (en) 2017-11-14 2017-11-14 Touch control jumping point processing method and device

Country Status (2)

Country Link
CN (1) CN111213115A (en)
WO (1) WO2019095094A1 (en)

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102402343A (en) * 2010-09-09 2012-04-04 广达电脑股份有限公司 Optical touch system
CN107003758A (en) * 2015-06-16 2017-08-01 华为技术有限公司 ghost point processing method and user equipment

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103970322B (en) * 2013-01-30 2017-09-01 北京科加触控技术有限公司 A kind of method and system of touch-screen track following processing
TWI528247B (en) * 2014-12-03 2016-04-01 緯創資通股份有限公司 Touch point sensing method and optical touch system

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102402343A (en) * 2010-09-09 2012-04-04 广达电脑股份有限公司 Optical touch system
CN107003758A (en) * 2015-06-16 2017-08-01 华为技术有限公司 ghost point processing method and user equipment

Also Published As

Publication number Publication date
WO2019095094A1 (en) 2019-05-23

Similar Documents

Publication Publication Date Title
CN108255673B (en) Method and device for detecting resource occupied by application program and storage medium
EP2602750A1 (en) Action characteristic extraction device, action characteristic extraction system, method of extracting action characteristic, and action characteristic extraction program
CN112509292B (en) Fault prediction method, device, electronic equipment and computer readable storage medium
US20140215056A1 (en) Methods and systems for online monitoring using a variable data sampling rate
JP2016161314A (en) Assimilative data determination device, weather prediction device, assimilative data determination method and program
EP3832576A1 (en) Trajectory determination method and apparatus, and time recommendation method, apparatus and system
CN105677755A (en) Method and device for processing graph data
US9791911B2 (en) Determining whether a change in power usage is abnormal when power usage exceeds a threshold based on additional metrics of components in an electronic device
JP7167992B2 (en) label correction device
CN111213115A (en) Touch control jumping point processing method and device
CN105700749A (en) Touch control method and terminal equipment
EP3301569A1 (en) Program development supporting apparatus, program development supporting method, and program development supporting program
US20190324428A1 (en) State identification device, state identification method and mechanical device
JP6077349B2 (en) Classifier construction device, classification device, classifier construction method, classification method, and program
CN108133234B (en) Sparse subset selection algorithm-based community detection method, device and equipment
US10288547B2 (en) Facility state analysis device, analysis method for facility state, storage medium, and facility management system
CN109489660A (en) Robot localization method and apparatus
JP2018116687A (en) Abnormality factor specifying method and abnormality factor specifying device
CN113609190A (en) Product production abnormity monitoring method and device based on big data and temperature monitoring
JP2021135513A (en) Information processor, information processing method, and program
US9594456B2 (en) Background signal processing system and background signal processing method
JP5958470B2 (en) Magnitude estimation device, magnitude estimation method, and program
US9569033B2 (en) Background signal processing system and background signal processing method
JP2016138816A (en) Navigation device and computer program
CN111243250B (en) Maintenance early warning method, device and equipment based on alarm data

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
WD01 Invention patent application deemed withdrawn after publication

Application publication date: 20200529

WD01 Invention patent application deemed withdrawn after publication