Network-on-chip (NoC) is a new solution for multicore interconnection. The static virtual channel allocation and XY routing are regularly used by the 2D mesh NoC. But the intercore transmission congestion increases the transmission delay and decrease the throughput, which depredates the cooperation of multiple cores. This paper proposes a QoS mechanism and designs the router architecture by dynamic virtural channel assignment and dual-subnet infrastructure , which increases the success rate of establishing guaranteed (GT) service path and decreases the packets transmission delay. simulations show that the QoS performance are improved for both GT packets and besteffort packets..