The QoS of the embedded network outstation used in underground is essential to whole performance of coal mine monitoring system. In this article, the embedded RTOS technology was introduced to improve the real-time of control network, and the extended UDP protocol and TrTCM algorithm to optimize the QoS of the network.