A Privacy-Aware Crowd Management System for Smart Cities and Smart Buildings · Study