Search Images Maps Play YouTube News Gmail Drive More »
Sign in
Screen reader users: click this link for accessible mode. Accessible mode has the same essential features but works better with your reader.

Patents

  1. Advanced Patent Search
Publication numberCN101262365 B
Publication typeGrant
Application numberCN 200810006829
Publication date1 Dec 2010
Filing date2 Feb 2008
Priority date2 Feb 2008
Also published asCN101262365A
Publication number200810006829.7, CN 101262365 B, CN 101262365B, CN 200810006829, CN-B-101262365, CN101262365 B, CN101262365B, CN200810006829, CN200810006829.7
Inventors王晓婷
Applicant中兴通讯股份有限公司
Export CitationBiBTeX, EndNote, RefMan
External Links: SIPO, Espacenet
A simulation system and method for transmitting automatic discovered information in network node
CN 101262365 B
Abstract
The invention discloses a simulation system of a transfer network node that can automatically find information and a method thereof. The method comprises the steps that: A. connecting information of a network node is configured, which at least comprises node ID, a connecting port and a connecting direction; network node information is configured, which at least comprises node ID, equipment typesand an IP address; the network node information is read for generating a simulation node and the ID of the simulation node is equal to equipment ID corresponding to a terminal of a node in the network connecting information; the simulation node establishes a communication connection with an administrator; B. all connecting information is read to a system memory; C. data in the memory is processedand corresponding network automatic discovery information messages are produced and stored according to formats needed; D. the network automatic discovery information messages corresponding to each simulation node are read and reported to the administrator. The simulation system solves the problem of testing environments that the administrator transmits the network automatic discovery function and can effectively finish the test of the network automatic discovery function transmitted by the administrator under the condition of separating from network equipments.
Claims(10)  translated from Chinese
  1. 一种传送网络节点自动发现信息模拟系统,其特征在于包括:网络连接信息处理子系统和网络节点模拟器;其中网络连接信息处理子系统负责对用户构造的网络连接信息进行处理,生成网络节点自动发现信息报文并保存;网络节点模拟器用于根据用户构造的网络节点信息生成模拟节点、与网管建立通讯连接和根据模拟节点的ID读取并向网管上报模拟节点对应的网络节点自动发现信息报文;所述网络连接信息至少包括相关网络节点的ID、连接端口和连接方向;所述网络节点信息至少包括相关网络节点的ID、设备类型和IP地址;所述模拟节点的ID等于用户构造的网络连接信息中对应的节点端点的设备ID。 An auto-discovery information transmission network simulation system, comprising: a network connection and network node information processing subsystem simulator; where the network connection information processing subsystem is responsible for the construction of network users to connect information processing, automatic generation of network nodes find information packets and saving; simulator for network node network node based on user configuration information to generate simulated node to establish a communication link and read the corresponding analog node network node network reported according to the simulation node ID and network auto-discovery information report paper; the network connection information includes at least the relevant network node ID, in connection port and connection direction; the network node information includes at least ID, device type and IP address associated network node; the simulation node ID equal to the user configuration network connection information corresponding node endpoint device ID.
  2. 2.根据权利要求1所述的传送网络节点自动发现信息模拟系统,其特征在于:所述网络连接信息处理子系统包括网络连接信息读取模块和连接信息处理模块,其中网络连接信息读取模块负责读取用户构造的网络连接信息,包括节点ID和节点端口的连接信息;连接信息处理模块负责处理节点的相关端口连接信息,汇总各个节点的连接数据, 并根据连接信息的节点ID,把以该节点作为收端的所有的连接分组,构造成为该节点的网络自动发现信息报文;所述网络节点模拟器包括网络节点信息读取模块、模拟节点生成模块、模拟节点报文读取、上报模块和通讯连接模块;其中网络节点信息读取模块负责读取用户构造的网络节点信息;模拟节点生成模块根据网络节点信息读取模块读出的网络节点信息生成所述各个模拟节点;模拟节点报文读取、上报模块负责根据模拟节点的ID读取各模拟节点对应的网络节点自动发现信息报文,并上报网管;通讯连接模块用于建立模拟节点与网管之间的通讯连接。 2. The automatic discovery information simulation system based on the transmission network node as claimed in claim 1, characterized in that: the network connection information processing subsystem includes network connection information reading module and connection information processing module, wherein the network connection information reading module responsible for reading the network user configuration connection information, including connection information node ID and node ports; connection port connection information related to information processing module is responsible for processing nodes, each node aggregated connection data and connection information based on the node ID, the order The node as all connections terminating packet, the node network configuration becomes automatic discovery information packets; the network node simulator includes a network node information reading module, the simulation node generation module, the simulation node message reads, reporting module and communication connection module; wherein the network node information reading module is responsible for reading the user's network node configuration information; simulated node generation module generates the various simulation node network node network node information read module reads the information; simulated node message Read, reporting module is responsible for reading according to the simulation node ID for each analog nodes automatically discover network nodes corresponding information packet, and the NMS; communication connection module for establishing communication links between the analog node and network management.
  3. 3.根据权利要求1或2所述的传送网络节点自动发现信息模拟系统,其特征在于该系统还包括:网络连接信息配置子系统和网络节点信息配置子系统;其中网络连接信息配置子系统用于配置所述网络连接信息,网络节点信息配置子系统用于配置所述网络节点信肩、ο 3. Automatic discovery information simulation system based on transmission network node 1 or 2 of the preceding claims, characterized in that the system further comprising: a network connection information and network configuration subsystem configuration subsystem node information; wherein the network connection information configuration Subsystem to configure the network connection information, network configuration subsystem node information is used to configure the network node letter shoulder, ο
  4. 4. 一种传送网络节点自动发现信息模拟方法,其特征在于包括:步骤一、根据需要配置网络连接信息,包括相关的节点ID以及节点端口的连接信息; 配置网络节点信息,至少包括连接的网络节点的ID、设备类型和IP地址,读取网络节点信息生成模拟节点,该模拟节点的ID等于所述网络连接信息中的对应节点端点的设备ID,各个模拟节点在接收到网管请求后与网管建立通讯连接;步骤二、读取步骤一全部连接信息数据到系统内存中;步骤三、处理内存中的数据,根据需要的格式生成对应的网络自动发现信息报文并保存;步骤四、判断读取网络自动发现信息报文的条件是否成就,条件成就则读取各个模拟节点对应的网络自动发现信息报文;否则等待条件成就时再执行读取操作;步骤五、判断上报网络自动发现信息报文的条件是否成就,条件成就时将网络自动发现信息报文上报网管;否则等待条件成就时再执行报文上报操作。 An automatic discovery information transmission network node simulation method, comprising: Step 1, configure the network connection information, including information relating to the connection node ID and node ports; configure network nodes, including least-Fi ID, device type and IP address of the node, read node network node information generated simulation of the simulation node ID equal to the network connection information of the corresponding node endpoint device ID, each analog network node after receiving the request and network management establish a communication connection; step two, step one all the connection information is read data to the system memory; step three, the data processing memory, generates the corresponding network according to the format required automatic discovery information packets and preservation; Step four, judgment read Take network auto discovery condition information message is success, achievement is read each simulated conditions corresponding network nodes automatically discover information packets; otherwise the read operation is performed when the wait condition achievement; Step five, automatic network discovery information reporting judge reported whether the conditions set achievement, when such conditions are accomplished automatically discover network information packets the NMS; otherwise, the packets before performing the operation while waiting for conditions to report achievement.
  5. 5.根据权利要求4所述的传送网络节点自动发现信息模拟方法,其特征在于:步骤一所述网络连接信息和网络节点信息均配置为二维表的形式。 5. The automatic discovery information transmitting network node simulation method according to claim 4, wherein: the step of connecting an information network and a network node information are configured in the form of a two-dimensional table.
  6. 6.据权利要求4所述的传送网络节点自动发现信息模拟方法,其特征在于步骤一所述配置网络连接信息和网络节点信息的方法为:直接从具有网络连接信息和网络节点信息的网管系统上导出该网络连接信息和网络节点信息。 Transmission network node according to claim 4 6. The automatic discovery information simulation method, wherein the method steps of the configuration of a network connection information and network node information for: connection network management system information and information directly from the network node with network The network connection information on export and the network node information.
  7. 7.根据权利要求4所述的传送网络节点自动发现信息模拟方法,其特征在于步骤一所述模拟节点与网管建立通讯连接的方法为:在网管上配置一个与所述模拟节点具有相同ID和IP的网元,该网元作为一个网关网元与相同ID和IP的模拟节点建立通讯连接。 7. Automatic discovery information transfer network node simulation method according to claim 4, wherein, wherein the step of a network node and the analog method of establishing communication link is: configure an analog nodes on the network have the same ID and IP NE, the NE as a GNE establish the same ID and IP analog node communication connection.
  8. 8.根据权利要求4至7中任一项所述的传送网络节点自动发现信息模拟方法,其特征在于步骤三所述处理内存中的数据并生成网络自动发现信息报文的方法具体为:处理节点的相关端口连接信息,汇总各个节点的连接数据,根据内存中的连接信息的节点ID,把以该节点作为收端的所有的连接分组,构造成为该节点的网络自动发现信息报文。 According to claim automatically discover network nodes transmit in any one of claims 4-7 Information simulation method, wherein the step three of the process data in memory and automatically generates network discovery information packets specifically: Processing Related port connection information node, a summary of each node connected to the data, based on the node ID memory connection information, all the connections to the node as the receiving end of the packet, the node network configuration becomes automatic discovery information packets.
  9. 9.根据权利要求4至7中任一项所述的传送网络节点自动发现信息模拟方法,其特征在于步骤四所述读取网络自动发现信息报文的条件为出现以下任一种情况:第一种情况为收到用户插入的读取网络自动发现信息报文的命令;第二种情况为收到网管的报文上报命令而尚未读取网络自动发现信息报文。 9. Automatic discovery information simulation method according to claim any of the transport network node according to one of 4-7, wherein said reading step four automatic discovery of network condition information packets to any of the following conditions: first A case for the user to insert a read receipt automatically discover network command information packets; the second case network packets received but not yet read the report the command network auto discovery information packets.
  10. 10.根据权利要求4至7中任一项所述的传送网络节点自动发现信息模拟方法,其特征在于步骤五所述上报网络自动发现信息报文的条件为:收到网管下发的报文上报命令。 10. The method of automatic discovery information analog transmission network node according to claim 4-7 in any one of claims, wherein the step five of the entry conditions of network automatic discovery information message is: NMS receive sent messages reporting command.
Description  translated from Chinese

一种传送网络节点自动发现信息模拟系统及方法 A transmission network nodes automatically discover information simulation system and method

技术领域 Technical Field

[0001] 本发明属于网络自动发现技术领域,尤其涉及一种传送网络节点自动发现信息上报的模拟系统及方法。 [0001] The present invention belongs to the network auto-discovery technology, and more particularly to a method of transmitting network nodes automatically discover information reported simulation systems and methods.

背景技术 Background

[0002] 传送网络由若干个传输网络节点组成,各个网络节点之间通过特定通道传递信息。 [0002] The transport network consists of several transmission network nodes, network nodes communicate information between each through a particular channel. 网络自动发现的基本原理是传输网络节点发现自身连接的所有其它节点并将连接关系上报。 The basic principle is the transmission network automatically discover network nodes discover all the other nodes connected and the connection between their own reporting. 传送网络网管接受到各个节点上报的相关连接信息,并进行处理;在网管上自动生成传送网络节点和连接关系并通过客户端显示给最终用户。 NM transmission network reported each node receives the relevant connection information and processing; automatic generation transport network node and connection between the network and the client through to the end user.

[0003] 在实验室环境中,由于条件所限,不可能提供大量设备进行网络自动发现的测试。 [0003] In a lab environment, due to the conditions, it is impossible to provide a large number of equipment for automatic discovery of network test. 而网管的网络自动发现处理模块的测试必需具备的一个条件就是大数据量的上报,实验室仅有的设备不能满足测试网管软件自动发现处理模块的处理效率和能力的需要,因而现有技术中对于上述网管软件的测试问题没有有效的解决方案。 The NMS automatically discovers network test processing module must have a condition that a large amount of data reporting, laboratory equipment can not only meet the testing needs of network management software automatically discovers processing efficiency and capacity of processing modules, and thus the prior art For the test above problems no effective network management software solutions.

发明内容 DISCLOSURE

[0004] 本发明要解决的技术问题是提供一种传送网络节点自动发现信息模拟系统,用以在脱离真实设备的情况下有效地对网管软件自动发现处理模块的处理效率和能力进行测试。 [0004] The technical problem to be solved by the present invention is to provide an automatic discovery information transfer network node simulation system for effective network management software automatically discovers processing efficiency and the ability to handle module was tested in the case from the real device. 为此本发明还要提供一种传送网络节点自动发现信息模拟方法。 To this end the present invention also provides a method of transmitting network node auto discovery information simulation methods.

[0005] 为解决上述技术问题,本发明传送网络节点自动发现信息模拟系统包括: [0005] In order to solve the above problems, the transmission network node of the present invention to automatically discover information Analog systems include:

[0006] 网络连接信息处理子系统和网络节点模拟器; [0006] The network connection information processing subsystem and the network node simulator;

[0007] 其中网络连接信息处理子系统负责对用户构造的网络连接信息进行处理,生成网络节点自动发现信息报文并保存;网络节点模拟器用于根据用户构造的网络节点信息生成模拟节点、与网管建立通讯连接和根据模拟节点的ID读取并向网管上报模拟节点对应的网络节点自动发现信息报文; [0007] where the network connection information processing subsystem responsible for user configuration of network connection information is processed automatically generate a network node discovery information packets and saving; simulator for network node network node based on user configuration information to generate simulated node, and network management establish a communication connection to the network management reporting and reading analog node corresponding network node according to the simulation node ID automatic discovery information packets;

[0008] 所述网络连接信息至少包括相关网络节点的ID(包括收发端点)、连接端口、连接方向(单向/双向);所述网络节点信息至少包括相关网络节点的ID、设备类型和IP地址; 所述模拟节点的ID等于用户构造的网络连接信息中对应的节点端点的设备ID。 [0008] The network connection information includes at least ID associated network nodes (including the receiving end), connection port, connection direction (single / double); the network node information includes at least ID, device type and IP-related network nodes address; node ID is equal to said analog network user configuration information corresponding connection endpoint node device ID.

[0009] 所述网络连接信息处理子系统包括网络连接信息读取模块和连接信息处理模块, 其中网络连接信息读取模块负责读取用户构造的网络连接信息,包括节点ID和节点端口的连接信息;连接信息处理模块负责处理节点的相关端口连接信息,汇总各个节点的连接数据,并根据连接信息的节点ID,把以该节点作为收端的所有的连接分组,构造成为该节点的网络自动发现信息报文。 Connection Information [0009] the network connection information processing subsystem includes network connection information reading module and connection information processing module, wherein the network connection information reading module is responsible for reading the network user connection configuration information, including the node ID and node ports ; connection information processing module responsible for processing nodes associated port connection information, summary connection data of each node, and based on the node ID connection information, the order of the node for all connection packet terminating, constructed as the node network auto discovery information packets.

[0010] 所述网络节点模拟器包括网络节点信息读取模块、模拟节点生成模块、模拟节点报文读取、上报模块和通讯连接模块;其中网络节点信息读取模块负责读取用户构造的网络节点信息;模拟节点生成模块根据网络节点信息读取模块读出的网络节点信息生成所述各个模拟节点;模拟节点报文读取、上报模块负责根据模拟节点的ID读取各模拟节点对应的网络节点自动发现信息报文,并上报网管;通讯连接模块用于建立模拟节点与网管之间的通讯连接。 [0010] The simulator includes a network node network node information reading module, the simulation node generation module, the simulation node message reads, reporting module and a communications connection module; wherein the network node information reading module is responsible for reading the user's network configuration node information; simulated node generation module generates network node information read module reads the information of the respective network node node simulation; simulated node message reads, reporting module is responsible for reading each simulation node corresponding network nodes according to the simulation ID auto-discovery information packets, and the NMS; communication connection module for establishing communication links between the analog node and network management.

[0011] 该系统还可以包括:网络连接信息配置子系统和网络节点信息配置子系统;其中网络连接信息配置子系统用于配置所述网络连接信息,网络节点信息配置子系统用于配置所述网络节点信息。 [0011] The system may also include: Network connection information and network configuration subsystem configuration subsystem node information; wherein the network connection information configuration subsystem is used to configure the network connection information, network node information is used to configure the configuration subsystem Network node information.

[0012] 所述网络连接信息和网络节点信息也可以直接从具有网络连接信息和网络节点信息的网管系统上导出。 [0012] The network connection information and network node information can also be exported directly from a network connection information and network nodes of the network management information systems.

[0013] 所述模拟节点与网管建立通讯连接是通过在网管上配置一个与所述模拟节点具有相同ID和IP的网元,该网元作为一个网关网元与相同ID和IP的模拟节点建立通讯连接。 [0013] The simulation node to establish communication with the network connection is simulated by configuring a node on the network with the same ID and IP network elements, the NE as a GNE establish the same ID and IP simulated node communication connection.

[0014] 为解决上述技术问题,本发明传送网络节点自动发现信息模拟方法包括: [0014] In order to solve the above problems, the present invention is to automatically transfer network node discovery information simulation method comprising:

[0015] 步骤一、根据需要配置网络连接信息,至少包括相关网络节点的ID(包括收发端点)、连接端口、连接方向(单向/双向);配置网络节点信息,至少包括连接的网络节点的ID、设备类型和IP地址,读取网络节点信息生成模拟节点,该模拟节点的ID等于所述网络连接信息中的对应节点端点的设备ID,各个模拟节点在接收到网管请求后与网管建立通讯连接; [0015] Step one, according to need to configure the network connection information, including at least ID associated network nodes (including the receiving end), connection port, connection direction (single / double); configure the network node information, including at least a network node connected ID, device type and IP address, read the information network node generates an analog node, the simulation node ID equal to the network connection information of the corresponding node endpoint device ID, each simulation node after receiving a request to establish a communication network and network management connection;

[0016] 步骤二、读取步骤一全部连接信息数据到系统内存中; [0016] Step two, to read a whole step connection information data to the system memory;

[0017] 步骤三、处理内存中的数据,根据需要的格式生成对应的网络自动发现信息报文并保存; [0017] Step three, processing data in memory, and generates the corresponding network according to the format required automatic discovery information packets and save;

[0018] 步骤四、判断读取网络自动发现信息报文的条件是否成就,条件成就则读取各个模拟节点对应的网络自动发现信息报文;否则等待条件成就时再执行读取操作; [0018] Step Four, network auto-discovery condition judge read the information packet is achievement, achievement is read each simulated conditions corresponding network nodes automatically discover information packets; otherwise the read operation is performed when the wait condition achievement;

[0019] 步骤五、判断上报网络自动发现信息报文的条件是否成就,条件成就时将网络自动发现信息报文上报网管;否则等待条件成就时再执行报文上报操作。 [0019] Step five, determine the conditions reported to the network automatically discover whether the information packets achievement, when such conditions are accomplished automatically discover network information packets the NMS; otherwise, the packets before performing the operation while waiting for conditions to report achievement.

[0020] 其中,步骤一所述网络连接信息和网络节点信息可以均配置为二维表的形式;利用二维表的方式构造节点连接信息,是为了使构造网络数据更为简单,避免了构造单节点自动发现数据的复杂性。 [0020] wherein the step of one of the network connection information and network nodes are configured in the form of information can be a two-dimensional table; the use of a two-dimensional table constructed node connection information, network data in order to make the structure easier to avoid construction Single node automatically discover the complexity of the data.

[0021] 步骤一所述配置网络连接信息和网络节点信息的方法可以为:直接从具有网络连接信息和网络节点信息的网管系统上导出该网络连接信息和网络节点信息。 Method [0021] Step a network connection to the configuration information and the network node information may be: export the network directly from the network management system with network connection information and network node connection information and network information node information.

[0022] 步骤一所述模拟节点与网管建立通讯连接的方法可以为:在网管上配置一个与所述模拟节点具有相同ID和IP的网元,该网元作为一个网关网元与相同ID和IP的模拟节点建立通讯连接。 [0022] Step one of the analog network node and establish a communication connection method can be: Configuring an analog nodes on the network have the same ID and IP network elements, the NE as a GNE with the same ID and IP analog nodes establish communications.

[0023] 步骤三所述处理内存中的数据并生成网络自动发现信息报文的方法可以为:处理节点的相关端口连接信息,汇总各个节点的连接数据,根据内存中的连接信息的节点ID,把以该节点作为收端的所有的连接分组,构造成为该节点的网络自动发现信息报文。 Data [0023] Step Three of the processing in memory and automatically generates network discovery information packets may be: relevant port connection information processing nodes, each node connection data summary, based on the node ID memory connection information, grouping all the connections to the node as terminating, constructed as the node network auto discovery information packets.

[0024] 步骤四所述读取网络自动发现信息报文的条件可以为出现以下任一种情况:第一种情况为收到用户插入的读取网络自动发现信息报文的命令;第二种情况为收到网管的报文上报命令而尚未读取网络自动发现信息报文。 [0024] Step Four of the read condition information network auto discovery packets can be any of the following conditions: The first case was received by the user to insert automatic discovery information read network packets command; the second case received packet network reported order has been reading the packet network auto discovery information.

[0025] 步骤五所述上报网络自动发现信息报文的条件可以为收到网管下发的报文上报命令。 [0025] Step Five of the reporting network auto-discovery condition information packet is received by the NMS can send packets to report command. [0026] 用户配置的网络连接信息和网络节点信息可以根据测试需求进行随意修改。 [0026] The network connection information configured by the user and the network node information can be freely modified according to the testing requirements. 网络连接信息和网络节点信息对于数据量没有限制,对于网络节点信息中的模拟节点的部署位置没有限制。 Network connection information and network node information is no limit to the amount of data, there is no limit for the deployment of location information in a network node analog nodes.

[0027] 本发明由于采用模拟软件/方法替换传送网设备,仿真各个传送设备的自动发现信息,并将信息上报,因而解决了网管传送网络自动发现功能的测试环境问题,能够在脱离网络设备的情况下完成网管传送网络自动发现功能的测试。 [0027] The present invention adopts simulation software / method of alternate delivery network equipment, simulation of each of the transmitting device auto discovery information, and the information is submitted, thus solving network transport network auto-discovery function test environment, it is possible from the network equipment case complete network transmission network automatic discovery test function.

附图说明 Brief Description

[0028] 图1是本发明传送网络节点自动发现信息模拟系统与网管之间的接入示意图; [0028] FIG. 1 is a transmission network node of the present invention, a schematic diagram of the automatic discovery information access between an analog system and network management;

[0029] 图2是本发明所述实施例的传送网络节点自动发现信息模拟系统框图; [0029] FIG. 2 is a block diagram of the present invention, an analog system information transfer network node example of the implementation of auto-discovery;

[0030] 图3是本发明传送网络节点自动发现信息模拟方法流程图。 [0030] FIG. 3 is a transmission network node of the present invention is a flowchart of the automatic discovery information simulation method.

具体实施方式 DETAILED DESCRIPTION

[0031] 下面结合附图和具体实施例对本发明作进一步详细说明,以便对本发明的目的、 技术方案及优点有更深入的理解。 [0031] described in further detail below in conjunction with the accompanying drawings and specific embodiments of the present invention is to objectives, technical solutions and advantages of the present invention will have a deeper understanding.

[0032] 图1给出了网络自动发现模拟系统与网管之间的接入示意图。 [0032] FIG. 1 shows a schematic diagram of the analog network auto-discovery system and network access between.

[0033] 图2给出了本发明网络自动发现模拟系统框图,如图所示,本发明网络自动发现模拟系统包括:网络连接信息配置子系统、网络节点信息配置子系统、网络连接信息处理子系统和网络节点模拟器;其中网络连接信息配置子系统以二维表的方式配置所需网络连接信息,网络节点信息配置子系统以二维表的方式配置所需网络节点信息;网络连接信息处理子系统对网络连接信息配置子系统配置的网络连接信息进行处理,生成网络节点自动发现信息报文并保存;网络节点模拟器根据网络节点信息配置子系统配置的网络节点信息生成模拟节点、与网管建立通讯连接和根据模拟节点的ID读取并向网管上报模拟节点对应的网络节点自动发现信息报文;网络连接信息包括相关的节点ID以及节点端口的连接信息;所述网络节点信息至少包括相关网络节点的ID、设备类型和IP地址;所述模拟节点的ID等于用户构造的网络连接信息中对应的节点端点的设备ID。 [0033] Figure 2 shows the present invention automatically discovers network simulation system diagram, as shown, the present invention automatically discovers network simulation system comprising: a network connection information configuration subsystem, the network node configuration information subsystems, network connection information processing sub System and network nodes simulator; where the network connection information in a two-dimensional table configuration subsystem configuration required network connection information, network node information in a two-dimensional table configuration subsystem configuration information needed to network nodes; network connection information processing Network Subsystem network connection information configuration subsystem configured connection information is processed to generate automatically discover network nodes and store information packets; network node network node simulator configuration information generation simulation node subsystem configuration information according to the network nodes, and network management to establish a communication link and read the corresponding analog node network node network reported according to the simulation node ID automatic discovery information packets;-Fi connection information includes information related to the node ID and the node port; the network node includes at least the relevant information ID, device type and IP address of the network node; the simulation node ID equal to the user's network configuration information in connection endpoint node corresponding device ID.

[0034] 所述网络连接信息处理子系统包括网络连接信息读取模块和连接信息处理模块, 其中网络连接信息读取模块负责读取所述网络连接信息配置子系统配置的网络连接信息, 包括节点ID和节点端口的连接信息;连接信息处理模块负责处理节点的相关端口连接信息,汇总各个节点的连接数据,并根据连接信息的节点ID,把以该节点作为收端的所有的连接分组,构造成为该节点的网络自动发现信息报文。 [0034] The network connection information processing subsystem includes network connection information reading module and connection information processing module, wherein the network connection information reading module is responsible for reading the network connection information to configure the network connection subsystem configuration information, including node connection information ID and node ports; connection information processing module is responsible for processing nodes associated port connection information, aggregated connection data of each node, and based on the node ID of the connection information, the order of the node for all connection packet receiving end, constructed as The node's network auto discovery information packets.

[0035] 所述网络节点模拟器包括网络节点信息读取模块、模拟节点生成模块、模拟节点报文读取、上报模块和通讯连接模块;其中网络节点信息读取模块负责读取所述网络节点信息配置子系统配置的网络节点信息;模拟节点生成模块根据网络节点信息读取模块读出的网络节点信息生成所述各个模拟节点;模拟节点报文读取、上报模块负责根据模拟节点的ID读取各模拟节点对应的网络节点自动发现信息报文,并上报网管;通讯连接模块用于建立模拟节点与网管之间的通讯连接。 [0035] The simulator includes a network node network node information reading module, the simulation node generation module, the simulation node message reads, reporting module and a communications connection module; wherein the network node information reading module is responsible for reading the network node Configuration subsystem configured network node information; simulated node generation module generates network node information read module reads the information of the respective network node node simulation; simulated node message read, according to the simulation module is responsible for reporting the node ID read Each simulation node to take corresponding network nodes automatically discover information packets, and the NMS; communication connection module for establishing communication links between the analog node and network management.

[0036] 采用本发明传送网络节点自动发现信息模拟系统进行传送网络自动发现信息模拟的一个实施例的具体流程为:[0037] 首先,用户根据需要配置自动发现的网络连接信息表和网络节点信息表,其中网络连接信息表的主要内容至少包括连接的网络节点的ID(包括收发端点)、连接端口、连接方向(单向/双向),网络节点信息表中至少包括连接的网络节点的ID、设备类型、IP地址; 网络节点信息读取模块读取网络节点信息表中的节点信息生成各个模拟节点,模拟节点具有独立的ID和IP,模拟节点的ID等于用户构造的网络连接信息中对应的节点端点的设备ID;在网管上配置一个与该模拟节点具有相同ID和IP的网元,该网元作为一个网关网元与相同ID和IP的模拟节点建立通讯连接;模拟节点通过通讯连接模块返回建链成功的应答从而与对应网管的连接完成;在本实施例中,模拟节点根据ID和IP运行,在接收到网管请求后与网管建立通讯连接。 [0036] The present invention automatically transfer network node discovery information transmission network simulation system automatic discovery of a specific embodiment of the information flow simulation is: [0037] First, the information network node information table and user connections need to be configured according to the network auto-discovery table, where the main content network connection information table includes at least ID connected network nodes (including the receiving end), connection port, connection direction (single / double), a network node information table including at least connected to a network node ID, in device type, IP address; network node information read module reads the network node information table in the node information is generated for each simulation node, simulation node has a separate ID and over IP, analog node ID equal to the user's network configuration information corresponding connection node endpoint device ID; network management configuration on the simulation node having the same ID and IP network elements, the NE as a GNE establishes communication with the same ID and IP analog nodes; simulated node communication connection module Back To build a successful chain of responses thus complete the corresponding network connection; for example, the analog node based on ID and IP operation after receiving a request to establish a communication link with the network management network in this embodiment. 模拟节点可以部署在不同的PC机上,但是需要把保存网络连接信息文件同时部署在这些PC机上。 Simulation node can be deployed on different PC, but the need to save the network connection information file while deployed on these PC.

[0038] 然后,网络连接信息读取模块读取网络节点连接信息;在本实施例中,用户下发读取网络连接信息表的命令,使连接信息读取模块读取网络连接信息表中的全部内容到内存中。 [0038] Then, the network connection information reading module reads the network node connection information; in this embodiment, the user issued a read command network connection information table, the connection information reading module reads the network connection information table All contents into memory.

[0039] 之后,连接信息处理模块处理节点的相关端口连接信息,汇总每个节点的连接数据,连接信息处理模块根据内存中的连接信息的节点ID把该节点对应的所有的连接按照收端分组;此处处理节点ID时对于起止端点不做区分,同样处理,即节点保存所有在该节点为收的连接。 After the [0039], the relevant connection information processing module port connection information processing nodes, each node aggregated connection data, connection information processing module based on the node ID in memory all the connection information corresponding to the node according to the connection terminating packet ; when here processing node ID for the beginning and ending endpoints no distinction, the same treatment that saves all the nodes connected to the node closed.

[0040] 然后连接信息处理模块读取对应的设备报文模型文件,生成连接报文结构,并根据节点的收连接生成对应的传送网络自动发现信息报文并保存,网络自动发现信息报文可以保存在系统内存中,也可以保存在系统外部物理介质中。 [0040] and then connect the information processing module reads the corresponding device packet model file, generate connection packet structure, and automatically discover connected nodes based on income generated corresponding packet transfer network information and save the network can automatically discover information packets stored in system memory can also be stored in the system external physical media.

[0041] 之后模拟节点报文读取、上报模块根据收到的用户指令读取各个模拟节点对应的网络自动发现信息报文的文件;本实施例中,模拟节点报文读取、上报模块根据网络自动发现信息报文文件中各个报文对应的节点ID读取到各个模拟节点对应的报文,并在内存中保存本模拟节点的所有连接信息,当收到网管的报文上报命令时,模拟节点报文读取、上报模块向网管上报网络自动发现信息报文。 After the [0041] Analog node message reads, reporting module reads each node corresponds to a network simulation based on user instructions received automatic discovery file information packets; In this embodiment, the analog node message read, according to the reporting module network auto discovery information packet file corresponding to each message read to the node ID corresponding to each simulation node packets and save all of the simulation node connection information in memory, when it receives network packets reporting command, Simulation node message reads, reporting module to the network management reporting network auto discovery information packets.

[0042] 如图所示,本发明传送网络自动发现信息模拟方法具体包括以下步骤: [0042] As shown, the transport network of the present invention, the automatic discovery information simulation method includes the following steps:

[0043] 步骤一、根据需要采用二维表的方式配置网络连接信息,至少包括连接的网络节点的ID(包括收发端点)、连接端口、连接方向(单向/双向);采用二维表的方式配置网络节点信息,至少包括连接的网络节点的ID、设备类型和IP地址,读取网络节点信息生成模拟节点,该模拟节点的ID等于所述网络连接信息表中对应节点端点的设备ID,模拟节点根据ID和IP运行,在网管上配置一个与该模拟节点具有相同ID和IP的网元,该网元作为一个网关网元与相同ID和IP的模拟节点建立通讯连接; [0043] Step a, if necessary by way of a two-dimensional table of the network connection configuration information, including at least a network node connected to the ID (including the receiving end), connected to the port, connecting direction (unidirectional / bidirectional); two-dimensional table configure the network node information, including at least ID, device type and IP address of the connected network nodes, the network node reads information generation simulation node, the simulation node ID equal to the network connection information table in the corresponding node endpoint device ID, Simulation node based on ID and IP running on a network configuration having the same simulation node ID and IP network elements, the NE as a GNE establishes communication with the same ID and IP simulated node;

[0044] 步骤二、读取步骤一全部连接信息数据到系统内存中; [0044] Step two, to read a whole step connection information data to the system memory;

[0045] 步骤三、处理内存中的数据,汇总各个节点的连接数据,根据内存中的连接信息的节点ID把该节点对应的所有的连接按照收端分组,处理节点ID时对于起止端点不做区分,即节点保存所有在该节点为收的连接;读取对应的设备报文模型,根据需要的格式将内存中的数据生成对应的连接信息报文并按需要的格式保存;对于双向连接必然生成成对节点的数据;生成的接口报文信息可以保存到内存、文件、数据库中,或者按照其它方式保存; 存储方式的选择可以根据用户的具体需要确定;[0046] 步骤四、判断读取网络自动发现信息报文的条件是否成就,条件成就则读取各个模拟节点对应的网络自动发现信息报文;否则等待条件成就时再执行读取操作;读取网络自动发现信息报文的条件为出现以下两种情况中的任一种:收到用户插入的读取网络自动发现信息报文命令;收到网管的报文上报命令而尚未读取网络自动发现信息报文。 [0045] Step Three, data processing memory, the summary of each node connected to the data, based on the node ID in memory of all the connection information to connect to the node corresponding packet according to the receiving end, not an endpoint when processing node ID for the beginning and end distinguish that node holds all the nodes connected income; and reads the corresponding device packet model, according to the required format the data in memory to generate the corresponding connection information packets saved in a format as needed; for a bidirectional connection inevitable generate data paired node; generated interfaces packets can be saved to memory, file, database, or saved in other manners; select storage may be determined according to the specific needs of the user; [0046] Step four, judgment read network auto discovery condition information packets whether achievement, achievement is read each simulated conditions corresponding network nodes automatically discover information packets; otherwise the read operation is performed when the wait condition achievement; read condition information network auto discovery packets is There are two occasions either one: read the network receives the user to insert automatic discovery information packet command; network packets received but not yet reported to the command to read the network auto discovery information packets.

[0047] 步骤五、判断是否收到网管下发的报文上报命令,收到命令则将网络自动发现信息报文上报网管;否则等待继续等待网管的报文上报命令。 [0047] Step five, whether or received packets sent NMS reporting command, the command will receive automatic network discovery information packets the NMS; otherwise, continue to wait for the NMS waiting messages reporting command.

[0048] 以上实例对于测试前期介入、节约设备成本、模拟极端情况等方面发挥了一定的作用,提高了测试效率和版本质量。 [0048] The above examples for testing early intervention, saving equipment costs, simulate extreme conditions has played a certain role in improving test efficiency and quality version.

[0049] 以上所述仅为本发明的优选实施例而已,并不用于限制本发明,对于本领域的技术人员来说,本发明可以有各种更改和变化。 [0049] The foregoing is only preferred embodiments of the present invention but not to limit the invention, for those skilled in the art, the present invention can have various modifications and changes. 凡在本发明的精神和原则之内,所作的任何修改、等同替换、改进等,均应包含在本发明的保护范围之内。 Any modification within the spirit and principles of the present invention, made, equivalent replacement, or improvement should be included within the scope of the present invention.

Patent Citations
Cited PatentFiling datePublication dateApplicantTitle
CN1992653A28 Dec 20054 Jul 2007中兴通讯股份有限公司Testing system and method for automation test of Ethernet switch access control system
US2005/0073992 Title not available
US2008/0002711 Title not available
US69613108 Aug 20021 Nov 2005Joseph Bibb CainMultiple path reactive routing in a mobile ad hoc network
WO2006040669A113 Oct 200520 Apr 2006Nortel Networks LimitedWireless transit link discovery and establishment
Classifications
International ClassificationH04L12/24
Legal Events
DateCodeEventDescription
10 Sep 2008C06Publication
29 Oct 2008C10Request of examination as to substance
1 Dec 2010C14Granted