CN103634154B - The analog systems of network state and analogy method thereof - Google Patents

The analog systems of network state and analogy method thereof Download PDF

Info

Publication number
CN103634154B
CN103634154B CN201310692846.1A CN201310692846A CN103634154B CN 103634154 B CN103634154 B CN 103634154B CN 201310692846 A CN201310692846 A CN 201310692846A CN 103634154 B CN103634154 B CN 103634154B
Authority
CN
China
Prior art keywords
network
data
state
network state
snmp
Prior art date
Legal status (The legal status 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 status listed.)
Expired - Fee Related
Application number
CN201310692846.1A
Other languages
Chinese (zh)
Other versions
CN103634154A (en
Inventor
赵耀
郑迪
林荣恒
左亚健
丁伟伟
邹华
杨放春
闫丹凤
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Beijing University of Posts and Telecommunications
Original Assignee
Beijing University of Posts and Telecommunications
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 Beijing University of Posts and Telecommunications filed Critical Beijing University of Posts and Telecommunications
Priority to CN201310692846.1A priority Critical patent/CN103634154B/en
Publication of CN103634154A publication Critical patent/CN103634154A/en
Application granted granted Critical
Publication of CN103634154B publication Critical patent/CN103634154B/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Landscapes

  • Data Exchanges In Wide-Area Networks (AREA)
  • Computer And Data Communications (AREA)

Abstract

A kind of analog systems of network state, network equipment including one or more analog network states that can start simultaneously, in each network analog, this system generates the network status data of one or more network equipments corresponding to various network states, i.e. SNMP data, or the script that importing has write allows this system automatically generate disparate networks state and corresponding network status data thereof, interactive interface and the SNMP data of this system are utilized for network management platform, the behavior that externally can embody for the various network equipments in present system analog network and different running statuses (including various extreme network state) thereof, realize comprehensively, efficiently, the emulation testing of Network Management Function accurately.The network state information network consisting simulated environment simulated by network equipment, therefore present system core is with analog network state for guiding, be provided with network state description, network state management, data process and the network equipment of data readback totally four modules.

Description

The analog systems of network state and analogy method thereof
Technical field
The present invention relates to analog systems and the analogy method thereof of a kind of network state, belong to field of computer technology.
Background technology
Existing network management platform is using special real network environment as support, it is achieved network monitoring and The function of management.If carrying out the researchs such as exploitation and the test of network management platform in real network environment Project, the most costly, and there is also certain difficulty in collection of statistical data and analysis thereof.
In order to overcome these defects, special network analog system is arisen at the historic moment.The use of network analog system The design substantially increasing network management platform, the efficiency developed and test, meanwhile, also save network pipe Platform test environment build funds.
Network state analog systems is to set up a virtual network platform on the computer or server, is used for Simulate real network environment.Network technology developer utilizes this platform, can not only supervise existing network It is designed research, moreover it is possible to its performance is tested and evaluated depending on platform.It addition, network analog system institute The emulation data provided make developer can carry out contrast and the reference of network state quickly and intuitively, Optimization design or decision-making for network management platform provide means more convenient, effective.
In order to effectively simulate real network environment, provide the virtual network platform to NMS, at present Prior art mainly have following three kinds:
" a kind of simulator based on SNMP network management " (China Patent Publication No.: CN102546260A): Providing a kind of simulator based on SNMP network management, script parsing module is MIB script file solution Analysis is for MIB data and is stored in MIB database;SNMP message processing module (MPM) is according to the SNMP received Message, inquires about the response data of correspondence, then according to Query Result by MIB data in MIB database It is organized into SNMP response message, and SNMP response message is sent to snmp protocol communication module; After the SNMP request data that SNMP message processing module (MPM) will also need to process resolves, put into local MIB Data base;MIB data set is made into the TRAP of SNMP by TRAP message molded tissue block according to certain format Message, and TRAP message is sent to snmp protocol communication module;Snmp protocol communication module is responsible for Communicate with external object.The simulator of this scheme, supports concurrent simulation large number quipments, can set by hand Putting the respond packet data of SNMP, for the debugging of network management platform, and detecting large volume provides help.
This technical scheme is the debugging of webmastering software and detecting large volume provides help, but how does not provide The method obtained or generate MIB data, can not solve the simulation of network state and corresponding SNMP number thereof According to amendment problem, thus the SNMP data provided for NMS do not have a specific aim, simultaneously can not It is that guiding, automatically generation SNMP test data with network state.
" network management software test method and system " (China Patent Publication No.: CN101534227B): carry For a kind of network management software test method and system.The method includes: trigger network management software equipment to SNMP emulator sends the request message obtaining response data;Obtain network management software equipment according to The first curve chart that response data in the response message that SNMP emulator returns generates, and preserve into first Graphic file;The check value generated according to the first graphic file is generated with according to the graphic file pre-set Check value compare, if the first graphic file is identical with the check value of the graphic file pre-set, then Network management software test passes through.This technical scheme contributes to the automatic test of the network management software, uses The technical scheme of automatic test can shorten the cycle of software test, it is achieved network efficient, accurate, reliable Management software test.But, the SNMP data corresponding to the curve chart mentioned in its literary composition do not have specific aim, And there is limitation in analog network state, do not reach the network management software for network state response test Purpose, it is impossible to fundamentally solve network state problem of modelling.
" a kind of method realizing artificial device surrogate " (China Patent Publication No.: CN100358297C): carry For a kind of method realizing artificial device surrogate.Including: arrange artificial device surrogate base attribute (IP, Read-write community word etc.);MIB node is set, including arranging table node and leaf node;Process network management workstation SNMP Request and control request;It is characterized in that, in the arranging of affiliated management information base table node, being regarded as by table node Leaf node so that in management information bank, all of node is expressed as leaf node.This scheme additionally provides A kind of automatically generate the method that realizing, MIB node file is set, be really the relevant information of equipment including arranging; Obtain the real equipment management information bank start node all nodal informations to terminal node;By acquired joint Dot information writes in described file.The program, without compiling, loads the simple to operate of MIB, can conveniently use Real equipment agency produces artificial device surrogate, can set up artificial device surrogate quickly and easily.But, MIB nodal information in literary composition all obtains from real equipment, thus cannot be avoided and obtain from real equipment The limitation of the MIB data taken, it is impossible to simulate few disparate networks shape occurred in real network environment State, simultaneously the corresponding SNMP of generation of automatization can not test data.
Summary of the invention
In view of this, it is an object of the invention to provide analog systems and the analogy method thereof of a kind of network state, Present system can the behavior that externally embodies of the various network equipments in analog network and different operation shapes thereof State, including common situations and extreme case.Can be for various different network-like for network management platform State realizes comprehensively, efficiently, the test of Network Management Function accurately.
In order to achieve the above object, the invention provides the analog systems of a kind of network state, described network-like State is the behavior that externally embodies of the all-network device in network and the set of operation conditions thereof;It is characterized in that: Described analog systems includes the network equipment of one or more analog network state that can simultaneously start, this simulation System, in each network analog, generates the network of one or more network equipments corresponding to this network state Status data, i.e. Simple Network Management Protocol SNMP (Simple Network Management Protocol) Data, or import the script that write and allow these one or more network equipments automatically generate disparate networks State and corresponding network status data thereof, utilize described network status data for network management platform and be somebody's turn to do The interactive interface of analog systems is tested;Because any network state can be decomposed into network equipment Behavior and operation conditions thereof, and this network equipment is provided that the behavior with disparate networks device and operation conditions thereof Corresponding SNMP data, are used for simulating corresponding network state;The simulation of one or more network equipments Network state information network consisting simulated environment, therefore this analog systems core is with analog network state for guiding Network equipment, be provided with;Network state describes, network state management, data process and data readback four totally Individual module, wherein:
Network state describing module, is provided with three external interactive interfaces: external programming interface, graphical user circle Face and script introducting interface, for receiving three kinds of descriptive inputs of analog network state respectively;Wherein user Graphical interfaces provides disparate networks state options and the input frame of parameter thereof, for user intuitively, advantageously perform Network state describes input;Script introducting interface supports multiple script and configuration file, and script language Sentence and configuration information are converted to corresponding network state and describe;External programming interface support is externally introduced network State description files, after obtaining network state description, then passes to network state management various characterising parameters Module carries out resolution process, in order to be converted to behavior and the operation conditions thereof of abstract network equipment;User schemes Shape interface can also the most intuitively show network state and the parameter thereof of present day analog, is passed by operational order simultaneously Pass data processing module;
Network state management module, is responsible for, according to the network state characterising parameter received, entering network state Row analyzing and processing, and generate the analog network corresponding with including fault management, configuration management and performance management The various actions of the network equipment of state and operation conditions thereof, test for network management platform;And handle Operational order passes to data processing module;
Data processing module, as nucleus module, is responsible for by two assembly: background data stream signal generating unit Generate background data stream respectively with data adaptation unit and perform data adaptation, producing and meet disparate networks state The emulation SNMP data that simulation requires;Because the essence of analog network state is the SNMP of amendment network equipment Data, and in network state simulation process, need metastable SNMP data stream as network environment Background, in order to revise behavior and the operation conditions, i.e. net of network equipment simulation on the basis of this background data Network state;Data adaptation unit is responsible for amendment and adaptive background data: by the equipment adaptation file imported, SNMP data modification is navigated in the amendment to each MIB data, is simultaneous for different network dresses Put and carry out adaptation, with the requirement of satisfied simulation heterogeneous networks device;
Data readback module, is responsible for behavior and the operation thereof that the network equipment from data processing module is simulated The SNMP data stream of situation is supplied to network management platform, carries out the real-time playback of data and presents various mould Intend network state, carry out including fault management, configuration management and performance management three for network management platform The test that function is corresponding.
In described data processing module, background data stream signal generating unit generates the mode of background data stream two kinds: SNMP data from live network device are processed and generates, or fill according to existing artificial network Management information bank MIB (the Management Information Base) file put directly generates.
Because network management platform is required to cover the SNMP data of various network state comprehensively, carry out for it Test;Therefore the application scenarios of this network state analog systems is: with analog network state for guiding, corresponding Various network states be decomposed into the various actions of network equipment and the operation conditions thereof needing simulation, then pass through Network equipment describes the File Mapping SNMP data to bottom, i.e. automatically generates relative with disparate networks state The SNMP data answered, are used as the test platform for the SNMP data simulation under disparate networks environment.
This system produces the method for emulation SNMP data has two kinds: one to be at the live network device gathered On the basis of SNMP data, revise wherein part MIB data, simulate corresponding network equipment behavior;Two are MIB storehouse according to existing simulator directly produces the SNMP data that network equipment behavior is corresponding;And After this system produces SNMP data, it is supplied directly to network management platform, tests targetedly for it; And whole network state simulation process directly can be operated and foot by external programming interface, graphical interface of user This importing controls these three mode and automatically performs, and provides network state corresponding SNMP data to network pipe Platform, so that network management platform obtains comprehensive, automatically, test targetedly.
One or more network equipments in described analog systems are arranged in one or more server, often In secondary network analog, the one or more network equipments in this analog systems simulate its network state, to provide SNMP data mode is used as the test environment of network management platform;User is schemed by the user of this analog systems Shape interface carries out real-time operation to the network equipment simulating its network state, or is connect by external programming Network equipment is controlled by mouth, or imports script or the configuration literary composition of the analog network state write Part, allows network equipment automatically generate disparate networks state, and produces corresponding network status data.
In order to achieve the above object, present invention also offers the network state of the analog systems of a kind of network state Analogy method, it is characterised in that: described method includes following operative step:
(1) what three kinds of modes that its interactive interface is received by network state describing module inputted needs simulation After network state request is analyzed processing, produce the description of the network state needing simulation: include that network fills Put behavior and the operation conditions thereof of simulation, and the description of network state persistent period: described three kinds of modes are defeated Entering is three external interactive interfaces by this network state describing module: external programming interface, graphical user Three kinds of descriptive inputs of the analog network state that interface and script introducting interface are respectively received;Its peripheral DLL support is externally introduced network state and describes file, after obtaining network state description, then various Characterising parameter passes to network state management module and carries out resolution process, in order to be converted to abstract network equipment Behavior and operation conditions;Graphical interface of user provides disparate networks state options and the input frame of parameter thereof, Intuitively, advantageously perform network state for user and describe input;Graphical interface of user can also the most intuitively show Show network state and the parameter thereof of present day analog, operational order is passed to data processing module simultaneously;Script Introducting interface supports multiple script and configuration file, and script sentence and configuration information are converted to accordingly Network state describe;
(2) network state that network state management module receives from network state describing module describes information After, perform the decomposition of network state and state mapping process, obtain corresponding with this network state or The behavior of multiple network equipments simulation and operation conditions thereof, and the behavior of these network equipments and run shape The corresponding operational order of condition passes to data processing module:
(3) data processing module is carried out at background by the SNMP data having recorded actual device Reason, or the two ways generation SNMP of background data stream is directly generated by the MIB storehouse of this network equipment Background data stream;Again by data adaptation unit according to the equipment adaptation file imported, to wherein SNMP data Modify and adaptive, then the SNMP data after adaptation are submitted to data readback module;
(4) data readback module is supplied to network management platform the SNMP data stream of network equipment, enters The real-time playback of row data, presents various analog network state, includes it for network management platform The various tests that fault management, three functions of configuration management and performance management are corresponding;
(5) graphical interface of user of network state describing module shows every description of present day analog network state Curve and parameter.
In described step (3), actual device the SNMP data genaration background data stream recorded Operate and include following content:
After user starts a network analog device, select the SNMP number of the most stored real network device According to, and intercept set the time period data as benchmark, be circulated broadcasting, show this network equipment simultaneously Basic status parameter;If user wants to stop the broadcasting of this background data stream, then terminate circulation;If user Want to continually look for the data of other time period, with different behaviors and the operation conditions thereof of analog network device, then Repeat original operation: on the basis of intercepting the data of this time period, be circulated broadcasting, show now net simultaneously The basic status parameter of network device;
Directly generated the operation of background data stream by the MIB storehouse of this network equipment and include following content:
Because of the emphasis of analog network state procedure, be realize the network equipment after network state is decomposed behavior and Its operation conditions, namely amendment background data stream, to present the corresponding operating of network equipment;Therefore first play back SNMP data, further according to the device configuration file imported, are performed essence by SNMP background data stream smoothly Really to the amendment of each MIB data, amended SNMP data are exactly the row that the simulation of this network equipment is new For and the data stream of operation conditions, for network management platform, this data stream is carried out real-time playback, carries out The test of the various emulation mode of network equipment and emulation.
The analog systems of inventive network state and the innovation key technology of analogy method thereof be: provides one Based on network state simulation can generate corresponding with the behavior of disparate networks device and operation conditions thereof each Plant the analog systems of SNMP data, it is possible to, accurately, automatically to network management platform provide by one comprehensively The network simulation environment that the network state information that individual or multiple network equipments are simulated is formed, for network management Platform carries out SNMP data test comprehensive, effective.It addition, also provide for a kind of to provide artificial network shape For the purpose of state, network state is mapped as behavior and the operation conditions thereof of network equipment, uses network state to retouch State support script and external DLL two ways, generate disparate networks state for automatization corresponding SNMP data;Or use the SNMP data gathering physical device modify or utilize physical device MIB storehouse generation SNMP data, thus the method createing emulated network environment.
The analog systems of inventive network state and the advantage of analogy method thereof be:
Compared with the first prior art, the present invention is modeled as guiding with network state, needing simulation Network state is mapped in the amendment of SNMP data of bottom, gives and obtains and generate SNMP data Concrete grammar, the SNMP generating emulation of energy automatization tests data simultaneously.
Compared with the second prior art, the emulation SNMP data that the present invention provides for NMS Specific aim is higher, the disparate networks state in direct map network, no matter from macroscopic view (network state) or Microcosmic (SNMP data) angle, the emulation data of generation all have more practical significance, to network management The test thinking of platform is the most apparent.
Compared with the third prior art, the SNMP emulation data of the present invention both can obtain at physical device Revise targetedly on the basis of the MIB data taken, it is also possible to believed by the MIB storehouse of physical device Breath directly generates, thus simulates disparate networks state.The most both the MIB number obtained from physical device had been avoided According to limitation, and few all kinds of extreme network state occurred can be simulated in real network environment. Simultaneously aforesaid operations can under the control of script and external programming interface automated execution.
In a word, the present invention has good popularizing application prospect.
Accompanying drawing explanation
Fig. 1 is the application scenarios schematic diagram of network state analog systems.
Fig. 2 is the structure composition schematic diagram of inventive network state simulation system.
Fig. 3 is inventive network state simulation system simulation method operating procedure sequential chart.
Detailed description of the invention
For making the object, technical solutions and advantages of the present invention clearer, below in conjunction with the accompanying drawings with embodiment pair The present invention is described in further detail.
The analog systems of inventive network state and analogy method thereof provide a kind of automatization and generate disparate networks The technical scheme of the SNMP data that state is corresponding.This analog systems achieves one for disparate networks environment The simulation test platform of SNMP data produced, is mainly used in following scene:
See Fig. 1, introduce inventive network state simulation systematic difference scene:
Because network management platform needs network state can cover the emulation SNMP number of various network state comprehensively According to, test for platform.Inventive network state simulation systematic difference scene is: with analog network State for guide, corresponding various network states be decomposed into need simulation network equipment various actions and Its operation conditions, then File Mapping described to the SNMP data of bottom by network equipment, the most automatically give birth to Become the SNMP data corresponding with disparate networks state, be used as the SNMP number under disparate networks environment Test platform according to emulation.
This system produces the method for emulation SNMP data has two kinds: one to be at the live network device gathered On the basis of SNMP data, revise wherein part MIB data, simulate corresponding network equipment behavior;Two are MIB storehouse according to existing simulator directly produces the SNMP data that network equipment behavior is corresponding;And After this system produces SNMP data, it is supplied directly to network management platform, tests targetedly for it; And whole network state simulation process directly can be operated and foot by external programming interface, graphical interface of user This importing controls these three mode and automatically performs, and provides network state corresponding SNMP data to network pipe Platform, so that network management platform obtains comprehensive, automatically, test targetedly.
In FIG, the one or more network equipments in inventive network state simulation systematic analog network, And the network state of simulation is as test environment, in the way of SNMP data, it is provided that to network management platform. User can carry out reality by the user interface of this system or the external DLL network equipment to simulating Time operation, it is also possible to import the script originally write and automatically generate disparate networks state by network equipment, and will Network status data corresponding thereto is supplied to network management platform.
Seeing Fig. 2, the structure introducing inventive network state simulation system forms:
So-called network state is the behavior that externally embodies of the all-network device in network and the collection of operation conditions thereof Close.Analog systems of the present invention includes the network equipment of one or more analog network state that can simultaneously start, And the one or more network equipments in this analog systems are arranged in one or more server, in every secondary net In network simulation, the one or more network equipments in this analog systems simulate its network state, generate this network Network status data, i.e. Simple Network Management Protocol SNMP data corresponding to state are put down as network management The test environment of platform;Or import script or the configuration file of the analog network state write, allow this One or more network equipments automatically generate disparate networks state and corresponding network status data thereof, for net Network management platform utilizes this network status data and the interactive interface of this analog systems, graphical interface of user to align Carry out real-time operation at the network equipment simulating its network state, or by external programming interface, network is filled Put and be controlled, or import the script of analog network state or configuration file write, allow network Device automatically generates disparate networks state, and produces corresponding network status data.
Because any network state can be decomposed into behavior and the operation conditions thereof of network equipment, and this net Network device is provided that the SNMP data corresponding with the behavior of disparate networks device and operation conditions thereof, is used for Simulate corresponding network state;The network state information network consisting emulation of one or more network equipments simulation Environment, therefore this analog systems core is with analog network state for the network equipment guided.At network simulation ring In the deployment in border, one or more physical server can start one or more network analog device simultaneously. Each network equipment is provided with: network state describes, network state management, data process and data readback four totally Individual module.Wherein:
Network state describing module, is provided with three external interactive interfaces: external programming interface, graphical user circle Face and script introducting interface, for receiving three kinds of descriptive inputs of analog network state respectively.Wherein user Graphical interfaces provides disparate networks state options and the input frame of parameter thereof, for user intuitively, advantageously perform Network state describes input;Script introducting interface supports multiple script and configuration file, and script language Sentence and configuration information are converted to corresponding network state and describe;External programming interface support is externally introduced network State description files, after obtaining network state description, then passes to network state management various characterising parameters Module carries out resolution process, in order to be converted to behavior and the operation conditions thereof of abstract network equipment;User schemes Shape interface can also the most intuitively show network state and the parameter thereof of present day analog, is passed by operational order simultaneously Pass data processing module.
Network state management module, is responsible for, according to the network state characterising parameter received, entering network state Row analyzing and processing, and generate the analog network corresponding with including fault management, configuration management and performance management The various actions of the network equipment of state and operation conditions thereof, test for network management platform;And handle Operational order passes to data processing module.
Data processing module, as nucleus module, is responsible for by two assembly: background data stream signal generating unit Generate background data stream respectively with data adaptation unit and perform data adaptation, producing and meet disparate networks state The emulation SNMP data that simulation requires.Background data stream signal generating unit generates the mode of background data stream two Kind: the SNMP data from live network device are processed and generates, or according to having emulated net The management information bank mib file of network device directly generates.Because the essence of analog network state is amendment network dress The SNMP data put, and in network state simulation process, need metastable SNMP data stream to make For network environment background, in order to revise behavior and the operation thereof of network equipment simulation on the basis of this background data Situation, i.e. network state.Data adaptation unit is responsible for amendment and adaptive background data: by the equipment imported Adaptation file, navigates to SNMP data modification in the amendment to each MIB data, to be simultaneous for not Same network equipment carries out adaptation, with the requirement of satisfied simulation heterogeneous networks device.
Data readback module, is responsible for behavior and the operation thereof that the network equipment from data processing module is simulated The SNMP data stream of situation is supplied to network management platform, carries out the real-time playback of data and presents various mould Intend network state, carry out including fault management, configuration management and performance management three for network management platform The test that function is corresponding.
See Fig. 3, introduce the concrete behaviour of the network state analogy method of the analog systems of inventive network state Make step:
(1) what three kinds of modes that its interactive interface is received by network state describing module inputted needs simulation After network state request is analyzed processing, produce the description of the network state needing simulation: include that network fills Put behavior and the operation conditions thereof of simulation, and the description of network state persistent period.
(2) network state that network state management module receives from network state describing module describes information After, perform the decomposition of network state and state mapping process, obtain corresponding with this network state or The behavior of multiple network equipments simulation and operation conditions thereof, and the behavior of these network equipments and run shape The corresponding operational order of condition passes to data processing module.
(3) data processing module is carried out at background by the SNMP data having recorded actual device Reason, or the two ways generation SNMP of background data stream is directly generated by the MIB storehouse of this network equipment Background data stream;Again by data adaptation unit according to the equipment adaptation file imported, to wherein SNMP data Modify and adaptive, then the SNMP data after adaptation are submitted to data readback module.In this step, The operation of the SNMP data genaration background data stream recorded by actual device includes following content:
After user starts a network analog device, select the SNMP number of the most stored real network device According to, and intercept set the time period data as benchmark, be circulated broadcasting, show this network equipment simultaneously Basic status parameter;If user wants to stop the broadcasting of this background data stream, then terminate circulation;If user Want to continually look for the data of other time period, with different behaviors and the operation conditions thereof of analog network device, then Repeat original operation: on the basis of intercepting the data of this time period, be circulated broadcasting, show now net simultaneously The basic status parameter of network device.
Directly generated the operation of background data stream by the MIB storehouse of this network equipment and include following content:
Because of the emphasis of analog network state procedure, be realize the network equipment after network state is decomposed behavior and Its operation conditions, namely amendment background data stream, to present the corresponding operating of network equipment;Therefore first play back SNMP data, further according to the device configuration file imported, are performed essence by SNMP background data stream smoothly Really to the amendment of each MIB data, amended SNMP data are exactly the row that the simulation of this network equipment is new For and the data stream of operation conditions, for network management platform, this data stream is carried out real-time playback, carries out The test of the various emulation mode of network equipment and emulation.
(4) data readback module is supplied to network management platform the SNMP data stream of network equipment, enters The real-time playback of row data, presents various analog network state, includes it for network management platform The various tests that fault management, three functions of configuration management and performance management are corresponding.
(5) graphical interface of user of network state describing module shows every description of present day analog network state Curve and parameter.
It should be understood that above-mentioned steps (2) to (6) operation is inventive network state simulation system mould Intend the core process of network state method, it can be seen that final data playback module carries out the SNMP played back Emulation data are on the basis of SNMP background data stream, according to behavior and the operation thereof of heterogeneous networks device After situation is revised targetedly, then submit to network state analog systems, thus simulate by these Network equipment behavior and the network state of composition thereof.
Inventions have been repeatedly the l-G simulation test of embodiment, the result of test is successful, it is achieved Goal of the invention.

Claims (7)

1. an analog systems for network state, described network state is that the all-network device in network is external The behavior embodied and the set of operation conditions thereof;It is characterized in that: described analog systems includes one or more The network equipment of the analog network state that can simultaneously start, this analog systems, in each network analog, generates The network status data of one or more network equipments, i.e. simple network management corresponding to this network state are assisted Discuss SNMP data, or the script that importing has write allows these one or more network equipments automatically generate Disparate networks state and corresponding network status data thereof, utilize described network state for network management platform The interactive interface of data and this analog systems is tested;Because any network state can be decomposed into net The behavior of network device and operation conditions thereof, and this network equipment be provided that the behavior with disparate networks device and The SNMP data that operation conditions is corresponding, are used for simulating corresponding network state;One or more networks fill Put the network state information network consisting simulated environment of simulation, therefore this analog systems core is with analog network shape State be guide network equipment, be provided with network state describe, network state management, data process and data return Put totally four modules, wherein:
Network state describing module, is provided with three external interactive interfaces: external programming interface, graphical user circle Face and script introducting interface, for receiving three kinds of descriptive inputs of analog network state respectively;Wherein user Graphical interfaces provides disparate networks state options and the input frame of parameter thereof, for user intuitively, advantageously perform Network state describes input;Script introducting interface supports multiple script and configuration file, and script language Sentence and configuration information are converted to corresponding network state and describe;External programming interface support is externally introduced network State description files, after obtaining network state description, then passes to network state management various characterising parameters Module carries out resolution process, in order to be converted to behavior and the operation conditions thereof of abstract network equipment;User schemes Shape interface can also the most intuitively show network state and the parameter thereof of present day analog, is passed by operational order simultaneously Pass data processing module;
Network state management module, is responsible for, according to the network state characterising parameter received, entering network state Row analyzing and processing, and generate the analog network corresponding with including fault management, configuration management and performance management The various actions of the network equipment of state and operation conditions thereof, test for network management platform;And handle Operational order passes to data processing module;
Data processing module, as nucleus module, is responsible for by two assembly: background data stream signal generating unit Generate background data stream respectively with data adaptation unit and perform data adaptation, producing and meet disparate networks state The emulation SNMP data that simulation requires;Because the essence of analog network state is the SNMP of amendment network equipment Data, and in network state simulation process, need metastable SNMP data stream as network environment Background, in order to revise behavior and the operation conditions, i.e. net of network equipment simulation on the basis of this background data Network state;Data adaptation unit is responsible for amendment and adaptive background data: by the equipment adaptation file imported, SNMP data modification is navigated in the amendment to each MIB data, is simultaneous for different network dresses Put and carry out adaptation, with the requirement of satisfied simulation heterogeneous networks device;
Data readback module, is responsible for behavior and the operation thereof that the network equipment from data processing module is simulated The SNMP data stream of situation is supplied to network management platform, carries out the real-time playback of data and presents various mould Intend network state, carry out including fault management, configuration management and performance management three for network management platform The test that function is corresponding.
Analog systems the most according to claim 1, it is characterised in that: in described data processing module, Background data stream signal generating unit generates the mode of background data stream two kinds: to from live network device SNMP data process and generate, or the management information bank MIB literary composition according to existing artificial network device Part directly generates.
Analog systems the most according to claim 1, it is characterised in that: because network management platform needs energy Enough SNMP data comprehensively covering various network states, test for it;Therefore the simulation of this network state is The application scenarios of system is: with analog network state for guiding, corresponding various network states are decomposed into needs The various actions of the network equipment of simulation and operation conditions thereof, then File Mapping is described on earth by network equipment Layer SNMP data, i.e. automatically generate the SNMP data corresponding with disparate networks state, be used as The test platform of the SNMP data simulation under disparate networks environment.
Analog systems the most according to claim 3, it is characterised in that: this system produces emulation SNMP The method of data has two kinds: one to be on the basis of the SNMP data of the live network device gathered, and revises it Middle part MIB data, simulate corresponding network equipment behavior;Two is the MIB according to existing simulator Storehouse directly produces the SNMP data that network equipment behavior is corresponding;And after this system produces SNMP data, It is supplied directly to network management platform, tests targetedly for it;And whole network state simulation process Can directly be operated by external programming interface, graphical interface of user and script imports and controls these three mode certainly Dynamic perform, and provide network state corresponding SNMP data to network management platform so that network management Platform obtains comprehensive, automatically, test targetedly.
Analog systems the most according to claim 1, it is characterised in that;In described analog systems one Or multiple network equipment is arranged in one or more server, in each network analog, this analog systems In one or more network equipments simulate its network state, with provide SNMP data mode be used as network pipe The test environment of platform;User is network-like to simulating it by the graphical interface of user of this analog systems The network equipment of state carries out real-time operation, or is controlled network equipment by external programming interface, or Person imports script or the configuration file of the analog network state write, and allows network equipment automatically generate respectively Class network state, and produce corresponding network status data.
6. the network state analogy method of the analog systems of a network state, it is characterised in that: described method Including following operative step:
(1) what three kinds of modes that its interactive interface is received by network state describing module inputted needs simulation After network state request is analyzed processing, produce the description of the network state needing simulation: include that network fills Put behavior and the operation conditions thereof of simulation, and the description of network state persistent period: described three kinds of modes are defeated Entering is three external interactive interfaces by this network state describing module: external programming interface, graphical user Three kinds of descriptive inputs of the analog network state that interface and script introducting interface are respectively received;Its peripheral DLL support is externally introduced network state and describes file, after obtaining network state description, then various Characterising parameter passes to network state management module and carries out resolution process, in order to be converted to abstract network equipment Behavior and operation conditions;Graphical interface of user provides disparate networks state options and the input frame of parameter thereof, Intuitively, advantageously perform network state for user and describe input;Graphical interface of user can also the most intuitively show Show network state and the parameter thereof of present day analog, operational order is passed to data processing module simultaneously;Script Introducting interface supports multiple script and configuration file, and script sentence and configuration information are converted to accordingly Network state describe;
(2) network state that network state management module receives from network state describing module describes information After, perform the decomposition of network state and state mapping process, obtain corresponding with this network state or The behavior of multiple network equipments simulation and operation conditions thereof, and the behavior of these network equipments and run shape The corresponding operational order of condition passes to data processing module:
(3) data processing module is carried out at background by the SNMP data having recorded actual device Reason, or the two ways generation SNMP of background data stream is directly generated by the MIB storehouse of this network equipment Background data stream;Again by data adaptation unit according to the equipment adaptation file imported, to wherein SNMP data Modify and adaptive, then the SNMP data after adaptation are submitted to data readback module;
(4) data readback module is supplied to network management platform the SNMP data stream of network equipment, enters The real-time playback of row data, presents various analog network state, includes it for network management platform The various tests that fault management, three functions of configuration management and performance management are corresponding;
(5) graphical interface of user of network state describing module shows every description of present day analog network state Curve and parameter.
Network state analogy method the most according to claim 6, it is characterised in that: described step (3) In, actual device the operation of the SNMP data genaration background data stream recorded includes following content:
After user starts a network analog device, select the SNMP number of the most stored real network device According to, and intercept set the time period data as benchmark, be circulated broadcasting, show this network equipment simultaneously Basic status parameter;If user wants to stop the broadcasting of this background data stream, then terminate circulation;If user Want to continually look for the data of other time period, with different behaviors and the operation conditions thereof of analog network device, then Repeat original operation: on the basis of intercepting the data of this time period, be circulated broadcasting, show now net simultaneously The basic status parameter of network device;
Directly generated the operation of background data stream by the MIB storehouse of this network equipment and include following content:
Because of the emphasis of analog network state procedure, be realize the network equipment after network state is decomposed behavior and Its operation conditions, namely amendment background data stream, to present the corresponding operating of network equipment;Therefore first play back SNMP data, further according to the device configuration file imported, are performed essence by SNMP background data stream smoothly Really to the amendment of each MIB data, amended SNMP data are exactly the row that the simulation of this network equipment is new For and the data stream of operation conditions, for network management platform, this data stream is carried out real-time playback, carries out The test of the various emulation mode of network equipment and emulation.
CN201310692846.1A 2013-12-17 2013-12-17 The analog systems of network state and analogy method thereof Expired - Fee Related CN103634154B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201310692846.1A CN103634154B (en) 2013-12-17 2013-12-17 The analog systems of network state and analogy method thereof

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201310692846.1A CN103634154B (en) 2013-12-17 2013-12-17 The analog systems of network state and analogy method thereof

Publications (2)

Publication Number Publication Date
CN103634154A CN103634154A (en) 2014-03-12
CN103634154B true CN103634154B (en) 2016-08-17

Family

ID=50214807

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201310692846.1A Expired - Fee Related CN103634154B (en) 2013-12-17 2013-12-17 The analog systems of network state and analogy method thereof

Country Status (1)

Country Link
CN (1) CN103634154B (en)

Families Citing this family (16)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105991322B (en) * 2015-02-09 2020-01-31 中兴通讯股份有限公司 Processing method and device for acquisition adapter management system
CN104683190A (en) * 2015-03-26 2015-06-03 重庆金美通信有限责任公司 Webmaster managed network simulation system and webmaster managed network simulation method
CN104993944A (en) * 2015-05-18 2015-10-21 国家计算机网络与信息安全管理中心 Experiment scene backtracking technology device and method based on network environment and test equipment
CN106647323B (en) * 2015-10-30 2021-04-09 北京北方华创微电子装备有限公司 Equipment simulation operation control method and device
CN105515825B (en) * 2015-11-25 2018-11-30 成都广达新网科技股份有限公司 A kind of SNMP simulator and its test method for network management volume test
CN106411600A (en) * 2016-10-31 2017-02-15 努比亚技术有限公司 Test equipment and method
CN109271310B (en) * 2017-07-18 2022-07-05 北京京东尚科信息技术有限公司 Development testing method and device for network function of mobile application program
CN109086211B (en) * 2018-08-22 2023-04-07 平安科技(深圳)有限公司 Method and device for processing simulation network exception, computer equipment and storage medium
CN109976720B (en) * 2019-02-14 2023-03-07 广州市高科通信技术股份有限公司 Virtual device implementation system, method, electronic device and storage medium
CN110138617B (en) * 2019-05-22 2021-11-12 北京字节跳动网络技术有限公司 Data transmission quality testing method, system, electronic device and storage medium
CN110278269B (en) * 2019-06-21 2022-03-15 广州小鹏汽车科技有限公司 User behavior recording method and device
CN110738906B (en) * 2019-09-17 2022-05-17 武汉丰迈信息技术有限公司 Network simulation system
CN110825605B (en) * 2019-11-06 2020-09-11 北京博睿宏远数据科技股份有限公司 Method, device, equipment and storage medium for simulating user operation
CN113438124B (en) * 2021-06-07 2022-05-06 清华大学 Network measurement method and device based on intention driving
CN113452563B (en) * 2021-06-28 2022-10-11 中信科移动通信技术股份有限公司 Network simulation system and network simulation design method
CN114253854B (en) * 2021-12-21 2024-05-14 四川启睿克科技有限公司 Automatic test method based on simulation report data of multi-type equipment

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1610309A (en) * 2003-10-22 2005-04-27 华为技术有限公司 Development method of management agent for supporting simple network management protocol
CN1658579A (en) * 2004-02-16 2005-08-24 华为技术有限公司 Method for set-up artificial equipment agency
CN101061688A (en) * 2004-11-18 2007-10-24 三星电子株式会社 Network management apparatus and method based on simple network management protocol
CN101567814A (en) * 2009-05-22 2009-10-28 清华大学 Automatic network management method based on SNMP and stochastic Petri net

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US8874776B2 (en) * 2010-03-08 2014-10-28 Telcordia Technologies, Inc. Virtual ad hoc network testbeds for network-aware applications

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1610309A (en) * 2003-10-22 2005-04-27 华为技术有限公司 Development method of management agent for supporting simple network management protocol
CN1658579A (en) * 2004-02-16 2005-08-24 华为技术有限公司 Method for set-up artificial equipment agency
CN101061688A (en) * 2004-11-18 2007-10-24 三星电子株式会社 Network management apparatus and method based on simple network management protocol
CN101567814A (en) * 2009-05-22 2009-10-28 清华大学 Automatic network management method based on SNMP and stochastic Petri net

Also Published As

Publication number Publication date
CN103634154A (en) 2014-03-12

Similar Documents

Publication Publication Date Title
CN103634154B (en) The analog systems of network state and analogy method thereof
CN104541247B (en) System and method for adjusting cloud computing system
US9880922B1 (en) System and method for automatically generating a graphical model from a text-based program
US6996517B1 (en) Performance technology infrastructure for modeling the performance of computer systems
CN102880546B (en) Software integration testing method and system based on extensible markup language (XML) database
Hemingway et al. Rapid synthesis of high-level architecture-based heterogeneous simulation: a model-based integration approach
CN106154865B (en) Vehicle-mounted bus simulation model self-generation method and system
Bertolino et al. Deriving test plans from architectural descriptions
CN103632581A (en) Debugging, operation and maintenance simulation method of electric energy collection terminals
CN101888318B (en) A kind of system and method for testing performance index of communication system
Núñez et al. SIMCAN: A flexible, scalable and expandable simulation platform for modelling and simulating distributed architectures and applications
CN110166285A (en) A kind of network security experiment porch building method based on Docker
CN103049601A (en) Information system simulation modeling method
CN100588197C (en) Gridding emulation method and its emulator
Beilharz et al. Continuously testing distributed iot systems: An overview of the state of the art
CN114297961A (en) Chip test case processing method and related device
CN111382065B (en) Verification flow management system and method based on test template
CN114840410A (en) Test analysis method and device, computer equipment and storage medium
Perrone et al. On the automation of computer network simulators
KR101138302B1 (en) Device for combination of online game server-test
Wang et al. Visualnoc: A visualization and evaluation environment for simulation and mapping
CN104239471A (en) Data query/ exchange device in behavior simulation mode and method thereof
Xu et al. Modeling the Execution Architecture of a Mobile Phone Software System by Colored Petri Nets
KR101335657B1 (en) System and method using realtime simulator and programmed system switching for the validation of large-scaled dcs
Hartman et al. A test execution environment running abstract tests for distributed software

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C14 Grant of patent or utility model
GR01 Patent grant
CF01 Termination of patent right due to non-payment of annual fee

Granted publication date: 20160817

Termination date: 20211217

CF01 Termination of patent right due to non-payment of annual fee