摘要 |
A routing and forwarding method and device. The technical solution provided by embodiments of the present invention comprises: an agent node receives a request message and determines a next-hop server according to a local domain routing policy; and the agent node forwards the request message to the determined next-hop server, the request message forwarded by the agent node carrying a user number. The technical solution of this application realizes a routing and forwarding scheme on the basis of a response message return code, so that the efficiency of routing to a corresponding destination server in a complex message routing scenario is improved, the workload for static maintenance is reduced to a certain extent, the networking and routing capabilities of a node are enhanced, and the utilization rate of network resources is increased. |