A Location Fingerprint Framework Towards Efficient Wireless Indoor Positioning Systems