Looking for breakthrough ideas for innovation challenges? Try Patsnap Eureka!

A method and system for simulating trap messages of multiple network elements

A technology for simulating network elements and trap messages, applied in the field of communication, can solve problems such as inability to test the network management system, and achieve the effect of facilitating network testing

Active Publication Date: 2018-09-21
深圳市华讯方舟光电技术有限公司
View PDF4 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0006] The purpose of the embodiments of the present invention is to provide a method and system for simulating trap messages of multiple network elements, aiming to solve the problem in the prior art that it is impossible to truly simulate multiple network elements to test the network management system

Method used

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
View more

Image

Smart Image Click on the blue labels to locate them in the text.
Viewing Examples
Smart Image
  • A method and system for simulating trap messages of multiple network elements
  • A method and system for simulating trap messages of multiple network elements
  • A method and system for simulating trap messages of multiple network elements

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0046] In order to make the objectives, technical solutions and advantages of the present invention clearer, the following further describes the present invention in detail with reference to the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are only used to explain the present invention, but not to limit the present invention.

[0047] figure 1 The specific implementation process of the method for simulating trap messages of multiple network elements provided by the embodiment of the present invention is shown. See figure 1 As shown, the method for simulating trap messages of multiple network elements provided by the embodiment of the present invention includes:

[0048] In S101, the configuration file of the network management system under test is read to obtain the configuration parameters of the network management system under test.

[0049] In the embodiment of the present invention, the user first learns the config...

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More

PUM

No PUM Login to View More

Abstract

The invention provides a method simulating trap messages of multiple network elements and a system and relates to the communication technology field. The method comprises steps that, configuration files of a to-be-measured network management system are read to acquire and store configuration parameters of the to-be-measured network management system; command parameters inputted by a user through a simulation terminal are received and stored, an MAC address and an IP address of the simulation terminal are simultaneously read, an MAC address and an IP address of a simulation network element are generated based on the command parameters, the MAC address and the IP address of the simulation terminal according to predetermined rules; an Snmp trap message of the simulation element is assembled based on the configuration parameters and the MAC address and the IP address of the simulation network element and by employing the raw socket programming technology; the Snmp trap message is sent to the to-be-measured network management system through a raw socket sending function, and performance test on the to-be-measured network management system is carried out according to the Snmp trap message. Through the method, multiple network elements are simulated to send Snmp trap messages to the to-be-measured network management system, networking test on the to-be-measured network management system can be rapidly and conveniently carried out, and reliability and stability of the to-be-measured network management system can be effectively tested.

Description

Technical field [0001] The present invention belongs to the field of communication technology, and in particular relates to a method and system for simulating trap messages of multiple network elements. Background technique [0002] SNMP (Simple Network Management Protocol, Simple Network Management Protocol) is one of the earliest network management protocols proposed. Because of its simplicity, it has been widely used and supported as soon as it is launched. At present, SNMP has become a working standard in the field of network management, and most network management systems and platforms are implemented based on the SNMP protocol. [0003] With the widespread application of the SNMP protocol, the network elements managed by an NSM (Network Management System) are thousands or even hundreds of thousands. Then in the current network application environment, these network elements are in Generate alarm information and send it to the NMS through Trap messages. The NMS must have the ...

Claims

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More

Application Information

Patent Timeline
no application Login to View More
Patent Type & Authority Patents(China)
IPC IPC(8): H04L12/24
CPCH04L41/0213H04L41/08
Inventor 蔡磊磊李杰
Owner 深圳市华讯方舟光电技术有限公司
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Patsnap Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Patsnap Eureka Blog
Learn More
PatSnap group products