The invention relates to a resource allocation method in a time-sensitive network, which comprises the following steps of: 1, modeling a network topology into a directed graph G (V, E); 2, eliminatingunmatched routes; 3, detecting the traffic forwarding rate of each node of each path; 4, formulating an objective function and an output function, wherein the objective function is the minimized jitter of AVB traffic, and the output function is the traffic quantity allocated to each path; 5, formulating constraint conditions according to the target function in the step 4; 6, searching for a pathwith the largest hop count, and removing the path in a feasible solution, and remaining p-1 paths at the moment; and 7, recording a solution generated by each round of calculation in the dynamic change as a sample space. On the premise of ensuring TT traffic delay, the jitter of AVB traffic is minimized, the audio and video transmission effect is ensured, the AVB traffic delay is reduced to a certain extent, and the multi-path dynamic allocation problem of mixed traffic at a source node is solved.