The invention discloses a
stream table entry generating method and device. The method comprises the following steps: receiving a service path establishing request, wherein the service path establishing request comprises a constraint condition, source equipment and target equipment; finding a service path which satisfies the constraint condition and ranges from the source equipment to the target equipment in a
data transmission network according to a cross-layer
information model, wherein the cross-layer
information model is a model describing an integral topological relation between an IP (
Internet Protocol) layer and a light layer on the same level; generating a respective
stream table entry corresponding to each piece of forwarding equipment respectively on the service path, and transmitting the
stream table entries to corresponding forwarding equipment respectively. According to the scheme, resources of the
IP layer and resources of the light layer are considered during calculation of the service path according to the cross-layer
information model in which the resources of the
IP layer and the resources of the light layer are on the same level, thereby greatly lowering the
time complexity of business path calculation, increasing the service path calculation efficiency, and increasing the generation efficiency of the stream table entries.