The many-to-one convergecast is a kind of typical transmissions for wireless sensor networks, specially for wireless industrial sensor networks. This paper establishes the lower bounds on the number of timeslots and channels used for real-time convergecast in hybrid star and mesh wireless industrial sensor networks. And a two-stage and real-time scheduling algorithm based on compact search is proposed subsequently. Simulation results show that the two-stage and realtime scheduling algorithm based on compact search is optimal and the time overhead and packet overhead can be reduced by 6 to 8 times and nearly 2 times, respectively.