摘要 |
Disclosed are a network address translation traversal method and device. The method comprises: when the network address of one of both communication sides changes, a home-terminal communication side the address of which changes sending updated network address information to an opposite-terminal communication side through an original network address translation (NAT) traversal passage; after receiving the updated network address information, the opposite-terminal communication side sending a detection message to the updated network address of the home-terminal communication side; and after receiving the detection message, the home-terminal communication side setting up a new NAT traversal passage between the home-terminal communication side the network address of which is updated and the opposite-terminal communication side. One device is an opposite-terminal communication device which communicates with a home-terminal communication device the network address of which changes, and is used for sending a detection message to the updated network address of the home-terminal communication device after receiving the updated network address information. The present invention is applied to achieve NAT traversal in the environment in which the network address frequently changes under the condition of not interrupting the existing P2P service. |