This invention discloses a service-aware NFV
network routing method and apparatus, belonging to the field of communication network and network function
virtualization technology. After acquiring
network topology, link load / bandwidth, node intermediate box
processing capacity and space resources, and flow request information, the method determines the dependencies of required intermediate boxes and configures a traffic change
rate ratio for each intermediate box type. Under the constraint of dependency, the partial-order
service set is converted into a full-order service chain based on the ratio. Then, based on the full-order service chain, the shortest path calculation is performed in stages to jointly determine the routing path and intermediate box
service location. When the
processing capacity of existing instances is insufficient, new instances are started based on the remaining space. Finally, the SDN controller issues flow tables to realize forwarding. This invention can effectively reduce end-to-end latency and
packet loss rate, improve flow success rate, and achieve
network load balancing.