Invention content
Based on this, it is necessary in view of the above technical problems, provide a kind of network management system communication for capableing of effective system extension
Method, apparatus, storage medium and computer equipment.
A kind of network management system communication means, the method includes:
According to the business demand of network management system, judge whether the network management system needs configuration service to handle submodule;
When network management system need to configure submodule, the submodule is modeled to communication equipment;
According to the business demand, by snmp protocol, establish between each submodule or each submodule and net
Communication between pipe or in each submodule and the network management system between communication equipment.
The business demand according to network management system in one of the embodiments, judges whether the network management system needs
Configuration service handles submodule, including:
Obtain the traffic demands of the network management system and the network management system group-network construction;
According to the traffic demands and the group-network construction, judge whether the network management system needs configuration service to handle
Submodule.
Obtaining network management system group-network construction in one of the embodiments, includes:
Network management system topological diagram is obtained, according to the network management system topological diagram, identifies network management system group-network construction.
It is described in one of the embodiments, the network management system Neutron module is modeled to communication equipment to include:
According to the business demand, submodule configuration data is generated, the configuration data includes business datum, communication equipment
Identification mark and snmp protocol;
The submodule configuration data is sent to the submodule, the submodule is modeled to communication equipment.
In one of the embodiments, it is described establish between each submodule or between each submodule and webmaster,
Or the communication in each submodule and the network management system between communication equipment, further include later:
When submodule, which receives, needs reporting message, reporting message to current sub-block is needed to correspond to by snmp protocol transmission
Upper layer submodule or webmaster.
In one of the embodiments, it is described establish between each submodule or between each submodule and webmaster,
Or the communication in each submodule and the network management system between communication equipment, further include later:
When submodule, which receives, needs reporting message, reporting message is needed to handle to described, and by snmp protocol, it will
Handling result is sent to the corresponding upper layer submodule of current sub-block or webmaster.
A kind of network management system communication device, including:
Judgment module judges whether the network management system needs at configuration service for the business demand according to network management system
Manage submodule;
Analog module, for when the network management system need to configure the submodule, the submodule being modeled to communicate
Equipment;
Communication module, for according to the business demand, by snmp protocol, establishing between each submodule or each
Communication between the submodule and webmaster or in each submodule and the network management system between communication equipment.
The judgment module is specifically used for obtaining the traffic demands of the network management system in one of the embodiments,
Judge that the network management system is according to the traffic demands and the group-network construction with the network management system group-network construction
It is no that configuration service is needed to handle submodule.
A kind of computer equipment, including memory and processor, the memory are stored with computer program, and feature exists
In when the processor executes the computer program the step of realization above method.
A kind of computer readable storage medium, is stored thereon with computer program, and the computer program is held by processor
The step of above method is realized when row.
Above-mentioned network management system communication means, device, computer equipment and storage medium, according to the business need of network management system
It asks, judges whether the network management system needs configuration service to handle submodule, when network management system need to configure submodule, by the son
Module simulation is at communication equipment, according to the business demand, by snmp protocol, establishes between each submodule or each institute
State the communication between submodule and webmaster or in each submodule and the network management system between communication equipment.Whole process
In, the otherness between submodule and communication equipment is shielded using snmp protocol, and according to network management system business demand, to net
Guard system and its intercom set carry out parallel expansion, realize the good dilatation ability of system.
Specific implementation mode
It is with reference to the accompanying drawings and embodiments, right in order to make the object, technical solution and advantage of the application be more clearly understood
The application is further elaborated.It should be appreciated that specific embodiment described herein is only used to explain the application, not
For limiting the application.
Network management system communication means provided by the present application, can be applied in application environment as shown in Figure 1.Wherein, net
Guard system 102 is communicated with server 104 by network by network.Server 104 controls 102 entire networking of network management system
With Function Extension process.Specifically, server 104 judges that network management system 102 is according to the business demand of network management system 102
It is no to need configuration service processing submodule that submodule is modeled to communication equipment, root when network management system 102 configure submodule
According to business demand, by snmp protocol, establish between each submodule or between each submodule and webmaster or each submodule and net
Communication in guard system between communication equipment.
In one embodiment, as shown in Fig. 2, providing a kind of network management system communication means, it is applied to Fig. 1 in this way
In network management system for illustrate, include the following steps:
A kind of network management system communication means, method include:
S200:According to the business demand of network management system, judge whether network management system needs configuration service to handle submodule.
Network system is distributed network application system of the software and hardware combining based on software, and the purpose is to manage net
Network makes network-efficient normal operation.Business demand refers to realizing or reaching some function to meet the needs of current application scene
Demand.Submodule is for realizing, processing capacity of activating business.When network management system has new business to need under current application scene
When asking, network management system is likely to require carry out operation expanding, when needing to carry out operation expanding, it is necessary to configuration service processing
Module.
S400:When network management system need to configure submodule, submodule is modeled to communication equipment.
To meet current application scene, network management system may need to configure multiple submodule, to enrich, extend its function,
When network management system need to configure submodule, these submodules are modeled to communication equipment, with eliminate submodule and communication equipment it
Between difference, reduce entire network management system obstacle existing for expansion process.Specifically, this simulation process is appreciated that seal
Submodule and external equipment (including other submodules and communication equipment) interaction data are packaged by the process of dress, encapsulation,
It is modified as communication equipment and uses the data format and agreement with support.Specifically, submodule is a kind of the virtual of similar software
Module when being modeled to communication equipment, needs to reconfigure the numbers such as its corresponding hardware physical address, identification mark
According to, specifically can according to preset data table, give each submodule configuration response data.Furthermore it is possible to be based on snmp protocol, repair
Change the communication protocol of network management system Neutron module, i.e. the data of submodule output are packaged and are packaged based on snmp protocol.
Snmp protocol is made of the standard of one group of network management, including an application layer protocol, database model and one group of data object.
Whether the agreement can support Network Management System, have monitoring the equipment being connected on network and any cause to manage upper concern
The case where.The agreement is a part for the internet protocol families of Internet Engineering Task Panel definitions.
Above-mentioned S400 includes in one of the embodiments,:According to business demand, submodule configuration data, configuration are generated
Data include business datum, communication equipment identification mark and snmp protocol;Sending submodule configuration data to submodule,
Submodule is modeled to communication equipment.Business datum is used to configure, adjust the service processing function of submodule, communication equipment identity
Identification marking is used for submodule " simulation " in network management system into the identity of communication equipment, specifically, communication equipment identity
Identification marking can be the physical address of communication equipment, and snmp protocol is for enabling follow-up data interactive process Neutron module base
It is communicated in the agreement.Specifically, network management system obtains business demand according to current application scene, according to business demand,
Determination need to configure the business function of submodule, and distribute the communication equipment object of " simulation " at communication equipment to each submodule
Manage address (this assigning process can be based on default distribution list), transmission include business datum, communication equipment physical address with
And the configuration data of snmp protocol, to each submodule, submodule is complete according to the configuration data after receiving the configuration data
It is configured at itself.S600:According to business demand, by snmp protocol, establish between each submodule or each submodule and webmaster it
Between or each submodule and network management system in communication between communication equipment.
Network management system realizes the extension of its function by configuring submodule.In general single submodule or certain amount
Submodule can with coordination function extend network management system some function, during realizing this function, data can be in submodule
Between block, data interaction is carried out in network management system between communication equipment, is modeled to communicate by submodule in above-mentioned steps S400
Equipment shields difference between submodule and communication equipment, based on general snmp protocol, is respectively modeled to the submodule of communication equipment
Smooth data friendship can be carried out between block, between each submodule and communication equipment and between each submodule and network management system
Mutually, network management system function is extended.It is non-essential, it is defined in snmp protocol and the data of asynchronous communication is supported therefore to be based on
Snmp protocol can establish the asynchronous communication between equipment.In addition, since network management system is to realize it by increasing submodule
Therefore Function Extension with the demand of extension, can irregularly have new submodule to be added, to ensure that networking really can be normal
Operation, needs to establish communication equipment and the asynchronous communication being respectively modeled between the submodule of communication equipment in network management system.Change speech
It, is based on snmp protocol, establishes communication equipment in network management system and is respectively modeled to asynchronous logical between the submodule of communication equipment
Letter, it can be ensured that network management system is in expansion process, the submodule that is newly added and existing equipment (including already present submodule
And communication equipment) normally realize data interaction.
Above-mentioned network management system communication means judges whether network management system needs to match the purchase of property according to the business demand of network management system
Submodule is modeled to communication equipment by business processing submodule when network management system need to configure submodule, according to business demand, is led to
Snmp protocol is crossed, is established between each submodule or between each submodule and webmaster or each submodule is set with being communicated in network management system
Communication between standby.In whole process, the otherness between submodule and communication equipment is shielded using snmp protocol, and according to
Network management system business demand carries out parallel expansion to network management system and its intercom set, realizes the good dilatation energy of system
Power.
As shown in figure 3, further including before step S200 in one of the embodiments,:
S220:Obtain the traffic demands and network management system group-network construction of network management system;
S240:According to traffic demands and group-network construction, judge whether network management system needs configuration service to handle submodule.
For different application scenarios, user may propose different traffic demands, to meet current communications traffic
Demand, it is necessary to which the function that entire network management system is realized is adjusted and is extended.According to current traffic demands and net
Relationship system group-network construction, judges whether to need to configure business processing submodule, when needed, determining submodule is configured to original
In network management system.
Obtaining network management system group-network construction in one of the embodiments, includes:Network management system topological diagram is obtained, according to net
Guard system topological diagram identifies network management system group-network construction.
Group-network construction refers to which component part is whole network include, and how the connection relation between each component part is
Sample.Conventional group-network construction is that multiple terminals are connect with server, and server is responsible for managing concentratedly, controls each terminal.Group
Topological diagram may be used to characterize in planar network architecture, and topology is a kind of study with size, apart from the side of unrelated geometric figure characteristic
Method.Network topology is the network structure being made of apparatus for network node and communication media.When selecting topological structure, mainly examine
Worry because being known as:The relative ease of installation, the complexity reconfigured, the relative ease of maintenance, communication media
When breaking down, the case where affected equipment.Topological diagram based on network management system, you can entire webmaster system is recognized accurately
It unites group-network construction, you can to understand entire network management system include how many kinds of communication equipment.Network management system topological diagram can be based on net
The historical data of guard system setting obtains, such as can be from being obtained in the record data of network management system after last update.
Establish in one of the embodiments, between each submodule or between each submodule and webmaster or each submodule with
After communication in network management system between communication equipment, further include:
When submodule, which receives, needs reporting message, reporting message to current sub-block is needed to correspond to by snmp protocol transmission
Upper layer submodule or webmaster.
It refers to the message for needing to be sent to upper layer device to need reporting message.When submodule, which receives, needs reporting message, lead to
Crossing snmp protocol and sending this needs reporting message to corresponding upper layer submodule or webmaster, needs reporting message to transfer on corresponding this
Straton module or webmaster are handled.
Establish in one of the embodiments, between each submodule or between each submodule and webmaster or each submodule with
After communication in network management system between communication equipment, further include:
When submodule, which receives, needs reporting message, to needing reporting message to handle, and by snmp protocol, will handle
As a result the corresponding upper layer submodule of current sub-block or webmaster are sent to.
Submodule receive need reporting message when, can also voluntarily first to needing reporting message to handle, directly will processing
As a result it is sent to corresponding upper layer submodule or webmaster, reduces upper layer submodule or network management data processing pressure.
It should be understood that although each step in the flow chart of Fig. 2-Fig. 3 is shown successively according to the instruction of arrow,
Be these steps it is not that the inevitable sequence indicated according to arrow executes successively.Unless expressly stating otherwise herein, these steps
There is no stringent sequences to limit for rapid execution, these steps can execute in other order.Moreover, in Fig. 2-Fig. 3 extremely
Few a part of step may include that either these sub-steps of multiple stages or stage are not necessarily same to multiple sub-steps
Moment executes completion, but can execute at different times, and the execution sequence in these sub-steps or stage is also not necessarily
It carries out successively, but can either the sub-step of other steps or at least part in stage in turn or are handed over other steps
Alternately execute
As shown in figure 4, a kind of network management system communication device, including:
Judgment module 200 judges whether network management system needs configuration service to handle for the business demand according to network management system
Submodule;
Analog module 400, for when network management system need to configure submodule, submodule to be modeled to communication equipment;
Communication module 600 by snmp protocol, is established between each submodule or each submodule for according to business demand
Communication between webmaster or in each submodule and network management system between communication equipment.
Above-mentioned network management system communication device, according to the business demand of network management system, judgment module 200 judges that network management system is
No that configuration service is needed to handle submodule, when network management system need to configure submodule, submodule is modeled to communicate by analog module 400
Equipment, communication module 600 is according to business demand, by snmp protocol, establish between each submodule or each submodule and webmaster it
Between or each submodule and network management system in communication between communication equipment.In whole process, submodule is shielded using snmp protocol
Otherness between block and communication equipment, and according to network management system business demand, to network management system and its intercom set into
Row parallel expansion realizes the good dilatation ability of system.
Judgment module 200 is additionally operable to obtain the traffic demands and webmaster of network management system in one of the embodiments,
System group network framework;According to traffic demands and group-network construction, judge whether network management system needs configuration service to handle submodule.
Judgment module 200 is additionally operable to obtain network management system topological diagram in one of the embodiments, is opened up according to network management system
Figure is flutterred, identifies network management system group-network construction.
Analog module 400 is additionally operable to, according to business demand, generate submodule configuration data in one of the embodiments,
Configuration data includes business datum, communication equipment identification mark and snmp protocol;Sending submodule configuration data is to son
Submodule is modeled to communication equipment by module.
Further include in one of the embodiments,:
First reporting module, for when submodule receive need reporting message when, need to report and disappear by snmp protocol transmission
It ceases to the corresponding upper layer submodule of current sub-block or webmaster.
Further include in one of the embodiments,:
Second reporting module, for when submodule receive need reporting message when, to needing reporting message to handle, and lead to
Snmp protocol is crossed, handling result is sent to the corresponding upper layer submodule of current sub-block or webmaster.
Specific about network management system communication device limits the limit that may refer to above for network management system communication means
Fixed, details are not described herein.Modules in above-mentioned network management system communication device can fully or partially through software, hardware and its
It combines to realize.Above-mentioned each module can be embedded in or in the form of hardware independently of in the processor in computer equipment, can also
It is stored in a software form in the memory in computer equipment, in order to which processor calls the above modules of execution corresponding
Operation.
Further to explain in detail the technical solution and its effect of above-mentioned network management system communication means and device, below will
It is illustrated using an application example, and in conjunction with Fig. 5.
It, can be between equipment and webmaster arbitrarily at addition as shown in figure 5, entire network management system is according to specific business need
Submodule is managed, the information that equipment reports is handled, information exchange is also carried out between submodule and submodule, while can also
Related service information is submitted to webmaster, final realize communicates and manage with the indifference of equipment to system sub-modules.
Generally, the technical solution of above-mentioned network management system communication means and device has following significant effect:Using
Snmp protocol, take full advantage of the advantage of existing mature protocol;Information processing system can be extended on a large scale, without
Increase the difficulty of system development;Modularization transformation, decoupled system can be carried out to existing system;Snmp protocol can be utilized to realize
Asynchronous communication means between webmaster and submodule, submodule and submodule and submodule and equipment.
In one embodiment, a kind of computer equipment is provided, which can be server, internal junction
Composition can be as shown in Figure 6.The computer equipment include the processor connected by system bus, memory, network interface and
Database.Wherein, the processor of the computer equipment is for providing calculating and control ability.The memory packet of the computer equipment
Include non-volatile memory medium, built-in storage.The non-volatile memory medium is stored with operating system, computer program and data
Library.The built-in storage provides environment for the operation of operating system and computer program in non-volatile memory medium.The calculating
The database of machine equipment is for storing the data such as snmp protocol.The network interface of the computer equipment is used for logical with external terminal
Cross network connection communication.To realize a kind of network management system communication means when the computer program is executed by processor.
It will be understood by those skilled in the art that structure shown in Fig. 6, is only tied with the relevant part of application scheme
The block diagram of structure does not constitute the restriction for the computer equipment being applied thereon to application scheme, specific computer equipment
May include either combining certain components than more or fewer components as shown in the figure or being arranged with different components.
In one embodiment, a kind of computer equipment is provided, including memory, processor and storage are on a memory
And the computer program that can be run on a processor, processor realize following steps when executing computer program:
According to the business demand of network management system, judge whether network management system needs configuration service to handle submodule;
When network management system need to configure submodule, submodule is modeled to communication equipment;
According to business demand, by snmp protocol, establish between each submodule or between each submodule and webmaster or each
Communication in submodule and network management system between communication equipment.
In one embodiment, following steps are also realized when processor executes computer program:
Obtain the traffic demands and network management system group-network construction of network management system;According to traffic demands and group rack
Structure, judges whether network management system needs configuration service to handle submodule.
In one embodiment, following steps are also realized when processor executes computer program:
Network management system topological diagram is obtained, according to network management system topological diagram, identifies network management system group-network construction.
In one embodiment, following steps are also realized when processor executes computer program:
According to business demand, submodule configuration data is generated, configuration data includes business datum, communication equipment identification
Mark and snmp protocol;Sending submodule configuration data is modeled to communication equipment to submodule, by submodule.
In one embodiment, following steps are also realized when processor executes computer program:
When submodule, which receives, needs reporting message, reporting message to current sub-block is needed to correspond to by snmp protocol transmission
Upper layer submodule or webmaster.
In one embodiment, following steps are also realized when processor executes computer program:
When submodule, which receives, needs reporting message, to needing reporting message to handle, and by snmp protocol, will handle
As a result the corresponding upper layer submodule of current sub-block or webmaster are sent to.
In one embodiment, a kind of computer readable storage medium is provided, computer program is stored thereon with, is calculated
Machine program realizes following steps when being executed by processor:
According to the business demand of network management system, judge whether network management system needs configuration service to handle submodule;
When network management system need to configure submodule, submodule is modeled to communication equipment;
According to business demand, by snmp protocol, establish between each submodule or between each submodule and webmaster or each
Communication in submodule and network management system between communication equipment.
In one embodiment, following steps are also realized when computer program is executed by processor:
Obtain the traffic demands and network management system group-network construction of network management system;According to traffic demands and group rack
Structure, judges whether network management system needs configuration service to handle submodule.
In one embodiment, following steps are also realized when computer program is executed by processor:
Network management system topological diagram is obtained, according to network management system topological diagram, identifies network management system group-network construction.
In one embodiment, following steps are also realized when computer program is executed by processor:
According to business demand, submodule configuration data is generated, configuration data includes business datum, communication equipment identification
Mark and snmp protocol;Sending submodule configuration data is modeled to communication equipment to submodule, by submodule.
In one embodiment, following steps are also realized when computer program is executed by processor:
When submodule, which receives, needs reporting message, reporting message to current sub-block is needed to correspond to by snmp protocol transmission
Upper layer submodule or webmaster.
In one embodiment, following steps are also realized when computer program is executed by processor:
When submodule, which receives, needs reporting message, to needing reporting message to handle, and by snmp protocol, will handle
As a result the corresponding upper layer submodule of current sub-block or webmaster are sent to.
One of ordinary skill in the art will appreciate that realizing all or part of flow in above-described embodiment method, being can be with
Instruct relevant hardware to complete by computer program, computer program can be stored in a non-volatile computer readable
It takes in storage medium, the computer program is when being executed, it may include such as the flow of the embodiment of above-mentioned each method.Wherein, this Shen
Any reference to memory, storage, database or other media used in each embodiment please provided, may each comprise
Non-volatile and/or volatile memory.Nonvolatile memory may include read-only memory (ROM), programming ROM
(PROM), electrically programmable ROM (EPROM), electrically erasable ROM (EEPROM) or flash memory.Volatile memory may include
Random access memory (RAM) or external cache.By way of illustration and not limitation, RAM is available in many forms,
Such as static state RAM (SRAM), dynamic ram (DRAM), synchronous dram (SDRAM), double data rate sdram (DDRSDRAM), enhancing
Type SDRAM (ESDRAM), synchronization link (Synchlink) DRAM (SLDRAM), memory bus (Rambus) direct RAM
(RDRAM), direct memory bus dynamic ram (DRDRAM) and memory bus dynamic ram (RDRAM) etc..
Each technical characteristic of above example can be combined arbitrarily, to keep description succinct, not to above-described embodiment
In each technical characteristic it is all possible combination be all described, as long as however, the combination of these technical characteristics be not present lance
Shield is all considered to be the range of this specification record.
Above example only expresses the several embodiments of the application, the description thereof is more specific and detailed, but can not
Therefore it is construed as limiting the scope of the patent.It should be pointed out that for those of ordinary skill in the art,
Under the premise of not departing from the application design, various modifications and improvements can be made, these belong to the protection domain of the application.
Therefore, the protection domain of the application patent should be determined by the appended claims.