A traffic shaping scheduling method, a traffic shaping scheduling apparatus, and a routing device are provided. The method includes: obtaining a Subscriber Queue (SQ) Identifier (ID) (SQID) of an SQ passing previous-level scheduling, querying at least one Flow Group Queue (FGQ) ID (FGQID) corresponding to the SQID, in which each FGQID corresponds to one or more Flow Queues (FQs) of the SQ; judging whether the corresponding FQ satisfies a scheduling condition according to the number of currently remaining tokens in a token bucket corresponding to each FGQID, and scheduling the FQs satisfying the scheduling condition out of the queue. Thus, each service of the SQ is respectively configured to the corresponding FGQ, and the traffic of each FGQ corresponding to each service is limited, so that bandwidth traffic occupied by each service is limited, thereby preventing a situation that other services of the subscriber or other subscribers are blocked due to the excessively large traffic of the single service of the subscriber.
展开▼