Method for determining tilt angle by terminal and terminal

The invention relates to the technical field of mobile communication, in particular to a method for determining a tilt angle by a terminal and the terminal, and is used for solving the problem that the current method for determining the tilt angle by the terminal is not accurate. The embodiment of t...

Ausführliche Beschreibung

Gespeichert in:
Bibliographische Detailangaben
Hauptverfasser: ZHAO LINHU, ZHANG LANPENG
Format: Patent
Sprache:chi ; eng
Schlagworte:
Online-Zugang:Volltext bestellen
Tags: Tag hinzufügen
Keine Tags, Fügen Sie den ersten Tag hinzu!
Beschreibung
Zusammenfassung:The invention relates to the technical field of mobile communication, in particular to a method for determining a tilt angle by a terminal and the terminal, and is used for solving the problem that the current method for determining the tilt angle by the terminal is not accurate. The embodiment of the invention determines whether the terminal is currently in a static state or not; if yes, the terminal receives acceleration data reported by an acceleration sensor; and the terminal determines the tilt angle according to the acceleration data. According to the embodiment of the invention, the terminal determines the tilt angle when being determined to be in the static state, to avoid influences of the acceleration generated by an external force on the acceleration data detected by the acceleration sensor so as to determine the tilt angle more accurately. 本发明涉及移动通信技术领域,特别涉及种终端确定倾斜角的方法及终端,用以解决目前终端确定倾斜角的方法不够准确的问题。本发明实施例终端判断当前是否处于静止状态;若是,所述终端接收加速度传感器上报的加速度数据;所述终端根据所述加速度数据确定倾斜角。由于本发明实施例终端在确定处于静止状态下确定倾斜角,避免由于外力产生的加速度对