The invention discloses a satellite network active queue management method based on the sizes of groups. The method includes the following steps that firstly, the sizes of groups in which group data just arrive are acquired; secondly, according to the sizes of the groups, the value of a packet loss probability impact factor function based on the sizes of the groups is calculated; thirdly, the packet loss probability pz of a PID controller suitable for a satellite network is calculated, the total packet loss probability p of a router is calculated according to the packet loss probability pz and the value of the packet loss probability impact factor function, the size of a router cache is set to be qlim, and if q(k) is larger than or equal to qlim, the group data are abandoned; if q(k) is smaller than or equal to qlim, the probability for abandoning the group data is p; fourthly, and the groups which are not abandoned enter a queue for queuing. The total packet loss probability of the router is calculated according to different sizes of the groups, in other words, the large groups have the small packet loss probability, the small packets have the large packet loss probability, and therefore data packets with the large sizes of the groups can be protected.