A method for obtaining a target transmission path, wherein the method is applied to a network domain, and the method comprises: obtaining, by a first network node in the network domain, topology information of a plurality of network nodes comprised by each path between an ingress node and an egress node that are in the network domain, wherein the topology information comprises a physical link delay between two adjacent network nodes in the plurality of network nodes and a node residence time of each of the plurality of network nodes; obtaining, by the first network node, a transmission delay of each path between the ingress node and the egress node according to the topology information, wherein the transmission delay of each path comprises a sum of the physical link delay between the two adjacent network nodes on each path and node residence times of the plurality of network nodes on each path; and determining, by the first network node, a target transmission path between the ingress node and the egress node according to the transmission delay of each path, characterized in that the topology information comprises first topology information, and the obtaining, by a first network node in the network domain, topology information of a plurality of network nodes comprised by each path between an ingress node and an egress node that are in the network domain comprises: obtaining, by the first network node, a first physical link delay in the first topology information, wherein the first physical link delay is a link delay between the first network node and an adjacent first neighboring node; and obtaining, by the first network node, a node residence time that is of the first network node and that is in the first topology information, wherein the obtaining, by the first network node, a node residence time that is of the first network node and that is in the first topology information comprises: obtaining, by the first network node, load of the first network node; and obtaining, by the first network node, the node residence time of the first network node according to the load and a mapping table, wherein the mapping table comprises a correspondence between the load and the node residence time that are of the first network node. obtaining, by a first network node in the network domain, topology information of a plurality of network nodes comprised by each path between an ingress node and an egress node that are in the network domain, wherein the topology information comprises a physical link delay between two adjacent network nodes in the plurality of network nodes and a node residence time of each of the plurality of network nodes; obtaining, by the first network node, a transmission delay of each path between the ingress node and the egress node according to the topology information, wherein the transmission delay of each path comprises a sum of the physical link delay between the two adjacent network nodes on each path and node residence times of the plurality of network nodes on each path; and determining, by the first network node, a target transmission path between the ingress node and the egress node according to the transmission delay of each path, characterized in that the topology information comprises first topology information, and the obtaining, by a first network node in the network domain, topology information of a plurality of network nodes comprised by each path between an ingress node and an egress node that are in the network domain comprises: obtaining, by the first network node, a first physical link delay in the first topology information, wherein the first physical link delay is a link delay between the first network node and an adjacent first neighboring node; and obtaining, by the first network node, a node residence time that is of the first network node and that is in the first topology information, wherein the obtaining, by the first network node, a node residence time that is of the first network node and that is in the first topology information comprises: obtaining, by the first network node, load of the first network node; and obtaining, by the first network node, the node residence time of the first network node according to the load and a mapping table, wherein the mapping table comprises a correspondence between the load and the node residence time that are of the first network node. obtaining, by the first network node, a first physical link delay in the first topology information, wherein the first physical link delay is a link delay between the first network node and an adjacent first neighboring node; and obtaining, by the first network node, a node residence time that is of the first network node and that is in the first topology information, wherein the obtaining, by the first network node, a node residence time that is of the first network node and that is in the first topology information comprises: obtaining, by the first network node, load of the first network node; and obtaining, by the first network node, the node residence time of the first network node according to the load and a mapping table, wherein the mapping table comprises a correspondence between the load and the node residence time that are of the first network node. obtaining, by the first network node, load of the first network node; and obtaining, by the first network node, the node residence time of the first network node according to the load and a mapping table, wherein the mapping table comprises a correspondence between the load and the node residence time that are of the first network node.