WO2012000364A1 - Method and system for implementing cross-segment signaling intercommunication in video conference system - Google Patents
Method and system for implementing cross-segment signaling intercommunication in video conference system Download PDFInfo
- Publication number
- WO2012000364A1 WO2012000364A1 PCT/CN2011/074993 CN2011074993W WO2012000364A1 WO 2012000364 A1 WO2012000364 A1 WO 2012000364A1 CN 2011074993 W CN2011074993 W CN 2011074993W WO 2012000364 A1 WO2012000364 A1 WO 2012000364A1
- Authority
- WO
- WIPO (PCT)
- Prior art keywords
- terminal
- ras
- message
- registration
- gatekeeper
- Prior art date
Links
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L12/00—Data switching networks
- H04L12/02—Details
- H04L12/16—Arrangements for providing special services to substations
- H04L12/18—Arrangements for providing special services to substations for broadcast or conference, e.g. multicast
- H04L12/1813—Arrangements for providing special services to substations for broadcast or conference, e.g. multicast for computer conferences, e.g. chat rooms
Definitions
- the present invention relates to the field of conference television technology, and in particular, to a method and system for implementing inter-network segment signaling interworking of a conference television system. Background technique
- the conference television system refers to a communication technology that uses television and special equipment to connect conference rooms in two or more places through communication and computer networks, and to hold real-time, two-way and interactive visual conferences by television.
- the conference television system can connect multiple independent subnets and allow terminals in these subnets to join the same conference. Since each subnet belongs to a different network, the subnets cannot communicate with each other. Therefore, how to ensure each subnet can be ensured.
- the technical problem to be solved by the present invention is to provide a method and system for implementing inter-network segment signaling intercommunication of a conference television system, which is used to implement interworking of RAS signaling between a terminal and a gatekeeper in different network segments.
- the present invention provides a method for implementing inter-network segment signaling interworking of a conference television system, the method comprising:
- the terminal registers with the registration, access authentication, and status query (RAS) proxy.
- RAS registration, access authentication, and status query
- the RAS proxy After receiving the RAS signaling message initiated by the terminal, the RAS proxy establishes a mapping between the serial number in the RAS signaling message and the source IP address and port of the terminal. Relationship, and forward the RAS signaling message to the gatekeeper;
- the RAS proxy After receiving the RAS response message of the gatekeeper reply, the RAS proxy sends the RAS response message to the corresponding terminal according to the established mapping relationship.
- the RAS signaling message initiated by the terminal includes: a registration request, a call request, a cancellation registration request, a deletion terminal request or a state keep-alive request.
- the method package includes:
- the RAS proxy When receiving the registration request message of the terminal, the RAS proxy replaces the first serial number in the registration request message with the second serial number, and then forwards the registration request message to the gatekeeper; and the first serial number is The second sequence number and the mapping relationship between the source IP address and the port of the terminal are recorded in the forwarding mapping table;
- the RAS agent When receiving the registration confirmation or registration rejection message of the gatekeeper reply, the RAS agent searches for the forwarding mapping table according to the second serial number in the registration confirmation or registration rejection message, and restores the second serial number to After the first serial number, the registration confirmation or registration rejection message is forwarded to the corresponding terminal according to the IP address and port corresponding to the found second serial number.
- the method further includes:
- the terminal list is created or updated according to the port identifier, source IP address, and port of the terminal in the registration confirmation or registration rejection message, and the terminal list is used for saving.
- the RAS proxy searches the terminal list according to the terminal identifier in the RAS signaling message, and according to the found The IP address and port corresponding to the terminal identifier forward the RAS signaling message to the corresponding terminal.
- the method further includes:
- the RAS agent After receiving the registration request message sent by the terminal, the RAS agent deletes the terminal of the terminal in the terminal list if the registration request message or the state keep-alive request message of the terminal is not received within a predetermined length of time. Identification, source IP address and port.
- the RAS signaling message initiated by the gatekeeper includes: a deletion request, a status request; and the gatekeeper carries the terminal identifier in the initiated status request message when the status request message is initiated.
- the invention also provides a system for realizing inter-network segment signaling intercommunication of a conference television system, the system comprising: a gatekeeper and a RAS agent,
- the RAS proxy is configured to: after receiving the RAS signaling message initiated by the terminal, establish a mapping relationship between the sequence number in the RAS signaling message and the source IP address and port of the terminal, and forward the RAS signaling message to Gatekeeper; and, after receiving the RAS response message from the gatekeeper, according to the establishment The mapping relationship sends the RAS response message to a corresponding terminal;
- the gatekeeper is configured to: after receiving the RAS signaling message sent by the RAS proxy, replying to the RAS response message.
- the terminal initiated RAS signaling message includes a registration request message
- the RAS proxy is configured to: when receiving the registration request message of the terminal, after replacing the first serial number in the registration request message with the second serial number, forwarding the registration request message to the gatekeeper; The mapping relationship between the first serial number, the second serial number, and the source IP address and the port of the terminal is recorded in the forwarding mapping table; and when the registration confirmation or registration rejection message of the gatekeeper reply is received, according to the registration confirmation Or searching for the forwarding mapping table by using the second serial number in the registration rejection message, and after the second serial number is restored to the first serial number, the registration confirmation or registration rejection message is based on the found second The IP address and port corresponding to the serial number are forwarded to the corresponding terminal.
- the RAS proxy is further configured to: when receiving the registration confirmation or registration rejection message, create or update a terminal list according to a terminal identifier, a source IP address, and a port of the terminal in the registration confirmation message, where the terminal The list stores the terminal identifier of the terminal, the source IP address, and the corresponding relationship of the port.
- the terminal When receiving the RAS signaling message initiated by the gatekeeper, the terminal searches the terminal list according to the terminal identifier in the RAS signaling message, and correspondingly searches according to the found terminal identifier. IP address and port forward the RAS signaling message to the corresponding terminal;
- the RAS signaling message initiated by the gatekeeper includes: a deletion request, a status request, and the gatekeeper is further configured to: carry the terminal identifier in the message that initiates the status request.
- the RAS proxy is further configured to: after receiving the registration request message sent by the terminal, if the registration request message or the state keep-alive request message of the terminal is not received within a predetermined length of time, deleting the The terminal ID, source IP address, and port of the terminal in the terminal list.
- FIG. 1 is a schematic diagram of networking for implementing RAS signaling inter-network segment interworking according to an embodiment of the present invention
- FIG. 2 is a schematic diagram of RAS signaling interaction between modules according to an embodiment of the present invention
- FIG. 3 is a schematic diagram of signaling forwarding implemented by a RAS proxy in a scenario in which an RRQ is sent by a terminal according to an embodiment of the present invention
- FIG. 4 is a schematic diagram of signaling forwarding implemented by a RAS proxy in a scenario in which a gatekeeper sends a DRQ according to an embodiment of the present invention.
- the present invention provides a scheme for inter-network segment signaling interworking of a conference television system, and the basic structure thereof is as follows:
- the RAS signaling between the terminal and the gatekeeper passes through the transmission mechanism of the RAS proxy, which specifically involves the following two aspects:
- the gatekeeper passively sends RAS signaling
- the terminal first sends a registration request (RRQ) message to the gatekeeper, and the gatekeeper replies to the terminal registration confirmation (Registration) Confirm, RCF) or the case of the registration reject (RRJ) message
- the other is the RAS signaling initiated by the gatekeeper, such as the hang-up terminal registration that the gatekeeper actively sends to the terminal. Instructs the message terminal to delete the request (Disengage Request, DRQ).
- RAS signaling is based on the User Datagram Protocol (UDP) question and answer, that is, the terminal sends a request, and then the gatekeeper answers the request, for example, RRQ (Q) corresponds to RCF (A);
- the RAS signaling contains a sequence number (sqNum) field. Therefore, the sqNum can be used as an index to establish a correspondence between the RAS message and the identifier or IP address of the corresponding terminal, thereby completing the request ⁇ -> response flow between the terminal and the gatekeeper.
- the present invention provides a method for implementing inter-network segment signaling interworking of a conference television system. After the terminal registers with the RAS proxy, the method includes:
- the RAS proxy When receiving the RAS signaling message initiated by the terminal, the RAS proxy establishes a mapping relationship between the sequence number in the RAS signaling message and the source IP address and port of the terminal, and forwards the RAS signaling message to the gatekeeper;
- the RAS proxy After receiving the RAS response message of the gatekeeper reply, the RAS proxy sends the RAS response message to the corresponding terminal according to the established mapping relationship.
- the RAS signaling message initiated by the terminal includes: a registration request (RRQ), a call request (ARQ), a deregistration request (URQ), a delete terminal request (DRQ), or a state keepalive request (IRR).
- RRQ registration request
- ARQ call request
- URQ deregistration request
- DRQ delete terminal request
- IRR state keepalive request
- the RAS proxy specifically implements the interworking processing of the RAS signaling across the network segment as follows:
- the RAS proxy When the RAS proxy receives the RRQ message of the terminal, it generates a new sqNum, and replaces the original sqNum (hereinafter also referred to as the first sqNum) in the RRQ message with the generated new sqNum (hereinafter also referred to as the second sqNum). After the RRQ message is forwarded to the gatekeeper; and the mapping relationship between the first sqNum, the second sqNum, and the source IP address and port of the terminal is recorded in the forwarding mapping table;
- the RAS proxy When receiving the RCF or RRJ message of the gatekeeper reply, the RAS proxy searches the forwarding map according to the second sqNum in the RCF or RRJ message, and restores the second sqNum in the RCF or RRJ message to the first sqNum. And forwarding the RCF or RRJ message to the corresponding terminal according to the found IP address and port corresponding to the second sqNum.
- the content saved in the forwarding mapping table in the present invention includes the original sqNum, new sqNum, IP address and port.
- the RAS agent determines whether the IP address and the terminal identifier of the terminal have been recorded, and if not, saves the IP address and the terminal identifier of the terminal in the terminal list;
- the RAS agent When receiving the RAS signaling message (such as a DRQ message, an IRQ message, etc.) initiated by the gatekeeper, the RAS agent searches the terminal list according to the terminal identifier in the RAS signaling message, and according to the IP address and port corresponding to the found terminal identifier. And forwarding the RAS signaling message to the corresponding terminal.
- the RAS signaling message such as a DRQ message, an IRQ message, etc.
- FIG. 1 is a schematic diagram of networking for implementing a RAS signaling inter-network segment interworking system according to an embodiment of the present invention.
- the system includes a terminal and a gatekeeper.
- the terminal protocol stack is in different network segments and cannot communicate with each other.
- the RAS agent is introduced in the embodiment, and the main functions implemented by each network element are as follows:
- the terminal protocol stack mainly implements signaling interaction with the gatekeeper and the multipoint control module (MCU); the gatekeeper is mainly responsible for handling terminal registration, call, bandwidth management, etc.;
- the RAS proxy is mainly used to implement the interworking processing of the RAS signaling across the network segment, including: sending the terminal protocol stack in the network segment B to the proxy RAS message, and forwarding the network protocol to the gatekeeper through another network segment A; The RAS message of the gatekeeper in segment A is forwarded to the terminal through network segment B.
- the registration of the conference terminal (also referred to as the terminal) to the RAS proxy can be implemented as follows:
- the RAS proxy can span multiple network segments. In the case of multiple network segments, each network segment has a corresponding IP address.
- the RAS proxy can listen for packets on the IP addresses of multiple network segments.
- the terminal is registered to the IP address of the network segment corresponding to the RAS proxy.
- the RAS agent has the RAS codec function and can resolve RAS signaling.
- RAS signaling only need to update sqNum, or extract some related information (such as IP address, port information, etc.) to save, other content without modification, directly forward all the content.
- RAS agent is also used to:
- the network segment A After receiving the RCF or RRJ message from the gatekeeper, the network segment A determines whether the RCF message has been recorded. If the terminal identifier, the source IP address, and the port of the terminal are not recorded, create a terminal list, and save the terminal identifier, source IP address, and port in the RCF message in the newly created terminal list. Update the list of recorded terminals.
- the RAS agent when it receives other messages from network segment B, it should also determine the source IP and port. If there is already a corresponding record, it will forward it to the gatekeeper; if there is no record, it indicates that the terminal has not been registered, then discard it. .
- the RAS proxy may, after receiving the RAS signaling message initiated by the gatekeeper, search for the saved terminal list according to the terminal identifier carried in the RAS signaling message, and forward the RAS signaling message to the corresponding terminal.
- the RAS proxy can establish a timeout mechanism. If the RRQ (including the keep-alive RRQ or the full RRQ) or the IRR message is not received within a predetermined length of time (such as 10 minutes) after receiving the RRQ message of the terminal, delete the corresponding Source IP address, port, and terminal ID in the terminal list.
- a predetermined length of time such as 10 minutes
- RAS signaling is ⁇ UDP question and answer.
- the RAS signaling interaction process between modules is shown in Figure 2.
- the RAS signaling initiated by the terminal includes: a registration request message, an ARQ (call request message), a URQ (unregistration request message), a DRQ (delete request message), or an RR (state keep-alive message).
- the RAS signaling initiated by the gatekeeper includes: DRQ (Delete Request Message), IRQ (Terminal State Request Message), and the like.
- the DRQ message can be initiated by the terminal or by the GK.
- FIG. 3 shows the process of transmitting the RRQ by the terminal as an example.
- the RAS proxy implements the signaling forwarding process.
- the forwarding policy is also applicable. As shown in Figure 3, the process is described as follows:
- the RAS agent After the RAS agent receives the RRQ message sent by the terminal, because there is only one gatekeeper, the RAS signaling can be directly forwarded to the gatekeeper, and a forwarding mapping table is established according to the sqNum sequence number in the RAS signaling before the transmission. The table stores the IP address, identity, port and other related information of the relevant terminal.
- the RAS proxy After receiving the RCF message of the gatekeeper reply, the RAS proxy parses the sequence number in the message and finds the IP address of the corresponding terminal according to the index, and sends the IP address to the corresponding terminal. .
- the terminal list is also created or updated according to the IP address and the terminal identifier of the terminal in the RCF message, where the terminal list is used for saving. Correspondence between the IP address, port, and terminal ID of the terminal.
- FIG. 4 shows the process of sending a DRQ by a gatekeeper as an example.
- the RAS proxy implements the signaling forwarding process.
- the forwarding policy is also applicable. As shown in Figure 4, the process is described as follows:
- the terminal list established by the previous RAS proxy is used.
- the terminal list is mainly indexed by the terminal identifier (endPointID), and the IP address and port information of the terminal are mainly saved, so that the RAS proxy
- the corresponding terminal address can be found through the terminal list. That is, when the RAS proxy receives the RAS signaling message initiated by the gatekeeper, it searches the terminal list according to the terminal identifier in the RAS signaling message, and then the RAS signaling according to the IP address and port corresponding to the found terminal identifier. The message is forwarded to the corresponding terminal.
Landscapes
- Engineering & Computer Science (AREA)
- General Engineering & Computer Science (AREA)
- Multimedia (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Data Exchanges In Wide-Area Networks (AREA)
- Telephonic Communication Services (AREA)
Abstract
A method and system for implementing cross-segment signaling intercommunication in a video conference system are provided in the present invention, which is used to implement the registration, admission and status (RAS) signaling intercommunication between terminals in different network segments and the gatekeeper in the external network. The method includes: a terminal registers to an RAS agent, after receiving an RAS signaling message sent from the terminal, the RAS agent establishes a mapping relationship between the sequence number in the RAS signaling message and the source IP address and port of the terminal, and forwards the RAS signaling message to the gatekeeper; after receiving an RAS response message returned from the gatekeeper, the RAS agent sends, according to the established mapping relationship, the RAS response message to the corresponding terminal.
Description
实现会议电视系统跨网段信令互通的方法及系统 Method and system for realizing inter-network segment signaling intercommunication of conference television system
技术领域 Technical field
本发明涉及会议电视技术领域, 尤其涉及一种实现会议电视系统跨网段 信令互通的方法及系统。 背景技术 The present invention relates to the field of conference television technology, and in particular, to a method and system for implementing inter-network segment signaling interworking of a conference television system. Background technique
会议电视系统是指利用电视和专用设备, 通过通信、 计算机网络, 将两 地或多个地点的会议室连接起来, 以电视方式召开实时、 双向、 交互式的可 视会议的一种通信技术。 会议电视系统能够连接多个独立的子网, 并允许这 些子网内的终端加入同一个会议, 由于每个子网属于不同的网络, 各子网间 不能互通, 因此, 如何能实现确保每个子网中的终端能够与互联网上的网守 之间的注册、 接入认证和状态查询 ( Registration、 Admission & Status , RAS ) 信令互通就成为一个需要解决的问题。 发明内容 The conference television system refers to a communication technology that uses television and special equipment to connect conference rooms in two or more places through communication and computer networks, and to hold real-time, two-way and interactive visual conferences by television. The conference television system can connect multiple independent subnets and allow terminals in these subnets to join the same conference. Since each subnet belongs to a different network, the subnets cannot communicate with each other. Therefore, how to ensure each subnet can be ensured. The interworking between the terminal in the terminal and the gatekeeper on the Internet, such as registration, access authentication, and status inquiry (Registration, Admission & Status, RAS), becomes a problem to be solved. Summary of the invention
本发明解决的技术问题是提供一种实现会议电视系统跨网段信令互通的 方法及系统, 用于实现不同网段中的终端与网守之间的 RAS信令的互通。 The technical problem to be solved by the present invention is to provide a method and system for implementing inter-network segment signaling intercommunication of a conference television system, which is used to implement interworking of RAS signaling between a terminal and a gatekeeper in different network segments.
为解决上述技术问题, 本发明提供了一种实现会议电视系统跨网段信令 互通的方法, 该方法包括: To solve the above technical problem, the present invention provides a method for implementing inter-network segment signaling interworking of a conference television system, the method comprising:
终端注册到注册、 接入认证和状态查询 (RAS )代理, RAS代理收到终 端发起的 RAS信令消息后, 建立该 RAS信令消息中的序列号与该终端的源 IP地址及端口的映射关系, 并将该 RAS信令消息转发至网守; 以及 The terminal registers with the registration, access authentication, and status query (RAS) proxy. After receiving the RAS signaling message initiated by the terminal, the RAS proxy establishes a mapping between the serial number in the RAS signaling message and the source IP address and port of the terminal. Relationship, and forward the RAS signaling message to the gatekeeper;
所述 RAS代理收到网守回复的 RAS响应消息后, 才艮据建立的所述映射 关系将所述 RAS响应消息发送至相应的终端。 After receiving the RAS response message of the gatekeeper reply, the RAS proxy sends the RAS response message to the corresponding terminal according to the established mapping relationship.
优选地, 所述终端发起的 RAS信令消息包括: 注册请求、 呼叫请求, 取 消注册请求, 删除终端请求或状态保活请求。 Preferably, the RAS signaling message initiated by the terminal includes: a registration request, a call request, a cancellation registration request, a deletion terminal request or a state keep-alive request.
优选地, 所述终端发起的 RAS信令消息为注册请求消息时, 所述方法包
括: Preferably, when the RAS signaling message initiated by the terminal is a registration request message, the method package Includes:
RAS代理接收到终端的注册请求消息时, 将所述注册请求消息中的第一 序列号替换为第二序列号后, 将所述注册请求消息转发至网守; 并将所述第 一序列号、 第二序列号及该终端的源 IP地址和端口的映射关系记录到转发映 射表中; 以及 When receiving the registration request message of the terminal, the RAS proxy replaces the first serial number in the registration request message with the second serial number, and then forwards the registration request message to the gatekeeper; and the first serial number is The second sequence number and the mapping relationship between the source IP address and the port of the terminal are recorded in the forwarding mapping table;
RAS代理接收到网守回复的注册确认或注册拒绝消息时, 才艮据所述注册 确认或注册拒绝消息中的第二序列号查找所述转发映射表, 并将所述第二序 列号还原为第一序列号后, 将所述注册确认或注册拒绝消息根据查找到的所 述第二序列号对应的 IP地址和端口转发至相应的终端。 When receiving the registration confirmation or registration rejection message of the gatekeeper reply, the RAS agent searches for the forwarding mapping table according to the second serial number in the registration confirmation or registration rejection message, and restores the second serial number to After the first serial number, the registration confirmation or registration rejection message is forwarded to the corresponding terminal according to the IP address and port corresponding to the found second serial number.
优选地, 所述方法还包括: Preferably, the method further includes:
所述 RAS代理接收到所述注册确认或注册拒绝消息时,根据所述注册确 认或注册拒绝消息中该终端的端口标识、 源 IP地址及端口创建或更新终端列 表, 所述终端列表用于保存终端的端口标识、 源 IP地址及端口的对应关系; 所述 RAS代理收到网守发起的 RAS信令消息时, 根据所述 RAS信令消 息中的终端标识查找终端列表, 并根据查找到的终端标识对应的 IP地址及端 口将所述 RAS信令消息转发至相应的终端。 When the RAS proxy receives the registration confirmation or registration rejection message, the terminal list is created or updated according to the port identifier, source IP address, and port of the terminal in the registration confirmation or registration rejection message, and the terminal list is used for saving. Corresponding relationship between the port identifier, the source IP address, and the port of the terminal; when receiving the RAS signaling message initiated by the gatekeeper, the RAS proxy searches the terminal list according to the terminal identifier in the RAS signaling message, and according to the found The IP address and port corresponding to the terminal identifier forward the RAS signaling message to the corresponding terminal.
优选地, 所述方法还包括: Preferably, the method further includes:
所述 RAS代理接收到终端发送的所述注册请求消息后,如果在预定的时 间长度内未收到该终端的注册请求消息或状态保活请求消息, 则删除所述终 端列表中该终端的终端标识、 源 IP地址及端口。 After receiving the registration request message sent by the terminal, the RAS agent deletes the terminal of the terminal in the terminal list if the registration request message or the state keep-alive request message of the terminal is not received within a predetermined length of time. Identification, source IP address and port.
优选地, 所述网守发起的 RAS信令消息包括: 删除请求、 状态请求; 且所述网守在发起状态请求消息时, 在发起的状态请求消息中携带终端 标识。 Preferably, the RAS signaling message initiated by the gatekeeper includes: a deletion request, a status request; and the gatekeeper carries the terminal identifier in the initiated status request message when the status request message is initiated.
本发明还提供了一种实现会议电视系统跨网段信令互通的系统, 该系统 包括: 网守和 RAS代理, The invention also provides a system for realizing inter-network segment signaling intercommunication of a conference television system, the system comprising: a gatekeeper and a RAS agent,
所述 RAS代理设置为:接收到终端发起的 RAS信令消息后,建立该 RAS 信令消息中的序列号与该终端的源 IP地址及端口的映射关系, 并将该 RAS 信令消息转发至网守; 以及, 接收到网守回复的 RAS响应消息后, 根据建立
的所述映射关系将所述 RAS响应消息发送至相应的终端; The RAS proxy is configured to: after receiving the RAS signaling message initiated by the terminal, establish a mapping relationship between the sequence number in the RAS signaling message and the source IP address and port of the terminal, and forward the RAS signaling message to Gatekeeper; and, after receiving the RAS response message from the gatekeeper, according to the establishment The mapping relationship sends the RAS response message to a corresponding terminal;
所述网守设置为: 接收到所述 RAS代理发送的 RAS信令消息后, 回复 RAS响应消息。 The gatekeeper is configured to: after receiving the RAS signaling message sent by the RAS proxy, replying to the RAS response message.
优选地, 所述终端发起的 RAS信令消息包括注册请求消息; Preferably, the terminal initiated RAS signaling message includes a registration request message;
所述 RAS代理是设置为: 接收到终端的注册请求消息时, 将所述注册请 求消息中的第一序列号替换为第二序列号后, 将所述注册请求消息转发至网 守; 并将所述第一序列号、 第二序列号及该终端的源 IP地址和端口的映射关 系记录到转发映射表中; 以及接收到网守回复的注册确认或注册拒绝消息时, 根据所述注册确认或注册拒绝消息中的第二序列号查找所述转发映射表, 并 将所述第二序列号还原为第一序列号后, 将所述注册确认或注册拒绝消息根 据查找到的所述第二序列号对应的 IP地址和端口转发至相应的终端。 The RAS proxy is configured to: when receiving the registration request message of the terminal, after replacing the first serial number in the registration request message with the second serial number, forwarding the registration request message to the gatekeeper; The mapping relationship between the first serial number, the second serial number, and the source IP address and the port of the terminal is recorded in the forwarding mapping table; and when the registration confirmation or registration rejection message of the gatekeeper reply is received, according to the registration confirmation Or searching for the forwarding mapping table by using the second serial number in the registration rejection message, and after the second serial number is restored to the first serial number, the registration confirmation or registration rejection message is based on the found second The IP address and port corresponding to the serial number are forwarded to the corresponding terminal.
优选地, 所述 RAS代理还设置为: 接收到所述注册确认或注册拒绝消息 时, 根据所述注册确认消息中该终端的终端标识、 源 IP地址及端口创建或更 新终端列表, 所述终端列表保存终端的终端标识、 源 IP地址及端口的对应关 系; 收到网守发起的 RAS信令消息时, 根据该 RAS信令消息中的终端标识 查找终端列表, 并根据查找到的终端标识对应的 IP地址及端口将所述 RAS 信令消息转发至相应的终端; Preferably, the RAS proxy is further configured to: when receiving the registration confirmation or registration rejection message, create or update a terminal list according to a terminal identifier, a source IP address, and a port of the terminal in the registration confirmation message, where the terminal The list stores the terminal identifier of the terminal, the source IP address, and the corresponding relationship of the port. When receiving the RAS signaling message initiated by the gatekeeper, the terminal searches the terminal list according to the terminal identifier in the RAS signaling message, and correspondingly searches according to the found terminal identifier. IP address and port forward the RAS signaling message to the corresponding terminal;
其中, 所述网守发起的 RAS信令消息包括: 删除请求、 状态请求, 且所 述网守还设置为: 在发起状态请求的消息中携带终端标识。 The RAS signaling message initiated by the gatekeeper includes: a deletion request, a status request, and the gatekeeper is further configured to: carry the terminal identifier in the message that initiates the status request.
优选地, 所述 RAS代理还设置为: 接收到终端发送的所述注册请求消息 后, 如果在预定的时间长度内未收到该终端的注册请求消息或状态保活请求 消息, 则删除所述终端列表中该终端的终端标识、 源 IP地址及端口。 Preferably, the RAS proxy is further configured to: after receiving the registration request message sent by the terminal, if the registration request message or the state keep-alive request message of the terminal is not received within a predetermined length of time, deleting the The terminal ID, source IP address, and port of the terminal in the terminal list.
釆用本发明技术方案, 可以实现多个分布在不同网段(这些网段不能互 通)的终端与处于外网的网守进行 RAS信令方面的通讯。 该方案实现起来较 为简单, 并且, 由于只需要使用一个外网网守就可以同时实现多个网段的终 端的注册需求, 从而节省了 IP地址资源。 附图概述
图 1为本发明实施例的实现 RAS信令跨网段互通的组网示意图; 图 2为本发明实施例的各个模块之间的 RAS信令交互示意图; With the technical solution of the present invention, multiple terminals distributed in different network segments (the network segments cannot be intercommunicated) can communicate with the gatekeeper in the external network for RAS signaling. The solution is relatively simple to implement, and since only one external network gatekeeper is needed, the registration requirements of terminals of multiple network segments can be simultaneously realized, thereby saving IP address resources. BRIEF abstract FIG. 1 is a schematic diagram of networking for implementing RAS signaling inter-network segment interworking according to an embodiment of the present invention; FIG. 2 is a schematic diagram of RAS signaling interaction between modules according to an embodiment of the present invention;
图 3为本发明实施例的由终端发送 RRQ的场景下 RAS代理实现信令转 发示意图; 3 is a schematic diagram of signaling forwarding implemented by a RAS proxy in a scenario in which an RRQ is sent by a terminal according to an embodiment of the present invention;
图 4为本发明实施例的由网守发送 DRQ的场景下 RAS代理实现信令转 发示意图。 FIG. 4 is a schematic diagram of signaling forwarding implemented by a RAS proxy in a scenario in which a gatekeeper sends a DRQ according to an embodiment of the present invention.
本发明的较佳实施方式 通的问题, 本发明提供一种会议电视系统跨网段信令互通的方案, 其基本构 思如下: BEST MODE FOR CARRYING OUT THE INVENTION The present invention provides a scheme for inter-network segment signaling interworking of a conference television system, and the basic structure thereof is as follows:
为实现几个 IP层不通的逻辑子网进行通信, 考虑引入一个 RAS代理实 现 RAS信令的跨网段传输,通过简单易用的代理服务的方法来实现处于不同 网段的终端能够顺利的同网守通讯, 并且实现起来比较简单, 不需要为每个 网段的终端都分配一个特殊的 IP地址。 In order to realize communication between several logical subnets with no IP layer, it is considered to introduce a RAS proxy to realize cross-network transmission of RAS signaling, and the terminal in different network segments can be smoothly implemented by the simple and easy proxy service method. Gatekeeper communication, and it is relatively simple to implement, there is no need to assign a special IP address to the terminal of each network segment.
在引入 RAS代理之后, 终端与网守之间的 RAS信令通过 RAS代理的传 送机制, 具体涉及如下两方面: After the introduction of the RAS proxy, the RAS signaling between the terminal and the gatekeeper passes through the transmission mechanism of the RAS proxy, which specifically involves the following two aspects:
1.从终端发出的 RAS信令如何正确的转发给网守, 在存在多个子网的情 况下, 处于不同子网的终端分别将 RAS代理作为网守来注册, 而 RAS代理 在接收到相关信令之后, 转发给处于外网的网守; 1. How to correctly forward the RAS signaling sent from the terminal to the gatekeeper. In the case where there are multiple subnets, the terminals in different subnets respectively register the RAS proxy as the gatekeeper, and the RAS proxy receives the relevant information. Afterwards, forward it to the gatekeeper who is on the external network;
2.从网守发出的 RAS信令如何正确的转发给终端, 由于存在多个终端, 因而需要确定网守发出的 RAS信令是转发给哪个终端的。 但由于 RAS信令 并不是为跨网段准备的, 没有也不会提供转发到某个指定终端的 IP字段, 因 此, 需要找出相应的解决方案。 在考虑解决方案的时候也需要考虑两种情况: 一种是网守被动发送 RAS 信令, 比如终端先给网守发送终端注册请求 ( Registration Request , RRQ ) 消息, 网守回复终端注册确认 ( Registration Confirm, RCF )或终端注册拒绝( Registration Reject, RRJ )消息的情况; 另 一种是网守主动发起的 RAS信令, 比如网守主动发送给终端的挂断终端注册
指示消息终端删除请求( Disengage Request, DRQ ) 。 考虑到 RAS信令都是 基于用户数据包协议( User Datagram Protocol, UDP )问答式的, 即终端发送 一个请求, 然后网守应答这个请求, 例如 RRQ (问)对应 RCF (答); 另夕卜, RAS信令中都包含有一个序列号(sqNum )字段。 因此, 可以利用 sqNum作 为索引, 建立 RAS消息与相应的终端的标识或 IP地址间的对应关系, 进而 完成终端与网守之间的请求 <->应答流程。 2. How to correctly forward the RAS signaling sent from the gatekeeper to the terminal. Since there are multiple terminals, it is necessary to determine which terminal the RAS signaling sent by the gatekeeper is forwarded to. However, since RAS signaling is not prepared for cross-network segments, there is no IP field that is forwarded to a specific terminal. Therefore, it is necessary to find a corresponding solution. There are two situations to consider when considering the solution: One is that the gatekeeper passively sends RAS signaling, for example, the terminal first sends a registration request (RRQ) message to the gatekeeper, and the gatekeeper replies to the terminal registration confirmation (Registration) Confirm, RCF) or the case of the registration reject (RRJ) message; the other is the RAS signaling initiated by the gatekeeper, such as the hang-up terminal registration that the gatekeeper actively sends to the terminal. Instructs the message terminal to delete the request (Disengage Request, DRQ). Considering that RAS signaling is based on the User Datagram Protocol (UDP) question and answer, that is, the terminal sends a request, and then the gatekeeper answers the request, for example, RRQ (Q) corresponds to RCF (A); The RAS signaling contains a sequence number (sqNum) field. Therefore, the sqNum can be used as an index to establish a correspondence between the RAS message and the identifier or IP address of the corresponding terminal, thereby completing the request <-> response flow between the terminal and the gatekeeper.
基于以上基本构思, 本发明提供一种实现会议电视系统跨网段信令互通 的方法, 终端注册到 RAS代理后, 该方法包括: Based on the above basic concept, the present invention provides a method for implementing inter-network segment signaling interworking of a conference television system. After the terminal registers with the RAS proxy, the method includes:
RAS代理接收到终端发起的 RAS信令消息时, 建立 RAS信令消息中的 序列号与该终端的源 IP地址及端口的映射关系, 并将所述 RAS信令消息转 发至网守; When receiving the RAS signaling message initiated by the terminal, the RAS proxy establishes a mapping relationship between the sequence number in the RAS signaling message and the source IP address and port of the terminal, and forwards the RAS signaling message to the gatekeeper;
所述 RAS代理收到网守回复的 RAS响应消息后, 才艮据建立的所述映射 关系将所述 RAS响应消息发送至相应的终端。 After receiving the RAS response message of the gatekeeper reply, the RAS proxy sends the RAS response message to the corresponding terminal according to the established mapping relationship.
其中, 所述终端发起的 RAS信令消息包括: 注册请求(RRQ ) 、 呼叫请 求(ARQ ) , 取消注册请求(URQ ) , 删除终端请求(DRQ )或状态保活请 求(IRR ) » The RAS signaling message initiated by the terminal includes: a registration request (RRQ), a call request (ARQ), a deregistration request (URQ), a delete terminal request (DRQ), or a state keepalive request (IRR).
进一步地, 所述 RAS信令为 RRQ消息时, RAS代理具体釆用如下方式 实现 RAS信令跨网段的互通处理: Further, when the RAS signaling is an RRQ message, the RAS proxy specifically implements the interworking processing of the RAS signaling across the network segment as follows:
RAS代理接收到终端的 RRQ消息时,产生一个新的 sqNum,将所述 RRQ 消息中的原 sqNum (以下也称作第一 sqNum )替换为产生的新的 sqNum (以 下也称作第二 sqNum )后, 将所述 RRQ 消息转发至网守; 并将所述第一 sqNum,第二 sqNum及该终端的源 IP地址和端口的映射关系记录到转发映射 表中; When the RAS proxy receives the RRQ message of the terminal, it generates a new sqNum, and replaces the original sqNum (hereinafter also referred to as the first sqNum) in the RRQ message with the generated new sqNum (hereinafter also referred to as the second sqNum). After the RRQ message is forwarded to the gatekeeper; and the mapping relationship between the first sqNum, the second sqNum, and the source IP address and port of the terminal is recorded in the forwarding mapping table;
RAS代理接收到网守回复的 RCF或 RRJ消息时, 根据所述 RCF或 RRJ 消息中的第二 sqNum查找所述转发映射表, 并将 RCF或 RRJ消息中的第二 sqNum还原为第一 sqNum后, 将所述 RCF或 RRJ消息根据查找到的所述第 二 sqNum对应的 IP地址和端口转发至相应的终端。 When receiving the RCF or RRJ message of the gatekeeper reply, the RAS proxy searches the forwarding map according to the second sqNum in the RCF or RRJ message, and restores the second sqNum in the RCF or RRJ message to the first sqNum. And forwarding the RCF or RRJ message to the corresponding terminal according to the found IP address and port corresponding to the second sqNum.
需要说明的是, 本发明中的转发映射表中保存的内容包括原 sqNum、 新
的 sqNum、 IP地址和端口。 It should be noted that the content saved in the forwarding mapping table in the present invention includes the original sqNum, new sqNum, IP address and port.
进一步地, RAS代理接收到网守回复的 RCF或 RRJ消息时, 判断是否 已记录该终端的 IP地址和终端标识, 若没有, 则将终端的 IP地址和终端标 识保存在终端列表中; Further, when receiving the RCF or RRJ message of the gatekeeper reply, the RAS agent determines whether the IP address and the terminal identifier of the terminal have been recorded, and if not, saves the IP address and the terminal identifier of the terminal in the terminal list;
RAS代理收到网守主动发起的 RAS信令消息 (如 DRQ消息、 IRQ消息 等)时, 根据该 RAS信令消息中的终端标识查找终端列表, 根据查找到的终 端标识对应的 IP地址及端口 , 将该 RAS信令消息转发至相应的终端。 When receiving the RAS signaling message (such as a DRQ message, an IRQ message, etc.) initiated by the gatekeeper, the RAS agent searches the terminal list according to the terminal identifier in the RAS signaling message, and according to the IP address and port corresponding to the found terminal identifier. And forwarding the RAS signaling message to the corresponding terminal.
为使本发明的目的、 技术方法和优点表达的更清楚明白, 下面结合附图 和优选实施例对本发明做更进一步的说明。 The present invention will be further described in conjunction with the accompanying drawings and preferred embodiments.
图 1 示出了本发明实施例的实现 RAS信令跨网段互通系统的组网示意 图, 该系统包括终端, 网守, 如图 1所示, 终端协议栈处于不同网段并且不 能互通的局域网中, 而网守处于互联网网中, 为了实现终端协议栈和网守之 间的 RAS信令的互通, 本实施例中引入了 RAS代理, 其中各网元实现的主 要功能描述如下: FIG. 1 is a schematic diagram of networking for implementing a RAS signaling inter-network segment interworking system according to an embodiment of the present invention. The system includes a terminal and a gatekeeper. As shown in FIG. 1, the terminal protocol stack is in different network segments and cannot communicate with each other. In the embodiment, the RAS agent is introduced in the embodiment, and the main functions implemented by each network element are as follows:
终端协议栈, 主要实现与网守以及多点控制模块(MCU ) 的信令交互; 网守, 主要负责处理终端注册, 呼叫, 带宽管理等; The terminal protocol stack mainly implements signaling interaction with the gatekeeper and the multipoint control module (MCU); the gatekeeper is mainly responsible for handling terminal registration, call, bandwidth management, etc.;
RAS代理, 主要用于实现 RAS信令跨网段的互通处理, 包括: 将网段 B 中的终端协议栈发到代理的 RAS消息,通过另一个网段 A转发到网守;以及, 将网段 A中的网守的 RAS消息, 通过网段 B转发到终端。 The RAS proxy is mainly used to implement the interworking processing of the RAS signaling across the network segment, including: sending the terminal protocol stack in the network segment B to the proxy RAS message, and forwarding the network protocol to the gatekeeper through another network segment A; The RAS message of the gatekeeper in segment A is forwarded to the terminal through network segment B.
其中, 会议终端 (也简称终端) 注册到 RAS代理可通过如下方式实现: The registration of the conference terminal (also referred to as the terminal) to the RAS proxy can be implemented as follows:
RAS代理能够跨越多个网段,在多网段情况下,每个网段都有相应的 IP地址, RAS代理可以在多个网段的 IP地址上侦听报文,处于某个网段的终端则注册 到 RAS代理对应该网段的 IP地址上。 The RAS proxy can span multiple network segments. In the case of multiple network segments, each network segment has a corresponding IP address. The RAS proxy can listen for packets on the IP addresses of multiple network segments. The terminal is registered to the IP address of the network segment corresponding to the RAS proxy.
此外, RAS代理具备 RAS编解码的功能,能够解析 RAS信令。对于 RAS 信令只需要更新 sqNum,或者提取一些相关的信息(如 IP地址、端口信息等 ) 保存, 其他内容不用修改, 直接将全部内容转发即可。 In addition, the RAS agent has the RAS codec function and can resolve RAS signaling. For RAS signaling, only need to update sqNum, or extract some related information (such as IP address, port information, etc.) to save, other content without modification, directly forward all the content.
进一步地, RAS代理还用于: Further, the RAS agent is also used to:
从网段 A接收到网守的 RCF或 RRJ消息后, 判断是否已记录 RCF消息
中的该终端的终端标识、源 IP和端口,如果没有记录,则新建一个终端列表, 将 RCF消息中的终端标识、 源 IP和端口保存在新建的终端列表中; 如果已 经记录, 则仅需对已记录的终端列表进行更新。 After receiving the RCF or RRJ message from the gatekeeper, the network segment A determines whether the RCF message has been recorded. If the terminal identifier, the source IP address, and the port of the terminal are not recorded, create a terminal list, and save the terminal identifier, source IP address, and port in the RCF message in the newly created terminal list. Update the list of recorded terminals.
同样地, RAS代理从网段 B接收到其他消息时, 也应判断源 IP和端口, 如果已有相应的记录, 则转发到网守; 如果没有记录, 表明该终端还没有注 册, 则丟弃。 Similarly, when the RAS agent receives other messages from network segment B, it should also determine the source IP and port. If there is already a corresponding record, it will forward it to the gatekeeper; if there is no record, it indicates that the terminal has not been registered, then discard it. .
从而, RAS代理后续在收到网守主动发起的 RAS信令消息时,可以根据 RAS信令消息中携带的终端标识查找保存的终端列表,并将该 RAS信令消息 转发至相应终端。 Therefore, the RAS proxy may, after receiving the RAS signaling message initiated by the gatekeeper, search for the saved terminal list according to the terminal identifier carried in the RAS signaling message, and forward the RAS signaling message to the corresponding terminal.
此外, RAS代理可以建立超时机制, 若在收到终端的 RRQ消息后预定 的时间长度内 (如 10分钟等) 未收到 RRQ (包括保活 RRQ或完全 RRQ ) 、 或者 IRR消息, 则删除相应终端列表中的源 IP地址、 端口和终端标识。 In addition, the RAS proxy can establish a timeout mechanism. If the RRQ (including the keep-alive RRQ or the full RRQ) or the IRR message is not received within a predetermined length of time (such as 10 minutes) after receiving the RRQ message of the terminal, delete the corresponding Source IP address, port, and terminal ID in the terminal list.
如图 2所示, RAS信令都 ^^于 UDP问答式的。 各个模块之间的 RAS 信令交互流程见图 2。 As shown in Figure 2, RAS signaling is ^ UDP question and answer. The RAS signaling interaction process between modules is shown in Figure 2.
其中, 终端主动发起的 RAS信令包括: 注册请求消息、 ARQ (呼叫请求 消息) 、 URQ (取消注册请求消息) , DRQ (删除请求消息)或 RR (状态 保活消息)等。 The RAS signaling initiated by the terminal includes: a registration request message, an ARQ (call request message), a URQ (unregistration request message), a DRQ (delete request message), or an RR (state keep-alive message).
网守主动发起的 RAS信令包括: DRQ (删除请求消息) 、 IRQ (终端状 态请求消息)等。 The RAS signaling initiated by the gatekeeper includes: DRQ (Delete Request Message), IRQ (Terminal State Request Message), and the like.
其中, DRQ消息既可以终端发起, 也可以由 GK发起。 The DRQ message can be initiated by the terminal or by the GK.
图 3示出了以终端发送 RRQ为例, RAS代理实现信令转发的处理流程, 对于其他终端主动发起的 RAS信令, 如 ARQ、 DRQ等, 其转发策略也同样 适用。 如图 3所示, 该流程具体描述如下: Figure 3 shows the process of transmitting the RRQ by the terminal as an example. The RAS proxy implements the signaling forwarding process. For other RAS signaling initiated by other terminals, such as ARQ and DRQ, the forwarding policy is also applicable. As shown in Figure 3, the process is described as follows:
当 RAS代理接收到终端发送的 RRQ消息之后,因为网守只有一个, RAS 信令直接转发给网守就可以, 并且在发送前根据 RAS信令中的 sqNum序列 号为索引建立一张转发映射表, 表中存储相关终端的 IP地址, 标识, 端口等 相关信息; RAS代理接收到网守回复的 RCF消息之后, 解析消息中的序列号 并根据索引找到对应终端的 IP地址, 并发送给相应终端。
此外 , 参见图 3 , RAS代理接收到网守回复的 RCF或 RRJ消息时 , 还将 根据所述 RCF消息中该终端的 IP地址和终端标识创建或更新终端列表, 其 中所述终端列表用于保存终端的 IP地址、 端口和终端标识的对应关系。 After the RAS agent receives the RRQ message sent by the terminal, because there is only one gatekeeper, the RAS signaling can be directly forwarded to the gatekeeper, and a forwarding mapping table is established according to the sqNum sequence number in the RAS signaling before the transmission. The table stores the IP address, identity, port and other related information of the relevant terminal. After receiving the RCF message of the gatekeeper reply, the RAS proxy parses the sequence number in the message and finds the IP address of the corresponding terminal according to the index, and sends the IP address to the corresponding terminal. . In addition, referring to FIG. 3, when the RAS proxy receives the RCF or RRJ message of the gatekeeper reply, the terminal list is also created or updated according to the IP address and the terminal identifier of the terminal in the RCF message, where the terminal list is used for saving. Correspondence between the IP address, port, and terminal ID of the terminal.
图 4示出了以网守发送 DRQ为例, RAS代理实现信令转发的处理流程, 对于其他网守主动发起的 RAS信令, 如 IRQ等, 其转发策略也同样适用。 如 图 4所示, 该流程具体描述如下: Figure 4 shows the process of sending a DRQ by a gatekeeper as an example. The RAS proxy implements the signaling forwarding process. For other RAS signaling initiated by other gatekeepers, such as IRQ, the forwarding policy is also applicable. As shown in Figure 4, the process is described as follows:
对于网守主动发起的 RAS信令请求, 则利用之前 RAS代理所建立的终 端列表, 这个终端列表主要以终端标识(endPointID )为索引, 主要保存终端 的 IP地址和端口信息, 这样 , RAS代理就可以通过该终端列表来找到对应终 端地址。 即, RAS代理收到网守发起的 RAS信令消息时, 根据该 RAS信令 消息中的终端标识查找终端列表, 并才艮据查找到的终端标识对应的 IP地址和 端口将该 RAS信令消息转发至相应的终端。 For the RAS signaling request initiated by the gatekeeper, the terminal list established by the previous RAS proxy is used. The terminal list is mainly indexed by the terminal identifier (endPointID), and the IP address and port information of the terminal are mainly saved, so that the RAS proxy The corresponding terminal address can be found through the terminal list. That is, when the RAS proxy receives the RAS signaling message initiated by the gatekeeper, it searches the terminal list according to the terminal identifier in the RAS signaling message, and then the RAS signaling according to the IP address and port corresponding to the found terminal identifier. The message is forwarded to the corresponding terminal.
但其中有个特例, IRQ (会议保活请求) 消息中没有 endPointID这个字 段, 这个需要修改网守的处理, 在发送 IRQ的时候增加终端标识这个字段。 However, there is a special case. There is no endPointID field in the IRQ (Conference Keep Alive Request) message. This needs to modify the gatekeeper's processing. When the IRQ is sent, the terminal ID field is added.
本领域普通技术人员可以理解上述方法中的全部或部分步骤可通过程序 来指令相关硬件完成, 所述程序可以存储于计算机可读存储介质中, 如只读 存储器、 磁盘或光盘等。 可选地, 上述实施例的全部或部分步骤也可以使用 一个或多个集成电路来实现。 相应地, 上述实施例中的各模块 /单元可以釆用 硬件的形式实现, 也可以釆用软件功能模块的形式实现。 本发明不限制于任 何特定形式的硬件和软件的结合。 One of ordinary skill in the art will appreciate that all or a portion of the above steps may be accomplished by a program instructing the associated hardware, such as a read-only memory, a magnetic disk, or an optical disk. Alternatively, all or part of the steps of the above embodiments may also be implemented using one or more integrated circuits. Correspondingly, each module/unit in the above embodiment may be implemented in the form of hardware or in the form of a software function module. The invention is not limited to any specific form of combination of hardware and software.
工业实用性 釆用本发明技术方案, 可以实现多个分布在不同网段(这些网段不能互 通)的终端与处于外网的网守进行 RAS信令方面的通讯。 该方案实现起来较 为简单, 并且, 由于只需要使用一个外网网守就可以同时实现多个网段的终 端的注册需求, 从而节省了 IP地址资源。
INDUSTRIAL APPLICABILITY With the technical solution of the present invention, it is possible to realize communication between a plurality of terminals distributed in different network segments (the network segments cannot be interconnected) and a gatekeeper at the external network to perform RAS signaling. The solution is simpler to implement, and since only one external network gatekeeper is needed, the registration requirements of the terminals of multiple network segments can be realized at the same time, thereby saving IP address resources.
Claims
1、 一种实现会议电视系统跨网段信令互通的方法, 该方法包括: 终端注册到注册、 接入认证和状态查询 (RAS )代理, RAS代理收到终 端发起的 RAS信令消息后, 建立该 RAS信令消息中的序列号与该终端的源 IP地址及端口的映射关系, 并将该 RAS信令消息转发至网守; 以及 A method for implementing inter-network segment signaling interworking of a conference television system, the method comprising: the terminal registering with a registration, access authentication, and status query (RAS) proxy, after the RAS proxy receives the RAS signaling message initiated by the terminal, Establishing a mapping relationship between the sequence number in the RAS signaling message and the source IP address and port of the terminal, and forwarding the RAS signaling message to the gatekeeper;
所述 RAS代理收到网守回复的 RAS响应消息后, 才艮据建立的所述映射 关系将所述 RAS响应消息发送至相应的终端。 After receiving the RAS response message of the gatekeeper reply, the RAS proxy sends the RAS response message to the corresponding terminal according to the established mapping relationship.
2、 如权利要求 1所述的方法, 其中, 2. The method of claim 1 wherein
所述终端发起的 RAS信令消息包括: 注册请求、 呼叫请求, 取消注册请 求, 删除终端请求或状态保活请求。 The RAS signaling message initiated by the terminal includes: a registration request, a call request, a deregistration request, a deletion terminal request or a state keep-alive request.
3、 如权利要求 2所述的方法, 其中, 所述终端发起的 RAS信令消息为 注册请求消息时, 所述方法包括: The method of claim 2, wherein, when the RAS signaling message initiated by the terminal is a registration request message, the method includes:
RAS代理接收到终端的注册请求消息时, 将所述注册请求消息中的第一 序列号替换为第二序列号后, 将所述注册请求消息转发至网守; 并将所述第 一序列号、 第二序列号及该终端的源 IP地址和端口的映射关系记录到转发映 射表中; 以及 When receiving the registration request message of the terminal, the RAS proxy replaces the first serial number in the registration request message with the second serial number, and then forwards the registration request message to the gatekeeper; and the first serial number is The second sequence number and the mapping relationship between the source IP address and the port of the terminal are recorded in the forwarding mapping table;
RAS代理接收到网守回复的注册确认或注册拒绝消息时, 才艮据所述注册 确认或注册拒绝消息中的第二序列号查找所述转发映射表, 并将所述第二序 列号还原为第一序列号后, 将所述注册确认或注册拒绝消息根据查找到的所 述第二序列号对应的 IP地址和端口转发至相应的终端。 When receiving the registration confirmation or registration rejection message of the gatekeeper reply, the RAS agent searches for the forwarding mapping table according to the second serial number in the registration confirmation or registration rejection message, and restores the second serial number to After the first serial number, the registration confirmation or registration rejection message is forwarded to the corresponding terminal according to the IP address and port corresponding to the found second serial number.
4、 如权利要求 3所述的方法, 其中, 所述方法还包括: 4. The method of claim 3, wherein the method further comprises:
所述 RAS代理接收到所述注册确认或注册拒绝消息时,根据所述注册确 认或注册拒绝消息中该终端的端口标识、 源 IP地址及端口创建或更新终端列 表, 所述终端列表用于保存终端的端口标识、 源 IP地址及端口的对应关系; 所述 RAS代理收到网守发起的 RAS信令消息时, 根据所述 RAS信令消 息中的终端标识查找终端列表, 并根据查找到的终端标识对应的 IP地址及端 口将所述 RAS信令消息转发至相应的终端。 When the RAS proxy receives the registration confirmation or registration rejection message, the terminal list is created or updated according to the port identifier, source IP address, and port of the terminal in the registration confirmation or registration rejection message, and the terminal list is used for saving. Corresponding relationship between the port identifier, the source IP address, and the port of the terminal; when receiving the RAS signaling message initiated by the gatekeeper, the RAS proxy searches the terminal list according to the terminal identifier in the RAS signaling message, and according to the found The IP address and port corresponding to the terminal identifier forward the RAS signaling message to the corresponding terminal.
5、 如权利要求 4所述的方法, 其中, 所述方法还包括: 5. The method of claim 4, wherein the method further comprises:
所述 RAS代理接收到终端发送的所述注册请求消息后,如果在预定的时 间长度内未收到该终端的注册请求消息或状态保活请求消息, 则删除所述终 端列表中该终端的终端标识、 源 IP地址及端口。 After receiving the registration request message sent by the terminal, the RAS agent deletes the terminal of the terminal in the terminal list if the registration request message or the state keep-alive request message of the terminal is not received within a predetermined length of time. Identification, source IP address and port.
6、 如权利要求 4所述的方法, 其中, 6. The method of claim 4, wherein
所述网守发起的 RAS信令消息包括: 删除请求、 状态请求; The RAS signaling message initiated by the gatekeeper includes: a deletion request, a status request;
且所述网守在发起状态请求消息时, 在发起的状态请求消息中携带终端 标识。 And the gatekeeper carries the terminal identifier in the initiated status request message when the status request message is initiated.
7、 一种实现会议电视系统跨网段信令互通的系统, 该系统包括: 网守和 RAS代理, 7. A system for implementing inter-network segment signaling intercommunication of a conference television system, the system comprising: a gatekeeper and a RAS agent,
所述 RAS代理设置为:接收到终端发起的 RAS信令消息后,建立该 RAS 信令消息中的序列号与该终端的源 IP地址及端口的映射关系, 并将该 RAS 信令消息转发至网守; 以及, 接收到网守回复的 RAS响应消息后, 根据建立 的所述映射关系将所述 RAS响应消息发送至相应的终端; The RAS proxy is configured to: after receiving the RAS signaling message initiated by the terminal, establish a mapping relationship between the sequence number in the RAS signaling message and the source IP address and port of the terminal, and forward the RAS signaling message to After receiving the RAS response message of the gatekeeper reply, the RAS response message is sent to the corresponding terminal according to the established mapping relationship;
所述网守设置为: 接收到所述 RAS代理发送的 RAS信令消息后, 回复 The gatekeeper is configured to: reply after receiving the RAS signaling message sent by the RAS proxy
RAS响应消息。 RAS response message.
8、 如权利要求 7所述的系统, 其中, 8. The system of claim 7, wherein
所述终端发起的 RAS信令消息包括注册请求消息; The RAS signaling message initiated by the terminal includes a registration request message;
所述 RAS代理是设置为: 接收到终端的注册请求消息时, 将所述注册请 求消息中的第一序列号替换为第二序列号后, 将所述注册请求消息转发至网 守; 并将所述第一序列号、 第二序列号及该终端的源 IP地址和端口的映射关 系记录到转发映射表中; 以及接收到网守回复的注册确认或注册拒绝消息时, 根据所述注册确认或注册拒绝消息中的第二序列号查找所述转发映射表, 并 将所述第二序列号还原为第一序列号后, 将所述注册确认或注册拒绝消息根 据查找到的所述第二序列号对应的 IP地址和端口转发至相应的终端。 The RAS proxy is configured to: when receiving the registration request message of the terminal, after replacing the first serial number in the registration request message with the second serial number, forwarding the registration request message to the gatekeeper; The mapping relationship between the first serial number, the second serial number, and the source IP address and the port of the terminal is recorded in the forwarding mapping table; and when the registration confirmation or registration rejection message of the gatekeeper reply is received, according to the registration confirmation Or searching for the forwarding mapping table by using the second serial number in the registration rejection message, and after the second serial number is restored to the first serial number, the registration confirmation or registration rejection message is based on the found second The IP address and port corresponding to the serial number are forwarded to the corresponding terminal.
9、 如权利要求 8所述的系统, 其中, 9. The system of claim 8 wherein
所述 RAS代理还设置为: 接收到所述注册确认或注册拒绝消息时, 根据 所述注册确认消息中该终端的终端标识、 源 IP地址及端口创建或更新终端列 表, 所述终端列表保存终端的终端标识、 源 IP地址及端口的对应关系; 收到 网守发起的 RAS信令消息时, 根据该 RAS信令消息中的终端标识查找终端 列表, 并根据查找到的终端标识对应的 IP地址及端口将所述 RAS信令消息 转发至相应的终端; The RAS proxy is further configured to: when receiving the registration confirmation or registration rejection message, create or update a terminal column according to the terminal identifier, source IP address, and port of the terminal in the registration confirmation message The terminal list stores the terminal identifier, the source IP address, and the port correspondence relationship of the terminal; when receiving the RAS signaling message initiated by the gatekeeper, searching for the terminal list according to the terminal identifier in the RAS signaling message, and searching according to the terminal Forwarding the RAS signaling message to the corresponding terminal by the IP address and the port corresponding to the terminal identifier;
其中, 所述网守发起的 RAS信令消息包括: 删除请求、 状态请求, 且所 述网守还设置为: 在发起状态请求的消息中携带终端标识。 The RAS signaling message initiated by the gatekeeper includes: a deletion request, a status request, and the gatekeeper is further configured to: carry the terminal identifier in the message that initiates the status request.
10、 如权利要求 8或 9所述的系统, 其中, 10. The system of claim 8 or 9, wherein
所述 RAS代理还设置为: 接收到终端发送的所述注册请求消息后, 如果 在预定的时间长度内未收到该终端的注册请求消息或状态保活请求消息, 则 删除所述终端列表中该终端的终端标识、 源 IP地址及端口。 The RAS proxy is further configured to: after receiving the registration request message sent by the terminal, if the registration request message or the state keep-alive request message of the terminal is not received within a predetermined length of time, deleting the terminal list The terminal identifier, source IP address, and port of the terminal.
Applications Claiming Priority (2)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201010215012.8A CN101867586B (en) | 2010-06-29 | 2010-06-29 | Method and system for realizing cross network segment signaling interworking of videoconference system |
CN201010215012.8 | 2010-06-29 |
Publications (1)
Publication Number | Publication Date |
---|---|
WO2012000364A1 true WO2012000364A1 (en) | 2012-01-05 |
Family
ID=42959151
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
PCT/CN2011/074993 WO2012000364A1 (en) | 2010-06-29 | 2011-05-31 | Method and system for implementing cross-segment signaling intercommunication in video conference system |
Country Status (2)
Country | Link |
---|---|
CN (1) | CN101867586B (en) |
WO (1) | WO2012000364A1 (en) |
Families Citing this family (8)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101867586B (en) * | 2010-06-29 | 2014-08-13 | 中兴通讯股份有限公司 | Method and system for realizing cross network segment signaling interworking of videoconference system |
CN102523572B (en) * | 2011-11-23 | 2017-12-22 | 中兴通讯股份有限公司 | The processing method and processing device of call request message |
CN102594866B (en) * | 2011-12-22 | 2015-02-18 | 中国电子科技集团公司第十五研究所 | Map service providing system and method |
CN104660952B (en) * | 2015-03-04 | 2018-06-08 | 苏州科达科技股份有限公司 | Video conference communication method and system |
CN108055262B (en) * | 2017-12-11 | 2020-08-18 | 苏州科达科技股份有限公司 | Video conference terminal registration method, terminal and gatekeeper |
CN109445925B (en) * | 2018-11-09 | 2022-02-18 | 郑州云海信息技术有限公司 | Application program takeover method, device and system |
CN109889763B (en) * | 2019-03-20 | 2020-12-25 | 苏州科达科技股份有限公司 | Call establishment method, device and storage medium of conference television system |
CN111083427B (en) * | 2019-12-27 | 2021-05-18 | 随锐科技集团股份有限公司 | Data processing method of embedded terminal and 4K video conference system |
Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20050180400A1 (en) * | 2004-01-30 | 2005-08-18 | Glowpoint, Inc. | Automated gateway routing, incoming and outgoing |
CN1893626A (en) * | 2005-07-08 | 2007-01-10 | 中国电信股份有限公司 | Method for autonomous sponsoring meeting-gathering by user terminal in inband mode |
CN101662375A (en) * | 2008-08-27 | 2010-03-03 | 中兴通讯股份有限公司 | Interactive method based on multimedia conference and multimedia conference system |
CN101710960A (en) * | 2009-08-06 | 2010-05-19 | 中兴通讯股份有限公司 | Method and system for realizing video conference |
CN101867586A (en) * | 2010-06-29 | 2010-10-20 | 中兴通讯股份有限公司 | Method and system for realizing cross network segment signaling interworking of videoconference system |
Family Cites Families (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US7301952B2 (en) * | 2000-04-06 | 2007-11-27 | The Distribution Systems Research Institute | Terminal-to-terminal communication connection control method using IP transfer network |
CN101188582B (en) * | 2006-11-17 | 2010-09-29 | 中兴通讯股份有限公司 | System and method for H.323 terminal communication cross the isomerous network |
-
2010
- 2010-06-29 CN CN201010215012.8A patent/CN101867586B/en active Active
-
2011
- 2011-05-31 WO PCT/CN2011/074993 patent/WO2012000364A1/en active Application Filing
Patent Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20050180400A1 (en) * | 2004-01-30 | 2005-08-18 | Glowpoint, Inc. | Automated gateway routing, incoming and outgoing |
CN1893626A (en) * | 2005-07-08 | 2007-01-10 | 中国电信股份有限公司 | Method for autonomous sponsoring meeting-gathering by user terminal in inband mode |
CN101662375A (en) * | 2008-08-27 | 2010-03-03 | 中兴通讯股份有限公司 | Interactive method based on multimedia conference and multimedia conference system |
CN101710960A (en) * | 2009-08-06 | 2010-05-19 | 中兴通讯股份有限公司 | Method and system for realizing video conference |
CN101867586A (en) * | 2010-06-29 | 2010-10-20 | 中兴通讯股份有限公司 | Method and system for realizing cross network segment signaling interworking of videoconference system |
Also Published As
Publication number | Publication date |
---|---|
CN101867586B (en) | 2014-08-13 |
CN101867586A (en) | 2010-10-20 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
WO2012000364A1 (en) | Method and system for implementing cross-segment signaling intercommunication in video conference system | |
US8166533B2 (en) | Method for providing media communication across firewalls | |
CN100484141C (en) | Method for realizing terminal ability interaction and route control in IMS and CS service concurrence | |
JP2004166301A (en) | Multiplex call system and method via local ip network | |
WO2005011216A1 (en) | The system and method for realize multimedia call crossover the private network | |
WO2007036160A1 (en) | An apparatus, system and method for realizing communication between the client and the server | |
WO2011038637A1 (en) | Method for realizing end-to-end call, end-to-end call terminal and system | |
WO2019184262A1 (en) | Multi-type media data network address translation traversing method, terminal and system | |
WO2012037790A1 (en) | Method,apparatus and system for digital tv terminals to perform instant messaging | |
KR101083480B1 (en) | Virtual connectivity with subscribe-notify service | |
WO2015127793A1 (en) | Recording method, voice exchanging device, recording server, and recording system | |
US7440440B1 (en) | Method and system for device-based call park and pick-up | |
JP2005129980A (en) | Network, private branch exchange, radio lan terminal, and multi-protocol communication terminal control method used therefor | |
WO2010069176A1 (en) | A method for calling a conference when hard terminals have been bound to pc clients, a login server thereof, a conference server thereof and a pc client thereof | |
WO2007019809A1 (en) | A method and ststem for establishing a direct p2p channel | |
WO2014114088A1 (en) | Method and service platform for implementing broadband service function in next generation network (ngn) | |
WO2011029335A1 (en) | System and method for routing session initiation protocol conversation | |
US20070030849A1 (en) | Voice over internet protocol (VoIP) terminal and information management method thereof | |
US8467384B2 (en) | Method and system for call processing | |
WO2017028773A1 (en) | Method and device for establishing self-configuring network by ims terminal | |
WO2005117346A1 (en) | A method of registration for the private nerwork terminal to the gatekeeper based on the h.323 protocol | |
CN113162952B (en) | Internet of things terminal equipment networking and communication method based on mobile edge node | |
US8606243B2 (en) | Mobile network system and guidance message providing method | |
US20060230155A1 (en) | System and method for peer-to-peer communications with soft hand over for internet enabled devices | |
CN100525202C (en) | A method of registration for the private network terminal to the gatekeeper based on the H.323 protocol |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
121 | Ep: the epo has been informed by wipo that ep was designated in this application |
Ref document number: 11800109 Country of ref document: EP Kind code of ref document: A1 |
|
NENP | Non-entry into the national phase |
Ref country code: DE |
|
122 | Ep: pct application non-entry in european phase |
Ref document number: 11800109 Country of ref document: EP Kind code of ref document: A1 |