摘要 |
Disclosed are a flow table entry generation method and device. The method comprises: receiving a service path establishment request, wherein the service path establishment request contains a constraint condition, a source device and a target device; finding a service path from the source device to the target device, which satisfies the constraint condition, in a data transmission network according to a cross-layer information model, wherein the cross-layer information model is an integral topology relationship model which describes an IP layer and an optical layer on the same layer surface; and generating respective corresponding flow table entries for various forwarding devices on the service path respectively, and sending the flow table entries to corresponding forwarding devices respectively. By means of the solution, according to a cross-layer information model of which resources of an IP layer and resources of an optical layer are all on the same layer surface, by taking account of the resources of the IP layer and the resources of the optical layer simultaneously while calculating the service path, the calculation time and complexity of the service path can be greatly reduced, and the calculation efficiency of the service path can be improved, thereby improving the generation efficiency of flow table entries. |