Beacon-based context-aware architecture for crowd sensing public transportation scheduling and user habits