WO2012122832A1 - 网络地址转换表项的热备份方法及装置 - Google Patents

网络地址转换表项的热备份方法及装置 Download PDF

Info

Publication number
WO2012122832A1
WO2012122832A1 PCT/CN2011/083663 CN2011083663W WO2012122832A1 WO 2012122832 A1 WO2012122832 A1 WO 2012122832A1 CN 2011083663 W CN2011083663 W CN 2011083663W WO 2012122832 A1 WO2012122832 A1 WO 2012122832A1
Authority
WO
WIPO (PCT)
Prior art keywords
hot backup
packet
service type
nat
entry
Prior art date
Application number
PCT/CN2011/083663
Other languages
English (en)
French (fr)
Inventor
张瑞
Original Assignee
华为技术有限公司
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 华为技术有限公司 filed Critical 华为技术有限公司
Publication of WO2012122832A1 publication Critical patent/WO2012122832A1/zh

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L61/00Network arrangements, protocols or services for addressing or naming
    • H04L61/09Mapping addresses
    • H04L61/25Mapping addresses of the same type
    • H04L61/2503Translation of Internet protocol [IP] addresses
    • H04L61/2514Translation of Internet protocol [IP] addresses between local and global IP addresses

Definitions

  • the embodiments of the present invention relate to a communication technology, and in particular, to a hot backup method and device for a network address translation (Network Address Translation) entry. Background technique
  • IP Internet Protocol
  • IPv4 Internet Protocol
  • IP addresses become scarce resources.
  • a network address translation (NAT) device can be used to map a set of IP addresses to another set of IP addresses, for example: mapping private IP addresses of a set of local area networks to The legal IP address of the Internet.
  • NAT entry can be backed up by the NAT device. The NAT entry is created or deleted. The NAT entry is sent to the backup NAT device. The above NAT entry is created or deleted on the backup NAT device.
  • the NAT device creates NAT entries for all IP packets, multiple NAT entries are created for IP packets of certain services. This causes the hot backup processing load of the NAT device to increase. Backup flexibility and reduced hot backup efficiency.
  • the present invention provides a hot backup method and apparatus for network address translation entries to reduce the hot backup processing load of the NAT device and improve the hot backup flexibility and hot backup efficiency of the NAT device.
  • the present invention provides a hot backup method for a network address translation entry, including: Determining, according to the received IP packet, a NAT entry corresponding to the IP packet; determining a service type corresponding to the IP address;
  • the hot backup of the NAT entry is determined according to the correspondence between the service type and the hot backup operation and the service type corresponding to the IP packet.
  • the present invention further provides a hot backup device for a network address translation entry, comprising: a creating module, configured to create a NAT entry corresponding to the IP packet according to the received IP packet; And determining a service type corresponding to the IP packet;
  • the processing module is configured to determine whether to perform hot backup on the NAT entry according to the correspondence between the service type and the hot backup operation and the service type corresponding to the IP packet.
  • the present invention determines whether the NAT entry is hot-backed according to the correspondence between the service type and the hot-backup operation and the service type corresponding to the IP packet, so that the NAT entries of all the IP packets can be avoided.
  • Perform hot backup processing which reduces the hot backup processing load of the NAT device and improves the hot backup flexibility and hot backup efficiency of the NAT device.
  • FIG. 1 is a schematic flowchart of a hot backup method of a network address translation entry according to Embodiment 1 of the present invention
  • FIG. 2a is a schematic structural diagram of a hot backup device of a network address translation entry according to Embodiment 2 of the present invention
  • 2b is another schematic structural diagram of a hot backup device for a network address translation entry according to another embodiment of the present invention.
  • FIG. 3 is another diagram of a hot backup device for a network address translation entry according to Embodiment 3 of the present invention. Schematic diagram. detailed description
  • the hot backup method of the network address translation entry in this embodiment may include:
  • the IP packet is configured to create a NAT entry corresponding to the IP packet.
  • the NAT device can create a NAT entry corresponding to the IP packet according to the received IP packet.
  • the NAT entry may include at least a source IP address, a destination IP address, and destination port information.
  • the NAT device determines that the service type corresponding to the foregoing IP address can be implemented in multiple manners.
  • the NAT device can determine the service type corresponding to the destination port information according to the destination port information in the foregoing IP packet. For example: If the destination port number in the IP address is 80, the description is a WEB service (that is, a service based on Hypertext Transfer Protocol (HTTP)); if the destination port in the IP packet No. 25, the description is based on the Simple Mail Transfer Protocol (SMTP) service; if the destination port number in the IP packet is 1 10, the description is based on the third of the electronic post office transmission protocol.
  • WEB service that is, a service based on Hypertext Transfer Protocol (HTTP)
  • HTTP Hypertext Transfer Protocol
  • SMTP Simple Mail Transfer Protocol
  • the service of the version (Post Office Protocol 3, POP3); if the destination port number in the IP packet is 139, the description is based on the Network Basic Input/Output System Enhanced User Interface (Network Basic Input/Output System Enhanced User Interface, Barrel NetBEUI) Protocol business.
  • the NAT device may determine, according to the service identifier in the foregoing NAT entry, a service type corresponding to the service identifier.
  • the application level gateway (Application Level Gateway, ALG) of the service identifier is identified by the information in the application layer data payload (for example, the destination port information) of the IP packet when the NAT entry is created.
  • Corresponding protocols to determine specific business identifiers For example, the ALG of the NAT device identifies the corresponding protocol as Voice over Internet Protocol (VoIP) based on the information in the application layer data payload of the IP packet when the NAT entry is created. The description is based on IP.
  • VoIP Voice over Internet Protocol
  • the voice service of the NAT device receives the IP packet, and the ALG of the NAT device identifies the corresponding protocol as a File Transfer Protocol (FTP) according to the information in the application layer data payload of the IP packet.
  • FTP File Transfer Protocol
  • the NAT device determines, according to the correspondence between the service type and the hot backup operation, the hot backup operation corresponding to the service type corresponding to the IP packet, where the hot backup operation includes performing hot backup and no hot backup.
  • NAT implements selective hot backup of NAT entries based on service types, instead of hot backup of all NAT entries corresponding to IP packets.
  • the NAT device may further establish a correspondence between the service type and the hot backup operation, as shown in Table 1.
  • the NAT device For example, for a web service, each time a web page is opened, more than 30 TCP streams are generated. If the NAT device performs hot backup on the TCP stream, more than 30 NAT entries will be created. Since the transmission time of the above TCP stream is very short, after a few seconds, these NAT entries will be aged (deleted). Therefore, the NAT device creates a delay in the hot backup of the NAT entry due to the creation and/or deletion of the above-mentioned NAT entry information, which results in an increase in the hot backup processing load of the NAT device and a decrease in the hot backup efficiency.
  • the NAT device When a NAT device is switched, because some NAT entries are not backed up completely, packet loss retransmission may occur, which may result in the interruption of the WEB service. Therefore, in a preferred embodiment of the present invention, the NAT device does not perform hot backup of the WEB service.
  • each established VoIP connection may include at least one signaling flow and four real-time transport protocols (Real-time Transport Protocol).
  • Real-time Transport Protocol Real-time Transport Protocol
  • some NAT entries are still available. If the backup is not complete, the received IP packet loss may occur, but the UDP packet is not retransmitted after the packet loss, so that the VoIP is not interrupted. Therefore, in a preferred embodiment of the present invention, NAT The device performs hot backup of VoIP.
  • the NAT device can create NAT entries for all IP packets, which reduces the hot backup processing load of the NAT device and improves the hot backup flexibility and hot backup efficiency of the NAT device.
  • the correspondence between the service type and the hot backup operation established by the NAT device is only required before 103, and is not necessarily related to the execution order of 101 and 102.
  • the embodiments described in the specification are all preferred embodiments, and the actions and modules involved are not necessarily required by the present invention.
  • the hot backup device of the network address translation entry in this embodiment may include:
  • the creating module 21 is configured to create a NAT entry corresponding to the IP packet according to the received IP packet.
  • a determining module 22 configured to determine a service type corresponding to the foregoing IP packet
  • the processing module 23 is configured to determine whether to perform hot backup on the NAT entry according to the correspondence between the service type and the hot backup operation, and the service type corresponding to the IP packet determined by the module 22.
  • the item's hot backup device is implemented.
  • the determining module 22 in this embodiment may include:
  • the first determining submodule 221 is configured to obtain, according to the destination port information in the foregoing IP packet, a service type corresponding to the destination port information; and/or
  • the second determining sub-module 223 is configured to obtain, according to the service identifier in the foregoing NAT entry, a service type corresponding to the foregoing service identifier, where the service identifier is used by the application layer gateway according to the IP packet when the NAT entry is created.
  • the information in the application layer data payload (for example: destination port information) is determined. It should be noted that only the case of including the first determining submodule and the second determining submodule is shown in FIG. 2b. In an optional embodiment, only one of the above two submodules may be included.
  • the processing module 23 in this embodiment may determine whether to perform hot backup on the NAT entry according to the correspondence between the service type and the hot backup operation, where the hot backup operation includes performing hot backup and not performing hot backup; If the hot backup operation corresponding to the service type of the IP packet is a hot backup, the hot backup operation is performed on the NAT entry. If the hot backup operation corresponding to the service type corresponding to the IP packet is not hot backup, The above NAT entries are not hot backupd.
  • the hot backup device of the network address translation entry of the embodiment may further include an establishing module 31, configured to establish a correspondence between the service type and the hot backup operation, for the processing module 23 According to the correspondence, the hot backup operation corresponding to the service type corresponding to the IP packet is determined.
  • the processing module determines whether to perform hot backup of the NAT entry according to the correspondence between the service type and the hot backup operation and the service type corresponding to the IP packet, so as to implement selective hot backup of the NAT entry. Therefore, the NAT device can prevent NAT packets from being created for all IP packets, thereby reducing the hot backup processing load of the NAT device and improving the hot backup flexibility and hot backup efficiency of the NAT device.

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Data Exchanges In Wide-Area Networks (AREA)

Abstract

本发明实施例提供一种网络地址转换表项的热备份方法及装置,方法包括:根据接收的IP报文,创建所述IP报文对应的NAT表项;确定所述IP报文对应的业务类型;根据业务类型与热备份操作的对应关系,以及所述IP报文对应的业务类型,确定对所述NAT表项是否进行热备份。本发明实施例降低了NAT设备的热备份处理负荷,以及提高了NAT设备的热备份灵活性和热备份效率。

Description

网络地址转换表项的热备份方法及装置
本申请要求于 201 1 年 3 月 17 日提交中国专利局、 申请号为 201 1 10064500.8、 发明名称为 "网络地址转换表项的热备份方法及装置" 的 中国专利申请的优先权, 其全部内容通过引用结合在本申请中。
技术领域
本发明实施例涉及通信技术, 尤其涉及一种网络地址转换 (Network Address Translation , 筒称 NAT )表项的热备份方法及装置。 背景技术
随着互联网络技术的普及, 终端设备的数量飞速增长, 每个终端设备在 与互联网络通信时都需要获得一个合法互联网协议( Internet Protocol , 筒称 IP )地址(例如: IPv4地址) , 因此合法 IP地址成为稀缺资源。 为了解决合 法 IP地址的不足, 可以利用网络地址转换( Network Address Translation , 筒称 NAT )设备, 将一组 IP地址映射到另一组 IP地址, 例如: 将一组局域 网络的私有 IP地址映射到互联网络的合法 IP地址。 为了保证 NAT设备的可 靠性, 现有技术中可以对 NAT设备创建的 NAT表项进行热备份, 即在 NAT 设备中创建或删除一个 NAT表项, 都将该表项信息传递给备份 NAT设备, 并在备份 NAT设备中创建或删除上述 NAT表项。
但是, 由于 NAT设备对所有的 IP报文都创建 NAT表项, 对于某些业 务的 IP报文, 还会创建多个 NAT表项, 这都导致了 NAT设备的热备份处 理负荷的增加, 热备份灵活性和热备份效率的降低。 发明内容
本发明提供一种网络地址转换表项的热备份方法及装置,以降低 NAT设 备的热备份处理负荷, 以及提高 NAT设备的热备份灵活性和热备份效率。
一方面, 本发明提供了一种网络地址转换表项的热备份方法, 包括: 根据接收的 IP报文, 创建所述 IP报文对应的 NAT表项; 确定所述 IP ·^艮文对应的业务类型;
根据业务类型与热备份操作的对应关系, 以及所述 IP报文对应的业务 类型, 确定对所述 NAT表项是否进行热备份。
另一方面,本发明还提供了一种网络地址转换表项的热备份装置,包括: 创建模块,用于根据接收的 IP报文,创建所述 IP报文对应的 NAT表项; 确定模块, 用于确定所述 IP报文对应的业务类型;
处理模块, 用于根据业务类型与热备份操作的对应关系, 以及所述 IP 报文对应的业务类型, 确定对所述 NAT表项是否进行热备份。
由上述技术方案可知, 本发明根据业务类型与热备份操作的对应关系 和 IP报文对应的业务类型, 确定对 NAT表项是否进行热备份, 能够避免 对所有的 IP报文的 NAT表项都进行热备份处理, 从而降低了 NAT设备的 热备份处理负荷, 以及提高了 NAT设备的热备份灵活性和热备份效率。 附图说明
为了更清楚地说明本发明实施例或现有技术中的技术方案, 下面将对实 施例或现有技术描述中所需要使用的附图作一筒单地介绍, 显而易见地, 下 面描述中的附图是本发明的一些实施例, 对于本领域普通技术人员来讲, 在 不付出创造性劳动的前提下, 还可以根据这些附图获得其他的附图。
图 1 为本发明实施例一提供的网络地址转换表项的热备份方法的流程示 意图;
图 2a为本发明实施例二提供的网络地址转换表项的热备份装置的一结 构示意图;
图 2b 为本发明又一实施例提供的网络地址转换表项的热备份装置的另 一结构示意图;
图 3为本发明实施例三提供的网络地址转换表项的热备份装置的另一结 构示意图。 具体实施方式
为使本发明实施例的目的、 技术方案和优点更加清楚, 下面将结合本发 明实施例中的附图, 对本发明实施例中的技术方案进行清楚、 完整地描述, 显然, 所描述的实施例是本发明一部分实施例, 而不是全部的实施例。 基于 本发明中的实施例, 本领域普通技术人员在没有作出创造性劳动前提下所获 得的所有其他实施例, 都属于本发明保护的范围。
图 1 为本发明实施例一提供的网络地址转换表项的热备份方法的流程示 意图, 如图 1所示, 本实施例的网络地址转换表项的热备份方法可以包括: 101、 根据接收的 IP报文, 创建上述 IP报文对应的 NAT表项; 可选的, NAT设备具体可以根据接收的 IP报文, 创建上述 IP报文对应 的 NAT表项。 其中, NAT表项至少可以包括源 IP地址、 目的 IP地址和目的 端口信息。
102、 确定上述 IP报文对应的业务类型;
可选的, NAT设备确定上述 IP ·^艮文对应的业务类型可以采用多种方式实 现。
例如, NAT设备可以根据上述 IP报文中的目的端口信息,确定与上述目 的端口信息对应的业务类型。 例如: 如果该 IP ·^艮文中的目的端口号为 80, 说明是 WEB服务(即基于超文本传输协议( Hyper Text Transfer Protocol , 筒称 HTTP )的服务); 如果该 IP报文中的目的端口号为 25, 说明是基于筒 单邮件传输协议 ( Simple Mail Transfer Protocol , 筒称 SMTP ) 的业务; 如 果该 IP报文中的目的端口号为 1 10, 说明是基于电子邮局传输协议的第三个 版本( Post Office Protocol 3, 筒称 POP3 ) 的业务; 如果该 IP报文中的目 的端口号为 139 , 说明是基于网络基本输入输出系统增强型用户界面 ( Network Basic Input/Output System Enhanced User Interface , 筒称 NetBEUI )协议的业务。
又例如, NAT设备可以根据上述 NAT表项中的业务标识, 确定与上述 业务标识对应的业务类型。 其中, 上述业务标识为 NAT设备的应用层网关 ( Application Level Gateway, 筒称 ALG )在创建 NAT表项时根据上述 IP 报文的应用层数据载荷中的信息 (例如: 目的端口信息) , 识别出对应的协 议, 从而确定具体的业务标识。 例如: NAT设备的 ALG在创建 NAT表项时 根据该 IP报文的应用层数据载荷中的信息, 识别出对应的协议为 IP语音协 议 ( Voice over Internet Protocol , 筒称 VoIP ) , 说明是基于 IP的语音业务; NAT设备接收到 IP报文, 该 NAT设备的 ALG根据该 IP报文的应用层数据 载荷中的信息, 识别出对应的协议为文件传输协议 ( File Transfer P rotocol , 筒称 FTP ) , 说明是基于 FTP的数据业务。
103、 根据业务类型与热备份操作的对应关系, 以及上述 IP报文对应的 业务类型,
Figure imgf000005_0001
可选的, NAT设备可以根据业务类型与热备份操作的对应关系, 确定对 上述 IP报文对应的业务类型对应的热备份操作,上述热备份操作包括进行热 备份和不进行热备份。
若与上述 IP报文对应的业务类型对应的热备份操作为进行热备份,则对 上述 NAT表项进行热备份; 若与上述 IP报文对应的业务类型对应的热备份 操作为不进行热备份, 则不对上述 NAT表项进行热备份。 这样, NAT实现 了根据业务类型对 NAT表项进行有选择的热备份, 而不是对所有 IP报文对 应的 NAT表项都进行热备份。
可选的, 在 103之前, NAT设备还可以进一步建立上述业务类型与热备 份操作的对应关系, 如表 1所示。
表 1 业务类型与热备份操作的对应关系
业务类型 热备份操作
VoIP 进行热备份 视频业务 进行热备份
WEB服务 不进行热备份 基于 FTP的业务 不进行热备份
基于 SMTP的业务 不进行热备份
基于 POP3的业务 不进行热备份
基于 Netbeui的业务 不进行热备份
例如: 对于 WEB服务来说, 每打开一个网页, 就会产生 30多个 TCP 流, 如果 NAT设备对上述 TCP流进行热备份, 将会创建 30多个 NAT表项。 由于上述 TCP流的传输时间很短,几秒钟之后,这些 NAT表项就会老化(被 删除)。 因此, NAT设备由于创建和 /或删除大量传递上述 NAT表项信息, 会 造成 NAT表项热备份的延迟, 从而导致了 NAT设备的热备份处理负荷的增 加和热备份效率的降低。 当发生 NAT设备的倒换时, 因为有些 NAT表项还 没有备份完全, 可能会出现丟包重传现象, 从而导致了 WEB服务的中断。 所以, 在本发明的一个较为优选的实施例中, NAT设备对 WEB服务不进行 热备份。
再例如: 对于 VoIP , 每建立的一个 VoIP连接可以包括至少一个信令流 和四个实时传输协议 ( Real-time Transport Protocol , 筒称 RTP )„ 发生 NAT 设备的倒换时, 即时有些 NAT表项还没有备份完全,可能会出现接收到的 IP 报文丟包现象, 但是由于 UDP丟包之后无需重传, 从而不会导致 VoIP的中 断。 所以, 在本发明的一个较为优选的实施例中, NAT设备对 VoIP进行热 备份。
本实施例中, 由于是根据业务类型与热备份操作的对应关系和 IP报文对 应的业务类型, 确定对 NAT表项是否进行热备份, 以实现对 NAT表项进行 有选择的热备份, 所以能够避免由于 NAT设备对所有的 IP报文都创建 NAT 表项, 从而降低了 NAT设备的热备份处理负荷, 以及提高了 NAT设备的热 备份灵活性和热备份效率。 需要说明的是: 对于前述的各方法实施例, 为了筒单描述, 故将其都表 述为一系列的动作组合, 但是本领域技术人员应该知悉, 本发明并不受所描 述的动作顺序的限制, 例如: NAT设备建立上述业务类型与热备份操作的 对应关系只要在 103之前即可, 与 101、 1 02的执行顺序没有必然联系。 其次, 本领域技术人员也应该知悉, 说明书中所描述的实施例均属于优选实 施例, 所涉及的动作和模块并不一定是本发明所必须的。
在上述实施例中, 对各个实施例的描述都各有侧重, 某个实施例中没有 详述的部分, 可以参见其他实施例的相关描述。
图 2a为本发明实施例二提供的网络地址转换表项的热备份装置的一结 构示意图,如图 2a所示,本实施例的网络地址转换表项的热备份装置可以包 括:
创建模块 21 , 用于根据接收的 IP报文, 创建上述 IP报文对应的 NAT 表项;
确定模块 22, 用于确定上述 IP报文对应的业务类型;
处理模块 23, 用于根据业务类型与热备份操作的对应关系, 以及确定模 块 22确定的上述 IP报文对应的业务类型,确定对上述 NAT表项是否进行热 备份。 项的热备份装置实现。
可选的, 如图 2b所示, 本实施例中的确定模块 22可以包括:
第一确定子模块 221 , 用于根据上述 IP报文中的目的端口信息, 获取与 上述目的端口信息对应的业务类型; 和 /或
第二确定子模块 223, 用于根据上述 NAT表项中的业务标识, 获取与上 述业务标识对应的业务类型, 其中, 上述业务标识为应用层网关在 NAT表项 创建时根据上述 IP报文的应用层数据载荷中的信息 (例如: 目的端口信息) 确定的。 需要指出的是,图 2b中仅示出了同时包括第一确定子模块和第二确定子 模块的情况, 在可选的实施例中, 也可以仅包括上述两个子模块中的一个。
具体地,本实施例中的处理模块 23可以根据业务类型与热备份操作的对 应关系, 确定对上述 NAT表项是否进行热备份, 上述热备份操作包括进行热 备份和不进行热备份; 若与上述 IP报文对应的业务类型对应的热备份操作为 进行热备份, 则对上述 NAT表项进行热备份; 若与上述 IP报文对应的业务 类型对应的热备份操作为不进行热备份, 则不对上述 NAT表项进行热备份。
可选的, 如图 3所示, 本实施例的网络地址转换表项的热备份装置还可 以进一步包括建立模块 31 , 用于建立上述业务类型与热备份操作的对应关 系, 以供处理模块 23根据该对应关系, 确定与上述 IP报文对应的业务类型 对应的热备份操作。
本实施例中, 由于处理模块是根据业务类型与热备份操作的对应关系和 IP报文对应的业务类型, 确定对 NAT表项是否进行热备份, 以实现对 NAT 表项进行有选择的热备份, 所以能够避免由于 NAT设备对所有的 IP报文都 创建 NAT表项, 从而降低了 NAT设备的热备份处理负荷, 以及提高了 NAT 设备的热备份灵活性和热备份效率。
本领域普通技术人员可以理解: 实现上述方法实施例的全部或部分步骤 可以通过程序指令相关的硬件来完成, 前述的程序可以存储于一计算机可读 取存储介质中, 该程序在执行时, 执行包括上述方法实施例的步骤; 而前述 的存储介质包括: R〇M、 RAM ,磁碟或者光盘等各种可以存储程序代码的介 最后应说明的是: 以上实施例仅用以说明本发明的技术方案, 而非对其 限制; 尽管参照前述实施例对本发明进行了详细的说明, 本领域的普通技术 人员应当理解: 其依然可以对前述各实施例所记载的技术方案进行修改, 或 者对其中部分技术特征进行等同替换; 而这些修改或者替换, 并不使相应技 术方案的本质脱离本发明各实施例技术方案的范围。

Claims

权利要求
1、 一种网络地址转换表项的热备份方法, 其特征在于, 包括: 根据接收的互联网协议 IP报文, 创建所述 IP报文对应的网络地址转换 NAT表项;
确定所述 IP ·^艮文对应的业务类型;
根据业务类型与热备份操作的对应关系,以及所述 IP报文对应的业务类 型, 确定对所述 NAT表项是否进行热备份。
2、 根据权利要求 1所述的方法, 其特征在于, 所述确定所述 IP报文对 应的业务类型, 包括:
根据所述 IP报文中的目的端口信息,确定与所述目的端口信息对应的业 务类型; 或者
根据所述 NAT表项中的业务标识, 确定与所述业务标识对应的业务类 型, 其中, 所述业务标识为应用层网关在所述 NAT表项创建时根据所述 IP 报文的应用层数据载荷中的信息确定的。
3、根据权利要求 1所述的方法, 其特征在于, 所述根据业务类型与热备 份操作的对应关系, 以及所述 IP报文对应的业务类型, 确定对所述 NAT表 项是否进行热备份, 包括:
根据业务类型与热备份操作的对应关系,确定与所述 IP报文对应的业务 类型对应的热备份操作, 所述热备份操作包括进行热备份和不进行热备份; 若与所述 IP报文对应的业务类型对应的热备份操作为进行热备份,则对 所述 NAT表项进行热备份;
若与所述 IP报文对应的业务类型对应的热备份操作为不进行热备份,则 不对所述 NAT表项进行热备份。
4、根据权利要求 1至 3任一权利要求所述的方法, 其特征在于, 所述方 法还包括:
建立所述业务类型与热备份操作的对应关系。
5、 一种网络地址转换表项的热备份装置, 其特征在于, 包括: 创建模块, 用于根据接收的互联网协议 IP报文, 创建所述 IP报文对应 的网络地址转换 NAT表项;
确定模块, 用于确定所述 IP报文对应的业务类型;
处理模块, 用于根据业务类型与热备份操作的对应关系, 以及所述 IP报 文对应的业务类型, 确定对所述 NAT表项是否进行热备份。
6、 根据权利要求 5所述的装置, 其特征在于, 所述确定模块包括: 第一确定子模块, 用于根据所述 IP报文中的目的端口信息, 获取与所述 目的端口信息对应的业务类型; 和 /或
第二确定子模块, 用于根据所述 NAT表项中的业务标识, 获取与所述业 务标识对应的业务类型, 其中, 所述业务标识为应用层网关在 NAT表项创建 时根据所述 IP报文的应用层数据载荷中的信息确定的。
7、 根据权利要求 5所述的装置, 其特征在于,
若与所述 IP报文对应的业务类型对应的热备份操作为进行热备份,则所 述处理模块用于对所述 NAT表项进行热备份;
若与所述 IP报文对应的业务类型对应的热备份操作为不进行热备份,则 所述处理模块不对所述 NAT表项进行热备份。
8、根据权利要求 5至 7任一权利要求所述的装置, 其特征在于, 所述装 置还包括建立模块, 用于建立所述业务类型与热备份操作的对应关系。
PCT/CN2011/083663 2011-03-17 2011-12-08 网络地址转换表项的热备份方法及装置 WO2012122832A1 (zh)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201110064500.8 2011-03-17
CN2011100645008A CN102137016A (zh) 2011-03-17 2011-03-17 网络地址转换表项的热备份方法及装置

Publications (1)

Publication Number Publication Date
WO2012122832A1 true WO2012122832A1 (zh) 2012-09-20

Family

ID=44296675

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2011/083663 WO2012122832A1 (zh) 2011-03-17 2011-12-08 网络地址转换表项的热备份方法及装置

Country Status (2)

Country Link
CN (1) CN102137016A (zh)
WO (1) WO2012122832A1 (zh)

Families Citing this family (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102137016A (zh) * 2011-03-17 2011-07-27 华为技术有限公司 网络地址转换表项的热备份方法及装置
CN107733808B (zh) * 2017-11-20 2021-10-12 新华三技术有限公司 一种流量传输方法及装置
CN108200223B (zh) * 2017-12-28 2021-05-07 新华三技术有限公司 运营商级网络地址转换设备cgn备份方法和装置
CN112968970B (zh) * 2021-02-26 2023-04-07 杭州迪普信息技术有限公司 配置信息备份方法、装置及网络设备
CN114793221B (zh) * 2022-03-21 2024-02-09 新华三信息安全技术有限公司 Nat关联表的处理方法及装置

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7042876B1 (en) * 2000-09-12 2006-05-09 Cisco Technology, Inc. Stateful network address translation protocol implemented over a data network
CN101141494A (zh) * 2007-10-12 2008-03-12 杭州华三通信技术有限公司 一种解决负载分担情况下资源分配冲突的方法
CN101702657A (zh) * 2009-12-04 2010-05-05 杭州华三通信技术有限公司 一种nat业务的热备份方法和设备
CN102137016A (zh) * 2011-03-17 2011-07-27 华为技术有限公司 网络地址转换表项的热备份方法及装置

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP1921808B1 (en) * 2006-11-10 2014-06-18 Alcatel Lucent Preemptive transmission protection scheme for data services
US7668081B2 (en) * 2006-11-10 2010-02-23 Alcatel-Lucent Usa Inc. Preemptive transmission protection scheme for data services with high resilience demand

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7042876B1 (en) * 2000-09-12 2006-05-09 Cisco Technology, Inc. Stateful network address translation protocol implemented over a data network
CN101141494A (zh) * 2007-10-12 2008-03-12 杭州华三通信技术有限公司 一种解决负载分担情况下资源分配冲突的方法
CN101702657A (zh) * 2009-12-04 2010-05-05 杭州华三通信技术有限公司 一种nat业务的热备份方法和设备
CN102137016A (zh) * 2011-03-17 2011-07-27 华为技术有限公司 网络地址转换表项的热备份方法及装置

Also Published As

Publication number Publication date
CN102137016A (zh) 2011-07-27

Similar Documents

Publication Publication Date Title
JP5969689B2 (ja) リアルタイム通信のための冗長性
US10574763B2 (en) Session-identifer based TWAMP data session provisioning in computer networks
US7921282B1 (en) Using SYN-ACK cookies within a TCP/IP protocol
JP4855162B2 (ja) パケット転送装置及び通信システム
WO2017000878A1 (zh) 报文处理
US20090319674A1 (en) Techniques to manage communications between relay servers
US20070283429A1 (en) Sequence number based TCP session proxy
WO2013086869A1 (zh) 一种互联方法、装置和系统
WO2014139481A1 (zh) 报文处理方法及设备
KR101705440B1 (ko) 미디어 통신용 하이브리드 클라우드 미디어 아키텍쳐
WO2012122832A1 (zh) 网络地址转换表项的热备份方法及装置
US7715401B2 (en) Router
WO2015106453A1 (zh) 处理业务的方法和网络设备
US8082580B1 (en) Session layer pinhole management within a network security device
WO2009124477A1 (zh) 一种报文传输的方法、系统和装置
WO2009082896A1 (fr) Procédé et convertisseur pour la transmission de messages de données
WO2007019809A1 (fr) Procede et systeme d'etablissement d'un canal direct point par point
US10397809B2 (en) Mobility loss detection and recovery
WO2012163262A1 (zh) 一种转发数据的方法及网关
US9059968B2 (en) Stateless transmission control protocol rendezvous solution for border gateway function
WO2019041332A1 (zh) 一种加速网络传输优化方法以及系统
JP2014082739A (ja) ゲートウェイ装置、通信装置、及び通信コネクション管理方法
US20240171641A1 (en) Data service management of proxy devices
Rajput et al. Comparing stream control and datagram congestion control with traditional transmission control protocol
Kiesel et al. Modeling and performance evaluation of transport protocols for firewall control

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

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

Country of ref document: EP

Kind code of ref document: A1