Text this: A consistency-guaranteed approach for Internet of Things