Text this: A quality of service–aware preemptive tidal flow queuing model for wireless multimedia sensor networks in the smart grid environment