[go: up one dir, main page]

CN103414798B - The communication means of address transition Network Based, equipment and system - Google Patents

The communication means of address transition Network Based, equipment and system Download PDF

Info

Publication number
CN103414798B
CN103414798B CN201310329913.3A CN201310329913A CN103414798B CN 103414798 B CN103414798 B CN 103414798B CN 201310329913 A CN201310329913 A CN 201310329913A CN 103414798 B CN103414798 B CN 103414798B
Authority
CN
China
Prior art keywords
mobile terminal
port
address
mark
server
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN201310329913.3A
Other languages
Chinese (zh)
Other versions
CN103414798A (en
Inventor
田新雪
马书惠
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
China United Network Communications Group Co Ltd
Original Assignee
China United Network Communications Group Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by China United Network Communications Group Co Ltd filed Critical China United Network Communications Group Co Ltd
Priority to CN201310329913.3A priority Critical patent/CN103414798B/en
Publication of CN103414798A publication Critical patent/CN103414798A/en
Application granted granted Critical
Publication of CN103414798B publication Critical patent/CN103414798B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Landscapes

  • Data Exchanges In Wide-Area Networks (AREA)
  • Mobile Radio Communication Systems (AREA)

Abstract

本发明提供一种基于网络地址转换的通信方法、设备和系统,其中,该方法包括:通过NAT穿越服务器接收移动终端发送的、包括地址信息、端口标识和会话标识的注册报文后,获取具有相同会话标识和端口标识的第一移动终端和第二移动终端,并存储所述会话标识、所述端口标识、所述第一移动终端的地址信息和所述第二移动终端的地址信息的映射关系,以根据映射关系将第一移动终端或第二移动终端发送的、包括所述会话标识和所述端口标识的通信报文的源地址信息替换为所述端口标识和自身的IP地址,并发送给所述第二移动终端或所述第一移动终端,从而提高了NAT穿越服务器的利用效率,满足了现有通信的需要。

The present invention provides a communication method, device and system based on network address translation, wherein the method includes: after receiving a registration message sent by a mobile terminal through a NAT traversal server, including address information, a port identifier and a session identifier, obtaining the first mobile terminal and the second mobile terminal with the same session ID and port ID, and store the mapping of the session ID, the port ID, the address information of the first mobile terminal and the address information of the second mobile terminal relationship, to replace the source address information of the communication packet sent by the first mobile terminal or the second mobile terminal, including the session identifier and the port identifier, with the port identifier and its own IP address according to the mapping relationship, and It is sent to the second mobile terminal or the first mobile terminal, thereby improving the utilization efficiency of the NAT traversal server and meeting the needs of existing communication.

Description

基于网络地址转换的通信方法、设备和系统Communication method, device and system based on network address translation

技术领域technical field

本发明实施例涉及通信技术领域,尤其涉及一种基于网络地址转换的通信方法、设备和系统。The embodiments of the present invention relate to the technical field of communication, and in particular, to a communication method, device and system based on network address translation.

背景技术Background technique

随着移动互联网的普及,使得大部分移动终端具有了接入互联网的能力。由于公网IP地址的耗尽,因此,移动终端根据由运营商分配的私网IP地址,通过自身所对应的网络地址转换(NetworkAddressTranslation,NAT)设备接入到互联网中,从而导致移动终端并不具有全网寻址能力。因此,当移动终端A和B处于不同的私网里时,由于无法获得对方的公网IP地址,造成A和B之间无法通过IP方式进行通信交互,比如:通过IP通道传输语音、音频、视频等多媒体数据,具有一定的局限性。With the popularity of the mobile Internet, most mobile terminals have the ability to access the Internet. Due to the depletion of public network IP addresses, the mobile terminal accesses the Internet through its own corresponding Network Address Translation (NAT) device according to the private network IP address assigned by the operator, thus causing the mobile terminal not to It has the ability to address the whole network. Therefore, when mobile terminals A and B are in different private networks, because they cannot obtain the public network IP address of the other party, communication and interaction between A and B cannot be performed through IP, such as: transmitting voice, audio, Multimedia data such as video has certain limitations.

因此,为了解决上述问题,NAT穿越服务器将处于空闲状态的第一端口分配给移动终端A和B,用于移动终端A和B之间的通信交互,但是,在移动终端A和B进行通信交互的过程中,并不会全程占用该端口,利用率非常低,不能满足现有的通信需求,现有技术中,NAT穿越服务器在移动终端A和B结束通信交互之前,还将该第一端口分配给其余多对具有通信交互需求的移动终端。Therefore, in order to solve the above problem, the NAT traversal server assigns the first port in the idle state to mobile terminals A and B for communication interaction between mobile terminals A and B, however, communication interaction between mobile terminals A and B During the process, the port will not be occupied throughout the process, and the utilization rate is very low, which cannot meet the existing communication needs. In the prior art, the NAT traversal server also restores the first port before the communication interaction between mobile terminals A and B ends. It is allocated to the remaining pairs of mobile terminals with communication interaction requirements.

但是,现有技术中是将第一端口分配给多对不同的移动终端进行通信比如移动终端A和B、移动终端C和D,而针对将第一端口分配给同一移动终端分别与其它移动终端进行通信时,比如移动终端A和B、移动终端A和D之间的通信交互,NAT穿越服务器如何进行转换处理,亟需一种对应的处理方法以进一步地提高NAT穿越服务器的利用效率。However, in the prior art, the first port is assigned to many pairs of different mobile terminals for communication such as mobile terminals A and B, mobile terminals C and D, and for assigning the first port to the same mobile terminal to communicate with other mobile terminals respectively During communication, such as the communication interaction between mobile terminals A and B, mobile terminals A and D, how the NAT traversal server performs conversion processing, there is an urgent need for a corresponding processing method to further improve the utilization efficiency of the NAT traversal server.

发明内容Contents of the invention

针对现有技术的上述缺陷,本发明实施例提供一种基于网络地址转换的通信方法、设备和系统。In view of the above-mentioned defects in the prior art, embodiments of the present invention provide a communication method, device and system based on network address translation.

本发明一方面提供一种基于网络地址转换的通信方法,包括:One aspect of the present invention provides a communication method based on network address translation, including:

网络地址转换NAT穿越服务器接收移动终端发送的注册报文,所述注册报文包括地址信息、端口标识和会话标识;The network address translation NAT traversal server receives the registration message sent by the mobile terminal, and the registration message includes address information, port identification and session identification;

所述NAT穿越服务器获取具有相同会话标识和端口标识的第一移动终端和第二移动终端,并存储所述会话标识、所述端口标识、所述第一移动终端的地址信息和所述第二移动终端的地址信息的映射关系,以根据所述映射关系将所述第一移动终端或所述第二移动终端发送的、包括所述会话标识和所述端口标识的通信报文的源地址信息替换为所述端口标识和自身的IP地址,并发送给所述第二移动终端或所述第一移动终端。The NAT traversal server obtains the first mobile terminal and the second mobile terminal having the same session ID and port ID, and stores the session ID, the port ID, the address information of the first mobile terminal, and the second mobile terminal The mapping relationship of the address information of the mobile terminal, according to the mapping relationship, the source address information of the communication message sent by the first mobile terminal or the second mobile terminal and including the session identifier and the port identifier Replace it with the port identifier and its own IP address, and send it to the second mobile terminal or the first mobile terminal.

本发明另一方面提供一种基于网络地址转换的通信方法,包括:Another aspect of the present invention provides a communication method based on network address translation, including:

第一移动终端获取与第二移动终端进行通信交互所占用的网络地址转换NAT穿越服务器的IP地址和端口标识,以及与所述通信交互对应的会话标识;The first mobile terminal obtains the IP address and port identifier of the network address translation NAT traversal server occupied by the communication interaction with the second mobile terminal, and the session identifier corresponding to the communication interaction;

所述第一移动终端向与所述IP地址对应的NAT穿越服务器发送注册报文,所述注册报文包括自身的地址信息、所述端口标识和所述会话标识,以便所述NAT穿越服务器根据所述第二移动终端发送的、包括所述端口标识、所述会话标识和所述第二移动终端的地址信息的注册报文,存储所述会话标识、所述端口标识、所述第一移动终端的地址信息和所述第二移动终端的地址信息的映射关系,并根据所述映射关系将所述第一移动终端或所述第二移动终端发送的、包括所述会话标识和所述端口标识的通信报文的源地址信息替换为所述端口标识和所述IP地址,并发送给所述第二移动终端或所述第一移动终端。The first mobile terminal sends a registration message to the NAT traversal server corresponding to the IP address, and the registration message includes its own address information, the port identifier and the session identifier, so that the NAT traversal server according to The registration message sent by the second mobile terminal, including the port identifier, the session identifier and the address information of the second mobile terminal, stores the session identifier, the port identifier, the first mobile The mapping relationship between the address information of the terminal and the address information of the second mobile terminal, and according to the mapping relationship, the information sent by the first mobile terminal or the second mobile terminal, including the session identifier and the port The source address information of the identified communication message is replaced with the port identifier and the IP address, and sent to the second mobile terminal or the first mobile terminal.

本发明又一方面提供一种网络地址转换穿越服务器,包括:Another aspect of the present invention provides a network address translation traversal server, including:

接收模块,用于接收移动终端发送的注册报文,所述注册报文包括地址信息、端口标识和会话标识;A receiving module, configured to receive a registration message sent by a mobile terminal, where the registration message includes address information, a port identifier and a session identifier;

处理模块,用于获取具有相同会话标识和端口标识的第一移动终端和第二移动终端,并存储所述会话标识、所述端口标识、所述第一移动终端的地址信息和所述第二移动终端的地址信息的映射关系,以根据所述映射关系将所述第一移动终端或所述第二移动终端发送的、包括所述会话标识和所述端口标识的通信报文的源地址信息替换为所述端口标识和自身的IP地址,并发送给所述第二移动终端或所述第一移动终端。A processing module, configured to obtain a first mobile terminal and a second mobile terminal having the same session ID and port ID, and store the session ID, the port ID, the address information of the first mobile terminal, and the second mobile terminal The mapping relationship of the address information of the mobile terminal, according to the mapping relationship, the source address information of the communication message sent by the first mobile terminal or the second mobile terminal and including the session identifier and the port identifier Replace it with the port identifier and its own IP address, and send it to the second mobile terminal or the first mobile terminal.

本发明再一方面提供一种移动终端,包括:Another aspect of the present invention provides a mobile terminal, including:

获取模块,用于获取与第二移动终端进行通信交互所占用的网络地址转换NAT穿越服务器的IP地址和端口标识,以及与所述通信交互对应的会话标识;An acquisition module, configured to acquire the IP address and port identifier of the NAT traversal server occupied by the communication interaction with the second mobile terminal, and the session identifier corresponding to the communication interaction;

注册模块,用于向与所述IP地址对应的NAT穿越服务器发送注册报文,所述注册报文包括自身的地址信息、所述端口标识和所述会话标识,以便所述NAT穿越服务器根据所述第二移动终端发送的、包括所述端口标识、所述会话标识和所述第二移动终端的地址信息的注册报文,存储所述会话标识、所述端口标识、所述第一移动终端的地址信息和所述第二移动终端的地址信息的映射关系,并根据所述映射关系将所述第一移动终端或所述第二移动终端发送的、包括所述会话标识和所述端口标识的通信报文的源地址信息替换为所述端口标识和所述IP地址,并发送给所述第二移动终端或所述第一移动终端。A registration module, configured to send a registration message to the NAT traversal server corresponding to the IP address, the registration message including its own address information, the port identifier and the session identifier, so that the NAT traversal server can A registration message sent by the second mobile terminal that includes the port identifier, the session identifier, and address information of the second mobile terminal, and stores the session identifier, the port identifier, and the first mobile terminal The mapping relationship between the address information of the second mobile terminal and the address information of the second mobile terminal, and according to the mapping relationship, send the first mobile terminal or the second mobile terminal, including the session identifier and the port identifier The source address information of the communication message is replaced by the port identifier and the IP address, and sent to the second mobile terminal or the first mobile terminal.

本发明另一方面提供一种基于网络地址转换的通信系统,包括:上述的网络地址转换穿越服务器、第一移动终端和第二移动终端,其中,所述第一移动终端为上述的移动终端。Another aspect of the present invention provides a communication system based on network address translation, including: the above-mentioned network address translation traversal server, a first mobile terminal and a second mobile terminal, wherein the first mobile terminal is the above-mentioned mobile terminal.

本发明又一方面提供一种基于网络地址转换的通信系统,包括:上述的网络地址转换穿越服务器,以及会话初始协议SIP服务器、归属于所述SIP服务器的第一移动终端和第二移动终端,其中,所述第一移动终端为权利要求上述的移动终端。Another aspect of the present invention provides a communication system based on network address translation, including: the above-mentioned network address translation traversal server, a session initiation protocol SIP server, a first mobile terminal and a second mobile terminal belonging to the SIP server, Wherein, the first mobile terminal is the mobile terminal described in the claims.

本发明实施例提供的基于网络地址转换的通信方法、设备和系统,通过NAT穿越服务器接收移动终端发送的、包括地址信息、端口标识和会话标识的注册报文后,获取具有相同会话标识和端口标识的第一移动终端和第二移动终端,并存储所述会话标识、所述端口标识、所述第一移动终端的地址信息和所述第二移动终端的地址信息的映射关系,以根据映射关系将第一移动终端或第二移动终端发送的、包括所述会话标识和所述端口标识的通信报文的源地址信息替换为所述端口标识和自身的IP地址,并发送给所述第二移动终端或所述第一移动终端,从而提高了NAT穿越服务器的利用效率,满足了现有通信的需要。According to the communication method, device and system based on network address translation provided by the embodiments of the present invention, after receiving the registration message sent by the mobile terminal through the NAT traversal server, including address information, port identification and session identification, the registration message with the same session identification and port identification is obtained. identify the first mobile terminal and the second mobile terminal, and store the mapping relationship between the session identifier, the port identifier, the address information of the first mobile terminal, and the address information of the second mobile terminal, so that according to the mapping The relationship is to replace the source address information of the communication packet sent by the first mobile terminal or the second mobile terminal, including the session identifier and the port identifier, with the port identifier and its own IP address, and send it to the second mobile terminal. The second mobile terminal or the first mobile terminal, thereby improving the utilization efficiency of the NAT traversal server and meeting the needs of existing communication.

附图说明Description of drawings

图1为本发明实施例提供的一个基于网络地址转换的通信方法的流程图;FIG. 1 is a flowchart of a communication method based on network address translation provided by an embodiment of the present invention;

图2为本发明实施例提供的另一个基于网络地址转换的通信方法的流程图;FIG. 2 is a flowchart of another communication method based on network address translation provided by an embodiment of the present invention;

图3为本发明实施例提供的一个网络地址转换穿越服务器的结构示意图;FIG. 3 is a schematic structural diagram of a network address translation traversal server provided by an embodiment of the present invention;

图4为本发明实施例提供的一个移动终端的结构示意图;FIG. 4 is a schematic structural diagram of a mobile terminal provided by an embodiment of the present invention;

图5为本发明实施例提供的一个基于网络地址转换的通信系统的结构示意图;FIG. 5 is a schematic structural diagram of a communication system based on network address translation provided by an embodiment of the present invention;

图6为本发明实施例提供的另一个基于网络地址转换的通信系统的结构示意图。FIG. 6 is a schematic structural diagram of another communication system based on network address translation provided by an embodiment of the present invention.

具体实施方式detailed description

图1为本发明实施例提供的一个基于网络地址转换的通信方法的流程图,如图1所示,该方法包括:Fig. 1 is a flowchart of a communication method based on network address translation provided by an embodiment of the present invention. As shown in Fig. 1, the method includes:

步骤100,网络地址转换NAT穿越服务器接收移动终端发送的注册报文,所述注册报文包括地址信息、端口标识和会话标识;Step 100, the network address translation NAT traversal server receives the registration message sent by the mobile terminal, and the registration message includes address information, port identification and session identification;

当处于不同私网下的两个移动终端进行IP通信时,首先协商出两个移动终端所进行通信交互占用的NAT穿越服务器的IP地址和该NAT穿越服务器上端口的端口标识,并获取与该通信交互对应的会话标识,然后每个移动终端向NAT穿越服务器发送注册报文,该注册报文包括移动终端的地址信息、端口标识和会话标识。其中,移动终端的地址信息是指移动终端的IP地址,需要说明的是,两个移动终端协商进行通信交互占用的NAT穿越服务器的IP地址和端口标识,并获取与该通信交互对应的会话标识的方式很多,举例说明如下:When two mobile terminals under different private networks perform IP communication, first negotiate the IP address of the NAT traversal server occupied by the two mobile terminals for communication interaction and the port identifier of the port on the NAT traversal server, and obtain the IP address of the port on the NAT traversal server. The corresponding session identification is communicated and exchanged, and then each mobile terminal sends a registration message to the NAT traversal server, and the registration message includes the address information, port identification and session identification of the mobile terminal. Wherein, the address information of the mobile terminal refers to the IP address of the mobile terminal. It should be noted that the IP address and port identifier of the NAT traversal server occupied by the two mobile terminals for communication interaction are negotiated, and the session identifier corresponding to the communication interaction is obtained. There are many ways, examples are as follows:

方式一,一方移动终端通过自身所在的NAT网关与NAT穿越服务器协商好空闲端口后,将该NAT穿越服务器的IP地址和与空闲端口对应的端口标识通过移动交换网通知与其进行通信交互的另一移动终端,当确认另一移动终端接收到该NAT穿越服务器的IP地址和端口标识后,生成与该通信交互对应的会话标识并通过移动交换网发送给另一移动终端。方式二,SIP服务器与NAT穿越服务器协商好空闲端口后,将该NAT穿越服务器的IP地址和与空闲端口对应的端口标识通过SIP报文通知进行通信交互的移动终端,当确认移动终端接收到该NAT穿越服务器的IP地址和端口标识后,生成与该通信交互对应的会话标识并通过SIP报文发送给移动终端。Method 1: After negotiating an idle port with the NAT traversal server through the NAT gateway where it is located, one mobile terminal notifies the other party that communicates and interacts with it through the mobile switching network of the IP address of the NAT traversal server and the port identifier corresponding to the idle port. The mobile terminal, after confirming that another mobile terminal has received the IP address and port identifier of the NAT traversal server, generates a session identifier corresponding to the communication interaction and sends it to another mobile terminal through the mobile switching network. Method 2: After the SIP server and the NAT traversal server have negotiated an idle port, the IP address of the NAT traversal server and the port identifier corresponding to the idle port are notified to the mobile terminal for communication and interaction through a SIP message. After NAT traversing the IP address and port identifier of the server, a session identifier corresponding to the communication interaction is generated and sent to the mobile terminal through a SIP message.

步骤101,所述NAT穿越服务器获取具有相同会话标识和端口标识的第一移动终端和第二移动终端,并存储所述会话标识、所述端口标识、所述第一移动终端的地址信息和所述第二移动终端的地址信息的映射关系,以根据所述映射关系将所述第一移动终端或所述第二移动终端发送的、包括所述会话标识和所述端口标识的通信报文的源地址信息替换为所述端口标识和自身的IP地址,并发送给所述第二移动终端或所述第一移动终端。Step 101, the NAT traversal server obtains the first mobile terminal and the second mobile terminal having the same session ID and port ID, and stores the session ID, the port ID, the address information of the first mobile terminal and the The mapping relationship of the address information of the second mobile terminal, so that according to the mapping relationship, the communication message sent by the first mobile terminal or the second mobile terminal and including the session identifier and the port identifier The source address information is replaced with the port identifier and its own IP address, and sent to the second mobile terminal or the first mobile terminal.

NAT穿越服务器对接收到的注册报文进行解析获取移动终端的地址信息、端口标识和会话标识,然后比较各个注册报文中的端口标识和会话标识,从而获取具有相同会话标识和端口标识的第一移动终端和第二移动终端,并存储该会话标识、该端口标识、第一移动终端和第二移动终端的地址信息的映射关系,进而根据该映射关系对第一移动终端或第二移动终端发送的通信报文进行转发处理,以此来完成通信的过程。具体为:当NAT穿越服务器接收到第一移动终端或第二移动终端发送的、包括会话标识和端口标识的通信报文后,通过与该端口标识对应的端口接收该通信报文,并根据映射关系获取与所述会话标识和所述端口标识对应的、进行通信交互两方的地址信息即第一移动终端和第二移动终端的地址信息,然后将第一移动终端或第二移动终端的源地址信息替换为所述端口标识和NAT穿越服务器自身的IP地址,并将处理后的通信报文根据接收该通信报文的地址信息发送给第二移动终端或第一移动终端。The NAT traversal server analyzes the received registration message to obtain the address information, port ID and session ID of the mobile terminal, and then compares the port ID and session ID in each registration message to obtain the first mobile terminal with the same session ID and port ID. A mobile terminal and a second mobile terminal, and store the mapping relationship between the session identifier, the port identifier, the address information of the first mobile terminal and the second mobile terminal, and then according to the mapping relationship, the first mobile terminal or the second mobile terminal The sent communication message is forwarded, so as to complete the communication process. Specifically: when the NAT traversal server receives the communication message sent by the first mobile terminal or the second mobile terminal, including the session identifier and the port identifier, it receives the communication message through the port corresponding to the port identifier, and according to the mapping The relationship obtains the address information corresponding to the session identifier and the port identifier, and the address information of the two parties performing communication interaction, that is, the address information of the first mobile terminal and the second mobile terminal, and then the source of the first mobile terminal or the second mobile terminal The address information is replaced with the port identifier and the IP address of the NAT traversal server itself, and the processed communication message is sent to the second mobile terminal or the first mobile terminal according to the address information of the received communication message.

本实施例提供的基于网络地址转换的通信方法,通过NAT穿越服务器接收移动终端发送的、包括地址信息、端口标识和会话标识的注册报文后,获取具有相同会话标识和端口标识的第一移动终端和第二移动终端,并存储所述会话标识、所述端口标识、所述第一移动终端的地址信息和所述第二移动终端的地址信息的映射关系,以根据映射关系将第一移动终端或第二移动终端发送的、包括所述会话标识和所述端口标识的通信报文的源地址信息替换为所述端口标识和自身的IP地址,并发送给所述第二移动终端或所述第一移动终端,从而提高了NAT穿越服务器的利用效率,满足了现有通信的需要。In the communication method based on network address translation provided in this embodiment, after receiving the registration message sent by the mobile terminal through the NAT traversal server, including address information, port identification and session identification, the first mobile terminal with the same session identification and port identification is obtained. terminal and a second mobile terminal, and store the mapping relationship between the session identifier, the port identifier, the address information of the first mobile terminal and the address information of the second mobile terminal, so as to move the first mobile terminal according to the mapping relationship The source address information of the communication packet sent by the terminal or the second mobile terminal, including the session identifier and the port identifier, is replaced with the port identifier and its own IP address, and sent to the second mobile terminal or the port identifier. The first mobile terminal described above improves the utilization efficiency of the NAT traversal server and meets the needs of existing communication.

图2为本发明实施例提供的另一个基于网络地址转换的通信方法的流程图,如图2所示,该方法包括:Fig. 2 is a flowchart of another communication method based on network address translation provided by an embodiment of the present invention. As shown in Fig. 2, the method includes:

步骤200,第一移动终端获取与第二移动终端进行通信交互所占用的网络地址转换NAT穿越服务器的IP地址和端口标识,以及与所述通信交互对应的会话标识;Step 200, the first mobile terminal acquires the IP address and port identifier of the Network Address Translation NAT traversal server occupied by the communication interaction with the second mobile terminal, and the session identifier corresponding to the communication interaction;

当第一移动终端需要与自身处于不同私网下的第二移动终端进行IP通信时,第一移动终端首先需要获取与第二移动终端进行通信交互所占用的网络地址转换NAT穿越服务器的IP地址和端口标识,以及与所述通信交互对应的会话标识,其中,需要说明的是,第一移动终端获取该NAT穿越服务器的IP地址和端口标识,并获取与该通信交互对应的会话标识的方式很多,举例说明如下:When a first mobile terminal needs to perform IP communication with a second mobile terminal that is in a different private network, the first mobile terminal first needs to obtain the IP address of the NAT traversal server used for communication and interaction with the second mobile terminal and a port identifier, and a session identifier corresponding to the communication interaction, where it should be noted that the first mobile terminal obtains the IP address and port identifier of the NAT traversal server, and obtains the session identifier corresponding to the communication interaction Many, as illustrated below:

方式一,第二移动终端通过自身所在的NAT网关与NAT穿越服务器协商好空闲端口后,将该NAT穿越服务器的IP地址和与空闲端口对应的端口标识通过移动交换网发送给第一移动终端,当接收到第一移动终端接收到该NAT穿越服务器的IP地址和端口标识返回的确认响应后,生成与该通信交互对应的会话标识并通过移动交换网发送给第一移动终端。方式二,SIP服务器与NAT穿越服务器协商好空闲端口后,将该NAT穿越服务器的IP地址和与空闲端口对应的端口标识通过SIP报文通知进行通信交互的第一移动终端和第二移动终端,然后SIP服务器生成与该通信交互对应的会话标识,当SIP服务器接收到第一移动终端或第二移动终端接收到该NAT穿越服务器的IP地址和端口标识返回的确认响应后,SIP服务器便将会话标识通过SIP报文发送给发送确认响应的移动终端。Mode 1, after the second mobile terminal negotiates an idle port with the NAT traversal server through its own NAT gateway, the IP address of the NAT traversal server and the port identifier corresponding to the idle port are sent to the first mobile terminal through the mobile switching network, After receiving the confirmation response returned by the first mobile terminal receiving the IP address and port identifier of the NAT traversal server, generate a session identifier corresponding to the communication interaction and send it to the first mobile terminal through the mobile switching network. Mode 2: After the SIP server and the NAT traversal server have negotiated an idle port, the IP address of the NAT traversal server and the port identifier corresponding to the idle port are notified by a SIP message to the first mobile terminal and the second mobile terminal for communication interaction, Then the SIP server generates a session identifier corresponding to the communication interaction. When the SIP server receives the first mobile terminal or the second mobile terminal receives the confirmation response returned by the NAT traversal server's IP address and port identifier, the SIP server sends the session The identifier is sent to the mobile terminal sending the confirmation response through the SIP message.

步骤201,所述第一移动终端向与所述IP地址对应的NAT穿越服务器发送注册报文,所述注册报文包括自身的地址信息、所述端口标识和所述会话标识,以便所述NAT穿越服务器在接收所述第二移动终端发送的、包括所述端口标识、所述会话标识和所述第二移动终端的地址信息的注册报文后,根据所述第一移动终端和所述第二移动终端发送的注册报文存储所述会话标识、所述端口标识、所述第一移动终端的地址信息和所述第二移动终端的地址信息的映射关系,并根据所述映射关系将所述第一移动终端或所述第二移动终端发送的、包括所述会话标识和所述端口标识的通信报文的源地址信息替换为所述端口标识和所述IP地址,并发送给所述第二移动终端或所述第一移动终端。Step 201, the first mobile terminal sends a registration message to the NAT traversal server corresponding to the IP address, the registration message includes its own address information, the port identifier and the session identifier, so that the NAT After receiving the registration message sent by the second mobile terminal and including the port identifier, the session identifier and the address information of the second mobile terminal, the traversal server, according to the first mobile terminal and the second mobile terminal, The registration message sent by the second mobile terminal stores the mapping relationship between the session identifier, the port identifier, the address information of the first mobile terminal, and the address information of the second mobile terminal, and stores the mapping relationship according to the mapping relationship The source address information of the communication packet sent by the first mobile terminal or the second mobile terminal and including the session identifier and the port identifier is replaced by the port identifier and the IP address, and sent to the The second mobile terminal or the first mobile terminal.

第一移动终端在获取与第二移动终端进行通信交互所占用的NAT穿越服务器的IP地址和端口标识,以及与所述通信交互对应的会话标识后,向与该IP地址对应的NAT穿越服务器发送注册报文,所述注册报文包括自身的地址信息、所述端口标识和所述会话标识,从而NAT穿越服务器对接收到的注册报文进行解析获取第一移动终端的地址信息、端口标识和会话标识,当NAT穿越服务器接收到第二移动终端发送的注册报文后,可以得知第二移动终端发送的注册报文中的会话标识和端口标识与第一移动终端发送的注册报文中的会话标识和端口标识相同,并存储该会话标识、该端口标识、第一移动终端和第二移动终端的地址信息的映射关系,进而根据该映射关系对第一移动终端或第二移动终端发送的通信报文进行转发处理,以此来完成通信的过程。具体为:当NAT穿越服务器接收到第一移动终端或第二移动终端发送的、包括会话标识和端口标识的通信报文后,通过与该端口标识对应的端口接收该通信报文,并根据映射关系获取与所述会话标识和所述端口标识对应的、进行通信交互两方的地址信息即第一移动终端和第二移动终端的地址信息,然后将第一移动终端或第二移动终端的源地址信息替换为所述端口标识和NAT穿越服务器自身的IP地址,并将处理后的通信报文根据接收该通信报文的地址信息发送给第二移动终端或第一移动终端。After the first mobile terminal obtains the IP address and port identifier of the NAT traversal server occupied by the communication interaction with the second mobile terminal, and the session identifier corresponding to the communication interaction, it sends a message to the NAT traversal server corresponding to the IP address. A registration message, the registration message includes its own address information, the port identifier and the session identifier, so that the NAT traversal server parses the received registration message to obtain the address information, the port identifier and the first mobile terminal Session ID, when the NAT traversal server receives the registration message sent by the second mobile terminal, it can learn that the session ID and port ID in the registration message sent by the second mobile terminal are the same as those in the registration message sent by the first mobile terminal. The session identifier and port identifier are the same, and store the mapping relationship between the session identifier, the port identifier, the address information of the first mobile terminal and the second mobile terminal, and then send the first mobile terminal or the second mobile terminal according to the mapping relationship The communication message is forwarded and processed to complete the communication process. Specifically: when the NAT traversal server receives the communication message sent by the first mobile terminal or the second mobile terminal, including the session identifier and the port identifier, it receives the communication message through the port corresponding to the port identifier, and according to the mapping The relationship obtains the address information corresponding to the session identifier and the port identifier, the address information of the two parties performing communication interaction, that is, the address information of the first mobile terminal and the second mobile terminal, and then the source of the first mobile terminal or the second mobile terminal The address information is replaced with the port identifier and the IP address of the NAT traversal server itself, and the processed communication message is sent to the second mobile terminal or the first mobile terminal according to the address information of the received communication message.

本实施例提供的基于网络地址转换的通信方法,通过第一移动终端获取与第二移动终端进行通信交互所占用的网络地址转换NAT穿越服务器的IP地址和端口标识,以及与所述通信交互对应的会话标识后,向与该IP地址对应的NAT穿越服务器发送包括自身的地址信息、端口标识和会话标识的注册报文,以便NAT穿越服务器在接收第二移动终端发送的、包括所述端口标识、所述会话标识和所述第二移动终端的地址信息的注册报文后,根据所述第一移动终端和所述第二移动终端发送的注册报文存储所述会话标识、所述端口标识、所述第一移动终端的地址信息和所述第二移动终端的地址信息的映射关系,并根据所述映射关系将所述第一移动终端或所述第二移动终端发送的、包括所述会话标识和所述端口标识的通信报文的源地址信息替换为所述端口标识和所述IP地址,并发送给所述第二移动终端或所述第一移动终端。从而提高了NAT穿越服务器的利用效率,满足了现有通信的需要。In the communication method based on network address translation provided in this embodiment, the first mobile terminal acquires the IP address and port identifier of the network address translation NAT traversal server occupied by the communication interaction with the second mobile terminal, and corresponds to the communication interaction After the session identification of the IP address, send a registration message including its own address information, port identification and session identification to the NAT traversal server corresponding to the IP address, so that the NAT traversal server will receive the second mobile terminal after receiving the registration message including the port identification. , the session identifier and the registration message of the address information of the second mobile terminal, store the session identifier and the port identifier according to the registration messages sent by the first mobile terminal and the second mobile terminal , the mapping relationship between the address information of the first mobile terminal and the address information of the second mobile terminal, and according to the mapping relationship, the information sent by the first mobile terminal or the second mobile terminal, including the The source address information of the communication packet of the session identifier and the port identifier is replaced with the port identifier and the IP address, and sent to the second mobile terminal or the first mobile terminal. Therefore, the utilization efficiency of the NAT traversal server is improved, and the needs of existing communication are met.

本领域普通技术人员可以理解:实现上述方法实施例的全部或部分步骤可以通过程序指令相关的硬件来完成,前述的程序可以存储于一计算机可读取存储介质中,该程序在执行时,执行包括上述方法实施例的步骤;而前述的存储介质包括:ROM、RAM、磁碟或者光盘等各种可以存储程序代码的介质。Those of ordinary skill in the art can understand that all or part of the steps for realizing the above-mentioned method embodiments can be completed by hardware related to program instructions, and the aforementioned program can be stored in a computer-readable storage medium. When the program is executed, the It includes the steps of the above method embodiments; and the aforementioned storage medium includes: ROM, RAM, magnetic disk or optical disk and other various media that can store program codes.

图3为本发明实施例提供的一个网络地址转换穿越服务器的结构示意图,如图3所示,该网络地址转换穿越服务器包括:接收模块11和处理模块12,其中,接收模块11用于接收移动终端发送的注册报文,所述注册报文包括地址信息、端口标识和会话标识;处理模块12用于获取具有相同会话标识和端口标识的第一移动终端和第二移动终端,并存储所述会话标识、所述端口标识、所述第一移动终端的地址信息和所述第二移动终端的地址信息的映射关系,以根据所述映射关系将所述第一移动终端或所述第二移动终端发送的、包括所述会话标识和所述端口标识的通信报文的源地址信息替换为所述端口标识和自身的IP地址,并发送给所述第二移动终端或所述第一移动终端。FIG. 3 is a schematic structural diagram of a NAT traversal server provided by an embodiment of the present invention. As shown in FIG. 3 , the NAT traversal server includes: a receiving module 11 and a processing module 12, wherein the receiving module 11 is used to receive The registration message sent by the terminal, the registration message includes address information, port identification and session identification; processing module 12 is used to acquire the first mobile terminal and the second mobile terminal with the same session identification and port identification, and store the A mapping relationship between the session identifier, the port identifier, the address information of the first mobile terminal, and the address information of the second mobile terminal, so that the first mobile terminal or the second mobile terminal can be connected according to the mapping relationship The source address information of the communication message sent by the terminal, including the session identifier and the port identifier, is replaced with the port identifier and its own IP address, and sent to the second mobile terminal or the first mobile terminal .

本实施例提供的网络地址转换穿越服务器中各模块的功能和处理流程,可以参见上述图1所示的方法实施例,其实现原理和技术效果类似,此处不再赘述。For the functions and processing flow of each module in the NAT traversal server provided by this embodiment, refer to the method embodiment shown in FIG. 1 above. The implementation principles and technical effects are similar and will not be repeated here.

图4为本发明实施例提供的一个移动终端的结构示意图,如图4所示,该移动终端包括:获取模块21和注册模块22,其中,获取模块21用于获取与第二移动终端进行通信交互所占用的网络地址转换NAT穿越服务器的IP地址和端口标识,以及与所述通信交互对应的会话标识;注册模块22用于向与所述IP地址对应的NAT穿越服务器发送注册报文,所述注册报文包括自身的地址信息、所述端口标识和所述会话标识,以便所述NAT穿越服务器根据所述第二移动终端发送的、包括所述端口标识、所述会话标识和所述第二移动终端的地址信息的注册报文,存储所述会话标识、所述端口标识、所述第一移动终端的地址信息和所述第二移动终端的地址信息的映射关系,并根据所述映射关系将所述第一移动终端或所述第二移动终端发送的、包括所述会话标识和所述端口标识的通信报文的源地址信息替换为所述端口标识和所述IP地址,并发送给所述第二移动终端或所述第一移动终端。FIG. 4 is a schematic structural diagram of a mobile terminal provided by an embodiment of the present invention. As shown in FIG. 4 , the mobile terminal includes: an acquisition module 21 and a registration module 22, wherein the acquisition module 21 is used to acquire and communicate with a second mobile terminal. The IP address and port identifier of the network address translation NAT traversal server occupied by the interaction, and the session identifier corresponding to the communication interaction; the registration module 22 is used to send a registration message to the NAT traversal server corresponding to the IP address, so The registration message includes its own address information, the port identifier and the session identifier, so that the NAT traversal server sends the second mobile terminal according to the port identifier, the session identifier and the second A registration message of the address information of the second mobile terminal, storing the mapping relationship between the session identifier, the port identifier, the address information of the first mobile terminal and the address information of the second mobile terminal, and according to the mapping The relationship is to replace the source address information of the communication packet sent by the first mobile terminal or the second mobile terminal and including the session identifier and the port identifier with the port identifier and the IP address, and send to the second mobile terminal or the first mobile terminal.

其中,获取模块21获取与第二移动终端进行通信交互所占用的网络地址转换NAT穿越服务器的IP地址和端口标识,以及与所述通信交互对应的会话标识的方式很多,举例说明如下:Wherein, the acquisition module 21 acquires the IP address and the port identifier of the network address translation NAT traversal server occupied by the communication interaction with the second mobile terminal, and there are many ways of the session identification corresponding to the communication interaction, examples are as follows:

方式一,获取模块21具体用于:Way 1, the acquiring module 21 is specifically used for:

接收所述第二移动终端通过移动交换网发送的所述NAT穿越服务器的IP地址和所述端口标识,并向所述第二移动终端返回确认响应;receiving the IP address of the NAT traversal server and the port identifier sent by the second mobile terminal through the mobile switching network, and returning a confirmation response to the second mobile terminal;

接收所述第二移动终端通过移动交换网发送的所述会话标识,其中,所述会话标识是所述第二移动终端接收所述确认响应后生成的。receiving the session identifier sent by the second mobile terminal through the mobile switching network, wherein the session identifier is generated after the second mobile terminal receives the confirmation response.

方式二,获取模块21具体用于:Method 2, the acquisition module 21 is specifically used for:

接收会话初始协议SIP服务器通过SIP报文发送的所述NAT穿越服务器的IP地址和所述端口标识,并向所述SIP服务器返回确认响应;receiving the IP address of the NAT traversal server and the port identifier sent by the SIP server through the SIP message, and returning an acknowledgment response to the SIP server;

接收所述SIP服务器通过SIP报文发送的所述会话标识,其中,所述会话标识是所述SIP服务器接收所述确认响应后生成的。receiving the session identifier sent by the SIP server through a SIP message, wherein the session identifier is generated by the SIP server after receiving the confirmation response.

本实施例提供的移动终端中各模块的功能和处理流程,可以参见上述图2所示的方法实施例,其实现原理和技术效果类似,此处不再赘述。For the functions and processing flow of each module in the mobile terminal provided in this embodiment, refer to the method embodiment shown in FIG. 2 above. The implementation principles and technical effects are similar, and will not be repeated here.

图5为本发明实施例提供的一个基于网络地址转换的通信系统的结构示意图,如图5所示,该系统包括:网络地址转换穿越服务器1、第一移动终端2和第二移动终端3,其中,网络地址转换穿越服务器1为本发明实施例提供的网络地址转换穿越服务器,第一移动终端2接收第二移动终端3通过移动交换网发送的与第二移动终端进行通信交互所占用的网络地址转换NAT穿越服务器的IP地址和端口标识,以及与所述通信交互对应的会话标识。FIG. 5 is a schematic structural diagram of a network address translation-based communication system provided by an embodiment of the present invention. As shown in FIG. 5 , the system includes: a network address translation traversal server 1, a first mobile terminal 2 and a second mobile terminal 3, Among them, the NAT traversal server 1 is the NAT traversal server provided by the embodiment of the present invention, and the first mobile terminal 2 receives the network address occupied by the second mobile terminal 3 for communication and interaction with the second mobile terminal sent by the second mobile terminal 3 through the mobile switching network. The address translation NAT traverses the server's IP address and port identifier, and the session identifier corresponding to the communication interaction.

本实施例提供的基于网络地址转换的通信系统中各模块的功能和处理流程,可以参见上述所示的方法实施例,其实现原理和技术效果类似,此处不再赘述。For the functions and processing flow of each module in the network address translation-based communication system provided by this embodiment, refer to the above-mentioned method embodiment. The implementation principles and technical effects are similar, and will not be repeated here.

图6为本发明实施例提供的另一个基于网络地址转换的通信系统的结构示意图,如图6所示,该系统包括:网络地址转换穿越服务器4、会话初始协议SIP服务器5、归属于所述SIP服务器5的第一移动终端6和第二移动终端7,其中,网络地址转换穿越服务器4为本发明实施例提供的网络地址转换穿越服务器,第一移动终端6和第二移动终端7接收SIP服务器5通过SIP报文发送的第一移动终端6与第二移动终端7进行通信交互所占用的网络地址转换NAT穿越服务器的IP地址和端口标识,以及与所述通信交互对应的会话标识。Fig. 6 is a schematic structural diagram of another communication system based on network address translation provided by an embodiment of the present invention. As shown in Fig. 6, the system includes: a network address translation traversal server 4, a session initiation protocol SIP server 5, belonging to the The first mobile terminal 6 and the second mobile terminal 7 of the SIP server 5, wherein the NAT traversal server 4 is the NAT traversal server provided by the embodiment of the present invention, and the first mobile terminal 6 and the second mobile terminal 7 receive SIP The server 5 transmits the IP address and port identifier of the NAT traversal server occupied by the first mobile terminal 6 and the second mobile terminal 7 for the communication interaction between the first mobile terminal 6 and the second mobile terminal 7 through the SIP message, and the session identifier corresponding to the communication interaction.

本实施例提供的基于网络地址转换的通信系统中各模块的功能和处理流程,可以参见上述所示的方法实施例,其实现原理和技术效果类似,此处不再赘述。For the functions and processing flow of each module in the network address translation-based communication system provided by this embodiment, refer to the above-mentioned method embodiment. The implementation principles and technical effects are similar, and will not be repeated here.

最后应说明的是:以上实施例仅用以说明本发明的技术方案,而非对其限制;尽管参照前述实施例对本发明进行了详细的说明,本领域的普通技术人员应当理解:其依然可以对前述各实施例所记载的技术方案进行修改,或者对其中部分技术特征进行等同替换;而这些修改或者替换,并不使相应技术方案的本质脱离本发明各实施例技术方案的精神和范围。Finally, it should be noted that: the above embodiments are only used to illustrate the technical solutions of the present invention, rather than to limit them; although the present invention has been described in detail with reference to the foregoing embodiments, those of ordinary skill in the art should understand that: it can still be Modifications are made to the technical solutions described in the foregoing embodiments, or equivalent replacements are made to some of the technical features; and these modifications or replacements do not make the essence of the corresponding technical solutions deviate from the spirit and scope of the technical solutions of the various embodiments of the present invention.

Claims (10)

1. a communication means for address transition Network Based, is characterized in that, comprising:
Network address translation NAT passes through the logon message that server mobile terminal receive sends, and described logon message comprises address information, port-mark and session identification;
Described NAT passes through server and obtains first mobile terminal and the second mobile terminal with same session mark and port-mark, and store described session identification, described port-mark, the mapping relations of the address information of described first mobile terminal and the address information of described second mobile terminal, with what described first mobile terminal or described second mobile terminal are sent according to described mapping relations, the source address information comprising the communication message of described session identification and described port-mark replaces with described port-mark and the IP address of self, and send to described second mobile terminal or described first mobile terminal.
2. a communication means for address transition Network Based, is characterized in that, comprising:
First acquisition for mobile terminal and the second mobile terminal network address translation NAT carried out shared by communication interaction pass through IP address and the port-mark of server, and the session identification corresponding with described communication interaction;
Described first mobile terminal passes through server to the NAT corresponding with described IP address and sends logon message, described logon message comprises self address information, described port-mark and described session identification, so that described NAT pass through server according to described second mobile terminal send, comprise described port-mark, the logon message of the address information of described session identification and described second mobile terminal, store described session identification, described port-mark, the mapping relations of the address information of described first mobile terminal and the address information of described second mobile terminal, and according to described mapping relations, described first mobile terminal or described second mobile terminal are sent, the source address information comprising the communication message of described session identification and described port-mark replaces with described port-mark and described IP address, and send to described second mobile terminal or described first mobile terminal.
3. the communication means of address transition Network Based according to claim 2, it is characterized in that, described acquisition and the second mobile terminal network address translation NAT carried out shared by communication interaction pass through IP address and the port-mark of server, and the session identification corresponding with described communication interaction specifically comprises:
Described first mobile terminal receives described second mobile terminal and passes through the IP address of server and described port-mark by the described NAT that mobile switch net sends, and returns confirmation response to described second mobile terminal;
Described first mobile terminal receives the described session identification that described second mobile terminal is sent by mobile switch net, and wherein, described session identification generates after described second mobile terminal receives described confirmation response.
4. the communication means of address transition Network Based according to claim 2, it is characterized in that, described acquisition and the second mobile terminal network address translation NAT carried out shared by communication interaction pass through IP address and the port-mark of server, and the session identification corresponding with described communication interaction specifically comprises:
Described first mobile terminal receives session initiation protocol sip server and passes through the IP address of server and described port-mark by the described NAT that SIP message sends, and returns confirmation response to described sip server;
Described first mobile terminal receives the described session identification that described sip server is sent by SIP message, and wherein, described session identification generates after described sip server receives described confirmation response.
5. a NAT traversing server, is characterized in that, comprising:
Receiver module, for the logon message that mobile terminal receive sends, described logon message comprises address information, port-mark and session identification;
Processing module, for obtaining first mobile terminal and the second mobile terminal with same session mark and port-mark, and store described session identification, described port-mark, the mapping relations of the address information of described first mobile terminal and the address information of described second mobile terminal, with what described first mobile terminal or described second mobile terminal are sent according to described mapping relations, the source address information comprising the communication message of described session identification and described port-mark replaces with described port-mark and the IP address of self, and send to described second mobile terminal or described first mobile terminal.
6. a mobile terminal, is characterized in that, described mobile terminal is the first mobile terminal, comprising:
Acquisition module, for obtaining the IP address and the port-mark that pass through server with the second mobile terminal network address translation NAT carried out shared by communication interaction, and the session identification corresponding with described communication interaction;
Registering modules, logon message is sent for passing through server to the NAT corresponding with described IP address, described logon message comprises self address information, described port-mark and described session identification, so that described NAT pass through server according to described second mobile terminal send, comprise described port-mark, the logon message of the address information of described session identification and described second mobile terminal, store described session identification, described port-mark, the mapping relations of the address information of described first mobile terminal and the address information of described second mobile terminal, and according to described mapping relations, described first mobile terminal or described second mobile terminal are sent, the source address information comprising the communication message of described session identification and described port-mark replaces with described port-mark and described IP address, and send to described second mobile terminal or described first mobile terminal.
7. mobile terminal according to claim 6, is characterized in that, described acquisition module specifically for:
Receive described second mobile terminal and pass through the IP address of server and described port-mark by the described NAT that mobile switch net sends, and return confirmation response to described second mobile terminal;
Receive the described session identification that described second mobile terminal is sent by mobile switch net, wherein, described session identification generates after described second mobile terminal receives described confirmation response.
8. mobile terminal according to claim 6, is characterized in that, described acquisition module specifically for:
Receive session initiation protocol sip server and pass through the IP address of server and described port-mark by the described NAT that SIP message sends, and return confirmation response to described sip server;
Receive the described session identification that described sip server is sent by SIP message, wherein, described session identification generates after described sip server receives described confirmation response.
9. the communication system of an address transition Network Based, it is characterized in that, comprise: NAT traversing server, the first mobile terminal and the second mobile terminal as claimed in claim 5, wherein, described first mobile terminal is the mobile terminal described in claim 6 or 7.
10. the communication system of an address transition Network Based, it is characterized in that, comprise: NAT traversing server as claimed in claim 5, and session initiation protocol sip server, the first mobile terminal belonging to described sip server and the second mobile terminal, wherein, described first mobile terminal is the mobile terminal described in claim 6 or 8.
CN201310329913.3A 2013-07-31 2013-07-31 The communication means of address transition Network Based, equipment and system Active CN103414798B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201310329913.3A CN103414798B (en) 2013-07-31 2013-07-31 The communication means of address transition Network Based, equipment and system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201310329913.3A CN103414798B (en) 2013-07-31 2013-07-31 The communication means of address transition Network Based, equipment and system

Publications (2)

Publication Number Publication Date
CN103414798A CN103414798A (en) 2013-11-27
CN103414798B true CN103414798B (en) 2016-04-13

Family

ID=49607782

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201310329913.3A Active CN103414798B (en) 2013-07-31 2013-07-31 The communication means of address transition Network Based, equipment and system

Country Status (1)

Country Link
CN (1) CN103414798B (en)

Families Citing this family (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
TWI527407B (en) * 2014-03-18 2016-03-21 國立交通大學 Conference-aware network address translation penetration method
CN103929438B (en) * 2014-05-06 2017-02-15 中国联合网络通信集团有限公司 Firewall traversal method, equipment and system based on web page browser communication
CN104104926B (en) * 2014-07-30 2017-04-19 浙江宇视科技有限公司 Universal plug and play (UPnP) monitoring terminal access method and access device
US10237236B2 (en) * 2015-06-25 2019-03-19 Microsoft Technology Licensing, Llc Media Session
CN105491024A (en) * 2015-11-24 2016-04-13 北京邮电大学 Multiplexing method of UDP (User Datagram Protocol) port
CN109951562B (en) * 2019-03-29 2020-12-25 深圳市网心科技有限公司 NAT traversal method and system, electronic device and storage medium
CN111885219B (en) * 2020-07-28 2023-04-07 杭州迪普科技股份有限公司 Communication method and device based on SIP (Session initiation protocol) media negotiation and NAT (network Address translation) equipment

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101656715A (en) * 2008-08-21 2010-02-24 华为技术有限公司 Method, system and device for media bypass
CN102651746A (en) * 2012-05-18 2012-08-29 珠海德百祺科技有限公司 Point-to-point information transmission method, system and device
CN102780675A (en) * 2011-05-09 2012-11-14 中兴通讯股份有限公司 Transmission method, device and system for streaming media service

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP2016727B1 (en) * 2006-04-24 2018-03-28 KTFreetel Co., Ltd. Interworking system between ip networks using different ip addressing scheme and interworking method thereof
TWI434595B (en) * 2011-11-09 2014-04-11 Quanta Comp Inc Connection establishing management methods for use in a network system and systems thereof

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101656715A (en) * 2008-08-21 2010-02-24 华为技术有限公司 Method, system and device for media bypass
CN102780675A (en) * 2011-05-09 2012-11-14 中兴通讯股份有限公司 Transmission method, device and system for streaming media service
CN102651746A (en) * 2012-05-18 2012-08-29 珠海德百祺科技有限公司 Point-to-point information transmission method, system and device

Also Published As

Publication number Publication date
CN103414798A (en) 2013-11-27

Similar Documents

Publication Publication Date Title
CN103414798B (en) The communication means of address transition Network Based, equipment and system
CN102790813B (en) Communication method as well as system and terminal equipment based on IPv6 (internet protocol version 6) network
CN102845123B (en) Virtual private cloud connection method and tunnel proxy server
CN102647487B (en) Method for saving Internet protocol (IP) addresses and access proxy equipment
CN103139326A (en) Method, device and system for tracing internet protocol (IP)
CN102447746B (en) Information supply method, family gateway and family network system
WO2015124045A1 (en) Channel establishing method and apparatus
CN104125145B (en) Web browser based communication method, web browser based communication equipment and web browser based communication system
CN103118147A (en) Method, equipment and system for accessing intranet server
CN103200281A (en) Method, device and system for accessing intranet server
CN108306986B (en) Multi-type media data network address translation traversal method, terminal and system
CN102148881A (en) Address processing method and device
CN114666422A (en) IPv4/IPv6 protocol exchange method and related equipment
CN102244687B (en) Method, device and system for acquiring multi-address message
CN106331195B (en) Data receiving and sending method and device
CN102984696B (en) Based on the IP communication means of mobile terminal, equipment and system
CN104253878A (en) VLAN (Virtual Local Area Network) information management system and method of DHCP (Dynamic Host Configuration Protocol) RELAY termination sub-interface
CN102984697B (en) IP communication method, equipment and system based on mobile terminals
CN101166142A (en) A method and gateway for submitting correct route of reporting message
CN104994067B (en) SIP network accesses the system and method for RTSP monitoring networks
CN101651606A (en) Method, device and system for forwarding message
CN101742008B (en) Media stream proxy method, voice exchanger and communication system
CN110636029A (en) Communication method and communication device
CN103414797B (en) NAT passes through the port assignment method and apparatus of server
CN104184565A (en) Retransmission information processing method and device

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C14 Grant of patent or utility model
GR01 Patent grant