Summary of the invention
The shortcoming of prior art in view of the above, the object of the present invention is to provide a kind of NM client Topology Management system and method, can not manage dissimilar equipment for solving prior art Topology Management system, shortage property and portability, network system is in the problem that needs the user manually to complete aspect the change of logical topology figure.
Reach for achieving the above object other relevant purposes, the invention provides a kind of NM client Topology Management system, be applied to the network management system formed by server end and client, network topology structure in described network management system is according to zone, the level of subnet and equipment manages, described NM client Topology Management system comprises: the topological tree generation module, for when network increases main equipment, from client, increasing the main equipment order, under the main equipment authentication that the reception server end returns according to increasing the main equipment order and main equipment, from equipment identities, authenticate, preserve the main equipment authentication increased and authenticate in the node chained list from equipment identities, select Network Management Model, generate the subtopology tree increased, the subtopology of increase tree is added in the Global Topological tree, generate new Global Topological tree, the topological tree initialization module, for from client, obtaining user login information, and described user login information is sent to server end, reception server end User log-on message and return to the main equipment authentication information corresponding with user login information and from the equipment identities authentication information, read the Global Topological tree generated, the topological tree display module, for the real-time exhibition network topological diagram, and network topological diagram under main equipment and from the devices communicating state, the topological tree update module, for the real-time update network topological diagram.
Preferably, described topological tree generation module also increases the zone order, increases the subnet order and sends main equipment authentication order for receiving, the reception server end returns to corresponding area identity authentication according to increasing the zone order, increase the subnet order and sending main equipment authentication order, the subnet authentication, and allly under main equipment from equipment identities, authenticate, the storage area authentication, subnet authentication and authenticating in the node chained list from equipment identities.
Preferably, the area identity authentication corresponding with user login information that described topological tree initialization module also returns for reception server end User log-on message, the lower all-ones subnet authentication of area identity authentication and main equipment authentication, the storage area authentication, the lower all-ones subnet authentication of area identity authentication and main equipment authentication are in the node chained list, the sending zone authentication, the lower all-ones subnet authentication of area identity authentication, the main equipment authentication is to described client, call described topological tree generation module, obtain and allly under main equipment authenticate from equipment identities.
Preferably, preserve the node on all topological trees with set membership on described node chained list, the node chained list comprises child node authentication, father node authentication, child node title, father node title, child node state, father node state, child node position, father node position, area identity authentication and subnet authentication; Wherein the node title is for identifying each node title, and node state is for the marking equipment state, and with different colours display device icon, site position means node positional information in topological diagram.
Preferably, described topological tree generation module also increases the zone order for receiving, increases the subnet order, and receive from server end and return to corresponding area identity authentication, the subnet authentication, the storage area authentication, the subnet authentication is in the node chained list.
Preferably, described Network Management Model comprises outband management pattern and in-band management pattern, and wherein, described in-band management pattern refers to that the bearer service information exchange of the managing control information of network and user network crosses same logic channel and transmit; Described outband management pattern refers to that the managing control information of network transmits at different logic channels from the bearer service information of user network.
In the topological tree generative process, if Network Management Model is selected the in-band management pattern, so without manually adding from equipment, call the topological tree generation module after the increase main equipment and automatically find from equipment; If the webmaster management mode is selected the outband management pattern, need manually to add from equipment.
Preferably, as adopting, the topological tree update module initiatively refreshes network topological diagram, select so refresh interval, receive the order that described client sends, to some repeating query all devices state, the reception server end returns to all devices state according to the order of client transmission, and all devices state is sent to described client, described client is made a response to the equipment changed, and upgrades the state of network topological diagram and topological tree;
Preferably, as the topological tree update module adopts the passive network topological diagram that refreshes, receive so the equipment that described server end reports the abnormal state, and by report and alarm to described client, according to the equipment state real-time update network topological diagram reported and the state of topological tree.
The invention provides a kind of NM client topological management method, be applied to the network management system formed by server end and client, network topology structure in described network management system is according to zone, the level of subnet and equipment manages, described NM client topological management method comprises: S1, increase the main equipment order from client, under the main equipment authentication that the reception server end returns according to the order that increases main equipment and main equipment, from equipment identities, authenticate, preserve the main equipment increased and be stored in the node chained list from the equipment identities authentication, generate the subtopology tree increased, the subtopology of increase tree is added in the Global Topological tree, generate new Global Topological tree, the real-time update network topological diagram, the network topological diagram after real-time exhibition upgrades, S2, obtain user login information from client, and user login information is sent to server end, reception server end User log-on message and return to the main equipment corresponding with user login information and, from equipment identities authentication, read the Global Topological tree generated, the real-time update network topological diagram, the network topological diagram after real-time exhibition upgrades.
Preferably, described step S1 also comprises:
S11, receive client and send the regional order of increase, by increasing regional order, is sent to server end, and the reception server end returns to corresponding area identity authentication according to increasing regional order, and sends it to described client;
S12, receive client and send the order that increases subnet, and the order that increases subnet is sent to server end, receives described server end and return to corresponding subnet authentication according to the order that increases subnet, and send it to described client;
S13, receive described client and send the order that increases main equipment, and the order that increases main equipment is sent to server end, receive main equipment authentication that described server end returns according to the order that increases main equipment and by it to described client;
S14, receive the order that described client sends the main equipment authentication, the order that sends the main equipment authentication is sent to server end, and all under the main equipment that the reception server end returns according to sending the main equipment authentication authenticate and send it to described client from equipment identities;
S15, select Network Management Model;
S16, the area identity authentication that described server end is returned, subnet authentication, main equipment authentication and be kept at the node chained list of topological tree generation module from the equipment identities authentication, according to area identity authentication, subnet authentication, the main equipment authentication of preserving and authenticate from equipment identities, the subtopology tree that is child node from equipment that the main equipment that generation be take to be increased is father node, increase, the subtopology of increase tree is added in the Global Topological tree, generates the new Global Topological tree with set membership;
S17, real-time update network topological diagram, real-time exhibition network topological diagram.
Preferably, described step S2 also comprises:
S21, obtain user login information, and user login information is sent to server end, reception server end User log-on message and return to the area identity corresponding with user login information authentication, and send it to client;
S22, receive the order of described client sending zone authentication, and the reception server end returns to lower all subnet authentication and the main equipment authentications of described area identity authentication according to the order of sending zone authentication, and sends it to client;
S23, according to the main equipment authentication of returning, call described topological tree generation module, obtains from equipment identities and authenticate;
S24, reach All Ranges authentication, subnet authentication, main equipment authentication from the equipment identities authentication and be stored in the node chained list, reads the Global Topological tree that described topological tree generation module generates;
S25, real-time update network topological diagram, the topological diagram after real-time exhibition upgrades.
As mentioned above, NM client Topology Management system of the present invention has following beneficial effect:
1, the invention enables the webmaster product to there is higher compatibility, can access dissimilar equipment, be applied to different scenes.
2, the present invention has used system, the development cost of having saved webmaster product early stage and the maintenance cost in later stage.
3, the present invention has realized band internal schema and band external schema, and discovering device, also can manually add equipment automatically.
Embodiment
Below, by specific instantiation explanation embodiments of the present invention, those skilled in the art can understand other advantages of the present invention and effect easily by the disclosed content of this specification.The present invention can also be implemented or be applied by other different embodiment, and the every details in this specification also can be based on different viewpoints and application, carries out various modifications or change not deviating under spirit of the present invention.
Refer to accompanying drawing.It should be noted that, the diagram provided in the present embodiment only illustrates basic conception of the present invention in a schematic way, satisfy in graphic and only show with assembly relevant in the present invention but not component count, shape and size drafting while implementing according to reality, during its actual enforcement, kenel, quantity and the ratio of each assembly can be a kind of random change, and its assembly layout kenel also may be more complicated.
Below in conjunction with embodiment and accompanying drawing, the present invention is described in detail.
The arrival of information age, the fast development of network technology, new networking products and networking model are constantly emerged in large numbers, and a network management system stable, safe, reliable, that can supervise network operation situation becomes urgently open question.And network management realizes by the monitor network topological structure.The main purpose of discovering network topology is existence and the link information of acquiring and maintaining network node, and draws out topology diagram.The network management personnel locates fast and repairs the fault node according to topology diagram.For network management system, a perfect network topology management system is most important to network management.Topology is also the main entrance of configuration management simultaneously, and object-based operation all completes by topology.
Embodiment mono-
The present embodiment provides a kind of NM client Topology Management system 1, be applied in network management system, network management system is divided into server end and client, Topology Management mainly presents by client, in Topology Management, server end is mainly used in starting discovery procedure, by the data write into Databasce of finding, and client is mainly used in reading from described server end the result of discovery, and the result read is shown with logical topology figure and physics panel figure.In the Topology Discovery stage, the present invention utilizes the general character between the network equipment, by this generality abstract out, and, by the hierarchy management of zone, subnet and equipment, presents the topological structure of the whole network, and search is gone down from level to level, until find terminal equipment.On network topological diagram, adopt more real equipment drawing picture, be convenient to distinguish distinct device.Can carry out the real-time condition of monitoring network and judge the running status of network by network management, adjust the resource of network and distribute, and discovering network fault find rapidly the reason of makeing mistakes in time.
As shown in Figure 1, described NM client Topology Management system 1 comprises topological tree generation module 11, topological tree initialization module 12, topological tree discovery module 13, topological tree display module 14 and topological tree update module 15.
The management area of considering user network may be quite huge, by topological tree, can find out very intuitively hierarchical relationship, the management of layering and zoning territory, convenient location.Topological logic, by the relation between delineation of activities network element (module), has subnet and NE management under topology.Subnet, be a container, similar file, and in order to network is divided, no matter the subnet character on logic or physical topology is identical.Network element refers to the software module that possesses the function managed independently, and on webmaster, network element is an independently managed object.The size of the form of network element and equipment itself is irrelevant, as head end and the terminal of an EOC is a network element, and the whole equipment of a frame, if its management by master control borad, realized, whole frame is also a network element.
Below will describe each functional module of described NM client Topology Management system 1 in detail.
Topological tree is comprised of region junction, subnet node and device nodes, and on Area Node, operation is divided into increase, deletes, revises, inquires about four kinds of operations; The subnet node is divided into increase, deletes, revises, inquires about four kinds of operations; For device nodes, be divided into outband management and in-band management, if in-band management, have refresh, deletion, query manipulation; If outband management, the operation such as increase is arranged, delete, search.Preserve the node on all topological trees with set membership on described node chained list, mainly comprise child node authentication (NodeID) in the node chained list, father node authentication (ParentNodeID), child node title (NodeName), father node title (ParentNodeName), child node state (NodeState), father node state (ParentNodeState), child node position (NodePoint), father node position (Patent NodePoint), zone ID, and subnet ID, these elements are for building topological tree, node title (NodeName) is for identifying each node title, node state (NodeState) is for the marking equipment state, with different colours display device icon, site position (NodePoint) means node positional information in topological diagram.Network topological diagram is corresponding one by one with the node on topological tree, on topological diagram, each icon is for identifying each node on topological tree, and launch from the zone to the sizing of equipment, each icon and his father's node icon line and curve connection, icon means with the true picture of equipment, and Icon Color is consistent with the topological tree icon.Topological tree refers to that in the network equipment, network node is tree-shaped arrangement, first and last resembles a tree upward.Network topological diagram refers to the physical layout of transmission medium interconnection various device, by what mode, various device in network is coupled together exactly.Topological diagram provides the network configuration of the webserver, work station and mutual connection.
Described topological tree generation module 11 for increasing the zone order from client when network increases main equipment, increase the subnet order, increase the main equipment order, send the order of main (Master) equipment identities authentication (ID), reception server end and the order of increase zone, increase the subnet order, the area identity authentication (ID) that increases the order of main equipment order and main (Master) equipment identities authentication of transmission (ID) and return, subnet authentication (ID), main (Master) equipment identities authentication (ID), and all from (Slave) equipment identities authentication (ID), storage area authentication under main equipment, the subnet authentication, the main equipment authentication, and allly from equipment identities, authenticate in the node chained list under main equipment, and be sent to described client, select Network Management Model, take according to the Information generation of preserving in the node chained list main equipment increased is father node, the subtopology tree that is child node from equipment increased, be added into the subtopology of increase tree in the Global Topological tree, finally generates new Global Topological tree, be exactly specifically,
The topological tree generation module sends the regional order of increase for receiving client, be sent to server end by increasing regional order, receive described server end and return to corresponding area identity authentication according to increasing regional order, and send it to described client;
Receive client and send the order that increases subnet, the order that increases subnet is sent to server end, receive that described server end returns to corresponding subnet authentication according to the order that increases subnet and by it to described client;
Receive described client and send the order that increases main equipment, the order that increases main equipment is sent to server end, receive described server end and return to the main equipment authentication and send it to described client according to the order that increases main equipment;
Receive the order that described client sends the main equipment authentication, the order that sends the main equipment authentication is sent to server end, receives all under the main equipment that described server end returns according to the order that increases main (Master) equipment identities authentication and authenticate and send it to described client from equipment identities;
Select Network Management Model;
The area identity authentication of finally described server end being returned, subnet authentication, main equipment authentication and be kept at the node chained list of topological tree generation module from the equipment identities authentication, according to area identity authentication, subnet authentication, the main equipment authentication of preserving and authenticate from equipment identities, the subtopology tree that is child node from equipment that the main equipment that first generates to increase is father node, increase, the subtopology of increase tree is added in the Global Topological tree, generates the new Global Topological tree with set membership.The flow chart that the Global Topological tree generates as shown in Figure 2.
Network management technically is divided into outband management (out-of-band) and two kinds of management modes of in-band management (in-band).Described in-band management pattern refers to that the bearer service information exchange of the managing control information of network and user network crosses same logic channel and transmit; Described outband management pattern refers to that the managing control information of network transmits at different logic channels from the bearer service information of user network.In the process generated topological tree, if select the in-band management pattern, add from equipment without manual so, automatically find affiliated from equipment after the increase main equipment.If select the outband management pattern, need manually to add from equipment.
Can automatically find the various necessary informations of collection network topology in the process generated in the Global Topological tree, determine the interconnected relationship between network element.
The method for discovering network topology that is based on SNMP that the present invention adopts, each network equipment has routing table, comprised complete network topological information in routing iinformation, network topological information comprises the IP address, the next stop of subnet mask, this route of the route purpose network address, purpose network, corresponding port index and Routing Protocol type etc.What identify due to the next stop address entries in routing table must be the network node with routing function, therefore, from setting router, reads the routing table of router, can be gradually all network nodes based on routing function in discovering network downwards.According to the index identification item of the local interface of routing table, find interface index corresponding in the interface table again, just can recognize the type of place subnet by the interface type of interface table, thereby construct the topological relation figure of whole network.Topology Discovery process and the algorithm of this method are simple, with clearly defined objective, find that efficiency is high, and the System and Network expense is little, therefore obtains people's extensive use.
So the topological tree generation module has obtained the data of Global Topological tree, has realized the process that in the system, data are grown out of nothing.
Described topological tree initialization module 12 is for obtaining user's logging in network information from client, and user's logging in network information is sent to server end, reception server end User log-on message and the area identity corresponding with the user login information authentication returned, the lower all-ones subnet authentication of area identity authentication, and main equipment authentication, the storage area authentication, the lower all-ones subnet authentication of area identity authentication, and main (Master) equipment identities authenticates in the node chained list, the sending zone authentication, the lower all-ones subnet authentication of area identity authentication and main equipment authentication are to described client, call described topological tree generation module, obtain and allly under main equipment authenticate from equipment identities, read the Global Topological tree generated, be exactly specifically:
Described topological tree initialization module 12 is when on described client, the user logins, obtain user login information, and user login information is sent to server end, reception server end User log-on message and return to the area identity corresponding with user login information authentication, and send it to client; ;
Receive the order of described client sending zone authentication, the reception server end returns to the lower all subnets of described area identity authentication and authenticates at one's side and the main equipment authentication according to sending zone authentication order, and sends it to client; ;
According to the main equipment authentication of returning, call described topological tree generation module 11, obtain from equipment identities and authenticate;
All Ranges authentication, subnet authentication, main equipment authentication are reached from the equipment identities authentication and be stored in the node chained list, read the Global Topological tree that described topological tree generation module 11 generates, and real-time update overall network topology figure, show overall network topology figure.The initialized process of topological tree as shown in Figure 4.In the present invention, after user's login, utilize described topological tree initialization module 12 can see intuitively the equipment under each zone, each subnet.
Described topological tree display module 13, for the real-time exhibition network topological diagram, and network topological diagram under main equipment and from the communications status of equipment.Network topological diagram comprises topological subgraph and overall network topology figure in network.Described topological tree display module 14 can carry out distributed or centralized monitoring to network topological diagram.According to network topological diagram, can understand:
1, the communications status of each equipment, its state is with to preset the alarm grade corresponding one by one,, off-line normal with communication on green, grey, redness, the orange and yellow expression network equipment, high severity alarm, main alarm and minor alarm, can tell overall operation situation and the development trend of network management personnel's network so in time respectively.
2, give every device definition Chinese device name, directly be presented at the below of every equipment on network topological diagram, be beneficial to equipment control.
3, hope obtains the firsthand information of the network management of subordinate unit, auxiliary management, but not only have the administrative channel of understanding information of reporting.
4, the stronger capabilities of technical support with network center, in the situation that obtain the firsthand information of the network management of subordinate unit, remote assistance subordinate unit searches problem in time, the location fault, deal with problems.
In the present invention, utilize described topological tree display module 14 topological trees can clearly see the hierarchical relationship between the network equipment, and, on network topological diagram, adopt more real equipment drawing picture, be convenient to distinguish distinct device, network management system is supported the management of layering, cross-region.
In the podium level management of network, a special status that topology diagram has other management views to replace for regulatory requirements such as awareness network scale, application distribution, fault location accurately.On this topological diagram, the network layout information that can dynamically reflect in real time, the changes in flow rate situation of equipment running status and link etc., the real-time running state of one act of whole network of control of being clear of help user.
Described topological tree update module 14 refreshes or the passive real-time update network topological diagram that refreshes for adopting initiatively.The workflow of concrete topological tree update module 14 as shown in Figure 5, as adopting, topological tree update module 14 initiatively refreshes network topological diagram, select so refresh interval, receive the order that described client sends, to a repeating query all devices state, the reception server end returns to all devices state according to the order of client transmission, and all devices state is sent to described client, described client is made a response to the equipment changed, and upgrades the state (showing in real time in network topological diagram) of whole network topological diagram and topological tree; As shown in Figure 6, as topological tree update module 14 adopts the passive network topological diagram that refreshes, receive so the equipment that described server end reports the abnormal state, and by report and alarm to described client, according to the equipment state real-time update network topological diagram reported and topological state.Described topological tree update module 15 initiatively refreshes that topological sum is passive refreshes topological flow process as shown in Figure 5.On network topological diagram by green, grey, redness, the orange and yellow timely advertised network administrative staff of variation network overall operation situation and development trend.Described topological tree update module 15 can make network system dynamically update network topological diagram when network topological diagram need to be changed.
Embodiment bis-
The present embodiment provides a kind of NM client topological management method, the method is applied to the network management system be comprised of server end and client, network topology structure in described network management system manages according to the level of zone, subnet, equipment, as shown in Figure 7, described NM client topological management method comprises:
S1, receive and increase the zone order, increase the subnet order, increase the order of main equipment order and the authentication of transmission main equipment, receive from server end according to increasing the zone order, increase the subnet order, the area identity authentication that increases the order of main equipment order and the authentication of transmission main equipment and return, the subnet authentication, the main equipment authentication, and all from the equipment identities authentication under main equipment, area identity is authenticated, the subnet authentication, active and standby authentication, and allly under main equipment from equipment identities authentication, be stored in the node chained list, area identity is authenticated, the subnet authentication, the main equipment authentication, and allly under main equipment from equipment identities authentication, be sent to described client, select Network Management Model, according to the area identity authentication of preserving in the node chained list, the subnet authentication, the main equipment authentication, and under main equipment all Information generations from equipment identities authentication to take the main equipment increased be father node, the subtopology tree that is child node from equipment increased, add the subtopology increased and set to the Global Topological tree, generates new Global Topological tree, the real-time update network topological diagram, the network topological diagram after real-time exhibition upgrades, this step specifically as shown in Figure 8, comprising:
S11, receive client and send the regional order of increase, by increasing regional order, is sent to server end, and the reception server end returns to corresponding area identity authentication (ID) according to increasing regional order, and sends it to described client;
S12, receive client and send the order that increases subnet, and the order that increases subnet is sent to server end, receives described server end and return to corresponding subnet authentication according to the order that increases subnet, and send it to described client;
S13, receive described client and send the order that increases main equipment, and the order that increases main equipment is sent to server end, receive main equipment authentication that described server end returns according to the order that increases main equipment and by it to described client;
S14, receive the order that described client sends main equipment authentication (ID), the order that sends the main equipment authentication is sent to server end, and all under the main equipment that the reception server end returns according to sending the main equipment authentication authenticate and send it to described client from equipment identities;
S15, select Network Management Model;
S16, the area identity authentication that described server end is returned, subnet authentication, main equipment authentication and be kept at the node chained list of topological tree generation module from the equipment identities authentication, according to area identity authentication, subnet authentication, the main equipment authentication of preserving and authenticate from equipment identities, the subtopology tree that is child node from equipment that the main equipment that generation be take to be increased is father node, increase, the subtopology of increase tree is added in the Global Topological tree, generates the new Global Topological tree with set membership;
S17, real-time update network topological diagram, real-time exhibition network topological diagram.
S2, obtain the information of user's logging in network, and the information of user's login is sent to server end, the information of reception server end User logging in network and return to the information corresponding with the information of user's logging in network, it is the area identity authentication, the lower all-ones subnet authentication of area identity authentication, and main equipment authentication, be stored in the node chained list by it and be sent to described client, be about to the return area authentication, the lower all-ones subnet authentication of area identity authentication, and active and standby authentication is stored in node chained list neutralization and is sent to described client, call described topological tree generation module, obtain and allly under main equipment again read the Global Topological tree generated from equipment identities authentication, real-time exhibition upgrades network topological diagram, the network topological diagram after real-time exhibition upgrades, this step specifically as shown in Figure 9, comprising:
S21, obtain user login information, and user login information is sent to server end, reception server end User log-on message and return to the area identity corresponding with user login information authentication, and send it to client; ;
S22, receive the order of described client sending zone authentication, and the reception server end returns to lower all subnet authentication and the main equipment authentications of described area identity authentication according to the order of sending zone authentication, and sends it to client; ;
S23, according to the main equipment authentication of returning, call described topological tree generation module 11, obtains from equipment identities and authenticate;
S24, reach All Ranges authentication, subnet authentication, main equipment authentication from the equipment identities authentication and be stored in the node chained list, reads the Global Topological tree that described topological tree generation module generates;
S25, real-time update network topological diagram, the topological diagram after real-time exhibition upgrades.
NM client Topology Management system and method for the present invention has the following advantages:
1, the invention provides a kind of NM client Topology Management system and method, carried out abstract to publicly-owned topography module; Make the webmaster product there is higher compatibility, can access dissimilar main equipment, be applied to different scenes.
2, the present invention has used system, the development cost of having saved webmaster product early stage and the maintenance cost in later stage.
3, the present invention has realized band internal schema and band external schema, and discovering device, also can manually add equipment automatically.
In sum, the present invention has effectively overcome various shortcoming of the prior art and the tool high industrial utilization.
Above-described embodiment is illustrative principle of the present invention and effect thereof only, but not for limiting the present invention.Any person skilled in the art scholar all can, under spirit of the present invention and category, be modified or be changed above-described embodiment.Therefore, such as in affiliated technical field, have and usually know that the knowledgeable, not breaking away from all equivalence modifications that complete under disclosed spirit and technological thought or changing, must be contained by claim of the present invention.