Move in the communication network in Tianjin, have 6 the intersection of Siemens and exchanger, they remit, answer office and move the intersection of pass and office as first grade separately, undertaking very important task, and the technical staff is to depend on the statistical report form of performance to a great extent to the maintenance of the apparatus and analysis on network quality, so offer the good performance solution to seem unusually important to the exchanger of Siemens. I pass making and the study on all kinds of exchanger performance solutions of the report form of performance for a long time, have proposed a set of solutions to the management of the exchanger of Siemens.
Insert the respect in the hardware, because the exchanger of Siemens offers X.25 port to the outside, so adopt the way of uniting the exchanger directly and insert the exchanger of Siemens in the network management system. Connect in the hardware to PAD apparatus which adopts Motorola, the port of PAD is that 1 enters 5, can meet with X.25 mouth of Siemens exchanger, change X.25 agreement into 5 and string an agreement together, and then through using IOLAN one bunch of dataflows to convert to TCP/IP dataflow and insert the network management system. Connect and shown as in Fig. 1 specifically. The connection way which adopts Fig. 1 can guarantee to set up steady physics and logic to connect with the exchanger. IOLAN apparatus supports ports to tie definitely, namely this apparatus has an IP address, and each physical port of it can correspond to a logic end slogan, in this way, can adopt the commonly most used socket way in the programming of network to tie the port definitely, to realize the operation of the exchanger with setting up a logic and connecting between the exchangers. Comparatively speaking, the hardware connection that the exchanger of Siemens inserts the respect in the network management is simpler, this scheme is to insert the scheme that the respect is adopted in the domestic network management extensively too.
Will introduce the part of the software especially as follows. Can be divided into deployment, gathered, analyzed putting in storage, report form and made and reported an emergency and asked for help or increased vigilance and monitored five parts as to the part of the software. Among them manage the procedure and play a key function, is responsible for linking up and assuming unified command of each module by the main deployment procedure.
In order to understand the principle of each module and realize the course, explain the module one by one as follows better.
A deployment procedure
The deployment procedure is that each procedure coordinates the core of the job, it is controlling and producing the procedure of tool and warning procedure automatically from gathering, analyzing to put in storage to touching off the report form, the concrete function includes:
1.Set up and monitor socket;
2.Wait to gather the procedure, analyze that puts the procedure, automatic generator of report form in storage, reports an emergency and asks for help or increased vigilance to monitor the connection request of the procedure;
3.Accept that gathers the procedure, analyzes that SOCKET which monitors the procedure connects to put the procedure, automatic generator of report form in storage, report an emergency and ask for help or increased vigilance;
4.Ask the wheel to each connection;
5.Receive and analyze that gathers the news that the procedure sends, this news is that an single report of yuan of network gathers succeeding in or fails, gather successful, until analysis put the intersection of procedure and the whole the intersection of route and parameter in storage go, transfer corresponding analysis, put the procedure in storage in the news, if gather and fail, send and gather failing and tell news to give and report an emergency and ask for help or increased vigilance and monitor the procedure, it’s time, notify in the news including the intersection of network and yuans of name, time point, reporting naming and messaging of failing;
6.The ones that received and analyzed and put the procedure in storage and sent reported that analyzes that puts the news of succeeding or not in storage, for analyzing the failure, send and analyze that fails to tell news to give and report an emergency and ask for help or increased vigilance and monitor the procedure, it’s time, notify in the news including the intersection of network and yuans of name, time point, reporting naming and messaging of failing, for analyzing the news succeeding, judge whether to touch off the automatic generator of report form.
The main deployment procedure adopts the permanent way to memory as the core of the system, operate it as a systematic process, but other module can be started when needing, the work withdrew.
Second, database are designed
In the design of the database, the basic principle is faithful in the initial data. Unless for design of database, it adopt concept that be graded,namely according to to not realizing database the gradings of the tables in grades of data. Particularly, presume, as the first table, keep data and basic the intersection of network and yuans of annotate and the intersection of time and message in the primitive report only in table this to initial data, on this basis, can calculate according to the data in the performance formula, leave the result of operation in the second database form as the second data. According to the need, Tianjin moves the table just presuming the first in this system, report the type confirms what tables are needed in fact with the son in the primitive report, namely the sub report of a kind of type is correspondent to a table in the database, counter one-to-one correspondence in field in the table and initial data, so can establish corresponding relation of the table in initial data and database conveniently, as finishing analyzing after putting in storage, users only need to care about the database. Operate like this, as to subsequent calculation and further dealing with and laying a good foundation, because when users define formulae, the operation rule of just defining primitive counter in fact, need only and operate conveniently to the database like this.
Gather the procedure in third, data
It is responsible for the automatic collection of the initial data report to gather the procedure. Gather procedure, dispose file initially according to each network yuan, connect appointed port of exchanger automatically, right. Adopt this way to every report, guarantee the steady collection of each statistical report on the then greatest intensity.
However, because there is not the port trouble of the exchanger or statistical report sometimes ,To the situation, adopt, be worked again automatically, this need, mend participation that adopt by hand. It is as the procedure finds unable to draw the report normally in realizing, adopt too inoperative again automatically, adopt, dispose information, write intact benefit into, get benefit that appoint adopt, dispose in the the files, meanwhile, produced performance and monitored and reported an emergency and asked for help or increased vigilance to notify the front desk attenbant, the attenbant measures after reporting an emergency and asking for help or increased vigilance, can be according to mending and adopting the benefit disposing the file and carrying on the primitive report of performance to adopt.
Fourth, performance monitor and report an emergency and ask for help or increased vigilance
Performance monitor and report an emergency and ask for help or increased vigilance mainly including systematically to report an emergency and ask for help or increased vigilance, gather and report an emergency and ask for help or increased vigilance, analyze that reports an emergency and asks for help or increased vigilance and makes the report form and reports an emergency and asks for help or increased vigilance by oneself.
It is when the unusual state takes place during operation in every module of system that systematic to report an emergency and ask for help or increased vigilance by oneself, produced and notified the front desk attenbant from the main deployment procedure.
Gathering and reporting an emergency and asking for help or increased vigilance is as gathering the procedure when being unable to gather to the statistical report of performance, produce corresponding alarm of report, report an emergency and ask for help or increased vigilance content include the intersection of network and yuans of name, report the name and gather time.
The perfomance analysis reports an emergency and asks for help or increased vigilance to act as analyzing the analysis on primitive report of procedure fails, or put the procedure in storage and insert the analysis result in the course of database to become abnormal when can’t finish the work of putting in storage normally, report an emergency and ask for help or increased vigilance, notify the intersection of front desk and attenbant whether analyze, fail or put to adopt, dispose information, write into, arrive appoint adopt, dispose in the the files again again primitive report that fail in storage at the same time.
In the course of producing the report form, when if the report form is made the procedure finds the data of the report are inconsistent with disposition information in the template, produce report form, make, report an emergency and ask for help or increased vigilance, inform front desk of personnel, pay attention to the intersection of report form and change of data, so that the attenbant handles it in time.
Performance monitor report an emergency and ask for help or increased vigilance, monitor procedure, support front desk attenbant, go on, monitor in real time reporting an emergency and asking for help or increased vigilance. The front desk reports an emergency and asks for help or increased vigilance and monitors the procedure to set up the connection through TCP/IP socket way and main deployment procedure, , send these information of reporting an emergency and asking for help or increased vigilance to the front desk that has set up connection and report an emergency and ask for help or increased vigilance and monitor the procedure, the front desk reports an emergency and asks for help or increased vigilance and monitors the procedure to notify the front desk attenbant by way of pronunciation or picture.
Fifth, analyze that put in storage
As to the analysis of the primitive report, it is to go on under UNIX, it was awk way that was adopted, because awk has very strong handling capacity to the text, can realize the analysis on text very conveniently while utilizing it. Because the form difference of all kinds of primitive reports is relatively great, it is unable to adopt the unified procedure to analyze, so need to develop the corresponding analysis procedure alone to every kind of report. In order to operate more convenient, add the procedure outer cover of one C in awk procedure, the outer cover procedure transfers awk to analyze the procedure analyzes the primitive report, get the analysis result, then the outer cover procedure changes the analysis result into SQL sentence, and insert the result in the database through ESQL-C way. In this way, can well analyze and put the procedure in storage to integrate, at the same time, because of possessing the outer cover procedure that C language is written, can realize the transmission of news through socket mechanism, thus meet the requirement for the whole system.
Sixth, report form are made the procedure
The report form utilizes VB5 to develop and finish to makes the procedure, it can run in the operating system of series Windows steadily, report form make procedure in fact as go on, coordinate work between the the intersection of Client and end and main the intersection of deployment and procedure. After making the procedure and starting in the report form, at first and the main deployment procedure sets up steady TCP/IP socket to connect, send designated news, notify main deployment whether the intersection of front desk and report form make whom procedure set up in connection this in procedure. When the main deployment procedure is thought to make report form, make the procedure and send designated news to the report form of the front desk, front desk report form make procedure, receive after the news this, analyse, need, make the intersection of network and yuan of report form and need time slot that make, open the report form template Excel form automatically ,And the data that will need draw from the database out the appointed position that put into report form template, then keep the report form template the catalogue reaching and appointing and finish the making of the report form and work while changing the file name into a designated name. Among them, the report form template can already utilize the characteristic of Excel when making, carry on making of report form by chaining with the formula, too can pay, calculate with the intersection of SQL and sentence to data in the database directly directly, then the result of making operation is filled in to the appointed position in the template.
Seventh, touch off the mechanism
As to a software system, possess good the intersection of trigger and mechanism, guarantee each coordination of module run steadily only. Have already above mentioned, the performance system of the exchanger of Siemens includes a plurality of separate module, and have relation pinned down each other between them, this needs a complete trigger mechanism. Therefore, it is the operation coordinating each module to touch off mechanism’s overall thought by way in which news drives, because the software needs to run in the network environment, adopt socket to carry on communication, transmit news by steady TCP/IP socket interface.
Touching off the mechanism especially presumes the unified news form, it is various incidents that have stipulated the corresponding news serial number, thus determine the movements of each module according to different news number. In addition, it needs pays special attention to to be to require each module allow, launch automatically through a certain way already also in the intersection of system and design, also allow attenbants to start by hand. Can start the procedure by hand and finish the work when needing to mend the primitive report and adopting or needing to analyze the primitive report like this. A complete system should also possess the good one’s own mechanism of management, in this system, each module can monitor each other, any module goes wrong, the main deployment procedure will produce oneself and monitor and report an emergency and ask for help or increased vigilance, and after gathering the procedure is started regularly by the operating system, if find the main deployment procedure dies, can start the main deployment procedure automatically, thus guarantee the steady operation of the whole system to the greatest extent.
Have already developed finishing as to independent subsystem as one in Tianjin has moved the network management system in the above-mentioned schemes, and already put into running formally, its scheme of realization has been approved by different fields, can carry on exhaustive analysis to the exchanger of Siemens. The statistical report that this scheme can be gathered and analyzed automatically includes now: Six kinds tgrp, c7ll, cpxx, usmm, iarstat, dest. The one that should be pointed out is, the collection of the primitive statistical report usually needs to change with analyzing frequently, under this condition, the perfomance analysis to the exchanger of Siemens is mainly realized by various report forms made above this foundation, so long as the attenbant makes corresponding report form template and can finish the flexible statistical report form according to the need. It realizes the head office examines IP report form regularly on the basis of this system that Tianjin is moved at present, analyze the report form in interconnection report form and traffic load required to analyze here, letter make the intersection of load and report form, put through the intersection of situation and report form, the intersection of traffic and the intersection of load and report form, the intersection of purpose and yards of statistical report form, the intersection of iarstat and the intersection of statistical report form,etc. and many kinds of report forms among the network, this has offered performance statistical report form most conveniently for running and maintaining the department, and it possesses significant expansion ability.