WO2007124632A1 - Procédé de gestion d'un dispositif côté utilisateur par l'intermédiaire d'une passerelle nat - Google Patents

Procédé de gestion d'un dispositif côté utilisateur par l'intermédiaire d'une passerelle nat Download PDF

Info

Publication number
WO2007124632A1
WO2007124632A1 PCT/CN2006/003664 CN2006003664W WO2007124632A1 WO 2007124632 A1 WO2007124632 A1 WO 2007124632A1 CN 2006003664 W CN2006003664 W CN 2006003664W WO 2007124632 A1 WO2007124632 A1 WO 2007124632A1
Authority
WO
WIPO (PCT)
Prior art keywords
management
side device
user
time
management terminal
Prior art date
Application number
PCT/CN2006/003664
Other languages
English (en)
French (fr)
Inventor
Guoqing Geng
Yuan Zhang
Gongying Zhang
Original Assignee
Zte Corporation
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Zte Corporation filed Critical Zte Corporation
Priority to EP06840694.1A priority Critical patent/EP2012502B1/en
Publication of WO2007124632A1 publication Critical patent/WO2007124632A1/zh

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L41/00Arrangements for maintenance, administration or management of data switching networks, e.g. of packet switching networks
    • H04L41/08Configuration management of networks or network elements
    • H04L41/0803Configuration setting
    • H04L41/0806Configuration setting for initial configuration or provisioning, e.g. plug-and-play
    • 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]
    • 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/2582NAT traversal through control of the NAT server, e.g. using universal plug and play [UPnP]
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L41/00Arrangements for maintenance, administration or management of data switching networks, e.g. of packet switching networks
    • H04L41/02Standardisation; Integration
    • H04L41/0213Standardised network management protocols, e.g. simple network management protocol [SNMP]

Definitions

  • the present invention relates to a traversal technology for a network address translation protocol, and more particularly to a method for actively managing a user side device on a local area network side through a network address translation protocol.
  • ACS Auto-Configuration Server. Automatically configure the server;
  • CPE Customer Premise Equipment:. User front-end device;
  • UDP User Datagram Protocol. User data is only discussed;
  • TCP Transmission Control ProtocoL transmission control ten;
  • LAN Local Area Network.
  • WAN Wide Area Network. Wide i or net;
  • ICMP Internet Control Message Protocol. Internet control information is available for negotiation; NAT: Network Address Translation für Network address l3 ⁇ 4 translation; TR-069 technical Report - 069 CPE WAN Management Protocol. User front-end device WAN management protocol;
  • SNMP Simple Network Management Protocol
  • the CPE is a terminal device placed in the user's home or inside the enterprise, such as ADSL MODEM, set-top box, IAD (integrated access device), which is provided by the telecommunications company and connected to the equipment in the telecommunication network through a network cable or a telephone line.
  • ADSL MODEM set-top box
  • IAD integrated access device
  • AP access point
  • IAD IP PHONE
  • wireless Bluetooth device access devices etc.; more and more accepted by the public.
  • IP address resources are constantly being exhausted, and the number of available IP addresses assigned by telecom operators to home users and unit users is also decreasing. At present, the operator can only provide one legal address for the general home users. For so many network terminal devices, only the user-side address translation is performed through NAT, so that multiple user-side devices share one external network address.
  • NAT Network Address Translation
  • RRC 1631 Network Engineering Task Force
  • NAT is to use the internal address in the LAN internal network.
  • the LAN (LAN) side device of NAT wants to communicate with the external network, it is replaced by the LAN side address at the gateway (which can be understood as the unified exit of the network).
  • NAT Wide area network, such as the Internet
  • NAT can make multiple computers and terminal devices share a connection. This function solves the problem of user IP address shortage.
  • NAT shields the internal network, and all intranet devices are invisible to the external network, while intranet computer users are usually unaware of the existence of NAT.
  • NAT There are currently three types of NAT: Static NAT, Pooled NAT, and Port-Level NAT. Among them, the contention NAT is the most single and the easiest to implement. Each host in the internal network is permanently mapped to a legitimate address in the external network. Dynamic NAT, on the other hand, defines a series of legal addresses in the external network and maps them to the internal network using dynamic allocation. NAPT maps internal addresses to different ports on an IP address of the external network. According to different needs, the three NAT schemes have their own advantages and disadvantages. Dynamic address NAT is just a translation IP address. It assigns a temporary external IP address to each internal IP address, mainly for dialing. Dynamic NAT can also be used for frequent remote connections.
  • NAPT Network Address Port Translation
  • the terminal located inside the NAT can freely access the terminal located outside the NAT, the terminal located inside the NAT first initiates a call to the terminal located outside the NAT, requesting to establish a connection. After the above connection is established, one of the two parties in the session sends a data packet to the other terminal at a certain period to maintain a long connection between the two parties, and the period is one less than the local NAT failure period is a time interval.
  • This method has the following disadvantages:
  • the access method is based on a TCP long connection, and both parties need to periodically send packets to maintain TCP connections.
  • the server needs to occupy a large amount of resources and link bandwidth, and the processing performance is poor, and it is difficult to obtain actual management effects.
  • the method does not provide a method for obtaining a NAT failure period (i.e., NAT address mapping aging time). For different NATs, the aging time is different and cannot be handled uniformly, which increases the difficulty of management.
  • TR-069 This processing method cannot be well combined with the standard management protocol (TR-069, SNMP) of the CPE equipment. Therefore, this method is not suitable for managing a large number of CPE devices through NAT.
  • TR-111 In the DSL (Digital Subscriber Line) forum, a technical report TR-111 for implementing TR-069 remote management through NAT is proposed, and TR-069 is used for remote management of home network management equipment.
  • the TR-111 uses the existing STUN (Simple Traversal of User Datagram Protocol (UDP) Through Network Address Translators) mechanism and combines the TR-069 management features.
  • the CPE discovers the aging time of the NAT and sends the UDP binding report without interruption. This document maintains the mapping relationship of NAT.
  • the ACS can notify the CPE to perform the Inform through the UDP-based link request message and enter the active management process.
  • This method has the following disadvantages:
  • the technical problem to be solved by the present invention is to provide a method for managing a user-side device through a network address translation gateway, which solves the complicated implementation of the existing NAT traversal technology, is not suitable for a large intranet environment, and cannot be used for various types. Technical issues in which the agreement is managed.
  • the present invention provides a method for managing a user-side device through a network address translation gateway, which is characterized in that it includes the following steps: Step 1: After the user-side device is powered on, the management device determines the user-side device. Whether it is on the LAN side of the network address translation gateway; Step 2: The management terminal sets and opens the network address translation gateway traversal function switch of the user side device on the LAN side, and the user side device selects the aging of the network address translation by itself.
  • Step 3 The management terminal sets parameters of the user side device, and determines the user of the user side device And the heartbeat packet is sent by the user equipment to the management terminal according to the time interval; Sending a user datagram protocol management request to the user side device;
  • Step 6 The user side device uses the packets of multiple protocols to contact the management terminal according to the management request, and the management terminal completes the Active management of user-side devices.
  • the aging time discovery operation includes the following steps: Step a: The user equipment sends an aging time packet to the management terminal, records the sending time of the aging time packet, and opens the port monitoring.
  • Step b after receiving the aging time packet, the management terminal returns a detection message based on the user datagram protocol every predetermined time; step c, if the user side device is set If the probe packet is not received within the specified time period, the address mapping relationship of the network address translation has been aged out, and the user equipment will receive the last time between the detection of the message and the transmission time.
  • the aging time is used as the aging time.
  • step d if the aging time is not found or the aging time is not found, the user equipment sends an aging discovery end message to the management end, and the management end stores the aging time according to the The end message is sent or the detection message is stopped according to the situation of the management terminal.
  • the above method is characterized in that, in the step d, the self situation is: the management terminal does not receive the end message, and automatically ends the probe report after continuously transmitting the probe message for 30 minutes.
  • the text is sent.
  • the above method is characterized in that the predetermined time in the step b is 10 seconds, and the set time period in the step c is five minutes.
  • the management end determines whether the user side device is in the network address translation gateway by comparing the address reported by the user side device with the actually received message address. LAN side.
  • the above method is characterized in that, in the step 3, if the aging time is found, the heartbeat packet sending interval is set to be less than or equal to the aging time, otherwise the interval is Is the default time period.
  • the above method is characterized in that, in the step 3, if the heartbeat message is set to be immediately responded, the management terminal immediately responds after receiving the heartbeat message, and if the user side device The heartbeat message is not retransmitted until the response is received; if no immediate response is set, the response is sent only when the management side needs to manage the user side device.
  • the above method is characterized in that, in the step 4, the user side device takes a random number in the range of the time interval, and sends the heartbeat message in the random number.
  • the management terminal sends the management request after receiving the heartbeat, or sends the management request at any time when management is required.
  • the packets of the multiple protocols are SNMP.
  • the technical effect of the present invention is as follows:
  • the method of the present invention utilizes the technical features of the management protocol supported by the existing CPE device, and adopts the Inform method and the SNMP management protocol method of the TR-069 protocol, so that the management terminal can directly or quasi-real-time to the CPE device.
  • Proactive management such as fault detection, performance monitoring, and status query.
  • the management side manages real-time and shortens the management cycle.
  • the method can transparently traverse existing types of NAT gateways without any modification of the existing NAT configuration, ensuring the security and integrity of the existing device and device configuration on the user side.
  • the inventive method is applicable to the SNMP protocol or the TR-069 protocol related technology, and can manage almost all current CPE devices using a unified process and message without specifying the protocol type of the CPE.
  • 1 is a schematic flowchart of a NAT aging time discovery process according to an embodiment of the present invention
  • FIG. 2 is a schematic flowchart of a CPE sending a UDP heartbeat, and the management end responds and manages according to an embodiment of the present invention
  • the management terminal described in the embodiment of the invention actively sends a UDP management request packet, and enters
  • FIG. 4 is a flow chart of the steps of the method of the present invention.
  • DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS Hereinafter, the processing method of the present invention will be described with reference to the accompanying drawings.
  • the present invention mainly overcomes the difficulties of the management end traversing the NAT to manage the CPE, and provides an implementation method for traversing the NAT to manage the CPE device, and adopts a simplified NAT aging time discovery mechanism to discover the aging period of the NAT address mapping; the CPE can follow the NAT aging period. Or the UDP heartbeat packet is sent at the time interval set by the management terminal.
  • the management terminal can respond to the UDP packet to notify the CPE whether to send the TR-069 Inform message or send an SNMP Trap message.
  • the management can also wait for the CPE UDP heartbeat.
  • the UDP management request message is directly sent, and the same processing is performed after the CPE receives it.
  • 4 is a flowchart of the steps of the method of the present invention.
  • the implementation method of the present invention includes the following steps: Step 401: After the CPE is powered on, the management terminal determines whether the CPE is on the LAN side of the NAT gateway. Step 402: The management terminal sets the AT to open the CPE. After the function switch is traversed, the CPE can perform NAT aging time discovery or no operation.
  • Step 403 The management terminal sets the CPE parameters according to the situation, including the UDP heartbeat packet sending time interval and whether the response is immediate; Step 404, the CPE sends the UDP heartbeat to the management terminal at a random interval; Step 405, the management terminal receives the The UDP heartbeat sends a UDP management request.
  • Step 406 After receiving the UDP management request, the CPE sends an SNMP Trap or initiates Infrom of the TR-069.
  • the management terminal compares the address reported by the CPE to the actual received packet, and determines whether the CPE is on the LAN side of the NAT. In the step 401, if the CPE is found on the LAN side of the NAT, the NAT traversal switch is turned on.
  • the CPE can start the NAT aging time discovery function after the NAT traversal function switch is enabled, and record the discovered NAT aging time. The CPE can also do nothing.
  • the CPE initiates the NAT aging time discovery, the UDP is sent through the port P1.
  • the NAT aging time packet is sent to the management terminal. Open the response sent back by the P1 port listening management.
  • the timer is turned on and the current time is recorded as Tl.
  • the address of the packet sent by the CPE is ( ⁇ , ⁇ ).
  • step 402 After NAT is converted to ( ⁇ , ⁇ ) 0 , in step 402, after receiving the NAT aging time discovery packet of the CPE, the management terminal sends the packet to the CPE.
  • ( ⁇ , ⁇ ) Sends a UDP-based probe message.
  • the CPE does not receive the detection packet of the management end for a long time (for example, 5 minutes), that is, the NAT address mapping relationship has been aged, and the difference between the time T2 and the T1 of the last received packet is (T2). -T1) as the aging time of the NAT.
  • the CPE detects that the NAT is aged out, or the aging time is not found, and sends a UDP-based NAT aging discovery end packet to the management end.
  • the management end After receiving the packet, the management end stops sending the probe packet. In the step 402, because the UDP protocol is unreliable, the management end may not receive the NAT aging time discovery end message, but will automatically end the transmission of the detection message after continuously transmitting the response for 30 minutes.
  • the related parameters are set for the management terminal to read.
  • the parameters include: NAT aging time discovery flag, (if the NAT aging time has been discovered) NAT aging time.
  • the management terminal queries whether the CPE discovers the NAT aging time. Set the UDP heartbeat interval of the CPE based on the aging time of the NAT. If the aging time is found, the maximum interval is the NAT aging time.
  • the management terminal sets whether to respond to the parameter immediately. If the parameter is true, the management end will send a response as soon as it receives the UDP heartbeat message from the CPE. The response indicates whether the CPE needs to send SNMP Trap or Inform immediately. Otherwise, only the management side will send a response when it needs to manage the CPE.
  • the CPE takes a random number within the set time interval, and sends a UDP heartbeat message by using the address (Al, P1).
  • the management end sets the immediate response parameter to true in step 402 then The response is sent after receiving the UDP heartbeat of the CPE. Otherwise no action is taken.
  • the management terminal sets the immediate corresponding parameter to be true in step 402, and the CPE waits for the response of the management terminal after sending the UDP heartbeat, and resends 3 times if it times out. In any of the three retransmissions, if the response from the management is received any time, it will not be resent.
  • the management terminal may send a UDP management request message after receiving the UDP heartbeat, or may send the UDP management management request at any time when management is required.
  • the CPE after receiving the response from the management terminal, the CPE initiates a TCP-based Inform or an SNMP Trap. When the management process is entered, the UDP heartbeat is sent off.
  • the UDP heartbeat is sent immediately.
  • the CPE can send an SNMP Trap.
  • the management terminal receives the SNMP Trap, it sends an SNMP management message (such as SNMP GET/SET).
  • the destination address/destination port of the packet is the source address/source port of the SNMP trap.
  • the packet is forwarded to the CPE through NAT.
  • the mapping between the corresponding LAN side address and the WAN side address is created on the NAT. After the mapping relationship is invalid, the packets sent by the management end to the CPE will be blocked by the NAT and will not be forwarded accordingly.
  • CPE the mapping between the corresponding LAN side address and the WAN side address
  • the NAT aging time discovery process of the present invention adopts the following steps and technical steps: ⁇ 1, ⁇ , and A3 are IP addresses, and ⁇ 1, ⁇ , and ⁇ 3 are ports.
  • Step 101 The CPE opens the UDP port PI for monitoring.
  • Step 102 The CPE sends a UDP NAT aging actual discovery packet to the management terminal (A3, P3) from (Al, P1), and the current time is recorded as T1, and the timing starts.
  • Step 103 After receiving the CPE packet, the management terminal periodically sends a UDP NAT aging time detection packet to the source address of the received packet.
  • Step 104 The CPE does not receive the message within 5 minutes after receiving the last probe packet. The NAT address mapping entry is aged and the aging time of the NAT is calculated.
  • Step 105 The CPE sends a UDP NAT aging time from the (Al, P1) discovery end message to the management end.
  • the address of the packet sent by the CPE is mapped to ( ⁇ , ⁇ ) through the NAT, that is, the address received by the management terminal.
  • the PPE checks whether the link of the management end is connected.
  • the management terminal After receiving the packet, the management terminal sends a NAT aging time detection packet. And sent every 10 seconds.
  • the management terminal sends a NAT aging time detection packet. And sent every 10 seconds.
  • the CPE does not receive the response packet sent by the management terminal within 5 minutes, the difference between the time T2 and the T1 (T2-T1) of the last response received is used as the NAT aging. time.
  • the CPE finds the NAT aging time, the NAT aging time discovery flag and the specific time are recorded, and the management terminal can query the corresponding parameters.
  • the management end stops sending the response message after receiving the end message of the CPE. If the UDP packet is lost, the management terminal does not receive the packet, and the management terminal automatically stops sending for 30 minutes.
  • the CPE sends the UDP heartbeat and the management end response process using the following steps and technical steps: Step 201: The CPE sends a UDP heartbeat message from the (A1 JP 1) to the management terminal (A3, P3). 202: After receiving the packet, the management terminal sends a UDP management request packet. Step 203: After receiving the response from the management terminal, the CPE initiates the Inform of the TR-069 or sends an SNMP Trap according to the type of the corresponding packet.
  • Step 204 After the management process ends, the CPE immediately sends a UDP heartbeat message, and then the UDP heartbeat sends the process to sleep. After the sleep ends, prepare to send the UDP heartbeat message next time.
  • the UDP heartbeat packet sent by the CPE needs to include the device ID (Deviceld) parameter, otherwise the management terminal cannot associate the message with the corresponding CPE device.
  • the management terminal if the management terminal has set the CPE to wait for the management end to respond, the management end responds each time the CPE sends a heartbeat. The CPE needs to wait for a response after each UDP heartbeat message is sent. If the response is not received within the timeout, it is resent 3 times.
  • the process is exited.
  • the management terminal sends a UDP management request message only when the CPE needs to be managed. At this point, the CPE will not wait for a response and will not try again.
  • the management terminal sets the CPE to wait for a response, it will respond to each received message, and indicate in the response message whether the CPE needs to be managed immediately.
  • the UDP management request is sent when the CPE needs to be managed.
  • the UDP heartbeat packet is no longer sent.
  • the management terminal sends an SNMP management message. 4.
  • the CPE chooses to randomly sleep for a corresponding period of time in a period of time.
  • the CPE device that can be managed by the management end can send UDP request packets to the CPE to perform Inform or send SNMP TRAPs.
  • the NAT address mapping relationship may be affected. The NAT can be retried 3 times. If no response is received from the CPE, the NAT address mapping is aged.
  • Step 301 The management terminal sends a UDP management request message from (A3, P3) to ( ⁇ , ⁇ ).
  • ( ⁇ , ⁇ ) is the address (Al, PI) of the CPE sending the UDP heartbeat, and the address of the packet received by the management terminal after NAT conversion.
  • the step 301 after the UDP management request packet is sent by the management terminal, the following two types of I can exist:
  • the CPE sends a UDP heartbeat and sends a management request through a UDP heartbeat response packet.
  • the NAT will forward the packet received from ( ⁇ , ⁇ ) to (Al , Pl ).
  • the main principle of the embodiment of the present invention is as follows: After the aging of the NAT address mapping relationship expires, the request packet sent by the external address will be blocked by the NAT, and the device with the internal network address cannot receive the corresponding message; Communicate with the management terminal, the management terminal determines whether it is on the LAN side of the NAT, and opens the NAT traversal switch; the CPE can perform NAT aging time operation or no operation after the NAT discovery switch is enabled; the CPE sends the NAT aging to the management terminal. After the packet is received, the management station sends the probe packet to the CPE until the CPE fails to receive the probe packet and sends the NAT aging time to the management terminal. The aging time is calculated.
  • the UDP heartbeat sending interval of the CPE is set according to the situation.
  • the CPE sends a UDP heartbeat within the sending interval set by the management terminal.
  • the management end receives the UDP heartbeat and responds to The CPE packet is not blocked by the NAT.
  • the CPE can initiate TR-069 Inform or SNMP Trap as required.
  • the management terminal needs to manage the CPE immediately. Sending a UDP management request message to the CPE. If the NAT address mapping relationship is not invalid at this time, the CPE can respond immediately after receiving the request. If it has expired, the management terminal cannot receive the response from the CPE or receive the response from the NAT gateway.
  • the ICMP (Internet Control Information Protocol) port is unreachable.
  • the management terminal needs to resend the UDP management request after receiving the UDP heartbeat of the CPE.
  • the C-parameters, the aging time of the NAT address mapping, the UDP heartbeat, and the UDP management request are all encrypted by the management, and the encryption is performed. Verify the source address of the packet to ensure the security of the communication.

Description

一种穿越网络地址翻译网关对用户侧设备进行管理的方法 技术领域 本发明涉及网络地址翻译协议的穿越技术,特别是涉及穿越网络地址翻译 协议对局域网侧的用户侧设备进行主动管理的方法。 背景技术 本发明涉及的英文简称如下:
ACS: Auto-Configuration Server。 自动配置月艮务器; CPE: Customer Premise Equipment:。 用户前端设备; UDP: User Datagram Protocol。 用户数据才艮十办议; TCP: Transmission Control ProtocoL 传输控制十办议;
LAN: Local Area Network。 局域网; WAN: Wide Area Network。 广 i或网;
ICMP: Internet Control Message Protocol。 因特网控制信息于办议; NAT: Network Address Translation„ 网络地址 l¾译; TR-069 technical Report - 069 CPE WAN Management Protocol.用户前端 设备广域网管理协议;
SNMP: Simple Network Management Protocol 简单网络管理协议;
CPE是放在用户家中或者企业内部的终端设备, 如 ADSL MODEM、 机 顶盒、 IAD (综合接入设备), 是由电信公司提供, 通过网线或者电话线连接到 电信网络中的设备。随着近年来电信网络和 IP技术的不升级和发展,视频技术、 流媒体技术应用不断推陈出新, 用户侧的终端设备种类越来越丰富, 功能越来 越强大、 智能化程度也越来越高。 起初因特网刚刚起步的时候, 个人用户或者 单位若想接入网络, 都必需连接 MODEM (调制解调器),通过 MODEM, 家庭用 户可以享受因特网丰富的信息和资源。 随着近年来科技的不断进步, 使用各种 新技术的终端也陆续进入千家万户: 使用无线宽带接入技术的 AP (接入点) 设备; 使用 VoIP技术的 IAD设备、 IP PHONE设备; 使用宽带 IP和流媒体技 术的机顶盒设备; 无线蓝牙设备接入设备等; 越来越被大众接受使用。 随着用 户侧电信终端数目不断增多, 在给用户带来方便和给运营商带来巨大收益的同 时, 也同时带来了管理上的问题。 对于用户来说, 期望功能越来越强, 却要求 这些电子设备越来越智能化、 简单化, 不需要或者很少的配置和维护, 最好设 备可以自管理和零维护; 对于电信运营商而言,希望增强对 CPE设备的管理能 力和力度, 提高业务服务质量和用户故障反应能力, 同时可对恶意的用户行为 进行监控和追查。 随着网络规模的不断扩大,接入设备数目的日益增多, 电信运营商的可用
IP地址资源正在不断的耗尽,电信运营商分配给家庭用户和单位用户的可用 IP 地址也越来越少。 目前, 运营商为一般家庭用户只能提供一个合法地址, 对于 这么多的网络终端设备只有通过 NAT 方式进行用户侧的地址转换, 实现多个 用户侧设备公用一个外网地址。 NAT ( Network Address Translation ) 即网络地 址翻译, 是网络工程任务组制定的一个标准和规范 (RFC 1631)。 NAT就是在局 域网内部网络中使用内部地址, 而当 NAT的 LAN (局域网)侧设备要与外部 网络进行通讯时, 就在网关 (可以理解为网络的统一出口) 处, 将 LAN侧地 址替换成 WAN (广域网, 如 Internet )侧地址, 从而可在 WAN侧上正常访问。 NAT可以使多台计算机、 终端设备共享一条连接, 这一功能很好地解决了用户 IP地址紧缺的问题。 这时, NAT屏蔽了内部网络, 所有内网设备对于外网来说 是不可见的, 而内网计算机用户通常不会意识到 NAT的存在。
NAT 目前有三种类型: 静态 NAT(Static NAT) , 动态地址 NAT(Pooled NAT), 网络地址端口转换 NAPT ( Port - Level NAT )。 其中 ^争态 NAT设置起来最为筒单和最容易实现的一种, 内部网络中的每 个主机都被永久映射成外部网络中的某个合法的地址。 而动态地址 NAT 则是 在外部网络中定义了一系列的合法地址, 采用动态分配的方法映射到内部网 络。 NAPT则是把内部地址映射到外部网络的一个 IP地址的不同端口上。根据 不同的需要, 三种 NAT方案各有利弊。 动态地址 NAT只是转换 IP地址, 它为每一个内部的 IP地址分配一个临 时的外部 IP地址,主要应用于拨号,对于频繁的远程联接也可以采用动态 NAT。 当远程用户联接上之后, 动态地址 NAT就会分配给他一个 IP地址, 用户断开 时, 这个 IP地址就会被释放而留待以后使用。 网络地址端口转换 NAPT ( Network Address Port Translation ) 是目前家庭 或者企业常用的转换方式。它可以将中小型的网络隐藏在一个合法的 IP地址后 面。 NAPT与动态地址 NAT不同, 它将内部连接映射到外部网络中的一个单独 的 IP地址上, 同时在该地址上加上一个由 NAT设备选定的端口号。 由于 NAT可以犀蔽内网拓朴信息, 起到了防火墙的作用, 夕卜网的设备不 能随意的对 NAT 内网进行访问。 管理数据也无法穿越, 使得电信运营商对用 户侧的电信设备无法进行直接的管理,必需等待 CPE设备主动发起连接之后获 取映射的地址, 并且在 NAT 上产生了地址映射关系, 才能进行相应的管理。 这种情况使得管理端对 CPE 管理实时性不高, 无法对用户提供实时周到的服 务, 对 CPE出现的故障和告警也无法实时的响应和解决。 并且随着用户群的不 断扩大, NAT穿越的问题将会越来越普遍和棘手。 目前有一种通过 NAT进行双向访问的方法,该方法基于长连接(即双方先 建立通讯连接,连接建立后不断开,然后再进行报文发送和接收)的应用而实现。 因为位于 NAT内部的终端可以自由访问位于 NAT外部的终端, 所以首先由位 于 NAT内部的终端向位于 NAT外部的终端发起呼叫, 请求建立连接。 在上述 的连接建立后, 会话双方中的一方终端以一定的周期向另一方终端发送数据包 以保持双方的长连接, 该周期为一个小于本地 NAT失效周期为时间间隔。 该方法存在以下不足:
1)该访问方法基于 TCP长连接, 连接双方需要定期的发送报文维护 TCP 连接。对于数量巨大的用户终端来说,服务器需要占用大量的资源和链接带宽, 处理性能差, 很难取得实际的管理效果。
2)该方法没有给出获取 NAT失效周期(即 NAT地址映射老化时间 )的方 法。 对于不同的 NAT, 老化时间不同, 不能统一处理, 增加了管理的难度。
3)该处理方法不能与 CPE 设备标准的管理协议 (TR-069、 SNMP ) 很好 的结合。 所以该方法并不适合穿越 NAT管理数目巨大的 CPE设备。 在 DSL (数字用户线路)论坛中, 提出了穿越 NAT实施 TR-069远程管 理的技术报告 TR-111 , 应用 TR-069进行家庭网管设备远程管理。 TR-111利用 现有的 STUN ( Simple Traversal of User Datagram Protocol (UDP) Through Network Address Translators。) 机制, 结合 TR-069管理特点, CPE通过发现 NAT的老化时间,并通过不间断发送 UDP绑定报文维护 NAT的映射关系。 ACS 可通过基于 UDP的链接请求报文通知 CPE进行 Inform, 进入主动管理流程。 该方法存在以下不足:
1)实现相对复杂, CPE和管理端为实现该功能都需要 #文大量的工作。
2) NAT 老化时间发现需要占用临时的 2个 NAT地址转换条目, 而 NAT 上的条目是有限的, 对于比较大的内网环境(如大型酒店)来说, NAT的地址 映射条目本身已经很紧张, 这种机制无法实施。
3)专为 TR-069管理协议设计, 不适合通过 SNMP协议进行管理的设备。 目前也有一些其它穿越 NAT的方法, 但是需要在网络环境中增加代理服 务器或者中继服务器, 或者需要修改 NAT 配置或预留端口。 这些方法对现有 网络和配置改动较大, 不适合运行商的管理思路和方式。 发明内容 本发明所要解决的技术问题是提供一种穿越网络地址翻译网关对用户侧 设备进行管理的方法, 解决现有 NAT 穿越技术实现复杂, 不适合较大的内网 环境及不能通用于各种协议进行管理的技术问题。 为达到上述目的,本发明提供了一种穿越网络地址翻译网关对用户侧设备 进行管理的方法, 其特点在于, 包括如下步骤: 步骤一, 用户侧设备上电后, 由管理端确定用户侧设备是否在网络地址翻 译网关的局域网侧; 步骤二,管理端设置并打开处于局域网侧的所述用户侧设备的网络地址翻 译网关穿越功能开关, 由所述用户侧设备自行选择进行网络地址翻译的老化时 间发现操作或不进行任何操作; 步驟三, 管理端设置所述用户侧设备的参数, 确定所述用户侧设备的用户 数据拫协议的心跳报文发送时间间隔以及管理端是否立即响应所述心跳报文; 步骤四, 所述用户侧设备根据所述时间间隔向管理端发送所述心跳报文; 步骤五, 管理端向所述用户侧设备发送用户数据报协议管理请求; 步骤六, 所述用户侧设备根据所述管理请求, 利用多种协议的报文与所述 管理端进行联系, 由所述管理端完成对用户侧设备的主动管理。 上述的方法, 其特点在于, 所述老化时间发现操作包括如下步驟: 步驟 a, 用户侧设备通过端口发送老化时间报文给管理端, 记录所述老化 时间报文的发送时刻, 并打开端口监听管理端发回的响应; 步骤 b, 管理端收到所述老化时间报文后, 每隔一预定时间返回一基于用 户数据报协议的探测 4艮文; 步骤 c, 如果用户侧设备在一设定的时间段内未收到所述探测报文, 则认 为网络地址翻译的地址映射关系已经老化, 用户侧设备将最后一次收到所述探 测 4艮文的时刻与所述发送时刻之间的差值作为老化时间; 步驟 d, 如果发现所述老化时间或者在长时间内无法发现所述老化时间, 用户侧设备发送老化发现结束报文给管理端, 管理端存储所述老化时间并根据 所述结束报文或者根据管理端的自身情况停止发送所述探测报文。 上述的方法, 其特点在于, 所述步骤 d中, 所述自身情况为: 管理端未接 收到所述结束报文, 并且在持续发送所述探测 ^艮文 30 分钟后自动结束所述探 测报文的发送。 上述的方法, 其特点在于, 所述步骤 b中的所述预定时间为 10秒, 所述 步骤 c中的所述设定的时间段为五分钟。 上述的方法, 其特点在于, 所述步骤一中, 所述管理端通过比较所述用户 侧设备上电上报的地址与实际收到的报文地址, 来确定用户侧设备是否在网络 地址翻译网关的局域网侧。 上述的方法, 其特点在于, 在所述步骤三中, 如果发现了老化时间, 则所 述心跳报文发送时间间隔设定为小于或等于所述老化时间, 否则所述时间间隔 为默认的时间段。 上述的方法, 其特点在于, 在所述步骤三中, 如果设定了立即响应所述心 跳报文, 则管理端收到所述心跳报文后立即给与响应, 并且如果所述用户侧设 备未等到所述响应会进行心跳报文的重发; 如果没有设定立即响应, 则只有在 管理端需要管理用户侧设备时才会发送响应。 上述的方法, 其特点在于, 在所述步骤四中, 所述用户侧设备在所述时间 间隔的范围内取随机数, 并 居所述随机数发送所述心跳报文。 上述的方法, 其特点在于, 在所述步樣五中, 管理端在收到所述心跳 ^艮文 后发送所述管理请求, 或者在需要管理的时候随时发送所述管理请求。 上述的方法, 其特点在于, 所述步骤六中, 所述多种协议的报文为 SNMP
Trap或 TR-069 Inform, 并且在管理过程中停止发送所述心跳报文。 本发明的技术效果在于: 本发明方法利用了现有 CPE 设备支持的管理协议的技术特点, 采用 TR-069协议的 Inform方法和 SNMP 管理协议方法, 使得管理端可以实时或准 实时的对 CPE设备进行主动的管理, 如故障检测、 性能监控、 状态查询。 通过 这种方法, 保证了管理端管理实时性, 缩短了管理周期。 同时该方法可以透明 的穿越现有各种类型的 NAT网关,而不需要对现有 NAT配置进行任何的改造, 保证了用户侧的已有设备与设备配置的安全性和完整性。 该发明方法适用 SNMP协议或 TR-069协议相关技术, 可使用统一的流程和消息管理目前几乎 所有的 CPE设备, 而不需要指定 CPE的协议类型。 附图说明 图 1为本发明实施例所述的 NAT老化时间发现流程示意图; 图 2为本发明实施例所述的 CPE发送 UDP心跳 文,管理端进行响应和 管理的流程示意图; 图 3 为本发明实施例所述的管理端主动发送 UDP 管理请求报文, 进入
TR-069或 SNMP管理流程; 图 4为本发明方法的步驟流程图。 具体实施方式 下面结合附图对本发明处理方法进亍说明。 本发明主要是克服管理端穿越 NAT管理 CPE的种种困难,提供一种穿越 NAT管理 CPE设备的实现方法, 采用精简的 NAT老化时间发现机制, 发现 NAT地址映射的老化周期; CPE可按照 NAT老化周期或者管理端设置的时间 间隔发送 UDP心跳报文; 管理端可以根据 UDP报文进行回应, 通知 CPE是否 需要发送 TR-069的 Inform消息或者发送 SNMP Trap消息; 管理也可以不必等 待 CPE的 UDP心跳报文而直接下发 UDP管理请求报文, 当 CPE收到后进行 同样的处理。 图 4为本发明方法的步骤流程图, 本发明的实现方法包括以下步骤: 步骤 401 , CPE上电后, 管理端判断 CPE是否在 NAT网关的 LAN侧; 步骤 402, 管理端设置打开 CPE 的 AT穿越功能开关后, CPE可进行 NAT老化时间发现, 也可以不进行任何操作。 步骤 403 , 管理端根据情况设置 CPE的参数, 包括 UDP心跳报文发送时 间间隔与是否立即响应; 步骤 404, CPE在随机间隔一段时间发送 UDP心跳给管理端; 步骤 405 , 管理端根据接收到的 UDP心跳发送 UDP管理请求; 步驟 406 ,当 CPE收到 UDP管理请求后,发送 SNMP Trap或发起 TR-069 的 Infrom。 所述步驟 401 中, 管理端通过 CPE上电上报的地址与实际收到报文的地 址进行比较, 判断 CPE是否在 NAT的 LAN侧。 所述步骤 401 中, 若发现 CPE在 NAT的 LAN侧, 则打开其 NAT穿越开 关。 所述步驟 401 中, CPE可在 NAT穿越功能开关打开后, 启动 NAT老化 时间发现功能, 并记录发现的 NAT老化时间。 CPE也可不进行任何操作。 所述步骤 402中, CPE若启动 NAT老化时间发现,通过端口 P1发送 UDP 的 NAT老化时间报文给管理端。 打开 P1端口监听管理端发回的响应。 同时打 开计时器, 记录当前时间为 Tl。 此时, CPE发送报文的地址为 (ΑΙ,ΡΙ ) 经过 NAT转换为 ( ΑΓ,ΡΓ )0 所述步骤 402中, 管理端收到 CPE的 NAT老化时间发现报文后, 每隔一 段时间向 ( ΑΓ,ΡΓ ) 发送基于 UDP的探测报文。 所述步骤 402 中, CPE 当很久 (如 5分钟) 未收到管理端的探测报文, 即认为 NAT地址映射关系已经老化, 就将最后一次收到报文的时间 T2与 T1 的差值 (T2-T1 )作为 NAT的老化时间。 所述步骤 402中, CPE发现 NAT老化后, 或者无法发现老化时间, 将发 送基于 UDP的 NAT老化发现结束报文给管理端, 管理端收到报文后停止发送 探测报文。 所述步骤 402中, 由于 UDP协议的不可靠性, 管理端可能无法收到 NAT 老化时间发现结束艮文, 但是会在持续发送响应 30 分 4†后自动结束发送探测 报文。 所述步驟 402中 > CPE结束 NAT老化发现流程后, 设置相关参数供管理 端读取。 参数包括: NAT老化时间发现标志、(若已经发现了 NAT的老化时间) NAT老化时间。 所述步骤 403中, 管理端查询 CPE是否发现了 NAT老化时间。根据 NAT 的老化时间发现结果, 设置 CPE的 UDP心跳发送时间间隔: 如果发现了老化 时间, 最大时间间隔为 NAT老化时间; 若 CPE没有发现 NAT时间, 则时间间 隔为默认的时间段。 所述步骤 403中, 管理端设置是否立即响应参数。 如果该参数为真, 则管 理端只要收到 CPE的 UDP心跳报文后, 就会给与响应, 响应中指示是否需要 CPE立即发送 SNMP Trap或进行 Inform。 否则, 只有管理端在需要管理 CPE 时才会发送响应^艮文。 所述步骤 404 中, CPE在设置好的时间间隔范围内取随机数, 使用地址 ( Al , P1 ) 发送 UDP心跳报文。 所述步 3聚 404 中, 若管理端在步 -骤 402 中设置了立即响应参数为真, 则 会在收到 CPE的 UDP心跳后发送响应。 否则不进行任何操作。 所述步骤 404中,管理端在步骤 402中设置了立即相应参数为真, 则 CPE 在发送完 UDP 心跳后, 会等待管理端的响应, 若超时, 则重发 3次。 在 3次 重发中, 任何一次收到了管理端的响应, 则不再重发。 所述步骤 405中, 管理端可在收到 UDP心跳后发送 UDP管理请求报文, 也可以在需要管理的时候随时发送 UDP管理管理请求 4艮文。 所述步骤 406中 , CPE在收到管理端的倚求 4艮文后, 将发起基于 TCP的 Inform或者是 SNMP Trap。 当进入管理流程后, 关闭 UDP心跳发送。 当流程 结束后, 立即发送 UDP心跳。 所述步膝 406中, CPE在收到管理端的请求 4艮文后, 可发送 SNMP Trap , 当管理端收到 SNMP Trap后, 发送 SNMP管理 4艮文 (如 SNMP GET/SET )。 报 文目的地址 /目的端口是收到 SNMP Trap的源地址 /源端口, 这样报文就会经过 NAT转发给 CPE设备。 当 CPE与管理端进行通讯后, NAT上会创建相应 LAN侧地址与 WAN侧 地址的映射关系条目, 当映射关系失效后, 管理端发送给 CPE 的报文将会被 NAT阻挡, 不会转发相应的 CPE。 由于 NAT老化时间的存在, 给管理端主动 管理 CPE设备带来了困难, 但是利用这种原理可发现 NAT老化时间, 为穿越 NAT提供帮助。 如图 1所示, 本发明的 NAT老化时间发现流程采用以下的步骤和技术环 节: 其中 Α1、 ΑΓ、 A3为 IP地址, Ρ1、 ΡΓ、 Ρ3为端口。 步骤 101 : CPE打开 UDP端口 PI进行监听。 步骤 102: CPE从 ( Al , P1 )发送 UDP的 NAT老化实际发现报文给管 理端 (A3 , P3 ), ΐ己录当前时间为 T1 , 并开始计时。 步骤 103 : 管理端收到 CPE的报文后, 定时发送 UDP的 NAT老化时间 探测报文给收到报文的源地址。 步骤 104: CPE在收到上一个探测报文后 5分钟之内再也没有收到报文, 则认为 NAT地址映射条目已经老化, 计算 NAT的老化时间。 步骤 105 : CPE从 ( Al , P1 ) 发送 UDP的 NAT老化时间发现结束报文 给管理端。 所述的步據 102中, CPE发送报文的地址在经过 NAT映射为(ΑΓ,ΡΓ) , 也就是管理端收到 4艮文的地址。 所述的步 102中, 若 CPE发送 -文后艮久没有收到管理端的响应, 则 通过 PING等方式检查管理端链路是否连通。 如果链路不通, 则退出流程。 否 则, 重发 3次 NAT发现报文, 若仍然没有收到报文, 则退出流程。 所述的步骤 103 中, 管理端收到报文后, 发送 NAT老化时间探测报文。 并且每隔 10秒发送一次。 所述的步骤 104中, 如果 CPE在 5分钟之内都没有收到管理端发来的响 应报文, 则将上次收到响应的时间 T2与 T1的差值(T2-T1 )作为 NAT老化时 间。 所述的步骤 104中, 当 CPE发现了 NAT老化时间后, 记录 NAT老化时 间发现标志和具体的时间, 管理端可以查询相应的参数。 所述的步骤 105 中, 管理端收到 CPE的结束报文则停止发送响应报文。 如果 UDP报文丟失, 管理端没有收到该报文, 管理端在持续发送 30分钟自动 停止发送。 如图 2所示, CPE发送 UDP心跳以及管理端响应的流程釆用以下的步骤 和技术环节: 步骤 201 : CPE从 ( A1 JP 1 )发送 UDP心跳报文给管理端 (A3, P3 )„ 步骤 202: 管理端收到报文后, 发送 UDP管理请求报文。 步骤 203 : CPE收到管理端响应后, 根据相应 艮文的类型, 发起 TR-069 的 Inform或者发送 SNMP Trap。 然后进入相应的管理操作流程。 步骤 204: 管理流程结束后, CPE立即发送 UDP心跳才艮文, 然后 UDP心 跳发送进程休眠。 休眠结束后, 准备下一次发送 UDP心跳报文。 所述的步碌 201 中, 由于经过了 NAT地址转换, CPE发送的 UDP心跳 报文需要包括设备 ID ( Deviceld ) 参数, 否则管理端无法将该消息与相应的 CPE设备关联。 所述的步骤 201 中, 如果管理端已经设置 CPE需要等待管理端响应, 则 每次 CPE发送心跳之后, 管理端都会给予响应。 CPE在每次发送完 UDP心跳 报文都后, 都需要等待响应。 如果超时没有收到响应, 则重发 3次。 若 3次都 没有收到响应, 则退出流程。 所述的步骤 201 中,如果管理端已经设置 CPE不需要等待管理端响应, 则 每次 CPE发送心跳之后,管理端只会在需要管理 CPE时发送 UDP管理请求报 文。 此时 CPE不会等待响应, 也不重试。 所述的步骤 202中, 如果管理端设置 CPE需要等待响应, 则会对每次收 到的报文进行响应, 在响应报文中指示是否需要立即对 CPE进行管理。 所述的步骤 202中, 如果管理端设置 CPE不需要等待响应, 则在需要对 CPE进^"管理时发送 UDP管理请求 4艮文。 所述的步骤 203中, 当 CPE进入管理端的管理流程后, 不再发送 UDP心 跳报文。 所述步骤 203中,若 CPE发送 SNMP Trap,管理端发送 SNMP管理 4艮文。 4艮文的目的地址 /目的端口与收到 SNMP Trap的源地址 /源端口一致。 所述的步骤 204中, 由于管理端管理的 CPE数目可能较多, 为避免大量 CPE同时发送 UDP心跳带来的大量并发情况, CPE选择在一个时间段内随机 休眠相应的时间。 对于管理端已经可以管理的 CPE设备, 管理端在需要立即进行管理时, 可以发 UDP请求报文, 指示 CPE进行 Inform或者发送 SNMP TRAP。 当然, 可能由于 NAT地址映射关系的老化, 4艮文可能会被 NAT阻挡。 管理端可重试 3次, 若都没有收到 CPE的响应, 则认为 NAT地址映射已经老化。 可等待接 收到 UDP心跳时, 通过响应发送 UDP管理请求 4艮文。 如图 3所示,管理端发送 UDP管理请求报文以及 CPE响应的流程采用以 下的步聚和技术环节: n 步骤 301 : 管理端从(A3 , P3 )向 (ΑΓ , ΡΓ )发送 UDP管理请求报文。 步骤 302: 当 CPE从 (Al , P1 ) 收到报文后, 发起基于 TCP的 Inform 或 SNMP TRAP , 进入管理流程。 所述的步骤 301 中, (ΑΓ , ΡΓ)是 CPE发送 UDP心跳的的地址( Al, PI ) 经过 NAT转化后管理端收到报文的地址。 所述的步骤 301 中, 当管理端发送 UDP管理请求报文结束后, 可能存在 以下两种' I"青况:
1)若超时未收到任何响应, 则重发 3次该报文。 并且 3次都没有收到响应
2)若收到来自 NAT 网关 WAN侧地址的 ICMP端口不可达艮文 若出现上述两种情况, 说明 NAT地址条目已经老化, 则管理端需要等待
CPE发送 UDP心跳, 通过 UDP的心跳响应报文发送管理请求。 所述的步驟 302 中, 若 NAT上的地址映射条目仍然存在, NAT将会从 ( ΑΓ , ΡΓ ) 收到的报文转发给 (Al , Pl )。 本发明实施例的主要原理是: 当 NAT地址映射关系老化失效后, 外部地 址发来的请求报文将被 NAT 阻挡, 此时内网地址的设备将无法收到相应的消 息; CPE上电后与管理端通信, 管理端判断其是否在 NAT的 LAN侧, 并打开 NAT穿越开关; CPE在打开 NAT发现开关后可进行 NAT的老化时间操作或不 进行任何操作; CPE通过向管理端发送 NAT老化时间发现报文, 管理端收到 报文后不断发送探测报文, 直到 CPE无法收到探测报文, 向管理端发送 NAT 老化时间结束报文为止, 以此时间段计算出 NAT 老化时间; 管理端根据情况 设置 CPE的 UDP心跳发送时间间隔; CPE在管理端设置的发送时间间隔内发 送 UDP心跳, 基于 NAT—出一进、 一出多进的原则, 管理端收到 UDP心跳 后, 回应给 CPE的报文不会被 NAT阻挡, CPE收到报文之后可按照要求发起 TR-069 Inform或者 SNMP Trap; 当管理端需要立即管理 CPE时, 发送 UDP 管理请求报文给 CPE, 若此时 NAT地址映射关系未失效, CPE收到请求后可 立刻响应, 若已经失效, 管理端 ^"无法收到 CPE的响应或收到来自 NAT网关 的 ICMP ( Internet控制信息协议) 端口不可达 文, 此时管理端需要在收到 CPE的 UDP心跳之后重新发送 UDP管理请求。 本发明实施例方法在管理端穿越 NAT管理 CPE设备的过程中,管理端设 置 CPE参数、 NAT地址映射老化时间发现、 发送 UDP心跳、 UDP管理请求等 操均采用强加密方式进行加密, 并且对收到报文的源地址进行验证, 保证通信 的安全。 以上所述仅为本发明的较佳实施例, 并非用来限定本发明的实施范围; 凡 是依本发明所作的等效变化与修改, 都被本发明的专利范围所涵盖。

Claims

一种穿越网络地址翻译网关对用户侧设备进行管理的方法,其特征在于, 包括如下步骤:
步驟一, 用户侧设备上电后, 由管理端确定用户侧设备是否在网络 地址翻译网关的局 i或网侧;
步骤二,管理端设置并打开处于局域网侧的所述用户侧设备的网络 地址翻译网关穿越功能权开关, 由所述用户侧设备自行选择进行网络地址 翻译的老化时间发现操作或不进行任何操作;
步骤三, 管理端设置所述用户侧设备的参数, 确定所述用户侧设备 的用户数据报协议的心跳报文发送时间间隔以及管理端是否立即响应所 述心跳报文;
步- 四,所述用户侧设备 ¾"所述时间间隔向管理端发送所述心跳 报文;
步骤五, 管理端向所述用户侧设备发送用户数据报协议管理请求; 步骤六, 所述用户侧设备根据所述管理请求, 利用多种协议的报文 与所述管理端进 4亍联系, 由所述管理端完成对用户侧设备的主动管理。 根据权利要求 1所述的方法, 其特征在于, 所述老化时间发现操作包括 如下步 : 步骤 a, 用户侧设备通过端口发送老化时间 文给管理端, 记录所 述老化时间报文的发送时刻, 并打开端口监听管理端发回的响应;
步骤 b, 管理端收到所述老化时间报文后, 每隔一预定时间返回一 基于用户数据报协议的探测报文;
步骤 c ,如果用户侧设备在一设定的时间段内未收到所述探测报文, 则认为网絡地址翻译的地址映射关系已经老化, 用户侧设备将最后一次 收到所述探测报文的时刻与所述发送时刻之间的差值作为老化时间; 步-课 d, 如果发现所述老化时间或者在长时间内无法发现所述老化 时间, 用户侧设备发送老化发现结束 4艮文给管理端, 管理端存储所述老 化时间并根据所述结束报文或者根据管理端的自身情况停止发送所述探
»J 艮 ^L。
3、 根据权利要求 2所述的方法, 其特征在于, 所述步骤 d中, 所述自身情 况为: 管理端未接收到所述结束报文, 并且在持续发送所述探测报文 30 分钟后自动结束所述探测报文的发送。
4、 根据权利要求 2所述的方法, 其特征在于, 所述步據 b中的所述预定时 间为 10秒, 所述步骤 c中的所述设定的时间段为五分钟。
5、 根据权利要求 1所述的方法, 其特征在于, 所述步骤一中, 所述管理端 通过比较所述用户侧设备上电上报的地址与实际收到的报文地址, 来确 定用户侧设备是否在网络地址翻译网关的局域网侧。
6、 根据权利要求 2所述的方法, 其特征在于, 在所述步骤三中, 如果发现 了老化时间, 则所述心跳报文发送时间间隔设定为小于或等于所述老化 时间, 否则所述时间间隔为默认的时间段。
7、 根据权利要求 6所述的方法, 其特征在于, 在所述步骤三中, 如果设定 了立即响应所述心跳报文,则管理端收到所述心跳报文后立即给与响应, 并且如果所述用户侧设备未等到所述响应会进 ^"心兆>¾文的重发; 如果 没有设定立即响应, 则只有在管理端需要管理用户侧设备时才会发送响 应。
8、 根据权利要求 6所述的方法, 其特征在于, 在所述步骤四中, 所述用户 侧设备在所述时间间隔的范围内取随机数, 并根据所述随机数发送所述 心兆才艮文。
9、 根据权利要求 1所述的方法, 其特征在于, 在所述步骤五中, 管理端在 收到所述心跳报文后发送所述管理请求, 或者在需要管理的时候随时发 送所述管理请求。
10、 根据权利要求 1所述的方法, 其特征在于, 所述步骤六中, 所述多种协 议的报文为 S MP Trap或 TR-069 Inform, 并且在管理过程中停止发送 所述心跳 4艮文。
PCT/CN2006/003664 2006-04-27 2006-12-29 Procédé de gestion d'un dispositif côté utilisateur par l'intermédiaire d'une passerelle nat WO2007124632A1 (fr)

Priority Applications (1)

Application Number Priority Date Filing Date Title
EP06840694.1A EP2012502B1 (en) 2006-04-27 2006-12-29 Method for managing user side device through nat gateway

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CNB2006100118051A CN100486176C (zh) 2006-04-27 2006-04-27 一种穿越网络地址翻译网关对用户侧设备进行管理的方法
CN200610011805.1 2006-04-27

Publications (1)

Publication Number Publication Date
WO2007124632A1 true WO2007124632A1 (fr) 2007-11-08

Family

ID=38655041

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2006/003664 WO2007124632A1 (fr) 2006-04-27 2006-12-29 Procédé de gestion d'un dispositif côté utilisateur par l'intermédiaire d'une passerelle nat

Country Status (4)

Country Link
EP (1) EP2012502B1 (zh)
CN (1) CN100486176C (zh)
RU (1) RU2416884C2 (zh)
WO (1) WO2007124632A1 (zh)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2010076488A1 (fr) * 2008-12-18 2010-07-08 France Telecom Procede de gestion a distance d'un terminal
CN117575544A (zh) * 2024-01-15 2024-02-20 北京智芯微电子科技有限公司 配电台区设备管理方法、装置、存储介质及电子设备

Families Citing this family (29)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP2159961B1 (en) * 2008-09-01 2013-12-11 Alcatel Lucent Method, device and module for optimising the remote management of home network devices
CN101771720B (zh) * 2009-01-07 2013-01-30 上海三零卫士信息安全有限公司 主动管理技术终端的扫描发现方法
CN102158991B (zh) * 2010-02-12 2014-04-02 华为终端有限公司 设备管理的方法、网关设备及设备管理服务器
CN102263651A (zh) * 2010-05-28 2011-11-30 烽火通信科技股份有限公司 Snmp网络管理系统中局端设备连接状态的检测方法
CN102013998B (zh) * 2010-11-30 2012-10-10 广东星海数字家庭产业技术研究院有限公司 一种基于tr-069协议实现家庭网络的管理方法
CN103718518B (zh) * 2011-12-06 2017-10-24 华为技术有限公司 数据传输方法及网络设备、网关
CN103024097B (zh) * 2012-12-24 2016-06-29 瑞斯康达科技发展股份有限公司 探测网络地址转换服务器老化时间的方法、装置及系统
CN103905579B (zh) * 2012-12-28 2018-01-30 中国移动通信集团公司 平台与终端间的通信方法、通信系统、平台及相关设备
CN103051724B (zh) * 2012-12-28 2016-06-15 北京思特奇信息技术股份有限公司 一种基于长连接的套接字同步方法
CN104348522B (zh) * 2013-07-23 2016-09-21 普天信息技术研究院有限公司 一种适用于低功耗蓝牙设备的心跳保持的方法
TWI548232B (zh) 2014-03-10 2016-09-01 鴻海精密工業股份有限公司 用戶端網路設備及遠程登入的方法
CN103944760B (zh) * 2014-04-17 2017-07-04 新华三技术有限公司 一种穿越nat的网络管理方法及装置
CN104065519A (zh) * 2014-07-14 2014-09-24 北京星网锐捷网络技术有限公司 提升会话交互性能的方法及自动配置服务器
CN104144080B (zh) * 2014-07-24 2018-01-02 上海斐讯数据通信技术有限公司 采用远端设备对终端设备进行管理的系统及方法
CN105338398A (zh) * 2014-08-11 2016-02-17 中兴通讯股份有限公司 一种机顶盒管理方法、装置及系统
CN104243593B (zh) * 2014-09-24 2018-01-16 上海斐讯数据通信技术有限公司 基于STUN的WiFi智能插座的远程管理方法及管理系统
CN104468202B (zh) * 2014-11-26 2018-03-27 迈普通信技术股份有限公司 一种用户端设备的管理方法及装置
CN104468870A (zh) * 2014-12-31 2015-03-25 小米科技有限责任公司 网络地址转换nat窗口时长检测方法及装置
CN104811478A (zh) * 2015-03-27 2015-07-29 上海斐讯数据通信技术有限公司 无线终端设备的远程控制系统及远程控制方法
CN105049543B (zh) * 2015-06-02 2018-06-19 上海斐讯数据通信技术有限公司 智能路由器间穿越非对称nat进行p2p通信的系统及方法
CN105530310B (zh) * 2015-12-22 2019-03-08 浙江宇视科技有限公司 适合公私网流量转发的设备连接方法及装置
CN107241453B (zh) * 2016-03-28 2020-07-24 华为技术有限公司 一种网络地址转换映射保活方法及装置
CN105959150B (zh) * 2016-06-23 2019-10-18 武汉丰天鼎业信息网络有限公司 自动发现操作管理adoa系统统一网络管理平台的实现方法
US10425316B2 (en) * 2017-09-29 2019-09-24 Nokia Of America Corporation Heart beat monitoring for broadband access devices and enterprise devices
CN107612789B (zh) * 2017-11-09 2020-08-28 北京奇艺世纪科技有限公司 一种客户端的心跳间隔调整方法及装置
CN110768853A (zh) * 2018-07-25 2020-02-07 中兴通讯股份有限公司 一种心跳检测处理方法及装置
CN111083702A (zh) * 2019-11-20 2020-04-28 青岛海信智慧家居系统股份有限公司 一种智能家居的ZigBee设备管理的方法及装置
CN113300863B (zh) * 2020-02-24 2023-06-30 北京北斗弘鹏科技有限公司 一种无地址信息的网络设备运行管理方法及网络设备
CN114973700B (zh) * 2022-05-18 2024-03-26 浙江嘉兴数字城市实验室有限公司 一种基于车路协同应用的信号机网联安全装置及工作方法

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1561061A (zh) * 2004-02-27 2005-01-05 Ut斯达康通讯有限公司 通过nat进行双向访问的方法
CN1744521A (zh) * 2005-08-26 2006-03-08 杭州华为三康技术有限公司 网络设备的管理方法及网络管理系统
KR20060028975A (ko) * 2004-09-30 2006-04-04 주식회사 케이티 Nat/방화벽 장비를 지원하는 sip 기반 통신서비스제공시스템 및 방법

Family Cites Families (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2003078544A (ja) * 2001-08-31 2003-03-14 Allied Tereshisu Kk アドレス変換装置、監視装置、及びプログラム
US20050105508A1 (en) * 2003-11-14 2005-05-19 Innomedia Pte Ltd. System for management of Internet telephony equipment deployed behind firewalls
US7492764B2 (en) * 2004-10-12 2009-02-17 Innomedia Pte Ltd System for management of equipment deployed behind firewalls

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1561061A (zh) * 2004-02-27 2005-01-05 Ut斯达康通讯有限公司 通过nat进行双向访问的方法
KR20060028975A (ko) * 2004-09-30 2006-04-04 주식회사 케이티 Nat/방화벽 장비를 지원하는 sip 기반 통신서비스제공시스템 및 방법
CN1744521A (zh) * 2005-08-26 2006-03-08 杭州华为三康技术有限公司 网络设备的管理方法及网络管理系统

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
See also references of EP2012502A4 *

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2010076488A1 (fr) * 2008-12-18 2010-07-08 France Telecom Procede de gestion a distance d'un terminal
CN117575544A (zh) * 2024-01-15 2024-02-20 北京智芯微电子科技有限公司 配电台区设备管理方法、装置、存储介质及电子设备
CN117575544B (zh) * 2024-01-15 2024-03-22 北京智芯微电子科技有限公司 配电台区设备管理方法、装置、存储介质及电子设备

Also Published As

Publication number Publication date
CN101064625A (zh) 2007-10-31
RU2416884C2 (ru) 2011-04-20
CN100486176C (zh) 2009-05-06
EP2012502A1 (en) 2009-01-07
EP2012502B1 (en) 2018-09-19
RU2008143720A (ru) 2010-06-10
EP2012502A4 (en) 2013-08-14

Similar Documents

Publication Publication Date Title
WO2007124632A1 (fr) Procédé de gestion d'un dispositif côté utilisateur par l'intermédiaire d'une passerelle nat
US8130766B2 (en) System and method for implementing multimedia calls across a private network boundary
US6754622B1 (en) Method for network address table maintenance in a data-over-cable system using destination reachibility
US20080215669A1 (en) System and Method for Peer-to-Peer Connection of Clients Behind Symmetric Firewalls
US20100153560A1 (en) Protocol and system for firewall and nat traversal for tcp connections
CN101702718A (zh) 用户终端设备的管理方法及装置
WO2007031014A1 (fr) Procede et systeme de gestion de reseaux locaux a distance moyennant un dispositif de communication
US20050105508A1 (en) System for management of Internet telephony equipment deployed behind firewalls
JP2008517556A (ja) ファイアウォール越えのための装置および方法
KR101368615B1 (ko) 단대단 콜의 구현 방법, 단대단 콜 터미널 및 시스템
JP2006086800A (ja) ソースアドレスを選択する通信装置
WO2003077143A1 (en) Providing multiple isp access to devices behind nat
WO2007036160A1 (fr) Appareil, systeme et procede assurant la communication entre un client et un serveur
WO2012103721A1 (zh) 终端访问数字家庭设备的方法和设备
CN101783774A (zh) 一种网络设备连接方法以及系统和装置
CN112073244A (zh) 基于tr069协议的消息处理方法及系统
JP2004064751A (ja) ネットワークアドレス変換システムおよびその方法
WO2012092780A1 (zh) 确定接口信息的方法和设备
JP4292897B2 (ja) 中継装置とポートフォワード設定方法
KR101049549B1 (ko) Sip를 이용한 udp 홀 펀칭 방법 및 이를 이용한 단말관리 시스템 및 단말 관리 방법
WO2007016809A1 (fr) Procede de gestion de dispositif de pontage
JP2008078822A (ja) 管理端末、ポート開閉制御方法およびポート開閉制御プログラム
EP1593230A1 (en) Terminating a session in a network
WO2015139397A1 (zh) 一种nat64资源获取方法及获取/分配装置
CN100401700C (zh) 一种两个私网内的多媒体终端点对点呼叫的方法

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

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

WWE Wipo information: entry into national phase

Ref document number: 2006840694

Country of ref document: EP

WWE Wipo information: entry into national phase

Ref document number: 2008143720

Country of ref document: RU

Ref document number: A20081452

Country of ref document: BY