When things matter: A survey on data-centric internet of things