Summary of the invention
Consider the problems referred to above and make the present invention, main purpose of the present invention is to provide a kind of NE Discovery method and system, can't be found automatically when solving the network element access network that exists in the correlation technique and during Element management system IP address change, network element is revised the problem that the loaded down with trivial details and newly-increased Element management system in IP address can't be found network element in the network automatically.
According to one embodiment of present invention, provide a kind of NE Discovery method, be applied to comprise the network system of network element, Gateway Network Element, Element management system.
This method comprises: behind the network element access network, send discovery message automatically to Gateway Network Element, wherein, find that automatically message includes the required customizing messages that creates NE; Gateway Network Element is preserved the customizing messages of finding automatically in the message, and it is reported Element management system, wherein, and the device type of specific packet purse rope unit and the address information of network element.
In addition, Gateway Network Element receives the automatic discovery message of the whole reported by network elements in its network segment of being responsible for acting on behalf of, and the customizing messages in the automatic discovery message that network element reported that reports in whole network elements is stored in the net element information tabulation as list item.
Wherein, foregoing further comprises: the automatic discovery message that certain network element reports first in whole network elements that Gateway Network Element receives or receive under the situation of the automatic message that is different from the automatic discovery message that reports before this network element of certain reported by network elements, the corresponding list item of message in the net element information tabulation of should finding automatically that receives is provided with the increment mark, and tabulation is upgraded to net element information.
In addition, Gateway Network Element according to Element management system to its carry out pre-configured, Element management system is reported the list item that is provided with the increment mark or reports net element information tabulation.
Wherein, Gateway Network Element, reports to Element management system with pre-defined rule its pre-configured mode that reports according to Element management system, perhaps in response to Element management system the querying command that it issues is reported to Element management system.
In addition, before reporting, can further include: remove the increment mark in list item that reports or the net element information that the reports tabulation.
In addition, also further comprise: Element management system is determined the creation state of the pairing network element of each list item in the net element information tabulation that Gateway Network Element reports.
In addition, also further comprise after the foregoing: Element management system creates NE in network according to customizing messages.
Wherein, customizing messages further comprise following one of at least: the device version information of network element, the manufacturer's information of network element.
According to another embodiment of the present invention, provide a kind of NE Discovery system.
This system comprises network element and Element management system, and further comprise Gateway Network Element, wherein, Gateway Network Element is used to preserve the automatic discovery message that the network element of access network sends, and will find automatically that the required customizing messages that creates NE that comprises in the message reports Element management system; Element management system is used for creating NE at network according to the customizing messages that Gateway Network Element reports.
In sum, by means of technical scheme of the present invention, by having realized finding automatically behind automatic discovery behind the network element access network and the newly-increased Element management system access network realization of Network Element Function, the maintainability of Element management system and the efficient that creates NE have been improved.And Element management system is kept at net element information in the internal memory with tabular form, has avoided the expense of database read write operation.
Other features and advantages of the present invention will be set forth in the following description, and, partly from specification, become apparent, perhaps understand by implementing the present invention.Purpose of the present invention and other advantages can realize and obtain by specifically noted structure in the specification of being write, claims and accompanying drawing.
Embodiment
Below in conjunction with accompanying drawing the preferred embodiments of the present invention are described, should be appreciated that preferred embodiment described herein only is used for description and interpretation the present invention, and be not used in qualification the present invention.
Method embodiment
In the present embodiment, provide a kind of network element automatic discovering method, be applied to comprise the network system of network element, Gateway Network Element, Element management system.Fig. 1 is the flow chart according to the NE Discovery method of the inventive method embodiment.
As shown in Figure 1, the automatic method of finding of network element comprises in the present embodiment: step S102, behind the network element access network, send discovery message automatically to Gateway Network Element, and wherein, find that automatically message includes the required customizing messages that creates NE; Step S104, Gateway Network Element preserve the customizing messages of finding automatically in the message, and it is reported Element management system, wherein, and the device type of specific packet purse rope unit and the address information of network element.
Wherein, device type can refer to: NE type or device type, and different products has different demands; Address information can be IP address, subnet mask or port, and different products has different demands.
In addition, Gateway Network Element receives the automatic discovery message of the whole reported by network elements in its network segment of being responsible for acting on behalf of, and the customizing messages in the automatic discovery message that network element reported that reports in whole network elements is stored in the net element information tabulation as list item.
Wherein, foregoing further comprises: the automatic discovery message that certain network element reports first in whole network elements that Gateway Network Element receives or receive under the situation of the automatic message that is different from the automatic discovery message that reports before this network element of certain reported by network elements, the corresponding list item of message in the net element information tabulation of should finding automatically that receives is provided with the increment mark, and tabulation is upgraded to net element information.
In addition, Gateway Network Element can according to Element management system to its carry out pre-configured, Element management system is reported the list item that is provided with the increment mark or reports net element information tabulation.
Wherein, Gateway Network Element, can report to Element management system with pre-defined rule its pre-configured mode that reports according to Element management system, perhaps also can report to Element management system the querying command that it issues in response to Element management system.
That is to say, Element management system can be provided with Gateway Network Element net element information tabulation report pattern, this reports pattern to comprise: full dose reports with increment and reports, and initiatively reports with passive to report.And full dose reports to report with increment can only select one of them, initiatively reports with passive reporting and also can only select one of them to be provided with.Report pattern if be set to full dose, then Gateway Network Element reports the whole network element information list to Element management system; If be set to incremental mode, then Gateway Network Element only reports the item that has the increment mark in the net element information tabulation to Element management system; If be set to initiatively report pattern, then Gateway Network Element periodically reports the net element information tabulation to Element management system; If be set to the passive pattern that reports, then Gateway Network Element does not initiatively report the net element information tabulation, only when receiving the querying command that Element management system issues, just reports the net element information tabulation to Element management system.
In addition, before reporting, can further include: remove the increment mark in list item that reports or the net element information that the reports tabulation.
That is to say, if the net element information that Gateway Network Element receives is not preserved in Gateway Network Element, perhaps with Gateway Network Element in information inconsistency the time, will be when this information of preservation, add the increment mark, and Gateway Network Element will remove the increment mark of all net element informations after network element sends the net element information tabulation.
In addition, also further comprise: Element management system is determined the creation state of the pairing network element of each list item in the net element information tabulation that Gateway Network Element reports.
And Element management system creates NE in network according to customizing messages.
Whether network element is created on this network element management system, and the value of establishment mark that can be by the net element information item is judged.When Element management system restarts, be according to the network element of having created, the tabulation of initialization net element information.
And, need to prove that also the net element information that Element management system is found is not kept in the database, but be kept in the internal memory with the form of net element information tabulation, and after receiving the net element information that Gateway Network Element sends, the item that net element information in the internal memory is tabulated carries out corresponding modify.
Wherein, customizing messages further comprise following one of at least: the manufacturer's information of the device version information of network element (comprising soft, hardware version information), network element.
Be described below in conjunction with instantiation.
In the present embodiment, Gateway Network Element is responsible for collecting the net element information in the network segment, and in addition, in case the IP address change of Element management system, only needing Gateway Network Element made amendment gets final product, and needn't make an amendment all network elements.When new Element management system access network, the pattern that reports that Gateway Network Element can be set is that full dose reports, thereby obtains the net element information of the whole network segment.
Fig. 2 is the flow chart according to the processing example of the NE Discovery method of the inventive method embodiment.
As shown in Figure 2, behind the network element access network, may further comprise the steps:
Step 1, network element periodically send to Gateway Network Element and find automatically to report the network element essential information by message; Wherein, message content is the needed essential information that creates NE, and comprising: IP address, subnet mask, NE type, network element label etc.;
Step 2, Gateway Network Element are safeguarded a net element information tabulation.After receiving the automatic discovery message that network element is sent, judge in the net element information tabulation whether have this net element information;
Step 2-1 if net element information does not exist, then preserves this net element information in the information list, and adds the increment mark;
Step 2-2, if net element information exists, then whether new and old message is identical;
Step 2-2-1 if message is inequality, replaces old content of message with new message, and adds the increment mark;
Step 3, Gateway Network Element periodically send the net element information tabulation to Element management system.And, before sending the net element information tabulation, judge the current pattern that reports;
Step 3-1 (not shown) is that full dose reports pattern if report pattern, and Gateway Network Element periodically sends to Element management system with the whole net element informations in this network segment, and removes the increment mark of all network elements;
Step 3-2 (not shown) is that increment reports pattern if report pattern, and the net element information that Gateway Network Element will have the increment mark periodically sends to Element management system, and removes the increment mark of all network elements;
Step 4, Element management system are safeguarded a net element information tabulation equally.After receiving the net element information tabulation that Gateway Network Element sends, compare with the tabulation of local network metamessage, judge in the net element information tabulation whether have this net element information;
Step 4-1 if this net element information does not exist, then preserves this net element information in the into local information tabulation, creates mark and is set to not create, and illustrates that this network element also not create in this network element management system;
Step 4-2, if this net element information exists, then relatively whether this net element information changes; If change has taken place, then will create mark, be set to create, data are inconsistent;
Step 5, Element management system is carried out network element and is found operation automatically, and according to every establishment mark value in the net element information tabulation, will create NE and not create NE separately is presented on the interface;
Step 6 (not shown), Element management system is carried out the network element creation operation, creates mark afterwards and is set to create.
System embodiment
As shown in Figure 3, the network element automatic discovering method need be finished by network element, Gateway Network Element, three layers of cooperation of Element management system.Element management system is the top of whole system, is responsible for the Telecommunication Network Element of particular type is managed, and comprises that function and the capacity to network element manages, finishes the arrangement of net element information tabulation and the building work of demonstration and network element; Gateway Network Element is as the intermediate layer between Element management system and the network element, is responsible for collecting automatic discovery message that network element sends, and periodically reports Element management system.Network element is responsible for periodically reporting to Gateway Network Element the information of self, is in system's bottom.
In the present embodiment, provide a kind of network element to find system automatically, Fig. 4 is the block diagram of the NE Discovery system of system according to the invention embodiment.
As shown in Figure 4, this system comprises network element 402 and Element management system 406, and further comprise Gateway Network Element 404, wherein, Gateway Network Element 404 is used to preserve the automatic discovery message that the network element 402 of access network sends, and will find automatically that the 402 required customizing messages that create NE that comprise in the message report Element management system 406; The customizing messages that Element management system 406 is used for reporting according to Gateway Network Element 404 creates NE 402 at network.
And Gateway Network Element 404 also will be preserved the IP address of Element management system 406, if there are a plurality of Element management systems 406, then will preserve IP address list, when sending the net element information tabulation, sends to each Element management system 406 successively.If change the IP address of Element management system 406, then the IP address of preserving in the Gateway Network Element 404 also will be revised synchronously.
Element management system 406 will receive the net element information tabulation that each network segment Gateway Network Element 404 sends, and process when the network element 402 of a plurality of network segments of management.
In said system, will realize with lower interface between Element management system 406 and the Gateway Network Element 404: Gateway Network Element 404 is provided with the interface that Gateway Network Element 404 reports pattern to interface and the Element management system 406 that Element management system 406 sends the net element information tabulation; And will realize with lower interface between network element 402 and the Gateway Network Element 404: network element 402 reports the interface of net element information to Gateway Network Element 404.
In sum, by means of technical scheme of the present invention, by having realized finding automatically behind automatic discovery behind the network element access network and the newly-increased Element management system access network realization of Network Element Function, the maintainability of Element management system and the efficient that creates NE have been improved.And Element management system is kept at net element information in the internal memory with tabular form, has avoided the expense of database read write operation.
The above is the preferred embodiments of the present invention only, is not limited to the present invention, and for a person skilled in the art, the present invention can have various changes and variation.Within the spirit and principles in the present invention all, any modification of being done, be equal to replacement, improvement etc., all should be included within protection scope of the present invention.