CN112433624A - Inclination angle obtaining method and device and electronic equipment - Google Patents

Inclination angle obtaining method and device and electronic equipment Download PDF

Info

Publication number
CN112433624A
CN112433624A CN202011328374.8A CN202011328374A CN112433624A CN 112433624 A CN112433624 A CN 112433624A CN 202011328374 A CN202011328374 A CN 202011328374A CN 112433624 A CN112433624 A CN 112433624A
Authority
CN
China
Prior art keywords
terminal
stylus
holding state
coordinate system
user
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
CN202011328374.8A
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.)
Vivo Mobile Communication Co Ltd
Original Assignee
Vivo Mobile Communication 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 Vivo Mobile Communication Co Ltd filed Critical Vivo Mobile Communication Co Ltd
Priority to CN202011328374.8A priority Critical patent/CN112433624A/en
Publication of CN112433624A publication Critical patent/CN112433624A/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/033Pointing devices displaced or positioned by the user, e.g. mice, trackballs, pens or joysticks; Accessories therefor
    • G06F3/0346Pointing devices displaced or positioned by the user, e.g. mice, trackballs, pens or joysticks; Accessories therefor with detection of the device orientation or free movement in a 3D space, e.g. 3D mice, 6-DOF [six degrees of freedom] pointers using gyroscopes, accelerometers or tilt-sensors
    • 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/033Pointing devices displaced or positioned by the user, e.g. mice, trackballs, pens or joysticks; Accessories therefor
    • G06F3/0354Pointing devices displaced or positioned by the user, e.g. mice, trackballs, pens or joysticks; Accessories therefor with detection of 2D relative movements between the device, or an operating part thereof, and a plane or surface, e.g. 2D mice, trackballs, pens or pucks
    • G06F3/03545Pens or stylus

Landscapes

  • Engineering & Computer Science (AREA)
  • General Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Human Computer Interaction (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • User Interface Of Digital Computer (AREA)

Abstract

The embodiment of the application discloses an inclination angle obtaining method and device and electronic equipment, and can solve the problem that the relative inclination angle between a touch pen and a terminal cannot be identified in the related art. The method comprises the following steps: acquiring gravity data of a terminal and a touch pen; respectively establishing a space coordinate system where the terminal and the touch pen are located according to the gravity data; and obtaining a relative inclination angle between the touch control pen and the terminal according to the space coordinate system.

Description

Inclination angle obtaining method and device and electronic equipment
Technical Field
The application belongs to the technical field of electronic equipment, and particularly relates to an inclination angle obtaining method and device and electronic equipment.
Background
With the popularization of terminal (such as smart phones and tablet computers) technologies, more and more terminal Applications (APPs) need to be operated conveniently by means of a touch pen, and accordingly, the performance requirements on the touch pen are higher and higher. In the process of implementing the present application, the inventor finds that at least the following problems exist in the prior art: in some usage scenarios of the stylus, the relative tilt angle between the stylus and the terminal needs to be identified, but an effective solution is not provided in the related art, which is not favorable for expanding the usage range of the stylus.
Disclosure of Invention
The embodiment of the application aims to provide an inclination angle obtaining method, an inclination angle obtaining device and electronic equipment, and the problem that the relative inclination angle between a touch pen and a terminal cannot be identified in the related art can be solved.
In order to solve the technical problem, the present application is implemented as follows:
in a first aspect, an embodiment of the present application provides a tilt angle obtaining method, including: acquiring gravity data of a terminal and a touch pen; respectively establishing a space coordinate system where the terminal and the touch pen are located according to the gravity data; and obtaining a relative inclination angle between the touch control pen and the terminal according to the space coordinate system.
In a second aspect, an embodiment of the present application provides an inclination angle obtaining apparatus, including: the acquisition module is used for acquiring the gravity data of the terminal and the touch pen; the coordinate system establishing module is used for respectively establishing a space coordinate system where the terminal and the touch pen are located according to the gravity data; and the inclination angle acquisition module is used for acquiring the relative inclination angle of the touch control pen and the terminal according to the space coordinate system.
In a third aspect, an embodiment of the present application provides an electronic device, which includes a processor, a memory, and a program or instructions stored on the memory and executable on the processor, and when executed by the processor, the program or instructions implement the steps of the method according to the first aspect.
In a fourth aspect, embodiments of the present application provide a readable storage medium, on which a program or instructions are stored, which when executed by a processor implement the steps of the method according to the first aspect.
In a fifth aspect, an embodiment of the present application provides a chip, where the chip includes a processor and a communication interface, where the communication interface is coupled to the processor, and the processor is configured to execute a program or instructions to implement the method according to the first aspect.
In a sixth aspect, embodiments of the present application provide a readable storage medium, on which a program or instructions are stored, which when executed by a processor implement the method according to the first aspect.
In the embodiment of the application, by acquiring the gravity data of the terminal and the stylus, respectively establishing the spatial coordinate systems where the terminal and the stylus are located according to the gravity data, and obtaining the relative tilt angle between the stylus and the terminal according to the spatial coordinate systems, an effective solution is provided for how to acquire the relative tilt angle between the stylus and the terminal, and the application range of the stylus is conveniently expanded. Meanwhile, the gravity data of the touch pen and the gravity data of the terminal are fused, so that the touch pen is not in direct contact with the terminal, and the relative inclination angle of the touch pen and the terminal can be rapidly, automatically and automatically identified in a long distance.
Drawings
Fig. 1 is a schematic flowchart of an inclination angle obtaining method provided in an embodiment of the present application;
FIG. 2 is a schematic diagram of a display state of a terminal interface matched with a right-hand grip in an embodiment of the present application;
FIG. 3 is a schematic diagram of a display state of a terminal interface matched with a left-hand grip in the implementation of the present application;
FIG. 4 illustrates the interaction of a user holding the device in the right hand of the application;
FIG. 5 illustrates the interaction of a user holding the device with his left hand in the practice of the present application;
FIG. 6 is a schematic diagram illustrating an inclination relationship between a stylus and a spatial coordinate system of a terminal in an implementation of the present application;
FIG. 7 is a schematic diagram of a stylus configuration in accordance with an embodiment of the present disclosure;
FIG. 8 is a schematic flow chart of a tilt angle obtaining method according to another embodiment of the present application;
FIG. 9 is a schematic flow chart illustrating a tilt angle obtaining method according to still another embodiment of the present application;
FIG. 10 is a schematic flow chart of a tilt angle obtaining method according to another embodiment of the present application;
fig. 11 is a schematic structural diagram of an electronic device provided in an embodiment of the present application;
fig. 12 is a schematic hardware structure diagram of an electronic device implementing an embodiment of the present application.
Detailed Description
The technical solutions in the embodiments of the present application will be clearly and completely described below with reference to the drawings in the embodiments of the present application, and it is obvious that the described embodiments are some, but not all, embodiments of the present application. 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 application.
The terms first, second and the like in the description and in the claims of the present application are used for distinguishing between similar elements and not necessarily for describing a particular sequential or chronological order. It is to be understood that the data so used is interchangeable under appropriate circumstances such that the embodiments of the application are capable of operation in sequences other than those illustrated or described herein. In addition, "and/or" in the specification and claims means at least one of connected objects, a character "/" generally means that a preceding and succeeding related objects are in an "or" relationship.
The tilt angle obtaining method, device and electronic device provided by the embodiments of the present application are described in detail below with reference to the accompanying drawings through specific embodiments and application scenarios thereof.
As shown in fig. 1, an embodiment of the present application provides a tilt angle obtaining method, which may be executed by a terminal (e.g., a control module in the terminal); but may also be performed by a stylus (e.g., a control module within the stylus); but also by other modules than the terminal and the stylus, and the embodiment includes the following steps.
S102: and acquiring the gravity data of the terminal and the touch pen.
In one example, a gravity sensor (e.g., a gyroscope, an acceleration sensor, etc.) is disposed in each of the terminal and the stylus, and the gravity data of the terminal and the gravity data of the stylus can be obtained by the gravity sensor.
In another example, the terminal and the stylus may share a gravity sensor, which may be located within the stylus. The embodiment may be executed by a terminal, and the step of acquiring the gravity data of the terminal and the stylus includes: under the condition that the touch pen is separated from the terminal, the terminal acquires (for example, acquires through a near field communication technology) gravity data of the gravity sensor as the gravity data of the touch pen; and the terminal takes the gravity data of the gravity sensor obtained before the touch pen is separated from the terminal as the gravity data of the terminal. For example, the terminal may use the gravity data of the gravity sensor collected at the last time or several times before the stylus is separated from the terminal as the gravity data of the terminal. In the embodiment, the gravity sensor and the gravity data are shared, so that the hardware cost of the terminal is saved conveniently.
Optionally, before S102, the following steps may be further included: detecting the state of the separation of the touch pen and the terminal, and executing the step S102 when the separation of the touch pen and the terminal is detected, such as the touch pen is pulled out; and under the condition that the stylus is not separated from the terminal, ending the process to save data processing overhead.
S104: and respectively establishing a space coordinate system where the terminal and the touch pen are located according to the gravity data.
The step can be that a first space coordinate system where the terminal is located is established according to the gravity data of the terminal, and the first space coordinate system can be a three-dimensional space coordinate system comprising an x axis, a y axis and a z axis; meanwhile, according to the gravity data of the touch pen, a second space coordinate system where the touch pen is located is established, wherein the second space coordinate system can be a three-dimensional space coordinate system comprising an x axis, a y axis and a z axis; the second coordinate system may also be a linear coordinate system along the axis of the stylus.
S106: and obtaining a relative inclination angle between the touch control pen and the terminal according to the space coordinate system.
As mentioned above, the spatial coordinate system established in S104 may include a first spatial coordinate system in which the terminal is located and a second spatial coordinate system in which the stylus is located, and obtaining the relative tilt angle between the stylus and the terminal according to the spatial coordinate system in this step may include: determining an included angle between the coordinate axis of the first coordinate system and the coordinate axis of the second coordinate system; and obtaining a relative inclination angle between the touch control pen and the terminal according to the included angle.
For example, in the case that the first coordinate system and the second coordinate system are both three-dimensional coordinate systems, the included angle between the x-axis of the first coordinate system and the x-axis of the second coordinate system is respectively determined; an included angle between the y-axis of the first coordinate system and the y-axis of the second coordinate system; and obtaining a relative inclination angle between the touch control pen and the terminal according to an included angle between the z axis of the first coordinate system and the z axis of the second coordinate system.
For another example, in the case where the first coordinate system is a three-dimensional coordinate system and the second coordinate system is a rectilinear coordinate system, an angle between the second coordinate system and the yoz plane of the first coordinate system is determined; and determining an included angle between the xoz planes of the second coordinate system and the first coordinate system, and obtaining a relative inclination angle between the stylus and the terminal according to the two included angles.
According to the inclination angle obtaining method provided by the embodiment of the application, the gravity data of the terminal and the touch pen are obtained, the space coordinate systems where the terminal and the touch pen are located are respectively established according to the gravity data, and the relative inclination angle between the touch pen and the terminal is obtained according to the space coordinate systems. Meanwhile, the gravity data of the touch pen and the gravity data of the terminal are fused, so that the touch pen is not in direct contact with the terminal, and the relative inclination angle of the touch pen and the terminal can be rapidly, automatically and automatically identified in a long distance.
Optionally, in embodiment 100, after obtaining the relative tilt angle between the stylus and the terminal according to the spatial coordinate system, the method further includes the following steps: identifying the holding state of the stylus by the user according to the relative inclination angle, wherein the holding state comprises left-hand holding or right-hand holding; and adjusting the interface display state of the terminal to enable the interface display state to be matched with the holding state.
It should be noted that the "adjustment" mentioned in this embodiment may be represented as a dynamic response action, and may also be represented as a static non-response action. For example, when it is recognized that the holding state of the stylus by the user is a right-hand holding, and the interface display state (e.g., a default interface display state) at this time is already an interface display state matching the right-hand holding, the "adjustment" in this embodiment may be represented as a static unresponsive; for another example, when it is recognized that the holding state of the stylus by the user is left-handed holding, and the interface display state at this time is not the interface display state matching with the left-handed holding, the "adjustment" in this embodiment may be represented as a dynamic response action, that is, a terminal interface switching action is performed once to switch the terminal interface to the interface display state matching with the left-handed holding.
As for the interface display state of the terminal, reference may be made to fig. 2 to 5, where fig. 2 shows an interface display state (or referred to as UI layout) matching with a right-hand grip, and fig. 3 shows an interface display state matching with a left-hand grip. Fig. 4 shows the interaction operation when the user holds the display screen with the right hand, and fig. 5 shows the interaction operation when the user holds the display screen with the left hand.
In the examples shown in fig. 2 to 5, when detecting that the user uses the right hand to hold, the toolbar of the interface is arranged on the same side as the user's hand, and furthermore, the interaction manner of the system UI icon or the stylus can be adapted to the corresponding right hand action. When detecting that the user holds the touch screen with the left hand, the position of the toolbar of the interface is arranged on the same side of the user, and in addition, the interaction mode of the system UI icon or the touch pen can be adapted to the corresponding left-hand action.
The aforementioned system UI icons include, but are not limited to, a toolbar, menu bar, and the like. The above mentioned interaction means: if a certain command is operated, when the right hand holds the mouse, the right slide can be triggered; if held by the left hand, left-handed sliding will trigger.
According to the embodiment, the gravity data of the touch pen and the gravity data of the terminal are fused, the left hand and the right hand can be quickly, automatically and remotely recognized to be held by the left hand and the right hand, and the interface display state and the interaction mode on the terminal (such as a mobile phone) are adjusted, so that the user experience is improved.
Optionally, before identifying a holding state of the stylus by the user according to the relative tilt angle in the above embodiment, the method further includes: detecting whether the touch pen is in an operation area of the terminal according to the gravity data; wherein the identifying the holding state of the stylus by the user according to the relative inclination angle comprises: and under the condition that the stylus is detected to be in the operation area of the terminal, identifying the holding state of the stylus by the user according to the relative inclination angle.
For example, when the touch pen is detected to move to the upper surface of the terminal (i.e., located in the operation area), the holding state of the touch pen by the user can be identified according to the relative tilt angle (e.g., relative tilt angle), so that the UI display of the terminal held by the left hand and the right hand can be adapted. For example, when the stylus is detected to move to the lower surface of the terminal (i.e., outside the operating area), the process may be terminated to trigger the anti-false touch mechanism.
The identifying the holding state of the stylus by the user according to the relative tilt angle mentioned in the foregoing embodiments may include at least one of:
1) the terminal is operated in a vertical screen mode and at 90 DEG>θ2>Δθy1>In the case of 0, if 90 °>θ3>Δθx4>0, recognizing that the holding state of the stylus by the user is the holding state of the right hand, and if the holding state is minus 90 degrees<-θ3<Δθx<-θ4<0, identifying that the holding state of the stylus by the user is left-handed holding;
2) the terminal is operated at-90 DEG for horizontal screen<-θ2<Δθx<-θ1<In the case of 0, if 90 °>θ3>Δθy4>0, recognizing that the holding state of the stylus by the user is the holding state of the right hand, and if the holding state is minus 90 degrees<-θ3<Δθy<-θ4<0, identifying that the holding state of the stylus by the user is left-handed holding;
3) the terminal is operated at 90 DEG for horizontal screen>θ2>Δθx1>In the case of 0, if 90 °>θ3>Δθy4>0, recognizing that the holding state of the stylus by the user is left-handed holding, and if the holding state is-90 DEG<-θ3<Δθy<-θ4<0, identifying that the holding state of the stylus by the user is right-handed holding;
wherein, as shown in FIG. 6, Δ θxIs the included angle between the axial direction of the touch control pen and the yoz plane of the space coordinate system where the terminal is positioned, delta thetayIs the included angle theta between the axial direction of the touch control pen and the xoz plane of the control coordinate system where the terminal is located1,θ2,θ3,θ4The predefined value can be set according to the holding and using habits of the user on the stylus.
Generally, the display interface of the terminal has a certain aspect ratio (or aspect ratio), for example, the aspect ratio is 16: 9, aspect ratio of 20: 9, etc. The vertical screen operation mentioned in relation to the above-described embodiment may be the interface display state shown in fig. 2 to 5, that is, the vertical direction of the interface display is parallel to the length direction of the terminal. The horizontal screen operation may be a display state in which the vertical screen operation is rotated by 90 degrees to the right or left, and at this time, the vertical direction of the interface display is parallel to the width direction of the terminal. The detection of the vertical screen operation and the horizontal screen operation can be realized based on a gravity sensor and a matched functional chip in the terminal.
For the spatial coordinate system shown in fig. 6, where the terminal is located, the x-axis of the spatial coordinate system is parallel to the short side of the terminal, the y-axis of the spatial coordinate system is parallel to the long side of the terminal, and the z-axis of the spatial coordinate system is perpendicular to the plane of the terminal and faces the direction of the upper surface of the terminal.
The embodiment provides an effective solution for identifying the holding state (left-handed holding or right-handed holding) of the stylus pen, and facilitates the improvement of the identification accuracy.
To describe the tilt angle obtaining method provided in the embodiments of the present application in detail, the following description will be made with reference to several specific embodiments.
Example one
In the embodiment, a gravity sensor built in a terminal (such as a mobile phone) and a gravity sensor in a touch pen are used for calculating the relative inclination angle between the touch pen and a terminal plane, and then the holding state of a user for the touch pen is identified according to the relative inclination angle, wherein the holding state comprises left-hand holding or right-hand holding; and adjusting the interface display state of the terminal to enable the interface display state to be matched with the holding state.
In this embodiment, the gravity sensor in the terminal can obtain the gravity components of the X, Y and Z axes of the gravity sensor, and the three axes of the gravity data are G respectivelyX、GY、GZ
Inclination angle theta between terminal X axis and horizontal planeX1Angle of inclination theta of terminal Y axis to horizontal planeY1Inclination angle theta between plane of terminal whole machine and horizontal planeZ1Wherein:
Figure BDA0002795045550000081
Figure BDA0002795045550000082
Figure BDA0002795045550000083
the calculation method for calculating the inclination angle between the terminal coordinate system and the horizontal plane may be an inverse trigonometric function, and is not limited to arctangent, arcsine, and arcsine functions.
As above, the gravity sensor in the stylus can be used to calculate the tilt angle θ between the X-axis of the stylus and the horizontal planeX2Calculating the tilt angle theta between the Y-axis of the stylus and the horizontal planeY2Calculating the tilt angle theta between the Z axis of the stylus and the horizontal planeZ2
By the gravity and the inclination angle information, the inclination angle information of the touch pen can be mapped to a plane which takes the terminal as a reference surface, and further the relative inclination angle of the touch pen and the terminal can be obtained, wherein,
Δθx=θX2X1
ΔθY=θY2Y1
ΔθZ=θZ2Z1
Δθxis the touch control penAnd the angle, Δ θ, of the yoz plane of the space coordinate system in which the terminal is locatedyIs the angle between the axial direction of the stylus and the xoz plane of the space coordinate system in which the terminal is located, Delta thetaZIs the included angle between the axial direction of the touch control pen and the xoy plane of the space coordinate system where the terminal is positioned, delta thetaZTo optional values, may be fitted with Δ θxAnd Δ θyAnd (5) auxiliary use.
The embodiment of identifying the holding state of the stylus by the user according to the relative inclination angle comprises at least one of the following steps:
1) the terminal is operated in a vertical screen mode and at 90 DEG>θ2>Δθy1>In the case of 0, if 90 °>θ3>Δθx4>0, recognizing that the holding state of the stylus by the user is the holding state of the right hand, and if the holding state is minus 90 degrees<-θ3<Δθx<-θ4<0, identifying that the holding state of the stylus by the user is left-handed holding;
2) the terminal is operated at-90 DEG for horizontal screen<-θ2<Δθx<-θ1<In the case of 0, if 90 °>θ3>Δθy4>0, recognizing that the holding state of the stylus by the user is the holding state of the right hand, and if the holding state is minus 90 degrees<-θ3<Δθy<-θ4<0, identifying that the holding state of the stylus by the user is left-handed holding;
3) the terminal is operated at 90 DEG for horizontal screen>θ2>Δθx1>In the case of 0, if 90 °>θ3>Δθy4>0, recognizing that the holding state of the stylus by the user is left-handed holding, and if the holding state is-90 DEG<-θ3<Δθy<-θ4<0, identifying that the holding state of the stylus by the user is right-handed holding;
wherein, theta1,θ2,θ3,θ4The predefined value can be set according to the actual application.
This embodiment can also identify whether the position of the stylus is in the valid identification area, which is described in detail in embodiment three below.
The hardware system in this embodiment may include: a stylus; terminals, such as cell phones/tablets; the electronic module of the terminal can comprise a gravity sensor/communication module and the like.
As shown in fig. 7, fig. 7 is a schematic diagram of an internal module of a stylus pen, which mainly includes:
the gravity sensor is used for acquiring inclination angle information of the touch screen pen;
a controller for data (e.g., gravity data) processing;
the power supply is used for supplying power to the touch pen system;
the storage module is used for storing data (such as gravity data and the like) related to the touch pen;
the communication module is used for realizing data interaction with the terminal;
the power supply module is used for supplying power to the inside of the touch pen;
terminals, including but not limited to cell phones/tablets;
a stylus housing.
The implementation flow of this embodiment is shown in fig. 8, and includes the following steps:
s802: detecting whether a touch pen is started;
if so, executing S804;
if not, return to S802.
S804: and acquiring gravity data of the touch pen.
S806: and fusing the gravity data of the terminal and the touch pen.
S808: and calculating the relative inclination angle of the touch pen and the terminal.
S810: the holding state of the user is identified.
If it is recognized as left-handed holding, S812 is performed;
if it is recognized as the right-hand grip, S814 is performed.
S812: the terminal is configured to be in a left-handed mode, that is, the interface display state of the terminal is configured to be in the left-handed mode, as shown in fig. 3;
s814: the terminal is configured to be in a right-hand mode, that is, the interface display state of the terminal is configured to be in the right-hand mode, as shown in fig. 2;
s816: detecting whether the use of the touch control pen is finished;
if yes, ending the flow;
if not, return to S804.
The embodiment can adapt the system UI or the interaction of the terminal to the left and right hands by distinguishing the holding state of the touch pen. An example of an application is as follows:
when the detection user uses the right hand to hold, the tool column is arranged on the same side of the user hand. In addition, the system UI icon or stylus interaction may be adapted for the corresponding right-hand action.
When the detection user uses the left hand to hold, the tool column is arranged on the same side of the user hand. In addition, the system UI icon or the interactive mode of the stylus can be adapted to the corresponding left-hand action.
The above system UI icon: including toolbars, menu bars, etc. The interaction mode is as follows: if a certain command is operated, when the right hand holds the mouse, the right slide can be triggered; if held by the left hand, left-handed sliding will trigger.
The application example can better accord with the interactive habit of the user and improve the user experience.
Example two
The terminal (mobile phone) and the touch pen in the embodiment share the gravity sensor, and when the touch pen is in the terminal, the gravity data is shared to the terminal system for use. When the stylus is pulled out for use, the gravity data of the stylus can be used for interaction with the terminal.
The embodiment can save one gravity sensor, the terminal and the touch pen share one gravity sensor, and the left hand and the right hand in the conventional postures can be recognized for detection and the like.
Since the gravity sensor is taken out along with the stylus pen, the gravity data is transmitted back to the terminal system during or before the taking out, for defining the initial tilt angle of the terminal:
inclination angle theta between terminal X axis and horizontal planeX1Terminal Y axis andinclination angle theta of horizontal planeY1Inclination angle theta between plane of terminal whole machine and horizontal planeZ1(ii) a Inclination angle theta between X axis of touch control pen and horizontal planeX2Inclination angle theta between Y-axis of touch pen and horizontal planeY2Inclination angle theta between Z axis of touch pen and horizontal planeZ2
The relative inclination angles are respectively:
Δθx=θX2X1
ΔθY=θY2Y1
ΔθZ=θZ2Z1
according to the relative inclination angle, the information of the left hand and the right hand of the user can be obtained by combining the use habit of the handwriting pen.
The implementation flow of this embodiment is shown in fig. 9, and includes the following steps:
s902: detecting whether a touch pen is started;
if so, perform S904;
if not, return to S902.
S904: and acquiring the gravity data of the terminal.
S906: stylus gravity data is obtained.
S908: and calculating the relative inclination angle of the touch pen and the terminal.
S910: recognizing the holding state of a user;
if it is recognized as left-handed holding, S912 is performed;
if it is recognized as the right-hand grip, S914 is performed.
S912: the terminal is configured to be in a left-handed mode, that is, the interface display state of the terminal is configured to be in the left-handed mode, as shown in fig. 3;
s914: the terminal is configured in the right-hand mode, that is, the interface display state of the terminal is configured in the right-hand mode, as can be seen in fig. 2.
S916: detecting whether the use of the touch control pen is finished;
if yes, ending the flow;
if not, return to S904.
EXAMPLE III
For example, when the stylus is on the back (lower surface) of the terminal, that is, when the stylus is not in the operation area, the left-hand and right-hand recognition functions can be turned off, thereby preventing erroneous recognition and improving recognition accuracy.
The solution is as follows: the acceleration of the gravity sensor in three axes can simulate the displacement of the stylus through quadratic integration, and the calculation method is as follows:
relative acceleration (G) when the Z axisZGravity constant G) is positive, it may indicate that the stylus is moving to the upper surface of the terminal, which may be adapted to left and right handed UI displays.
If relative acceleration of the Z axis (G)ZGravity constant G) is negative, which may indicate that the stylus is moving to the lower surface of the terminal, triggering the anti-false touch mechanism.
The implementation flow of this embodiment is shown in fig. 10, and includes the following steps:
s1002: detecting whether a touch pen is started;
if so, executing S1004;
if not, return to S1002.
S1004: stylus gravity data is obtained.
S1006: stylus position information is calculated.
S1008: judging whether the touch pen is in an effective working area;
if so, go to S1010;
if not, return to S1004.
S1010: and fusing the gravity data of the terminal and the touch pen.
S1012: and calculating the relative inclination angle of the touch pen and the terminal.
S1014: recognizing the holding state of a user;
if a left-hand grip is recognized, S1016 is performed;
if it is recognized as the right-hand grip, S1018 is performed.
S1016: the terminal is configured to be in a left-handed mode, that is, the interface display state of the terminal is configured to be in the left-handed mode, as shown in fig. 3;
s1018: the terminal is configured in the right-hand mode, that is, the interface display state of the terminal is configured in the right-hand mode, as can be seen in fig. 2.
S1020: detecting whether the use of the touch control pen is finished;
if yes, ending the flow;
if not, return to S1004.
It should be noted that, in the inclination angle obtaining method provided in the embodiment of the present application, the executing main body may be an inclination angle obtaining device, or alternatively, a control module in the inclination angle obtaining device for executing the loading inclination angle obtaining method. In the embodiment of the present application, an example in which an inclination obtaining device executes a loading inclination obtaining method is taken as an example, and the inclination obtaining device provided in the embodiment of the present application is described.
Fig. 11 is a schematic structural diagram of a tilt angle acquisition apparatus according to an embodiment of the present application. As shown in fig. 11, the apparatus 1100 includes:
an obtaining module 1102, configured to obtain gravity data of the terminal and the stylus;
a coordinate system establishing module 1104, configured to respectively establish spatial coordinate systems where the terminal and the stylus are located according to the gravity data;
the tilt angle obtaining module 1106 may be configured to obtain a relative tilt angle between the stylus and the terminal according to the spatial coordinate system.
In the embodiment of the application, by acquiring the gravity data of the terminal and the stylus, respectively establishing the spatial coordinate systems where the terminal and the stylus are located according to the gravity data, and obtaining the relative tilt angle between the stylus and the terminal according to the spatial coordinate systems, an effective solution is provided for how to acquire the relative tilt angle between the stylus and the terminal, and the application range of the stylus is conveniently expanded. Meanwhile, the gravity data of the touch pen and the gravity data of the terminal are fused, so that the touch pen is not in direct contact with the terminal, and the relative inclination angle of the touch pen and the terminal can be rapidly, automatically and automatically identified in a long distance.
Optionally, as an embodiment, the apparatus 1100 further includes:
the identification module is used for identifying the holding state of the stylus by the user according to the relative inclination angle, wherein the holding state comprises left-hand holding or right-hand holding;
and the interface adjusting module is used for adjusting the interface display state of the terminal so that the interface display state is matched with the holding state.
Optionally, as an embodiment, the identification module is configured to:
the terminal is operated in a vertical screen mode and at 90 DEG>θ2>Δθy1>In the case of 0, if 90 °>θ3>Δθx4>0, recognizing that the holding state of the stylus by the user is the holding state of the right hand, and if the holding state is minus 90 degrees<-θ3<Δθx<-θ4<0, identifying that the holding state of the stylus by the user is left-handed holding;
the terminal is operated at-90 DEG for horizontal screen<-θ2<Δθx<-θ1<In the case of 0, if 90 °>θ3>Δθy4>0, recognizing that the holding state of the stylus by the user is the holding state of the right hand, and if the holding state is minus 90 degrees<-θ3<Δθy<-θ4<0, identifying that the holding state of the stylus by the user is left-handed holding;
the terminal is operated at 90 DEG for horizontal screen>θ2>Δθx1>In the case of 0, if 90 °>θ3>Δθy4>0, recognizing that the holding state of the stylus by the user is left-handed holding, and if the holding state is-90 DEG<-θ3<Δθy<-θ4<0, identifying that the holding state of the stylus by the user is right-handed holding;
wherein, Delta thetaxIs the included angle between the axial direction of the touch control pen and the yoz plane of the space coordinate system where the terminal is positioned, delta thetayIs the angle between the axial direction of the stylus and the xoz plane of the spatial coordinate system in which the terminal is located,θ1,θ2,θ3,θ4is a predefined value.
Optionally, as an embodiment, the apparatus 1100 further includes:
the detection module is used for detecting whether the touch pen is in the operation area of the terminal according to the gravity data;
wherein the identification module is configured to: and under the condition that the detection module detects that the stylus is in the operation area of the terminal, identifying the holding state of the stylus by the user according to the relative inclination angle.
Optionally, as an embodiment, the spatial coordinate system includes a first coordinate system where the terminal is located and a second coordinate system where the stylus is located, and the tilt angle obtaining module 1106 may be configured to:
determining an included angle between the coordinate axis of the first coordinate system and the coordinate axis of the second coordinate system;
and obtaining a relative inclination angle between the touch control pen and the terminal according to the included angle.
Optionally, as an embodiment, the stylus includes a gravity sensor, and the obtaining module 1102 is configured to:
acquiring gravity data of the gravity sensor as the gravity data of the touch pen under the condition that the touch pen is separated from the terminal; and
and taking the gravity data of the gravity sensor obtained before the touch pen is separated from the terminal as the gravity data of the terminal.
The tilt angle obtaining device in the embodiment of the present application may be a device, or may be a component, an integrated circuit, or a chip in a terminal. The device can be mobile electronic equipment or non-mobile electronic equipment. By way of example, the mobile electronic device may be a mobile phone, a tablet computer, a notebook computer, a palm top computer, a vehicle-mounted electronic device, a wearable device, an ultra-mobile personal computer (UMPC), a netbook or a Personal Digital Assistant (PDA), and the like, and the non-mobile electronic device may be a server, a Network Attached Storage (NAS), a Personal Computer (PC), a Television (TV), a teller machine or a self-service machine, and the like, and the embodiments of the present application are not particularly limited.
The inclination angle obtaining device in the embodiment of the present application may be a device having an operating system. The operating system may be an Android (Android) operating system, an ios operating system, or other possible operating systems, and embodiments of the present application are not limited specifically.
The inclination angle obtaining device provided in the embodiment of the present application can implement each process implemented by the inclination angle obtaining device in the method embodiments of fig. 1 to fig. 10, and for avoiding repetition, details are not repeated here.
Optionally, an embodiment of the present application further provides an electronic device, which includes a processor, a memory, and a program or an instruction stored in the memory and capable of running on the processor, where the program or the instruction is executed by the processor to implement each process of the foregoing tilt angle obtaining method embodiment, and can achieve the same technical effect, and in order to avoid repetition, details are not repeated here.
It should be noted that the electronic devices in the embodiments of the present application include the mobile electronic devices and the non-mobile electronic devices described above.
Fig. 12 is a schematic hardware structure diagram of an electronic device implementing an embodiment of the present application.
The electronic device 1200 includes, but is not limited to: radio frequency unit 1201, network module 1202, audio output unit 1203, input unit 1204, sensors 1205, display unit 1206, user input unit 1207, interface unit 1208, memory 1209, and processor 1210.
Those skilled in the art will appreciate that the electronic device 1200 may further comprise a power source (e.g., a battery) for supplying power to the various components, and the power source may be logically connected to the processor 1210 via a power management system, so as to implement functions of managing charging, discharging, and power consumption via the power management system. The electronic device structure shown in fig. 12 does not constitute a limitation of the electronic device, and the electronic device may include more or less components than those shown, or combine some components, or arrange different components, and thus, the description is not repeated here.
The processor 1210 is configured to obtain gravity data of the terminal and the stylus; respectively establishing a space coordinate system where the terminal and the touch pen are located according to the gravity data; and obtaining a relative inclination angle between the touch control pen and the terminal according to the space coordinate system.
In the embodiment of the application, by acquiring the gravity data of the terminal and the stylus, respectively establishing the spatial coordinate systems where the terminal and the stylus are located according to the gravity data, and obtaining the relative tilt angle between the stylus and the terminal according to the spatial coordinate systems, an effective solution is provided for how to acquire the relative tilt angle between the stylus and the terminal, and the application range of the stylus is conveniently expanded. Meanwhile, the gravity data of the touch pen and the gravity data of the terminal are fused, so that the touch pen is not in direct contact with the terminal, and the relative inclination angle of the touch pen and the terminal can be rapidly, automatically and automatically identified in a long distance.
The electronic device 1200 provided in the embodiment of the present application may further implement each process of the foregoing inclination angle obtaining method embodiment, and may achieve the same technical effect, and for avoiding repetition, details are not repeated here.
It should be understood that, in the embodiment of the present application, the input Unit 1204 may include a Graphics Processing Unit (GPU) 12041 and a microphone 12042, and the Graphics Processing Unit 12041 processes image data of still pictures or videos obtained by an image capturing device (such as a camera) in a video capturing mode or an image capturing mode. The display unit 1206 may include a display panel 12061, and the display panel 12061 may be configured in the form of a liquid crystal display, an organic light emitting diode, or the like. The user input unit 1207 includes a touch panel 12071 and other input devices 12072. A touch panel 12071, also referred to as a touch screen. The touch panel 12071 may include two parts of a touch detection device and a touch controller. Other input devices 12072 may include, but are not limited to, a physical keyboard, function keys (e.g., volume control keys, switch keys, etc.), a trackball, a mouse, and a joystick, which are not described in detail herein. The memory 1209 may be used to store software programs as well as various data, including but not limited to application programs and an operating system. Processor 1210 may integrate an application processor, which handles primarily the operating system, user interface, applications, etc., and a modem processor, which handles primarily wireless communications. It is to be appreciated that the modem processor described above may not be integrated into processor 1210.
The embodiment of the present application further provides a readable storage medium, where a program or an instruction is stored on the readable storage medium, and when the program or the instruction is executed by a processor, the program or the instruction implements each process of the foregoing tilt angle obtaining method embodiment, and can achieve the same technical effect, and in order to avoid repetition, details are not repeated here.
The processor is the processor in the electronic device described in the above embodiment. The readable storage medium includes a computer readable storage medium, such as a Read-Only Memory (ROM), a Random Access Memory (RAM), a magnetic disk or an optical disk, and so on.
The embodiment of the present application further provides a chip, where the chip includes a processor and a communication interface, the communication interface is coupled to the processor, and the processor is configured to run a program or an instruction to implement each process of the above-mentioned tilt angle obtaining method embodiment, and can achieve the same technical effect, and in order to avoid repetition, the description is omitted here.
It should be understood that the chips mentioned in the embodiments of the present application may also be referred to as system-on-chip, system-on-chip or system-on-chip, etc.
It should be noted that, in this document, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or apparatus. Without further limitation, an element defined by the phrase "comprising an … …" does not exclude the presence of other like elements in a process, method, article, or apparatus that comprises the element. Further, it should be noted that the scope of the methods and apparatus of the embodiments of the present application is not limited to performing the functions in the order illustrated or discussed, but may include performing the functions in a substantially simultaneous manner or in a reverse order based on the functions involved, e.g., the methods described may be performed in an order different than that described, and various steps may be added, omitted, or combined. In addition, features described with reference to certain examples may be combined in other examples.
Through the above description of the embodiments, those skilled in the art will clearly understand that the method of the above embodiments can be implemented by software plus a necessary general hardware platform, and certainly can also be implemented by hardware, but in many cases, the former is a better implementation manner. Based on such understanding, the technical solutions of the present application may be embodied in the form of a software product, which is stored in a storage medium (such as ROM/RAM, magnetic disk, optical disk) and includes instructions for enabling a terminal (such as a mobile phone, a computer, a server, an air conditioner, or a network device) to execute the method according to the embodiments of the present application.
While the present embodiments have been described with reference to the accompanying drawings, it is to be understood that the invention is not limited to the precise embodiments described above, which are meant to be illustrative and not restrictive, and that various changes may be made therein by those skilled in the art without departing from the spirit and scope of the invention as defined by the appended claims.

Claims (14)

1. A tilt angle acquisition method, comprising:
acquiring gravity data of a terminal and a touch pen;
respectively establishing a space coordinate system where the terminal and the touch pen are located according to the gravity data;
and obtaining a relative inclination angle between the touch control pen and the terminal according to the space coordinate system.
2. The method of claim 1, wherein after obtaining the relative tilt angle of the stylus pen and the terminal according to the spatial coordinate system, the method further comprises:
identifying the holding state of the stylus by the user according to the relative inclination angle, wherein the holding state comprises left-hand holding or right-hand holding;
and adjusting the interface display state of the terminal to enable the interface display state to be matched with the holding state.
3. The method of claim 2, wherein the identifying the holding state of the stylus by the user according to the relative tilt angle comprises at least one of:
the terminal is operated in a vertical screen mode and at 90 DEG>θ2>Δθy1>In the case of 0, if 90 °>θ3>Δθx4>0, recognizing that the holding state of the stylus by the user is the holding state of the right hand, and if the holding state is minus 90 degrees<-θ3<Δθx<-θ4<0, identifying that the holding state of the stylus by the user is left-handed holding;
the terminal is operated at-90 DEG for horizontal screen<-θ2<Δθx<-θ1<In the case of 0, if 90 °>θ3>Δθy4>0, recognizing that the holding state of the stylus by the user is the holding state of the right hand, and if the holding state is minus 90 degrees<-θ3<Δθy<-θ4<0, identifying that the holding state of the stylus by the user is left-handed holding;
the terminal is operated at 90 DEG for horizontal screen>θ2>Δθx1>In the case of 0, if 90 °>θ3>Δθy4>0, recognizing that the holding state of the stylus by the user is left-handed holdingHold, if-90 °<-θ3<Δθy<-θ4<0, identifying that the holding state of the stylus by the user is right-handed holding;
wherein, Delta thetaxIs the included angle between the axial direction of the touch control pen and the yoz plane of the space coordinate system where the terminal is positioned, delta thetayIs the angle θ between the axial direction of the stylus and the xoz plane of the space coordinate system in which the terminal is located1,θ2,θ3,θ4Is a predefined value.
4. The method of claim 2, wherein prior to identifying the user's holding state of the stylus based on the relative tilt angle, the method further comprises:
detecting whether the touch pen is in an operation area of the terminal according to the gravity data;
wherein the identifying the holding state of the stylus by the user according to the relative inclination angle comprises: and under the condition that the stylus is detected to be in the operation area of the terminal, identifying the holding state of the stylus by the user according to the relative inclination angle.
5. The method according to any one of claims 1 to 4, wherein the spatial coordinate system comprises a first coordinate system in which the terminal is located and a second coordinate system in which the stylus is located, and wherein obtaining the relative tilt angle of the stylus and the terminal according to the spatial coordinate system comprises:
determining an included angle between the coordinate axis of the first coordinate system and the coordinate axis of the second coordinate system;
and obtaining a relative inclination angle between the touch control pen and the terminal according to the included angle.
6. The method of claim 5, wherein the stylus comprises a gravity sensor, and wherein the acquiring the gravity data of the terminal and the stylus comprises:
under the condition that the touch pen is separated from the terminal, the terminal acquires gravity data of the gravity sensor as the gravity data of the touch pen; and
and the terminal takes the gravity data of the gravity sensor obtained before the touch pen is separated from the terminal as the gravity data of the terminal.
7. An inclination angle acquisition apparatus, characterized by comprising:
the acquisition module is used for acquiring the gravity data of the terminal and the touch pen;
the coordinate system establishing module is used for respectively establishing a space coordinate system where the terminal and the touch pen are located according to the gravity data;
and the inclination angle acquisition module is used for acquiring the relative inclination angle of the touch control pen and the terminal according to the space coordinate system.
8. The apparatus of claim 7, further comprising:
the identification module is used for identifying the holding state of the stylus by the user according to the relative inclination angle, wherein the holding state comprises left-hand holding or right-hand holding;
and the interface adjusting module is used for adjusting the interface display state of the terminal so that the interface display state is matched with the holding state.
9. The apparatus of claim 8, wherein the identification module is configured to at least one of:
the terminal is operated in a vertical screen mode and at 90 DEG>θ2>Δθy1>In the case of 0, if 90 °>θ3>Δθx4>0, recognizing that the holding state of the stylus by the user is the holding state of the right hand, and if the holding state is minus 90 degrees<-θ3<Δθx<-θ4<0, identifying that the holding state of the stylus by the user is left-handed holding;
the terminal is operated at-90 DEG for horizontal screen<-θ2<Δθx<-θ1<In the case of 0, if 90 °>θ3>Δθy4>0, recognizing that the holding state of the stylus by the user is the holding state of the right hand, and if the holding state is minus 90 degrees<-θ3<Δθy<-θ4<0, identifying that the holding state of the stylus by the user is left-handed holding;
the terminal is operated at 90 DEG for horizontal screen>θ2>Δθx1>In the case of 0, if 90 °>θ3>Δθy4>0, recognizing that the holding state of the stylus by the user is left-handed holding, and if the holding state is-90 DEG<-θ3<Δθy<-θ4<0, identifying that the holding state of the stylus by the user is right-handed holding;
wherein, Delta thetaxIs the included angle between the axial direction of the touch control pen and the yoz plane of the space coordinate system where the terminal is positioned, delta thetayIs the angle θ between the axial direction of the stylus and the xoz plane of the space coordinate system in which the terminal is located1,θ2,θ3,θ4Is a predefined value.
10. The apparatus of claim 8, further comprising:
the detection module is used for detecting whether the touch pen is in the operation area of the terminal according to the gravity data;
wherein the identification module is configured to: and under the condition that the detection module detects that the stylus is in the operation area of the terminal, identifying the holding state of the stylus by the user according to the relative inclination angle.
11. The apparatus according to any one of claims 7 to 10, wherein the spatial coordinate system comprises a first coordinate system in which the terminal is located and a second coordinate system in which the stylus is located, and the tilt angle obtaining module is configured to:
determining an included angle between the coordinate axis of the first coordinate system and the coordinate axis of the second coordinate system;
and obtaining a relative inclination angle between the touch control pen and the terminal according to the included angle.
12. The apparatus of claim 11, wherein the stylus includes a gravity sensor, and the obtaining module is configured to:
acquiring gravity data of the gravity sensor as the gravity data of the touch pen under the condition that the touch pen is separated from the terminal; and
and taking the gravity data of the gravity sensor obtained before the touch pen is separated from the terminal as the gravity data of the terminal.
13. An electronic device comprising a processor, a memory, and a program or instructions stored on the memory and executable on the processor, the program or instructions when executed by the processor implementing the tilt angle acquisition method according to any one of claims 1-6.
14. A readable storage medium, on which a program or instructions are stored, which when executed by a processor, implement the tilt angle acquisition method according to any one of claims 1 to 6.
CN202011328374.8A 2020-11-24 2020-11-24 Inclination angle obtaining method and device and electronic equipment Pending CN112433624A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202011328374.8A CN112433624A (en) 2020-11-24 2020-11-24 Inclination angle obtaining method and device and electronic equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202011328374.8A CN112433624A (en) 2020-11-24 2020-11-24 Inclination angle obtaining method and device and electronic equipment

Publications (1)

Publication Number Publication Date
CN112433624A true CN112433624A (en) 2021-03-02

Family

ID=74693928

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202011328374.8A Pending CN112433624A (en) 2020-11-24 2020-11-24 Inclination angle obtaining method and device and electronic equipment

Country Status (1)

Country Link
CN (1) CN112433624A (en)

Citations (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2011164746A (en) * 2010-02-05 2011-08-25 Seiko Epson Corp Terminal device, holding-hand detection method and program
CN103049115A (en) * 2013-01-28 2013-04-17 合肥华恒电子科技有限责任公司 Handwriting input apparatus capable of recording handwriting pen moving posture
JP2014059735A (en) * 2012-09-18 2014-04-03 Sharp Corp Information processing device, display method and program
US20140253521A1 (en) * 2013-03-11 2014-09-11 Barnesandnoble.Com Llc Stylus sensitive device with stylus angle detection functionality
WO2016099175A1 (en) * 2014-12-17 2016-06-23 주식회사 페이턴틴 Digitizer using information on tilt of stylus pen
CN109313508A (en) * 2016-06-15 2019-02-05 微软技术许可有限责任公司 Autonomous stereognosis stylus
US20190235642A1 (en) * 2018-02-01 2019-08-01 Silicon Integrated Systems Corp. User interaction method based on stylus, system for classifying tap events on stylus, and stylus product
CN110377214A (en) * 2019-06-04 2019-10-25 昆山龙腾光电有限公司 Method for detecting angle and angle detection device
CN110647246A (en) * 2018-06-26 2020-01-03 英特尔公司 Predictive detection of user intent in stylus use
CN111443819A (en) * 2020-03-26 2020-07-24 维沃移动通信有限公司 Control method and electronic device

Patent Citations (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2011164746A (en) * 2010-02-05 2011-08-25 Seiko Epson Corp Terminal device, holding-hand detection method and program
JP2014059735A (en) * 2012-09-18 2014-04-03 Sharp Corp Information processing device, display method and program
CN103049115A (en) * 2013-01-28 2013-04-17 合肥华恒电子科技有限责任公司 Handwriting input apparatus capable of recording handwriting pen moving posture
US20140253521A1 (en) * 2013-03-11 2014-09-11 Barnesandnoble.Com Llc Stylus sensitive device with stylus angle detection functionality
WO2016099175A1 (en) * 2014-12-17 2016-06-23 주식회사 페이턴틴 Digitizer using information on tilt of stylus pen
CN109313508A (en) * 2016-06-15 2019-02-05 微软技术许可有限责任公司 Autonomous stereognosis stylus
US20190235642A1 (en) * 2018-02-01 2019-08-01 Silicon Integrated Systems Corp. User interaction method based on stylus, system for classifying tap events on stylus, and stylus product
CN110647246A (en) * 2018-06-26 2020-01-03 英特尔公司 Predictive detection of user intent in stylus use
CN110377214A (en) * 2019-06-04 2019-10-25 昆山龙腾光电有限公司 Method for detecting angle and angle detection device
CN111443819A (en) * 2020-03-26 2020-07-24 维沃移动通信有限公司 Control method and electronic device

Similar Documents

Publication Publication Date Title
EP2708983B9 (en) Method for auto-switching user interface of handheld terminal device and handheld terminal device thereof
US10031586B2 (en) Motion-based gestures for a computing device
US9671880B2 (en) Display control device, display control method, and computer program
JP5759660B2 (en) Portable information terminal having touch screen and input method
US9268407B1 (en) Interface elements for managing gesture control
CN104615374B (en) The method and device that terminal is entered the operating instructions
US9378427B2 (en) Displaying handwritten strokes on a device according to a determined stroke direction matching the present direction of inclination of the device
EP2806347A2 (en) User terminal device and interaction method thereof
CN109558061B (en) Operation control method and terminal
US10460093B2 (en) Terminal device, method, and program
CN107168632B (en) Processing method of user interface of electronic equipment and electronic equipment
WO2013177901A1 (en) Touch control unlocking method and apparatus, and electronic device
EP4057137A1 (en) Display control method and terminal device
US20130082947A1 (en) Touch device, touch system and touch method
US20200249824A1 (en) Systems and methods for configuring the user interface of a mobile device
US20160147313A1 (en) Mobile Terminal and Display Orientation Control Method
WO2023016372A1 (en) Control method and apparatus, and electronic device and storage medium
CN106598422B (en) hybrid control method, control system and electronic equipment
WO2015156217A1 (en) Mobile terminal device
US9235338B1 (en) Pan and zoom gesture detection in a multiple touch display
US9285915B2 (en) Method of touch command integration and touch system using the same
KR20130085094A (en) User interface device and user interface providing thereof
CN112433624A (en) Inclination angle obtaining method and device and electronic equipment
CN114063772A (en) Gesture recognition method, device, equipment and medium
CN104516594A (en) Optical touch device and gesture detection method thereof

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