[go: up one dir, main page]

CN1299476C - Method for H.323 agent server to register on gatekeeper from terminals after being agent of NAT - Google Patents

Method for H.323 agent server to register on gatekeeper from terminals after being agent of NAT Download PDF

Info

Publication number
CN1299476C
CN1299476C CNB2004100428716A CN200410042871A CN1299476C CN 1299476 C CN1299476 C CN 1299476C CN B2004100428716 A CNB2004100428716 A CN B2004100428716A CN 200410042871 A CN200410042871 A CN 200410042871A CN 1299476 C CN1299476 C CN 1299476C
Authority
CN
China
Prior art keywords
terminal
acting server
gatekeeper
message
registration
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.)
Expired - Fee Related
Application number
CNB2004100428716A
Other languages
Chinese (zh)
Other versions
CN1585364A (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.)
ZTE Corp
Original Assignee
ZTE Corp
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 ZTE Corp filed Critical ZTE Corp
Priority to CNB2004100428716A priority Critical patent/CN1299476C/en
Priority to PCT/CN2004/000890 priority patent/WO2005117346A1/en
Priority to PT2004000890A priority patent/PT2005117346W/en
Priority to CNB2004800430517A priority patent/CN100525202C/en
Publication of CN1585364A publication Critical patent/CN1585364A/en
Application granted granted Critical
Publication of CN1299476C publication Critical patent/CN1299476C/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L61/00Network arrangements, protocols or services for addressing or naming
    • H04L61/09Mapping addresses
    • H04L61/25Mapping addresses of the same type
    • H04L61/2503Translation of Internet protocol [IP] addresses
    • H04L61/2517Translation of Internet protocol [IP] addresses using port numbers
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L61/00Network arrangements, protocols or services for addressing or naming
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L65/00Network arrangements, protocols or services for supporting real-time applications in data packet communication
    • H04L65/1066Session management
    • H04L65/1101Session protocols
    • H04L65/1106Call signalling protocols; H.323 and related

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Business, Economics & Management (AREA)
  • General Business, Economics & Management (AREA)
  • Multimedia (AREA)
  • Data Exchanges In Wide-Area Networks (AREA)
  • Telephonic Communication Services (AREA)

Abstract

本发明公开了一种H.323代理服务器代理NAT后终端向网守注册的方法,主要是在H.323协议中,私网终端的注册地址采用(IP地址+端口)的方式来表示,代理服务器在终端注册时对不同的终端注册动态分配侦听端口,采用(相同的IP地址+不同端口)来标识不同终端,使得不同的私网终端经过同一台H.323代理服务器发送出来的注册地址是不相同的,所以对于不同类型的网守,都可以进行正确的注册。使用本发明提出的方法,在NAT后的H.323代理服务器向网守注册时,与不同类型的网守都能够进行很好的兼容,提高了系统的互连互通性。

Figure 200410042871

The invention discloses a method for a H.323 proxy server to register a terminal with a gatekeeper after NAT. The server dynamically assigns listening ports to different terminal registrations during terminal registration, and uses (same IP address + different ports) to identify different terminals, so that different private network terminals pass the registration addresses sent by the same H.323 proxy server are not the same, so for different types of gatekeepers, correct registration can be performed. Using the method proposed by the invention, when the H.323 proxy server behind the NAT registers with the gatekeeper, it can be well compatible with different types of gatekeepers, which improves the interconnection and interoperability of the system.

Figure 200410042871

Description

一种H.323代理服务器代理网络地址转换后的终端向网守注册的方法A method for H.323 proxy server to register a terminal after network address translation with a gatekeeper

技术领域technical field

本发明涉及多媒体通讯,尤其涉及一种基于H.323协议(是国际电信联盟制定的分组网多媒体通信标准)的多媒体终端的注册方法。The invention relates to multimedia communication, in particular to a registration method of a multimedia terminal based on the H.323 protocol (a packet network multimedia communication standard formulated by the International Telecommunication Union).

背景技术Background technique

随着近年IP网宽带业务的蓬勃发展,基于分组的多媒体通信系统标准H.323广泛运用于视频会议和IP电话中。由于很多企业和单位都建有自己的局域网,内部采用了私有的IP地址,访问公网一般经过NAT设备进行地址转换。而H.323协议本身没有考虑NAT(Network Address Translation,网络地址转换,分为静态NAT,动态NAT和PAT三种方式)的应用,它的地址内嵌特点和NAT设备产生了冲突,产生了内、外网互通的问题。With the vigorous development of IP network broadband services in recent years, the group-based multimedia communication system standard H.323 is widely used in video conferencing and IP telephony. Since many enterprises and units have built their own local area networks and use private IP addresses internally, access to the public network generally uses NAT equipment for address translation. However, the H.323 protocol itself does not consider the application of NAT (Network Address Translation, which is divided into static NAT, dynamic NAT and PAT). , The problem of intercommunication with the external network.

当前有很多方法可以实现这种NAT设备的穿越,采用H.323代理服务器是解决这个问题的一种比较彻底的方式。采用H.323代理服务器的实现方法是:将H.323代理服务器放在私网内,在NAT设备上对H.323代理服务器做静态NAT(是将私网地址与公网地址进行一对一的转换,允许公网访问内网的方法),使得外网可以访问,然后内网的终端把代理服务器指定为网守(为H.323端点提供地址解析和带宽管理等服务的设备),向H.323代理服务器发送注册请求,H.323代理服务器再做为终端向公网网守注册,由于H.323代理服务器预先把H.323协议中的IP地址修改成H.323代理服务器在NAT设备上做的静态NAT的公网地址,网守上得到的终端的IP地址就是H.323代理服务器的公网地址。Currently, there are many methods to realize the traversal of this kind of NAT device, and adopting H.323 proxy server is a relatively thorough way to solve this problem. The implementation method of using the H.323 proxy server is: put the H.323 proxy server in the private network, and perform static NAT on the H.323 proxy server on the NAT device (the private network address and the public network address are one-to-one conversion, allowing the public network to access the internal network), so that the external network can be accessed, and then the terminal on the internal network designates the proxy server as a gatekeeper (a device that provides services such as address resolution and bandwidth management for H.323 endpoints) to the The H.323 proxy server sends a registration request, and the H.323 proxy server acts as a terminal to register with the public network gatekeeper. Because the H.323 proxy server modifies the IP address in the H.323 protocol in advance to the H.323 proxy server in the NAT The public network address of the static NAT performed on the device, and the terminal IP address obtained by the gatekeeper is the public network address of the H.323 proxy server.

图1是采用H.323代理服务器的网络拓扑结构示意图。如图1所示,私网中的私网终端1和私网终端2都连接在H.323代理服务器上,H.323代理服务器与NAT设备相连,NAT设备连接公网中的网守。采用H.323代理服务器向网守注册的方法归纳起来主要有以下两种方式:FIG. 1 is a schematic diagram of a network topology using an H.323 proxy server. As shown in Figure 1, the private network terminal 1 and the private network terminal 2 in the private network are both connected to the H.323 proxy server, the H.323 proxy server is connected to the NAT device, and the NAT device is connected to the gatekeeper in the public network. There are mainly two ways to register with the gatekeeper using the H.323 proxy server:

1、H.323代理服务器和网守之间采用私有协议,H.323代理服务器在收到终端的注册消息向网守注册时,注册消息中包含非标准消息,网守根据非标准消息知道注册消息是通过H.323代理服务器发出的,然后网守记录该H.323代理服务器发送来的终端的信息,如果有终端呼叫这些经过H.323代理服务器终端,网守就定向到H.323代理服务器上。1. A private protocol is adopted between the H.323 proxy server and the gatekeeper. When the H.323 proxy server receives a terminal registration message and registers with the gatekeeper, the registration message contains non-standard messages, and the gatekeeper knows the registration message according to the non-standard message It is sent through the H.323 proxy server, and then the gatekeeper records the information of the terminal sent by the H.323 proxy server. If a terminal calls the terminal through the H.323 proxy server, the gatekeeper will direct it to the H.323 proxy server superior.

2、H.323代理服务器收到私网终端注册请求后,把注册消息中的注册地址修改成H.323代理服务器的地址,向公网的网守注册。2. After the H.323 proxy server receives the private network terminal registration request, it modifies the registration address in the registration message to the address of the H.323 proxy server, and registers with the gatekeeper of the public network.

第1种方式采用的方式是H.323终端注册消息中含有非标准消息,需要在网守和H.323代理服务器之间支持非标准消息,这种方法的缺点显而易见:存在着和其它厂家的网守的互连互通问题。The first way is that the H.323 terminal registration message contains non-standard messages, and non-standard messages need to be supported between the gatekeeper and the H.323 proxy server. The disadvantage of this method is obvious: there are differences with other manufacturers. Gatekeeper interconnection issues.

第2种方式采用了H.323的标准协议,转发的终端注册请求采用了H.323代理服务器的公网呼叫地址(IP地址+端口),但是这种注册方式造成这样一个现象,即所有通过同一台H.323代理服务器注册到公网网守的注册信息都对应同一个地址,这样就要网守支持这样一种情况,即网守只检查注册的终端别名(终端名称),不存在的别名就添加一条新的注册信息,这样网守上不同的终端别名就对应了相同的地址(IP地址和端口),但是在实际应用的系统中,某些类型的网守收到注册信息时是需要检查注册地址的,如果注册地址相同,那么网守就认为是相同的终端,该网守就会用新收到的注册信息记录覆盖原来的注册记录,即有些类型的网守不支持多个终端对应同一个注册地址。这也是第二种方式在实际应用中存在的问题。The second method uses the H.323 standard protocol, and the forwarded terminal registration request uses the public network call address (IP address + port) of the H.323 proxy server, but this registration method causes such a phenomenon that all The registration information of the same H.323 proxy server registered to the public network gatekeeper corresponds to the same address, so the gatekeeper must support such a situation, that is, the gatekeeper only checks the registered terminal alias (terminal name). Add a new registration information to the alias, so that different terminal aliases on the gatekeeper correspond to the same address (IP address and port), but in the actual application system, when some types of gatekeepers receive the registration information, they are Need to check the registration address, if the registration address is the same, then the gatekeeper will consider it as the same terminal, and the gatekeeper will overwrite the original registration record with the newly received registration information record, that is, some types of gatekeepers do not support multiple The terminals correspond to the same registered address. This is also a problem in the practical application of the second method.

发明内容Contents of the invention

本发明就是为了克服现有技术中在NAT后的H.323代理服务器向网守注册时,与不同类型的网守不兼容的问题,提出一种H.323代理服务器代理NAT后终端向网守注册的方法。The present invention is in order to overcome the incompatibility problem with different types of gatekeepers when the H.323 proxy server behind NAT registers with the gatekeeper in the prior art, and proposes a H.323 proxy server proxy NAT terminal to the gatekeeper method of registration.

本发明的目的是为了提高H.323代理服务器和网守的互通性,因此H.323代理服务器和网守之间的消息都采用H.323标准协议,不使用非标准消息。本发明的核心思想是:在H.323协议中,私网终端的注册地址是采用(IP地址+端口)的方式来表示,代理服务器在终端注册时对不同的终端注册动态分配侦听端口,采用(相同的IP地址+不同端口)来标识不同终端,使得不同终端经过同一台H.323代理服务器发送出来的注册地址是不同的,增强了和不同网守的互通性能。The purpose of the present invention is to improve the interoperability between the H.323 proxy server and the gatekeeper, so the messages between the H.323 proxy server and the gatekeeper all adopt the H.323 standard protocol, and non-standard messages are not used. The core idea of the present invention is: in the H.323 protocol, the registration address of the private network terminal is expressed in the form of (IP address+port), and the proxy server dynamically allocates the listening port to different terminal registrations when the terminal is registered. Use (same IP address + different port) to identify different terminals, so that the registration addresses sent by different terminals through the same H.323 proxy server are different, and the intercommunication performance with different gatekeepers is enhanced.

一种H.323代理服务器代理NAT后终端向网守注册的方法,包括下列步骤:A kind of H.323 proxy server proxy NAT back terminal registers the method with gatekeeper, comprises the following steps:

第一步、根据H.323代理服务器要代理的私网终端的数目,定义一个端口池;The first step is to define a port pool according to the number of private network terminals to be proxied by the H.323 proxy server;

第二步、在NAT设备上做H.323代理服务器的静态NAT,开放第一步中定义的端口池,允许NAT设备外的终端访问H.323代理服务器侦听的端口;The second step is to do static NAT of the H.323 proxy server on the NAT device, open the port pool defined in the first step, and allow terminals outside the NAT device to access the port listened to by the H.323 proxy server;

第三步、在H.323代理服务器上设置第一步中定义的端口池,启动H.323代理服务器;The third step, the port pool defined in the first step is set on the H.323 proxy server, and the H.323 proxy server is started;

第四步、私网终端指定网守为代理服务器,向H.323代理服务器发送注册请求;Step 4, the private network terminal designates the gatekeeper as the proxy server, and sends a registration request to the H.323 proxy server;

第五步、H.323代理服务器收到私网终端的注册请求后,判断该终端是否第一次注册;如果是,则在端口池里取得一个没有被其它终端占用的端口,并在这个端口上侦听;Step 5: After the H.323 proxy server receives the registration request from the private network terminal, it judges whether the terminal is registering for the first time; listen on;

第六步、H.323代理服务器修改收到的注册请求消息,把注册地址修改为H.323代理服务器静态NAT后的公网地址和H.323代理服务器上为该终端侦听的端口,然后向网守发送注册消息;The 6th step, the H.323 proxy server revises the registration request message received, and the registration address is modified to the public network address behind the static NAT of the H.323 proxy server and the port that the terminal listens to on the H.323 proxy server, and then Send a registration message to the gatekeeper;

第七步、网守收到H.323代理服务器的注册请求后进行认证,认证通过,如果发现该私网终端第一次注册,则添加该终端的注册信息,如果发现该私网终端已经注册过,更新该私网终端的注册记录;如果认证不通过,则转到第九步;Step 7: After receiving the registration request from the H.323 proxy server, the gatekeeper performs authentication. If the authentication is passed, if it is found that the private network terminal is registered for the first time, add the registration information of the terminal. If it is found that the private network terminal has already registered If passed, update the registration record of the private network terminal; if the authentication fails, go to step 9;

第八步、网守向H.323代理服务器发送确认消息,H.323代理服务器收到确认消息后记录该私网终端信息,并向该私网终端发送确认消息,注册结束;Step 8, the gatekeeper sends a confirmation message to the H.323 proxy server, and the H.323 proxy server records the private network terminal information after receiving the confirmation message, and sends a confirmation message to the private network terminal, and the registration ends;

第九步、网守向H.323代理服务器发送拒绝消息,H.323代理服务器收到拒绝消息后释放第五步中为该私网终端分配的侦听端口,并向该私网终端发送拒绝消息,注册结束。The ninth step, the gatekeeper sends a rejection message to the H.323 proxy server, and the H.323 proxy server releases the listening port allocated for the private network terminal in the fifth step after receiving the rejection message, and sends a rejection message to the private network terminal message, the registration is over.

上述第一步中端口池中的端口数目和H.323代理服务器要代理的私网终端的数目相等。The number of ports in the port pool in the first step above is equal to the number of private network terminals to be proxied by the H.323 proxy server.

上述第四步中私网终端向H.323代理服务器发送的注册请求中注册地址为该终端的私网地址和终端上的一个侦听端口。In the above fourth step, the registration address in the registration request sent by the private network terminal to the H.323 proxy server is the private network address of the terminal and a listening port on the terminal.

上述方法还包括私网终端取消注册的步骤:The above method also includes the step of canceling the registration of the private network terminal:

步骤一、私网终端向H.323代理服务器发送取消注册的消息;Step 1, the private network terminal sends a message to cancel the registration to the H.323 proxy server;

步骤二、H.323代理服务器在收到该消息后释放为该终端分配的侦听端口,然后向网守发送取消注册的消息;Step 2, the H.323 proxy server releases the listening port allocated for the terminal after receiving the message, and then sends a message to cancel the registration to the gatekeeper;

步骤三、网守收到H.323代理服务器的取消注册消息后,向H.323代理服务器发送取消注册确认;Step 3, after the gatekeeper receives the deregistration message of the H.323 proxy server, it sends a deregistration confirmation to the H.323 proxy server;

步骤四、H.323代理服务器收到网守的取消注册确认后,向私网终端转发该消息,取消注册结束。Step 4: After receiving the cancellation confirmation from the gatekeeper, the H.323 proxy server forwards the message to the private network terminal, and the cancellation of registration is completed.

上述方法还包括网守取消私网终端注册的步骤:The above method also includes the step of the gatekeeper canceling the registration of the private network terminal:

步骤A、网守向H.323代理服务器发送取消注册的消息;Step A, gatekeeper send the message of canceling registration to H.323 proxy server;

步骤B、H.323代理服务器在收到该消息后释放为被取消的注册终端分配的侦听端口,然后向该私网终端发送取消注册的消息;Step B, the H.323 proxy server releases the listening port allocated for the canceled registration terminal after receiving the message, and then sends a message to cancel the registration to the private network terminal;

步骤C、私网终端收到H.323代理服务器的取消注册消息后,向H.323代理服务器发送取消注册确认;Step C, after receiving the deregistration message from the H.323 proxy server, the private network terminal sends a deregistration confirmation to the H.323 proxy server;

步骤D、H.323代理服务器收到私网终端的取消注册确认后,向网守转发该消息,网守取消私网终端注册结束。In step D, the H.323 proxy server forwards the message to the gatekeeper after receiving the cancellation confirmation of the private network terminal, and the gatekeeper cancels the registration of the private network terminal.

本发明所提出的技术方案通过建立一个侦听的端口池(一段端口地址),采用(相同的IP地址+不同端口)来标识不同的私网终端,使得不同的私网终端经过同一台H.323代理服务器发送出来的注册地址是不相同的,所以对于不同类型的网守,都可以进行正确的注册。使用本发明提出的方法,在NAT后的H.323代理服务器向网守注册时,与不同类型的网守都能够进行很好的兼容,提高了系统的互连互通性。The technical solution proposed by the present invention establishes a listening port pool (a section of port address) and uses (same IP address + different ports) to identify different private network terminals, so that different private network terminals pass through the same H. The registration addresses sent by the 323 proxy server are different, so the correct registration can be performed for different types of gatekeepers. Using the method proposed by the invention, when the H.323 proxy server behind the NAT registers with the gatekeeper, it can be well compatible with different types of gatekeepers, which improves the interconnection and interoperability of the system.

附图说明Description of drawings

图1是采用H.323代理服务器的网络拓扑结构示意图;Fig. 1 is a schematic diagram of a network topology using an H.323 proxy server;

图2是本发明提出的注册方法的流程图;Fig. 2 is a flowchart of the registration method proposed by the present invention;

图3是私网终端取消注册的流程图;Fig. 3 is a flow chart of canceling registration of a private network terminal;

图4是网守取消私网终端注册的流程图。Fig. 4 is a flow chart of the gatekeeper canceling the registration of the private network terminal.

具体实施方式Detailed ways

下面结合附图和实施例对本发明作进一步的详细说明。The present invention will be further described in detail below in conjunction with the accompanying drawings and embodiments.

图1已经在背景技术中进行过说明。FIG. 1 has already been explained in the background art.

图2是本发明提出的注册方法的流程图。本发明提出的方法主要过程为:H.323代理服务器首先建立一个侦听的端口池(一段端口地址),H.323代理服务器收到私网终端的注册请求后,从端口池中取出一个侦听端口,把终端注册请求的注册地址修改成为H.323代理服务器的公网IP地址和为该终端侦听的端口,然后向网守注册,如果网守注册失败或者终端取消注册,H.323代理服务器释放该终端的侦听端口,以供其它终端注册时使用。Fig. 2 is a flow chart of the registration method proposed by the present invention. The main process of the method proposed by the present invention is: the H.323 proxy server first sets up a listening port pool (a section of port address), and after the H.323 proxy server receives the registration request of the private network terminal, it takes out a listening port pool. Listen to the port, change the registration address of the terminal registration request to the public network IP address of the H.323 proxy server and the port that the terminal listens to, and then register with the gatekeeper. If the gatekeeper fails to register or the terminal cancels registration, H.323 The proxy server releases the listening port of the terminal for use when other terminals register.

具体包括如下步骤:Specifically include the following steps:

第一步、根据H.323代理服务器要代理的私网终端的数目,定义一个端口池;在本发明的一个实施例中,端口池中的端口数目和H.323代理服务器要代理的私网终端的数目相等。第二步、在NAT设备上做H.323代理服务器的静态NAT,开放第一步中定义的端口池,允许NAT设备外的终端访问H.323代理服务器侦听的端口;第三步、在H.323代理服务器上设置第一步中定义的端口池,启动H.323代理服务器;第四步、私网终端指定网守为代理服务器,向H.323代理服务器发送注册请求,注册地址为该终端的私网地址和终端上的一个侦听端口。第五步、H.323代理服务器收到私网终端的注册请求后,判断该终端是否第一次注册;如果是,则在端口池里取得一个没有被其它终端占用的端口,并在这个端口上侦听;第六步、H.323代理服务器修改收到的注册请求消息,把注册地址修改为H.323代理服务器静态NAT后的公网地址和H.323代理服务器上为该终端侦听的端口,然后向网守发送注册消息;第七步、网守收到H.323代理服务器的注册请求后进行认证,认证通过,如果发现该私网终端第一次注册,则添加该终端的注册信息,如果发现该私网终端已经注册过,更新该私网终端的注册记录;如果认证不通过,则转到第九步;第八步、网守向H.323代理服务器发送确认消息,H.323代理服务器收到确认消息后记录该私网终端信息,并向该私网终端发送确认消息,注册结束;第九步、网守向H.323代理服务器发送拒绝消息,H.323代理服务器收到拒绝消息后释放第五步中为该私网终端分配的侦听端口,并向该私网终端发送拒绝消息,注册结束。The first step, according to the number of the private network terminal that H.323 proxy server will act as agent, define a port pool; In one embodiment of the present invention, the number of ports in the port pool and the private network that H.323 proxy server will act The number of terminals is equal. The second step is to do the static NAT of the H.323 proxy server on the NAT device, open the port pool defined in the first step, and allow the terminal outside the NAT device to access the port listened to by the H.323 proxy server; the third step is to The port pool defined in the first step is set on the H.323 proxy server, and the H.323 proxy server is started; the fourth step, the private network terminal designates the gatekeeper as the proxy server, and sends a registration request to the H.323 proxy server, and the registration address is The private network address of the terminal and a listening port on the terminal. Step 5: After the H.323 proxy server receives the registration request from the private network terminal, it judges whether the terminal is registering for the first time; Listen on the Internet; the sixth step, the H.323 proxy server revises the received registration request message, and the registration address is modified to the public network address behind the static NAT of the H.323 proxy server and the terminal listens on the H.323 proxy server port, and then send a registration message to the gatekeeper; step 7, the gatekeeper will perform authentication after receiving the registration request from the H.323 proxy server. Registration information, if it is found that this private network terminal has been registered, update the registration record of this private network terminal; if the authentication fails, then go to the ninth step; the eighth step, the gatekeeper sends a confirmation message to the H.323 proxy server, The H.323 proxy server records the private network terminal information after receiving the confirmation message, and sends a confirmation message to the private network terminal, and the registration ends; the ninth step, the gatekeeper sends a rejection message to the H.323 proxy server, and the H.323 proxy After receiving the rejection message, the server releases the listening port allocated for the private network terminal in the fifth step, and sends a rejection message to the private network terminal, and the registration ends.

图3是私网终端取消注册的流程图。如图3所示,私网终端取消注册的步骤包括:步骤一、私网终端向H.323代理服务器发送取消注册的消息;步骤二、H.323代理服务器在收到该消息后释放为该终端分配的侦听端口,然后向网守发送取消注册的消息;步骤三、网守收到H.323代理服务器的取消注册消息后,向H.323代理服务器发送取消注册确认;步骤四、H.323代理服务器收到网守的取消注册确认后,向私网终端转发该消息,取消注册结束。Fig. 3 is a flowchart of a private network terminal canceling registration. As shown in Figure 3, the step that private network terminal cancels registration comprises: Step 1, private network terminal sends the message of canceling registration to H.323 proxy server; Step 2, H.323 proxy server releases as this The listening port that terminal distributes, then sends the message that cancels registration to gatekeeper; After step 3, gatekeeper receives the cancellation registration message of H.323 proxy server, sends cancellation registration confirmation to H.323 proxy server; Step 4, H .323 After receiving the cancellation confirmation from the gatekeeper, the proxy server forwards the message to the private network terminal, and the cancellation of registration is completed.

图4是网守取消私网终端注册的流程图。如图4所示,网守取消私网终端注册的步骤包括:步骤A、网守向H.323代理服务器发送取消注册的消息;步骤B、H.323代理服务器在收到该消息后释放为被取消的注册终端分配的侦听端口,然后向该私网终端发送取消注册的消息;步骤C、私网终端收到H.323代理服务器的取消注册消息后,向H.323代理服务器发送取消注册确认;步骤D、H.323代理服务器收到私网终端的取消注册确认后,向网守转发该消息,网守取消私网终端注册结束。Fig. 4 is a flow chart of the gatekeeper canceling the registration of the private network terminal. As shown in Figure 4, the step that gatekeeper cancels private network terminal registration comprises: step A, gatekeeper send the message that cancels registration to H.323 proxy server; Step B, H.323 proxy server are released after receiving this message as The listening port allocated by the canceled registration terminal sends a message of canceling registration to the private network terminal; after step C, the private network terminal receives the cancellation registration message of the H.323 proxy server, it sends a cancellation message to the H.323 proxy server Confirmation of registration: step D, after the H.323 proxy server receives the cancellation confirmation of the private network terminal, it forwards the message to the gatekeeper, and the gatekeeper cancels the registration of the private network terminal.

Claims (5)

1. the process registration to the gatekeeper of the terminal after the acting server agency network address transition H.323 is characterized in that comprising the following steps:
The number of the first step, the private net terminal that will act on behalf of according to acting server H.323 defines a port pool;
Second step, do the static network address conversion of acting server H.323 on network address translation apparatus, the port pool that defines in the open first step allows the H.323 acting server port of intercepting of the outer terminal access of network address translation apparatus;
The 3rd the step, H.323 on the acting server port pool that defines in the first step being set, start H.323 acting server;
It is acting server that the 4th step, private net terminal are specified the gatekeeper, to acting server transmission register requirement H.323;
The 5th step, after H.323 acting server is received the register requirement of private net terminal, judge the whether for the first time registration of this terminal; If then in port pool, obtain a port that is not taken, and on this port, intercept by other terminal;
The 6th step, H.323 acting server is revised the login request message receive, the registered address be revised as after the conversion of acting server static network address H.323 public network address and the port of H.323 intercepting for this terminal on the acting server, send registration message then to the gatekeeper;
The 7th step, gatekeeper authenticate after receiving the register requirement of acting server H.323, authentication is passed through, and registers for the first time if find this private net terminal, then adds the log-on message of this terminal, registered if find this private net terminal, upgraded the registration of this private net terminal; If authentication is not passed through, then forwarded for the 9th step to;
The 8th step, gatekeeper send acknowledge message to acting server H.323, and H.323 acting server is received this private net terminal information of record after the acknowledge message, and send acknowledge message to this private net terminal, and registration finishes;
The 9th step, gatekeeper send refuse information to acting server H.323, and H.323 acting server discharges the listening port that distributes for this private net terminal in the 5th step after receiving refuse information, and sends refuse information to this private net terminal, the registration end.
2. register method according to claim 1 is characterized in that: the port number in the described first step middle port pond and H.323 the number of the private net terminal that will act on behalf of of acting server equate.
3. register method according to claim 1 is characterized in that: private net terminal registered address in the register requirement of H.323 acting server transmission is the private net address of this terminal and a listening port on the terminal in described the 4th step.
4. register method according to claim 1 is characterized in that described method also comprises the step of private net terminal cancel register:
Step 1, private net terminal send the message of cancel register to acting server H.323;
Step 2, H.323 acting server is released to the listening port of this terminal distribution after receiving this message, sends the message of cancel register then to the gatekeeper;
After step 3, gatekeeper receive the deregister message of acting server H.323, send cancel register to acting server H.323 and confirm;
Step 4, after H.323 acting server receives that gatekeeper's cancel register is confirmed, transmit this message to private net terminal, cancel register finishes.
5. according to claim 1 or 4 described register methods, it is characterized in that described method comprises that also the gatekeeper cancels the step of private net terminal registration:
Steps A, gatekeeper send the message of cancel register to acting server H.323;
Step B, H.323 acting server is released to the listening port that the registration terminal that is cancelled distributes after receiving this message, sends the message of cancel register then to this private net terminal;
After step C, private net terminal are received the deregister message of acting server H.323, send cancel register to acting server H.323 and confirm;
Step D, after H.323 acting server receives that the cancel register of private net terminal is confirmed, transmit this message to the gatekeeper, the gatekeeper cancels the private net terminal registration and finishes.
CNB2004100428716A 2004-05-28 2004-05-28 Method for H.323 agent server to register on gatekeeper from terminals after being agent of NAT Expired - Fee Related CN1299476C (en)

Priority Applications (4)

Application Number Priority Date Filing Date Title
CNB2004100428716A CN1299476C (en) 2004-05-28 2004-05-28 Method for H.323 agent server to register on gatekeeper from terminals after being agent of NAT
PCT/CN2004/000890 WO2005117346A1 (en) 2004-05-28 2004-08-02 A method of registration for the private nerwork terminal to the gatekeeper based on the h.323 protocol
PT2004000890A PT2005117346W (en) 2004-05-28 2004-08-02 ********** unknown **********
CNB2004800430517A CN100525202C (en) 2004-05-28 2004-08-02 A method of registration for the private network terminal to the gatekeeper based on the H.323 protocol

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CNB2004100428716A CN1299476C (en) 2004-05-28 2004-05-28 Method for H.323 agent server to register on gatekeeper from terminals after being agent of NAT

Publications (2)

Publication Number Publication Date
CN1585364A CN1585364A (en) 2005-02-23
CN1299476C true CN1299476C (en) 2007-02-07

Family

ID=34601692

Family Applications (1)

Application Number Title Priority Date Filing Date
CNB2004100428716A Expired - Fee Related CN1299476C (en) 2004-05-28 2004-05-28 Method for H.323 agent server to register on gatekeeper from terminals after being agent of NAT

Country Status (3)

Country Link
CN (1) CN1299476C (en)
PT (1) PT2005117346W (en)
WO (1) WO2005117346A1 (en)

Families Citing this family (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1893426B (en) * 2005-07-08 2010-08-04 中国电信股份有限公司 Method and system for realizing private network video terminal traversing firewall
CN101188582B (en) * 2006-11-17 2010-09-29 中兴通讯股份有限公司 System and method for H.323 terminal communication across heterogeneous networks
CN101193112B (en) * 2006-12-01 2010-10-27 华为技术有限公司 A registration method and proxy server
US8429279B2 (en) * 2007-09-28 2013-04-23 Siemens Enterprise Communications Gmbh & Co. Kg Method and device for connecting packet-oriented communication terminals
US20130138813A1 (en) * 2011-11-28 2013-05-30 Microsoft Corporation Role instance reachability in data center
CN103607333A (en) * 2013-11-22 2014-02-26 深圳维盟科技有限公司 Local area network port proxy method for port proxy server
CN105743715B (en) * 2016-04-20 2020-01-07 上海斐讯数据通信技术有限公司 A management system and method for gateway equipment
CN113038592B (en) * 2019-12-24 2023-05-05 阿里巴巴集团控股有限公司 Communication method and device between Internet of things devices
CN114745169A (en) * 2022-04-06 2022-07-12 北京天融信网络安全技术有限公司 NAT mapping-based multi-port access method, device, device, medium and product
CN117221396B (en) * 2023-10-26 2024-12-03 深圳市拓普泰尔科技有限公司 Network data interaction method, device, system, storage medium and computer equipment

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2002089415A1 (en) * 2001-04-26 2002-11-07 N'ser Community Inc. Method for communication audio and video data in multimedia communication system using h.323 protocol
KR20030007374A (en) * 2002-12-31 2003-01-23 (주) 컴앤라이프 NETWORK ACCESS DEVICE FOR SUPPORTING VoIP AND METHOD THEREOF
EP1292091A2 (en) * 2001-09-05 2003-03-12 Samsung Electronics Co., Ltd. Method for transmitting short message using internet phones and system therefor
CN1458797A (en) * 2002-05-18 2003-11-26 深圳市中兴通讯股份有限公司 Method and system for realizing meeting appointment business

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO1997040610A2 (en) * 1996-04-24 1997-10-30 Northern Telecom Limited Internet protocol filter
CN1208932C (en) * 2002-06-19 2005-06-29 华为技术有限公司 Transmission call method applied in multimedia communication

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2002089415A1 (en) * 2001-04-26 2002-11-07 N'ser Community Inc. Method for communication audio and video data in multimedia communication system using h.323 protocol
EP1292091A2 (en) * 2001-09-05 2003-03-12 Samsung Electronics Co., Ltd. Method for transmitting short message using internet phones and system therefor
CN1458797A (en) * 2002-05-18 2003-11-26 深圳市中兴通讯股份有限公司 Method and system for realizing meeting appointment business
KR20030007374A (en) * 2002-12-31 2003-01-23 (주) 컴앤라이프 NETWORK ACCESS DEVICE FOR SUPPORTING VoIP AND METHOD THEREOF

Also Published As

Publication number Publication date
PT2005117346W (en) 2007-05-31
CN1585364A (en) 2005-02-23
WO2005117346A1 (en) 2005-12-08

Similar Documents

Publication Publication Date Title
CN1278523C (en) Wide area network connecting device and method
US8484359B2 (en) Providing telephony services to terminals behind a firewall and/or a network address translator
CN1170393C (en) Method and system for realizing IP voice service in private network
CN1516409A (en) A Method for Traversing Media Streams Through Network Address Translators
CN1299476C (en) Method for H.323 agent server to register on gatekeeper from terminals after being agent of NAT
CN1859292A (en) Household gateway and method for ensuring household network service terminal QoS
KR20110000770A (en) Spam control method and device in VoIP service
US20090028138A1 (en) Integrated internet telephony system and signaling method thereof
CN1167245C (en) A Method for Conveniently Realizing Personal Multimedia Communication Service
CN1764172A (en) Multimedia communication proxy system and method capable of crossing network address conversion and firewall
CN100525202C (en) A method of registration for the private network terminal to the gatekeeper based on the H.323 protocol
CN101742008B (en) Media stream proxy method, voice exchanger and communication system
CN1249572C (en) Plug-and-play ether net access system and method
CN1863138A (en) Method for implementing multimedia service NAT transition
CN1553667A (en) A method for implementing call establishment between multimedia devices
CN1738267A (en) Method for realizing media stream bypass
CN1767509A (en) Method for realizing external network user crossing NAT equipment
CN1208932C (en) Transmission call method applied in multimedia communication
CN1832471A (en) Method of communicating between different protocal of terminal user interface of IP multimedia subsystem
CN1889538A (en) Method for addressing in communication system
CN1457187A (en) IP calling method through network address switching facilities
CN1738256A (en) Method for operating media resource in next generation network
CN1297114C (en) Method of realizing signalling, speech sound cross network transmission
CN1115836C (en) Indication method of network user's coming call
JP3950037B2 (en) Address translation device in application layer

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
CF01 Termination of patent right due to non-payment of annual fee

Granted publication date: 20070207

Termination date: 20200528

CF01 Termination of patent right due to non-payment of annual fee