Summary of the invention
Embodiment of the present invention technical problem to be solved is, provides a kind of network element data management method and system.Can managed network element data efficiently, workload when reducing the later maintenance such as network element data additions and deletions, amendment and difficulty.
In order to solve the problems of the technologies described above, embodiments provide a kind of network element data management method, comprising: in advance according to regulatory requirement creative management information bank tree directory, described management information bank tree directory comprises at least one management information bank node;
Described management information bank tree directory is converted to corresponding extensible markup language document, in described extensible markup language document, comprises the defining objects mark of each management information bank node;
Obtain the network element data corresponding to each management information bank node respectively from the network element in range of management, and described network element data is cached in database.
Wherein, the content stored in described database comprises element name field, instance objects identification field and data value field;
Element name field is for storing element name, and described element name is used for unique identification network element;
Instance objects identification field is for storing instance objects mark, and described instance objects mark is used for a kind of management information bank node of unique identification, and described instance objects mark corresponds to described defining objects mark;
Data value field is identified the data of the special network element customized configuration item of common ID by described element name and described instance objects for storing.
Wherein, described method also comprises:
Monitor the network element more new events in described range of management;
Judge whether that network element changes, if be judged as YES, then determined the network element deletion having new network element to increase or have been friends in the past, if there is new network element to increase, then obtains network element data from new network element, and the network element data of acquisition is cached in database; If the network element of haveing been friends in the past is deleted, then the network element data of the old network element of buffer memory in database is deleted.
Wherein, described method also comprises:
Receive network element data inquiry request;
Described network element data is inquired about in the database according to described network element data inquiry request;
Judge that whether the database query result of described network element data is empty, if be judged as YES, then in described network element, inquire about described network element data, and the Query Result in network element is returned to user; If be judged as NO, then the Query Result in database is returned to user.
Wherein, described method also comprises:
Judge whether management information bank tree directory there occurs amendment, if be judged as YES, then return and perform the described step described management information bank tree directory being converted to corresponding extensible markup language document.
Correspondingly, the embodiment of the present invention additionally provides a kind of network element data management system, comprising:
Management information bank creation module, in advance according to regulatory requirement creative management information bank tree directory, described management information bank tree directory comprises at least one management information bank node;
Management information bank-extend markup language modular converter, for described management information bank tree directory being converted to corresponding extensible markup language document, comprises the defining objects mark of each management information bank node in described extensible markup language document;
Data acquisition module, for obtaining the network element data corresponding to each management information bank node respectively from the network element in range of management, and is cached in database by described network element data;
Database, for storing described network element data.
Wherein, the content stored in described database comprises element name field, instance objects identification field and data value field;
Element name field is for storing element name, and described element name is used for unique identification network element;
Instance objects identification field is for storing instance objects mark, and described instance objects mark is used for a kind of management information bank node of unique identification, and described instance objects mark corresponds to described defining objects mark;
Data value field is identified the data of the special network element customized configuration item of common ID by described element name and described instance objects for storing.
Wherein, described system also comprises:
Finding module, for monitoring the network element more new events in described range of management, having judged whether that network element changes;
First judge module, during for finding that there is network element change in described discovery module, judgement has new network element to increase or the network element of haveing been friends in the past is deleted, if there is new network element to increase, then notify that described data acquisition module obtains network element data from new network element, and the network element data of acquisition is cached in described database;
Database maintenance module, when the network element for determining to have been friends in the past at described first judge module is deleted, deletes the network element data of the old network element of buffer memory in described database.
Wherein, described system also comprises:
Human-machine interface module, for receiving network element data inquiry request;
Enquiry module, for inquiring about described network element data in the database according to described network element data inquiry request;
Result returns module, for judging whether the database query result of network element data is empty, if be judged as NO, then by described human-machine interface module, the Query Result in database is returned to user; If be judged as YES, then notify that described enquiry module inquires about required network element data in network elements, and the Query Result in network element is returned to user.
Wherein, described system also comprises:
Second judge module, for judging whether management information bank tree directory there occurs amendment, if be judged as YES, then notifies that management information bank-extend markup language modular converter regenerates extensible markup language document.
Implement the embodiment of the present invention, there is following beneficial effect: by the MIB(Management Information Base that will be pre-created, management information bank) tree directory is mapped to XML(Extensible Markup Language, extend markup language) file, and the database caches network element data in webmaster side, once MIB node changes, only need to regenerate XML file, can the change of MIB node be updated in XML file, avoid unnecessary object expense; In addition, because most of network element data remains unchanged, directly at webmaster side inquiry network element data, greatly can be accelerated inquiry velocity, and improve the performance of network management by database caches mechanism.
Embodiment
Below in conjunction with the accompanying drawing in the embodiment of the present invention, be clearly and completely described the technical scheme in the embodiment of the present invention, obviously, described embodiment is only the present invention's part embodiment, instead of whole embodiments.Based on the embodiment in the present invention, those of ordinary skill in the art, not making the every other embodiment obtained under creative work prerequisite, belong to the scope of protection of the invention.
See Fig. 1, be the first embodiment flow chart of network element data management method provided by the invention, as shown in Figure 1, comprise:
In step S100, create MIB(Management Information Base according to regulatory requirement in advance, management information bank) tree directory, described MIB tree directory comprises at least one MIB node.It should be noted that, " MIB tree directory " used herein is not mib information of the prior art, and it is only similar to mib information in version, is namely all tree, but both are different in data management mode.MIB carrys out managed network element data by complicated Java Bean entity class under directory tree, need to safeguard a large amount of objects and database table, such as each root MIB node comprising leaf MIB node is by generation Java Bean entity class, each leaf MIB node under this root MIB node is an attribute of Bean object, when root MIB node is a lot, a lot of Java Bean entity class will be produced.In contrast to this, MIB tree directory is only a kind of directory tree, and it only needs maintenance Java Bean object, and each root MIB node comprising leaf MIB node is an attribute (i.e. configuration item) of Java Bean object.
In step S101, described MIB tree directory is converted to corresponding XML(Extensible Markup Language, extending mark language) file, comprise the definition OID(Object Identifier of each MIB node in described XML file, object identity).
In step S102, obtain the network element data corresponding to each MIB node respectively from the network element in range of management, and described network element data is cached in database.
A kind of network element data management method of the present invention is by being mapped to XML file by the MIB tree directory be pre-created, and the database caches network element data in webmaster side, once MIB node changes, only need to regenerate XML file, can the change of MIB node be updated in XML file, avoid unnecessary object expense; In addition, because most of network element data remains unchanged, directly at webmaster side inquiry network element data, greatly can be accelerated inquiry velocity, and improve the performance of network management by database caches mechanism.
See Fig. 2, it is the second embodiment flow chart of network element data management method provided by the invention.In the present embodiment, by the method flow of this network element data of description specifically management.As shown in Figure 2, the method flow process comprises:
In step S200, create MIB tree directory according to regulatory requirement in advance, described MIB tree directory comprises at least one MIB node.According to regulatory requirement, the hierarchical structure of MIB tree directory may be very complicated, and such as, MIB tree directory can comprise at least one root MIB node, each MIB node can comprise at least one leaf MIB node, can comprise again at least one secondary leaf MIB node etc. under each leaf MIB node.Wherein, the root MIB node comprising leaf MIB node can be called configuration item, and each leaf MIB node can be used for each attribute representing configuration item.Such as, when a root MIB node represents configuration information, leaf MIB node under this root MIB node can comprise: system type code, software version, proxy port and Log Desinations table etc., wherein can comprise again secondary leaf MIB node under Log Desinations table, such as CPU use amount, internal memory use amount, hard disk use amount, network traffics etc.Preferably, in this step S200, can also comprise and generate network element list according to the network element in range of management, the element name of each network element or the information of other this network element of energy unique identification in this network element list, can be comprised.
In step S201, described MIB tree directory is converted to corresponding XML file, in described XML file, comprises the definition OID of each MIB node.In the prior art, each root MIB node (such as SystemConfigutationGroup) comprising leaf MIB node is by generation Java Bean entity class, then by the attribute of each leaf MIB node under root MIB node as Bean object, once such root MIB node is a lot, will produce a lot of object and database table, this maintenance for the project later stage is very difficult.Such as, and once mib information produces change, update routine code again, increases, revises or deletes, and this will cause very large workload.
Particularly, see Fig. 3, the source file that the reference MIB for the SystemConfigutationGroup configuration item in MIB tree directory defines.Fig. 3 illustrate only leaf MIB node serverIdentifer, and other leaf MIB node is similar, no longer describes in detail.See Fig. 4, it is the XML file after the conversion of SystemConfigutationGroup configuration item.As shown in Figure 4, each leaf MIB node corresponds to a columnAttribute node in xml, and wherein identifier attribute corresponds to the definition OID of MIB node.Can be obtained the example OID of this MIB node by the definition OID of MIB node, thus can inquire about the network element data of this MIB node in database or network element, this will be described in detail later.
In step S202, obtain the network element data corresponding to each MIB node respectively from the network element in range of management, and described network element data is cached in database.Particularly, the content stored in described database can comprise element name field, example oid field and data value field.Element name field is for storing element name, and element name is used for unique identification network element.Example oid field, for storing example OID, is also configuration item information, and example OID is used for a kind of MIB node of unique identification, and described example OID corresponds to described definition OID.Data value field is for storing by the data of the special network element customized configuration item of described element name and described example OID common ID.
More specifically, according to the definition of MIB in prior art, variable can be divided into scalar sum table amount node, and each variable has one to define OID and example OID.For scalar, example OID=defines OID+ " .0 "; For table amount, example OID=defines OID+ ". "+major key information.Such as, represent the name of a people with a root MIB node, the definition OID of this root MIB node is 1.1, if do not have other leaf MIB node under this root MIB node, so this root MIB node is scalar node, and its example OID is 1.1.0; If when this root MIB node also comprises leaf MIB node Chinese name, English name, pet name etc., its example OID can be 1.1.1(Chinese name), 1.1.2(English name) or the 1.1.3(pet name).In network element side network element, the specific MIB node of unique identification one can be carried out by example OID.But in webmaster side, because different network elements may have identical MIB node, so element name is also adopted to carry out unique identification network element.That is, the next specific configuration item of unique identification network element is carried out with element name+example OID.In addition, in webmaster side, go back the value that usage data value field value carrys out store M IB node.Such as, a database table for buffer memory network element data can be as follows:
Field name |
Type |
Whether major key |
NeID |
String |
Be |
oid |
String |
Be |
value |
String |
No |
In step S203, the more new events of the network element within the scope of management of monitor, has judged whether that network element changes.If be judged as NO, be then left intact, if be judged as YES, then perform step S204.
In step S204, determine the network element deletion having new network element to increase or have been friends in the past.If there is new network element to increase, then perform step S205; If the network element of haveing been friends in the past is deleted, then perform step S206.
In step S205, obtain network element data from new network element, and the network element data of acquisition is cached in database, and return execution step S203.
In step S206, the network element data of the old network element of buffer memory in database is deleted, and return execution step S203.
By the more new events of the network element within the scope of management of monitor, the consistency of network element side network element and webmaster side data can be kept.In addition, if find, the data of network element side network element and webmaster side are inconsistent, can also manually refresh to realize consistency.
See Fig. 5, it is the method flow diagram that network element data is inquired about provided by the invention.As shown in Figure 5, the method flow process is from step S500, and step S500 can perform any time after the step S202 shown in the step S102 shown in Fig. 1 and Fig. 2.
In step S500, receive network element data inquiry request.Particularly, network element inquiry request can comprise the instruction of MIB sensor selection problem and network element selection instruction.Such as, MIB tree directory can be shown on display interface, and receive the click of user to certain specific MIB node in MIB tree directory, in addition, on display interface, can also show or eject network element select interface, and receive the click of user to certain specific element name, wherein network element is selected network element list can be listed in interface.
Preferably, network element list can real-time update.Such as, in the step S205 shown in Fig. 2, can also comprise and reload network element list, the network element list of reloading comprises the element name of new network element; In step S206, can also comprise and reload network element list, in the network element list of reloading, not comprise the element name of old network element.
In step S501, inquire about network element data in a database according to received network element data inquiry request.Particularly, the MIB node needing inquiry can be determined according to received MIB sensor selection problem instruction, and in XML file, obtain the definition OID of this MIB node, then example OID is obtained according to the definition OID of this MIB node, the element name of the network element needing inquiry can also be determined according to network element selection instruction simultaneously, next, just required network element data can be inquired about in a database according to element name+example OID.
In step S502, judge whether the database query result of network element data is empty, if be judged as NO, perform step S503; If be judged as YES, perform step S604.
In step S503, the Query Result in database is returned to user.
In step S504, the required network element data of inquiry in network elements, and the Query Result in network element is returned to user.
Preferably, as shown in Figure 6, step S504 specifically comprises:
In step S600, inquire about network element data in network elements by snmp protocol.
In step S601, judge whether the Query Result of network element data is empty, if judged result is no, then perform step S602; If the determination result is YES, then directly step S603 is performed.
In step S602, the network element data found is cached in database, and then performs step S603.
In step S603, the Query Result in network element is returned to user.
By buffer memory network element data in the database of webmaster side, the performance of managed network element data greatly can be improved.Suppose that inquiring about a secondary data (inquiring about a configuration item) in network element side network element needs 2s, needs 0.5s in data base querying one secondary data, supposes 10 configuration items (i.e. 10 MIB nodes) will inquiring about network element, adopt conventional method to need the time in network element side network element inquiry:
10*2s=20s
Adopt the present invention data base querying (usually having the success rate of at least 90%), so query time only needs:
10*0.9*0.2s+10*0.1*2s=3.8s
Even the new network element found, need to obtain network element data to database from new network element, but generally carry out in the ignorant situation of user due to this section of automatic acquisition process, therefore negligible.Comparatively speaking, the time that present invention saves more than at least 81% is adopted.
See Fig. 7, for provided by the invention at the method flow diagram of webmaster side maintenance network metadata.As shown in Figure 7, the method flow process is from step S700, and step S700 can perform any time after the step S202 shown in the step S102 shown in Fig. 1 and Fig. 2.The method comprises:
In step S700, judge whether MIB tree directory there occurs amendment, if not, then continue to perform step S700; If so, then return and perform step S101 or S201.
Particularly, if define new MIB node, XML file can be regenerated according to new MIB tree directory; If delete old MIB node, corresponding columnAttribute node can be deleted in XML file.Like this, no matter how MIB node changes, and all only needs maintenance Java Bean object and an XML file, substantially reduce the maintenance cost in project later stage in webmaster side.
See Fig. 8, be the first example structure schematic diagram of network element data management system provided by the invention, as shown in Figure 8, comprise:
MIB creation module 810, for creating MIB tree directory according to regulatory requirement in advance, described MIB tree directory comprises at least one MIB node.It should be noted that, " MIB tree directory " used herein is not mib information of the prior art, and it is only similar to mib information in version, is namely all tree, but both are different in data management mode.MIB carrys out managed network element data by complicated Java Bean entity class under directory tree, need to safeguard a large amount of objects and database table, such as each root MIB node comprising leaf MIB node is by generation Java Bean entity class, each leaf MIB node under this root MIB node is an attribute of Bean object, when root MIB node is a lot, a lot of Java Bean entity class will be produced.In contrast to this, MIB tree directory is only a kind of directory tree, and it only needs maintenance Java Bean object, and each root MIB node comprising leaf MIB node is an attribute (i.e. configuration item) of Java Bean object.
MIB-XML modular converter 820, for described MIB tree directory being converted to corresponding XML file, comprises the definition OID of each MIB node in described XML file.
Data acquisition module 830, for obtaining the network element data corresponding to each MIB node respectively from the network element in range of management, and is cached to described network element data in database.
Database 840, for storage network metadata.
A kind of network element data management system of the present invention is by being mapped to XML file by the MIB tree directory be pre-created, and the database caches network element data in webmaster side, once MIB node changes, only need to regenerate XML file, can the change of MIB node be updated in XML file, avoid unnecessary object expense; In addition, because most of network element data remains unchanged, directly at webmaster side inquiry network element data, greatly can be accelerated inquiry velocity, and improve the performance of network management by database caches mechanism.
See Fig. 9, it is the second example structure schematic diagram of network element data management system provided by the invention.In the present embodiment, by the structure of this network element data management system of description specifically.As shown in Figure 9, this system comprises:
MIB creation module 810, for creating MIB tree directory according to regulatory requirement in advance, described MIB tree directory comprises at least one MIB node.According to regulatory requirement, the hierarchical structure of MIB tree directory may be very complicated, and such as, MIB tree directory can comprise at least one root MIB node, each MIB node can comprise at least one leaf MIB node, can comprise again at least one secondary leaf MIB node etc. under each leaf MIB node.Wherein, the root MIB node comprising leaf MIB node can be called configuration item, and each leaf MIB node can represent each attribute of configuration item.Such as, when a root MIB node represents configuration information, leaf MIB node under this root MIB node can comprise: system type code, software version, proxy port and Log Desinations table etc., wherein can comprise again secondary leaf MIB node under Log Desinations table, such as CPU use amount, internal memory use amount, hard disk use amount, network traffics etc.
Preferably, in MIB creation module 810, network element List Generating Module can also being comprised, for generating network element list according to the network element in range of management, the element name of each network element or the information of other this network element of energy unique identification in this network element list, can be comprised.
MIB-XML modular converter 820, for described MIB tree directory being converted to corresponding XML file, comprises the definition OID of each MIB node in described XML file.In the prior art, each root MIB node (such as SystemConfigutationGroup) comprising leaf MIB node is by generation Java Bean entity class, then by the attribute of each leaf MIB node under root MIB node as Bean object, once such root MIB node is a lot, will produce a lot of object and database table, this maintenance for the project later stage is very difficult.Such as, and once mib information produces change, update routine code again, increases, revises or deletes, and this will cause very large workload.
Particularly, see Fig. 3, the source file that the reference MIB for the SystemConfigutationGroup configuration item in MIB tree directory defines.Fig. 3 illustrate only leaf MIB node serverIdentifer, and other leaf MIB node is similar, no longer describes in detail.See Fig. 4, it is the XML file after the conversion of SystemConfigutationGroup configuration item.As shown in Figure 4, each leaf MIB node corresponds to a columnAttribute node in xml, and wherein identifier attribute corresponds to the definition OID of MIB node.Can be obtained the example OID of this MIB node by the definition OID of MIB node, thus can inquire about the network element data of this MIB node in database or network element, this will be described in detail later.
Data acquisition module 830, for obtaining the network element data corresponding to each MIB node respectively from the network element in range of management, and is cached to described network element data in database.
Database 840, for storing the network element data that data acquisition module 830 obtains.Particularly, the content stored in described database 840 can comprise element name field, example oid field and data value field.Element name field is for storing element name, and element name is used for unique identification network element.Example oid field, for storing example OID, is also configuration item information, and example OID is used for a kind of MIB node of unique identification, and described example OID corresponds to described definition OID.Data value field is for storing by the data of the special network element customized configuration item of described element name and described example OID common ID.
More specifically, according to the definition of MIB in prior art, variable can be divided into scalar sum table amount node, and each variable has one to define OID and example OID.For scalar, example OID=defines OID+ " .0 "; For table amount, example OID=defines OID+ ". "+major key information.Such as, represent the name of a people with a root MIB node, the definition OID of this root MIB node is 1.1, if do not have other leaf MIB node under this root MIB node, so this root MIB node is scalar node, and its example OID is 1.1.0; If when this root MIB node also comprises leaf MIB node Chinese name, English name, pet name etc., its example OID can be 1.1.1(Chinese name), 1.1.2(English name) or the 1.1.3(pet name).In network element side network element, the specific MIB node of unique identification one can be carried out by example OID.But in webmaster side, because different network elements may have identical MIB node, so element name is also adopted to carry out unique identification network element.That is, in database 840, the next specific configuration item of unique identification network element can be carried out with element name+example OID.In addition, in webmaster side, in database 840, go back the value that usage data value field value carrys out store M IB node.
Find module 850, for the more new events of the network element within the scope of management of monitor, judged whether that network element changes.
First judge module 860, has new network element to increase or the network element deletion of haveing been friends in the past for determining.If there is new network element to increase, then notification data acquisition module 830 obtains network element data from new network element, and is cached in database 840 by the network element data of acquisition; If the network element of haveing been friends in the past is deleted, then notification database maintenance module 870.
Database maintenance module 870, when the network element for determining to have been friends in the past at the first judge module 860 is deleted, deletes the network element data of the old network element of buffer memory in database.
The network element data management system that the present embodiment provides, by monitoring network element more new events, can keep the consistency of network element side network element and webmaster side data.
See Figure 10, it is the 3rd example structure schematic diagram of network element data management system provided by the invention.As shown in Figure 10, except the module be described with reference to figure 8 and Fig. 9, this system can also comprise:
Human-machine interface module 880, for receiving network element data inquiry request.Particularly, network element inquiry request can comprise the instruction of MIB sensor selection problem and network element selection instruction.Such as, human-machine interface module 880 can show MIB tree directory on display interface, and receive the click of user to certain specific MIB node in MIB tree directory, in addition, human-machine interface module 880 can also show or eject network element and select interface on display interface, and receive the click of user to certain specific element name, wherein network element is selected network element list can be listed in interface.Human-machine interface module 880 can be the electronic device for man-machine interaction of any appropriate such as display screen, keyboard, touch-screen, handwriting screen.
Enquiry module 890, inquires about network element data for the network element data inquiry request received according to human-machine interface module 880 in database 840.Particularly, the MIB node needing inquiry is determined in the MIB sensor selection problem instruction that enquiry module 890 can receive according to human-machine interface module 880, and in XML file, obtain the definition OID of this MIB node, then example OID is obtained according to the definition OID of this MIB node, the element name of the network element needing inquiry can also be determined according to network element selection instruction simultaneously, next, enquiry module 890 just can inquire about required network element data according to element name+example OID in database 940.
Result returns module 900, for judging whether the database query result of network element data is empty, if be judged as NO, then by human-machine interface module 880, the Query Result in database 840 is returned to user; If be judged as YES, then notify that enquiry module 890 inquires about required network element data in network elements, and the Query Result in network element is returned to user.
Preferably, specifically for inquiring about network element data in network elements by snmp protocol when enquiry module 890 inquires about network element data in network elements.Result returns module 900 specifically for judging whether the Query Result of network element data is empty, if the determination result is YES, then the Query Result in network element is returned to user; If judged result is no, then the network element data found is cached in database 840 by notification data acquisition module 830, and the Query Result in network element is returned to user.
By buffer memory network element data in the database of webmaster side, the performance of managed network element data greatly can be improved.
Preferably, network element data management system can also comprise the second judge module, for judging whether MIB tree directory there occurs amendment, if not, then continues to judge; If so, then notify that MIB-XML modular converter 820 regenerates XML file.
Particularly, if the second judge module finds to define new MIB node, then can notify that MIB-XML modular converter 820 regenerates XML file according to new MIB tree directory; If the second judge module finds to delete old MIB node, then can notify that MIB-XML modular converter 820 deletes corresponding columnAttribute node in XML file.Like this, no matter how MIB node changes, and all only needs maintenance Java Bean object and an XML file, substantially reduce the maintenance cost in project later stage in webmaster side.
Preferably, network element data management system can also comprise network element list update module.Such as, when finding that module 850 finds to add new network element, the element name of new network element can add in network element list by network element list update module.When finding that module 850 finds to add new network element, the element name of old network element can be deleted by network element list update module from network element list.
The method that above reference diagram 1-7 describes or other embodiment of the method can use and perform with reference to the system described by figure 8-10 or other system embodiment.But, the various modules defined in system embodiment described above, and be not used in the border limiting physical circuit, when reality is implemented, these modules can also be divided into other module, unit or circuit.
See Figure 11, it is the structural representation of a kind of network element data management system based on user terminal/server framework provided by the invention.
As shown in figure 11, this system comprises client, server and database.Wherein, server can be one independently individual, also can be divided into FE(Front Server, front-end server) and BE(Back Server, back-end server) two parts.Server is divided into FE and BE, when multiple data inquiry request is concurrent, inquiry pressure can be alleviated, improve query performance, because a part of data inquiry request only can be mail to BE process by the queuing mechanism of FE, and by other data inquiry request buffer memory, delays to send.Topo module can be positioned at client and/or server, is equivalent to find module, is mainly used in the network element more new events within the scope of management of monitor.
Client can comprise the main interface of configuration, MIB-XML modular converter, Socket monitor module, RMI calling module.Configure main interface and be equivalent to human-machine interface module, provide the entrance that user carries out various network element data management, and network element data is showed user according to the hierarchical structure of MIB.MIB-XML modular converter is mainly used in converting special mib file to XML file.Socket monitors module and is mainly used in monitoring the network element list update message that sends over of FE, once topo finds that network element upgrades, will trigger this operation that Socket monitors module.In addition, the operation requests of client (such as data inquiry request) can be forwarded to FE by RMI calling module.
FE can comprise transmission provides interface & client session to pass on device and RMI FE applies, be respectively used to forward RMI, Socket of client and ask BE, and the RMI result that BE is returned or the Socket request forward of BE that receives are to client.
BE can comprise BE Socket conversation module, RMI BE applies, network element operational module and database operating modules, be mainly used in changing the additions and deletions of data network element data look into operation, the additions and deletions of NE-side data change the synchronized update operation etc. of looking into operation, webmaster side and NE-side data.In addition, once there is network element more new events at topo place, network element can be sent by BE Socket conversation module to client and upgrade list, and by network element operational module and database operating modules, the network element data of new network element is added in database, or deleted from database by the network element data of old network element, thus ensure the consistency of network element side network element and webmaster side data.When the data inquiry request of FE arrives, first BE will obtain data from database, if countless certificate in database, then fetches data from network element side network element, and stored in database.
One of ordinary skill in the art will appreciate that all or part of flow process realized in above-described embodiment method, that the hardware that can carry out instruction relevant by computer program has come, described program can be stored in a computer read/write memory medium, this program, when performing, can comprise the flow process of the embodiment as above-mentioned each side method.Wherein, described storage medium can be magnetic disc, CD, read-only store-memory body (Read-Only Memory, ROM) or random store-memory body (Random Access Memory, RAM) etc.
Above disclosedly be only a kind of preferred embodiment of the present invention, certainly the interest field of the present invention can not be limited with this, one of ordinary skill in the art will appreciate that all or part of flow process realizing above-described embodiment, and according to the equivalent variations that the claims in the present invention are done, still belong to the scope that invention is contained.