摘要 |
Disclosed are a traffic control method and system. The method comprises: a gateway receives a call request from a client application for an internal application interface of an open platform; the gateway obtains traffic control rules for the client application or the internal application interface; the gateway checks whether the client application or the internal application interface meets the traffic control rules; if yes, the gateway accepts the call request from the client application; otherwise, the gateway rejects the call request from the client application. The present invention prevents the same client application from excessively invoking an internal application through an internal application interface and prevents the same internal application from being invoked excessively, thus reducing system resource consumption and improving system stability. |