Wireless earphone, in-out box detection method thereof and storage medium

The invention discloses an in-out box detection method of a wireless earphone, the wireless earphone and a storage medium, the wireless earphone comprises a distance detection sensor and an acceleration sensor, and the in-out box detection method of the wireless earphone comprises the following step...

Ausführliche Beschreibung

Gespeichert in:
Bibliographische Detailangaben
Hauptverfasser: TIAN JIUDONG, ZHANG FANGFANG
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 discloses an in-out box detection method of a wireless earphone, the wireless earphone and a storage medium, the wireless earphone comprises a distance detection sensor and an acceleration sensor, and the in-out box detection method of the wireless earphone comprises the following steps: acquiring a distance detected by the distance detection sensor; when the distance is smaller thanor equal to a first preset distance, acquiring acceleration data detected by an acceleration sensor; and when the acceleration data meets a preset static condition, judging that the wireless earphoneis in a box-in state. The in-out box state of the earphone can still be accurately detected when the earphone box is not closed, and the in-out box state detection accuracy of the wireless earphone is improved. 本发明公开了一种无线耳机的出入盒检测方法以及无线耳机、存储介质,无线耳机包括距离检测传感器以及加速度传感器,无线耳机的出入盒检测方法包括:获取距离检测传感器检测到的距离;在距离小于或等于第一预设距离时,获取加速度传感器检测到的加速度数据;在加速度数据满足预设静止条件时,判定无线耳机处于入盒状态。本发明在耳机盒未关闭时仍能准确检测耳机的出入盒状态,提高无线耳机的出入盒状态检测的准确性。