CN110462568A - Coordinate determination method, device, electronic equipment and the storage medium of stylus - Google Patents

Coordinate determination method, device, electronic equipment and the storage medium of stylus Download PDF

Info

Publication number
CN110462568A
CN110462568A CN201780002316.6A CN201780002316A CN110462568A CN 110462568 A CN110462568 A CN 110462568A CN 201780002316 A CN201780002316 A CN 201780002316A CN 110462568 A CN110462568 A CN 110462568A
Authority
CN
China
Prior art keywords
pen
determining
touch
touch screen
distance
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
CN201780002316.6A
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 Goodix Technology Co Ltd
Original Assignee
Shenzhen Goodix Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Shenzhen Goodix Technology Co Ltd filed Critical Shenzhen Goodix Technology Co Ltd
Publication of CN110462568A publication Critical patent/CN110462568A/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
    • G06F3/043Digitisers, e.g. for touch screens or touch pads, characterised by the transducing means using propagating acoustic waves

Abstract

A kind of coordinate determination method of stylus, device, electronic equipment and storage medium, the coordinate determination method receive the touching signals (201) that stylus is sent from the tip of the brushstyle of a writing or painting by touch screen;Determine the destination channel (202) for sensing the touching signals;And according to preset channel response model, determine the tip of the brushstyle of a writing or painting between destination channel at a distance from (203);Further according to the distance, coordinate position (204) of the stylus on touch screen is accurately determined.This method establishes channel response model based on the principle of induction of signal between stylus and touch screen, and each destination channel for sensing touching signals and the distance between the tip of the brushstyle of a writing or painting for emitting the inductive signal are determined based on this model, the distance determined based on the above method can relatively accurately calculate the position coordinates of stylus, improve touch screen to the sensitivity of stylus.

Description

Coordinate determination method and device of touch pen, electronic equipment and storage medium Technical Field
The present invention relates to a positioning technology of a stylus, and in particular, to a method and an apparatus for determining coordinates of a stylus, an electronic device, and a storage medium.
Background
With the development of electronic screen technology, more and more operations can be completed by touching a screen, and a stylus is a device which is in contact with the screen to realize the operations of a user.
In the prior art, a touch pen is mainly divided into an active pen and a passive pen, wherein the active pen comprises a circuit, and transmits a signal to a touch screen through the pen, so that the touch screen receives the signal, detects a track coordinate of the pen and realizes information transmission between the touch pen and the touch screen; the passive pen is equivalent to a finger of a user, does not emit a signal by itself, but can change the capacitance of a screen matrix through contact with the touch screen, so that the touch screen is operated. Fig. 1 is a schematic cross-sectional view of an active pen pressing on a touch screen. The induction lines arranged on the touch screen induce signals sent by the active pen, and the position of the active pen is determined based on a detection and processing algorithm, so that the user can operate various application programs displayed on the screen.
At present, in the prior art, the coordinate precision of the active pen obtained by a plurality of data processing algorithms is different, and the accuracy of the determined position coordinate of the active pen is not ideal, so that how to accurately and conveniently determine the coordinate of the active pen becomes a technical problem which needs to be solved urgently.
Disclosure of Invention
The invention provides a coordinate determination method and device of a touch pen, electronic equipment and a storage medium, which are used for solving the technical problem that the coordinate position of the touch pen on a touch screen is not accurately determined in the prior art.
One aspect of the present invention provides a coordinate determination method for a stylus, including:
receiving a touch signal sent by a touch pen from a pen end;
determining a target channel which senses the touch signal;
determining the distance between the pen end and the target channel according to a preset channel response model;
and determining the coordinate of the touch pen on the touch screen according to the distance between the pen end and the target channel.
Optionally, the method further includes:
and establishing the preset channel response model between the pen end for sending the touch signal and the touch screen for receiving the touch signal based on the received signal strength indication RSSI.
Optionally, the method further includes:
according toEstablishing the preset channel response model;
wherein, PtThe signal intensity of the touch signal sent by the stylus is represented by p (x), the signal intensity of the touch signal received by the touch screen is represented by p (x), x is the distance between the pen end of the stylus and the target channel, 2e is the channel width of the target channel, and n is an attenuation factor.
Optionally, the determining a target channel sensing the touch signal includes:
and determining a channel meeting a preset signal intensity threshold value as the target channel according to the signal intensity of the touch signal received by more than two channels on the touch screen.
Optionally, the method further includes:
and selecting the target channel according to the sequence of the signal intensity from strong to weak.
Optionally, the channel includes: the transverse channels are formed by transverse induction lines which are arranged on the touch screen in parallel and used for inducing the touch signals; the longitudinal channels are formed by longitudinal induction lines which are arranged on the touch screen in parallel and used for inducing the touch signals; the transverse channel is perpendicular to the longitudinal channel;
the target channel includes: at least two transverse target channels and at least two longitudinal target channels.
Optionally, the determining the coordinate of the stylus on the touch screen according to the distance between the pen end and the target channel includes:
if the pen end of the touch pen is in contact with the touch screen, the distance between the pen end and the target channel is the vertical distance between the pen end and the central axis of the target channel;
determining a first relative position of the pen end between any two transverse target channels according to the distance between the pen end and the transverse target channels;
determining the transverse coordinate of the touch pen on the touch screen according to at least one first relative position and the absolute coordinate of any one of two transverse target channels;
determining a second relative position of the pen end between any two longitudinal target channels according to the distance between the pen end and the longitudinal target channels;
determining the longitudinal coordinate of the touch pen on the touch screen according to at least one second relative position and the absolute coordinate of any one of two longitudinal target channels;
and determining the coordinates of the touch pen on the touch screen according to the transverse coordinates and the longitudinal coordinates.
Optionally, the determining the coordinate of the stylus on the touch screen according to the distance between the pen end and the target channel includes:
if the pen end of the touch pen is not in contact with the touch screen, the distance between the pen end and the target channel is the vertical distance between the pen end and the central axis of the target channel;
determining a first projection distance of the distance between the pen end and any two transverse target channels on the touch screen according to the distance between the pen end and the transverse target channels;
determining the transverse coordinate of the touch pen on the touch screen according to the first projection distance and the absolute coordinate of any one of the two transverse target channels;
determining a second projection distance of the distance between the pen end and any two longitudinal target channels on the touch screen according to the distance between the pen end and the longitudinal target channels;
determining the longitudinal coordinate of the touch pen on the touch screen according to the second projection distance and the absolute coordinate of any one of the two longitudinal target channels;
and determining the coordinates of the touch pen on the touch screen according to the transverse coordinates and the longitudinal coordinates.
Optionally, the method further includes:
and determining the vertical distance from the pen end to the touch screen according to the distance between the pen end and at least two transverse target channels or at least two longitudinal target channels.
Another aspect of the present invention provides an apparatus for determining coordinates of a stylus, comprising:
the receiving module is used for receiving a touch signal sent by the stylus from the pen end;
the determining module is used for determining a target channel which senses the touch signal; determining the distance between the pen end and the target channel according to a preset channel response model; and determining the coordinate of the touch pen on the touch screen according to the distance between the pen end and the target channel.
Optionally, the method further includes:
and the model establishing module is used for establishing the preset channel response model between the pen end for sending the touch signal and the touch screen for receiving the touch signal based on the received signal strength indication RSSI.
Optionally, the model building module is specifically configured to build a model based onEstablishing the preset channel response model;
wherein, PtThe signal intensity of the touch signal sent by the stylus, P (x) the signal intensity of the touch signal received by the touch screen, x the distance between the tip of the stylus and the target channel, and 2e the distance between the tip of the stylus and the target channelThe channel width of the target channel, n is the attenuation factor.
Optionally, the determining module includes:
and the target channel determining submodule is used for determining a channel meeting a preset signal intensity threshold value as the target channel according to the signal intensity of the touch signal received by more than two channels on the touch screen.
Optionally, the target channel determining submodule is specifically configured to select the target channel according to the sequence from strong to weak of the signal strength.
Optionally, the channel includes: the transverse channels are formed by transverse induction lines which are arranged on the touch screen in parallel and used for inducing the touch signals; the longitudinal channels are formed by longitudinal induction lines which are arranged on the touch screen in parallel and used for inducing the touch signals; the transverse channel is perpendicular to the longitudinal channel;
the target channel includes: at least two transverse target channels and at least two longitudinal target channels.
Optionally, the determining module includes:
the first determining submodule is used for determining a first relative position of the pen end between any two transverse target channels according to the distance between the pen end and the transverse target channels when the pen end of the touch pen is in contact with the touch screen and the distance between the pen end and the target channels is the vertical distance between the pen end and the central axis of the target channels; determining the transverse coordinate of the touch pen on the touch screen according to at least one first relative position and the absolute coordinate of any one of two transverse target channels;
the second determining submodule is used for determining a second relative position of the pen end between any two longitudinal target channels according to the distance between the pen end and the longitudinal target channels; determining the longitudinal coordinate of the touch pen on the touch screen according to at least one second relative position and the absolute coordinate of any one of two longitudinal target channels;
and the third determining submodule is used for determining the coordinate of the touch pen on the touch screen according to the transverse coordinate determined by the first determining submodule and according to the longitudinal coordinate determined by the second determining submodule.
Optionally, the determining module includes:
a fourth determining submodule, configured to determine, when a pen end of the stylus is not in contact with the touch screen and a distance between the pen end and the target channel is a vertical distance between the pen end and a central axis of the target channel, a first projection distance, on the touch screen, of a distance between the pen end and any two horizontal target channels according to the distance between the pen end and the horizontal target channel; determining the transverse coordinate of the touch pen on the touch screen according to the first projection distance and the absolute coordinate of any one of the two transverse target channels;
the fifth determining submodule is used for determining a second projection distance of the distance between the pen end and any two longitudinal target channels on the touch screen according to the distance between the pen end and the longitudinal target channels; determining the longitudinal coordinate of the touch pen on the touch screen according to the second projection distance and the absolute coordinate of any one of the two longitudinal target channels;
and the sixth determining submodule is used for determining the coordinate of the touch pen on the touch screen according to the transverse coordinate determined by the fourth determining submodule and according to the longitudinal coordinate determined by the fourth determining submodule.
Optionally, the determining module further includes:
and the seventh determining submodule is used for determining the vertical distance from the pen end to the touch screen according to the distance between the pen end and at least two transverse target channels or at least two longitudinal target channels.
Yet another aspect of the present invention provides an electronic device, comprising: the touch screen, the memorizer, the processor and the computer program which is stored on the memorizer and can run on the processor, and the processor executes the method when running the computer program.
Yet another aspect of the invention provides an electronic device readable storage medium comprising a program which, when run on an electronic device, causes the electronic device to perform any of the methods described above.
The invention provides a coordinate determination method and device of a touch pen, electronic equipment and a storage medium, wherein the coordinate determination method receives a touch signal sent by the touch pen from a pen end through a touch screen; determining a target channel which senses the touch signal; determining the distance between the pen end and a target channel according to a preset channel response model; and then according to the distance, the coordinate position of the touch pen on the touch screen can be accurately determined. The method is characterized in that a channel response model is established based on the principle of signal induction between the touch pen and the touch screen, the distance between each target channel for inducing the touch signal and the pen end for transmitting the induction signal is determined based on the model, the position coordinate of the touch pen can be accurately calculated based on the distance determined by the method, and the induction performance of the touch screen to the touch pen is improved.
Drawings
In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings used in the description of the embodiments or the prior art will be briefly described below, and it is obvious that the drawings in the following description are some embodiments of the present invention, and those skilled in the art can also obtain other drawings according to the drawings without creative efforts.
FIG. 1 is a schematic cross-sectional view of an active pen pressing on a touch screen;
FIG. 2 is a flowchart illustrating a method for determining coordinates of a stylus according to an exemplary embodiment of the present invention;
FIG. 3 is a flowchart illustrating a method for determining coordinates of a stylus according to another exemplary embodiment of the present invention;
FIG. 4 is a schematic diagram of the embodiment of FIG. 3 in which a target channel is used to determine coordinates of a stylus;
FIG. 5 is a schematic diagram of the attenuation of a channel signal in the embodiment of FIG. 3;
FIG. 6 is a schematic diagram of signal attenuation for another channel in the embodiment of FIG. 3;
FIG. 7 is a schematic diagram of signal attenuation for another channel in the embodiment of FIG. 3;
FIG. 8 is a schematic diagram of the embodiment of FIG. 3 in which four target channels are used to determine coordinates of a stylus;
FIG. 9 is a schematic diagram of the embodiment of FIG. 3 in which three target channels are used to determine the coordinates of a stylus;
FIG. 10 is a diagram illustrating another example of the embodiment shown in FIG. 3 in which three target channels are used to determine coordinates of a stylus;
FIG. 11 is a schematic diagram of the embodiment of FIG. 3 in which two target channels are used to determine the coordinates of a stylus;
FIG. 12 is a flowchart illustrating a method of determining coordinates of a stylus according to another exemplary embodiment of the present invention;
FIG. 13 is a schematic diagram of the embodiment of FIG. 12 in which four target channels are used to determine coordinates of a stylus;
FIG. 14 is a schematic diagram of the embodiment of FIG. 12 in which three target channels are used to determine the coordinates of a stylus;
FIG. 15 is a schematic diagram of another embodiment of FIG. 12 in which three target channels are used to determine coordinates of a stylus;
FIG. 16 is a schematic diagram of the embodiment of FIG. 12 in which two target channels are used to determine the coordinates of a stylus;
FIG. 17 is a schematic diagram illustrating an apparatus for determining coordinates of a stylus according to an exemplary embodiment of the invention;
FIG. 18 is a schematic structural diagram illustrating an apparatus for determining coordinates of a stylus according to another exemplary embodiment of the present invention;
fig. 19 is a schematic structural diagram of an electronic device according to an exemplary embodiment of the present invention.
Detailed Description
In order to make the objects, technical solutions and advantages of the embodiments of the present invention clearer, the technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the drawings in the embodiments of the present invention, and it is obvious that the described embodiments are some, but not all, embodiments of the present invention. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.
Fig. 2 is a flowchart illustrating a coordinate determination method of a stylus according to an exemplary embodiment of the present invention, and as shown in fig. 2, an execution subject of the coordinate determination method of the stylus according to the present embodiment may be an electronic device having a touch screen, such as various mobile or non-mobile electronic devices, for example, a desktop PC, a notebook, a tablet PAD (PAD), or a mobile phone, and these electronic devices may be collectively referred to as a "terminal". The method for determining coordinates of a stylus according to this embodiment may specifically include:
step 201, receiving a touch signal sent by a stylus from a pen tip.
In this step, the stylus is in contact with the touch screen of the terminal, so that the touch screen receives the touch signal sent from the pen end of the stylus, and the terminal can respond to the touch signal after analyzing the touch signal. Therefore, before the terminal responds accurately, the contact position of the stylus on the touch screen needs to be determined, so that the terminal is accurately positioned to which application/which screen area on the touch screen the touch signal is operated, and the operation intention of the user is clarified. In addition, the touch pen may not contact the touch screen of the terminal, and the touch screen may sense the touch signal when the distance is a smaller preset distance, for example, the pen end of the touch pen of the user is hovering above the touch screen, and a state (hover event) in which an actual click or sliding operation is not performed on the touch screen is provided. In such a hover state, the hover coordinate does not have coordinate information on some electronic devices (e.g., windows tablet), but the provision of the hover coordinate may implement some additional functions of the touch pen, such as automatically displaying a target attribute when the pen is hovering, and the hover coordinate may also assist other algorithms of the touch screen, such as hovering and not reporting a finger coordinate. Therefore, in the hover state, the terminal can still calculate the position of the current pen end on the touch screen according to the signal intensity of the pen received by each channel on the touch screen.
Step 202, a target channel sensing a touch signal is determined.
In this step, as shown in the schematic cross-sectional view of fig. 1, when the tip of the stylus is close to or in contact with the touch screen, the touch signal may be sensed by the sensing lines arranged on the touch screen, but not all the sensing lines on the screen may sense the touch signal, and only the sensing lines near the tip may sense the touch signal. In this embodiment, a sensing channel formed by the sensing lines capable of sensing the touch signal is referred to as a target channel.
And 203, determining the distance between the pen end and the target channel according to a preset channel response model.
In this step, the distance between the pen tip and each target channel sensing the Signal of the pen tip may be determined based on a preset channel response model, where the preset channel response model may be a response model between a touch Signal transmitter (pen tip) and a receiver (touch screen) established based on a Received Signal Strength Indication (RSSI).
For example, the preset channel response model may be an RSSI-based signal attenuation model shown in formula (1):
Figure PCTCN2017116268-APPB-000003
in formula (1), p (x) is the received signal strength when the receiving end is at a distance x from the transmitting source; p (x)0) The intensity of the signal emitted by the emission source; x is the number of0Generally 1, this indicates that the received signal strength and the transmitted signal strength are identical; n is an attenuation factor indicating a pathThe rate at which loss increases with distance; ε is an error term, representing the shading factor. Generally, P (x) emitted by the stylus0) The value is a fixed value, and when the hardware structure of the stylus is fixed, the strength value of the signal sent by the stylus is also fixed; the attenuation factor n and the error term epsilon can also be determined by those skilled in the art based on the hardware capabilities of the stylus. And p (x) is an intensity value obtained by detecting each sensing line sensing a touch signal in the touch screen, and the value is different according to different target channels, and different x can be determined according to different p (x), so that the distance value between each target channel and the pen tip is determined.
And 204, determining the coordinate of the touch pen on the touch screen according to the distance between the pen end and the target channel.
In this step, based on the channel response model in step 203, a distance between each target channel sensing the touch signal and the pen tip is determined, and according to each distance value, a coordinate of the pen tip on the touch screen is determined.
In the coordinate determination method of the stylus according to the embodiment, a touch signal sent by the stylus from a pen end is received through a touch screen; determining a target channel which senses the touch signal; determining the distance between the pen end and a target channel according to a preset channel response model; and then according to the distance, the coordinate position of the touch pen on the touch screen can be accurately determined. The method is characterized in that a channel response model is established based on the principle of signal induction between the touch pen and the touch screen, the distance between each target channel for inducing the touch signal and the pen end for transmitting the induction signal is determined based on the model, the position coordinate of the touch pen can be accurately calculated based on the distance determined by the method, and the induction performance of the touch screen to the touch pen is improved.
Fig. 3 is a flowchart of a coordinate determination method of a stylus according to another exemplary embodiment of the present invention, as shown in fig. 3, on the basis of the previous embodiment, the coordinate determination method of the stylus according to the present embodiment specifically includes:
step 301, receiving a touch signal sent by a stylus from a pen end.
Step 302, determining a channel meeting a preset signal intensity threshold as a target channel according to the signal intensity of the touch signal received by more than two channels on the touch screen.
In this step, when the pen end touches the touch screen or floats on the upper end of the touch screen, the signal intensity values of the touch signals sensed by all the sensing lines on the touch screen are different, and the signal intensity values are strong or weak, so that a signal intensity threshold value can be preset to determine the signal intensity of the touch signal received by each sensing line, and if the preset signal intensity threshold value is reached, the target channel to be used for calculating the pen end coordinate is determined. Otherwise, the channel is discarded. Two or more channels can be arbitrarily selected from the channels satisfying the preset signal strength threshold value as target channels for subsequent coordinate calculation.
Optionally, the target channel may be selected according to the strength of the touch signal received by the channel and according to the sequence from strong to weak of the signal strength. For example, two channels with the strongest signal intensity are selected as target channels to improve the accuracy of the coordinate calculation of the pen end; more than two channels can be selected as the target channel, and the more channels are selected, the more accurate the calculated pen-end coordinates are.
As an example, the channel in the present embodiment includes: the transverse channel is formed by transverse induction lines which are arranged on the touch screen in parallel and used for inducing touch signals; the longitudinal channel is formed by longitudinal induction lines which are arranged on the touch screen in parallel and used for inducing touch signals; and the transverse channel is perpendicular to the longitudinal channel.
And determining a coordinate value (x value) of the pen tip in the transverse direction according to the transversely distributed induction lines, determining a coordinate value (y value) of the pen tip in the longitudinal direction according to the longitudinally distributed induction lines, and determining a position coordinate (x, y) of the pen tip on the touch screen according to the abscissa value and the ordinate value (for short, abscissa and ordinate).
The target channels for calculating the pen tip horizontal and vertical coordinates include at least two horizontal target channels and two vertical target channels, as an example. If only one target channel is used for calculation, as shown in FIG. 4, it is determinedWhen the pen tip is at a distance d from the target channel, there are two possibilities for the coordinate position of the pen tip, i.e. x on the screen as shown in fig. 41Or x located on the screen2The specific position of the pen tip on the screen cannot be uniquely confirmed. Therefore, at least two target channels distributed in the same direction need to determine a coordinate value.
Step 303, determining a distance between the pen end and the target channel according to a preset channel response model.
In this step, in order to calculate the distance value between the transmitting end and the receiving end more quickly and accurately, the formula of the formula (1) in the previous embodiment may be simplified to obtain the formula (2):
Figure PCTCN2017116268-APPB-000004
by PtRepresents P (x)0) Formula (2) is modified to formula (3):
Figure PCTCN2017116268-APPB-000005
when x is 1, the reception power and the transmission power match, and equation (3) is rewritten into equation (4):
Figure PCTCN2017116268-APPB-000006
suppose Pt=2,n=2,x=[-20,20]The signal received by one sensing line, i.e. a single point, is attenuated as shown in fig. 5.
In the cross-sectional view of fig. 1, when the stylus is pressed on the touch screen, if the channel width is 2e, the response P (x) of the target channel is a single-point response PtIntegration over the channel width 2e, as shown in equation (5):
Figure PCTCN2017116268-APPB-000007
simplifying formula (5) to obtain formula (6):
when n is equal to 1, the integration result is
Figure PCTCN2017116268-APPB-000009
Let Pt=2,n=1,e=2,x=[-20,20]The signal attenuation after the integration process is shown in fig. 6.
When n > 0and n ≠ 1, the integration result is
Figure PCTCN2017116268-APPB-000010
Let Pt=2,n=2,e=2,x=[-20,20]The signal attenuation is shown in fig. 7.
Based on the above derivation, the formula (5)
Figure PCTCN2017116268-APPB-000011
The model shown is a preset channel response model, where PtThe signal strength of the touch signal sent by the stylus, p (x) is the signal strength of the touch signal received by the touch screen, x is the distance between the tip of the stylus and the target channel, 2e is the channel width of the target channel, and n is an attenuation factor. Of course, the equations (6) to (8) are modifications of the equation (5), and therefore, any one of the equations (5) to (8) may be used as a preset channel response model to calculate a distance value between the pen tip and the target channel.
Step 304a, if the pen end of the touch pen is in contact with the touch screen, determining a first relative position of the pen end between any two transverse target channels according to the distance between the pen end and the transverse target channels; and determining the transverse coordinates of the touch pen on the touch screen according to the at least one first relative position and the absolute coordinates of any one of the two transverse target channels.
In this step, the distance between the pen tip and the target channel is the perpendicular distance between the pen tip and the central axis (a) of the target channel. Because the pen end of the touch pen is in contact with the touch screen, the pen end, the central axis (a) of each target channel and the surface of the touch screen are coplanar at the moment. In the following, taking 4, 3, and 2 target channels in the transverse direction (x direction) as examples, how to determine pen-end coordinates according to the distance between the pen-end and each transverse target channel will be described in detail. It should be noted that the pen-end coordinates can be determined based on 2 target channels, but the more target channels, such as 3, 4 or more target channels, the more accurate the pen-end coordinates can be calculated.
1. Four point coordinate calculation
Fig. 8 shows that the signal strength sensed by 4 target channels reaches the preset signal strength threshold. The value P (x) of the signal intensity sensed by each target channel1)、P(x2)、P(x3)、P(x4) Respectively into formula (5)
Figure PCTCN2017116268-APPB-000012
P (x) in (a) and (b) may also be substituted into any one of the simplified formulas (6) to (8) of formula (5), and the distance values d between the pen tip and the central axis a of the target channel are obtained1、d2、d3、d4Then, 4 transverse coordinates x of the stylus are obtained according to the formula (9)pen
As shown in formula (9), it is determined that the pen tip is between the target passage 2 and the target passage 3, respectivelyFirst relative position of
Figure PCTCN2017116268-APPB-000014
A first relative position between the target channel 2 and the target channel 4A first relative position between the target channel 1 and the target channel 3
Figure PCTCN2017116268-APPB-000016
A first relative position between the target channel 1 and the target channel 4
Figure PCTCN2017116268-APPB-000017
And f is a distance value between two adjacent target channels, and then according to any one absolute coordinate in the two target channels, the absolute coordinate refers to a position coordinate of physical wiring of the induction lines of each channel on the touch screen, and after the induction lines are wired, the absolute coordinate value of each induction line is fixed and unchanged. The absolute coordinate of each target channel in the formula (9) is the absolute coordinate x of the target channel 11Absolute coordinate x of target channel 22If the absolute coordinates of the channel 3 and the channel 4 are adopted, the subtraction operation is performed according to the relative position relationship, and the transverse coordinate x of the stylus can be determinedpen
To further ensure the accuracy of the coordinate determination, the 4 determined transverse coordinates are averaged according to equation (10) to obtain:
Figure PCTCN2017116268-APPB-000018
2. three point coordinate calculation
FIG. 9 shows that the signal strength sensed by 3 target channels reaches the predetermined signal strength threshold and the pen tip approaches the touch padSchematic on the left of the control screen. The value P (x) of the signal intensity sensed by each target channel1)、P(x2)、P(x3) Substituting into any one of formula (5) to formula (8) to obtain the distance value d between the pen end and the central axis a of the target channel1、d2、d3Then, the horizontal coordinate x of the touch pen is obtained according to the formula (11)pen
Figure PCTCN2017116268-APPB-000019
Taking the pen coordinates after averaging as formula (12)
Figure PCTCN2017116268-APPB-000020
Fig. 10 is a schematic diagram illustrating that the signal intensity sensed by 3 target channels reaches a preset signal intensity threshold, and the pen tip is close to the right side of the touch screen. The value P (x) of the signal intensity sensed by each target channel1)、P(x2)、P(x3) Respectively substituting into any one of formula (5) to formula (8) to obtain the distance values d between the pen end and the central axis a of the target channel1、d2、d3Then, the horizontal coordinate x of the stylus is obtained according to the formula (13)pen
Figure PCTCN2017116268-APPB-000021
The pen coordinates after averaging are taken as formula (14)
Figure PCTCN2017116268-APPB-000022
3. Two point coordinate calculation
FIG. 11 shows the signal strength sensed by 2 target channelsA preset signal strength threshold is reached. The value P (x) of the signal intensity sensed by each target channel1)、P(x2) Respectively substituting into any one of formula (5) to formula (8) to obtain the distance values d between the pen end and the central axis a of the target channel1、d2Then, the horizontal coordinate x of the touch pen is obtained according to the formula (15)pen
Figure PCTCN2017116268-APPB-000023
Step 304b, if the pen end of the touch pen is in contact with the touch screen, determining a second relative position of the pen end between any two longitudinal target channels according to the distance between the pen end and the longitudinal target channels; and determining the longitudinal coordinate of the touch pen on the touch screen according to the at least one second relative position and the absolute coordinate of any one of the two longitudinal target channels.
In this step, as for the longitudinal direction (y direction), since it coincides with the determination method in the x direction, the coordinates of the pen tip in the y direction can be determined with reference to the method in step 304 a.
And 305, determining the coordinates of the touch pen on the touch screen according to the horizontal coordinates and the vertical coordinates.
Fig. 12 is a flowchart of a coordinate determination method of a stylus according to another exemplary embodiment of the present invention, and as shown in fig. 12, on the basis of the foregoing embodiment, the coordinate determination method of the stylus according to the present embodiment specifically includes:
step 1201, receiving a touch signal sent by the stylus from the pen tip.
Step 1202, determining a channel meeting a preset signal intensity threshold as a target channel according to signal intensities of touch signals received by more than two channels on the touch screen.
In this step, as described in the previous embodiment, the channel includes: the transverse channel is formed by transverse induction lines which are arranged on the touch screen in parallel and used for inducing touch signals; the longitudinal channel is formed by longitudinal induction lines which are arranged on the touch screen in parallel and used for inducing touch signals; the transverse channels are arranged perpendicular to the longitudinal channels. The target pathway includes: at least two transverse target pathways and at least two longitudinal target pathways.
Step 1203, determining a distance between the pen end and the target channel according to a preset channel response model.
Step 1204a, if the pen tip of the touch pen is not in contact with the touch screen, determining a first projection distance of the distance between the pen tip and any two transverse target channels on the touch screen according to the distance between the pen tip and the transverse target channels; and determining the transverse coordinate of the touch pen on the touch screen according to the first projection distance and the absolute coordinate of any one of the two transverse target channels.
Optionally, the vertical distance from the pen end to the touch screen is determined according to the distance between the pen end and at least two transverse target channels or at least two longitudinal target channels.
In this step, the distance between the pen tip and the target channel is the perpendicular distance between the pen tip and the central axis (a) of the target channel. Because the pen end of the touch pen is not in contact with the touch screen, the plane of the perpendicular line from the pen end to the central axis (a) of the target channel is not coplanar with the surface of the touch screen. In this case, the determined position coordinates of the stylus include, in addition to the coordinates (x, y) on the surface of the touch screen, the hovering height value h of the stylus on the touch screen, and the coordinates of the stylus in the hover state are (x, y, h). In the following, taking 4, 3, and 2 target channels in the transverse direction (x direction) as examples, how to determine pen-end coordinates according to the distance between the pen-end and each target channel will be described in detail.
1. Four point coordinate calculation
Fig. 13 shows that the signal intensities sensed by four target channels reach the predetermined signal intensity threshold. The value P (x) of the signal intensity sensed by each target channel1)P(x2)P(x3)P(x4) Substituting formula (5)
Figure PCTCN2017116268-APPB-000024
P (x) in (a) and (b) may also be substituted into any one of the simplified formulas (6) to (8) of formula (5), and the distance values d between the pen tip and the central axis a of the target channel are obtained1、d2、d3、d4Then, according to the triangle relation, the Hover transverse coordinate x of the touch pen can be obtained through calculationpen_hoverHover height h, as shown in equation (16), where D1、D2、D3、D4Are respectively d1、d2、d3、d4And projecting on the touch screen, namely a first projection distance.
For triangular ACD have
Figure PCTCN2017116268-APPB-000025
After deformation obtain
Figure PCTCN2017116268-APPB-000026
For triangular ABE there are
Figure PCTCN2017116268-APPB-000027
After deformation obtain
Figure PCTCN2017116268-APPB-000028
For triangular ABD have
Figure PCTCN2017116268-APPB-000029
After deformation obtain
For triangular ACE have
Figure PCTCN2017116268-APPB-000031
After deformation obtain
Figure PCTCN2017116268-APPB-000032
According to the formula (17), the formula (19), the formula (21) and the formula (23), the coordinate of the stylus and the Hover height can be obtained after averaging, as shown in the formula (24).
According to D obtained1And absolute coordinate x corresponding to the first target channel1The position coordinates of the pen tip on the touch screen can be calculated; if D is given in formula 242、D3、D4Indicating that the position coordinates of the stylus can also be calculated with the absolute coordinates of other target channels.
2. Three point coordinate calculation
Fig. 14 is a schematic diagram illustrating that the signal intensities sensed by three target channels reach the preset signal intensity threshold, and the pen tip is close to the left of the touch screen. The value P (x) of the signal intensity sensed by each target channel1)P(x2)P(x3) Substituting into any one of formula (5) to formula (8) to obtain the distance value d between the pen end and the central axis a of the target channel1、d2、d3Then, according to the relation of each triangle, the Hover transverse coordinate x of the touch pen is obtainedpen_hoverHover height h.
For triangle ABC there are
Figure PCTCN2017116268-APPB-000034
After deformation obtain
Figure PCTCN2017116268-APPB-000035
For triangular ABD have
Figure PCTCN2017116268-APPB-000036
After deformation obtain
Figure PCTCN2017116268-APPB-000037
According to the formula (26) and the formula (28), the coordinates of the stylus and the height of the Hover can be obtained after averaging, as shown in the formula (29).
Figure PCTCN2017116268-APPB-000038
According to D obtained1And absolute coordinate x corresponding to the first target channel1The position coordinates of the pen tip on the touch screen can be calculated; if D is given in formula 292、D3Indicating that the position coordinates of the stylus can also be calculated with the absolute coordinates of other target channels.
Fig. 15 is a schematic diagram illustrating that the signal intensities sensed by three target channels reach the preset signal intensity threshold, and the pen tip is close to the right side of the touch screen. The value P (x) of the signal intensity sensed by each target channel1)P(x2)P(x3) Substituting any one of formula (5) to formula (8) to obtain the pen tip and the target channelThe distance between the axes a has a value d1、d2、d3Then, according to the relation of each triangle, the Hover transverse coordinate x of the touch pen is obtainedpen_hoverHover height h.
For triangular ABD have
Figure PCTCN2017116268-APPB-000039
After deformation obtain
For triangular ACD have
After deformation obtain
Figure PCTCN2017116268-APPB-000042
From equation (31) and equation (33), the stylus coordinates and Hover height can be obtained, as shown in equation (34).
Figure PCTCN2017116268-APPB-000043
According to D obtained1And absolute coordinate x corresponding to the first target channel1The position coordinates of the pen tip on the touch screen can be calculated; if D is given in formula 342、D3、D4Indicating that the position coordinates of the stylus can also be calculated with the absolute coordinates of other target channels.
3. Two point coordinate calculation
Shown in FIG. 16The signal strength sensed by two target channels is shown to reach a preset signal strength threshold. The value P (x) of the signal intensity sensed by each target channel1)、P(x2) Substituting into any one of formula (5) to formula (8) to obtain the distance value d between the pen end and the central axis a of the target channel1、d2Then, according to formula (35), obtaining Hover transverse coordinate x of the touch penpen_hoverHover height h.
For triangle ABC there are
Figure PCTCN2017116268-APPB-000044
The calculated stylus coordinates and Hover height are shown in equation (36).
Figure PCTCN2017116268-APPB-000045
According to D obtained1And absolute coordinate x corresponding to the first target channel1The position coordinates of the pen tip on the touch screen can be calculated; if D is given in formula 362Indicating that the position coordinates of the stylus can also be calculated in absolute coordinates of the second target channel.
Step 1204b, if the pen tip of the touch pen is not in contact with the touch screen, determining a second projection distance of the distance between the pen tip and any two longitudinal target channels on the touch screen according to the distance between the pen tip and the longitudinal target channels; and determining the longitudinal coordinate of the touch pen on the touch screen according to the second projection distance and the absolute coordinate of any one of the two longitudinal target channels.
Optionally, the vertical distance from the pen end to the touch screen is determined according to the distance between the pen end and at least two transverse target channels or at least two longitudinal target channels.
In this step, as for the longitudinal direction (y direction), since it coincides with the determination method in the x direction, the coordinates of the pen tip in the y direction can be determined with reference to the method in step 1204 a. Similarly, the vertical distance from the pen tip to the touch screen can also be obtained by referring to the calculation method h in step 1204 a.
And step 1205, determining the coordinates of the touch pen on the touch screen according to the horizontal coordinates and the vertical coordinates.
In this step, because there is a hover state in this case, the coordinates of the stylus on the touch screen may be calibrated by (x, y), or may be calibrated by (x, y, h), which can be determined by those skilled in the art, and the application does not limit this.
Fig. 17 is a schematic structural diagram illustrating an apparatus for determining coordinates of a stylus according to an exemplary embodiment of the present invention, and as shown in fig. 17, the apparatus for determining coordinates of a stylus according to the present embodiment may include, but is not limited to, an electronic device having a touch screen, such as an electronic device like a desktop PC, a laptop, a PAD (portable android device, PAD for short) or a mobile phone. The method specifically comprises the following steps:
the receiving module 171 is configured to receive a touch signal sent by the stylus from the pen end;
a determining module 172, configured to determine a target channel in which the touch signal is sensed; determining the distance between the pen end and a target channel according to a preset channel response model; and determining the coordinate of the touch pen on the touch screen according to the distance between the pen end and the target channel.
The apparatus for determining coordinates of a stylus in this embodiment may be used to perform the steps of the method embodiment shown in fig. 2, and the implementation principle is similar, which is not described herein again.
The device for determining the coordinates of the stylus according to the embodiment receives a touch signal sent by the stylus from a pen end through the touch screen; determining a target channel which senses the touch signal; determining the distance between the pen end and a target channel according to a preset channel response model; and then according to the distance, the coordinate position of the touch pen on the touch screen can be accurately determined. The method is characterized in that a channel response model is established based on the principle of signal induction between the touch pen and the touch screen, the distance between each target channel for inducing the touch signal and the pen end for transmitting the induction signal is determined based on the model, the position coordinate of the touch pen can be accurately calculated based on the distance determined by the device, and the induction performance of the touch screen to the touch pen is improved.
Fig. 18 is a schematic structural diagram illustrating an apparatus for determining coordinates of a stylus according to another exemplary embodiment of the present invention, and as shown in fig. 18, on the basis of the above embodiment, the apparatus for determining coordinates of a stylus further includes:
the model establishing module 173 is configured to establish a preset channel response model between the pen end that transmits the touch signal and the touch screen that receives the touch signal based on the RSSI. It is used in particular according to
Figure PCTCN2017116268-APPB-000046
Establishing a preset channel response model; wherein, PtThe signal strength of the touch signal sent by the stylus, p (x) the signal strength of the touch signal received by the touch screen, x the distance between the tip of the stylus and the target channel, 2e the channel width of the target channel, and n the attenuation factor.
Optionally, the determining module 172 includes:
the target channel determining submodule 1721 is configured to determine, according to signal strengths of touch signals received by two or more channels on the touch screen, a channel meeting a preset signal strength threshold as a target channel.
Optionally, the target channel determining submodule 1721 is specifically configured to select a target channel according to a sequence from strong to weak of the signal strength.
Optionally, the channel includes: the transverse channel is formed by transverse induction lines which are arranged on the touch screen in parallel and used for inducing touch signals; the longitudinal channel is formed by longitudinal induction lines which are arranged on the touch screen in parallel and used for inducing touch signals; the transverse channel is perpendicular to the longitudinal channel; the target pathway includes: at least two transverse target channels and at least two longitudinal target channels.
Optionally, the determining module 172 includes:
the first determining submodule 1722 is configured to determine, when a pen end of the touch pen contacts the touch screen and a distance between the pen end and the target channel is a vertical distance between the pen end and a central axis of the target channel, a first relative position of the pen end between any two horizontal target channels according to the distance between the pen end and the horizontal target channel; determining the transverse coordinate of the touch pen on the touch screen according to the at least one first relative position and the absolute coordinate of any one of the two transverse target channels;
the second determining submodule 1723 is used for determining a second relative position of the pen end between any two longitudinal target channels according to the distance between the pen end and the longitudinal target channels; determining the longitudinal coordinate of the touch pen on the touch screen according to the at least one second relative position and the absolute coordinate of any one of the two longitudinal target channels;
the third determining submodule 1724 is configured to determine coordinates of the stylus on the touch screen according to the horizontal coordinates determined by the first determining submodule 1722 and according to the vertical coordinates determined by the second determining submodule 1723.
Optionally, the determining module 172 includes:
the fourth determining submodule 1725 is configured to determine, when the pen end of the touch pen is not in contact with the touch screen and a distance between the pen end and the target channel is a vertical distance between the pen end and a central axis of the target channel, a first projection distance on the touch screen of a distance between the pen end and any two horizontal target channels according to the distance between the pen end and the horizontal target channel; determining the transverse coordinate of the touch pen on the touch screen according to the first projection distance and the absolute coordinate of any one of the two transverse target channels;
the fifth determining submodule 1726 is configured to determine, according to a distance between the pen end and the longitudinal target channels, a second projection distance of the distance between the pen end and any two of the longitudinal target channels on the touch screen; determining the longitudinal coordinate of the touch pen on the touch screen according to the second projection distance and the absolute coordinate of any one of the two longitudinal target channels;
a sixth determining submodule 1727, configured to determine, according to the horizontal coordinate determined by the fourth determining submodule, a coordinate of the stylus on the touch screen according to the vertical coordinate determined by the fourth determining submodule.
Optionally, the determining module 172 further includes:
the seventh determining sub-module 1728 is configured to determine a vertical distance between the pen tip and the touch screen according to a distance between the pen tip and the at least two horizontal target channels or the at least two vertical target channels.
The apparatus for determining coordinates of a stylus in this embodiment may be used to perform the steps of the method embodiments shown in fig. 3 and 12, and the implementation principle is similar, and will not be described herein again.
Fig. 19 is a schematic structural diagram of an electronic device according to an exemplary embodiment of the present invention, and as shown in fig. 19, the electronic device includes: a touch screen 191, a memory 192, a processor 193 and a computer program stored on the memory 192 and executable on the processor 193, the processor 193 executing the computer program to perform the method according to any of the above embodiments.
The present invention also provides an electronic device-readable storage medium comprising a program which, when run on an electronic device, causes the electronic device to perform the method of any of the embodiments described above.
Finally, it should be noted that: the above examples are only intended to illustrate the technical solution of the present invention, but not to limit it; although the present invention has been described in detail with reference to the foregoing embodiments, it will be understood by those of ordinary skill in the art that: the technical solutions described in the foregoing embodiments may still be modified, or some technical features may be equivalently replaced; and the modifications or the substitutions do not make the essence of the corresponding technical solutions depart from the scope of the technical solutions of the embodiments of the present invention.

Claims (20)

  1. A method for determining coordinates of a stylus, comprising:
    receiving a touch signal sent by a touch pen from a pen end;
    determining a target channel which senses the touch signal;
    determining the distance between the pen end and the target channel according to a preset channel response model;
    and determining the coordinate of the touch pen on the touch screen according to the distance between the pen end and the target channel.
  2. The method of claim 1, further comprising:
    and establishing the preset channel response model between the pen end for sending the touch signal and the touch screen for receiving the touch signal based on the received signal strength indication.
  3. The method of claim 2, further comprising:
    according to
    Figure PCTCN2017116268-APPB-100001
    Establishing the preset channel response model;
    wherein, PtThe signal intensity of the touch signal sent by the stylus is represented by p (x), the signal intensity of the touch signal received by the touch screen is represented by p (x), x is the distance between the pen end of the stylus and the target channel, 2e is the channel width of the target channel, and n is an attenuation factor.
  4. The method of claim 1, wherein determining the target channel sensing the touch signal comprises:
    and determining a channel meeting a preset signal intensity threshold value as the target channel according to the signal intensity of the touch signal received by more than two channels on the touch screen.
  5. The method of claim 4, further comprising:
    and selecting the target channel according to the sequence of the signal intensity from strong to weak.
  6. The method of claim 5,
    the channel includes: the transverse channels are formed by transverse induction lines which are arranged on the touch screen in parallel and used for inducing the touch signals; the longitudinal channels are formed by longitudinal induction lines which are arranged on the touch screen in parallel and used for inducing the touch signals; the transverse channel is perpendicular to the longitudinal channel;
    the target channel includes: at least two transverse target channels and at least two longitudinal target channels.
  7. The method of claim 6, wherein determining coordinates of the stylus on the touch screen based on the distance between the tip and the target channel comprises:
    if the pen end of the touch pen is in contact with the touch screen, the distance between the pen end and the target channel is the vertical distance between the pen end and the central axis of the target channel;
    determining a first relative position of the pen end between any two transverse target channels according to the distance between the pen end and the transverse target channels;
    determining the transverse coordinate of the touch pen on the touch screen according to at least one first relative position and the absolute coordinate of any one of two transverse target channels;
    determining a second relative position of the pen end between any two longitudinal target channels according to the distance between the pen end and the longitudinal target channels;
    determining the longitudinal coordinate of the touch pen on the touch screen according to at least one second relative position and the absolute coordinate of any one of two longitudinal target channels;
    and determining the coordinates of the touch pen on the touch screen according to the transverse coordinates and the longitudinal coordinates.
  8. The method of claim 6, wherein determining coordinates of the stylus on the touch screen based on the distance between the tip and the target channel comprises:
    if the pen end of the touch pen is not in contact with the touch screen, the distance between the pen end and the target channel is the vertical distance between the pen end and the central axis of the target channel;
    determining a first projection distance of the distance between the pen end and any two transverse target channels on the touch screen according to the distance between the pen end and the transverse target channels;
    determining the transverse coordinate of the touch pen on the touch screen according to the first projection distance and the absolute coordinate of any one of the two transverse target channels;
    determining a second projection distance of the distance between the pen end and any two longitudinal target channels on the touch screen according to the distance between the pen end and the longitudinal target channels;
    determining the longitudinal coordinate of the touch pen on the touch screen according to the second projection distance and the absolute coordinate of any one of the two longitudinal target channels;
    and determining the coordinates of the touch pen on the touch screen according to the transverse coordinates and the longitudinal coordinates.
  9. The method of claim 8, further comprising:
    and determining the vertical distance from the pen end to the touch screen according to the distance between the pen end and at least two transverse target channels or at least two longitudinal target channels.
  10. An apparatus for determining stylus coordinates, comprising:
    the receiving module is used for receiving a touch signal sent by the stylus from the pen end;
    the determining module is used for determining a target channel which senses the touch signal; determining the distance between the pen end and the target channel according to a preset channel response model; and determining the coordinate of the touch pen on the touch screen according to the distance between the pen end and the target channel.
  11. The apparatus of claim 10, further comprising:
    and the model establishing module is used for establishing the preset channel response model between the pen end for sending the touch signal and the touch screen for receiving the touch signal based on the received signal strength indication.
  12. The apparatus of claim 11,
    the model building module is specifically used for building the model according toEstablishing the preset channel response model;
    wherein, PtThe signal intensity of the touch signal sent by the stylus is represented by p (x), the signal intensity of the touch signal received by the touch screen is represented by p (x), x is the distance between the pen end of the stylus and the target channel, 2e is the channel width of the target channel, and n is an attenuation factor.
  13. The apparatus of claim 10, wherein the determining module comprises:
    and the target channel determining submodule is used for determining a channel meeting a preset signal intensity threshold value as the target channel according to the signal intensity of the touch signal received by more than two channels on the touch screen.
  14. The apparatus of claim 13,
    and the target channel determination submodule is specifically used for selecting the target channel according to the sequence of the signal intensity from strong to weak.
  15. The apparatus of claim 14,
    the channel includes: the transverse channels are formed by transverse induction lines which are arranged on the touch screen in parallel and used for inducing the touch signals; the longitudinal channels are formed by longitudinal induction lines which are arranged on the touch screen in parallel and used for inducing the touch signals; the transverse channel is perpendicular to the longitudinal channel;
    the target channel includes: at least two transverse target channels and at least two longitudinal target channels.
  16. The apparatus of claim 15, wherein the determining module comprises:
    the first determining submodule is used for determining a first relative position of the pen end between any two transverse target channels according to the distance between the pen end and the transverse target channels when the pen end of the touch pen is in contact with the touch screen and the distance between the pen end and the target channels is the vertical distance between the pen end and the central axis of the target channels; determining the transverse coordinate of the touch pen on the touch screen according to at least one first relative position and the absolute coordinate of any one of two transverse target channels;
    the second determining submodule is used for determining a second relative position of the pen end between any two longitudinal target channels according to the distance between the pen end and the longitudinal target channels; determining the longitudinal coordinate of the touch pen on the touch screen according to at least one second relative position and the absolute coordinate of any one of two longitudinal target channels;
    and the third determining submodule is used for determining the coordinate of the touch pen on the touch screen according to the transverse coordinate determined by the first determining submodule and according to the longitudinal coordinate determined by the second determining submodule.
  17. The apparatus of claim 15, wherein the determining module comprises:
    a fourth determining submodule, configured to determine, when a pen end of the stylus is not in contact with the touch screen and a distance between the pen end and the target channel is a vertical distance between the pen end and a central axis of the target channel, a first projection distance, on the touch screen, of a distance between the pen end and any two horizontal target channels according to the distance between the pen end and the horizontal target channel; determining the transverse coordinate of the touch pen on the touch screen according to the first projection distance and the absolute coordinate of any one of the two transverse target channels;
    the fifth determining submodule is used for determining a second projection distance of the distance between the pen end and any two longitudinal target channels on the touch screen according to the distance between the pen end and the longitudinal target channels; determining the longitudinal coordinate of the touch pen on the touch screen according to the second projection distance and the absolute coordinate of any one of the two longitudinal target channels;
    and the sixth determining submodule is used for determining the coordinate of the touch pen on the touch screen according to the transverse coordinate determined by the fourth determining submodule and according to the longitudinal coordinate determined by the fourth determining submodule.
  18. The apparatus of claim 17, wherein the determining module further comprises:
    and the seventh determining submodule is used for determining the vertical distance from the pen end to the touch screen according to the distance between the pen end and at least two transverse target channels or at least two longitudinal target channels.
  19. An electronic device, comprising: a touch screen, a memory, a processor, and a computer program stored on the memory and executable on the processor,
    the processor, when executing the computer program, performs the method of any of claims 1 to 9.
  20. An electronic device readable storage medium, comprising a program which, when run on an electronic device, causes the electronic device to perform the method of any one of claims 1 to 9.
CN201780002316.6A 2017-12-14 2017-12-14 Coordinate determination method, device, electronic equipment and the storage medium of stylus Pending CN110462568A (en)

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
PCT/CN2017/116268 WO2019113906A1 (en) 2017-12-14 2017-12-14 Method and apparatus for determining coordinates of stylus, electronic device and storage medium

Publications (1)

Publication Number Publication Date
CN110462568A true CN110462568A (en) 2019-11-15

Family

ID=66819811

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201780002316.6A Pending CN110462568A (en) 2017-12-14 2017-12-14 Coordinate determination method, device, electronic equipment and the storage medium of stylus

Country Status (2)

Country Link
CN (1) CN110462568A (en)
WO (1) WO2019113906A1 (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN116301440A (en) * 2023-05-23 2023-06-23 深圳曦华科技有限公司 Signal processing method, device, electronic equipment and storage medium

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
NL2025725B1 (en) 2020-06-02 2022-01-26 Microsoft Technology Licensing Llc Determining a distance to an input device
CN114461092B (en) * 2021-08-19 2022-10-11 荣耀终端有限公司 Touch pen connection method and electronic equipment

Citations (15)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20080106520A1 (en) * 2006-11-08 2008-05-08 3M Innovative Properties Company Touch location sensing system and method employing sensor data fitting to a predefined curve
CN103593093A (en) * 2012-08-16 2014-02-19 北京京东方光电科技有限公司 Touch display device and touch display realization method
US20140085259A1 (en) * 2012-09-25 2014-03-27 Samsung Electronics Co., Ltd. System for providing a user interface for use by portable and other devices
US20140104188A1 (en) * 2012-10-16 2014-04-17 Vemund Kval Bakken Active Stylus Communication And Position System
CN203870586U (en) * 2014-01-30 2014-10-08 联发科技(新加坡)私人有限公司 Electronic touch device
US20140327614A1 (en) * 2013-05-03 2014-11-06 Samsung Electronics Co., Ltd. Method of operating touch screen and electronic device thereof
US20150077403A1 (en) * 2013-09-13 2015-03-19 Thomas Bell Method and System for Determining Stylus Tilt in Relation to a Touch-Sensing Device
CN104461286A (en) * 2014-11-26 2015-03-25 昆山国显光电有限公司 Display screen suspension touch method
CN104503673A (en) * 2014-12-08 2015-04-08 昆山国显光电有限公司 Adjustable touch control method of display screen
US20150317004A1 (en) * 2014-05-05 2015-11-05 Adobe Systems Incorporated Editing on a touchscreen
US20150338950A1 (en) * 2014-05-22 2015-11-26 Stmicroelectronics Asia Pacific Pte Ltd Touch screen for stylus emitting wireless signals
US20160154528A1 (en) * 2014-11-28 2016-06-02 Samsung Electronics Co., Ltd. Pen input device, method for correcting input coordinate thereof and electronic device for supporting the same
WO2016145580A1 (en) * 2015-03-13 2016-09-22 华为技术有限公司 Electronic device, photographing method and photographing apparatus
WO2016185838A1 (en) * 2015-05-15 2016-11-24 シャープ株式会社 Touch pen, touch panel system, and electronic apparatus
CN107045393A (en) * 2016-02-05 2017-08-15 中国科学院软件研究所 Line test multi-channel data collecting method and system based on digital pen

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106598293B (en) * 2016-12-14 2019-09-06 吉林大学 A kind of three-dimensional large space multichannel pen type interactive system

Patent Citations (15)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20080106520A1 (en) * 2006-11-08 2008-05-08 3M Innovative Properties Company Touch location sensing system and method employing sensor data fitting to a predefined curve
CN103593093A (en) * 2012-08-16 2014-02-19 北京京东方光电科技有限公司 Touch display device and touch display realization method
US20140085259A1 (en) * 2012-09-25 2014-03-27 Samsung Electronics Co., Ltd. System for providing a user interface for use by portable and other devices
US20140104188A1 (en) * 2012-10-16 2014-04-17 Vemund Kval Bakken Active Stylus Communication And Position System
US20140327614A1 (en) * 2013-05-03 2014-11-06 Samsung Electronics Co., Ltd. Method of operating touch screen and electronic device thereof
US20150077403A1 (en) * 2013-09-13 2015-03-19 Thomas Bell Method and System for Determining Stylus Tilt in Relation to a Touch-Sensing Device
CN203870586U (en) * 2014-01-30 2014-10-08 联发科技(新加坡)私人有限公司 Electronic touch device
US20150317004A1 (en) * 2014-05-05 2015-11-05 Adobe Systems Incorporated Editing on a touchscreen
US20150338950A1 (en) * 2014-05-22 2015-11-26 Stmicroelectronics Asia Pacific Pte Ltd Touch screen for stylus emitting wireless signals
CN104461286A (en) * 2014-11-26 2015-03-25 昆山国显光电有限公司 Display screen suspension touch method
US20160154528A1 (en) * 2014-11-28 2016-06-02 Samsung Electronics Co., Ltd. Pen input device, method for correcting input coordinate thereof and electronic device for supporting the same
CN104503673A (en) * 2014-12-08 2015-04-08 昆山国显光电有限公司 Adjustable touch control method of display screen
WO2016145580A1 (en) * 2015-03-13 2016-09-22 华为技术有限公司 Electronic device, photographing method and photographing apparatus
WO2016185838A1 (en) * 2015-05-15 2016-11-24 シャープ株式会社 Touch pen, touch panel system, and electronic apparatus
CN107045393A (en) * 2016-02-05 2017-08-15 中国科学院软件研究所 Line test multi-channel data collecting method and system based on digital pen

Non-Patent Citations (2)

* Cited by examiner, † Cited by third party
Title
LI QING, FANG HONGLIANG, ZHANG PENGYUN, CHI JIANNAN: "The ARM Based Hardware System of Infrared Multi-touch Screen Design and Research", 2012 24TH CHINESE CONTROL AND DECISION CONFERENCE (CCDC) *
姜欣慧: "基于触控、笔和空间手势的混合输入研究", 硕士电子期刊 2017年第08期, vol. 2017 *

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN116301440A (en) * 2023-05-23 2023-06-23 深圳曦华科技有限公司 Signal processing method, device, electronic equipment and storage medium
CN116301440B (en) * 2023-05-23 2023-08-29 深圳曦华科技有限公司 Signal processing method, device, electronic equipment and storage medium

Also Published As

Publication number Publication date
WO2019113906A1 (en) 2019-06-20

Similar Documents

Publication Publication Date Title
EP2980679B1 (en) Mis-touch recognition method and device
US8797280B2 (en) Systems and methods for improved touch screen response
EP3035154A1 (en) Method and apparatus for recognizing grip state in electronic device
US9122351B2 (en) Apparatus for detecting proximity of object near a touchscreen
US9542904B2 (en) Electronic apparatus
US10001887B2 (en) Multi-touch touch screen and its junction area touch sensing method
US9678605B2 (en) Systems and methods for switching sensing regimes for gloved and ungloved user input
US20170315631A1 (en) System and method for multimode stylus
CN110462568A (en) Coordinate determination method, device, electronic equipment and the storage medium of stylus
US20060125789A1 (en) Contactless input device
TW201335811A (en) Touchscreen and touch display device using the touchscreen
US20150022467A1 (en) Electronic device, control method of electronic device, and control program of electronic device
WO2021213274A1 (en) Method and apparatus for preventing false touch of mobile terminal, and computer device and storage medium
KR20110106177A (en) Touch screen system and method for obtaing coordinate thereof
TW201911024A (en) Electronic device, method and system for detecting fingers and non-transitory computer-readable medium
US10283075B2 (en) Electronic apparatus which effects touch coordinate based on proximity and strain
US9471983B2 (en) Information processing device, system, and information processing method
TW201642089A (en) Mouse pad with touch detection function
EP2230589A1 (en) Touch screen display device
KR101847517B1 (en) Touch screen terminal and near field communication method, apparatus and system thereof
CN108427534B (en) Method and device for controlling screen to return to desktop
CN107980116B (en) Floating touch sensing method, floating touch sensing system and floating touch electronic equipment
WO2018032426A1 (en) Method for detecting input device, and detection device
CN104345905A (en) Control method for touch air mouse
TWI638309B (en) Virtual keyboard adjustment method and touch device

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
AD01 Patent right deemed abandoned

Effective date of abandoning: 20240426