The invention provides an intelligent QOS (
Quality of Service) method and an intelligent QOS
system based on a
token bucket, and belongs to the technical field of
network application. The intelligent QOS method comprises the following steps: marking a priority of a message, sending a data
package marked with the priority to a user guarantee
token bucket; determining whether the user guarantee
token bucket is within a guarantee bandwidth, if so, sending the data
package to a
system guarantee
queue, if not, sending the data
package to a user
queue according to user classification; calling, by a scheduler, data packages in the
system guarantee
queue into a system token bucket based on a priority order, if remaining bandwidth is available, calling the data packages in the user queue into the system token bucket; and sending, by the scheduler, the data packages according to a token in the system token bucket. The intelligent QOS method disclosed by the invention has the following beneficial effects that a punishment mechanism is added in a system on the principle of equity, part of waiting applications do not occupy a lot of bandwidth any more, the bandwidth is distributed to other applications;
delay is reduced obviously; and user's network environment is improved obviously.