摘要 |
The embodiment of the present invention provides a service scheduling method, the method comprising: obtaining scheduling information of a plurality of services deployed on network devices, generating a scheduling logic according to the scheduling information, calling various processing modules to process messages received by the network devices according to the generated scheduling logic, and calling the corresponding service at the scheduling point of each service according to the scheduling point information of each service. Correspondingly, the embodiment of the present invention further provides a service scheduling apparatus and network devices. By adopting the technical solution in the embodiment of the present invention, a traditional message processing procedure is divided in a specific way, a plurality of service scheduling points are defined, the service required is called flexibly according to the message processing result, and in this way, repeated scheduling is avoided, the flexibility and performance of service scheduling are improved and the competitiveness of the network devices is improved. |