一种基于 H. 323协议的私网终端向网守注册的方法 技术领域 Method for registering private network terminal with gatekeeper based on H. 323 protocol Technical field
本发明涉及多媒体通讯, 具体地说, 涉及一种基于 H. 323协议的多媒体终 端进行注册的方法。 The present invention relates to multimedia communication, and in particular, to a method for registering a multimedia terminal based on the H. 323 protocol.
背景技术 Background technique
随着近年 IP 网络宽带业务的蓬勃发展, 基于分组的多媒体通信系统标准 H. 323协议被广泛地应用于视频会议和 IP电话中, H. 323协议是国际电信联盟 ITU-T 制定的分组网多媒体通信标准。 由于很多企业都建有自己的局域网 (私 网), 在局域网内部采用私有的 IP地址, 当局域网中的终端需要访问公网时, 一般经过网络地址转换(Network Addres s Trans lat ion, 筒称 NAT )设备进行 私网地址与公网地址的转换。 网络地址转换 NAT—般有静态 NAT、 动态 NAT和 端口 NAT三种方式, 其中静态 NAT方式是将私网地址与公网地址进行一对一的 转换,允许公网上的设备访问私网。 而 H. 323协议本身并没有考虑 NAT的应用 , 其地址内嵌的特点与 NAT设备产生冲突, 从而产生了私网与公网互通的问题。 With the vigorous development of broadband services of IP networks in recent years, the packet-based multimedia communication system standard H. 323 protocol is widely used in video conferences and IP phones. H. 323 protocol is a packet network multimedia developed by the International Telecommunication Union ITU-T Communication standards. Because many enterprises have their own local area networks (private networks), private IP addresses are used inside the local area network. When terminals on the local area network need to access the public network, they usually undergo network address translation (Network Addres s Translatation, NAT ) The device converts the private network address to the public network address. Network address translation NAT—Generally, there are three methods: static NAT, dynamic NAT, and port NAT. The static NAT method is a one-to-one translation between a private network address and a public network address, allowing devices on the public network to access the private network. The H. 323 protocol itself does not consider the application of NAT, and its embedded address conflicts with the NAT device, which causes the problem of interworking between private and public networks.
当前有很多方法可以解决上述问题, 实现对 NAT设备的穿越, 其中一种方 法是采用 H. 323代理服务器, 具体是: H. 323代理服务器位于私网内, 在 NAT 设备上对 H. 323代理服务器采用静态 NAT方式进行网络地址转换, 使公网的设 备可以访问 H. 323代理服务器; 然后私网内的终端将 H. 323代理服务器指定为 网守, 即为 H. 323端点提供地址解析和带宽管理等服务的设备; 私网内的终端 向 H. 323代理服务器发送注册请求, 然后 H. 323代理服务器作为终端再向公网 的网守进行注册。由于 H. 323代理服务器已预先把 H. 323协议中的 IP地址转换 成 H. 323代理服务器的静态 NAT的公网地址, 因此在公网网守上得到的终端的
IP地址就是 H. 323代理服务器的公网地址。 At present, there are many methods to solve the above problems and achieve NAT device traversal. One method is to use H. 323 proxy server, specifically: H. 323 proxy server is located in the private network, and H. 323 proxy on the NAT device. The server uses static NAT to perform network address translation, so that devices on the public network can access the H.323 proxy server. Then the terminals in the private network designate the H.323 proxy server as the gatekeeper, which provides address resolution and Devices for services such as bandwidth management; terminals in the private network send registration requests to the H. 323 proxy server, and then the H. 323 proxy server acts as a terminal to register with the gatekeeper of the public network. Because the H. 323 proxy server has previously converted the IP address in the H. 323 protocol into the public network address of the static NAT of the H. 323 proxy server, the The IP address is the public network address of the H. 323 proxy server.
如图 1所示的采用 H. 323代理服务器的网络的拓朴结构示意图中, 私网中 的终端 1和终端 1都连接在 H. 323代理服务器上, H. 323代理服务器与 NAT设 备相连, NAT设备则连接公网中的网守。 In the schematic diagram of the topology of a network using an H. 323 proxy server as shown in FIG. 1, terminal 1 and terminal 1 in the private network are connected to the H. 323 proxy server, and the H. 323 proxy server is connected to the NAT device. The NAT device is connected to the gatekeeper in the public network.
采用 H. 323代理服务器向网守注册的方法主要有以下两种: There are two main methods for registering with a gatekeeper using an H.323 proxy server:
1 )在 H. 323代理服务器和公网网守之间采用私有协议进行通讯, 当 H. 323 代理服务器收到私网终端的注册消息后, 向网守发起注册, 在注册消息中包含 非标准消息, 网守根据非标准消息知道该注册消息是通过 H. 323代理服务器发 出的, 然后网守记录 H. 323代理服务器发送来的终端的信息, 如果有公网终端 呼叫经过 H. 323代理服务器注册的终端, 则网守就将呼叫定向到 H. 323代理服 务器上。 ' 1) A private protocol is used for communication between the H.323 proxy server and the public network gatekeeper. When the H.323 proxy server receives the registration message from the private network terminal, it initiates registration with the gatekeeper, and the registration message contains non-standard messages. The gatekeeper knows that the registration message is sent by the H.323 proxy server according to the non-standard message, and then the gatekeeper records the information of the terminal sent by the H.323 proxy server. If there is a call from a public network terminal, the H.323 proxy server is registered. Terminal, the gatekeeper directs the call to the H.323 proxy server. '
2 )当 H. 323代理服务器收到私网终端的注册请求后,把注册消息中的注册 地址修改成 H. 323代理服务器的地址, 然后向公网的网守注册。 2) When the H. 323 proxy server receives the registration request from the private network terminal, modify the registered address in the registration message to the address of the H. 323 proxy server, and then register with the gatekeeper of the public network.
在上述第 1种方法中, H. 323终端发出的注册消息中含有非标准消息, 这 需要网守和 H. 323代理服务器之间支持该非标准消息, 这种方法的缺点是显而 易见的, 无法解决互连互通的问题。 In the above first method, the registration message sent by the H. 323 terminal contains a non-standard message, which requires the non-standard message to be supported between the gatekeeper and the H. 323 proxy server. The disadvantage of this method is obvious and cannot be Solve the problem of interconnection.
在第 2种方法中, H. 323代理服务器与网守之间采用 H. 323标准协议,Η. 323 代理服务器转发的终端注册请求中的注册地址采用 Η. 323代理服务器的公网呼 叫地址, 即公网 IP地址 +端口的格式。但是这种方法会出现这种现象, 即所有 通过同一台 H. 323代理服务器注册到公网网守的注册消息都对应同一个地址, 这样需要网守能够实现只检查注册的终端别名(终端名称),对于不存在的终端 别名就添加一条新的注册信息, 这样网守上不同的终端别名就对应了相同的地 址。 但是在实际应用的系统中, 某些类型的网守在收到注册信息时需要检查注
册地址, 如果网守发现注册地址相同, 则认为是相同的终端, 网守就会用新收 到的注册信息覆盖原来的注册信息, 即有些类型的网守不支持多个终端对应同 一个注册地址的情况。 In the second method, the H. 323 proxy server and the gatekeeper adopt the H. 323 standard protocol, and the registered address in the terminal registration request forwarded by the 323 proxy server adopts the public network call address of the 323 proxy server, that is, Public network IP address + port format. However, this method will cause this phenomenon, that is, all registration messages registered to the public network gatekeeper through the same H.323 proxy server correspond to the same address. This requires the gatekeeper to be able to check only the registered terminal alias (terminal name). ), Add a new registration information for the terminal alias that does not exist, so that different terminal aliases on the gatekeeper correspond to the same address. However, in practical systems, some types of gatekeepers need to check when receiving registration information. Register address, if the gatekeeper finds that the registered address is the same, it considers them to be the same terminal, and the gatekeeper will overwrite the original registration information with the newly received registration information, that is, some types of gatekeepers do not support multiple terminals corresponding to the same registration Address situation.
发明内容 Summary of the invention
本发明所要解决的技术问题在于提出一种基于 H. 323协议的私网终端向网 守注册的方法, 克服现有技术中在进行了网络地址转换的 H. 323代理服务器向 网守注册时, 与不同类型的网守不兼容的问题, 以及不支持多个终端对应同一 个注册地址的情况。 The technical problem to be solved by the present invention is to propose a method for registering a private network terminal with a gatekeeper based on the H.323 protocol, which overcomes the problem that when an H.323 proxy server that performs network address translation in the prior art registers with a gatekeeper, Incompatibility with different types of gatekeepers, and the case where multiple terminals do not support the same registered address.
本发明的核心思想是: 在网络地址转换设备上对 H. 323代理服务器进行静 态网络地址转换; 私网终端向 H. 323代理服务器发起注册请求; H. 323代理服 务器对该私网终端动态分配侦听端口, 并且将注册请求中的注册地址修改为 H. 323代理服务器的公网 IP地址和上述分配的侦听端口; H. 323代理服务器向 公网网守进行注册。 The core idea of the present invention is: perform static network address translation on the H. 323 proxy server on the network address translation device; the private network terminal initiates a registration request to the H. 323 proxy server; the H. 323 proxy server dynamically allocates the private network terminal Listening port, and modify the registered address in the registration request to the public IP address of the H.323 proxy server and the listening port allocated above; the H.323 proxy server registers with the public network gatekeeper.
本发明所述基于 H. 323协议的私网终端向网守注册的方法 , 具体包括: 根据 H. 323代理服务器代理的私网终端数目, 建立侦听端口池; 在网络地 址转换设备上对 H. 323代理服务器进行静态网络地址转换, 开放侦听端口池的 端口; 在 H. 323代理服务器上对侦听端口池进行设置; The method for registering a private network terminal based on the H. 323 protocol with a gatekeeper according to the present invention specifically includes: establishing a listening port pool according to the number of private network terminals proxied by the H. 323 proxy server; The 323 proxy server performs static network address translation and opens the port of the listening port pool. Set the listening port pool on the H. 323 proxy server.
私网终端指定公网网守为代理服务器,向 H. 323代理服务器发送注册请求; The private network terminal designates the public network gatekeeper as the proxy server, and sends a registration request to the H.323 proxy server;
H. 323代理服务器收到私网终端的注册请求后, 判断该私网终端是否是第 一次注册; 如果是, 则在侦听端口池中选取一个没有被其它终端占用的端口, 并在该端口上侦听; 如果不是, 则使用已为该私网终端分配的侦听端口; H. The 323 proxy server determines whether the private network terminal is registered for the first time after receiving the registration request from the private network terminal; if so, it selects a port in the listening port pool that is not occupied by another terminal, and Listen on the port; if not, use the listening port assigned to the private network terminal;
H. 323代理服务器将注册请求消息中的注册地址修改为 H. 323代理服务器 经过静态网络地址转换后的公网地址和 H. 323代理服务器为该私网终端分配的
侦听端口, 向网守发送注册请求消息; The H. 323 proxy server modifies the registered address in the registration request message to the public network address of the H. 323 proxy server after static network address translation and the H. 323 proxy server assigns the private network terminal Listening port, sending a registration request message to the gatekeeper;
网守对收到的注册请求进行认证; 如果认证通过, 则记录该私网终端的注 册信息; 网守向 H. 323代理服务器发送确认消息, H. 323代理服务器收到后记 录该私网终端的注册信息, 并向该私网终端发送确认消息, 注册结束; The gatekeeper authenticates the received registration request; if the authentication is passed, the registration information of the private network terminal is recorded; the gatekeeper sends a confirmation message to the H.323 proxy server, and the H.323 proxy server records the private network terminal after receiving it And send a confirmation message to the private network terminal, and the registration ends;
如果认证未通过, 则网守向 H. 323代理服务器发送拒绝消息, H. 323代理 服务器收到后释放该私网终端的侦听端口, 并向该私网终端发送拒绝消息, 注 册结束。 If the authentication fails, the gatekeeper sends a rejection message to the H.323 proxy server. After receiving, the H.323 proxy server releases the listening port of the private network terminal and sends a rejection message to the private network terminal. The registration ends.
在上述方法中, 侦听端口池的端口数目与 H. 323代理服务器代理的私网终 端的数目相等。 In the above method, the number of listening port pool ports is equal to the number of private network terminals proxied by the H.323 proxy server.
在上述方法中, 私网终端向 H. 323代理服务器发送的注册请求中的注册地 址为该私网终端的私网地址和该私网终端上的一个侦听端口。 In the above method, the registered address in the registration request sent by the private network terminal to the H.323 proxy server is the private network address of the private network terminal and a listening port on the private network terminal.
在上述方法中,如果网守对 H. 323代理服务器发来的注册请求的认证通过, 则查看该私网终端是否是第一次注册; 如果是则添加该私网终端的注册信息; 如果该私网终端已经注册过, 则更新该私网终端的注册信息。 In the above method, if the gatekeeper authenticates the registration request sent by the H.323 proxy server, check whether the private network terminal is registered for the first time; if so, add the registration information of the private network terminal; if the If the private network terminal has been registered, the registration information of the private network terminal is updated.
在本发明中, 上述方法还包括私网终端主动取消注册的步骤, 具体是: 私 网终端向 H. 323代理服务器发送取消注册的消息; H. 323代理服务器收到后释 放为该私网终端分配的侦听端口, 然后向网守发送取消注册的消息; 网守收到 取消注册消息后, 向 H. 323代理服务器发送取消注册确认消息; H. 323代理服 务器将收到的取消注册确认消息转发给私网终端, 取消注册结束。 In the present invention, the above method further includes the step of actively canceling the registration of the private network terminal, specifically: the private network terminal sends a message to cancel the registration to the H.323 proxy server; the H. 323 proxy server releases it as the private network terminal after receiving it The assigned listening port then sends a deregistration message to the gatekeeper; after receiving the deregistration message, the gatekeeper sends a deregistration confirmation message to the H.323 proxy server; the H.323 proxy server will receive a deregistration confirmation message Forward to the private network terminal, and cancel the registration.
在本发明中, 上述方法还包括网守取消私网终端的注册的步骤, 具体是: 网守向 H. 323代理服务器发送取消私网终端注册的消息; H. 323代理服务器收 到后译放为被取消注册的私网终端分配的侦听端口, 然后向 私网终端发送取 消注册的消息; 私网终端收到取消注册的消息后, 向 H. 323代理服务器发送取
消注册的确认消息; H. 323 代理服务器将取消注册的确认消息转发给网守, 网 守取消私网终端的注册结束。 In the present invention, the above method further includes the step of the gatekeeper canceling the registration of the private network terminal, which is specifically: the gatekeeper sends a message to cancel the registration of the private network terminal to the H. 323 proxy server; The listening port allocated for the deregistered private network terminal, and then sends a deregistration message to the private network terminal. After receiving the deregistration message, the private network terminal sends a request to the H.323 proxy server. The registration confirmation message is cancelled. The H. 323 proxy server forwards the registration cancellation confirmation message to the gatekeeper, and the gatekeeper cancels the registration of the private network terminal.
本发明方法通过建立一个侦听端口池,并采用相同的公网 IP地址和不同的 侦听端口来标识不同的私网终端, 使得不同的私网终端经过同一台 H. 323代理 服务器发送出来的注册地址不相同, 从而使得网守可以区别不同的私网终端, 解决了多个终端对应同一个公网 IP地址的问题; 同时,本发明在 H. 323代理服 务器与公网网守之间采用标准的 H. 323协议, 提高了 H. 323代理服务器与不同 类型网守之间的互通性。 The method of the present invention establishes a listening port pool, and uses the same public network IP address and different listening ports to identify different private network terminals, so that different private network terminals pass through the same H.323 proxy server. The registered addresses are different, so that the gatekeeper can distinguish different private network terminals, and solves the problem that multiple terminals correspond to the same public network IP address. At the same time, the invention adopts a standard between the H.323 proxy server and the public network gatekeeper. The H. 323 protocol improves the interoperability between H. 323 proxy servers and different types of gatekeepers.
附图说明 ' BRIEF DESCRIPTION OF THE DRAWINGS
图 1是采用 H. 323代理服务器的网络的拓朴结构示意图; Figure 1 is a schematic diagram of the topology of a network using an H.323 proxy server;
图 2是本发明注册方法的流程图; 2 is a flowchart of a registration method of the present invention;
图 3是本发明中私网终端主动取消注册的流程图; 3 is a flowchart of a private network terminal actively canceling registration in the present invention;
图 4是本发明中网守取消私网终端的注册的流程图。 FIG. 4 is a flowchart of the gatekeeper canceling the registration of the private network terminal in the present invention.
具体实施方式 detailed description
下面结合附图和实施例对本发明做进一步的详细说明。 The present invention will be further described in detail below with reference to the accompanying drawings and embodiments.
图 1是采用 H. 323代理服务器的网络的示意图, 已在背景技术中说明。 本 发明方法也是基于图 1所示的网络, 其中 H. 323代理服务器和公网网守之间的 消息采用 H. 323标准协议进行交互。 FIG. 1 is a schematic diagram of a network using an H. 323 proxy server, which has been described in the background art. The method of the present invention is also based on the network shown in FIG. 1, in which messages between the H.323 proxy server and the public network gatekeeper use the H.323 standard protocol for interaction.
本发明的核心思想在于: 在 H. 323标准协议中, 私网终端的注册地址是采 用该终端的私网 IP地址加上该终端的侦听端口的方式来表示的,当私网终端向 H. 323 代理服务器注册时, 对不同的私网终端动态分配侦听端口, 采用相同的 H. 323代理服务器的公网 IP地址和不同的侦听端口来标识不同的私网终端, 使 得不同的私网终端经过同一台 H. 323 代理服务器发送出来的注册地址是不同
的, 从而增强了与不同网守之间的互通性能。 The core idea of the present invention lies in: In the H.323 standard protocol, the registered address of a private network terminal is expressed by using the private network IP address of the terminal plus the listening port of the terminal. When the 323 proxy server is registered, it dynamically allocates listening ports to different private network terminals, and uses the same public IP address of the H.323 proxy server and different listening ports to identify different private network terminals, so that different private network terminals The registered address sent by the network terminal through the same H. 323 proxy server is different , Thereby enhancing the interworking performance with different gatekeepers.
本发明方法的主要过程为: 首先 H. 323代理服务器建立一个侦听端口池, H. 323 代理服务器收到私网终端的注册请求后, 从侦听端口池中取出一个侦听 端口,把私网终端注册请求的注册地址修改为 H, 323代理服务器的公网 IP地址 和为该终端分配的侦听端口, 然后向网守进行注册, 如果注册失败, 则 H. 323 代理服务器释放该私网终端的侦听端口, 以供其它终端注册时使用。 The main process of the method of the present invention is as follows: First, the H.323 proxy server establishes a listening port pool. After receiving the registration request of the private network terminal, the H.323 proxy server removes a listening port from the listening port pool, and The registered address of the network terminal registration request is modified to the public IP address of the H, 323 proxy server and the listening port assigned to the terminal, and then registered with the gatekeeper. If the registration fails, the H. 323 proxy server releases the private network. The listening port of the terminal for use by other terminals when registering.
本发明方法的具体步骤如图 2所示。 首先, H. 323代理服务器根据需代理 的私网终端数目, 定义一个侦听端口池, 即一段端口地址; 在本发明的一个实 施例中, 侦听端口池的端口数目与 H. 323代理服务器代理的私网终端的数目相 等。 接着, 在网络地址转换 NAT设备上对 H. 323代理服务器进行静态 NAT, 得 到 H, 323代理服务器的公网 IP地址, 然后开放侦听端口池,允许 NAT设备外的 终端访问 Η.' 323代理服务器侦听的端口; 在 Η. 323代理服务器上对侦听端口池 进行设置, 然后启动 Η. 323代理服务器。 私网终端指定网守为代理服务器, 并 向 Η. 323代理月良务器发送注册请求, 其中的注册地址为该私网终端的私网地址 和该私网终端上的一个侦听端口。 Η. 323 代理服务器收到私网终端的注册请求 后, 判断该私网终端是否是第一次注册; 具体的判断方法是检查本代理服务器 上是否存在该私网终端的记录。 如果不存在该私网终端的记录, 则表明该私网 终端不是第一次注册, 使用已为该私网终端分配的侦听端口进行侦听; 如果存 在, 则表明终端是第一次注册, 则在侦听端口池中选取一个没有被其它私网终 端占用的端口, 并在这个端口上侦听。 然后 Η. 323代理服务器对收到的注册请 求消息进行修改, 将注册地址修改为 Η. 323代理服务器的公网地址和 Η. 323代 理服务器为该私网终端分配的侦听端口, 然后向网守发送注册消息。 网守收到 Η. 323 代理服务器的注册请求消息后进行认证, 如果认证通过且该私网终端是
第一次注册, 则添加该私网终端的注册信息; 如杲认证通过且该私网终端已经 注册过, 则更新该私网终端的注册信息。 最后网守向 H. 323代理服务器发送注 册确认消息, H. 323 代理服务器收到后记录该私网终端的注册信息, 并向该私 网终端发送确认消息, 注册结束。 如果网守对注册请求消息的认证未通过, 则 网守向 H. 323代理服务器发送注册拒绝消息, H. 323代理服务器收到后释放为 该私网终端分配的侦听端口,.并向该私网终端发送拒绝消息, 注册结束。 The specific steps of the method of the present invention are shown in FIG. 2. First, the H.323 proxy server defines a listening port pool, that is, a segment of a port address according to the number of private network terminals that need to be proxyed. In one embodiment of the present invention, the number of ports listening on the port pool is the same as that of the H.323 proxy server. The number of proxy private network terminals is equal. Next, perform static NAT on the H.323 proxy server on the network address translation NAT device to obtain the public IP address of the H, 323 proxy server, and then open the listening port pool to allow terminals outside the NAT device to access the Η. 323 proxy The port on which the server listens; set the listening port pool on the 323 proxy server, and then start the 323 proxy server. The private network terminal designates the gatekeeper as a proxy server, and sends a registration request to the 323 proxy month server, where the registered address is the private network address of the private network terminal and a listening port on the private network terminal. Η. After receiving the registration request from the private network terminal, the 323 proxy server determines whether the private network terminal is registered for the first time. The specific judgment method is to check whether the record of the private network terminal exists on the proxy server. If there is no record of the private network terminal, it indicates that the private network terminal is not registered for the first time, and the listening port allocated for the private network terminal is used for listening; if it exists, it indicates that the terminal is the first registration, Then, select a port in the listening port pool that is not occupied by other private network terminals, and listen on this port. Then, the 323 proxy server modifies the received registration request message, and changes the registered address to Η. The public network address of the 323 proxy server and Η. The listening port assigned by the 323 proxy server to the private network terminal, and then sends it to the network. Shou sends a registration message. The gatekeeper performs authentication after receiving the registration request message from the 323 proxy server. If the authentication succeeds and the private network terminal is For the first registration, the registration information of the private network terminal is added; if the authentication is passed and the private network terminal has been registered, the registration information of the private network terminal is updated. Finally, the gatekeeper sends a registration confirmation message to the H. 323 proxy server. After receiving, the H. 323 proxy server records the registration information of the private network terminal, and sends a confirmation message to the private network terminal, and the registration ends. If the gatekeeper fails the authentication of the registration request message, the gatekeeper sends a registration rejection message to the H.323 proxy server. After receiving the H.323 proxy server, it releases the listening port allocated for the private network terminal, and sends the The private network terminal sends a rejection message, and the registration ends.
如图 3所示, 私网终端主动取消注册的步骤包括: 私网终端向 H. 323代理 服务器发送取消注册的消息; H. 323 代理服务器收到后释放为该私网终端分配 的侦听端口, 然后向网守发送取消注册的消息; 网守收到取消注册消息后, 向 H. 323代理服务器发送取消注册确认消息; H. 323代理服务器将收到的取消注册 确认消息向私网终端转发, 至此, 取消注册过程结束。 As shown in FIG. 3, the step of actively canceling the registration of the private network terminal includes: The private network terminal sends a deregistration message to the H.323 proxy server; the H. 323 proxy server releases the listening port allocated for the private network terminal after receiving the message. , And then send a deregistration message to the gatekeeper; after receiving the deregistration message, the gatekeeper sends a deregistration confirmation message to the H.323 proxy server; the H.323 proxy server forwards the received deregistration confirmation message to the private network terminal At this point, the deregistration process ends.
如图 4所示的网守取消私网终端注册的过程, 包括: 网守向 H. 323代理服 务器发送取消注册私网终端的消息; H. 323 代理服务器收到后释放为被取消的 注册私网终端分配的侦听端口, 然后向该私网终端发送取消注册的消息; 该私 网终端收到 H. 323代理服务器的取消注册消息后, 向 H. 323代理服务器发送取 消注册确认消息; H. 323 代理服务器收到取消注册确认消息后向网守转发, 至 此, 网守取消私网终端注册的过程结束。 The process of the gatekeeper canceling the registration of the private network terminal shown in FIG. 4 includes: the gatekeeper sends a message to the H.323 proxy server to cancel the registration of the private network terminal; the H. 323 proxy server releases it as the cancelled registration private server after receiving it. The listening port allocated by the network terminal, and then sends a deregistration message to the private network terminal; after receiving the deregistration message from the H.323 proxy server, the private network terminal sends a deregistration confirmation message to the H.323 proxy server; H 323 The proxy server forwards the message to the gatekeeper after receiving the deregistration confirmation message. At this point, the process of the gatekeeper canceling the registration of the private network terminal ends.
最后所应说明的是, 以上实施例仅用以说明本发明的技术方案而非限制, 尽管参照较佳实施例对本发明进行了详细说明, 本领域的普通技术人员应当理 解, 可以对本发明的技术方案进行修改或者等同替换, 而不脱离本发明技术方 案的精神和范围, 其均应涵盖在本发明的权利要求范围当中。
Finally, it should be noted that the above embodiments are only used to illustrate the technical solutions of the present invention and are not limiting. Although the present invention is described in detail with reference to the preferred embodiments, those skilled in the art should understand that the technology of the present invention can be Modifications or equivalent replacements of the solutions without departing from the spirit and scope of the technical solutions of the present invention should be covered by the claims of the present invention.