Patent attributes
A method and apparatus for predicting traffic, comprising: determining time at which payment times for a first service reaches a peak as designated time; determining a peak of payment times for a second service in history as a historical peak according to a saved historical record; and predicting the actual traffic of the second service at the designated time according to the historical peak, wherein the first service and the second service belong to the same type of services, the execution manner of the first service is different from that of the second service, the service execution time of the first service is shorter than a preset duration, and the service execution time of the second service is longer than the preset duration. The present application can provide a more accurate reference for the operation and maintenance procedure of the server.