New! View global litigation for patent families

CN101262365B - A simulation system and method for transmitting automatic discovered information in network node - Google Patents

A simulation system and method for transmitting automatic discovered information in network node Download PDF

Info

Publication number
CN101262365B
CN101262365B CN 200810006829 CN200810006829A CN101262365B CN 101262365 B CN101262365 B CN 101262365B CN 200810006829 CN200810006829 CN 200810006829 CN 200810006829 A CN200810006829 A CN 200810006829A CN 101262365 B CN101262365 B CN 101262365B
Authority
CN
Grant status
Grant
Patent type
Prior art keywords
node
network
information
simulation
automatic
Prior art date
Application number
CN 200810006829
Other languages
Chinese (zh)
Other versions
CN101262365A (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
Grant date

Links

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.

Description

一种传送网络节点自动发现信息模拟系统及方法 A method of transmitting network node information of the analog automatic discovery system and method

技术领域 FIELD

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

背景技术 Background technique

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

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

发明内容 SUMMARY

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

[0005] 为解决上述技术问题,本发明传送网络节点自动发现信息模拟系统包括: [0005] To solve the above problems, the present invention automatically transmitting network node discovery information simulation system comprising:

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

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

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

[0009] 所述网络连接信息处理子系统包括网络连接信息读取模块和连接信息处理模块, 其中网络连接信息读取模块负责读取用户构造的网络连接信息,包括节点ID和节点端口的连接信息;连接信息处理模块负责处理节点的相关端口连接信息,汇总各个节点的连接数据,并根据连接信息的节点ID,把以该节点作为收端的所有的连接分组,构造成为该节点的网络自动发现信息报文。 Connection Information [0009] The information processing subsystem comprises a network connection network connection information and link information reading module processing module, which is responsible for the network connection information reading module configured to read the user's network connection information includes a node ID and node port ; connection information processing module is responsible for processing the node 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 connections packet receiving end, configured as a network node automatic discovery information message.

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

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

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

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

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

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

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

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

[0018] 步骤四、判断读取网络自动发现信息报文的条件是否成就,条件成就则读取各个模拟节点对应的网络自动发现信息报文;否则等待条件成就时再执行读取操作; [0018] Step 4 determines the read packet network automatic discovery information whether the conditions of achievement, the read condition is satisfied nodes corresponding to the respective analog network automatic discovery information packet; otherwise, wait and then perform a read operation condition is satisfied;

[0019] 步骤五、判断上报网络自动发现信息报文的条件是否成就,条件成就时将网络自动发现信息报文上报网管;否则等待条件成就时再执行报文上报操作。 [0019] Step five, the network reported determine automatic discovery packet information whether the conditions for success, when the condition is satisfied automatically discover the network information packets the NMS; otherwise the execution while waiting for messages reporting operating condition is satisfied.

[0020] 其中,步骤一所述网络连接信息和网络节点信息可以均配置为二维表的形式;利用二维表的方式构造节点连接信息,是为了使构造网络数据更为简单,避免了构造单节点自动发现数据的复杂性。 [0020] wherein the step of a network node and network connection information may be information are configured in the form of two-dimensional table; constructed using a two-dimensional table node connection information, the network data is configured to enable easier, avoiding a configuration single auto-discovery data complexity.

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

[0022] 步骤一所述模拟节点与网管建立通讯连接的方法可以为:在网管上配置一个与所述模拟节点具有相同ID和IP的网元,该网元作为一个网关网元与相同ID和IP的模拟节点建立通讯连接。 Method [0022] a step of establishing analog communication and the network management node may be connected to: configure a node on the network simulation with the same ID, and IP network elements as a gateway to the network element NE ID and the same analog IP node to establish communication links.

[0023] 步骤三所述处理内存中的数据并生成网络自动发现信息报文的方法可以为:处理节点的相关端口连接信息,汇总各个节点的连接数据,根据内存中的连接信息的节点ID,把以该节点作为收端的所有的连接分组,构造成为该节点的网络自动发现信息报文。 Data [0023] The three step process memory and generates packet information network automatic discovery method may be: the relevant port information processing nodes, each node aggregated connection data, connection information memory node ID in accordance with, as to the terminating node is connected to all the packets, the network node configured as automatic discovery information packets.

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

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

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

附图说明 BRIEF DESCRIPTION

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

[0029] 图2是本发明所述实施例的传送网络节点自动发现信息模拟系统框图; [0029] FIG. 2 is a block diagram of a simulation system according to the present invention, the information transmitting network node embodiment of the automatic discovery embodiment;

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

具体实施方式 detailed description

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

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

[0033] 图2给出了本发明网络自动发现模拟系统框图,如图所示,本发明网络自动发现模拟系统包括:网络连接信息配置子系统、网络节点信息配置子系统、网络连接信息处理子系统和网络节点模拟器;其中网络连接信息配置子系统以二维表的方式配置所需网络连接信息,网络节点信息配置子系统以二维表的方式配置所需网络节点信息;网络连接信息处理子系统对网络连接信息配置子系统配置的网络连接信息进行处理,生成网络节点自动发现信息报文并保存;网络节点模拟器根据网络节点信息配置子系统配置的网络节点信息生成模拟节点、与网管建立通讯连接和根据模拟节点的ID读取并向网管上报模拟节点对应的网络节点自动发现信息报文;网络连接信息包括相关的节点ID以及节点端口的连接信息;所述网络节点信息至少包括相关网络节点的ID、设备 [0033] FIG 2 shows the inventive network automatic discovery simulation system block diagram shown in FIG., The inventive network automatic discovery simulation system comprising: a network connection configuration information subsystem, a network node configuration information subsystem, a network connected to the information processing sub the system simulator and a network node; wherein the network connection information to a two-dimensional configuration subsystem configuration table required network connection information, network node information table configuration subsystem to a two-dimensional configuration required network node information; network connection information processing Fi network subsystem of subsystem configuration information to configure connection information, and generates automatic discovery of network nodes and stores information packet; simulator network node the network node configuration information generation analog subsystem is configured according to the network node node information, and the network management and reading a communication connection to report the analog network node corresponding to the network node according to the node ID analog automatic discovery information packet; network connection information comprises information related to the connection node and the node ID of the port; the network node comprises information related to at least network node ID, device 型和IP地址;所述模拟节点的ID等于用户构造的网络连接信息中对应的节点端点的设备ID。 Type and an IP address; node ID is equal to the analog configuration of the network users connected to the device ID information corresponding to the node endpoints.

[0034] 所述网络连接信息处理子系统包括网络连接信息读取模块和连接信息处理模块, 其中网络连接信息读取模块负责读取所述网络连接信息配置子系统配置的网络连接信息, 包括节点ID和节点端口的连接信息;连接信息处理模块负责处理节点的相关端口连接信息,汇总各个节点的连接数据,并根据连接信息的节点ID,把以该节点作为收端的所有的连接分组,构造成为该节点的网络自动发现信息报文。 [0034] The information processing subsystem comprises a network connection network connection information and link information reading module processing module, wherein the network connection information reading module is responsible for reading information on the network connection configuration of the network connection subsystem configuration information includes a node connection information ID and node port; connecting an information processing module is responsible for the processing node 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 connections packet receiving terminal, configured as the nodes in the network auto discovery information packets.

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

[0036] 采用本发明传送网络节点自动发现信息模拟系统进行传送网络自动发现信息模拟的一个实施例的具体流程为:[0037] 首先,用户根据需要配置自动发现的网络连接信息表和网络节点信息表,其中网络连接信息表的主要内容至少包括连接的网络节点的ID(包括收发端点)、连接端口、连接方向(单向/双向),网络节点信息表中至少包括连接的网络节点的ID、设备类型、IP地址; 网络节点信息读取模块读取网络节点信息表中的节点信息生成各个模拟节点,模拟节点具有独立的ID和IP,模拟节点的ID等于用户构造的网络连接信息中对应的节点端点的设备ID;在网管上配置一个与该模拟节点具有相同ID和IP的网元,该网元作为一个网关网元与相同ID和IP的模拟节点建立通讯连接;模拟节点通过通讯连接模块返回建链成功的应答从而与对应网管的连接完成;在本实 [0036] The transmitting network node according to the present invention, the automatic discovery information simulation system for transport network automatic discovery specific flow to an embodiment of the information of the analog is: [0037] First, a user connection information table and the network node information according to the network need to configure the automatic discovery of table in which the main contents of the network connection information table comprises at least a network node connection ID (terminal includes a transceiver) connected port ID, a network node connecting direction (unidirectional / bidirectional), the network node information table includes at least the connection, device type, IP address; node information reading module reads the network node information in the network node information table generating respective analog nodes, the nodes having a separate analog and the IP ID, the node ID is equal to the analog configuration of the user information corresponding to the network connection node endpoint device ID; configuration having the same ID, and IP network elements and the analog nodes on the network management, the network element as a gateway network element establishes communication with the analog nodes with the same ID and IP; simulated node via a communication connection module return a successful link establishment response corresponds to complete the connection of the network; in the present 施例中,模拟节点根据ID和IP运行,在接收到网管请求后与网管建立通讯连接。 In the embodiment, according to the node ID and IP simulation run, after receiving the request for establishing a communication connection NM NM. 模拟节点可以部署在不同的PC机上,但是需要把保存网络连接信息文件同时部署在这些PC机上。 Simulation node can be deployed on a different PC, but need to save the network connection information files simultaneously deployed on the PC.

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

[0039] 之后,连接信息处理模块处理节点的相关端口连接信息,汇总每个节点的连接数据,连接信息处理模块根据内存中的连接信息的节点ID把该节点对应的所有的连接按照收端分组;此处处理节点ID时对于起止端点不做区分,同样处理,即节点保存所有在该节点为收的连接。 After [0039], connection port connection information processing module of the node, each node aggregated connection data, connection information processing module connected to the node ID information of all the memory corresponding to the node connected to the terminating grouped ; where when the start-stop processing node ID to the endpoint, no distinction, the same treatment, i.e., to save all the nodes connected to the receiving node.

[0040] 然后连接信息处理模块读取对应的设备报文模型文件,生成连接报文结构,并根据节点的收连接生成对应的传送网络自动发现信息报文并保存,网络自动发现信息报文可以保存在系统内存中,也可以保存在系统外部物理介质中。 [0040] module is then connected to the information processing apparatus reads the corresponding message model file, generates a connection packet structure, and automatic discovery information received packet and stores the connection node according to generate a corresponding transport network, the network automatic discovery information packet may stored in system memory, the system may be stored in the external physical medium.

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

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

[0043] 步骤一、根据需要采用二维表的方式配置网络连接信息,至少包括连接的网络节点的ID(包括收发端点)、连接端口、连接方向(单向/双向);采用二维表的方式配置网络节点信息,至少包括连接的网络节点的ID、设备类型和IP地址,读取网络节点信息生成模拟节点,该模拟节点的ID等于所述网络连接信息表中对应节点端点的设备ID,模拟节点根据ID和IP运行,在网管上配置一个与该模拟节点具有相同ID和IP的网元,该网元作为一个网关网元与相同ID和IP的模拟节点建立通讯连接; [0043] Step a, a two-dimensional table according to the need to configure the network connection information, the network node comprising at least a connection ID (terminal includes a transceiver), a connection port, the connection direction (unidirectional / bidirectional); two-dimensional table arranged information network node, the network node comprising at least a connection ID, the IP address and device type, generating an analog read network node information node, the node ID is equal to the analog device is connected to the network information table corresponding to the node ID of the endpoint, the analog node ID and IP, configuration, with the same ID, and IP network elements and nodes on the analog network, the network element as a gateway network element a communication connection to the same node ID and IP simulation;

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

[0045] 步骤三、处理内存中的数据,汇总各个节点的连接数据,根据内存中的连接信息的节点ID把该节点对应的所有的连接按照收端分组,处理节点ID时对于起止端点不做区分,即节点保存所有在该节点为收的连接;读取对应的设备报文模型,根据需要的格式将内存中的数据生成对应的连接信息报文并按需要的格式保存;对于双向连接必然生成成对节点的数据;生成的接口报文信息可以保存到内存、文件、数据库中,或者按照其它方式保存; 存储方式的选择可以根据用户的具体需要确定;[0046] 步骤四、判断读取网络自动发现信息报文的条件是否成就,条件成就则读取各个模拟节点对应的网络自动发现信息报文;否则等待条件成就时再执行读取操作;读取网络自动发现信息报文的条件为出现以下两种情况中的任一种:收到用户插入的读取网络自动发现 [0045] Step Three, the data processing memory, aggregated connection data of each node, a node ID in the connection information memory of all the nodes connected to the receiving side in accordance with the corresponding packet, the endpoint is not to start and end processing node ID distinguished, i.e. keep all nodes connected to the node received; device reads the corresponding message model according to the desired format of the data in memory to generate the connection information corresponding packet saved in the format as needed; for a bidirectional connection inevitable generating a pair of data nodes; generating interface message information can be saved to the memory, file, database, or stored in other ways; selected memory mode may be determined according to the specific needs of the user; [0046] step 4 is determined read packet network automatic discovery information whether the conditions of achievement, the condition is satisfied nodes corresponding to the respective analog network automatic discovery information read packet; otherwise, wait and then perform a read operation condition is satisfied; reads the network automatic discovery information message condition either of the following two conditions occur: receive user-inserted reading network automatic discovery 信息报文命令;收到网管的报文上报命令而尚未读取网络自动发现信息报文。 Information packets command; receive network packets have not yet read the report command automatic network discovery information message.

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

[0048] 以上实例对于测试前期介入、节约设备成本、模拟极端情况等方面发挥了一定的作用,提高了测试效率和版本质量。 [0048] The above examples have played a role in the testing of early intervention, save equipment cost, and the like simulated extreme cases, test efficiency is improved and the quality version.

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

Claims (10)

  1. 一种传送网络节点自动发现信息模拟系统,其特征在于包括:网络连接信息处理子系统和网络节点模拟器;其中网络连接信息处理子系统负责对用户构造的网络连接信息进行处理,生成网络节点自动发现信息报文并保存;网络节点模拟器用于根据用户构造的网络节点信息生成模拟节点、与网管建立通讯连接和根据模拟节点的ID读取并向网管上报模拟节点对应的网络节点自动发现信息报文;所述网络连接信息至少包括相关网络节点的ID、连接端口和连接方向;所述网络节点信息至少包括相关网络节点的ID、设备类型和IP地址;所述模拟节点的ID等于用户构造的网络连接信息中对应的节点端点的设备ID。 A method of transmitting network node automatic discovery information simulation system, comprising: network connection information processing subsystem simulator and a network node; wherein the processing subsystem is responsible for the network connection information for the network connection information for processing user configuration, automatically generating a network node and stores discovery information packet; simulator network node for a network node according to the user configuration information generating simulated nodes, and the network management and establish a communication connection to the network management reporting the analog read network node according to the node corresponding to the node ID analog automatic discovery information message text; network connection information comprises at least the ID of a network node, a connection port and a connection direction; the network node includes at least information related to the network node ID, IP address and device type; node ID is equal to the simulated user configuration the network connection device ID information corresponding to the node endpoints.
  2. 2.根据权利要求1所述的传送网络节点自动发现信息模拟系统,其特征在于:所述网络连接信息处理子系统包括网络连接信息读取模块和连接信息处理模块,其中网络连接信息读取模块负责读取用户构造的网络连接信息,包括节点ID和节点端口的连接信息;连接信息处理模块负责处理节点的相关端口连接信息,汇总各个节点的连接数据, 并根据连接信息的节点ID,把以该节点作为收端的所有的连接分组,构造成为该节点的网络自动发现信息报文;所述网络节点模拟器包括网络节点信息读取模块、模拟节点生成模块、模拟节点报文读取、上报模块和通讯连接模块;其中网络节点信息读取模块负责读取用户构造的网络节点信息;模拟节点生成模块根据网络节点信息读取模块读出的网络节点信息生成所述各个模拟节点;模拟节点报文读取、上报模块负责根 2. The automatic discovery information transmitting network node simulation system according to claim 1, wherein: the network subsystem comprises a network connecting an information processing module connected to the information reading and information processing module is connected, wherein the network connection information reading module the user is responsible for reading the configuration of the network connection information, including connection information and the node ID of the node port; connecting port connected to the relevant processing module is responsible for information processing nodes, each node in the aggregated connection data, and link information based on the node ID, to the All the node as a connection terminating packet, the network node configured as automatic discovery information packet; the network node includes a network simulator module reads the node information, node generates analog module, the analog read node packet, reporting module communication and connection module; wherein the network node is responsible for information reading module reads the network configuration information of the user node; analog node generation module generates the respective analog network node according to the node information read module information read network node; simulated node packet reading, reporting module is responsible for root 模拟节点的ID读取各模拟节点对应的网络节点自动发现信息报文,并上报网管;通讯连接模块用于建立模拟节点与网管之间的通讯连接。 Each node ID reads an analog simulation network node corresponding to the node automatic discovery information packet, and the NMS; connecting module for establishing a communication connection between the communication node and the network simulation.
  3. 3.根据权利要求1或2所述的传送网络节点自动发现信息模拟系统,其特征在于该系统还包括:网络连接信息配置子系统和网络节点信息配置子系统;其中网络连接信息配置子系统用于配置所述网络连接信息,网络节点信息配置子系统用于配置所述网络节点信肩、ο The automatic discovery information transmitting network node simulation system according to claim 1 or claim 2, characterized in that the system further comprises: a network connection information and configuration subsystem configuration subsystem network node information; wherein the network connection information with the configuration subsystem to configure the network connection information, network node information configuration subsystem for configuring the network node channel shoulder, o
  4. 4. 一种传送网络节点自动发现信息模拟方法,其特征在于包括:步骤一、根据需要配置网络连接信息,包括相关的节点ID以及节点端口的连接信息; 配置网络节点信息,至少包括连接的网络节点的ID、设备类型和IP地址,读取网络节点信息生成模拟节点,该模拟节点的ID等于所述网络连接信息中的对应节点端点的设备ID,各个模拟节点在接收到网管请求后与网管建立通讯连接;步骤二、读取步骤一全部连接信息数据到系统内存中;步骤三、处理内存中的数据,根据需要的格式生成对应的网络自动发现信息报文并保存;步骤四、判断读取网络自动发现信息报文的条件是否成就,条件成就则读取各个模拟节点对应的网络自动发现信息报文;否则等待条件成就时再执行读取操作;步骤五、判断上报网络自动发现信息报文的条件是否成就,条件成就时将网络 An automatic discovery information transmitting network node simulation method, comprising the steps of: a connection information needed to configure the network, including information related to the connection node and the node ID of the port; a network node configuration information comprising at least a network connection node ID, IP address and device type, generating an analog read network node information node, the node ID is equal to the analog device is connected to the network node corresponding to the ID information in the endpoint, the respective analog network node after receiving the request NM a communication connection; two step, a step of reading all the information connected to the data memory system; step three, the data processing memory, generates a corresponding network in accordance with the format required for the automatic discovery information and stores the packets; step four, the read is determined take packet network automatic discovery information whether the conditions of achievement, the condition is satisfied nodes corresponding to the respective analog network automatic discovery information read packet; otherwise, wait and then perform a read operation condition is satisfied; step 5 reports the determined network automatic discovery information message Wen whether the conditions for success, such condition is satisfied when the network 动发现信息报文上报网管;否则等待条件成就时再执行报文上报操作。 Automatic discovery information packets the NMS; otherwise the execution while waiting for messages reporting operating condition is satisfied.
  5. 5.根据权利要求4所述的传送网络节点自动发现信息模拟方法,其特征在于:步骤一所述网络连接信息和网络节点信息均配置为二维表的形式。 The simulation method according to the automatic discovery information transmitting network node as claimed in claim 4, wherein: the step of a network node information and the network connection information is configured in the form of two-dimensional table.
  6. 6.据权利要求4所述的传送网络节点自动发现信息模拟方法,其特征在于步骤一所述配置网络连接信息和网络节点信息的方法为:直接从具有网络连接信息和网络节点信息的网管系统上导出该网络连接信息和网络节点信息。 6. According to the transmitting network node as claimed in claim 4, said automatic discovery information simulation method, wherein the step of a method of network connection information and configuration information for a network node: a network management system information and connection information directly from the network nodes with network deriving information on the network connection and the network node information.
  7. 7.根据权利要求4所述的传送网络节点自动发现信息模拟方法,其特征在于步骤一所述模拟节点与网管建立通讯连接的方法为:在网管上配置一个与所述模拟节点具有相同ID和IP的网元,该网元作为一个网关网元与相同ID和IP的模拟节点建立通讯连接。 The automatic discovery information transmitting network node simulation method according to claim 4, wherein said step of a method for establishing analog communication node and the network management connection to: configure a node on the network simulation with the same ID and IP network element, the network element as a gateway network element establishes communication with the analog same node ID and IP.
  8. 8.根据权利要求4至7中任一项所述的传送网络节点自动发现信息模拟方法,其特征在于步骤三所述处理内存中的数据并生成网络自动发现信息报文的方法具体为:处理节点的相关端口连接信息,汇总各个节点的连接数据,根据内存中的连接信息的节点ID,把以该节点作为收端的所有的连接分组,构造成为该节点的网络自动发现信息报文。 The automatic discovery claims 4 to 7, a transmitting network node according to any simulation information, wherein the step of said three data processing memory and generates packet information network automatic discovery method is specifically: Processing Related information node port, aggregated connection data of each node, a node ID in the connection information memory, all connected to the node as a terminating packet, the network node configured as automatic discovery information packets.
  9. 9.根据权利要求4至7中任一项所述的传送网络节点自动发现信息模拟方法,其特征在于步骤四所述读取网络自动发现信息报文的条件为出现以下任一种情况:第一种情况为收到用户插入的读取网络自动发现信息报文的命令;第二种情况为收到网管的报文上报命令而尚未读取网络自动发现信息报文。 An automatic discovery information Simulation method according to claim 4 to 7, transmitting network node as claimed in any one of four wherein the step of reading said packet network automatic discovery information is any of the following conditions occurs: a first case for the user to insert a read receipt automatically discover network command information packet; the second case was reported to receive a packet network management order has been automatically reads the network discovery information message.
  10. 10.根据权利要求4至7中任一项所述的传送网络节点自动发现信息模拟方法,其特征在于步骤五所述上报网络自动发现信息报文的条件为:收到网管下发的报文上报命令。 10. The automatic discovery information Simulation method according to claim 4 to 7, transmitting network node as claimed in any one of the five characterized in that the step of reporting network automatic discovery information message condition: receives packets sent by the network management reporting command.
CN 200810006829 2008-02-02 2008-02-02 A simulation system and method for transmitting automatic discovered information in network node CN101262365B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN 200810006829 CN101262365B (en) 2008-02-02 2008-02-02 A simulation system and method for transmitting automatic discovered information in network node

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN 200810006829 CN101262365B (en) 2008-02-02 2008-02-02 A simulation system and method for transmitting automatic discovered information in network node

Publications (2)

Publication Number Publication Date
CN101262365A true CN101262365A (en) 2008-09-10
CN101262365B true CN101262365B (en) 2010-12-01

Family

ID=39962590

Family Applications (1)

Application Number Title Priority Date Filing Date
CN 200810006829 CN101262365B (en) 2008-02-02 2008-02-02 A simulation system and method for transmitting automatic discovered information in network node

Country Status (1)

Country Link
CN (1) CN101262365B (en)

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6961310B2 (en) 2002-08-08 2005-11-01 Joseph Bibb Cain Multiple path reactive routing in a mobile ad hoc network
WO2006040669A1 (en) 2004-10-13 2006-04-20 Nortel Networks Limited Wireless transit link discovery and establishment
CN1992653A (en) 2005-12-28 2007-07-04 中兴通讯股份有限公司 Testing system and method for automation test of Ethernet switch access control system

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6961310B2 (en) 2002-08-08 2005-11-01 Joseph Bibb Cain Multiple path reactive routing in a mobile ad hoc network
WO2006040669A1 (en) 2004-10-13 2006-04-20 Nortel Networks Limited Wireless transit link discovery and establishment
CN1992653A (en) 2005-12-28 2007-07-04 中兴通讯股份有限公司 Testing system and method for automation test of Ethernet switch access control system

Also Published As

Publication number Publication date Type
CN101262365A (en) 2008-09-10 application

Similar Documents

Publication Publication Date Title
Alderson et al. Understanding internet topology: principles, models, and validation
Li et al. A first-principles approach to understanding the internet's router-level topology
US20050083835A1 (en) Link discovery and verification procedure using loopback
US20060039366A1 (en) Port aggregation for fibre channel interfaces
Lee et al. The principles and performance of Hubnet: A 50 Mbit/s glass fiber local area network
CN101459534A (en) Network topology collecting method for tree shaped network and network equipment
CN101217411A (en) A method, device and system realizing the upgrading of stacking device software
CN1556625A (en) Data transmission method of network equipment based on multinetwork card and device
CN1411214A (en) Network equipment management method based on ethernet technology
Wei et al. Distributed worm simulation with a realistic internet model
US20060047784A1 (en) Method, apparatus and system for remotely and dynamically configuring network elements in a network
CN101388732A (en) In-situ test system and method oriented to water sound sensor network
CN101902757A (en) Method and system for supporting consistency testing
US20080298258A1 (en) Information transfer capability discovery apparatus and techniques
US6516355B1 (en) Methods and apparatus for controlling digital communications switching equipment
US20030005106A1 (en) Communication control apparatus and method
CN1514586A (en) Data communication equipment testing system and method of imitation multiuser, multi connection
CN102347867A (en) Processing method and equipment for stacking splitting detection
CN101414963A (en) Method and apparatus for automatic topological discover and resource management in PBB TE network
CN1992635A (en) Method of simulating SNMP network element and performing network management system test with the network element
CN101478434A (en) Method for configuring stacking port and exchange equipment
US20080101362A1 (en) Method and device for making uplink standby
CN101018162A (en) Simulated testing system and method of the business processing network element
CN103049414A (en) Method for converting and transmitting data between FC (fiber channel) bus and CAN (controller area network) bus
CN101141328A (en) Method and device for simulating Diameter server terminal

Legal Events

Date Code Title Description
C06 Publication
C10 Request of examination as to substance
C14 Granted