摘要

The altitude of a moving user is important context information for mobile technologies and applications. However, with the increasing pervasiveness of smartphones and abundant mobile applications, developers and users have gradually discovered that the height is more useful than altitude in many situations. The height is often a relative value, which is the vertical distance to the ground rather than the vertical distance to sea level, and we believe that it is useful in many applications, such as localization/navigation, sport/health and tourism/travel. In this paper, we first carried out a nation-wide online survey to confirm the desirability for the height information in mobile applications, and the result is positive. Then, we proposed HiMeter, an effective and accurate approach to calculating the height of the smartphone. HiMeter makes use of a low-power barometer on the smartphone and does not require GPS or back-server support. We concentrate on the vertical moving pattern of the user and designed several novel techniques, resulting in HiMeter not needing any reference points, and the complex process of calculating the absolute altitude can be avoided. The field studies show that HiMeter can achieve an accuracy of within 5 m in 90% of cases indoors and an accuracy of 10 m in 83% of cases outdoors. Compared to the existing works, HiMeter is more accurate and practical and is more suitable for usage in many mobile applications.