Easy To Use Patents Search & Patent Lawyer Directory

At Patents you can conduct a Patent Search, File a Patent Application, find a Patent Attorney, or search available technology through our Patent Exchange. Patents are available using simple keyword or date criteria. If you are looking to hire a patent attorney, you've come to the right place. Protect your idea and hire a patent lawyer.

A method for detecting an input device and a detection device. The method
includes: acquiring (110) an electric field intensity of an electric
field of a transmitting electrode of the input device at each of a
plurality of detecting electrodes (810); determining (120) a gravity
center position of the electric field and a center position of the
electric field according the electric field intensity of the electric
field of the transmitting electrode at each of the plurality of detecting
electrodes (810); and determining (130) information regarding an attitude
and/or a position of the input device according to the gravity center
position of the electric field and the center position of the electric
field. The method for detecting an input device and the detection device
may reduce power consumption.

1. A method for detecting an input device, comprising: acquiring an
electric field intensity of an electric field of a transmitting electrode
of the input device at each of a plurality of detecting electrodes;
determining a gravity center position of the electric field and a center
position of the electric field according to the electric field intensity
of the electric field of the transmitting electrode at each of the
plurality of detecting electrodes; and determining information regarding
at least one of an attitude or a position of the input device according
to the gravity center position of the electric field and the center
position of the electric field.

2. The method according to claim 1, wherein the plurality of detecting
electrodes comprise N.sub.1 detecting electrodes in a first direction and
N.sub.2 detecting electrodes in a second direction, the first direction
being perpendicular to the second direction, N.sub.1.gtoreq.2, and
N.sub.2.gtoreq.2.

3. The method according to claim 2, wherein the gravity center position
P.sub.gravity center=(Px.sub.gravity center, Py.sub.gravity center) of
the electric field is determined according to equations represented by:
Px gravity center = x = 1 N 1 E x * x
x = 1 N 1 E x , and Py gravity
center = y = 1 N 2 E y * y y = 1 N 2
E y ; ##EQU00010## and the center position
P.sub.center=(Px.sub.center, Py.sub.center) field of the electric is
determined according to equations represented by: .intg. x = 1
x = Px center E x = 1 2 .intg. x = 1 x = N 1 E
x , and .intg. y = 1 y = Py center E x =
1 2 .intg. y = 1 y = N 2 E y ; ##EQU00011##
wherein P.sub.gravity center represents the gravity center position of
the electric field, Px.sub.gravity center represents a coordinate of the
gravity center position of the electric field in the first direction,
Py.sub.gravity center represents a coordinate of the gravity center
position of the electric field in the second direction, P.sub.center
represents the center position of the electric field, Px.sub.center
represents a coordinate of the center position of the electric field in
the first direction, Py .sub.center represents a coordinate of the center
position of the electric field in the second direction, x represents a
coordinate of a detecting electrode in the first direction, E.sub.X
represents an electric field intensity detected by the detecting
electrode with the coordinate x in the first direction, N.sub.1
represents a number of detecting electrodes in the first direction,
N.sub.1.gtoreq.2, y represents a coordinate of a detecting electrode in
the second direction, E.sub.y represents an electric field intensity
detected by the detecting electrode with the coordinate y in the second
direction, N.sub.2 represents a number of detecting electrodes in the
second direction, and N.sub.2.gtoreq.2, the first direction being
perpendicular to the second direction.

4. The method according to claim 1, wherein the determining the
information regarding the attitude and/or the position of the input
device according to the gravity center position of the electric field and
the center position of the electric field comprises: determining a tilt
angle .alpha. of the input device according to an equation represented
by: .alpha.=f(|dx, dy|), wherein (dx, dy) represents a vector between
the gravity center position of the electric field and the center position
of the electric field, || represents a modulus of the vector, and f
represents a forward mapping relationship.

5. The method according to claim 1, wherein the determining the
information regarding the attitude and/or the position of the input
device according to the gravity center position of the electric field and
the center position of the electric field comprises: determining a
horizontal angle .theta. of the input device according to an equation
represented by: .theta. = argtan ( dy dx ) , ##EQU00012## wherein
(dx, dy) represents a vector between the gravity center position of the
electric field and the center position of the electric field.

6. The method according to claim 1, wherein the determining the
information regarding the attitude and/or the position of the input
device according to the gravity center position of the electric field and
the center position of the electric field comprises: determining a touch
position P.sub.actual of the input device according to an equation
represented by: P.sub.actual=P.sub.center+h(P.sub.center-P.sub.gravity
center), wherein P.sub.gravity center is the gravity center position of
the electric field, P.sub.center is the center position of the electric
field, and h represents a forward mapping relationship.

7. A detection device, comprising: an acquiring module, configured to
acquire an electric field intensity of an electric field of a
transmitting electrode of an input device at each of a plurality of
detecting electrodes; a first determining module, configured to determine
a gravity center position of an electric field and a center position of
the electric field according to the electric field intensity of the
electric field of the transmitting electrode at each of the plurality of
detecting electrodes; and a second determining module, configured to
determine information regarding at least one of an attitude or a position
of the input device according to the gravity center position of the
electric field and the center position of the electric field.

8. The detection device according to claim 7, wherein the acquiring
module comprises the plurality of detecting electrodes, and the plurality
of detecting electrodes comprise N.sub.1 detecting electrodes in a first
direction and N.sub.2 detecting electrodes in a second direction, the
first direction being perpendicular to the second direction,
N.sub.1.gtoreq.2, and N.sub.2.gtoreq.2.

9. The detection device according to claim 7, wherein the first
determining module is configured to: determine the gravity center
position P.sub.gravity center=(Px.sub.gravity center, Py.sub.gravity
center) of the electric field according to equations represented by:
Px gravity center = x = 1 N 1 E x * x
x = 1 N 1 E x , and Py gravity
center = y = 1 N 2 E y * y y = 1 N 2
E y ; ##EQU00013## and determine the center position
P.sub.center=(Px.sub.center, Py.sub.center) of the electric field
according to the following equations: .intg. x = 1 x = Px
center E x = 1 2 .intg. x = 1 x = N 1 E x ,
and .intg. y = 1 y = Py center E x = 1 2
.intg. y = 1 y = N 2 E y ; ##EQU00014## wherein
P.sub.gravity center represents the gravity center position of the
electric field, Px.sub.gravity center represents a coordinate of the
gravity center position of the electric field in a first direction,
Py.sub.gravity center represents a coordinate of the gravity center
position of the electric field in a second direction, P.sub.center
represents the center position of the electric field, Px.sub.center
represents a coordinate of the center position of the electric field in
the first direction, Py.sub.center represents a coordinate of the center
position of the electric field in the second direction, x represents a
coordinate of a detecting electrode in the first direction, E.sub.x
represents an electric field intensity detected by the detecting
electrode with the coordinate x in the first direction, N.sub.1
represents a number of detecting electrodes in the first direction,
N.sub.1.gtoreq.2, y represents a coordinate of a detecting electrode in
the second direction, E.sub.y represents an electric field intensity
detected by the detecting electrode with the coordinate y in the second
direction, N.sub.2 represents a number of detecting electrodes in the
second direction, and N.sub.2.gtoreq.2, the first direction being
perpendicular to the second direction.

10. The detection device according to claim 7, wherein the second
determining module is configured to: determine a tilt angle .alpha. of
the input device according to an equation represented by: .alpha.=f(|dx,
dy|), wherein (dx, dy) represents a vector between the gravity center
position of the electric field and the center position of the electric
field, || represents a modulus of the vector, and f represents a forward
mapping relationship.

11. The detection device according to claim 7, wherein the second
determining module is configured to: determine a horizontal angle .theta.
of the input device according to an equation represented by: .theta. =
argtan ( dy dx ) , ##EQU00015## wherein (dx, dy) represents a vector
between the gravity center position of the electric field and the center
position of the electric field.

12. The detection device according to claim 7, wherein the second
determining module is configured to: determine a touch position
P.sub.actual of the input device according to an equation represented by:
P.sub.actual=P.sub.center+h(P.sub.center-P.sub.gravity center), wherein
P.sub.gravity center is the gravity center position of the electric
field, P.sub.center is the center position of the electric field, and h
represents a forward mapping relationship.

13. A system, comprising: an input device comprising a transmitting
electrode; and a detection device, comprising: an acquiring module,
configured to acquire an electric field intensity of an electric field of
a transmitting electrode of the input device at each of a plurality of
detecting electrodes; a first determining module, configured to determine
a gravity center position of an electric field and a center position of
the electric field according to the electric field intensity of the
electric field of the transmitting electrode at each of the plurality of
detecting electrodes; and a second determining module, configured to
determine information regarding at least one of an attitude or a position
of the input device according to the gravity center position of the
electric field and the center position of the electric field.

14. The system according to claim 13, wherein the acquiring module
comprises the plurality of detecting electrodes, and the plurality of
detecting electrodes comprise N.sub.1 detecting electrodes in a first
direction and N.sub.2 detecting electrodes in a second direction, the
first direction being perpendicular to the second direction,
N.sub.1.gtoreq.2, and N.sub.2.gtoreq.2.

15. The system according to claim 14, wherein the first determining
module is configured to: determine the gravity center position
P.sub.gravity center=(Px.sub.gravity center, Py.sub.gravity center) of
the electric field according to equations represented by: Px
gravity center = x = 1 N 1 E x * x x =
1 N 1 E x , and Py gravity center
= y = 1 N 2 E y * y y = 1 N 2 E y
; ##EQU00016## and determine the center position
P.sub.center=(Px.sub.center, Py.sub.center) of the electric field
according to the following equations: .intg. x = 1 x = Px
center E x = 1 2 .intg. x = 1 x = N 1 E x ,
and .intg. y = 1 y = Py center E x = 1 2
.intg. y = 1 y = N 2 E y ; ##EQU00017## wherein
P.sub.gravity center represents the gravity center position of the
electric field, Px.sub.gravity center represents a coordinate of the
gravity center position of the electric field in the first direction,
Py.sub.gravity center represents a coordinate of the gravity center
position of the electric field in the second direction, P.sub.center
represents the center position of the electric field, Px.sub.center
represents a coordinate of the center position of the electric field in
the first direction, Py.sub.center represents a coordinate of the center
position of the electric field in the second direction, x represents a
coordinate of a detecting electrode in the first direction, E.sub.x
represents an electric field intensity detected by the detecting
electrode with the coordinate x in the first direction, N.sub.1
represents a number of detecting electrodes in the first direction,
N.sub.1.gtoreq.2, y represents a coordinate of a detecting electrode in
the second direction, E .sub.y represents an electric field intensity
detected by the detecting electrode with the coordinate y in the second
direction, N.sub.2 represents a number of detecting electrodes in the
second direction, and N.sub.2.gtoreq.2, the first direction being
perpendicular to the second direction.

16. The system according to claim 13, wherein the second determining
module is configured to: determine a tilt angle .alpha. of the input
device according to an equation represented by: .alpha.=f(|dx, dy|),
wherein (dx, dy) represents a vector between the gravity center position
of the electric field and the center position of the electric field, ||
represents a modulus of the vector, and f represents a forward mapping
relationship.

17. The system according to claim 13, wherein the second determining
module is configured to: determine a horizontal angle .theta. of the
input device according to an equation represented by: .theta. = argtan
( dy dx ) , ##EQU00018## wherein (dx, dy) represents a vector
between the gravity center position of the electric field and the center
position of the electric field.

18. The system according to claim 13, wherein the second determining
module is configured to: determine a touch position P.sub.actual of the
input device according to an equation represented by:
P.sub.actual=P.sub.center+h(P.sub.center-P.sub.gravity center), wherein
P.sub.gravity center is the gravity center position of the electric
field, P.sub.center is the center position of the electric field, and h
represents a forward mapping relationship.

Description

CROSS REFERENCE TO RELATED APPLICATIONS

[0001] The present application is a continuation of international
application No. PCT/CN2016/095731, filed on Aug. 17, 2016, which is
hereby incorporated by reference in its entirety.

TECHNICAL FIELD

[0002] The present disclosure relates to the field of information
technologies, and more specifically, to a method for detecting an input
device and a detection device.

BACKGROUND

[0003] Nowadays, a multi-functional two-in-one ultrabook is increasingly
favored by consumers. As a main peripheral input accessory of an
ultrabook, an active capacitive pen attracts gradual attentions of a
market. At present, a market of active capacitive products also shows a
contending and booming scene, in which contenders are all doing their
best to produce products with distinctive functions among which pen body
attitude detecting is an outstanding one.

[0004] For an ordinary active capacitive pen, a signal is transmitted at a
pen point, and a number of detecting electrodes in horizontal and
vertical directions are distributed on a touch plane; therefore, the
detecting electrodes may be used to detect the signal transmitted from
the pen point. Since the signal transmitted from the pen point attenuates
during transmission, the shorter a distance between a detecting electrode
and the pen point is, the stronger a signal detected by the detecting
electrode is, and with an increase in the distance, the signal attenuates
gradually. According to this law, a coordinate of the pen point on a
screen may be calculated both in the horizontal and vertical directions.
Through the above processes, a two-dimensional coordinate of a position
of the pen point on the touch plane may be calculated, but an angle
between a pen and the screen cannot be learned; however, when people
writes, the pen tends to be tilted.

[0005] At present, a technical solution of pen body attitude detecting
adopts two transmitting electrodes to transmit signals simultaneously,
and a tilt angle and a horizontal angle of a pen body with respect to a
touch plane are calculated at a touch detecting apparatus side according
to a relative position. However, this solution needs two transmitting
electrodes, which results in greater power consumption.

SUMMARY

[0006] Embodiments of the present disclosure provide a method for
detecting an input device and a detection device, which may reduce power
consumption.

[0007] According to a first aspect, a method for detecting an input device
is provided, including:

[0008] acquiring an electric field intensity of an electric field of a
transmitting electrode of the input device at each of a plurality of
detecting electrodes;

[0009] determining a gravity center position of the electric field and a
center position of the electric field according the electric field
intensity of the electric field of the transmitting electrode at each of
the plurality of detecting electrodes; and

[0010] determining information regarding an attitude and/or a position of
the input device according to the gravity center position of the electric
field and the center position of the electric field.

[0011] In a method for detecting an input device of an embodiment of the
present disclosure, information regarding an attitude and/or a position
of an input device, for example, information regarding a tilt angle, a
horizontal angle or a touch position and the like of the input device, is
determined according to a gravity center position of an electric field
and a center position of the electric field, and in this way, these
information may be acquired by only detecting one transmitting electrode,
that is, a plurality of transmitting electrodes are not required, thus
reducing power consumption and saving costs.

[0012] In some possible implementation manners, the plurality of detecting
electrodes include N.sub.1 detecting electrodes in a first direction and
N.sub.2 detecting electrodes in a second direction, the first direction
being perpendicular to the second direction, N.sub.1.gtoreq.2, and
N.sub.2.gtoreq.2.

[0013] In some possible implementation manners, the gravity center
position P.sub.gravity center=(Px.sub.gravity center, Py.sub.gravity
center) of the electric field is determined according to the following
equations:

[0015] where P.sub.gravity center represents the gravity center position
of the electric field, Px.sub.gravity center represents a coordinate of
the gravity center position of the electric field in a first direction,
Py.sub.gravity center represents a coordinate of the gravity center
position of the electric field in a second direction, P.sub.center
represents the center position of the electric field, Px.sub.center
represents a coordinate of the center position of the electric field in
the first direction, Py.sub.center represents a coordinate of the center
position of the electric field in the second direction, x represents a
coordinate of a detecting electrode in the first direction, E.sub.x
represents an electric field intensity detected by the detecting
electrode with the coordinate x in the first direction, N.sub.1
represents a number of detecting electrodes in the first direction,
N.sub.1.gtoreq.2, y represents a coordinate of a detecting electrode in
the second direction, E.sub.y represents an electric field intensity
detected by the detecting electrode with the coordinate y in the second
direction, N.sub.2 represents a number of detecting electrodes in the
second direction, and N.sub.2.gtoreq.2, the first direction being
perpendicular to the second direction.

[0016] In some possible implementation manners, the determining the
information regarding the attitude and/or the position of the input
device according to the gravity center position of the electric field and
the center position of the electric field includes:

[0017] determining a tilt angle .alpha. of the input device according to
the following equation:

.alpha.=f(|dx, dy|)

[0018] where (dx, dy) represents a vector between the gravity center
position of the electric field and the center position of the electric
field, || represents a modulus of the vector, and f represents a forward
mapping relationship.

[0019] In some possible implementation manners, the determining the
information regarding the attitude and/or the position of the input
device according to the gravity center position of the electric field and
the center position of the electric field includes:

[0020] determining a horizontal angle .theta. of the input device
according to the following equation:

.theta. = argtan ( dy dx ) , ##EQU00003##

[0021] where (dx, dy) represents a vector between the gravity center
position of the electric field and the center position of the electric
field.

[0022] In some possible implementation manners, the determining the
information regarding the attitude and/or the position of the input
device according to the gravity center position of the electric field and
the center position of the electric field includes:

[0023] determining a touch position P.sub.actual of the input device
according to the following equation:

P.sub.actual=P.sub.center+h(P.sub.center-P.sub.gravity center),

[0024] where P.sub.gravity center is the gravity center position of the
electric field, P.sub.center is the center position of the electric
field, and h represents a forward mapping relationship.

[0025] According to a second aspect, a detection device is provided,
including modules for executing the method in the first aspect or any
possible implementation manner of the first aspect.

[0026] According to a third aspect, a detection device is provided,
including a plurality of detecting electrodes, a processor and a memory.
The plurality of detecting electrodes is configured to detect an electric
field intensity of an electric field of a transmitting electrode of an
input device at each of the plurality of detecting electrodes. The memory
is configured to store an instruction, and the processor is configured to
execute the instruction. When the processor executes the instruction
stored in the memory, the execution causes the processor to execute the
method in the first aspect or any possible implementation manner of the
first aspect.

[0027] According to a fourth aspect, a system is provided, where the
system includes: an input device including a transmitting electrode; and
the detection device of the above second aspect or the third aspect.

[0028] According to a fifth aspect, a computer readable medium for storing
a computer program is provided, where the computer program includes an
instruction for executing the method in the first aspect or any possible
implementation manner of the first aspect.

BRIEF DESCRIPTION OF DRAWINGS

[0029] To describe technical solutions in embodiments of the present
disclosure more clearly, a brief introduction to the accompanying
drawings required for describing the embodiments of the present
disclosure is given below. Apparently, the accompanying drawings in the
following description are merely some embodiments of the present
disclosure, and other drawings may also be obtained based on these
drawings by a person of ordinary skill in the art without involving
inventive efforts.

[0030] FIG. 1 is a schematic flow of a method for detecting an input
device of an embodiment of the present disclosure.

[0031] FIG. 2 is a schematic diagram of a detecting electrode of an
embodiment of the present disclosure.

[0032] FIG. 3 is a schematic diagram of an input device of an embodiment
of the present disclosure.

[0033] FIG. 4 is a schematic diagram of electric field distribution on a
detecting electrode of an embodiment of the present disclosure.

[0034] FIG. 5 is a schematic diagram of electric field distribution on a
detecting electrode of another embodiment of the present disclosure.

[0035] FIG. 6a is a schematic diagram of a tilt angle of an input device
of an embodiment of the present disclosure.

[0036] FIG. 6b is a schematic diagram of a horizontal angle of an input
device of an embodiment of the present disclosure.

[0037] FIG. 7 is a schematic block diagram of a detection device of an
embodiment of the present disclosure.

[0038] FIG. 8 is a schematic block diagram of a detection device of
another embodiment of the present disclosure.

DETAILED DESCRIPTION

[0039] The following clearly and completely describes technical solutions
in embodiments of the present disclosure with reference to the
accompanying drawings in the embodiments of the present disclosure.
Apparently, the described embodiments are merely some but not all of the
embodiments of the present disclosure. All of other embodiments, obtained
by a person of ordinary skill in the art based on the embodiments of the
present disclosure without involving inventive efforts, shall fall into
the protection scope of the present disclosure.

[0040] The technical solutions of the embodiments of the present
disclosure can be applied to various touch electronic devices such as a
mobile terminal and a computer.

[0041] In the embodiments of the present disclosure, an input device may
be a device which performs inputting in a touch manner, for example, a
capacitive pen, an active pen, etc. The input device includes a
transmitting electrode which may send an electrical signal. It should be
understood that the transmitting electrode may also be expressed as a
transmitting electrode, and the present disclosure does not limit the
specific expression.

[0042] In the embodiments of the present disclosure, a detection device
may detect an input device by detecting an electrical signal sent by the
input device. The detection device may be disposed inside a touch screen
or a touch pad.

[0043] FIG. 1 shows a schematic flow of a method 100 for detecting an
input device according to an embodiment of the present disclosure. The
method 100 may be executed by a detection device. As shown in FIG. 1, the
method 100 may include:

[0044] S110, acquiring an electric field intensity of an electric field of
a transmitting electrode of the input device at each of a plurality of
detecting electrodes;

[0045] S120, determining a gravity center position of the electric field
and a center position of the electric field according the electric field
intensity of the electric field of the transmitting electrode at each of
the plurality of detecting electrodes; and

[0046] S130, determining information regarding an attitude and/or a
position of the input device according to the gravity center position of
the electric field and the center position of the electric field.

[0047] In the embodiment of the present disclosure, information regarding
an attitude and/or a position of an input device, for example,
information regarding a tilt angle, a horizontal angle or a touch
position and the like of the input device, is determined according to a
gravity center position of an electric field and a center position of the
electric field, and in this way, these information may be acquired by
only detecting one transmitting electrode, that is, a plurality of
transmitting electrodes are not required, thus reducing power consumption
and saving costs.

[0048] When an input device touches a touch plane, a transmitting
electrode of the input device sends an electrical signal, and an electric
field intensity at each of detecting electrodes may be detected by each
of the detecting electrodes, that is, each of the detecting electrodes
may detect the electrical signal sent by the transmitting electrode to
acquire the electric field intensity at each of the detecting electrodes.

[0049] Optionally, in an embodiment of the present disclosure, the
plurality of detecting electrodes include N.sub.1 detecting electrodes in
a first direction and N.sub.2 detecting electrodes in a second direction,
the first direction may be perpendicular to the second direction,
N.sub.1.gtoreq.2, and N.sub.2.gtoreq.2.

[0050] Specifically, the detecting electrodes in the detection device may
adopt a two-dimensional array manner, for example, as shown in FIG. 2,
the plurality of detecting electrodes may be classified into a plurality
of detecting electrodes in a horizontal direction and a plurality of
detecting electrodes in a vertical direction.

[0051] In an embodiment of the present disclosure, information regarding
an attitude and/or a position of an input device is determined according
to a gravity center position of an electric field and a center position
of the electric field.

[0052] Optionally, in an embodiment of the present disclosure, the gravity
center position P.sub.gravity center=(Px.sub.gravity centerPy.sub.gravity
center) of the electric field may be determined according to the
following equations (1) and (2):

[0053] P.sub.gravity center represents the gravity center position of the
electric field, Px.sub.gravity center represents a coordinate of the
gravity center position of the electric field in the first direction,
Py.sub.barycenter represents a coordinate of the gravity center position
of the electric field in the second direction, x represents a coordinate
of a detecting electrode in the first direction, E.sub.x represents an
electric field intensity detected by the detecting electrode with the
coordinate x in the first direction, N.sub.1 represents a number of
detecting electrodes in the first direction, N.sub.1.gtoreq.2, y
represents a coordinate of a detecting electrode in the second direction,
E.sub.y represents an electric field intensity detected by the detecting
electrode with the coordinate y in the second direction, N.sub.2
represents a number of detecting electrodes in the second direction, and
N.sub.2.gtoreq.2, the first direction being perpendicular to the second
direction.

[0054] Optionally, in an embodiment of the present disclosure, the center
position P.sub.center=(Px.sub.center, Py.sub.center) of the electric
field may be determined according to the following equations (3) and (4):

[0055] P.sub.center represents the center position of the electric field,
Px.sub.center represents a coordinate of the center position of the
electric field in the first direction, and Py.sub.center represents a
coordinate of the center position of the electric field in the second
direction.

[0056] That is, Px.sub.center is a solution to the equation represented by
the equation (3), and Py.sub.center is a solution to the equation
represented by the equation (4).

[0057] It is assumed that a transmitting electrode is a point, then a
gravity center position of an electric field and a center position of the
electric field coincide. Generally, an input device is shaped like a pen,
and a transmitting electrode in the input device has a certain length,
i.e., being not a point. For example, as shown in FIG. 3, the input
device is a capacitive pen, and the transmitting electrode is located in
a pen point position and has a certain length. In this way, when the
input device is perpendicular to a touch plane, three positions, i.e.,
the gravity center position of the electric field, the center position of
the electric field, and an actual position where the input device touches
the touch plane, coincide, and in this case, electric field distribution
on a detecting electrode may be as shown in FIG. 4. It should be
understood that FIG. 4 merely shows electric field distribution in one
direction, and electric field distribution in the other direction is
similar thereto. If the input device touches the touch plane at an
arbitrary tilt angle, both the gravity center position of the electric
field and the center position of the electric field are shifted as
compared with an actual touch position, and a shift direction is
equivalent to a tilt direction; in addition, the center position of the
electric field is shifted further, and in this case, electric field
distribution on the detecting electrode may be as shown in FIG. 5.
Similarly, FIG. 5 merely shows electric field distribution in one
direction, and electric field distribution in the other direction is
similar thereto.

[0058] In an embodiment of the present disclosure, a shift between a
gravity center position of an electric field and a center position of the
electric field is utilized to determine various types of information of
an input device when performing touching, for example, a tilt angle, a
horizontal angle, a touch position, or the like.

[0059] Specifically, (dx, dy) is used to represent a vector between the
gravity center position of the electric field and the center position of
the electric field, that is, dx represents a shift in one direction (x
direction), and dy represents a shift in the other direction (y
direction). The vector may be represented as:

P.sub.diff=P.sub.gravity center-P.sub.center=(dx, dy) (5)

[0060] A modulus of the vector has a forward mapping relationship with a
tilt degree of the input device, that is, the greater the tilt degree is,
the greater the modulus of the vector will become. Therefore, the modulus
of the vector may be utilized to determine a tilt angle .alpha. of the
input device with respect to the touch plane. A direction of the vector
may be used to determine a horizontal angle .theta. of the input device
with respect to the touch plane.

[0061] Optionally, as examples, FIGS. 6a and 6b respectively show
schematic diagrams of a tilt angle .alpha. and a horizontal angle
.theta.. In FIG. 6a, a represents an angle of an input device deviating
from a normal line of a touch plane. In FIG. 6b, B represents an angle of
the projection of an input device on a touch plane that deviates from an
x-axis direction. It should be understood that FIGS. 6a and 6b are merely
examples, and the present disclosure does not limit a representation
manner of a tilt angle and a horizontal angle.

[0062] Optionally, in an embodiment of the present disclosure, the tilt
angle a of the input device may be determined according to the following
equation (6):

.alpha.=f(|dx, dy|) (6)

[0063] where (dx, dy) represents a vector between the gravity center
position of the electric field and the center position of the electric
field, || represents a modulus of the vector, and f represents a forward
mapping relationship.

[0064] It should be understood that, in a specific application of the
above forward mapping relationship, a training mode may be adopted to
determine a specific mapping relationship, i.e., an absolute value for
each touch is obtained, or a relative value mode may be adopted to
acquire a relative value between different touches.

[0065] Optionally, in an embodiment of the present disclosure, the
horizontal angle B of the input device may be determined according to the
following equation (7):

.theta. = argtan ( dy dx ) ( 7 ) ##EQU00006##

[0066] where (dx, dy) represents a vector between the gravity center
position of the electric field and the center position of the electric
field.

[0067] In addition to obtaining a tilt angle and a horizontal angle of an
input device, an actual touch position of the input device on a touch
plane may also be determined according to a gravity center position of an
electric field and a center position of the electric field. Optionally,
in an embodiment of the present disclosure, a touch position P.sub.actual
of the input device may be determined according to the following equation
(8):

P.sub.actual=P.sub.center+h(P.sub.center-P.sub.gravity center) (8)

[0068] where P.sub.gravity center is the gravity center position of the
electric field, p.sub.center is the center position of the electric
field, and h represents a forward mapping relationship.

[0069] Similarly, in a specific application of the above forward mapping
relationship, a training mode may be adopted to determine a specific
mapping relationship, i.e., an absolute value for each touch is obtained,
or a relative value mode may be adopted to acquire a relative value
between different touches

[0070] Therefore, by adopting the technical solutions of the embodiments
of the present disclosure, a touch position of an input device may be
calibrated.

[0071] Therefore, by determining various types of information of an input
device when performing touching according to a gravity center position of
an electric field and a center position of the electric field, a method
for detecting an input device of an embodiment of the present disclosure
may acquire these information by only detecting one transmitting
electrode, that is, a plurality of transmitting electrodes is not
required, thus reducing power consumption and saving costs. In addition,
an input device required for the technical solutions of the embodiments
of the present disclosure may have only one transmitting electrode, and a
corresponding structure design is simpler.

[0072] It should be understood that, in various embodiments of the present
disclosure, values of sequence numbers of the above-mentioned various
processes do not mean an order of execution which should be determined
based upon functionalities and internal logics thereof, rather than
setting any limitation to implementation processes of the embodiments of
the present disclosure.

[0073] The method for detecting an input device according to the
embodiments of the present disclosure has been described above in detail,
and a detection device and a system according to embodiments of the
present disclosure will be described below.

[0074] It should be understood that a device in the embodiments of the
present disclosure may execute the method in the embodiments of the
present disclosure, and has a function for executing a corresponding
method.

[0075] FIG. 7 shows a schematic block diagram of a detection device 700 of
an embodiment of the present disclosure. As shown in FIG. 7, the
detection device 700 may include:

[0076] an acquiring module 710, configured to acquire an electric field
intensity of an electric field of a transmitting electrode of the input
device at each of a plurality of detecting electrodes;

[0077] a first determining module 720, configured to determine a gravity
center position of an electric field and a center position of the
electric field according the electric field intensity of the electric
field of the transmitting electrode at each of the plurality of detecting
electrodes; and

[0078] a second determining module 730, configured to determine
information regarding an attitude and/or a position of the input device
according to the gravity center position of the electric field and the
center position of the electric field.

[0079] By determining information regarding an attitude and/or a position
of an input device according to a gravity center position of an electric
field and a center position of the electric field, a detection device of
the embodiment of the present disclosure may acquire these information by
only detecting one transmitting electrode, that is, a plurality of
transmitting electrodes is not required, thus reducing power consumption
and saving costs.

[0080] Optionally, in an embodiment of the present disclosure, the
acquiring module 710 includes the plurality of detecting electrodes, and
the plurality of detecting electrodes include N.sub.1 detecting
electrodes in a first direction and N.sub.2 detecting electrodes in a
second direction, the first direction being perpendicular to the second
direction, N.sub.1.gtoreq.2, and N.sub.2.gtoreq.2.

[0081] Optionally, in an embodiment of the present disclosure, the first
determining module 720 is specifically configured to:

[0082] determine the gravity center position P.sub.gravity
center=(Px.sub.gravity center, Py.sub.gravity center) of the electric
field according to the following equations:

[0084] where P.sub.gravity center represents the gravity center position
of the electric field, Px.sub.gravity center represents a coordinate of
the gravity center position of the electric field in a first direction,
Py.sub.gravity center represents a coordinate of the gravity center
position of the electric field in a second direction, P.sub.center
represents the center position of the electric field, Px.sub.center
represents a coordinate of the center position of the electric field in
the first direction, Py.sub.center represents a coordinate of the center
position of the electric field in the second direction, x represents a
coordinate of a detecting electrode in the first direction, E.sub.x
represents an electric field intensity detected by the detecting
electrode with the coordinate x in the first direction, N.sub.1
represents a number of detecting electrodes in the first direction,
N.sub.1.gtoreq.2, y represents a coordinate of a detecting electrode in
the second direction, E.sub.y represents an electric field intensity
detected by the detecting electrode with the coordinate y in the second
direction, N.sub.2 represents a number of detecting electrodes in the
second direction, and N.sub.2.gtoreq.2, the first direction being
perpendicular to the second direction.

[0085] Optionally, in an embodiment of the present disclosure, the second
determining module 730 is specifically configured to:

[0086] determine a tilt angle .alpha. of the input device according to the
following equation:

.alpha.=f(|dx, dy|),

[0087] where (dx, dy) represents a vector between the gravity center
position of the electric field and the center position of the electric
field, || represents a modulus of the vector, and f represents a forward
mapping relationship.

[0088] Optionally, in an embodiment of the present disclosure, the second
determining module 730 is specifically configured to:

[0089] determine a horizontal angle .theta. of the input device according
to the following equation:

.theta. = argtan ( dy dx ) , ##EQU00009##

[0090] where (dx, dy) represents a vector between the gravity center
position of the electric field and the center position of the electric
field.

[0091] Optionally, in an embodiment of the present disclosure, the second
determining module 730 is specifically configured to:

[0092] determine a touch position P.sub.actual of the input device
according to the following equation:

P.sub.actual=P.sub.center+h(P.sub.center-P.sub.gravity center),

[0093] where P.sub.gravity center is the gravity center position of the
electric field, p.sub.center is the center position of the electric
field, and h represents a forward mapping relationship.

[0094] The detection device 700 according to the embodiments of the
present disclosure may correspond to an executive entity of the method
for detecting an input device according to the embodiments of the present
disclosure; moreover, the above or other operations and/or functions of
various modules in the detection device 700 are respectively for
corresponding procedures of each of the preceding methods, and for
concision, they will not be described redundantly herein.

[0095] FIG. 8 shows a schematic block diagram of a detection device 800 of
another embodiment of the present disclosure. As shown in FIG. 8, the
detection device 800 includes a plurality of detecting electrodes 810, a
processor 820 and a memory 830.

[0096] The plurality of detecting electrodes 810 are configured to detect
an electric field intensity of an electric field of a transmitting
electrode of an input device at each of the plurality of detecting
electrodes 810.

[0097] The memory 830 is configured to store a program. Specifically, the
program may include a program code, and the program code includes a
computer operating instruction. The memory 830 may include a read only
memory and a random access memory, and provides an instruction and data
to the processor 820. The memory 830 may either contain a high-speed
random access memory (Random-Access Memory, RAM), or include a
non-volatile memory (non-volatile memory), for example, at least one
magnetic disk memory.

[0098] Optionally, the memory 830 may store a program for implementing the
above method for detecting an input device of the embodiments of the
present disclosure.

[0099] Optionally, the processor 820 executes the program stored in the
memory 830 for executing the above method for detecting an input device
of the embodiments of the present disclosure.

[0100] The processor 820 may be an integrated circuit chip with a signal
processing capability. In an implementation process, respective steps of
the above method may be completed by an integrated logic circuit of
hardware in the processor 820 or an instruction in a form of software.
The above processor 820 may be a general processor including a central
processing unit (Central Processing Unit, CPU), a network processor
(Network Processor, NP) and the like, and may also be a digital signal
processor (Digital Signal Processor, DSP), an application specific
integrated circuit (Application Specific Integrated Circuit, ASIC), a
field-programmable gate array (Field-Programmable Gate Array, FPGA) or
other programmable logic devices, discrete gate or transistor logic
devices, discrete hardware components, which may implement or execute
respective methods, steps and logic diagrams disclosed in the embodiments
of the present disclosure. The general processor may be either a
microprocessor or any conventional processor, etc. A step of a method
disclosed with reference to the embodiments of the present disclosure may
be directly embodied as being executed and completed either by a hardware
processor, or a combination of a hardware module and a software module in
a processor. The software module may reside in a mature storage medium in
the art, for example, a random access memory, a flash memory, a read-only
memory, a programmable read-only memory or an electrically erasable
programmable memory, a register and the like. The storage medium is
located in the memory 830, and the processor 820 reads information in the
memory 830 and completes the step of the above-mentioned method in
combination with the hardware thereof.

[0101] An embodiment of the present disclosure further provides a system,
where the system may include:

[0102] an input device including a transmitting electrode; and

[0103] the above detection device in the embodiments of the present
disclosure.

[0104] The input device may include only one transmitting electrode. The
detection device may acquire various types of information of the input
device when performing touching by only detecting one transmitting
electrode, thus reducing power consumption and saving costs.

[0105] It should be understood that, as for various formulas in the
embodiments of the present disclosure, other equivalent transformations
may be performed, for example, adding or multiplying a constant, etc.,
and all of these transformations shall be encompassed within the
protection scope of the present disclosure.

[0106] It should be understood that specific examples in the embodiments
of the present disclosure herein are just for helping a person skilled in
the art to better understand the embodiments of the present disclosure,
rather than for limiting the scope of the embodiments of the present
disclosure.

[0107] It should be understood that, in the embodiments of the present
disclosure, the term "and/or" merely describes an association
relationship between associated objects and expresses that three
relationships may exist. For example, A and/or B may represent the
following three cases: A exists separately, A and B exist simultaneously,
and B exists separately. In addition, the character "/" herein generally
represents an "or" relationship between two related objects before and
after the character.

[0108] A person of ordinary skill in the art may realize that, units and
algorithm steps of various examples described in connection with the
embodiments disclosed herein can be implemented by electronic hardware,
computer software, or a combination of the two, and in order to clearly
describe the interchangeability of hardware and software, in the above
description, the composition and steps of the various examples have been
generally described according to functions. Whether these functions are
executed in a manner of hardware or in a manner of software depends on
the specific applications and design constraints of the technical
solution. A person skilled may implement the described functions by using
different methods for each specific application, but this implementation
should not be considered to be beyond the scope of the present
disclosure.

[0109] A person skilled in the art may clearly understand that, for
convenience and simplicity of description, the specific working processes
of the system, the apparatus and the units described above may refer to
corresponding processes in the foregoing method embodiments, which will
not be described redundantly herein.

[0110] In several embodiments provided in the present application, it
should be understood that, the disclosed system, apparatus and method may
be implemented in other manners. For example, the apparatus embodiments
described above are merely exemplary, for example, the division of the
units is merely a logic function division, and other division manners may
exist in practical implementation, for example, a plurality of units or
components may be combined or integrated to another system, or some
features may be omitted or be not executed. In addition, the displayed or
discussed mutual coupling or direct coupling or communication connection
may be indirect coupling or a communication connection of apparatuses or
units through some interfaces, and may also be a connection in
electrical, mechanical or other forms.

[0111] The units described as separate parts may be or may not be
separated physically, and a component displayed as a unit may be or may
not be a physical unit, namely, may be located in one place, or may be
distributed on a plurality of network units. Some or all of the units may
be selected to achieve the purposes of the solutions in the embodiments
of the present disclosure according to actual needs.

[0112] In addition, in various embodiments of the present disclosure,
respective functional units may be integrated in one processing unit, or
the respective functional units may physically exist separately, or two
or more units may be integrated in one unit. The above integrated unit
may be implemented either in a form of hardware or a form of a software
functional unit.

[0113] If the integrated unit is implemented in the form of the software
functional unit and is sold or used as an independent product, it may be
stored in a computer readable storage medium. Based on such an
understanding, the technical solution of the present disclosure
substantially, or the part of the present disclosure making contribution
to the related art, or all of or a part of the technical solution may be
embodied in a form of a software product, and the computer software
product is stored in a storage medium, which includes multiple
instructions for enabling a computer device (which may be a personal
computer, a server, a network device or the like) to execute all of or
some of the steps of the methods described in the respective embodiments
of the present disclosure. In addition, the foregoing storage medium
includes a variety of media capable of storing program codes, for
example, a USB disk, a mobile hard disk, a read-only memory (ROM,
Read-Only Memory), a random access memory (RAM, Random Access Memory), a
magnetic disk, an optical disk and the like.

[0114] Described above is merely the specific embodiments of the present
disclosure, whereas the protection scope of the present disclosure is not
limited to this. Any person who is skilled and familiar with the present
technical field may readily conceive of various equivalent modifications
or substitutions within the technical scope disclosed by the present
disclosure, and all of these modifications or substitutions shall fall
within the protection scope of the present disclosure. Therefore, the
protection scope of the present disclosure shall be defined by the
claims.