发明名称 |
Method, apparatus, and system for implementing private network traversal |
摘要 |
A method, an apparatus, and a system for implementing private network traversal are disclosed, where a message exchanged between a TURN server in a public network and a communications terminal in a local area network is transmitted through a pre-established websocket connection. The method includes: receiving, by the TURN server, a resource allocate request sent by the communications terminal, allocating a relay address and a resource port for the communications terminal; receiving a TURN data packet sent by the communications terminal, where the TURN data packet includes communication data and a multiplexing identifier, and sending the communication data to the remote node through the communications channel identified by the multiplexing identifier, thereby solving a problem in an existing TURN technology that in case that a firewall only opening an HTTP port is deployed, communication between a communications terminal in a local area network and a remote node cannot be implemented. |
申请公布号 |
US8885649(B2) |
申请公布日期 |
2014.11.11 |
申请号 |
US201314139022 |
申请日期 |
2013.12.23 |
申请人 |
Huawei Technologies Co., Ltd. |
发明人 |
Chen Xin;Yan Qiang |
分类号 |
H04L12/28;H04L29/12 |
主分类号 |
H04L12/28 |
代理机构 |
Leydig, Voit & Mayer, Ltd. |
代理人 |
Leydig, Voit & Mayer, Ltd. |
主权项 |
1. A method for implementing private network traversal, wherein a message exchanged between a traversal using relay network address translation (TURN) server in a public network and a communications terminal in a local area network is transmitted through a pre-established first websocket connection, the method comprising:
receiving, by the TURN server, a resource allocate request sent by the communications terminal, and allocating a relay address and a resource port for the communications terminal, wherein the relay address and the resource port are an IP address and a port of the TURN server; receiving, by the TURN server, a TURN data packet sent by the communications terminal, wherein the TURN data packet comprises communication data and a multiplexing identifier, the multiplexing identifier is used to identify a communications channel between the TURN server and a remote node corresponding to the communication data, which is established by using the relay address and the resource port of the TURN server, and an IP address and a port number of the remote node; and sending, by the TURN server, the communication data to the remote node through the communications channel identified by the multiplexing identifier. |
地址 |
Shenzhen CN |