CN104796302A - Method and system for testing network element simulators - Google Patents

Method and system for testing network element simulators Download PDF

Info

Publication number
CN104796302A
CN104796302A CN201510185508.8A CN201510185508A CN104796302A CN 104796302 A CN104796302 A CN 104796302A CN 201510185508 A CN201510185508 A CN 201510185508A CN 104796302 A CN104796302 A CN 104796302A
Authority
CN
China
Prior art keywords
network element
analogue
management system
analogue network
management information
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.)
Pending
Application number
CN201510185508.8A
Other languages
Chinese (zh)
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.)
Datang Mobile Communications Equipment Co Ltd
Original Assignee
Datang Mobile Communications Equipment Co Ltd
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 Datang Mobile Communications Equipment Co Ltd filed Critical Datang Mobile Communications Equipment Co Ltd
Priority to CN201510185508.8A priority Critical patent/CN104796302A/en
Publication of CN104796302A publication Critical patent/CN104796302A/en
Pending legal-status Critical Current

Links

Landscapes

  • Data Exchanges In Wide-Area Networks (AREA)

Abstract

The invention provides a method and a system for testing network element simulators. The method includes: when starting a network element simulator container, reading all management information library files and loading all preset network element configuration data, wherein the network element simulator container is arranged on a terminal; when starting the network element simulators, acquiring management information library operation corresponding to the network element simulators which are arranged on the terminal, wherein the management information library operation is acquired by setting according to all management information library files; creating simple network management protocol session according to the network element configuration data corresponding to the network element simulators; utilizing the simple network management protocol session to transmit the management information library operation corresponding to the network element simulators to a network management system for network element simulator testing. By the method and the system, communication between the network management system and the network elements different in type is simulated, so that cost investment for the network management system to test various network elements is lowered.

Description

A kind of method of testing of analogue network element and system
Technical field
The present invention relates to communication technical field, particularly relate to a kind of method of testing and system of analogue network element.
Background technology
At timesharing Long Term Evolution (Time Division Long Term Evolution, TD-LTE) in network, network management system manages dissimilar network element, comprise single mode base station (the Evolved NodeB supporting TD-LTE network formats, ENB), core network device (Evolved Packet Core, EPC), support TD SDMA (Time Division-Synchronous Code Division MultipleAccess, TD-SCDMA) the single mode base station (NodeB) of network formats, support the bimodulus mould station (TLSNB) etc. of TD-SCDMA and TD-LTE two kinds of standards, network management system can be inquired about, network element etc. is set, various command operation can pass through Simple Network Management Protocol (Simple NetworkManagement Protocol, SNMP) realize alternately.
SNMP be based on transmission control protocol/Internet Protocol (Transmission ControlProtocol/Internet Protocol, TCP/IP) on application layer protocol, be mainly used to the equipment in supervising the network.This agreement composition comprises 3 parts:
1), management information bank (Management Information Base, MIB), be used for define all nodal informations relevant with business.
2), about MIB a set of public structure and represent symbol, be called structure of management information (Structure of Management Information, SMI).
3) communication protocol, between managing process and agent process, is also called Simple Network Management Protocol (SNMP), is used for the communication realized between managing process and agent process.
Network management based on SNMP comprises two parts: Network Management Station (being also managing process, Manager) and by network element, network element (being also agency, Agent).In network management system, the network equipments such as ENB, EPC, TLSNB, NodeB are by the network element of pipe, the common ground of these managed devices be exactly all run based on SNMP mutual.
Communication between network management system and network element has two kinds of modes.One is that network management system sends Get/Set type SNMP message request to network element, and inquiry or additions and deletions change the concrete parameter value of of network element (such as: the running status of inquiry network element community).Network element can start the message that 161 ports monitoring network management systems issue, and network element responds this message according to concrete business.Concrete Message Processing flow process as shown in Figure 1.Network management system issues Get/Set message to network element, and network element returns response message to network management system.
Another mode is the event trap message (one of base station and the mutual snmp message of NEA that network element initiatively has some important to network management system report, all kinds of business information that base station initiatively reports to network management system are such message), such as: a connector has gone offline.Network management system starts the trap message that 162 ports monitor reported by network elements, only processes the concrete business that trap message is carried, does not respond, as shown in Figure 2 to message.
By defining the interactive mode of as above two kinds of SNMP, network management system can all Adapted informations of managed network element.
Existing network management system, relates to and carries out communication interaction with various types of network element, and the process test of miscellaneous service.Meanwhile, the performance capability problem that the access of network element batch, network element data synchronization and extensive network element performance bring, is proposed stern challenge to the NE management function of network management system and aspect of performance.
Summary of the invention
The invention provides a kind of method of testing and system of analogue network element, to solve existing network management system, various types of network element is tested, need to build the test environment comprising various types of network element, and the problem that the cost caused increases.
In order to solve the problem, the invention discloses a kind of method of testing of analogue network element, comprising:
When starting analogue network element container, read whole management information library files and also load the whole element configuration data pre-set; Described analogue network element container is arranged in terminal;
When starting analogue network element, obtain the management information bank operation corresponding with analogue network element; Described analogue network element is arranged in described terminal; Described management information bank is operating as and obtains according to the setting of whole management information library files;
Simple Network Management Protocol session is created according to the element configuration data corresponding with analogue network element;
Utilize Simple Network Management Protocol session that the operating result that the management information bank corresponding with analogue network element operates is transferred to network management system, carry out analogue network element test.
Correspondingly, the invention also discloses a kind of test macro of analogue network element, comprising:
Read load-on module, for when starting analogue network element container, reading whole management information library files and also loading the whole element configuration data pre-set; Described analogue network element container is arranged in terminal;
Obtaining operational module, for when starting analogue network element, obtaining the management information bank operation corresponding with analogue network element; Described analogue network element is arranged in described terminal; Described management information bank is operating as and obtains according to the setting of whole management information library files;
Conversation establishing module, for creating Simple Network Management Protocol session according to the element configuration data corresponding with analogue network element;
Result transport module, for utilizing Simple Network Management Protocol session that the operating result that the management information bank corresponding with analogue network element operates is transferred to network management system, carries out analogue network element test.
Compared with background technology, the present invention includes following advantage:
The present invention can in terminal, PC such as, utilize the dynamic IP generated and analogue network element bind, dissimilar network element MIB file network management system provided is integrated in analogue network element, and by analogue network element container, analogue network element is managed, realize the function of a terminal being bound multiple analogue network element.
Network management system can send and receive the response of analogue network element on existing hardware basis, and function and performance test are carried out to analogue network element, comprise issuing and responding of miscellaneous service order, simulate the communication between network management system and dissimilar network element, reduce network management system and the cost that various network element is tested is dropped into.
Accompanying drawing explanation
Fig. 1 is the interactive mode schematic diagram of Get/Set kind of message in prior art;
Fig. 2 is the interactive mode schematic diagram of trap message in prior art;
Fig. 3 is the general structure schematic diagram of network element simulator of the present invention;
Fig. 4 is that analogue network element of the present invention disposes schematic diagram;
Fig. 5 is analogue network element container function module diagram of the present invention;
Fig. 6 is analogue network element high-level schematic functional block diagram of the present invention;
Fig. 7 is ftp business schematic flow sheet of the present invention;
Fig. 8 is MIB management service flow process schematic diagram of the present invention;
Fig. 9 is the overall traffic flow chart between network management system of the present invention and analogue network element;
Figure 10 is the heartbeat message process schematic diagram between network management system of the present invention and analogue network element;
Figure 11 is the flow chart of steps of the method for testing of a kind of analogue network element in the embodiment of the present invention one;
Figure 12 is the flow chart of steps of the method for testing of a kind of analogue network element in the embodiment of the present invention two;
Figure 13 is the structural representation of the test macro of a kind of analogue network element in the embodiment of the present invention three;
Figure 14 is the structural representation of the test macro of a kind of analogue network element in the embodiment of the present invention four.
Embodiment
For enabling above-mentioned purpose of the present invention, feature and advantage become apparent more, and below in conjunction with the drawings and specific embodiments, the present invention is further detailed explanation.
The present invention proposes a set of perfect network management system carries out function and performance test technical scheme to network element.Technical solution of the present invention only needs simply to configure analogue network element just can build simulation polytype and extensive network element scene at laboratory environment.User of service configures multiple IP by batch processing script file on PC, and each IP can create a SNMP session, and the corresponding analogue network element of each session, realizes the function of a PC being bound multiple analogue network element.Technical solution of the present invention can be integrated into the different network elements MIB that network management system provides in analogue network element, multiple version network element mib file is managed by analogue network element Manage Containers and network element pond reasonable distribution, can corresponding polytype analogue network element, and then realize the management to polytype analogue network element.Network management system can send and receive the response of analogue network element, and network management system can carry out function and performance test to analogue network element, comprises issuing and responding of miscellaneous service order, simulates the communication between network management system and dissimilar analogue network element.
In technical solution of the present invention, the analogue technique of analogue network element is mainly divided into two parts, respectively: analogue network element and analogue network element container.An analogue network element can represent a true network element, possesses the miscellaneous service function of Custom Prosthesis, can autonomous communicating with network management system.Analogue network element, in analogue network element container, carries out unified management by the core network element pond of analogue network element container, completes and communication between network management system.The overall structure of technical solution of the present invention as shown in Figure 3, tester utilizes network element simulator to configure analogue network element and analogue network element container, analogue network element container is utilized to manage analogue network element and mib file, simultaneously, analogue network element can execute file host-host protocol (File Transfer Protocol, ftp) process, SNMP process, dcb file (data consistency file.A kind of file that base station reports this file to be used for keeping base station consistent with the configuration data that network management system manages) process and mib file management.Network management system can carry out function and performance test to analogue network element.
Above-mentioned analogue network element is deployed on the PC of installation Windows system or unix system, and the configuration of many IP supported by PC, and each IP binds an analogue network element, and analogue network element is communicated with network management system by the IP of binding.Each network element simulator software can run at least 50 analogue network elements in theory, disposes as shown in Figure 4.
Analogue network element container has two main modular, is NE management module and MIB administration module respectively.Analogue network element container provides startup and down interface, possesses the startup of control simulation network element, function that stopping, loading configuration data, network element pond provide management mib file.When starting analogue network element container, all mib files are read from MIB administration module in network element pond, and the element configuration data of NE management module loading planning, starts all analogue network elements.When closing analogue network element container, the configuration data of unloading analogue network element, the analogue network element of all run modes quits work, and the structure of analogue network element container as shown in Figure 5.
The function of analogue network element is subdivided into: startup, stopping, network element data storage, configuration, alarm, order line, software, performance eight functions.Analogue network element possesses its SNMP data run of configuration, comprises local SNMP port (being defaulted as 161), local IP, network management system binding IP, corresponding SNMP port (being defaulted as 162) of network management system, mib file path and title.These data load when analogue network element starts, and unload during stopping.The SNMP data of analogue network element need separate configurations, and are starting the preplanning of network element simulator.When analogue network element starts, create SNMP session according to configuration file, load mib file, initialization base station stored data, monitor network management system end message.Unload element configuration data during stopping, closing SNMP session, the function composition of analogue network element as shown in Figure 6.
The interacting message mode of network management system and analogue network element has two kinds.One is that network management system completes interacting message by SNMP and analogue network element, another kind of mode be analogue network element directly by files passe to ftp server, the trap message then by SNMP informs that network management system file is uploaded.Therefore analogue network element needs treatment S NMP and FTP.
Analogue network element is according to the request of network management system, and upload file, to ftp server, then sends trap message informing network management system extraction document.Need to log in FTP, inquiry FTP catalogue, created FTP catalogue, uploaded ftp file, deleted ftp file, published FTP function.Relate to the concrete handling process of ftp business as shown in Figure 7, network management system is issued the documents to analogue network element and is transmitted request, analogue network element is by file transfer to ftp server, and analogue network element is to network management system reporting file transmission result trap message, and network management system resolves the file on ftp server.
The process of analogue network element to SNMP has 2 points: 1, MIB management; 2, all kinds of snmp message management.Wherein, mib file defines the business datum node of analogue network element, and the mib file of dissimilar analogue network element definition is different.By the management to MIB, analogue network element can report dissimilar network element data, thus realizes the simulation to dissimilar network element.Analogue network element defines the dissimilar mib file such as ENB, EPC, NodeB, TLSNB, these mib file special definition are in a MIB Manage Containers, when analogue network element container starts, the administrative class of its correspondence is loaded into MIB Manage Containers, and starts network element pond and dispatch.Network element pond is called MIB Manage Containers and is obtained the various operation of MIB, in time having interacting message, calls the various message of MIB operation assembling with NE type coupling.MIB management service flow process as shown in Figure 8, analogue network element container reads mib file, and arranges MIB operation, and MIB operation is put into MIB container by analogue network element container, analogue network element obtains MIB operation according to NE type from MIB container, and the MIB operation set of correspondence is sent to analogue network element by MIB container.
After establishment SNMP described above session, analogue network element just opens the message that 161 port waits network management systems issue.Analogue network element after receiving the message, start a message scheduler, message distribution is processed to different process classes, these process classes set in configuration file, in time starting analogue network element, network element pond loads existing information, and the kind of scheduling assignment message is assigned to corresponding process class.
For concrete message, first analogue network element resolves Packet Data Unit (Packet Data Unit, PDU), by object identity (the Object Identifier of Variable-Bindings in PDU, OID) flag node corresponding in mib file is resolved to, again according to the corresponding value of concrete business backfill, assembling response pdus, returns to network management system.
Analogue network element, to the process of trap message, only needs the IP configuring network management system, according to concrete business, finds corresponding trap node, is assembled into trap message, then reports network management system, carry out the functional test of analogue network element and network management system in mib file.The trap message of analogue network element can be arranged by configuration file and send granularity, quantity forwarded, transmission trap particular content, the various information such as transmission opportunity, make analogue network element can report thousands of bar trap message, thus manufacturing " message storm ", simulation information reporting carries out performance test and pressure test to network management system.
Technical solution of the present invention describes the modules that analogue network element possesses in figure 6.Main point of two pieces of contents, first piece is run the configuration data processing module that must start for analogue network element, and second piece is then the concrete Service Processing Module to network management system.
First piece of startup comprising analogue network element, stopping, network element data store three parts.Start analogue network element to describe existing above, need to load element configuration data, create SNMP session, the data that create NE store, send the processes such as the request of network element access to network management system, stop analogue network element running then contrary with startup, unloading configuration data, stopping SNMP session, unloading data store.Data are stored in the whole process of compression and decompression, and based on being all, database provides necessary data to analogue network element.
Second piece of configuration module comprising network management system, order line module, software module, performance module, alarm module and analogue network element carry out the module of concrete service interaction.Whole interacting message, all that network management system transmitting order to lower levels is to analogue network element, analogue network element replys message to network management system according to concrete business, overall traffic flow chart as shown in Figure 9, network management system is to the message reception module issuing message in analogue network element, message is sent to message distribution module by message reception module, and message is sent to concrete message processing module by message distribution module again, and concrete message processing module returns the message after process to network management system.
Judge whether analogue network element is connected in addition, and network management system can issue heartbeat message every 5 seconds, the network management system and analogue network element can make an immediate response after receiving heartbeat message by issuing of heartbeat message with responding between network management system with analogue network element, as shown in Figure 10.If analogue network element can receive the heartbeat message of network management system at every turn, that connection status is normal.If the continuous heartbeat message all not receiving network management system and issue for three times of analogue network element; then analogue network element thinks that link disconnects; will again to set out access request process; again with this, access to network management system, ensures that the link between network management system and analogue network element has the function of link abnormal restoring.
It should be noted that, above-mentioned network management system issues time interval of heartbeat message and analogue network element judges that the number of times not receiving heartbeat message can set according to actual conditions.
Below by method of testing and the system of enumerating several specific embodiment and introduce in detail a kind of analogue network element provided by the invention.
Embodiment one
Introduce the method for testing of a kind of analogue network element that the embodiment of the present invention provides in detail.
With reference to Figure 11, show the flow chart of steps of the method for testing of a kind of analogue network element in the embodiment of the present invention.
Step 100, when starting analogue network element container, reads whole management information library files and also loads the whole element configuration data pre-set.
Wherein, described analogue network element container can be arranged in terminal.Such as, analogue network element container can be arranged on the PC of installation Windows system or unix system.
Analogue network element container has two main modular, is NE management module and MIB administration module respectively.Analogue network element container provides startup and down interface, possesses the startup of control simulation network element, function that stopping, loading configuration data, network element pond provide management mib file.When starting analogue network element container, all mib files are read from MIB administration module in network element pond, and the element configuration data of NE management module loading planning, starts all analogue network elements.When closing analogue network element container, the configuration data of unloading analogue network element, the analogue network element of all run modes quits work.
Step 102, when starting analogue network element, obtains the management information bank operation corresponding with analogue network element.
Wherein, described analogue network element can be arranged in described terminal.Such as, analogue network element can be arranged on the PC of installation Windows system or unix system, and analogue network element and analogue network element container are arranged in same terminal.
The function of analogue network element is subdivided into: startup, stopping, network element data storage, configuration, alarm, order line, software, performance eight functions.Analogue network element possesses its SNMP data run of configuration, comprises local SNMP port (being defaulted as 161), local IP, network management system binding IP, corresponding SNMP port (being defaulted as 162) of network management system, mib file path and title.Described management information bank operation can obtain for arranging according to whole management information library files.
Step 104, creates Simple Network Management Protocol session according to the element configuration data corresponding with analogue network element.
Its SNMP data run of the configuration that analogue network element possesses load when analogue network element starts, and unload during stopping.The SNMP data of analogue network element need separate configurations, and are starting the preplanning of network element simulator.When analogue network element starts, create SNMP session according to configuration file, load mib file, initialization base station stored data, monitor network management system end message.Unload element configuration data during stopping, closing SNMP session.
Step 106, utilizes Simple Network Management Protocol session that the operating result that the management information bank corresponding with analogue network element operates is transferred to network management system, carries out analogue network element test.
The interacting message mode of network management system and analogue network element has two kinds.One is that network management system completes interacting message by SNMP and analogue network element, another kind of mode be analogue network element directly by files passe to ftp server, the trap message then by SNMP informs that network management system file is uploaded.Therefore analogue network element needs treatment S NMP and FTP.
Analogue network element is according to the request of network management system, and upload file, to ftp server, then sends trap message informing network management system extraction document.Need to log in FTP, inquiry FTP catalogue, created FTP catalogue, uploaded ftp file, deleted ftp file, published FTP function.
After establishment SNMP described above session, analogue network element just opens the message that 161 port waits network management systems issue.Analogue network element after receiving the message, start a message scheduler, message distribution is processed to different process classes, these process classes set in configuration file, in time starting analogue network element, network element pond loads existing information, and the kind of scheduling assignment message is assigned to corresponding process class.
In sum, the embodiment of the present invention can in terminal, PC such as, utilize the dynamic IP generated and analogue network element bind, dissimilar network element MIB file network management system provided is integrated in analogue network element, and by analogue network element container, analogue network element is managed, realize the function of a terminal being bound multiple analogue network element.
Network management system can send and receive the response of analogue network element on existing hardware basis, and function and performance test are carried out to analogue network element, comprise issuing and responding of miscellaneous service order, simulate the communication between network management system and dissimilar network element, reduce network management system and the cost that various network element is tested is dropped into.
Embodiment two
Introduce the method for testing of a kind of analogue network element that the embodiment of the present invention provides in detail.
With reference to Figure 12, show the flow chart of steps of the method for testing of a kind of analogue network element in the embodiment of the present invention.
Step 200, when starting analogue network element container, reads whole management information library files and also loads the whole element configuration data pre-set.
Wherein, described analogue network element container can be arranged in terminal.Such as, analogue network element container can be arranged on the PC of installation Windows system or unix system.
Analogue network element container has two main modular, is NE management module and MIB administration module respectively.Analogue network element container provides startup and down interface, possesses the startup of control simulation network element, function that stopping, loading configuration data, network element pond provide management mib file.When starting analogue network element container, all mib files are read from MIB administration module in network element pond, and the element configuration data of NE management module loading planning, starts all analogue network elements.When closing analogue network element container, the configuration data of unloading analogue network element, the analogue network element of all run modes quits work.
Preferably, described whole management information library file can be arranged in management information bank Manage Containers.
Step 202, when starting analogue network element, obtains the management information bank operation corresponding with analogue network element.
Wherein, described analogue network element can be arranged in described terminal.Such as, analogue network element can be arranged on the PC of installation Windows system or unix system, and analogue network element and analogue network element container are arranged in same terminal.
The function of analogue network element is subdivided into: startup, stopping, network element data storage, configuration, alarm, order line, software, performance eight functions.Analogue network element possesses its SNMP data run of configuration, comprises local SNMP port (being defaulted as 161), local IP, network management system binding IP, corresponding SNMP port (being defaulted as 162) of network management system, mib file path and title.Described management information bank operation can obtain for arranging according to whole management information library files.
Preferably, described analogue network element and the internet protocol address pre-set are bound one to one, and binding has the analogue network element of internet protocol address to be arranged in analogue network element container.
Step 204, creates Simple Network Management Protocol session according to the element configuration data corresponding with analogue network element.
Its SNMP data run of the configuration that analogue network element possesses load when analogue network element starts, and unload during stopping.The SNMP data of analogue network element need separate configurations, and are starting the preplanning of network element simulator.When analogue network element starts, create SNMP session according to configuration file, load mib file, initialization base station stored data, monitor network management system end message.Unload element configuration data during stopping, closing SNMP session.
Step 206, utilizes Simple Network Management Protocol session that the operating result that the management information bank corresponding with analogue network element operates is transferred to network management system, carries out analogue network element test.
The interacting message mode of network management system and analogue network element has two kinds.One is that network management system completes interacting message by SNMP and analogue network element, another kind of mode be analogue network element directly by files passe to ftp server, the trap message then by SNMP informs that network management system file is uploaded.Therefore analogue network element needs treatment S NMP and FTP.
Analogue network element is according to the request of network management system, and upload file, to ftp server, then sends trap message informing network management system extraction document.Need to log in FTP, inquiry FTP catalogue, created FTP catalogue, uploaded ftp file, deleted ftp file, published FTP function.
After establishment SNMP described above session, analogue network element just opens the message that 161 port waits network management systems issue.Analogue network element after receiving the message, start a message scheduler, message distribution is processed to different process classes, these process classes set in configuration file, in time starting analogue network element, network element pond loads existing information, and the kind of scheduling assignment message is assigned to corresponding process class.
Preferably, described step 206 can perform according to the one in following two kinds of situations:
(1) SNMP is utilized:
Step 2061, utilizes Simple Network Management Protocol session to receive the test post of network management system transmission.
After establishment SNMP described above session, analogue network element just opens the message that 161 port waits network management systems issue.
Step 2062, obtains corresponding with test post, and the management information bank operation corresponding with analogue network element.
Preferably, described step 2062 can be:
Obtain corresponding with test post according to the element configuration data corresponding with analogue network element, and the management information bank operation corresponding with analogue network element.
Analogue network element after receiving the message, start a message scheduler, message distribution is processed to different process classes, these process classes set in configuration file, in time starting analogue network element, network element pond loads existing information, and the kind of scheduling assignment message is assigned to corresponding process class.
Step 2063, by corresponding with test post, and the operating result of the management information bank operation corresponding with analogue network element transfers to network management system.
For concrete message, first analogue network element resolves PDU, the OID of Variable-Bindings in PDU is resolved to flag node corresponding in mib file, then according to the corresponding value of concrete business backfill, assembling response pdus, returns to network management system.
(2) FTP is utilized:
Step 2064, obtains the file transfer requests that network management system issues.
File transfer requests is the transmission request of the operating result of the management information bank operation corresponding with analogue network element.
Step 2065, transfers to ftp server according to file transfer requests by operating result.
Analogue network element is according to the request of network management system, and upload file is to ftp server.
Step 2066, sends a notification message to network management system, and notice network management system obtains the operating result transferring to ftp server.
Send trap message informing network management system extraction document.
Step 208, judges whether not receive in preset time the heartbeat message that network management system issues; If do not receive, then perform step 210; If receive, then determine that the link between analogue network element with network management system is connected normally.
Preset time can set according to actual conditions, several times that usually can be set to that network management system issues the time interval of heartbeat message.
Judge whether analogue network element is connected in addition, and network management system can issue heartbeat message every 5 seconds, the network management system and analogue network element can make an immediate response after receiving heartbeat message by issuing of heartbeat message with responding between network management system with analogue network element.If analogue network element can receive the heartbeat message of network management system at every turn, that connection status is normal.
Step 210, sends access request message, to set up the communication link between analogue network element and network management system to network management system.
If continuous three times of analogue network element (or other number of times or the time interval) does not all receive the heartbeat message that network management system issues; then analogue network element thinks that link disconnects; will again to set out access request process; again with this, access to network management system, ensures that the link between network management system and analogue network element has the function of link abnormal restoring.
It should be noted that, above-mentioned steps 208 can perform in any time of the embodiment of the present invention.
In sum, the embodiment of the present invention can in terminal, PC such as, utilize the dynamic IP generated and analogue network element bind, dissimilar network element MIB file network management system provided is integrated in analogue network element, and by analogue network element container, analogue network element is managed, realize the function of a terminal being bound multiple analogue network element.
Network management system can send and receive the response of analogue network element on existing hardware basis, and function and performance test are carried out to analogue network element, comprise issuing and responding of miscellaneous service order, simulate the communication between network management system and dissimilar network element, reduce network management system and the cost that various network element is tested is dropped into.
Embodiment three
Introduce the test macro of a kind of analogue network element that the embodiment of the present invention provides in detail.
With reference to Figure 13, show the structural representation of the test macro of a kind of analogue network element in the embodiment of the present invention.
Described system can comprise: read load-on module 300, obtains operational module 302, conversation establishing module 304, result transport module 306.
Introduce the relation between the function of each module and each module below respectively in detail.
Read load-on module 300, for when starting analogue network element container, reading whole management information library files and also loading the whole element configuration data pre-set.
Described analogue network element container can be arranged in terminal.
Obtaining operational module 302, for when starting analogue network element, obtaining the management information bank operation corresponding with analogue network element.
Described analogue network element can be arranged in described terminal.
Described management information bank operation can obtain for arranging according to whole management information library files.
Conversation establishing module 304, for creating Simple Network Management Protocol session according to the element configuration data corresponding with analogue network element.
Result transport module 306, for utilizing Simple Network Management Protocol session that the operating result that the management information bank corresponding with analogue network element operates is transferred to network management system, carries out analogue network element test.
In sum, the embodiment of the present invention can in terminal, PC such as, utilize the dynamic IP generated and analogue network element bind, dissimilar network element MIB file network management system provided is integrated in analogue network element, and by analogue network element container, analogue network element is managed, realize the function of a terminal being bound multiple analogue network element.
Network management system can send and receive the response of analogue network element on existing hardware basis, and function and performance test are carried out to analogue network element, comprise issuing and responding of miscellaneous service order, simulate the communication between network management system and dissimilar network element, reduce network management system and the cost that various network element is tested is dropped into.
Embodiment four
Introduce the test macro of a kind of analogue network element that the embodiment of the present invention provides in detail.
With reference to Figure 14, show the structural representation of the test macro of a kind of analogue network element in the embodiment of the present invention.
Described system can comprise: read load-on module 400, obtains operational module 402, conversation establishing module 404, result transport module 406, message judge module 408, access request sending module 410.
Wherein, result transport module 406 can comprise: test post receiver module 4061, respective operations acquisition module 4062, corresponding result transport module 4063.
Result transport module 406 can also comprise: transmission acquisition request module 4064, operating result transport module 4065, notification message sending module 4066.
It should be noted that, test post receiver module 4061 in result transport module 406, respective operations acquisition module 4062 and corresponding result transport module 4063 can as independent one group of modules, transmission acquisition request module 4064, operating result transport module 4065 and notification message sending module 4066 can as another independent group modules.Two independent modules in groups can separately be run.
Introduce the relation between the function of each module and each module below respectively in detail.
Read load-on module 400, for when starting analogue network element container, reading whole management information library files and also loading the whole element configuration data pre-set.
Described analogue network element container can be arranged in terminal.
Preferably, described whole management information library file is arranged in management information bank Manage Containers.
Obtaining operational module 402, for when starting analogue network element, obtaining the management information bank operation corresponding with analogue network element.
Described analogue network element can be arranged in described terminal.
Described management information bank operation can obtain for arranging according to whole management information library files.
Preferably, described analogue network element is bound one to one with the internet protocol address pre-set; Binding has the analogue network element of internet protocol address to be arranged in analogue network element container.
Conversation establishing module 404, for creating Simple Network Management Protocol session according to the element configuration data corresponding with analogue network element.
Result transport module 406, for utilizing Simple Network Management Protocol session that the operating result that the management information bank corresponding with analogue network element operates is transferred to network management system, carries out analogue network element test.
Preferably, described result transport module 406 can comprise:
Test post receiver module 4061, for the test post utilizing Simple Network Management Protocol session to receive network management system transmission.
Respective operations acquisition module 4062, corresponding with test post for obtaining, and the management information bank operation corresponding with analogue network element.
Preferably, described respective operations acquisition module 4062 obtains corresponding with test post according to the element configuration data corresponding with analogue network element, and the management information bank operation corresponding with analogue network element.
Corresponding result transport module 4063, for by corresponding with test post, and the operating result of the management information bank operation corresponding with analogue network element transfers to network management system.
Preferably, described result transport module 406, can also comprise:
Transmission acquisition request module 4064, for obtaining the file transfer requests that network management system issues; File transfer requests is the transmission request of the operating result of the management information bank operation corresponding with analogue network element.
Operating result transport module 4065, for transferring to ftp server according to file transfer requests by operating result.
Notification message sending module 4066, for sending a notification message to network management system, notice network management system obtains the operating result transferring to ftp server.
Message judge module 408, for judging whether not receive in preset time the heartbeat message that network management system issues.
Access request sending module 410, if for not receiving the heartbeat message that network management system issues in preset time, then sends access request message, to set up the communication link between analogue network element and network management system to network management system.
In sum, the embodiment of the present invention can in terminal, PC such as, utilize the dynamic IP generated and analogue network element bind, dissimilar network element MIB file network management system provided is integrated in analogue network element, and by analogue network element container, analogue network element is managed, realize the function of a terminal being bound multiple analogue network element.
Network management system can send and receive the response of analogue network element on existing hardware basis, and function and performance test are carried out to analogue network element, comprise issuing and responding of miscellaneous service order, simulate the communication between network management system and dissimilar network element, reduce network management system and the cost that various network element is tested is dropped into.
For system embodiment, due to itself and embodiment of the method basic simlarity, so description is fairly simple, relevant part illustrates see the part of embodiment of the method.
Each embodiment in this specification all adopts the mode of going forward one by one to describe, and what each embodiment stressed is the difference with other embodiments, between each embodiment identical similar part mutually see.
Above to method of testing and the system of a kind of analogue network element that the embodiment of the present invention provides, be described in detail, apply specific case herein to set forth principle of the present invention and execution mode, the explanation of above embodiment just understands method of the present invention and core concept thereof for helping; Meanwhile, for one of ordinary skill in the art, according to thought of the present invention, all will change in specific embodiments and applications, in sum, this description should not be construed as limitation of the present invention.

Claims (14)

1. a method of testing for analogue network element, is characterized in that, comprising:
When starting analogue network element container, read whole management information library files and also load the whole element configuration data pre-set; Described analogue network element container is arranged in terminal;
When starting analogue network element, obtain the management information bank operation corresponding with analogue network element; Described analogue network element is arranged in described terminal; Described management information bank is operating as and obtains according to the setting of whole management information library files;
Simple Network Management Protocol session is created according to the element configuration data corresponding with analogue network element;
Utilize Simple Network Management Protocol session that the operating result that the management information bank corresponding with analogue network element operates is transferred to network management system, carry out analogue network element test.
2. method according to claim 1, is characterized in that, described analogue network element and the internet protocol address pre-set are bound one to one;
Binding has the analogue network element of internet protocol address to be arranged in analogue network element container.
3. method according to claim 1, is characterized in that, describedly utilizes Simple Network Management Protocol session that the operating result that the management information bank corresponding with analogue network element operates is transferred to network management system, comprising:
Simple Network Management Protocol session is utilized to receive the test post of network management system transmission;
Obtain corresponding with test post, and the management information bank operation corresponding with analogue network element;
By corresponding with test post, and the operating result of the management information bank operation corresponding with analogue network element transfers to network management system.
4. method according to claim 3, is characterized in that, described acquisition is corresponding with test post, and the management information bank operation corresponding with analogue network element, comprising:
Obtain corresponding with test post according to the element configuration data corresponding with analogue network element, and the management information bank operation corresponding with analogue network element.
5. method according to claim 1, is characterized in that, describedly utilizes Simple Network Management Protocol session that the operating result that the management information bank corresponding with analogue network element operates is transferred to network management system, comprising:
Obtain the file transfer requests that network management system issues; File transfer requests is the transmission request of the operating result of the management information bank operation corresponding with analogue network element;
According to file transfer requests, operating result is transferred to ftp server;
Send a notification message to network management system, notice network management system obtains the operating result transferring to ftp server.
6. method according to claim 1, is characterized in that, described method also comprises:
Judge whether not receive in preset time the heartbeat message that network management system issues;
If do not receive, then send access request message, to set up the communication link between analogue network element and network management system to network management system.
7. method according to claim 1, is characterized in that, described whole management information library file is arranged in management information bank Manage Containers.
8. a test macro for analogue network element, is characterized in that, comprising:
Read load-on module, for when starting analogue network element container, reading whole management information library files and also loading the whole element configuration data pre-set; Described analogue network element container is arranged in terminal;
Obtaining operational module, for when starting analogue network element, obtaining the management information bank operation corresponding with analogue network element; Described analogue network element is arranged in described terminal; Described management information bank is operating as and obtains according to the setting of whole management information library files;
Conversation establishing module, for creating Simple Network Management Protocol session according to the element configuration data corresponding with analogue network element;
Result transport module, for utilizing Simple Network Management Protocol session that the operating result that the management information bank corresponding with analogue network element operates is transferred to network management system, carries out analogue network element test.
9. system according to claim 8, is characterized in that, described analogue network element and the internet protocol address pre-set are bound one to one;
Binding has the analogue network element of internet protocol address to be arranged in analogue network element container.
10. system according to claim 8, is characterized in that, described result transport module, comprising:
Test post receiver module, for the test post utilizing Simple Network Management Protocol session to receive network management system transmission;
Respective operations acquisition module, corresponding with test post for obtaining, and the management information bank operation corresponding with analogue network element;
Corresponding result transport module, for by corresponding with test post, and the operating result of the management information bank operation corresponding with analogue network element transfers to network management system.
11. systems according to claim 10, is characterized in that, described respective operations acquisition module obtains corresponding with test post according to the element configuration data corresponding with analogue network element, and the management information bank operation corresponding with analogue network element.
12. systems according to claim 8, is characterized in that, described result transport module, comprising:
Transmission acquisition request module, for obtaining the file transfer requests that network management system issues; File transfer requests is the transmission request of the operating result of the management information bank operation corresponding with analogue network element;
Operating result transport module, for transferring to ftp server according to file transfer requests by operating result;
Notification message sending module, for sending a notification message to network management system, notice network management system obtains the operating result transferring to ftp server.
13. systems according to claim 8, is characterized in that, described system also comprises:
Message judge module, for judging whether not receive in preset time the heartbeat message that network management system issues;
Access request sending module, if for not receiving the heartbeat message that network management system issues in preset time, then sends access request message, to set up the communication link between analogue network element and network management system to network management system.
14. systems according to claim 8, is characterized in that, described whole management information library file is arranged in management information bank Manage Containers.
CN201510185508.8A 2015-04-17 2015-04-17 Method and system for testing network element simulators Pending CN104796302A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201510185508.8A CN104796302A (en) 2015-04-17 2015-04-17 Method and system for testing network element simulators

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201510185508.8A CN104796302A (en) 2015-04-17 2015-04-17 Method and system for testing network element simulators

Publications (1)

Publication Number Publication Date
CN104796302A true CN104796302A (en) 2015-07-22

Family

ID=53560830

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201510185508.8A Pending CN104796302A (en) 2015-04-17 2015-04-17 Method and system for testing network element simulators

Country Status (1)

Country Link
CN (1) CN104796302A (en)

Cited By (14)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105141481A (en) * 2015-09-21 2015-12-09 烽火通信科技股份有限公司 Automatic test method of network element management unit and system
CN105389253A (en) * 2015-10-19 2016-03-09 烽火通信科技股份有限公司 Method and system for simulating client to execute network element management based on multithreading technology
CN106100910A (en) * 2016-08-18 2016-11-09 瑞斯康达科技发展股份有限公司 A kind of methods, devices and systems realizing power fail warning
CN106776346A (en) * 2017-01-18 2017-05-31 鼎点视讯科技有限公司 The method of testing and device of CCMTS equipment
CN107483295A (en) * 2017-09-22 2017-12-15 武汉虹信通信技术有限责任公司 A kind of method of testing of network management system disposal ability
CN105391601B (en) * 2015-12-09 2018-08-07 瑞斯康达科技发展股份有限公司 A kind of performance test methods and system of Network Management Equipment
CN108737134A (en) * 2017-04-19 2018-11-02 中兴通讯股份有限公司 A kind of analogue web element testing method and device
CN109348498A (en) * 2018-10-30 2019-02-15 京信通信系统(中国)有限公司 NM server test method, device and system
CN110213103A (en) * 2019-06-03 2019-09-06 北京盟力星科技有限公司 A kind of measuring management device based on Network Management System
CN110875840A (en) * 2018-09-03 2020-03-10 中兴通讯股份有限公司 Network element management method, device, system and storage medium
CN111082984A (en) * 2019-12-13 2020-04-28 中盈优创资讯科技有限公司 Method and device for simulating login of network equipment to carry out command line interaction
CN112543473A (en) * 2020-12-29 2021-03-23 中国移动通信集团江苏有限公司 Test method, device and equipment based on network element simulation and computer storage medium
CN114124727A (en) * 2021-11-08 2022-03-01 中信科移动通信技术股份有限公司 Network management communication pressure testing method and system
CN114554532A (en) * 2022-03-09 2022-05-27 武汉烽火技术服务有限公司 5G device high-concurrency simulation method and device

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2003069935A1 (en) * 2002-02-15 2003-08-21 Validitas Oy Device for testing packet-switched cellular radio network
CN1901479A (en) * 2005-07-19 2007-01-24 中兴通讯股份有限公司 Analogue method based on custom-made multiple type net element
US20070136451A1 (en) * 2005-12-14 2007-06-14 Samsung Electronics Co., Ltd. Method of providing interoperability of heterogeneous network devices and network device using the same
CN1992635A (en) * 2005-12-27 2007-07-04 中兴通讯股份有限公司 Method of simulating SNMP network element and performing network management system test with the network element
CN102036275A (en) * 2010-12-08 2011-04-27 大唐移动通信设备有限公司 Simulator and message processing method
CN102064976A (en) * 2009-11-17 2011-05-18 鼎桥通信技术有限公司 Synchronization configuration system and method for testing network element and simulation network element testing tool

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2003069935A1 (en) * 2002-02-15 2003-08-21 Validitas Oy Device for testing packet-switched cellular radio network
CN1901479A (en) * 2005-07-19 2007-01-24 中兴通讯股份有限公司 Analogue method based on custom-made multiple type net element
US20070136451A1 (en) * 2005-12-14 2007-06-14 Samsung Electronics Co., Ltd. Method of providing interoperability of heterogeneous network devices and network device using the same
CN1992635A (en) * 2005-12-27 2007-07-04 中兴通讯股份有限公司 Method of simulating SNMP network element and performing network management system test with the network element
CN102064976A (en) * 2009-11-17 2011-05-18 鼎桥通信技术有限公司 Synchronization configuration system and method for testing network element and simulation network element testing tool
CN102036275A (en) * 2010-12-08 2011-04-27 大唐移动通信设备有限公司 Simulator and message processing method

Cited By (21)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105141481A (en) * 2015-09-21 2015-12-09 烽火通信科技股份有限公司 Automatic test method of network element management unit and system
CN105141481B (en) * 2015-09-21 2018-05-29 烽火通信科技股份有限公司 A kind of automated testing method and system of NE management unit
CN105389253A (en) * 2015-10-19 2016-03-09 烽火通信科技股份有限公司 Method and system for simulating client to execute network element management based on multithreading technology
CN105389253B (en) * 2015-10-19 2017-12-08 烽火通信科技股份有限公司 The method and system of NE management are performed based on multithreading simulant-client
CN105391601B (en) * 2015-12-09 2018-08-07 瑞斯康达科技发展股份有限公司 A kind of performance test methods and system of Network Management Equipment
CN106100910A (en) * 2016-08-18 2016-11-09 瑞斯康达科技发展股份有限公司 A kind of methods, devices and systems realizing power fail warning
CN106100910B (en) * 2016-08-18 2019-10-25 瑞斯康达科技发展股份有限公司 A kind of methods, devices and systems for realizing power fail warning
CN106776346A (en) * 2017-01-18 2017-05-31 鼎点视讯科技有限公司 The method of testing and device of CCMTS equipment
CN108737134A (en) * 2017-04-19 2018-11-02 中兴通讯股份有限公司 A kind of analogue web element testing method and device
CN107483295A (en) * 2017-09-22 2017-12-15 武汉虹信通信技术有限责任公司 A kind of method of testing of network management system disposal ability
CN110875840B (en) * 2018-09-03 2021-10-15 中兴通讯股份有限公司 Network element management method, device, system and storage medium
CN110875840A (en) * 2018-09-03 2020-03-10 中兴通讯股份有限公司 Network element management method, device, system and storage medium
WO2020048453A1 (en) * 2018-09-03 2020-03-12 南京中兴软件有限责任公司 Network element management method and apparatus, system and storage medium
CN109348498A (en) * 2018-10-30 2019-02-15 京信通信系统(中国)有限公司 NM server test method, device and system
CN110213103A (en) * 2019-06-03 2019-09-06 北京盟力星科技有限公司 A kind of measuring management device based on Network Management System
CN111082984A (en) * 2019-12-13 2020-04-28 中盈优创资讯科技有限公司 Method and device for simulating login of network equipment to carry out command line interaction
CN112543473A (en) * 2020-12-29 2021-03-23 中国移动通信集团江苏有限公司 Test method, device and equipment based on network element simulation and computer storage medium
CN112543473B (en) * 2020-12-29 2022-09-06 中国移动通信集团江苏有限公司 Test method, device and equipment based on network element simulation and computer storage medium
CN114124727A (en) * 2021-11-08 2022-03-01 中信科移动通信技术股份有限公司 Network management communication pressure testing method and system
CN114124727B (en) * 2021-11-08 2023-10-31 中信科移动通信技术股份有限公司 Network management communication pressure testing method and system
CN114554532A (en) * 2022-03-09 2022-05-27 武汉烽火技术服务有限公司 5G device high-concurrency simulation method and device

Similar Documents

Publication Publication Date Title
CN104796302A (en) Method and system for testing network element simulators
CN109889551B (en) Method for accessing intelligent hardware to Internet of things cloud platform
US20200162345A1 (en) Method, system and options for multi-operator service life cycle management
CN101083557B (en) SNMP based IP network cluster managerial approach
CN103731870B (en) The management method and device of monitor task
CN105429773B (en) A kind of distributed automatization test system and the management configuration method for testing terminal
CN101887379A (en) Virtual network card-based wireless channel simulation method
CN107483297B (en) Active monitoring system and method for quality of service carried on embedded equipment
US20180124168A1 (en) Load balancing server for forwarding prioritized traffic from and to one or more prioritized auto-configuration servers
CN107786671A (en) A kind of power equipment remote test system
CN110493059A (en) The system and method that more platform of internet of things based on cloud firmware load automatically
CN101212346B (en) Software version management method and device for network element management system
CN106445611B (en) Big data node system and automatic deployment method
Kousaridas et al. 5g vehicle-to-everything services in cross-border environments: Standardization and challenges
CN1937461B (en) Terminal test device based on terminal management business
CN101207525B (en) System and apparatus for testing wireless network controller signaling processing module
CN111752675A (en) Internet of things platform based on containerization technology
US20240214273A1 (en) Method for operating a central office point of delivery instance of or for a broadband access network of a telecommunications network, the central office point of delivery instance being connected to a central office point of delivery management entity, system comprising a central office point of delivery instance and a central office point of delivery management entity, telecommunications network, central office point of delivery instance or central office point of delivery management entity
CN106533716B (en) A kind of management method and system of northbound interface
CN112650815B (en) Method and device for synchronizing environment data, storage medium and electronic device
US8719394B2 (en) Method and arrangement for a modification of network management schema
CN105207811A (en) Method and apparatus for replacing non-AllJoyn equipment
CN108123822B (en) Link processing method and link processing equipment
CN102594614A (en) Software version monitoring method of message middleware and data exchange equipment
CN114666233B (en) Network resource request method and related equipment thereof

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
EXSB Decision made by sipo to initiate substantive examination
SE01 Entry into force of request for substantive examination
RJ01 Rejection of invention patent application after publication

Application publication date: 20150722

RJ01 Rejection of invention patent application after publication