WO2014044218A2 - Plug-and-play network element, system, and access method - Google Patents

Plug-and-play network element, system, and access method Download PDF

Info

Publication number
WO2014044218A2
WO2014044218A2 PCT/CN2013/083950 CN2013083950W WO2014044218A2 WO 2014044218 A2 WO2014044218 A2 WO 2014044218A2 CN 2013083950 W CN2013083950 W CN 2013083950W WO 2014044218 A2 WO2014044218 A2 WO 2014044218A2
Authority
WO
WIPO (PCT)
Prior art keywords
plug
online
play
network element
address
Prior art date
Application number
PCT/CN2013/083950
Other languages
French (fr)
Chinese (zh)
Other versions
WO2014044218A3 (en
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 WO2014044218A2 publication Critical patent/WO2014044218A2/en
Publication of WO2014044218A3 publication Critical patent/WO2014044218A3/en

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/50Address allocation
    • H04L61/5007Internet protocol [IP] addresses
    • H04L61/5014Internet protocol [IP] addresses using dynamic host configuration protocol [DHCP] or bootstrap protocol [BOOTP]
    • 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
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L63/00Network architectures or network communication protocols for network security
    • H04L63/08Network architectures or network communication protocols for network security for authentication of entities

Definitions

  • Plug and play network element device system and online method
  • the present invention relates to the field of communication technologies, and in particular, to a plug-and-play network element device, a system, and an online method. Background technique
  • the installation of the bearer network equipment is a relatively high cost part of the network construction process.
  • the soft-tuning personnel must complete the initial configuration of the network equipment.
  • PTN Packet Transport Network
  • Most of the PTN (Packet Transport Network) devices are installed in remote locations such as base station rooms and corridors. It is difficult to open.
  • the current status quo is that soft-tuning personnel must go to the site to configure the initialization script to go online, and then return to the network management center to operate the network management system to connect to the device for configuration management. If the configuration is incorrect or conflict, you must run the site again.
  • For PTN equipment engineering manpower is very expensive. At present, operators have demanded that plug-and-play network element equipment installation can achieve one inbound completion, and one inbound station means that an engineering personnel can complete the installation and opening of the network element once at the site.
  • the hardware installer goes to each site for on-site installation, connects the relevant lines, and performs the acceptance of the installation part.
  • the hardware installer is on site, and the network management center personnel are in the network management center. They are not together.
  • some installation data may be incorrect.
  • the network management center personnel After the equipment is installed, the network management center personnel must discover and check the topology connection, equipment hardware information, and line connection information of the equipment in a certain way. It is consistent with the planned equipment information. After ensuring the consistency, the hardware installation personnel are completed. The work is completed and the acceptance work is completed on site.
  • the purpose of the embodiment of the present invention is to provide a plug-and-play network element device online method for the problem that the correctness of the network element information is complicated when the plug-and-play network element device is online.
  • a method for online plug-and-play network element device comprising:
  • the DHCP request packet is sent to the network management device by the plug-and-play network element device, and the acquired authentication information is obtained.
  • the plug-and-play network element device receives the ip address sent by the network management device through the DHCP response packet, and the ip address is the device identification information included in the authentication information required by the network management system according to the received online authentication, and the received authentication information of the online connection is pre-stored. The authentication information required for the online connection is compared. If the comparison is consistent, the ip address assigned to the plug-and-play network element device is online;
  • the plug-and-play network element device goes online according to the received ip address.
  • the obtained authentication information of the online connection includes device hardware information and line connection information, and the device hardware information includes device identification information and board information of the device.
  • the plug-and-play network element device sends the DHCP request message to the network management device, and the authentication information required for the online access is:
  • the plug-and-play NE device carries the authentication information required for online presence in the DHCP Request message option.
  • the first option of the DHCP request packet carries the board information of the device, and the second option of the DHCP request packet carries the line connection information.
  • the DHCP request packet is sent to the network management device by the plug-and-play network element device.
  • the authentication information required for the online access is:
  • the plug-and-play NE device periodically sends a DHCP request packet. When it is sent, it traverses the interface chain of the device. After traversing to an interface, it determines whether the interface is a port connected to the external device. If yes, it sends a DHCP request message. Text.
  • the plug-and-play network element device is based on the received ip address:
  • the device After the ip address is obtained, the device is downloaded from the NMS and the device is online.
  • a plug and play network element device including:
  • the sending module is configured to send the DHCP request packet to the network management system, and the obtained authentication information required for the online line is obtained;
  • the receiving module is configured to receive, by using a DHCP response packet, an IP address sent by the network management, where the IP address is the device identification information included in the authentication information required by the network management, and the required authentication information of the online connection and the pre-stored online office The authentication information needs to be compared, and if they are consistent, the IP address allocated for the plug-and-play network element device is online;
  • the online module is configured to go online according to the received ip address.
  • a plug-and-play network element device online system wherein:
  • the plug-and-play NE device is configured to send the DHCP request packet to the NMS, and the obtained authentication information of the online line receives the IP address sent by the NMS through the DHCP response packet, and is sent online according to the received IP address.
  • the network management system is configured to compare the received authentication information of the online connection with the authentication information required for the online connection according to the device identification information included in the authentication information required for the online connection, and if the comparison is consistent, the network device for the plug-and-play network is online. Assign an ip address.
  • the network management system is configured to send an alarm message if the comparison is inconsistent.
  • the DHCP server is configured to receive the DHCP request packet sent by the plug-and-play NE device, send the authentication information required for the online device acquired by the plug-and-play NE device to the NMS, and receive the DHCP response packet sent by the NMS. That is, the network element device sends the IP address assigned by the network management device to the online device of the plug-and-play network element device.
  • the plug-and-play network element device After the network management determines the authentication information required for the online connection sent by the plug-and-play NE device, With the ip address, the plug-and-play network element device goes online according to the received ip address, thereby completing the installation and acceptance of the plug-and-play network element remotely in the network management center, and reducing the information of the network element when the plug-and-play network element device goes online.
  • the complexity DRAWINGS
  • FIG. 1 is a flowchart of a method according to an embodiment of the present invention
  • FIG. 2 is a structural diagram of a system according to an embodiment of the present invention.
  • FIG. 3 is a top view of a plug-and-play network element device according to an embodiment of the present invention.
  • DHCP dynamic host configuration protocol
  • FIG. 5 is a structural diagram of a DHCP server according to an embodiment of the present invention.
  • FIG. 6 is a structural diagram of a network management system according to an embodiment of the present invention.
  • FIG. 7 is a flowchart of a network management authentication according to an embodiment of the present invention. detailed description
  • the embodiment of the present invention provides a method for the online operation of the plug-and-play network element device. As shown in FIG. 1 , the method includes: Step 101: The DHCP request packet is sent to the network management device by the plug-and-play network element device, and the acquired authentication information is obtained.
  • Step 102 The network management compares the received authentication information of the online connection with the pre-stored authentication information required by the device according to the device identification information included in the authentication information required for the online connection. If the network management device is online, the network device is online. Assign an ip address.
  • Step 103 Receive the ip address sent by the network management device through the DHCP response packet plug and play network element device.
  • Step 104 The plug and play network element device goes online according to the received IP address.
  • the obtained authentication information required for the online connection includes the device hardware information, such as the model of the device, the media access control (MAC) address, the main control board and the line card information inserted in the slot of the rack, and Line connection information, device hardware information including device identification information
  • the device serial number is used, and the device hardware information also includes the device board information.
  • the authentication information required for these plug-and-play NE devices to go online is carried in the DHCP Request message option.
  • the device information of the device is carried in the DHCP request packet option Option 224, and the line connection information is carried in the DHCP request message option Option 225.
  • step 101 and step 103 the plug-and-play network element device and the network management device exchange information with each other through the DHCP server, and the plug-and-play network element device sends the authentication information to the network management system through the DHCP server.
  • the NMS sends the IP address assigned to the plug-and-play NE device to the plug-and-play NE device through the DHCP server, such as 196.128.0.11.
  • step 103 since the configuration file required for the online connection is pre-stored in the network management, the plug-and-play network element device obtains the ip address after 196.128.0.11, and the software personnel are not required to configure the initialization script on the site, and the plug-and-play network element device directly
  • the configuration file is downloaded from the NMS and the device is online.
  • the solution to the existing installation problems that may occur is as follows: The equipment is incorrect, that is, the equipment at the installation site is inconsistent with the planned equipment. This can be solved by checking the serial number of the verified device.
  • the device board is not installed. If the device has two main controllers, the main board starts normally, but the standby board does not start because it is not plugged in; or the line card is inserted into the wrong slot number. This can be solved by verifying the type of board in each slot of the device.
  • the device line is connected incorrectly. If the hardware installer's network cable is plugged into the wrong port. This can be solved by verifying the port information of the connected device.
  • the opening process is mainly divided into two steps: 1) The device obtains an ip address through DHCP. 2) After obtaining the address, the NMS downloads the configuration file to obtain the basic configuration data, and clears the management channel to complete the device online. During the installation process, whether the hardware installation of the device is correct needs to be before the address is assigned. Checking, by setting the device hardware information and line connection information in the DHCP request message, the network management center performs device authentication based on the information to determine whether to allocate an IP address.
  • the plug-and-play network element device online system includes a plug-and-play network element device, a DHCP server (Server), and a network management system.
  • the plug-and-play NE device is the NE to be installed. After the plug-and-play NE device is powered on, it sends a DHCP Request message, requests an IP address, and carries the authentication information required for the online request. , including device hardware information, and line connection information, device hardware information can be carried in the DHCP reserved option, using the option in option 224-option 254, the DHCP server can identify and parse the option content, plug and play network element device The format of the option padding and the DHCP server parsing format should be consistent.
  • the DHCP server After receiving the DHCP request packet, the DHCP server parses the option of carrying the NE information, and notifies the network management of the authentication information required for the online connection in the option.
  • the network management administrator pre-stores the authentication information required for the online access of each planned network element.
  • the authentication information required for the uplink of the network element includes the hardware information and the topology connection information.
  • the network management checks the authentication information required for the received online authentication, and compares the received authentication information required for the online connection with the pre-stored authentication information required for the online check. After passing, the DHCP server is notified to allocate an ip address to the device. If the verification is inconsistent, the IP address is not assigned to the NE. The corresponding alarm information is displayed on the U2000.
  • the network management center knows the hardware installation problem and notifies the hardware installer of the device to correct the problem.
  • the device After the NE hardware is installed, the device is powered on. After the device is powered on, the DHCP client is enabled. The DHCP request packet is sent periodically. The plug-and-play NE device obtains the device. The hardware information and the line connection information are traversed to the interface chain of the device. After traversing to an interface, it is determined whether the interface is a port connected to the external device. If yes, a DHCP request message is sent. The device information of the device and the line connection information are carried in the DHCP request message option. The plug-and-play NE device receives the DHCP response packet and parses the DHCP response packet. The plug-and-play NE device sets the IP address to the corresponding interface and connects to the NMS. Download the configuration file to the Plug and Play NE device and make the configuration file take effect.
  • the plug-and-play NE device In the plug-and-play NE device, the following three DHCP options are used to carry the authentication information required for the plug-and-play NE device to go online.
  • Option (option) 61 The serial number of the carrying device, the manufacturer name, and the port information for sending the message.
  • Type ( Code ) ( Len ) ( Type ) Client-Identifier I 61
  • the following content is in the form of a string, with each part being separated by '-, such as zte-gei-1/1-012345678901.
  • Option224 Card information of the device.
  • I slot number board name - slot number: board name ⁇ ⁇ ⁇
  • Each part is separated by a -, and the format of each part is the slot number plus a colon, plus the board name.
  • Option 225 Interface information of the carrying device, which identifies which interfaces are connected.
  • Code Len board (board) 1 board2 I 224
  • the length field is the length of the interface number field.
  • the interface number indicates the port of the board that is connected to the network cable.
  • the format is port number 1: Slog 2: Port number 3 ⁇ ⁇ ⁇ .
  • the 2nd, 3rd, 5th, and 7th ports are the ports that are connected to the external device, the interface number is 2:3:5:7.
  • the DHCP server device receives the DHCP request packet sent by the plug-and-play network element device, and parses the content of the packet.
  • the DHCP communication unit sends the device hardware information and the line connection information to the network management system to check and verify the authentication information required for the online authentication.
  • the device sends a DHCP response message to the plug-and-play network element, and allocates an ip address to the plug-and-play device.
  • the network management unit receives the authentication information required for the online server to be sent by the DHCP server, compares the authentication information required for the online connection and the stored authentication information required for the online connection, determines whether the device is correctly installed, and returns the result of the authentication.
  • the notification is sent to the DHCP server.
  • the error message is sent to the alarm unit.
  • the alarm unit displays the corresponding alarm on the network management interface, prompting the network management personnel to install the device incorrectly.
  • the network administrator informs the hardware installer to correct the error.
  • Figure 2 shows the basic structure of the plug-and-play NE device online system, including:
  • the plug-and-play network element device 201 is configured to send the DHCP request message to the network management system, and obtain the authentication information required for the online connection, and receive the ip address sent by the network management device through the DHCP response message, and go online according to the received ip address.
  • the DHCP server 202 is configured to receive the DHCP request message sent by the plug-and-play network element device, and send the authentication information required for the uplink and the network element obtained by the plug-and-play network element device to the network management device, and receive the DHCP response message sent by the network management device.
  • the plug-and-play NE device sends the IP address assigned by the network management device to the plug-and-play NE device.
  • the network management unit 203 is configured to compare the received authentication information of the online connection with the pre-stored authentication information required by the device according to the device identification information that is included in the authentication information required for the online connection, and if the comparison is consistent, the device is a plug-and-play network element device. Assign an ip address on the line.
  • the plug-and-play network element device 201 is generally an access layer device in a bearer network, and is plug and play.
  • the DHCP client obtains the IP address and other configuration information through the DHCP protocol.
  • the network management center manages the plug-and-play network element device.
  • the IP address is allocated and the configuration file is downloaded to the plug-and-play network element device.
  • the network management center includes a DHCP server 202 and a network management system 203. The two can be physically installed on the same server or not on the same server, and the two can communicate with each other.
  • the DHCP server 202 receives the DHCP request packet, and sends the device information to the network management system for authentication. After the authentication is passed, the DHCP response packet is sent to the network element.
  • the network management unit 203 stores the hardware information and the line connection information of the network element, and authenticates the device according to the network element information during the process of assigning the IP address to the network element.
  • the device information obtaining module 2011 acquires hardware information and line connection information of the device, and the device hardware information includes the model number, MAC address, and insertion of the device. Main control board and line card information on the rack slot; Which interface is UP for the line connection information.
  • the sending module 2012 is configured to send the DHCP request packet to the network management system, and obtain the authentication information required for the online connection. Specifically, the device sends a DHCP Request message to the interface that has been upgraded. The information in the packet carries the authentication information required for the online connection. The network element periodically sends the request packet before receiving the response packet. .
  • the receiving module 2013 is configured to receive, by using a DHCP response packet, an IP address sent by the network management system, where the IP address is the device identification information included in the authentication information required by the network management, and the online authentication information received and the pre-stored authentication information. The required authentication information is compared. If the comparison is the same, the IP address assigned to the plug-and-play NE device is online. The module receives the DHCP response packet.
  • the online module 2014 is configured to go online according to the received ip address. Specifically, after receiving the DHCP response packet, set the ip address and other information to the device, connect to the NMS, download the configuration file, and open the management channel to the NMS.
  • Step 301 Start the process, and the DHCP request message sent by the plug-and-play network element is sent periodically, and when the cycle time expires, the DHCP message is triggered to be sent.
  • Step 302 Sending a DHCP request message is sent to all UP ports, first traversing the interface chain of the device, and sending one interface.
  • Step 303 If there is no interface, or all interfaces have been traversed, the sending process ends.
  • Step 304 Traversing to an interface, determining whether the interface is an UP port, and the UP interface needs to send a request message.
  • Step 305 Obtain the hardware information of the device, including the serial number of the device, the board information of all slots, and the connected port information.
  • step 306 the device serial number and the interface information traversed by the device are filled in the option 61, and the board information of the device is filled in the option 224, and the connected port information is filled in the option 225.
  • Step 307 sending a request message, and then traversing the next interface.
  • Step 308 the sending request message ends.
  • the receiving unit 2021 receives the DHCP request message and sends it to the parsing unit for parsing.
  • the parsing unit 2022 parses the DHCP message.
  • the DHCP communication unit 2023 sends the network element information parsed by the parsing unit to the network management system for authentication.
  • the sending unit 2024 sends a response packet to the network element, and allocates an ip address to the network element.
  • the storage unit 2025 stores information such as an ip address assigned to the network element.
  • the network management unit 2031 receives the authentication information required for the online connection of the DHCP server, submits it to the authentication unit, and sends the authentication result to the DHCP server.
  • the authentication unit 2032 compares the authentication information required for the online connection with the authentication information required for the online connection in the storage unit, and performs a verification check, which indicates that the device is correctly installed, and the corresponding alarm is sent to the alarm module.
  • the alarm unit 2033 displays the message sent by the authentication module on the network management interface.
  • the alarm here is not only to display the correct or failed installation, but to display specific error information, such as a line card type error, to display what the line card is now. Type, what type should be planned, so that the network administrator can inform the hardware installer to specifically correct which installation error.
  • the storage unit 2034 stores authentication information required for the uplink of each device, such as device hardware information and line connection information.
  • the network element management unit 2035 after the plug-and-play network element obtains the ip address, interacts with the plug-and-play network element, and completes the process of downloading the configuration file to the plug-and-play network element.
  • Step 601 Receive the required authentication information that is sent by the DHCP server.
  • Step 602 Check whether the serial number of the plug-and-play network element device is correct. If the serial number is not found, the verification fails, and the serial number error message is prompted.
  • Step 603 Check whether the port connected to the uplink NE by the plug-and-play NE device is correct, incorrectly prompting the connection port to be incorrect, and ending the authentication process.
  • Step 604 Check whether the board information of each slot of the plug-and-play NE device is correct, and the board information error alarm is incorrectly displayed.
  • Step 605 Check the connection port of the device, and the mismatch with the planning table prompts the port connection error alarm.
  • Step 606 the verification succeeds, and the DHCP server verifies the result of the verification.
  • Step 607 the verification fails, and the front installer is notified according to the alarm information.
  • the foregoing DHCP communication unit may be a DHCP transceiver; the network management communication unit may be a network management transceiver; the alarm unit may be an alarm; and the receiving unit may be a receiving unit.
  • the parsing unit may be a chip for performing parsing processing, such as a CPU or the like; the transmitting unit may be a transmitter; the storage unit may be a database; and the authentication unit may be a chip for performing authentication processing, such as a CPU or the like.

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Computer Hardware Design (AREA)
  • Computer Security & Cryptography (AREA)
  • Computing Systems (AREA)
  • General Engineering & Computer Science (AREA)
  • Small-Scale Networks (AREA)

Abstract

Provided are a plug-and-play network element, system, and access method aimed to solve the problem in the prior art of the process of checking the accuracy of information of a plug-and-play network element during its access being too complex. The method comprises: a plug-and-play network element transmits through a DHCP request message to a network management obtained authentication information required for access; the plug-and-play network element receives through a DHCP response message an IP address transmitted by the network management, the IP address being the IP address assigned by the network management after authentication to the device for access; the device accesses according to the received IP address. The network management assigns an IP address to the plug-and-play network element after the authentication information required for access is authenticated, and the network element accesses using the received IP address. Hence the network management center remotely completes the installation check for the network element, thereby reducing the complexity of checking plug-and-play network element information during its access.

Description

一种即插即用网元设备、 ***及上线方法 技术领域  Plug and play network element device, system and online method
本发明涉及通信技术领域, 特别是指一种即插即用网元设备、 ***及 上线方法。 背景技术  The present invention relates to the field of communication technologies, and in particular, to a plug-and-play network element device, a system, and an online method. Background technique
承载网设备的安装是网络建设过程中费用比较高的一部分, 除了硬件 施工人员完成网络设备的硬件安装, 布线等, 还要软调人员到现场完成网 络设备的初始配置。 特别是 PTN (分组传送网, Packet Transport Network ) 设备大多数是安装在基站机房, 楼道等偏远的地方, 开通比较困难。 目前 的现状是软调人员必须到现场配置初始化脚本即上线所需的配置文件, 然 后回到网管中心操作网管才能连接上设备进行配置管理, 如果配置错误或 者冲突还必须再次跑现场,对于低端的 PTN设备来说,工程人力耗费很大。 目前运营商纷纷要求即插即用网元设备安装能够达到一次进站完成, 一次 进站, 指的是由一个工程人员到现场一次就能够完成网元的安装开通。  The installation of the bearer network equipment is a relatively high cost part of the network construction process. In addition to the hardware construction personnel completing the hardware installation and wiring of the network equipment, the soft-tuning personnel must complete the initial configuration of the network equipment. In particular, most of the PTN (Packet Transport Network) devices are installed in remote locations such as base station rooms and corridors. It is difficult to open. The current status quo is that soft-tuning personnel must go to the site to configure the initialization script to go online, and then return to the network management center to operate the network management system to connect to the device for configuration management. If the configuration is incorrect or conflict, you must run the site again. For the low-end. For PTN equipment, engineering manpower is very expensive. At present, operators have demanded that plug-and-play network element equipment installation can achieve one inbound completion, and one inbound station means that an engineering personnel can complete the installation and opening of the network element once at the site.
在安装过程中, 硬件安装人员到各个站点进行现场安装, 连接好相关 线路, 并进行安装部分的验收。 在安装过程中存在一些问题, 硬件安装人 员在现场, 网管中心人员在网管管理中心, 不在一起, 在安装过程中, 可 能安装出现一些跟规划数据不对的情况。  During the installation process, the hardware installer goes to each site for on-site installation, connects the relevant lines, and performs the acceptance of the installation part. There are some problems in the installation process. The hardware installer is on site, and the network management center personnel are in the network management center. They are not together. During the installation process, some installation data may be incorrect.
网管中心人员必须在设备安装好后, 通过一定的方法发现并检查设备 的拓朴连接, 设备硬件信息, 线路连接信息, 是否跟已规划的设备信息一 致, 确保一致后, 才完成说明硬件安装人员工作完成, 现场完成验收工作。  After the equipment is installed, the network management center personnel must discover and check the topology connection, equipment hardware information, and line connection information of the equipment in a certain way. It is consistent with the planned equipment information. After ensuring the consistency, the hardware installation personnel are completed. The work is completed and the acceptance work is completed on site.
由此可见现有技术中存在, 即插即用网元设备上线时检查网元信息正 确性较复杂的问题。 发明内容 Therefore, it can be seen that there is a problem in the prior art that the correctness of the network element information is complicated when the plug-and-play network element device is online. Summary of the invention
本发明实施例的目的是针对现有技术中存在的, 即插即用网元设备上 线时检查网元信息正确性较复杂的问题, 提供一种即插即用网元设备上线 方法。  The purpose of the embodiment of the present invention is to provide a plug-and-play network element device online method for the problem that the correctness of the network element information is complicated when the plug-and-play network element device is online.
为了解决上述问题, 本发明实施例的技术方案是这样实现的: 一种即插即用网元设备上线方法, 包括:  In order to solve the above problem, the technical solution of the embodiment of the present invention is implemented as follows: A method for online plug-and-play network element device, comprising:
通过 DHCP请求报文即插即用网元设备向网管发送, 其获取的上线所 需认证信息;  The DHCP request packet is sent to the network management device by the plug-and-play network element device, and the acquired authentication information is obtained.
通过 DHCP响应报文即插即用网元设备接收网管发送的 ip地址, 该 ip 地址为网管根据接收的上线所需认证信息中包含的设备标识信息, 将接收 的上线所需认证信息与其预存的上线所需认证信息进行比较, 若比较一致 则为插即用网元设备上线分配的 ip地址;  The plug-and-play network element device receives the ip address sent by the network management device through the DHCP response packet, and the ip address is the device identification information included in the authentication information required by the network management system according to the received online authentication, and the received authentication information of the online connection is pre-stored. The authentication information required for the online connection is compared. If the comparison is consistent, the ip address assigned to the plug-and-play network element device is online;
即插即用网元设备根据接收的 ip地址上线。  The plug-and-play network element device goes online according to the received ip address.
其中, 所述获取的上线所需认证信息包括设备硬件信息和线路连接信 息, 设备硬件信息包括设备标识信息和设备的板卡信息。  The obtained authentication information of the online connection includes device hardware information and line connection information, and the device hardware information includes device identification information and board information of the device.
其中, 所述通过 DHCP请求报文即插即用网元设备向网管发送, 其获 取的上线所需认证信息为:  The plug-and-play network element device sends the DHCP request message to the network management device, and the authentication information required for the online access is:
即插即用网元设备在 DHCP请求报文选项中携带上线所需认证信息。 其中, 在 DHCP请求报文第一选项中携带设备的板卡信息, 在 DHCP 请求报文第二选项中携带线路连接信息。  The plug-and-play NE device carries the authentication information required for online presence in the DHCP Request message option. The first option of the DHCP request packet carries the board information of the device, and the second option of the DHCP request packet carries the line connection information.
其中, 通过 DHCP请求报文即插即用网元设备向网管发送, 其获取的 上线所需认证信息为:  The DHCP request packet is sent to the network management device by the plug-and-play network element device. The authentication information required for the online access is:
即插即用网元设备周期性的发送 DHCP请求报文, 发送时遍历设备的 接口链, 遍历到一个接口后, 判断该接口是否为已连接到外部设备的端口, 若是, 则发送 DHCP请求报文。 其中, 即插即用网元设备根据接收的 ip地址上线为: The plug-and-play NE device periodically sends a DHCP request packet. When it is sent, it traverses the interface chain of the device. After traversing to an interface, it determines whether the interface is a port connected to the external device. If yes, it sends a DHCP request message. Text. The plug-and-play network element device is based on the received ip address:
即插即用网元设备获取 ip地址后, 由网管下载配置文件, 完成设备上 线。  After the ip address is obtained, the device is downloaded from the NMS and the device is online.
一种即插即用网元设备, 包括:  A plug and play network element device, including:
发送模块, 配置为通过 DHCP请求报文向网管发送, 其获取的上线所 需认证信息;  The sending module is configured to send the DHCP request packet to the network management system, and the obtained authentication information required for the online line is obtained;
接收模块, 配置为通过 DHCP响应报文接收网管发送的 ip地址, 该 ip 地址为网管根据接收的上线所需认证信息中包含的设备标识信息, 将接收 的上线所需认证信息与其预存的上线所需认证信息进行比较, 若比较一致 则为插即用网元设备上线分配的 ip地址;  The receiving module is configured to receive, by using a DHCP response packet, an IP address sent by the network management, where the IP address is the device identification information included in the authentication information required by the network management, and the required authentication information of the online connection and the pre-stored online office The authentication information needs to be compared, and if they are consistent, the IP address allocated for the plug-and-play network element device is online;
上线模块, 配置为根据接收的 ip地址上线。  The online module is configured to go online according to the received ip address.
一种即插即用网元设备上线***, 其中, 包括:  A plug-and-play network element device online system, wherein:
即插即用网元设备, 配置为通过 DHCP请求报文向网管发送, 其获取 的上线所需认证信息, 通过 DHCP响应报文接收网管发送的 ip地址, 根据 接收的 ip地址上线;  The plug-and-play NE device is configured to send the DHCP request packet to the NMS, and the obtained authentication information of the online line receives the IP address sent by the NMS through the DHCP response packet, and is sent online according to the received IP address.
网管, 配置为根据接收的上线所需认证信息中包含的设备标识信息, 将接收的上线所需认证信息与其预存的上线所需认证信息进行比较, 若比 较一致则为插即用网元设备上线分配 ip地址。  The network management system is configured to compare the received authentication information of the online connection with the authentication information required for the online connection according to the device identification information included in the authentication information required for the online connection, and if the comparison is consistent, the network device for the plug-and-play network is online. Assign an ip address.
其中, 网管, 还配置为若比较不一致则发送告警信息。  The network management system is configured to send an alarm message if the comparison is inconsistent.
其中, 还包括:  Among them, it also includes:
DHCP服务器, 配置为接收即插即用网元设备发送的 DHCP请求报文, 向网管发送即插即用网元设备获取的上线所需认证信息, 接收网管发送的 DHCP 响应报文, 向即插即用网元设备发送网管为插即用网元设备上线分 配的 ip地址。  The DHCP server is configured to receive the DHCP request packet sent by the plug-and-play NE device, send the authentication information required for the online device acquired by the plug-and-play NE device to the NMS, and receive the DHCP response packet sent by the NMS. That is, the network element device sends the IP address assigned by the network management device to the online device of the plug-and-play network element device.
由于网管对即插即用网元设备发送的上线所需认证信息验证通过后分 配 ip地址, 即插即用网元设备根据接收的 ip地址上线, 从而在网管中心远 程完成对即插即用网元的安装验收, 降低了即插即用网元设备上线时检查 网元信息的复杂度。 附图说明 After the network management determines the authentication information required for the online connection sent by the plug-and-play NE device, With the ip address, the plug-and-play network element device goes online according to the received ip address, thereby completing the installation and acceptance of the plug-and-play network element remotely in the network management center, and reducing the information of the network element when the plug-and-play network element device goes online. The complexity. DRAWINGS
图 1表示本发明实施例提供的方法流程图;  FIG. 1 is a flowchart of a method according to an embodiment of the present invention;
图 2表示本发明实施例提供的***结构图;  2 is a structural diagram of a system according to an embodiment of the present invention;
图 3表示本发明实施例提供的即插即用网元设备拓朴图;  3 is a top view of a plug-and-play network element device according to an embodiment of the present invention;
图 4 表示本发明实施例提供的即插即用网元发送动态主机设置协议 ( Dynamic Host Configuration Protocol, DHCP )清求报文的流程图;  4 is a flowchart of a dynamic host configuration protocol (DHCP) request message sent by a plug-and-play network element according to an embodiment of the present invention;
图 5表示本发明实施例提供的 DHCP服务器结构图;  FIG. 5 is a structural diagram of a DHCP server according to an embodiment of the present invention;
图 6表示本发明实施例提供的网管结构图;  FIG. 6 is a structural diagram of a network management system according to an embodiment of the present invention;
图 7表示本发明实施例提供的网管认证流程图。 具体实施方式  FIG. 7 is a flowchart of a network management authentication according to an embodiment of the present invention. detailed description
为使本发明的实施例要解决的技术问题、 技术方案和优点更加清楚, 下面将结合附图及具体实施例进行详细描述。  The technical problems, the technical solutions, and the advantages of the embodiments of the present invention will become more apparent from the following detailed description.
本发明实施例提供一种即插即用网元设备上线方法, 如图 1包括: 步骤 101 : 通过 DHCP请求报文即插即用网元设备向网管发送, 其获 取的上线所需认证信息。  The embodiment of the present invention provides a method for the online operation of the plug-and-play network element device. As shown in FIG. 1 , the method includes: Step 101: The DHCP request packet is sent to the network management device by the plug-and-play network element device, and the acquired authentication information is obtained.
步骤 102: 网管根据接收的上线所需认证信息中包含的设备标识信息, 将接收的上线所需认证信息与其预存的上线所需认证信息进行比较, 若比 较一致则为插即用网元设备上线分配 ip地址。  Step 102: The network management compares the received authentication information of the online connection with the pre-stored authentication information required by the device according to the device identification information included in the authentication information required for the online connection. If the network management device is online, the network device is online. Assign an ip address.
步骤 103 : 通过 DHCP响应报文即插即用网元设备接收网管发送的 ip 地址。  Step 103: Receive the ip address sent by the network management device through the DHCP response packet plug and play network element device.
步骤 104: 即插即用网元设备根据接收的 ip地址上线。 具体地, 上述步骤 101 中, 获取的上线所需认证信息包括设备硬件信 息如设备的型号, 媒体访问控制 (MAC )地址, 插在机架槽位上的各主控 板和线卡信息, 以及线路连接信息, 设备硬件信息包括设备标识信息实际 应用中多采用设备序列号, 设备硬件信息还包括设备的板卡信息。 这些即 插即用网元设备上线所需认证信息是在 DHCP请求报文选项中携带的。 在 DHCP请求报文选项 Option224中携带设备的板卡信息,在 DHCP请求报文 选项 Option225中携带线路连接信息。 Step 104: The plug and play network element device goes online according to the received IP address. Specifically, in the foregoing step 101, the obtained authentication information required for the online connection includes the device hardware information, such as the model of the device, the media access control (MAC) address, the main control board and the line card information inserted in the slot of the rack, and Line connection information, device hardware information including device identification information In actual applications, the device serial number is used, and the device hardware information also includes the device board information. The authentication information required for these plug-and-play NE devices to go online is carried in the DHCP Request message option. The device information of the device is carried in the DHCP request packet option Option 224, and the line connection information is carried in the DHCP request message option Option 225.
步骤 101和步骤 103 中, 即插即用网元设备和网管, 都是通过 DHCP 服务器和对方进行信息交互, 即插即用网元设备通过 DHCP服务器向网管 发送, 其获取的上线所需认证信息, 网管通过 DHCP服务器向即插即用网 元设备发送为插即用网元设备上线所分配的 ip地址, 如 196.128.0.11。  In step 101 and step 103, the plug-and-play network element device and the network management device exchange information with each other through the DHCP server, and the plug-and-play network element device sends the authentication information to the network management system through the DHCP server. The NMS sends the IP address assigned to the plug-and-play NE device to the plug-and-play NE device through the DHCP server, such as 196.128.0.11.
步骤 103 中, 由于上线所需的配置文件被预先存储在网管中, 即插即 用网元设备获取 ip地址后 196.128.0.11,无需软件人员下现场配置初始化脚 本, 即插即用网元设备直接由网管下载配置文件完成设备上线。  In step 103, since the configuration file required for the online connection is pre-stored in the network management, the plug-and-play network element device obtains the ip address after 196.128.0.11, and the software personnel are not required to configure the initialization script on the site, and the plug-and-play network element device directly The configuration file is downloaded from the NMS and the device is online.
这样针对现有可能出现的相关安装问题对应的解决方法如下: 设备有误, 即安装现场的设备跟规划的设备不一致。 通过检查校验的 设备的系列号可解决。  The solution to the existing installation problems that may occur is as follows: The equipment is incorrect, that is, the equipment at the installation site is inconsistent with the planned equipment. This can be solved by checking the serial number of the verified device.
设备板卡没有安装好, 如设备存在主备两个主控, 主板正常启动, 但 备板由于没有插好没有启动; 或者线卡插错槽位号了。 通过校验设备的各 个槽位的板卡类型可解决。  The device board is not installed. If the device has two main controllers, the main board starts normally, but the standby board does not start because it is not plugged in; or the line card is inserted into the wrong slot number. This can be solved by verifying the type of board in each slot of the device.
设备线路连接错误。 如硬件安装人员网线插错端口了。 通过校验设备 的连接的端口信息可解决。  The device line is connected incorrectly. If the hardware installer's network cable is plugged into the wrong port. This can be solved by verifying the port information of the connected device.
开通流程主要分为两个步骤: 1 )设备通过 DHCP方式获取 ip地址。 2 ) 获取地址后, 由网管下载配置文件获取基础配置数据 , 打通管理通道完成 设备上线。 设备在开通过程中, 设备硬件安装是否正确需要在分配地址前 校验, 通过将设置的设备硬件信息, 线路连接信息携带在 DHCP请求报文 中的选项中, 网管中心根据这些信息进行设备的认证, 确定是否分配 ip地 址。 The opening process is mainly divided into two steps: 1) The device obtains an ip address through DHCP. 2) After obtaining the address, the NMS downloads the configuration file to obtain the basic configuration data, and clears the management channel to complete the device online. During the installation process, whether the hardware installation of the device is correct needs to be before the address is assigned. Checking, by setting the device hardware information and line connection information in the DHCP request message, the network management center performs device authentication based on the information to determine whether to allocate an IP address.
本实施例即插即用网元设备上线***包括即插即用网元设备, DHCP 服务器(Server )和网管三部分。 即插即用网元设备即待安装的网元, 在即 插即用网元设备上电起后, 发送 DHCP请求报文, 申请 ip地址, 在 DHCP 请求报文的选项中携带上线所需认证信息, 包括设备硬件信息, 以及线路 连接信息, 设备硬件信息可携带在 DHCP保留的选项中, 利用选项 224-选 项 254中的选项, 为 DHCP server能够识别解析出选项内容, 即插即用网元 设备选项填充的格式和 DHCP server解析格式要保持一致。 DHCP Server接 收到 DHCP请求报文后, 解析出携带网元信息的选项, 将选项中上线所需 认证信息通知给网管, 网管中预存有规划的各网元的上线所需认证信息, 预存的各网元的上线所需认证信息包括硬件信息和拓朴连接信息 , 网管对 接收的上线所需认证信息校验检查, 将接收的上线所需认证信息与其预存 的上线所需认证信息进行比较, 检查通过后, 通知 DHCP server分配 ip地 址给设备。 如果校验不一致, 不分配 ip地址给网元, 在网管上显示相应的 告警信息, 网管中心人员通过该方法获知硬件安装存在问题, 将告警信息 通知设备端硬件安装人员糾正问题。  In this embodiment, the plug-and-play network element device online system includes a plug-and-play network element device, a DHCP server (Server), and a network management system. The plug-and-play NE device is the NE to be installed. After the plug-and-play NE device is powered on, it sends a DHCP Request message, requests an IP address, and carries the authentication information required for the online request. , including device hardware information, and line connection information, device hardware information can be carried in the DHCP reserved option, using the option in option 224-option 254, the DHCP server can identify and parse the option content, plug and play network element device The format of the option padding and the DHCP server parsing format should be consistent. After receiving the DHCP request packet, the DHCP server parses the option of carrying the NE information, and notifies the network management of the authentication information required for the online connection in the option. The network management administrator pre-stores the authentication information required for the online access of each planned network element. The authentication information required for the uplink of the network element includes the hardware information and the topology connection information. The network management checks the authentication information required for the received online authentication, and compares the received authentication information required for the online connection with the pre-stored authentication information required for the online check. After passing, the DHCP server is notified to allocate an ip address to the device. If the verification is inconsistent, the IP address is not assigned to the NE. The corresponding alarm information is displayed on the U2000. The network management center knows the hardware installation problem and notifies the hardware installer of the device to correct the problem.
在即插即用网元设备中, 网元硬件安装完成后, 设备上电, 设备起来 后自动开启 DHCP ( Client )客户机功能, 周期性发送 DHCP请求报文, 即 插即用网元设备获取设备硬件信息, 及线路连接信息, 发送时遍历设备的 接口链, 遍历到一个接口后, 判断该接口是否为已连接到外部设备的端口, 若是, 则发送 DHCP请求报文。 在 DHCP请求报文选项中携带设备硬件信 息,及线路连接信息。即插即用网元设备接收到 DHCP响应报文,解析 DHCP 响应报文, 即插即用网元设备进行设置 ip地址到相应的接口上, 连接网管, 下载配置文件到即插即用网元设备上, 并使配置文件生效。 After the NE hardware is installed, the device is powered on. After the device is powered on, the DHCP client is enabled. The DHCP request packet is sent periodically. The plug-and-play NE device obtains the device. The hardware information and the line connection information are traversed to the interface chain of the device. After traversing to an interface, it is determined whether the interface is a port connected to the external device. If yes, a DHCP request message is sent. The device information of the device and the line connection information are carried in the DHCP request message option. The plug-and-play NE device receives the DHCP response packet and parses the DHCP response packet. The plug-and-play NE device sets the IP address to the corresponding interface and connects to the NMS. Download the configuration file to the Plug and Play NE device and make the configuration file take effect.
在即插即用网元设备中, 通过以下 3个 DHCP选项携带即插即用网元 设备上线所需认证信息。  In the plug-and-play NE device, the following three DHCP options are used to carry the authentication information required for the plug-and-play NE device to go online.
选项 (option ) 61 : 携带设备的系列号, 厂商名称, 发送报文的端口 信息。  Option (option) 61 : The serial number of the carrying device, the manufacturer name, and the port information for sending the message.
定义格式:  Define the format:
编码 长度 类型  Code length type
( Code ) ( Len ) ( Type ) Client-Identifier I 61 | n I 0 | 厂商名称-接口名称-系列号 | 类型 (Type ) :填为 0, 表示自定义格式。 后面内容为字符串形式, 各 个部分以 '-, 作为分隔符, 如填充成 zte-gei— 1/1-012345678901。 ( Code ) ( Len ) ( Type ) Client-Identifier I 61 | n I 0 | Vendor Name - Interface Name - Serial Number | Type (Type): Enter 0 to indicate a custom format. The following content is in the form of a string, with each part being separated by '-, such as zte-gei-1/1-012345678901.
Option224: 携带设备的板卡信息。  Option224: Card information of the device.
填充的内容格式:  Filled content format:
Code Len  Code Len
+—— +—— +  +—— +—— +
I 224| n I槽位号: 单板名称-槽位号: 单板名称 · · · | I 224| n I slot number: board name - slot number: board name · · · |
+—— +—— + +—— +—— +
各个部分以-, 作为分隔符, 每个部分的格式为槽位号加上冒号, 加上 单板名称。  Each part is separated by a -, and the format of each part is the slot number plus a colon, plus the board name.
Option225: 携带设备的接口连接信息, 标识哪些接口是已连接的接口。 Code Len 单板 ( board ) 1 board2 I 224| n I槽位号 I长度 I 接口编号 |槽位号 |长度 |接口信息 |· · 其中长度字段为接口编号字段的长度。  Option 225: Interface information of the carrying device, which identifies which interfaces are connected. Code Len board (board) 1 board2 I 224| n slot number I length I interface number | slot number | length | interface information |· · The length field is the length of the interface number field.
接口编号表示单板哪些接口是已连接网线的端口, 格式为端口号 1 : 端 口号 2: 端口号 3· · ·。 The interface number indicates the port of the board that is connected to the network cable. The format is port number 1: Slog 2: Port number 3 · · ·.
如插在 2号槽位的单板, 第 2, 3, 5, 7个端口是 up的端口即已连接 到外部设备的端口, 则接口编号填成 2:3:5:7。  If the board is inserted in the slot 2, the 2nd, 3rd, 5th, and 7th ports are the ports that are connected to the external device, the interface number is 2:3:5:7.
在 DHCP Server装置中, 接收即插即用网元设备发送的 DHCP请求报 文, 解析报文内容, DHCP 通讯单元将设备硬件信息和线路连接信息发送 给网管, 进行上线所需认证信息检查校验, 当收到网管回应设备信息认证 通过时, 发送 DHCP响应报文给即插即用网元, 分配 ip地址给即插即用设 备, 当收到对上线所需认证信息认证不通过的消息时, 不回应响应报文。  The DHCP server device receives the DHCP request packet sent by the plug-and-play network element device, and parses the content of the packet. The DHCP communication unit sends the device hardware information and the line connection information to the network management system to check and verify the authentication information required for the online authentication. When receiving the response from the network management device, the device sends a DHCP response message to the plug-and-play network element, and allocates an ip address to the plug-and-play device. When receiving the message that the authentication information required for the online authentication fails, , does not respond to response messages.
在网管装置中,网管通讯单元接收 DHCP server发送的上线所需认证信 息, 将对接收的上线所需认证信息和存储的上线所需认证信息进行比较, 判断设备是否安装正确, 将认证的结果返回通知给 DHCP server, 认证不通 过时将错误信息发送给告警单元, 告警单元在网管界面上显示相应告警, 提示网管人员前方设备安装错误, 网管人员通知硬件安装人员纠正错误。  In the network management device, the network management unit receives the authentication information required for the online server to be sent by the DHCP server, compares the authentication information required for the online connection and the stored authentication information required for the online connection, determines whether the device is correctly installed, and returns the result of the authentication. The notification is sent to the DHCP server. When the authentication fails, the error message is sent to the alarm unit. The alarm unit displays the corresponding alarm on the network management interface, prompting the network management personnel to install the device incorrectly. The network administrator informs the hardware installer to correct the error.
图 2为即插即用网元设备上线***基本结构, 包括:  Figure 2 shows the basic structure of the plug-and-play NE device online system, including:
即插即用网元设备 201, 配置为通过 DHCP请求报文向网管发送, 其 获取的上线所需认证信息, 通过 DHCP响应报文接收网管发送的 ip地址, 根据接收的 ip地址上线。  The plug-and-play network element device 201 is configured to send the DHCP request message to the network management system, and obtain the authentication information required for the online connection, and receive the ip address sent by the network management device through the DHCP response message, and go online according to the received ip address.
DHCP服务器 202,配置为接收即插即用网元设备发送的 DHCP请求报 文, 向网管发送即插即用网元设备获取的上线所需认证信息, 接收网管发 送的 DHCP响应报文, 向即插即用网元设备发送网管为插即用网元设备上 线分配的 ip地址。  The DHCP server 202 is configured to receive the DHCP request message sent by the plug-and-play network element device, and send the authentication information required for the uplink and the network element obtained by the plug-and-play network element device to the network management device, and receive the DHCP response message sent by the network management device. The plug-and-play NE device sends the IP address assigned by the network management device to the plug-and-play NE device.
网管 203, 配置为根据接收的上线所需认证信息中包含的设备标识信 息, 将接收的上线所需认证信息与其预存的上线所需认证信息进行比较, 若比较一致则为插即用网元设备上线分配 ip地址。  The network management unit 203 is configured to compare the received authentication information of the online connection with the pre-stored authentication information required by the device according to the device identification information that is included in the authentication information required for the online connection, and if the comparison is consistent, the device is a plug-and-play network element device. Assign an ip address on the line.
即插即用网元设备 201,一般是承载网组网中的接入层设备, 即插即用 过程中作为 DHCP Client通过 DHCP协议获取 IP地址及其他配置信息。 网管中心, 管理即插即用网元设备, 在即插即用过程中, 响应即插即 用网元设备的请求, 分配 ip地址和下载配置文件给即插即用网元设备。 网 管中心包括 DHCP server 202和网管 203, 两者在物理上可以安装在同一台 服务器上, 也可以不在同一台服务器上, 两者能相互通讯即可。 The plug-and-play network element device 201 is generally an access layer device in a bearer network, and is plug and play. In the process, the DHCP client obtains the IP address and other configuration information through the DHCP protocol. The network management center manages the plug-and-play network element device. In the plug-and-play process, in response to the request of the plug-and-play network element device, the IP address is allocated and the configuration file is downloaded to the plug-and-play network element device. The network management center includes a DHCP server 202 and a network management system 203. The two can be physically installed on the same server or not on the same server, and the two can communicate with each other.
DHCP server 202, 接收 DHCP请求报文, 将设备信息发送给网管进行 认证, 认证通过后回应 DHCP响应报文给网元。  The DHCP server 202 receives the DHCP request packet, and sends the device information to the network management system for authentication. After the authentication is passed, the DHCP response packet is sent to the network element.
网管 203, 存储有网元的硬件信息和线路连接信息, 在分配 ip地址给 网元过程中, 对根据网元信息对设备进行认证。  The network management unit 203 stores the hardware information and the line connection information of the network element, and authenticates the device according to the network element information during the process of assigning the IP address to the network element.
如图 3所示, 即插即用网元设备 201的各个模块的具体功能如下: 设备信息获取模块 2011, 获取设备的硬件信息和线路连接信息, 设备 硬件信息包括设备的型号, MAC地址, 插在机架槽位上的各主控板和线卡 信息; 线路连接信息为哪些接口 UP。  As shown in FIG. 3, the specific functions of the modules of the plug-and-play network element device 201 are as follows: The device information obtaining module 2011 acquires hardware information and line connection information of the device, and the device hardware information includes the model number, MAC address, and insertion of the device. Main control board and line card information on the rack slot; Which interface is UP for the line connection information.
发送模块 2012, 配置为通过 DHCP请求报文向网管发送, 其获取的上 线所需认证信息。 具体而言, 向网元接口已 UP的接口发送 DHCP请求报 文, 报文中的选项中携带其获取的上线所需认证信息, 在网元接收到响应 报文前, 周期性发送请求报文。  The sending module 2012 is configured to send the DHCP request packet to the network management system, and obtain the authentication information required for the online connection. Specifically, the device sends a DHCP Request message to the interface that has been upgraded. The information in the packet carries the authentication information required for the online connection. The network element periodically sends the request packet before receiving the response packet. .
接收模块 2013, 配置为通过 DHCP响应报文接收网管发送的 ip地址, 该 ip地址为网管根据接收的上线所需认证信息中包含的设备标识信息, 将 接收的上线所需认证信息与其预存的上线所需认证信息进行比较, 若比较 一致则为插即用网元设备上线分配的 ip地址,该模块接收 DHCP响应报文。  The receiving module 2013 is configured to receive, by using a DHCP response packet, an IP address sent by the network management system, where the IP address is the device identification information included in the authentication information required by the network management, and the online authentication information received and the pre-stored authentication information. The required authentication information is compared. If the comparison is the same, the IP address assigned to the plug-and-play NE device is online. The module receives the DHCP response packet.
上线模块 2014,配置为根据接收的 ip地址上线。具体而言接收到 DHCP 响应报文后, 设置 ip地址等信息到设备上, 连接网管, 下载配置文件, 打 通到网管的管理通道。  The online module 2014 is configured to go online according to the received ip address. Specifically, after receiving the DHCP response packet, set the ip address and other information to the device, connect to the NMS, download the configuration file, and open the management channel to the NMS.
如图 4所示, 展示了即插即用网元发送 DHCP请求报文的流程。 步骤 301, 开始流程, 即插即用网元发送 DHCP请求报文是周期性发 送的, 当周期时间到时触发发送 DHCP报文。 As shown in Figure 4, the process of sending a DHCP request message by a plug-and-play network element is shown. Step 301: Start the process, and the DHCP request message sent by the plug-and-play network element is sent periodically, and when the cycle time expires, the DHCP message is triggered to be sent.
步骤 302, 发送 DHCP请求报文是向所有已 UP的端口发送, 首先遍历 设备的接口链, 一个一个接口的发送。  Step 302: Sending a DHCP request message is sent to all UP ports, first traversing the interface chain of the device, and sending one interface.
步骤 303, 如果没有接口, 或者已遍历完了所有的接口, 则结束此次发 送流程。  Step 303: If there is no interface, or all interfaces have been traversed, the sending process ends.
步骤 304, 遍历到一个接口, 判断接口是否是已 UP的端口, UP的接 口需要发送请求报文。  Step 304: Traversing to an interface, determining whether the interface is an UP port, and the UP interface needs to send a request message.
步骤 305, 获取设备的硬件信息, 包括设备的系列号, 所有槽位的单板 信息, 已连接的端口信息。  Step 305: Obtain the hardware information of the device, including the serial number of the device, the board information of all slots, and the connected port information.
步骤 306, 将设备系列号和本次遍历到的接口信息填充到 option61, 设 备的单板信息填充到 option224, 已连接的端口信息填充到 option225。  In step 306, the device serial number and the interface information traversed by the device are filled in the option 61, and the board information of the device is filled in the option 224, and the connected port information is filled in the option 225.
步骤 307, 发送请求报文, 接着遍历下一个接口。  Step 307, sending a request message, and then traversing the next interface.
步骤 308, 本次发送请求报文结束。  Step 308, the sending request message ends.
如图 5所示, 展示了 DHCP Server的装置图, 各个模块的具体功能如 下:  As shown in Figure 5, the device diagram of the DHCP Server is shown. The specific functions of each module are as follows:
接收单元 2021, 接收 DHCP的请求报文, 发送给解析单元解析。 解析单元 2022, 解析 DHCP报文。  The receiving unit 2021 receives the DHCP request message and sends it to the parsing unit for parsing. The parsing unit 2022 parses the DHCP message.
DHCP通讯单元 2023,将解析单元解析出来的网元信息发送给网管进行 认证。  The DHCP communication unit 2023 sends the network element information parsed by the parsing unit to the network management system for authentication.
发送单元 2024, 发送响应报文给网元, 分配 ip地址给网元。  The sending unit 2024 sends a response packet to the network element, and allocates an ip address to the network element.
存储单元 2025, 存储有分配给网元的 ip地址等信息。  The storage unit 2025 stores information such as an ip address assigned to the network element.
如图 6所示, 展示了网管的装置图, 各个模块的具体功能如下: 网管通讯单元 2031, 接收 DHCP server的上线所需认证信息, 提交给 认证单元, 将认证结果发送给 DHCP server。 认证单元 2032, 根据接收到上线所需认证信息, 和存储单元中的上线 所需认证信息进行比较, 进行校验检查, 一致说明设备安装正确, 有差异 发送相应的告警给告警模块。 As shown in Figure 6, the device diagram of the network management is shown. The specific functions of each module are as follows: The network management unit 2031 receives the authentication information required for the online connection of the DHCP server, submits it to the authentication unit, and sends the authentication result to the DHCP server. The authentication unit 2032 compares the authentication information required for the online connection with the authentication information required for the online connection in the storage unit, and performs a verification check, which indicates that the device is correctly installed, and the corresponding alarm is sent to the alarm module.
告警单元 2033, 将认证模块发送过来的消息, 在网管界面上显示, 这 里的告警不只是显示安装正确或失败, 而是要显示具体错误信息, 如线卡 类型错误, 要显示线卡现在是什么类型, 按规划应该是什么类型, 以便网 管人员通知硬件安装人员具体糾正哪个安装错误。  The alarm unit 2033 displays the message sent by the authentication module on the network management interface. The alarm here is not only to display the correct or failed installation, but to display specific error information, such as a line card type error, to display what the line card is now. Type, what type should be planned, so that the network administrator can inform the hardware installer to specifically correct which installation error.
存储单元 2034, 存储有各个设备的上线所需认证信息, 如设备硬件信 息和线路连接信息。  The storage unit 2034 stores authentication information required for the uplink of each device, such as device hardware information and line connection information.
网元管理单元 2035, 即插即用网元获取 ip地址后, 和即插即用网元交 互, 完成下载配置文件给即插即用网元的流程。  The network element management unit 2035, after the plug-and-play network element obtains the ip address, interacts with the plug-and-play network element, and completes the process of downloading the configuration file to the plug-and-play network element.
如图 7所示, 网管认证单元的认证流程。  As shown in Figure 7, the authentication process of the network management unit.
步骤 601, 接收到 DHCP server传递过来的上线所需认证信息。  Step 601: Receive the required authentication information that is sent by the DHCP server.
步骤 602,检查插即用网元设备的系列号是否正确, 不能找到则校验失 败, 提示系列号错误信息。  Step 602: Check whether the serial number of the plug-and-play network element device is correct. If the serial number is not found, the verification fails, and the serial number error message is prompted.
步骤 603,检查插即用网元设备连接上行网元的端口是否正确, 不正确 提示连接端口错误, 结束认证流程。  Step 603: Check whether the port connected to the uplink NE by the plug-and-play NE device is correct, incorrectly prompting the connection port to be incorrect, and ending the authentication process.
步骤 604,检查插即用网元设备的每个槽位的单板信息是否正确, 不正 确提示单板信息错误告警。  Step 604: Check whether the board information of each slot of the plug-and-play NE device is correct, and the board information error alarm is incorrectly displayed.
步骤 605,检查设备的连接端口, 跟规划表不匹配提示端口连接错误告 警。  Step 605: Check the connection port of the device, and the mismatch with the planning table prompts the port connection error alarm.
步骤 606, 校验成功, 回应 DHCP server校验通过结果。  Step 606, the verification succeeds, and the DHCP server verifies the result of the verification.
步骤 607, 校验失败, 根据告警信息, 通知前方安装人员。  Step 607, the verification fails, and the front installer is notified according to the alarm information.
需要说明的是, 上述的 DHCP通讯单元可以是 DHCP收发器; 网管通 讯单元可以是网管收发器; 告警单元可以是报警器; 接收单元可以是接收 机; 解析单元可以是用于进行解析处理的芯片, 如 CPU等; 发送单元可以 是发射器; 存储单元可以是数据库; 认证单元可以是用于进行认证处理的 芯片, 如 CPU等。 It should be noted that the foregoing DHCP communication unit may be a DHCP transceiver; the network management communication unit may be a network management transceiver; the alarm unit may be an alarm; and the receiving unit may be a receiving unit. The parsing unit may be a chip for performing parsing processing, such as a CPU or the like; the transmitting unit may be a transmitter; the storage unit may be a database; and the authentication unit may be a chip for performing authentication processing, such as a CPU or the like.
以上所述, 仅为本发明的较佳实施例而已, 并非用于限定本发明的保 护范围。  The above is only the preferred embodiment of the present invention and is not intended to limit the scope of the present invention.

Claims

权利要求书 Claim
1. 一种即插即用网元设备上线方法, 包括:  1. A method for online plug-and-play network element equipment, including:
通过 DHCP请求报文即插即用网元设备向网管发送, 其获取的上线所 需认证信息;  The DHCP request packet is sent to the network management device by the plug-and-play network element device, and the acquired authentication information is obtained.
通过 DHCP响应报文即插即用网元设备接收网管发送的 ip地址, 该 ip 地址为网管根据接收的上线所需认证信息中包含的设备标识信息, 将接收 的上线所需认证信息与其预存的上线所需认证信息进行比较, 若比较一致 则为插即用网元设备上线分配的 ip地址;  The plug-and-play network element device receives the ip address sent by the network management device through the DHCP response packet, and the ip address is the device identification information included in the authentication information required by the network management system according to the received online authentication, and the received authentication information of the online connection is pre-stored. The authentication information required for the online connection is compared. If the comparison is consistent, the ip address assigned to the plug-and-play network element device is online;
即插即用网元设备根据接收的 ip地址上线。  The plug-and-play network element device goes online according to the received ip address.
2. 根据权利要求 1所述的方法, 其中, 所述获取的上线所需认证信息 包括设备硬件信息和线路连接信息, 设备硬件信息包括设备标识信息和设 备的板卡信息。  The method according to claim 1, wherein the acquired online authentication information includes device hardware information and line connection information, and the device hardware information includes device identification information and board information of the device.
3. 根据权利要求 2所述的方法, 其中, 所述通过 DHCP请求报文即插 即用网元设备向网管发送, 其获取的上线所需认证信息为:  The method according to claim 2, wherein the DHCP request message is sent to the network management device by the plug-and-play network element device, and the required authentication information obtained by the uplink is:
即插即用网元设备在 DHCP请求报文选项中携带上线所需认证信息。  The plug-and-play NE device carries the authentication information required for online presence in the DHCP Request message option.
4. 根据权利要求 3所述的方法, 其中, 在 DHCP请求报文第一选项中 携带设备的板卡信息, 在 DHCP请求报文第二选项中携带线路连接信息。  The method according to claim 3, wherein the first option of the DHCP request message carries the board information of the device, and the second option of the DHCP request message carries the line connection information.
5. 根据权利要求 1所述的方法, 其中, 通过 DHCP请求报文即插即用 网元设备向网管发送, 其获取的上线所需认证信息为:  The method according to claim 1, wherein the DHCP request message is sent to the network management device by the plug-and-play network element device, and the required authentication information acquired by the online device is:
即插即用网元设备周期性的发送 DHCP请求报文, 发送时遍历设备的 接口链, 遍历到一个接口后, 判断该接口是否为已连接到外部设备的端口, 若是, 则发送 DHCP请求报文。  The plug-and-play NE device periodically sends a DHCP request packet. When it is sent, it traverses the interface chain of the device. After traversing to an interface, it determines whether the interface is a port connected to the external device. If yes, it sends a DHCP request message. Text.
6. 根据权利要求 1所述的方法, 其中, 即插即用网元设备根据接收的 ip地址上线为:  6. The method according to claim 1, wherein the plug and play network element device is online according to the received ip address:
即插即用网元设备获取 ip地址后, 由网管下载配置文件, 完成设备上 线。 After the plug-and-play NE device obtains the IP address, the NMS downloads the configuration file and completes the device. Line.
7. 一种即插即用网元设备, 包括:  7. A plug-and-play network element device, including:
发送模块, 配置为通过 DHCP请求报文向网管发送, 其获取的上线所 需认证信息;  The sending module is configured to send the DHCP request packet to the network management system, and the obtained authentication information required for the online line is obtained;
接收模块, 配置为通过 DHCP响应报文接收网管发送的 ip地址, 该 ip 地址为网管根据接收的上线所需认证信息中包含的设备标识信息, 将接收 的上线所需认证信息与其预存的上线所需认证信息进行比较, 若比较一致 则为插即用网元设备上线分配的 ip地址;  The receiving module is configured to receive, by using a DHCP response packet, an IP address sent by the network management, where the IP address is the device identification information included in the authentication information required by the network management, and the required authentication information of the online connection and the pre-stored online office The authentication information needs to be compared, and if they are consistent, the IP address allocated for the plug-and-play network element device is online;
上线模块, 配置为根据接收的 ip地址上线。  The online module is configured to go online according to the received ip address.
8. 一种即插即用网元设备上线***, 其中, 包括:  8. A plug-and-play network element device online system, wherein:
即插即用网元设备, 配置为通过 DHCP请求报文向网管发送, 其获取 的上线所需认证信息, 通过 DHCP响应报文接收网管发送的 ip地址, 根据 接收的 ip地址上线;  The plug-and-play NE device is configured to send the DHCP request packet to the NMS, and the obtained authentication information of the online line receives the IP address sent by the NMS through the DHCP response packet, and is sent online according to the received IP address.
网管, 配置为根据接收的上线所需认证信息中包含的设备标识信息, 将接收的上线所需认证信息与其预存的上线所需认证信息进行比较, 若比 较一致则为插即用网元设备上线分配 ip地址。  The network management system is configured to compare the received authentication information of the online connection with the authentication information required for the online connection according to the device identification information included in the authentication information required for the online connection, and if the comparison is consistent, the network device for the plug-and-play network is online. Assign an ip address.
9. 根据权利要求 8所述的***, 其中, 网管, 还配置为若比较不一致 则发送告警信息。  9. The system according to claim 8, wherein the network management system is further configured to send alarm information if the comparisons are inconsistent.
10. 根据权利要求 8所述的***, 其中, 还包括:  10. The system according to claim 8, further comprising:
DHCP服务器, 配置为接收即插即用网元设备发送的 DHCP请求报文, 向网管发送即插即用网元设备获取的上线所需认证信息, 接收网管发送的 DHCP 响应报文, 向即插即用网元设备发送网管为插即用网元设备上线分 配的 ip地址。  The DHCP server is configured to receive the DHCP request packet sent by the plug-and-play NE device, send the authentication information required for the online device acquired by the plug-and-play NE device to the NMS, and receive the DHCP response packet sent by the NMS. That is, the network element device sends the IP address assigned by the network management device to the online device of the plug-and-play network element device.
PCT/CN2013/083950 2012-09-24 2013-09-22 Plug-and-play network element, system, and access method WO2014044218A2 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201210357820.7 2012-09-24
CN201210357820.7A CN102882962B (en) 2012-09-24 2012-09-24 A kind of plug and play network element device, system and loading method

Publications (2)

Publication Number Publication Date
WO2014044218A2 true WO2014044218A2 (en) 2014-03-27
WO2014044218A3 WO2014044218A3 (en) 2014-05-22

Family

ID=47484104

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2013/083950 WO2014044218A2 (en) 2012-09-24 2013-09-22 Plug-and-play network element, system, and access method

Country Status (2)

Country Link
CN (1) CN102882962B (en)
WO (1) WO2014044218A2 (en)

Families Citing this family (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102882962B (en) * 2012-09-24 2016-12-21 中兴通讯股份有限公司 A kind of plug and play network element device, system and loading method
CN104869007B (en) * 2014-02-26 2019-11-15 中兴通讯股份有限公司 A kind of method and relevant device for realizing that region is bred automatically
CN105337766A (en) * 2015-10-12 2016-02-17 安徽皖通邮电股份有限公司 Network element automatic discovery method and system based on DHCP
CN107277190B (en) * 2017-07-14 2019-09-20 中国联合网络通信集团有限公司 A kind of method of SDN equipment automatic wire charging, SDN equipment and controller
CN109302504B (en) * 2017-07-25 2020-08-04 ***通信有限公司研究院 Method for establishing control signaling channel in PTN, PTN network element and storage medium
CN114285908B (en) * 2021-12-09 2023-10-31 中国联合网络通信集团有限公司 Network element adaptation method, device, equipment and computer readable storage medium

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20100223655A1 (en) * 2007-11-20 2010-09-02 Huawei Technologies Co., Ltd. Method, System, and Apparatus for DHCP Authentication
CN101997931A (en) * 2009-08-28 2011-03-30 ***通信集团公司 Position information acquiring method and equipment
CN102882962A (en) * 2012-09-24 2013-01-16 中兴通讯股份有限公司 Plug-and-play network element equipment, system and method for implementing online of plug-and-play network element equipment

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN100531206C (en) * 2005-09-30 2009-08-19 华为技术有限公司 Method for carrying out service in wideband network

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20100223655A1 (en) * 2007-11-20 2010-09-02 Huawei Technologies Co., Ltd. Method, System, and Apparatus for DHCP Authentication
CN101997931A (en) * 2009-08-28 2011-03-30 ***通信集团公司 Position information acquiring method and equipment
CN102882962A (en) * 2012-09-24 2013-01-16 中兴通讯股份有限公司 Plug-and-play network element equipment, system and method for implementing online of plug-and-play network element equipment

Also Published As

Publication number Publication date
WO2014044218A3 (en) 2014-05-22
CN102882962B (en) 2016-12-21
CN102882962A (en) 2013-01-16

Similar Documents

Publication Publication Date Title
WO2014044218A2 (en) Plug-and-play network element, system, and access method
CN107018127A (en) The Internet of Things virtual gateway and node access authentication method of a kind of compatible various protocols
US8650311B2 (en) Client device configured to connect with a home network
CN107592209B (en) Method and system for automatically configuring IP address information by multi-network card server
US8856290B2 (en) Method and apparatus for exchanging configuration information in a wireless local area network
US8880656B2 (en) Customer edge device auto-configuration
WO2016082417A1 (en) Device configuration method, configuration apparatus and management device
TWI544825B (en) Communication system for establishing p2p connections and the corresponding devices using the same
CN104363213A (en) Register and login control method for network household appliance
EP3252997B1 (en) An iot-enabled device
WO2008095375A1 (en) System and method for configuring terminal device
US8665753B2 (en) Simultaneous setup of a wireless network adapter and a network host device
US20170347223A1 (en) Iot-enabled device and a method for manufacturing an iot device
CN102957678B (en) Certification IP telephone machine and consult the method for voice domain, system and equipment
US20210392045A1 (en) Device Configuration Method, System, and Apparatus
WO2016180089A1 (en) Method and apparatus for configuring switch, mobile terminal, and switch
CN106301894A (en) The control method of intelligent gateway, mobile terminal and system
WO2014036902A1 (en) Method and apparatus for gateway management terminal
CN106453400B (en) A kind of authentication method and system
CN102710760B (en) Embedded network terminal synchronous configuration method and equipment
CN102158567B (en) Equipment configuration method, strategic server and network address translation apparatus
CN102075567B (en) Authentication method, client, server, feedthrough server and authentication system
CN105323095A (en) Network fault detection method, system and access equipment
CN104092687A (en) BGP conversation establishing method and device
TW201511505A (en) Automatic test system for IPv6 CE standard

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

Country of ref document: EP

Kind code of ref document: A2

122 Ep: pct application non-entry in european phase

Ref document number: 13838549

Country of ref document: EP

Kind code of ref document: A2