WO2008003214A1 - Method, device and system for media flow traversing nat - Google Patents

Method, device and system for media flow traversing nat Download PDF

Info

Publication number
WO2008003214A1
WO2008003214A1 PCT/CN2007/001643 CN2007001643W WO2008003214A1 WO 2008003214 A1 WO2008003214 A1 WO 2008003214A1 CN 2007001643 W CN2007001643 W CN 2007001643W WO 2008003214 A1 WO2008003214 A1 WO 2008003214A1
Authority
WO
WIPO (PCT)
Prior art keywords
network
entity
identifier
bgf
media stream
Prior art date
Application number
PCT/CN2007/001643
Other languages
French (fr)
Chinese (zh)
Inventor
Xiaoqiang Ding
Haiyan Jian
Qingfeng Meng
Wei Su
Ci Liu
Kai Wen
Fuqing Huang
Lili Xue
Original Assignee
Huawei Technologies Co., Ltd.
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Huawei Technologies Co., Ltd. filed Critical Huawei Technologies Co., Ltd.
Publication of WO2008003214A1 publication Critical patent/WO2008003214A1/en

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L12/00Data switching networks
    • H04L12/28Data switching networks characterised by path configuration, e.g. LAN [Local Area Networks] or WAN [Wide Area Networks]
    • H04L12/46Interconnection of networks
    • H04L12/4604LAN interconnection over a backbone network, e.g. Internet, Frame Relay
    • H04L12/462LAN interconnection over a bridge based backbone
    • H04L12/4625Single bridge functionality, e.g. connection of two networks over a single bridge
    • 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/256NAT traversal
    • H04L61/2564NAT traversal for a higher-layer protocol, e.g. for session initiation protocol [SIP]

Abstract

A method for media flow traversing NAT is provided to solve the problem that the BGF cannot correctly forward media flow in the network because of the overlap of different user addresses. In the method, a first network entity obtains the address information of the media flow and the identifier of the user network, then sends said address information and identifier to the BGF, which will then build the media mapping relation for media flow forwarding based on the address information, and bind said identifier in the mapping relation. The corresponding device and system are also given in the invention.

Description

媒体流穿越网络地址转换的方法、 装置及系统  Method, device and system for media stream traversing network address translation
技术领域 Technical field
本发明涉及通信领域的网络地址转换技术, 尤其涉及一种媒体流穿越网 络地址转换的方法、 装置及其系统。 背景技术  The present invention relates to a network address translation technology in the field of communications, and in particular, to a method, device and system for media stream traversing network address translation. Background technique
IMS是第三代移动通信伙伴组织提出的支持 IP多媒体业务的子系统。 IMS 使用 SIP呼叫控制机制来创建、 管理和终结各种类型的多媒体业务。 这种多 媒体通信不仅是简单的视音频通信, 还包括即时消息、 同址浏览、 协同工作、 流媒体等等业务, 特别是新通信方式和传统语音融合的业务, 可以说 IMS提 供了业务融合的基础。  IMS is a subsystem of the third generation mobile communication partner organization that supports IP multimedia services. IMS uses SIP call control mechanisms to create, manage, and terminate various types of multimedia services. This kind of multimedia communication is not only simple video and audio communication, but also includes instant messaging, co-location browsing, collaborative work, streaming media, etc., especially the new communication method and traditional voice convergence service. It can be said that IMS provides service integration. basis.
IMS的一个重要特点是对各种接入技术的广泛适应性。目前 3GPP提出的 IMS能够支持 2G和 3G的移动接入方式,由于 IMS与接入技术的无关性, 3GPP 和 ITU-T等标准化组织都在研究扩展 IMS的能力, 以适应固定终端在呼叫流 程和鉴权能力方面相对移动终端的不同,增强在接入安全和 QoS方面的能力, 支持包括固网在内的多种接入技术, 构造固网和移动网融合的公共核心网。  An important feature of IMS is its wide adaptability to various access technologies. At present, the IMS proposed by 3GPP can support 2G and 3G mobile access methods. Due to the independence of IMS and access technologies, standardization organizations such as 3GPP and ITU-T are studying the ability to extend IMS to adapt to fixed terminal in call flow and Compared with the mobile terminal, the authentication capability enhances the access security and QoS capabilities, supports multiple access technologies including fixed networks, and constructs a public core network with fixed network and mobile network convergence.
由于当前公网地址的匮乏性, 当前网絡使用的大量用户是使用私网地址 的, 为了扩大 IMS网络的应用范围, 需要解决网络地址转换 NAT问题。 目前 广泛使用的 NAT转换技术包括以下几种:  Due to the lack of the current public network address, a large number of users currently using the network use private network addresses. In order to expand the application range of the IMS network, it is necessary to solve the problem of network address translation NAT. Currently widely used NAT conversion technologies include the following:
1、 NAT/ALG方式  1, NAT / ALG mode
普通 NAT设备只处理 IP 头以及 TCP/UDP 头, 不处理携带的数据, NAT/ALG 方式需要对消息净荷中的 IP 地址信息进行处理, 如图 1 示。 NAT/ALG方式一个明显的缺点是不能识别加密后的报文内容, 所以必须保证 报文采用明文传送, 这使得报文在公网中传送时有很大的安全隐患。  A normal NAT device only processes IP headers and TCP/UDP headers, and does not process the carried data. The NAT/ALG mode needs to process the IP address information in the message payload, as shown in Figure 1. An obvious disadvantage of the NAT/ALG method is that the encrypted message content cannot be identified. Therefore, the message must be transmitted in plain text. This makes the message have a great security risk when it is transmitted on the public network.
2、 MIDCOM方式  2, MIDCOM mode
如图 2所示, 与 NAT/ALG不同的是, MIDCOM的框架结构是采用可信 的第三方 (MIDCOM Agent )对 Middlebox (NAT/FW )进行控制的机制, 应用 业务识别的智能也由 Middlebox转移到外部的 MIDCOM Agent上, 因此应用 协议对 Middlebo 是透明的。 As shown in Figure 2, unlike NAT/ALG, MIDCOM's framework is a mechanism for controlling Middlebox (NAT/FW) with a trusted third party (MIDCOM Agent). The intelligence of business identification is also transferred from Middlebox to the external MIDCOM Agent, so the application protocol is transparent to Middlebo.
3、 STUN方式  3, STUN way
私网接入用户通过某种机制预先得到其地址对应在出口 NAT上的对外地 址,然后在报文负载中所描述的地址信息就直接填写出口 NAT上的对外地址, 而不是私网内用户的私有 IP地址,这样报文负载中的内容在经过 NAT时就无 需被修改了, 只需按普通 NAT流程转换报文头的 IP地址即可, 负载中的 IP 地址信息和 文头地址信息又是一致的。  The private network access user obtains the external address whose address corresponds to the egress NAT through some mechanism, and then fills in the external address on the egress NAT directly in the address information described in the packet payload, instead of the user in the private network. The private IP address, so that the content of the packet payload does not need to be modified when passing through the NAT. The IP address of the packet header can be translated according to the normal NAT process. The IP address information and the header address information in the payload are consistent. of.
现网中存在大量私网用户需要使用 IMS系统提供的服务, 目前的方案包 括信令网络地址转换穿越和媒体网络地址转换穿越两部分, 基本组网如图 3 所示。  In the current network, a large number of private network users need to use the services provided by the IMS system. The current solution includes signaling network address translation traversal and media network address translation traversing two parts. The basic networking is shown in Figure 3.
对于信令穿越 NAT, 边界网关功能 BGF ( Boudary Gateway Function, 或 称 Policy Enforcement Function, 即策略执行功能 PEF ) 简单充当 NAT设备, 当私网用户注册时, BGF 固化分配给该用户的信令通道, 用于后续终端用户 与 IMS系统的信令交互, 主要处理流程如图 4所示:  For signaling traversal NAT, the BFD function (PED) is simply used as a NAT device. When a private network user registers, the BGF solidifies the signaling channel assigned to the user. It is used for subsequent signaling interaction between the end user and the IMS system. The main processing flow is shown in Figure 4:
步骤 400: 私网用户 UE1发起注册 REGISTER消息, 该消息通过私网到 达 BGF。  Step 400: The private network user UE1 initiates registration of the REGISTER message, and the message reaches the BGF through the private network.
步骤 401 : BGF收到 REGISTER消息, 通过目的地址判断该消息需要发 送给公网上的 P-CSCF, 建立临时映射通道(分配网絡侧地址和端口), 将消 息前传给 P-CSCF。  Step 401: The BGF receives the REGISTER message, determines that the message needs to be sent to the P-CSCF on the public network through the destination address, establishes a temporary mapping channel (assigns the network side address and port), and transmits the message to the P-CSCF.
步骤 402: P-CSCF判断请求注册用户为私网用户,则通过 P-CSCF和 BGF 之间的接口, 将 BGF临时分配给该用户的信令通道(网络侧地址和端口) 下 发给 BGF,要求 BGF固化该用户的信令通道,用于后续该私网用户与 P-CSCF 的信令交互。  Step 402: The P-CSCF determines that the user to be registered is a private network user, and the BGF is temporarily assigned to the signaling channel (network side address and port) of the user through the interface between the P-CSCF and the BGF, and is sent to the BGF. The BGF is required to cure the signaling channel of the user for subsequent signaling interaction between the private network user and the P-CSCF.
步骤 403: BGF完成信令通道固化处理后, 将处理结果通过 P-CSCF和 BGF之间的接口发送给 P-CSCF。  Step 403: After completing the signaling channel curing process, the BGF sends the processing result to the P-CSCF through the interface between the P-CSCF and the BGF.
步骤 404: P-CSCF 收到 BGF 响应后, 完成后续的注册请求处理, 将 REGISTER消息前传; 此时已经完成信令 NAT的穿越。 Step 404: After receiving the BGF response, the P-CSCF completes the subsequent registration request processing, and The REGISTER message is forwarded; the traversal of the signaling NAT has been completed.
而对于媒体穿越 NAT, 需要 P-CSCF将会话信令中携带媒体流信息下发 给 BGF, 用于建立会话时的媒体映射通道, 以 IMS系统中的 INVITE消息为 例, 具体流程如 5图所示:  For the media to traverse the NAT, the P-CSCF is required to send the media stream information in the session signaling to the BGF for establishing the media mapping channel in the session. The INVITE message in the IMS system is taken as an example. Show:
步骤 500: 私网用户 UE1发起会话建立请求 INVITE, 该消息通过私网到 达 BGF。  Step 500: The private network user UE1 initiates a session establishment request INVITE, and the message reaches the BGF through the private network.
步骤 501: BGF通过该用户注册时固化的信令通道将 INVITE消息前传给 P-CSCF。  Step 501: The BGF forwards the INVITE message to the P-CSCF through the signaling channel that is solidified when the user registers.
步骤 502: P-CSCF收到 INVITE消息后, 将 UE1用户会话时使用的媒体 流地址和端口信息下发给 BGF, 要求 BGF建立用户会话时的媒体通道( BGF 分配的接入侧地址、 端口和网络侧地址和端口)。  Step 502: After receiving the INVITE message, the P-CSCF sends the media stream address and port information used by the UE1 user session to the BGF, and requests the BGF to establish a media channel when the user session is established (the access side address, port, and port allocated by the BGF) Network side address and port).
步骤 503: BGF收到媒体映射建立请求后, 根据 UE1的媒体流地址和端 口信息分配媒体映射通道(每个媒体流对应 BGF的接入侧地址、 端口和网络 侧地址、 端口), 完成后将处理响应带给 P-CSCF。  Step 503: After receiving the media mapping establishment request, the BGF allocates a media mapping channel according to the media stream address and port information of the UE1 (the access side address, port, and network side address and port of each media stream corresponding to the BGF). The processing response is brought to the P-CSCF.
步骤 504: P-CSCF收到媒体映射建立成功响应后, 用 BGF分配的网络侧 地址和端口替换 INVITE请求中 SDP消息体的媒体流地址和端口信息, 然后 INVITE消息前传。 此时完成主叫侧用户媒体映射的初始创建。  Step 504: After receiving the media mapping establishment success response, the P-CSCF replaces the media stream address and port information of the SDP message body in the INVITE request with the network side address and port allocated by the BGF, and then forwards the INVITE message. At this point, the initial creation of the user media mapping on the calling side is completed.
上述方案在某些场景时会出现问题, 以下以虚拟局域网 VLAN用户的基 本场景为例, 如图 6所示:  The above scenario may cause problems in some scenarios. The following takes the basic scenario of a VLAN user as an example, as shown in Figure 6.
用户 UE1和 UE2属于不同 VLAN用户, 两用户存在地址重叠的情况, 不同的 VLAN1和 VLAN2通过 BGF的不同物理接口接入公网。不同的 VLAN 用户, 对于信令 NAT穿越不存在问题, 这是因为不同 VLAN用户通过 BGF 接入的网口不同, BGF可以分配不同的网络侧地址或端口, 在信令通道固化 时, BGF可以根据不同的网络侧地址和端口将其固化, 用于该用户与网络的 后续信令交互。  Users UE1 and UE2 belong to different VLANs. The two users have overlapping addresses. Different VLANs 1 and 2 are connected to the public network through different physical interfaces of the BGF. Different VLAN users have no problem with signaling NAT traversal. This is because the network ports that different VLAN users access through the BGF are different. The BGF can allocate different network side addresses or ports. When the signaling channel is cured, the BGF can be based on Different network side addresses and ports cure it for subsequent signaling interactions between the user and the network.
而对于媒体网絡地址转换穿越, 因为不同用户的地址存在重叠, 依据前 述方案, P-CSCF下发给 BGF的不同 VLAN用户的媒体映射数据会相同, 则 分配媒体映射时, BGF将不知道分配哪个 VLAN的媒体映射对。 如果 BGF 按没有 VLAN来确定媒体映射对, 尽管两个 VLAN用户媒体通道可以用不同 的地址组标识区分开, 但是在会话时, 到达 BGF的上行媒体流(从 UE侧发 往网络侧)却不能确定使用哪条通道将媒体流转发出去。 对于其他网络, 当 不同用户的地址重叠时也存在同样的问题。 发明内容 For media network address translation traversal, because the addresses of different users overlap, according to the foregoing scheme, the media mapping data of different VLAN users sent by the P-CSCF to the BGF will be the same, then When a media map is assigned, the BGF will not know which VLAN mapping pair is assigned. If the BGF does not have a VLAN to determine the media mapping pair, although the two VLAN user media channels can be distinguished by different address group identifiers, in the session, the uplink media stream that arrives at the BGF (from the UE side to the network side) cannot Determine which channel to use to forward the media stream. For other networks, the same problem exists when the addresses of different users overlap. Summary of the invention
本发明实施例提供一种媒体流穿越网络地址转换的方法、 装置及系统, 以解决现有技术中建立的媒体映射关系在不同用户地址重叠时存在不能正确 转发媒体流的问题。  The embodiment of the invention provides a method, a device and a system for media stream traversing network address translation, so as to solve the problem that the media mapping relationship established in the prior art cannot correctly forward the media stream when different user addresses overlap.
一种建立用于转换媒体流的媒体映射关系的方法, 包括如下步骤: 第一网络实体获取需要传送的媒体流的地址信息和能够识别用户所在网 络的标识, 并将所述地址信息和标识发送到边界网关功能 BGF实体;  A method for establishing a media mapping relationship for converting a media stream includes the following steps: a first network entity acquires address information of a media stream to be transmitted and an identifier capable of identifying a network where the user is located, and sends the address information and the identifier To the border gateway function BGF entity;
所述 BGF实体根据所述地址信息建立用于转发媒体流的媒体映射关系, 并在该映射关系中绑定所述标识。  The BGF entity establishes a media mapping relationship for forwarding the media stream according to the address information, and binds the identifier in the mapping relationship.
一种建立用于转换媒体流的媒体映射关系的方法, 包括如下步骤: 第一网络实体获取需要传送的媒体流的相关信息并发送到负责 QoS策略 决策的第二网络实体, 所述相关信息包括地址信息和服务质量 QoS信息; 第二网络实体根据 QoS信息生成相应的 QoS策略,并将该 QoS策略和所 述地址信息发送到 BGF实体;  A method for establishing a media mapping relationship for converting a media stream includes the following steps: The first network entity acquires related information of the media stream that needs to be transmitted and sends the information to the second network entity responsible for the QoS policy decision, where the related information includes Address information and quality of service QoS information; the second network entity generates a corresponding QoS policy according to the QoS information, and sends the QoS policy and the address information to the BGF entity;
BGF 实体根据所述地址信息建立用于转发媒体流的媒体映射关系, 并将 所述 QoS策略与该媒体映射关系关联。  The BGF entity establishes a media mapping relationship for forwarding the media stream according to the address information, and associates the QoS policy with the media mapping relationship.
一种媒体流穿越网絡地址转换的方法, 包括如下步骤:  A method for media stream traversing network address translation includes the following steps:
网络中的边界网关功能 BGF实体接收用户发送的媒体流;  Border gateway function in the network The BGF entity receives the media stream sent by the user;
所述 BGF实体根据能够识别所述用户所在网络的标识和媒体流中的源地 址信息匹配媒体映射关系, 确定转发所述媒体流的端, 其中所述媒体映射关 系中绑定有能够识别用户所在网络的标识; 所述 BGF通过确定的端口转发所述媒体流。 The BGF entity determines, according to the identifier that can identify the network where the user is located, and the source address information in the media stream, to match the media mapping relationship, where the end of the media stream is forwarded, where the media mapping relationship is bound to identify the user. Identification of the network; The BGF forwards the media stream through the determined port.
一种网络设备, 包括:  A network device, including:
用于获取需要传送的媒体流的地址信息和能够识别用户所在网络的标识 的装置;  Means for obtaining address information of a media stream to be transmitted and an identifier capable of identifying a network in which the user is located;
用于下发建立媒体映射关系的消息的装置, 其中所述消息中包含所述能 够识别用户所在网络的标识。  And a device for sending a message for establishing a media mapping relationship, where the message includes the identifier that can identify a network where the user is located.
一种网络设备, 包括:  A network device, including:
用于根据需要传送的媒体流的地址信息和能够识别用户所在网络的标识 建立用于转发媒体流的媒体映射关系, 并在媒体映射关系中绑定所述标识的 装置;  And means for establishing a media mapping relationship for forwarding the media stream, and binding the identifier in the media mapping relationship, for the address information of the media stream that is transmitted according to the requirement and the identifier of the network where the user is located;
用于在接收到用户设备发送的媒体流时, 根据能够识别用户所在网絡的 标识和源地址信息匹配所述媒体映射关系以确定转发媒体流的端口, 并通过 该端口转发所述媒体流的装置。  When receiving the media stream sent by the user equipment, the device that matches the media mapping relationship according to the identifier and source address information of the network where the user is located to determine a port for forwarding the media stream, and forwards the media stream through the port .
一种网络系统, 包括:  A network system, including:
第一网絡实体, 用于获取用户设备需要传送的媒体流的地址信息和能够 识别用户所在网络的标识, 并下发建立.用于转发媒体流的媒体映射关系的消 边界网关功能 BGF实体, 用于根据网络控制实体提供的所述地址信息和 所述标识建立用于转发媒体流的媒体映射关系并绑定所述标识, 以及在接收 到用户设备发送的媒体流时, 根据能够识别用户所在网络的标识和源地址信 息匹配所述媒体映射关系以确定转发媒体流的端口, 并通过该端口转发所述 媒体流。  a first network entity, configured to acquire address information of a media stream that the user equipment needs to transmit, and an identifier that can identify the network where the user is located, and send a BGF entity that is used to forward the media mapping relationship of the media stream. Establishing a media mapping relationship for forwarding the media stream according to the address information and the identifier provided by the network control entity, and binding the identifier, and when receiving the media stream sent by the user equipment, according to the network capable of identifying the user The identification and source address information matches the media mapping relationship to determine a port for forwarding the media stream, and the media stream is forwarded through the port.
一种网络系统, 包括:  A network system, including:
第一网絡实体, 用于获取需要传送的媒体流的相关信息和发送该相关信 息, 所述相关信息包括地址信息和服务质量 QoS信息;  a first network entity, configured to acquire related information of a media stream that needs to be transmitted, and send the related information, where the related information includes address information and quality of service QoS information;
第二网络实体, 用于根据第一网络实体发送来的 QoS 信息生成相应的 QoS策略, 并发送该 QoS策略和所述地址信息; BGF实体,用于根据所述地址信息建立用于转发媒体流的媒体映射关系, 并实施所述 QoS策略。 a second network entity, configured to generate a corresponding QoS policy according to the QoS information sent by the first network entity, and send the QoS policy and the address information; The BGF entity is configured to establish, according to the address information, a media mapping relationship for forwarding the media stream, and implement the QoS policy.
本发明实施例在边界媒体网关功能实体建立用于转发媒体流的媒体映射 关系时绑定用户所在网络的网络标识, 在后续转发用户侧发送的媒体流时通 过源地址和网络标识查询媒体映射关系获得转发媒体流的端口, 因此, 即使 不同网络中用户的地址重叠, 边界媒体网关功能实体也能正确的匹配转发媒 体流的媒体映射关系。  The embodiment of the present invention binds the network identifier of the network where the user is located when the boundary media gateway function entity establishes the media mapping relationship for forwarding the media stream, and queries the media mapping relationship by using the source address and the network identifier when forwarding the media stream sent by the user side. The port for forwarding the media stream is obtained. Therefore, even if the addresses of the users in different networks overlap, the border media gateway function entity can correctly match the media mapping relationship of the forwarding media stream.
本发明实施例根据需要传送的媒体的 QoS信息生成相应的 QoS策略并与 建立的媒体映射关系关联, 利用该 QoS策略对通过该媒体映射关系转发的媒 体流进行 QoS控制, 因而能够充分保证传送媒体流的服务质量要求; 同时, 将建立媒体映射关系的流程与生成 QoS策略的流程融合, 简化了处理流程, 提高了系统效率。 附图说明  The embodiment of the present invention generates a corresponding QoS policy according to the QoS information of the media to be transmitted and associates with the established media mapping relationship, and uses the QoS policy to perform QoS control on the media stream forwarded by the media mapping relationship, thereby fully ensuring the transmission media. The service quality requirements of the flow; at the same time, the process of establishing the media mapping relationship is merged with the process of generating the QoS policy, which simplifies the processing flow and improves the system efficiency. DRAWINGS
图 1为现有技术中数据包的结构示意图;  1 is a schematic structural diagram of a data packet in the prior art;
图 1为现有技术中 MIDCOM的框架结构示意图;  1 is a schematic structural diagram of a frame of a MIDCOM in the prior art;
图 3为现有技术中用户通过 NAT使用 IMS业务的网络结构示意图; 图 4为现有技术中实现信令穿越 NAT的流程图;  3 is a schematic diagram of a network structure in which a user uses an IMS service through a NAT in the prior art; FIG. 4 is a flowchart of implementing signaling traversal NAT in the prior art;
图 5为现有 IMS网络中通过会话请求 INVITE建立媒体映射通道的流程 图;  FIG. 5 is a flow chart of establishing a media mapping channel by using a session request INVITE in an existing IMS network;
图 6为现有技术中 VLAN用户使用 IMS业务的网络结构示意图; 图 7A为本发明实施例中实现在 BGF中的媒体映射关系中绑定 VLAN标 识系统结构示意图;  6 is a schematic diagram of a network structure of a VLAN user using an IMS service in the prior art; FIG. 7A is a schematic structural diagram of a system for binding a VLAN in a media mapping relationship in a BGF according to an embodiment of the present invention;
图 7B为本发明实施例中通过注册过程建立用户标识和 VLAN标识绑定 的流程图;  7B is a flowchart of establishing a user identifier and a VLAN identifier binding by using a registration process according to an embodiment of the present invention;
图 8为本发明实施例中在用户建立会话时建立媒体映射关系的流程图; 图 9 为本发明实施例中支持媒体映射关系建立和服务质量控制的系统示 意图; FIG. 8 is a flowchart of establishing a media mapping relationship when a user establishes a session according to an embodiment of the present invention; FIG. 9 is a system diagram of supporting media mapping relationship establishment and service quality control according to an embodiment of the present invention; Intention
图 10 为本发明实施例中建立媒体映射和下发服务质量控制策略的流程 图;  FIG. 10 is a flowchart of establishing a media mapping and delivering a service quality control policy according to an embodiment of the present invention;
图 11为本发明实施例中多级 NAT场景的系统示意图;  FIG. 11 is a schematic diagram of a system of a multi-level NAT scenario according to an embodiment of the present invention;
图 12为本发明实施例中实现 BGF动态获取 VLAN信息的系统示意图。 具体实施方式  FIG. 12 is a schematic diagram of a system for dynamically acquiring VLAN information by a BGF according to an embodiment of the present invention. detailed description
为了解决不同用户地址重叠而导致媒体流的传输问题, 本实施例在建立 用于转发媒体流的媒体流映射关系时绑定能够识别用户所在网络的标识。 进 一步的, 在后续转发媒体流时, 利用媒体流中的源地址和能够识别用户所在 网络的标识与所述媒体流映射关系进行匹配, 以确定转发媒体的端口。  In order to solve the problem of the media stream transmission caused by the overlapping of different user addresses, the embodiment binds the identifier of the network where the user is located when establishing the media stream mapping relationship for forwarding the media stream. Further, when the media stream is forwarded, the source address in the media stream and the identifier of the network in which the user is located are matched with the media stream mapping relationship to determine a port for forwarding the media.
本实施例主要以虚拟局域网 VLAN用户使用 IMS 业务为例进行详细说 明, 其中, 能够识别用户所在网络的标识采用 VLAN标识。  In this embodiment, the IMS service of the virtual local area network (VLAN) is used as an example for detailed description. The identifier of the network where the user is located adopts the VLAN identifier.
参阅图 7A所示, 不同 VLAN的用户通过不同的物理端口接入到边界网 络功能 BGF (或称 Policy Enforcement Function, 即策略执行功能 PEF ), BGF 充当网络地址转换 NAT设备。 当 VALN用户注册时, BGF固化分配给该用户 的信令通道, 用于后续终端用户与 IMS系统的信令交互。  As shown in Figure 7A, users in different VLANs access the BGF (or Policy Enforcement Function, PEF) through different physical ports. The BGF acts as a network address translation NAT device. When the VALN user registers, the BGF solidifies the signaling channel assigned to the user for subsequent signaling interaction between the end user and the IMS system.
本实施例中, 通过才广展 P-CSCF与 BGF之间的接口, 在用户注册时建立 用户和所在 VLAN 网络的 VLAN标识的绑定关系, 在后续会话建立过程中 BGF将 VLAN标识与建立的媒体映射关系绑定。由于不同 VLAN用户通过不 同的物理接口接入 BGF, BGF能够根据物理接口区分用户的 VLAN标识。 BGF 在接收到 VLAN用户发送的媒体流时, 根据 VLAN标识和源地址信息匹配所 述媒体映射关系以确定转发媒体流的端口, 并通过该端口转发所述媒体流。  In this embodiment, the interface between the P-CSCF and the BGF is widely deployed, and the binding relationship between the user and the VLAN identity of the VLAN network is established when the user registers, and the BGF identifies the VLAN and establishes the session in the subsequent session establishment process. Media mapping relationship binding. Because different VLAN users access the BGF through different physical interfaces, the BGF can distinguish the user's VLAN ID based on the physical interface. When receiving the media stream sent by the VLAN user, the BGF matches the media mapping relationship according to the VLAN identifier and the source address information to determine a port for forwarding the media stream, and forwards the media stream through the port.
参阅图 7B 所示, 在用户注册时, IMS 系统中的代理呼叫会话控制功能 P-CSCF建立用户和 VLAN ID绑定关系的处理流程如下:  Referring to FIG. 7B, when the user registers, the process of establishing the binding relationship between the user and the VLAN ID by the proxy call session control function P-CSCF in the IMS system is as follows:
步骤 700: VLAN用户 UE1发起注册 REGISTER, 该消息通过 VLAN到 达 BGF。 步骤 701: BGF收到 REGISTER消息, 因为不同 VLAN通过不同的物理 接口接入 BGF , 通过接口信息 BGF可以为 UE 1用户分配网络侧的 IP地址和 端口, 建立临时的信令通道, 完成后将注册 REGISTER请求前传给 P-CSCF。 Step 700: The VLAN user UE1 initiates registration of the REGISTER, and the message reaches the BGF through the VLAN. Step 701: The BGF receives the REGISTER message, because different VLANs access the BGF through different physical interfaces, and the interface information BGF can allocate the IP address and port of the network side to the UE 1 user, establish a temporary signaling channel, and register after completion. The REGISTER request is passed to the P-CSCF.
步骤 702: P-CSCF判断 求注册用户为私网用户,则通过 P-CSCF和 BGF 之间的接口, 将 BGF临时分配给该用户的信令通道(网絡侧地址和端口) 下 发给 BGF,要求 BGF固化该用户的信令通道,用于后续该私网用户与 P-CSCF 的信令交互。  Step 702: The P-CSCF determines that the registered user is a private network user, and the BGF is temporarily assigned to the signaling channel (network side address and port) of the user through the interface between the P-CSCF and the BGF, and is sent to the BGF. The BGF is required to cure the signaling channel of the user for subsequent signaling interaction between the private network user and the P-CSCF.
步驟 703: BGF成功处理固化请求后,将 UE1用户所在 VLAN网的 VLAN ID通过响应消息带给 P-CSCF。  Step 703: After successfully processing the curing request, the BGF sends the VLAN ID of the VLAN network where the UE1 user is located to the P-CSCF by using a response message.
步骤 704: P-CSCF收到 BGF响应后, 保存该用户与 VLAN ID的关联关 系, 用于后续建立会话时媒体 NAT 的建立, 完成后续的注册请求处理后, P-CSCF将 REGISTER消息前传。此时已经完成 VLAN用户信令 NAT的穿越。  Step 704: After receiving the BGF response, the P-CSCF saves the association relationship between the user and the VLAN ID, and is used to establish the media NAT when the session is established. After completing the subsequent registration request processing, the P-CSCF forwards the REGISTER message. At this point, VLAN user signaling NAT traversal has been completed.
参阅图 8所示, VLAN用户建立会话时 , 使用注册时该用户与 VLAN ID 的绑定关系建立媒体映射关系, 其处理流程如下:  As shown in Figure 8, when a VLAN user establishes a session, the media mapping relationship is established between the user and the VLAN ID. The process is as follows:
步骤 800: VLAN中的 UE1发出会话建立请求 INVITE, 用户会话时需要 的媒体流相关信息通过 INVITE消息中的 SDP消息体携带,该请求通过 VLAN 到达 BGF。  Step 800: The UE1 in the VLAN sends a session establishment request INVITE, and the media stream related information required for the user session is carried by the SDP message body in the INVITE message, and the request reaches the BGF through the VLAN.
步骤 801: BGF通过该用户注册时固化的信令通道将 INVITE消息前传给 P-CSCF。  Step 801: The BGF forwards the INVITE message to the P-CSCF through the signaling channel that is solidified when the user registers.
步骤 802: P-CSCF收到 INVITE消息后, 将 UE1会话时的媒体相关信息 下发给 BGF, 用于 BGF建立用户会话时的媒体映射, 同时 P-CSCF将注册时 与用户绑定的 VLAN ID下发给 BGF , 用于 BGF区分不同的 VLAN用户建立 媒体映射。  Step 802: After receiving the INVITE message, the P-CSCF sends the media related information of the UE1 session to the BGF, and uses the media mapping when the BGF establishes the user session, and the P-CSCF binds the VLAN ID to the user when registering. It is sent to the BGF for BGF to distinguish different VLAN users to establish media mapping.
步骤 803: BGF根据 UE1会话时的媒体流信息( IP地址和端口)和 UE1 关联的 VLAN ID, 建立会话时的媒体映射关系对, 即在该媒体映射关系对中 绑定 VLAN ID, 通过响应消息将该信息带给 P-CSCF。  Step 803: The BGF establishes a media mapping relationship pair in the session according to the media stream information (IP address and port) of the UE1 session and the VLAN ID associated with the UE1, that is, the VLAN ID is bound in the media mapping relationship, and the response message is received. Bring this information to the P-CSCF.
步骤 804: P-CSCF用 BGF分配的网络侧地址和端口替换 INVITE请求中 SDP消息体的媒体流地址和端口, 然后将 INVITE消息前传到被叫侧。 此时 完成主叫侧用户媒体映射的初始创建(完成会话建立可能经过多次交互)。 Step 804: The P-CSCF replaces the INVITE request with the network side address and port allocated by the BGF. The media stream address and port of the SDP message body, and then forward the INVITE message to the called side. At this point, the initial creation of the user media mapping on the calling side is completed (the session establishment may be performed multiple times).
步骤 805、 UE1发送媒体流。  Step 805: The UE1 sends a media stream.
步骤 806、 BGF接收到媒体流后提取用户的 VLAN标识和源地址信息, 并与媒体映射关系进行匹配以确定转发端口, 并确定的端口发送媒体流。  Step 806: After receiving the media stream, the BGF extracts the VLAN identifier and the source address information of the user, and matches the media mapping relationship to determine a forwarding port, and the determined port sends the media stream.
当会话需要作 QoS控制时, 此时场景请参阅图 9所示。 在该场景中, 不 同的 VLAN通过 BGF不同的物理口接入, P-CSCF和 BGF通过内部接口(使 用 COPS协议) 固化信令通道, 因为该接口没有规范, 可能在 BGF实现信令 代理功能后取消。 用户要求的 QoS服务是通过 P-CSCF、 SPDF、 BGF之间的 交互完成, P-CSCF与 SPDF之间接口、 SPDF和 BGF之间接口是标准 Gq,和 la接口。  When the session needs to be QoS controlled, the scenario is shown in Figure 9. In this scenario, different VLANs are accessed through different physical interfaces of the BGF. The P-CSCF and the BGF use the internal interface (using the COPS protocol) to cure the signaling channel. Because the interface is not standardized, the BGF may implement the signaling proxy function. cancel. The QoS service required by the user is completed through the interaction between P-CSCF, SPDF, and BGF. The interface between P-CSCF and SPDF, and the interface between SPDF and BGF are standard Gq, and la interface.
本实施例使媒体 NAT映射的建立融合在 QoS流程中, 即通过扩展 Gq,、 la接口, 支持媒体 NAT映射建立和 QoS控制。 该场景中 VLAN用户的注册 流程同前述描述, 信令通道的建立由 BGF 自己完成, 信令通道的固化由 P-CSCF和 BGF之间内部接口完成。 当 BGF实现信令代理功能后, 该接口可 以取消。对于会话流程, 可以将在 BGF建立会话的媒体映射对和实施 QoS策 略两个流程合一,通过扩展 P-CSCF与 SPDF之间的 Gq,接口和 SPDF与 BGF 之间的 la接口, 在下发 QoS控制策略时, 也处理媒体 NAT映射, 从而简化 流程。 参阅图 10所示, 建立媒体映射关系的过程如下:  In this embodiment, the establishment of the media NAT mapping is integrated in the QoS process, that is, by extending the Gq, la interface, supporting media NAT mapping establishment and QoS control. In this scenario, the registration process of the VLAN user is the same as described above. The establishment of the signaling channel is completed by the BGF itself. The curing of the signaling channel is completed by the internal interface between the P-CSCF and the BGF. When the BGF implements the signaling proxy function, the interface can be cancelled. For the session process, the media mapping pair establishing the session in the BGF and the implementation of the QoS policy can be unified. By extending the Gq between the P-CSCF and the SPDF, the interface and the LA interface between the SPDF and the BGF, the QoS is delivered. When controlling policies, media NAT mapping is also handled, which simplifies the process. Referring to Figure 10, the process of establishing a media mapping relationship is as follows:
步骤 1000: VLAN中的 UE1发出会话建立请求 INVITE, 用户会话时需 要的媒体流相关信息通过 INVITE 消息中的 SDP 消息体携带, 该请求通过 VLAN到达 BGF。  Step 1000: The UE1 in the VLAN sends a session establishment request INVITE, and the media stream related information required by the user session is carried by the SDP message body in the INVITE message, and the request reaches the BGF through the VLAN.
步骤 1001 : BGF通过该用户注册时固化的信令通道将 INVITE消息前传 给 P-CSCF。  Step 1001: The BGF forwards the INVITE message to the P-CSCF through the signaling channel that is solidified when the user registers.
步骤 1002: P-CSCF将 UE1用户会话时所需的媒体流的地址和端口信息、 QoS信息、 用户注册时绑定的 VLAN ID通过扩展的 Gq'接口给基于服务的策 略决策功能 SPDF, SPDF透传给 BGF区分不同的 VLAN用户建立媒体映射 和指定 QoS策略。 Step 1002: The P-CSCF sends the address and port information of the media stream required by the UE1 user session, the QoS information, and the VLAN ID bound by the user registration to the service-based policy decision function SPDF through the extended Gq' interface. Pass to BGF to distinguish different VLAN users to establish media mapping And specify a QoS policy.
步骤 1003: SPDF 收到请求后, 根据本地策略计算最终控制 QoS资源的 策略决策,将策略决策信息、 UE1用户会话时的媒体流地址和端口信息、 VLAN ID等信息通过扩展 la接口下发给 BGF。  Step 1003: After receiving the request, the SPDF calculates a policy decision for the final control of the QoS resource according to the local policy, and sends the policy decision information, the media stream address, the port information, and the VLAN ID of the UE1 user session to the BGF through the extended LA interface. .
步骤 1004: BGF根据 UE1用户会话时的媒体流地址和端口信息、 VLAN ID信息建立会话时媒体映射通道, 同时实施 SPDF 下发的 QoS策略, 完成 后将处理结果通过扩展 la接口上传给 SPDF设备。  Step 1004: The BGF establishes a session-time media mapping channel according to the media stream address, the port information, and the VLAN ID information of the UE1 user session, and implements the QoS policy delivered by the SPDF. After the completion, the processing result is uploaded to the SPDF device through the extended la interface.
步骤 1005: SPDF 完成后续的 QoS处理后, 通过扩展 Gq '接口将媒体映 射信息透传给 P-CSCF。  Step 1005: After the SPDF completes the subsequent QoS processing, the media mapping information is transparently transmitted to the P-CSCF through the extended Gq 'interface.
步骤 1006: P-CSCF 用 BGF 分配的网络侧地址和端口替换 INVITE请 求中 SDP消息体的媒体流地址和端口, 然后将 INVITE 消息前传到被叫侧。 此时完成主叫侧用户媒体映射的初始创建。  Step 1006: The P-CSCF replaces the media stream address and port of the SDP message body in the INVITE request with the network side address and port allocated by the BGF, and then forwards the INVITE message to the called side. At this point, the initial creation of the user media mapping on the calling side is completed.
步骤 1007: 当被叫侧回 183响应后, P-CSCF判断需要更改先前建立的媒 体映射和 QoS信息, 则通过 Gq,接口通知 SPDF更改。 如, 先建立了转发音 频流和视频流的映射关系, 通过协商后只转发音频流, 则通知删除转发视频 流的映射关系。 又如, 协商后的 QoS信息与在先的 QoS信息发生变化, 此时 需要重新生成 QoS策略并通知 BGF更改。  Step 1007: After the called side returns 183 response, the P-CSCF judges that the previously established media mapping and QoS information needs to be changed, and then the SPDF is notified through the Gq interface. For example, the mapping relationship between the pronunciation frequency stream and the video stream is established first, and only the audio stream is forwarded after negotiation, and then the mapping relationship of the forwarded video stream is notified. For another example, after the negotiated QoS information changes with the previous QoS information, the QoS policy needs to be regenerated and the BGF change is notified.
步骤 1008: SPDF则将更改后的 QoS策略和媒体映射信息通过扩展 la接 口下发给 BGF。  Step 1008: The SPDF sends the changed QoS policy and media mapping information to the BGF through the extended la interface.
步驟 1009: BGF完成更改媒体映射信息后, 回响应给 SPDF。  Step 1009: After the BGF finishes changing the media mapping information, it returns a response to the SPDF.
步骤 1010: SPDF将媒体映射信息透传给 P-CSCF。  Step 1010: The SPDF transparently transmits the media mapping information to the P-CSCF.
步骤 1011 : P-CSCF更改 INVITE 消息体中媒体映射信息后,将消息前传 给用户 UE1。  Step 1011: After the P-CSCF changes the media mapping information in the INVITE message body, the P-CSCF forwards the message to the user UE1.
在步驟 1007中, P-CSCF判断不需要更改映射关系和 QoS信息时, 则不 再进行步骤 1008至步骤 1012。  In step 1007, when the P-CSCF determines that the mapping relationship and the QoS information do not need to be changed, step 1008 to step 1012 are not performed.
上述媒体 NAT映射的建立与 QoS流程的融合同样适用于其他需要完成 NAT映射和 QoS控制的应用场景,而不仅限于通过绑定 VLAN以防止不同用 户地址重叠而不能正确转发媒体的应用中。 The above-mentioned media NAT mapping establishment and QoS flow integration are also applicable to other application scenarios that need to complete NAT mapping and QoS control, and are not limited to binding VLANs to prevent different uses. In applications where the address of the user overlaps and the media cannot be forwarded correctly.
上述方法同样适用于图 11所示的存在多级 NAT 的场景。 在该场景中, VLAN用户信令和媒体通道的建立完全同前述方案, 对于媒体 NAT, 中间级 联的 NAT设备 1、 2仅充当 NAT功能, 不会更改信令消息体的媒体流地址和 端口消息, 因此, P-CSCF 下发给 BGF 的媒体流地址和端口仍然是原 UE1 的信息, BGF据此建立媒体映射通道。  The above method is also applicable to the scenario in which multi-level NAT exists as shown in FIG. In this scenario, the establishment of VLAN user signaling and media channels is completely the same as the foregoing scheme. For media NAT, the intermediate cascaded NAT devices 1, 2 only serve as NAT functions, and do not change the media stream address and port of the signaling message body. The message, therefore, the media stream address and port delivered by the P-CSCF to the BGF is still the information of the original UE1, and the BGF establishes a media mapping channel accordingly.
参阅图 12所示, 当不同的 VLAN通过同一物理接口接入 BGF时, BGF 动态获取 VLAN信息, 例如从 SWITCH过来的数据包的 IP头中包含 VLAN 标识, 用于指示该包来自哪个 VLAN 网, 当 BGF 同一物理口收到含有不同 VLAN标识的数据包时, BGF可以据此建立不同的 NAT映射区分不同 VLAN。 当网络侧的数据包发到 BGF不同的网络侧地址或端口时, BGF可以在 IP头 中加入相应 VLAN标识后前传给 SWITCH, SWITCH可以据此将数据包正确 分发给用户。 因此, 前面描述的 VLAN用户的注册和会话流程同样适用图 12 所示的场景。  As shown in Figure 12, when different VLANs access the BGF through the same physical interface, the BGF dynamically obtains VLAN information. For example, the IP header of the data packet sent from SWITCH includes a VLAN identifier, which is used to indicate which VLAN network the packet comes from. When the same physical interface of the BGF receives a packet containing a different VLAN identifier, the BGF can establish different NAT mappings to distinguish different VLANs. When a packet on the network side is sent to a different network side address or port of the BGF, the BGF can forward the corresponding VLAN identifier to the IP header and forward it to SWITCH. The SWITCH can correctly distribute the data packet to the user. Therefore, the registration and session flow of the VLAN user described above also applies to the scenario shown in Figure 12.
对于区别用户所在网络的标识不限于网络标识 , 也可是网段信息等。 本实施例中的一种网络设备包括: 获取装置, 用于获取需要传送的媒体 流的地址信息和能够识别用户所在网絡的标识; 发送装置, 用于下发建立媒 体映射关系的消息的装置, 其中所述消息中包含所述能够识别用户所在网络 的标识。  The identifier for distinguishing the network where the user is located is not limited to the network identifier, but also the network segment information. The network device in this embodiment includes: an acquiring device, configured to acquire address information of a media stream that needs to be transmitted, and an identifier that can identify a network where the user is located; and a sending device, configured to send a message for establishing a media mapping relationship, The message includes the identifier that can identify the network where the user is located.
本实施例中的另一种网络设备包括: 创建装置, 用于根据需要传送的媒 体流的地址信息和能够识别用户所在网络的标识建立用于转发媒体流的媒体 映射关系, 并在媒体映射关系中绑定所述标识; 确定装置, 用于在接收到用 户设备发送的媒体流时, 根据能够识别用户所在网络的标识和源地址信息匹 配所述媒体映射关系以确定转发媒体流的端口, 并通过该端口转发所述媒体 流。 上述方法同样适用于地址重叠的不同终端的其他媒体流处理, 例如, 地址重 叠用户需要作 QoS控制, 或者查询地址重叠用户的物理位置信息等应用。 本实施例在边界媒体网关功能实体建立用于转发媒体流的媒体映射关系 时绑定用户所在网络的网络标识, 在后续转发用户侧发送的媒体流时通过源 地址和网络标识查询媒体映射关系获得转发媒体流的端口, 因此, 即使不同 网络中用户的地址重叠, 边界媒体网关功能实体也能正确的匹配转发媒体流 的媒体映射关系。 Another network device in this embodiment includes: a creating device, configured to establish, according to the address information of the media stream that needs to be transmitted, and the identifier of the network where the user is located, a media mapping relationship for forwarding the media stream, and the media mapping relationship Binding the identifier; determining means, configured to: when receiving the media stream sent by the user equipment, match the media mapping relationship according to the identifier and source address information of the network where the user is located to determine a port for forwarding the media stream, and The media stream is forwarded through the port. The above method is also applicable to other media stream processing of different terminals with overlapping addresses, for example, address weight The stack user needs to perform QoS control, or query applications such as the physical location information of the overlapping users. In this embodiment, when the boundary media gateway function entity establishes a media mapping relationship for forwarding the media stream, the network identifier of the network where the user is located is bound, and when the media stream sent by the user side is forwarded, the source address and the network identifier are used to query the media mapping relationship. The port of the media stream is forwarded. Therefore, even if the addresses of users in different networks overlap, the border media gateway function entity can correctly match the media mapping relationship of the forwarding media stream.
本实施例根据需要传送的媒体的 QoS信息生成相应的 QoS策略并与建立 的媒体映射关系关联, 利用该 QoS策略对通过该媒体映射关系转发的媒体流 进行 QoS控制, 因而能够充分保证传送媒体流的服务盾量要求; 同时, 将建 立媒体映射关系的流程与生成 QoS策略的流程融合, 简化了处理流程, 提高 了系统效率。 发明的精神和范围。 这样, 倘若对本发明的这些修改和变型属于本发明权利 要求及其等同技术的范围之内, 则本发明也意图包含这些改动和变型在内。  In this embodiment, the QoS policy of the media to be transmitted is generated according to the QoS information of the media to be transmitted, and is associated with the established media mapping relationship, and the QoS policy is used to perform QoS control on the media stream forwarded by the media mapping relationship, so that the media stream can be fully guaranteed. At the same time, the process of establishing a media mapping relationship is merged with the process of generating a QoS policy, which simplifies the processing flow and improves system efficiency. The spirit and scope of the invention. Therefore, it is intended that the present invention cover the modifications and variations of the invention as claimed.

Claims

权利要求 Rights request
1、 一种建立用于转换媒体流的媒体映射关系的方法, 其特征在于, 包括 如下步骤:  A method for establishing a media mapping relationship for converting a media stream, comprising the steps of:
第一网络实体获取需要传送的媒体流的地址信息和能够识别用户所在网 络的标识, 并将所述地址信息和标识发送到边界网关功能 BGF实体;  The first network entity acquires address information of the media stream that needs to be transmitted and an identifier that can identify the network where the user is located, and sends the address information and the identifier to the border gateway function BGF entity;
所述 BGF实体根据所述地址信息建立用于转发媒体流的媒体映射关系, 并在该映射关系中绑定所述标识。  The BGF entity establishes a media mapping relationship for forwarding the media stream according to the address information, and binds the identifier in the mapping relationship.
2、 如权利要求 1所述的方法, 其特征在于, 在用户注册时获取所述能够 识别用户所在网络的标识。  2. The method according to claim 1, wherein the identifier of the network in which the user is located is acquired when the user registers.
3、 如权利要求 1所述的方法, 其特征在于, 所述能够识别用户所在网络 的标识为网络标识或地址段信息。  The method according to claim 1, wherein the identifier capable of identifying the network where the user is located is network identifier or address segment information.
4、 如权利要求 1所述的方法, 其特征在于, 第一网络实体进一步获取需 要传送的媒体流的服务质量 QoS信息, 并将所述标识、 地址信息和 QoS信息 发送到负责 QoS策略决策的第二网络实体, 第二网络实体生成相应的 QoS策 略, 并将所述标识、 地址信息和 QoS策略发送到所述 BGF实体, BGF实体 实施该 QoS策略。  4. The method according to claim 1, wherein the first network entity further obtains quality of service QoS information of the media stream that needs to be transmitted, and sends the identifier, the address information, and the QoS information to the QoS policy decision. And the second network entity generates a corresponding QoS policy, and sends the identifier, the address information, and the QoS policy to the BGF entity, where the BGF entity implements the QoS policy.
5、 如权利要求 4所述的方法, 其特征在于, 所述第二网络实体透传所述 地址信息和标识。  The method according to claim 4, wherein the second network entity transparently transmits the address information and the identifier.
6、 如权利要求 4或 5所述的方法, 其特征在于, 通过扩展第一网络实体 与第二网络实体之间的接口传送所述媒体流的相关信息; 通过扩展第二网络 实体与 BGF实体之间的接口传送所述地址信息、 QoS策略和所述标识。  6. The method according to claim 4 or 5, wherein the information about the media stream is transmitted by extending an interface between the first network entity and the second network entity; by extending the second network entity and the BGF entity The interface between the interface transmits the address information, the QoS policy, and the identity.
7、 如权利要求 6所述的方法, 其特征在于, 第一网络实体为 IMS网络中 的 P-CSCF实体, 所述第二网络实体为 IMS网络中的 SPDF/PDF实体; 所述 P-CSCF实体与 SPDF/PDF实体之间为扩展的 Gq,接口, 所述 SPDF/PDF实体 与 BGF实体之间为扩展的 la接口。  7. The method according to claim 6, wherein the first network entity is a P-CSCF entity in an IMS network, and the second network entity is an SPDF/PDF entity in an IMS network; the P-CSCF An extended Gq, an interface between the entity and the SPDF/PDF entity, and an extended la interface between the SPDF/PDF entity and the BGF entity.
8、 一种建立用于转换媒体流的媒体映射关系的方法, 其特征在于, 包括 如下步驟: 8. A method for establishing a media mapping relationship for converting a media stream, characterized in that The following steps:
第一网络实体获取需要传送的媒体流的相关信息并发送到负责 QoS策略 决策的第二网絡实体, 所述相关信息包括地址信息和良务质量 QoS信息; 第二网络实体才 据 QoS信息生成相应的 QoS策略,并将该 QoS策略和所 述地址信息发送到 BGF实体;  The first network entity acquires related information of the media stream that needs to be transmitted and sends the information to the second network entity responsible for the QoS policy decision, where the related information includes the address information and the quality of service QoS information; the second network entity generates the corresponding information according to the QoS information. a QoS policy, and sending the QoS policy and the address information to the BGF entity;
BGF 实体根据所述地址信息建立用于转发媒体流的媒体映射关系, 并实 施所述 QoS策略。  The BGF entity establishes a media mapping relationship for forwarding the media stream according to the address information, and implements the QoS policy.
9、 如权利要求 8所述的方法, 其特征在于, 所述相关信息进一步包括能 够识别用户所在网络的标识, 所述第二网络实体将该标识发送到 BGF实体, BGF实体将该标识与建立的媒体映射关系绑定。  The method according to claim 8, wherein the related information further comprises an identifier capable of identifying a network where the user is located, the second network entity sends the identifier to the BGF entity, and the BGF entity establishes the identifier and the identifier Media mapping relationship binding.
10、 如权利要求 9所述的方法, 其特征在于, 第一网络实体在用户注册 过程中获取所述能够识别用户所在网络的标识。  10. The method according to claim 9, wherein the first network entity acquires the identifier of the network in which the user is located during the user registration process.
11、 如权利要求 9 所述的方法, 其特征在于, 所述第二网络实体透传所 述地址信息和标识。  The method according to claim 9, wherein the second network entity transparently transmits the address information and the identifier.
12、 如权利要求 11所述的方法, 其特征在于, 所述标识为网络标识或地 址段信息。  The method according to claim 11, wherein the identifier is network identifier or address segment information.
13、 如权利要求 8至 12任一项所述的方法, 其特征在于, 通过扩展第一 网络实体与第二网絡实体之间的现有接口传送所述媒体流的相关信息; 通过 扩展第二网络实体与 BGF实体之间的现有接口传送所述地址信息、 QoS策略 和所述标识。  The method according to any one of claims 8 to 12, wherein the related information of the media stream is transmitted by extending an existing interface between the first network entity and the second network entity; The existing interface between the network entity and the BGF entity transmits the address information, the QoS policy, and the identity.
14、 如权利要求 13所述的方法, 其特征在于, 第一网络实体为 IMS网络 中的 P-CSCF 实体, 所述第二网络实体为 IMS 网络中的 SPDF/PDF 实体; P-CSCF实体与 SPDF/PDF实体之间为扩展的 Gq'接口, SPDF/PDF实体与 BGF 实体之间为扩展的 la接口。  14. The method according to claim 13, wherein the first network entity is a P-CSCF entity in an IMS network, the second network entity is an SPDF/PDF entity in an IMS network; and the P-CSCF entity and The SPDF/PDF entity is an extended Gq' interface, and the SPDF/PDF entity and the BGF entity are extended la interfaces.
15、 一种媒体流穿越网络地址转换的方法, 其特征在于, 包括如下步骤: 网络中的边界网关功能 BGF实体接收用户发送的媒体流;  A method for media stream traversing network address translation, comprising the following steps: a border gateway function in a network, a BGF entity receiving a media stream sent by a user;
所述 BGF实体才 据能够识别所述用户所在网络的标识和媒体流中的源地 址信息匹配媒体映射关系, 确定转发所述媒体流的端, 其中所述媒体映射关 系中绑定有能够识别用户所在网络的标识; The BGF entity is capable of identifying the identity of the network in which the user is located and the source in the media stream. The address information is matched with the media mapping relationship, and the end of the media stream is determined, where the media mapping relationship is bound with an identifier that can identify the network where the user is located;
所述 BGF通过确定的端口转发所述媒体流。  The BGF forwards the media stream through the determined port.
16、 如权利要求 15所述的方法, 其特征在于, 所述媒体流经过多级网絡 地址转换后传送至 BGF。  16. The method according to claim 15, wherein the media stream is transmitted to the BGF after being converted by a multi-level network address.
17、 如权利要求 15所述的方法, 其特征在于, BGF根据用户接入的物理 端口确定所述标识; 或者 BGF动态的从媒体流中提取所述标识。  17. The method according to claim 15, wherein the BGF determines the identifier according to a physical port accessed by the user; or the BGF dynamically extracts the identifier from the media stream.
18、 如权利要求 15至 17任一项所述的方法, 其特征在于, 所述标识为 网络标识或地址段信息。  The method according to any one of claims 15 to 17, wherein the identifier is network identifier or address segment information.
19、 一种网络设备, 其特征在于, 包括:  19. A network device, comprising:
用于获取需要传送的媒体流的地址信息和能够识别用户所在网络的标识 的装置;  Means for obtaining address information of a media stream to be transmitted and an identifier capable of identifying a network in which the user is located;
用于下发建立媒体映射关系的消息的装置, 其中所述消息中包含所述能 够识别用户所在网络的标识。  And a device for sending a message for establishing a media mapping relationship, where the message includes the identifier that can identify a network where the user is located.
20、 一种网络设备, 其特征在于, 包括:  20. A network device, comprising:
用于根据需要传送的媒体流的地址信息和能够识别用户所在网络的标识 建立用于转发媒体流的媒体映射关系 , 并在媒体映射关系中绑定所述标识的 装置;  And means for establishing a media mapping relationship for forwarding the media stream, and binding the identifier in the media mapping relationship, by using the address information of the media stream that is transmitted according to the requirement and the identifier of the network in which the user is located;
用于在接收到用户设备发送的媒体流时, 根据能够识别用户所在网絡的 标识和源地址信息匹配所述媒体映射关系以确定转发媒体流的端口, 并通过 该端口转发所述媒体流的装置。  When receiving the media stream sent by the user equipment, the device that matches the media mapping relationship according to the identifier and source address information of the network where the user is located to determine a port for forwarding the media stream, and forwards the media stream through the port .
21、 一种网络系统, 其特征在于, 包括:  21. A network system, comprising:
第一网络实体, 用于获取用户设备需要传送的媒体流的地址信息和能够 识别用户所在网络的标识, 并下发建立用于转发媒体流的媒体映射关系的消 ir . 边界网关功能 BGF实体, 用于根据网絡控制实体提供的所述地址信息和 所述标识建立用于转发媒体流的媒体映射关系并绑定所述标识, 以及在接收 到用户设备发送的媒体流时, 根据能够识别用户所在网絡的标识和源地址信 息匹配所述媒体映射关系以确定转发媒体流的端口, 并通过该端口转发所述 媒体流。 a first network entity, configured to obtain address information of a media stream that the user equipment needs to transmit, and an identifier that can identify the network where the user is located, and send an irir that establishes a media mapping relationship for forwarding the media stream. The border gateway function BGF entity, And establishing a media mapping relationship for forwarding the media stream according to the address information provided by the network control entity and the identifier, and binding the identifier, and receiving When the media stream is sent to the user equipment, the media mapping relationship is matched according to the identifier and source address information of the network where the user is located to determine a port for forwarding the media stream, and the media stream is forwarded through the port.
22、 如权利要求 21所述的网絡系统, 其特征在于, 还包括:  The network system according to claim 21, further comprising:
第二网络实体, 用于完成服务质量 QoS策略决策, 接收第一网络实体获 取的 QoS信息, 根据该 QoS信息生成相应的 QoS策略并发送到所述 BGF实 体, BGF实体进一步实施 QoS策略。  The second network entity is configured to complete the QoS policy decision, receive the QoS information obtained by the first network entity, generate a corresponding QoS policy according to the QoS information, and send the QoS policy to the BGF entity, and the BGF entity further implements the QoS policy.
23、 如权利要求 21所述的网络系统, 其特征在于, 第一网络实体通过扩 展的接口将所述地址信息、 标识和 QoS信息发送到第二网絡实体, 第二网络 实体通过扩展的接口将所述地址信息和标识透传至 BGF实体。  The network system according to claim 21, wherein the first network entity sends the address information, the identifier and the QoS information to the second network entity through the extended interface, and the second network entity uses the extended interface The address information and the identifier are transparently transmitted to the BGF entity.
.  .
24、 如权利要求 22所述的网络系统, 其特征在于, 第一网络实体为 IMS 网络中的 P-CSCF实体,所述第二网络实体为 IMS网络中的 SPDF/PDF实体; P-CSCF实体与 SPDF/PDF实体之间为扩展的 Gq,接口, SPDF/PDF实体与 BGF 实体之间为扩展的 la接口。 24. The network system according to claim 22, wherein the first network entity is a P-CSCF entity in an IMS network, the second network entity is an SPDF/PDF entity in an IMS network; and the P-CSCF entity Between the SPDF/PDF entity is an extended Gq, interface, and the SPDF/PDF entity and the BGF entity are extended la interfaces.
25、 一种网络系统, 其特征在于, 包括:  25. A network system, comprising:
第一网络实体, 用于获取需要传送的媒体流的相关信息和发送该相关信 息, 所述相关信息包括地址信息和服务质量 QoS信息;  a first network entity, configured to acquire related information of a media stream that needs to be transmitted, and send the related information, where the related information includes address information and quality of service QoS information;
第二网络实体, 用于根据第一网络实体发送来的 QoS 信息生成相应的 QoS策略, 并发送该 QoS策略和所述地址信息;  a second network entity, configured to generate a corresponding QoS policy according to the QoS information sent by the first network entity, and send the QoS policy and the address information;
BGF实体,用于根据所述地址信息建立用于转发媒体流的媒体映射关系, 并实施所述 QoS策略。  And a BGF entity, configured to establish, according to the address information, a media mapping relationship for forwarding the media stream, and implement the QoS policy.
PCT/CN2007/001643 2006-06-30 2007-05-21 Method, device and system for media flow traversing nat WO2008003214A1 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN200610094496.9 2006-06-30
CN200610094496A CN100596125C (en) 2006-06-30 2006-06-30 Process and system for media flow transverse network address conversion

Publications (1)

Publication Number Publication Date
WO2008003214A1 true WO2008003214A1 (en) 2008-01-10

Family

ID=38808672

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2007/001643 WO2008003214A1 (en) 2006-06-30 2007-05-21 Method, device and system for media flow traversing nat

Country Status (2)

Country Link
CN (1) CN100596125C (en)
WO (1) WO2008003214A1 (en)

Families Citing this family (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102387081B (en) * 2011-11-18 2014-04-02 华为技术有限公司 Communication service QoS assurance method, device and system in NAT scene
TWI524703B (en) * 2013-04-24 2016-03-01 可取國際股份有限公司 Network application device, network connection method, and network connection system
CN104883399B (en) * 2015-05-21 2018-03-20 深圳市创维群欣安防科技股份有限公司 A kind of advertisement machine connection realization method and system based on UUID
CN113676390B (en) * 2021-07-21 2022-10-25 北京网聚云联科技有限公司 VXLAN-based trigger type dynamic security channel method, user side and central console

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1458771A (en) * 2002-05-15 2003-11-26 华为技术有限公司 Multicasting messag transmission method base on two layer exchange device
CN1516409A (en) * 2003-08-26 2004-07-28 中兴通讯股份有限公司 Method for making medium stream pass through network address converter
CN1633102A (en) * 2003-12-24 2005-06-29 华为技术有限公司 Method for implementing NAT traversing and system thereof
CN1925419A (en) * 2005-09-02 2007-03-07 华为技术有限公司 Resource acceptance control handling method

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1458771A (en) * 2002-05-15 2003-11-26 华为技术有限公司 Multicasting messag transmission method base on two layer exchange device
CN1516409A (en) * 2003-08-26 2004-07-28 中兴通讯股份有限公司 Method for making medium stream pass through network address converter
CN1633102A (en) * 2003-12-24 2005-06-29 华为技术有限公司 Method for implementing NAT traversing and system thereof
CN1925419A (en) * 2005-09-02 2007-03-07 华为技术有限公司 Resource acceptance control handling method

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
"Telecommunications and Internet converged Services and Protocols for Advanced Networking (TISPAN); Resource and Admission Control Sub-System (RACS); Functional Architecture", ETSI ES 282 003 V1.1.1, 20 June 2006 (2006-06-20) *

Also Published As

Publication number Publication date
CN101043475A (en) 2007-09-26
CN100596125C (en) 2010-03-24

Similar Documents

Publication Publication Date Title
EP1693998B1 (en) Method and system for a proxy-based network translation
US10735424B2 (en) Access based internet protocol multimedia service authorization
US8024429B2 (en) Method and apparatus for remote access to a home network
US8108526B2 (en) Communication method and device for preventing media stream circuitry
WO2008000188A1 (en) Method and system for realizing media stream interaction and media gateway controller and media gateway
US20090207843A1 (en) System and method for providing network address translation control in a network environment
US20070204050A1 (en) Method Of Radio Access Bearer For Ip Multimedia Session In Umts Network
WO2007036160A1 (en) An apparatus, system and method for realizing communication between the client and the server
EP2856727B1 (en) Methods and apparatus for media transmission in telecommunications networks
EP2247031B1 (en) Implementation method, system and device for ims monitoring
US20100268763A1 (en) Methods, Apparatuses, System, and Related Computer Program Product for Policy Control
WO2006114037A1 (en) A communication system with session border controller and a method for the transmission of the signaling
WO2007036099A1 (en) An ip intercommunication gateway and a method for implementing ip domain intercommunication in ngn
JP2012521147A (en) Access node comprising a VoIP card having a common IP address and a MAC address
US9723031B2 (en) Connection control with B2BUA located behind NAT gateway
WO2015096302A1 (en) Nat traversal method based on sip media capability re-negotiation, proxy server and system
WO2008003214A1 (en) Method, device and system for media flow traversing nat
EP2490382B1 (en) Method for intercommunicating between private network user and network with QOS guarantee
WO2008080341A1 (en) Method, system and device for identifying a user terminal
WO2009043289A1 (en) Method for determining the media stream path relation and call control system
WO2008134956A1 (en) Media control method, system, device and media service combining device
EP2327186B1 (en) Method for supporting quality of service
JP5277093B2 (en) Method and system for establishing session between access points using SIP server
WO2010105547A1 (en) Method, system and device for multi-domain interconnection
JP5135257B2 (en) Method and system for establishing a plurality of sessions of different routes by home gateway and session control server

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: 07721216

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

NENP Non-entry into the national phase

Ref country code: RU

122 Ep: pct application non-entry in european phase

Ref document number: 07721216

Country of ref document: EP

Kind code of ref document: A1