CN101420344A - Network performance automatic evaluation method based on Java and database - Google Patents

Network performance automatic evaluation method based on Java and database Download PDF

Info

Publication number
CN101420344A
CN101420344A CNA2008102395999A CN200810239599A CN101420344A CN 101420344 A CN101420344 A CN 101420344A CN A2008102395999 A CNA2008102395999 A CN A2008102395999A CN 200810239599 A CN200810239599 A CN 200810239599A CN 101420344 A CN101420344 A CN 101420344A
Authority
CN
China
Prior art keywords
performance
java
database
data
network
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CNA2008102395999A
Other languages
Chinese (zh)
Inventor
蒋定孚
张永军
尧昱
张志辉
顾畹仪
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Beijing University of Posts and Telecommunications
Original Assignee
Beijing University of Posts and Telecommunications
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Beijing University of Posts and Telecommunications filed Critical Beijing University of Posts and Telecommunications
Priority to CNA2008102395999A priority Critical patent/CN101420344A/en
Publication of CN101420344A publication Critical patent/CN101420344A/en
Pending legal-status Critical Current

Links

Images

Abstract

The present invention discloses a network performance automatic evaluation method on the basis of Java and database by performing automatic evaluation of the network performance in the network management and reporting difference state between the network real performance and the ideal performance at regular time. The method comprises automatic function invoking on the basis of Java and network performance data processing, the automatic function invoking is run in background, the life cycle is equal to that of the application server, and invoking function is triggered at regular intervals by using a Java timing function to execute performance data processing. In the network performance data processing, on one side, performance data of hardware on the bottom layer is needed collecting and is stored in the management database (MDB); on the other side, newly collected network performance data is inquired, calculated and compared to give out corresponding evaluation results and displays the results on an graphical user interface (GUI). The present invention solves the problems of real-time, spontaneity, dependability, expansibility and the like in network performance evaluation, adjusts the network performance effectively, optimizes to an optimum state, and improves the operation administration and maintenance (OAM) ability of the network.

Description

A kind of network performance automatic evaluation method based on Java and database
Affiliated field
The present invention relates to a kind of realization of network performance automatic evaluation method, belong to network optimization field, specifically, relate in the optimization of network performance,, realize the automatic evaluation scheme of network performance based on java technology dynamic process performance parameter.
Background technology
The progress of network technology has expedited the emergence of the network of various ways, such as SDH network, PON network, MPLS network or the like, the good and bad direct reliability to network of network performance, validity, commercialization produce greatly influence, optimization to network performance is the emphasis of network development always, the assessment of real-time reliable network performance monitoring has significance for the network optimization, when guaranteeing the network operate as normal, the optimum state of seeking the network operation.
General network performance evaluation is monitored certain parameter of network by manual operation, judges the performance condition of network, has increased administrative staff's burden when realizing assessment, can't reach real-time monitoring.Based on the java technology, use regularly calling function of java, the dynamic monitoring network performance, the handling property data are also judged performance condition, realize the automatic assessment of network performance, the performance of real-time management network.The multi-platform characteristic of Java has been given performance, and assessment is based on the implementation of web automatically, and expansion is based on the performance management function of the network management system of JSP.
With the database is the center, and application data inquiry, storage, renewal technology are carried out backup management to performance collection data, for Performance Evaluation provides real time data, guarantees the reliability and the validity of assessment.Simultaneously, based on the powerful automatic processing capacity of database, can realize the difference assessment management of performance data.
Adopt simple and practical snmp simple network management protocol, based on TCP/IP acquisition performance parameter, the expense of aspects such as the resource of reduction network, technology, cost along with the development of Internet, will have bigger extending space based on the SNMP data acquisition modes.
Summary of the invention
The invention provides a kind of network performance automatic evaluation method, adopt the java timing technology, data are handled, the good and bad situation of report performance based on the real-time collection network performance data of database; The technology initialization of application server backstage starts the automatic function module, regularly trigger data acquisition and data processing thread; Adopt Ajax (Asynchronous javascript and xml) technology, realizing that the Performance Evaluation result does not have refreshes automatic renewal effect.Under the prerequisite that guarantees reliability and real-time, further reduce the live load of server, improve the operation management of network and safeguard (OAM) ability.
Present technique mainly comprises the two large divisions: function calls automatically, performance data is handled, and finishes respectively that data processing regularly triggers and data handling procedure (as Fig. 1).Function calls automatically based on java and application server backstage technology and realizes, performance data is handled based on java, SNMP and database and realized.Performance management for network management system (nms), can select JSP (Java Server Page) webpage programming technique based on java, in conjunction with the Javascript script, carrying Ajax technology, backstage asynchronous process Performance Evaluation result realizes that the nothing of performance report among the GUI refreshes automatic renewal.
Description of drawings
Utilization will make above-mentioned purpose of the present invention and advantage more cheer and bright to reference to being described in detail of the preferred embodiment of accompanying drawing, wherein:
Figure 1 shows that the network performance system block diagram of assessment automatically;
Figure 2 shows that the network performance functional module of assessment automatically;
Figure 3 shows that the automatic evaluation process of network performance.
Specific embodiments
The present invention has proposed the timing automatic processing technology according to the characteristics of java and database technology, and network performance is carried out the real-time assessment monitoring.
Referring to Fig. 1 overall system design block diagram of the present invention.Among the figure, application server can be selected Apache Server or Tomcat server, revise start-up parameter, enter the automatic caller of java function during initialization, start timer, send enable signal every special time and trigger the function call program, call the data processing function, collecting performance data and obtain data.
Collecting performance data uses snmp protocol, send the performance collection order by the data acquisition function to the Manager of management station, be forwarded to agent behind the form of management station's conversion command for agent Agent identification, the corresponding command with reference to the collection of management information bank (MIB) agent execution performance, underlying device is carried out poll, return management station equipment performance data, management station reports to the data acquisition function again and passes through JDBC (Java Database Connection) memory property data to management database.Obtain data by the performance data in the JDBC Query Database, judge type of performance, go to corresponding data computation/comparison program, according to set formula and rule process data, return performance statistic, the entry condition determining program, corresponding different situation performance conclusion function provides corresponding performance condition and judges, do not have to refresh in real time by the asynchronous performance condition of obtaining performance conclusion function output of Ajax technology and be presented among the GUI, judge the quality of performance condition simultaneously, when being lower than corresponding thresholding, jump out warning prompt.
In whole process, the java technology has been carried crucial backstage control scheduling, the stable feasibility of safeguards system operation, the inquiry of database bearer management data backup memory, the fail safe and the reliability of the operation of raising system.Whole system realizes the automatic assessment monitoring of network performance by JDBC technology bridge joint.
Based on the network performance automatic evaluation system of java and database comprise that initialization, function call automatically, data acquisition, data processing four big functional modules, as Fig. 2, wherein data acquisition module and the Manager of management station join, and send the performance data collection order and receive the performance data that bottom returns; Data processing module and keeper are mutual, all results of real-time report in GUI.Application server starts timer when initialization, trigger function call at regular intervals, realizes the automatic calling function of function.Function call is the log-on data collecting thread on the one hand, the performance parameter of poll bottom hardware, and the acquisition performance information stores is in management database; Log-on data processing threads is on the other hand ask the performance data of checking in the reason database, and return data calculatings/comparing module is handled, and finishes to handle the back result and deliver to performance conclusion module and judge that the back reports the GUI performance condition.
Based on the automatic evaluation process of the network performance of java and database such as Fig. 3, mainly comprise three parts, at first be initialization, secondly be function calls automatically, be data acquisition and processing at last.The thread that carries out when data acquisition and processing are divided into two independent same---data acquisition and data processing.
Initialization procedure is initiated by application server, in the reality exploitation, selected the Tomcat server, after starting the Tomcat server, server enters the web.xml configuration file server is carried out the initialization setting, use<listener in web.xml〉label is written into function and calls class<listener-class automatically 〉, server starts the automatic invokes thread of function immediately.
The automatic invokes thread of function comprises timer and function call two parts, be written into javax.servlet.ServletContextEvent class and javax.servlet.ServletContextListener class, the initialization monitor, use the Timer class design timer of java.util bag, operation " Timer timer=new Timer (true); " produce timer timer after, call the task scheduling function schedule () of Timer class, that sets timer enables t blanking time, carries out function call function among the schedule () every the t time, calls data acquisition and data processing thread simultaneously.When closing monitor, call Timer class cancel (), destroy timer, withdraw from automatic evaluation system.
Data acquisition use Socket network service class DatagramSocket () opens the communication port with management station, IP address and port by DatagramPacket () binding management end, obtain the performance parameter querying command that class send () that form uses DatagramSocket will stamp packet header according to performance data and send to management end, close transmit port simultaneously, carry out DatagramSocket () and open the performance data that another port management of monitor end that consults with management end returns.The receiving thread of management end is stored to buffering area after listening to order, starts sendto () function after will ordering packing form according to agent side identification with packing data after unpacking to be sent to agent side by IP address and port.Agent side uses Net-Snmp network management framework, by after monitoring function and obtaining the performance queries order, go to the MIB treatment progress, corresponding performance parameter in the corresponding management information bank, be transformed into the MIB tree order that bottom hardware can respond, the inquiry corresponding apparatus is obtained response results and is back to buffering area, opens transmit port and returns the management end performance data.After receiving data, be sent to the listening port of data acquisition end behind the management end format transformation, use the class receive () of DatagramSocket to receive to confirm behind the packet performance data correct format of being received, data are effective, collection terminal is promptly carried out close () class and is closed listening port, finish obtaining of bottom hardware performance data, be written into the java.sq1 bag simultaneously, carry out Class.forName () exampleization JDBC, DriverManager.getConnection (url, user, pwd) connect database, use executeUpadate () function to carry out database update statement after createStatement () produces and states the performance data that receives is stored among the management database MDB.
The data processing thread uses executeQuery () function to carry out query sentence of database select query performance related data by JDBC, be stored among the result set ResultSet, parameter at different attribute jumps to corresponding data computation/comparison function, class methods getString () by result set reads the character type data in the result set, read the integer data by getInt (), change the character type numeral into integer by Integer.valueOf ().The data form is carried out importing the processing of calculating/comparison function after the standardization, and corresponding different network performance has different formula and rule, needs the speed of calculated data such as traffic statistics; Blocking rate or packet loss need the ratio of calculated data; The utilance of network then needs to put in order certain time total flow of each equipment, needs to judge the break-make of circuit simultaneously, and the comparison apparatus parameter setting is judged influence that parameter is calculated network utilization or the like.According to data computation/comparison result, performance conclusion function is given each performance index judged result intuitively by a series of switch () condition judgment, quantizes performance index and desirable gap, provides final assessment report.
The nothing of assessment report refreshes renewal by the div layer is set in GUI, setting id is " evaluation ", in web page or leaf programming, use the javascript script to be written into js backstage file, at<body〉definition onLoad incident in the label, carry out js backstage function d isplay ().In the backstage, use setInterval () that be set the blanking time that display () function is carried out, uninterruptedly carry out function performance.Display () function is only finished a function, use that the Ajax technology is asynchronous obtains final assessment report, be shown in the div layer of id=" evaluation ", when changing appears in assessment report, the div layer refreshes immediately, realizes the assessment report real-time update at the GUI end under the situation that does not refresh the interface.In display () function, Rule of judgment is set, when network performance deteriorates into to a certain degree, carries out alert () warning prompt frame, remind the network manager to adjust.
Above-described, be possible embodiments of the present invention only, be not so limit to claim of the present invention, so the equivalence that all application specification of the present invention or accompanying drawing content are done changes, all in like manner all be contained in the scope of the present invention, to ensure inventor's rights and interests, in this statement.

Claims (7)

1, a kind of network performance automatic evaluation method based on Java and database, it is characterized in that: based on java technology with cross-platform characteristic, automatically the acquisition hardware performance parameter is that the center is operated and assessed up-to-date image data with the database, and the report performance condition.
The automatic calling technology of Java uses the server background technology to start timing function, a return function call function enabled state, trigger data acquisition and data query function at regular intervals when the webmaster application servers initialize.
Data acquisition uses the SNMP NMP to send data acquisition command to agent side Agent, after reference management information bank (MIB) is to the bottom hardware poll, agent side returns the device capability information of collecting, the subsequent data acquisition module with information stores to the corresponding performance table of management database (MDB).
Performance Evaluation obtains performance data corresponding in the database of required assessment by the data query module, being back to data computation/comparing module handles data according to default formula and rule, the result who produces sends into performance conclusion module and draws the final properties assessment result by Rule of judgment, reports to graphical user interface (GUI).
2, a kind of network performance automatic evaluation method based on java and database according to claim 1 is characterized in that: based on the java technological development, adopt util bag and the servlet framework of java to realize the self-timing calling function.
3, a kind of network performance automatic evaluation method based on java and database according to claim 1 is characterized in that: based on application server backstage technical configuration start-up parameter, enter the java function body when the server initialization, start clocking capability.
4, a kind of network performance automatic evaluation method according to claim 1 based on java and database, it is characterized in that: property acquisition module is regularly mutual by snmp protocol and hardware, inspection hardware performance state, the performance data in the real-time update database.
5, a kind of network performance automatic evaluation method based on java and database according to claim 1 is characterized in that: the obtaining all of performance data by database, and not direct access inquiry hardware, regularly the query performance data guarantee real-time.
6, a kind of network performance automatic evaluation method according to claim 1 based on java and database, it is characterized in that: the performance data that obtains from database is directly delivered to data computation/comparing module and is handled, handle according to performance calculating and judgment rule, draw the good and bad conclusion of performance.
7, a kind of network performance automatic evaluation method according to claim 1 based on java and database, it is characterized in that: regularly the automatic assessment result of performance need be presented among the GUI in real time, use the Ajax technology to realize not having and refresh the real-time update performance state, when worsening appears in performance, remind the keeper simultaneously.
CNA2008102395999A 2008-12-12 2008-12-12 Network performance automatic evaluation method based on Java and database Pending CN101420344A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CNA2008102395999A CN101420344A (en) 2008-12-12 2008-12-12 Network performance automatic evaluation method based on Java and database

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CNA2008102395999A CN101420344A (en) 2008-12-12 2008-12-12 Network performance automatic evaluation method based on Java and database

Publications (1)

Publication Number Publication Date
CN101420344A true CN101420344A (en) 2009-04-29

Family

ID=40630963

Family Applications (1)

Application Number Title Priority Date Filing Date
CNA2008102395999A Pending CN101420344A (en) 2008-12-12 2008-12-12 Network performance automatic evaluation method based on Java and database

Country Status (1)

Country Link
CN (1) CN101420344A (en)

Cited By (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2011017947A1 (en) * 2009-08-11 2011-02-17 中兴通讯股份有限公司 Performance management implementation method and network management system
CN102983993A (en) * 2012-11-15 2013-03-20 奥维通信股份有限公司 Method for improving data processing speed of simple network management protocol (SNMP) device and system thereof
CN103152195A (en) * 2013-02-06 2013-06-12 大唐移动通信设备有限公司 Data collection method and device
CN104394027A (en) * 2014-10-20 2015-03-04 上海海旭软件有限公司 Method and device of detecting network quality based on metadata
CN105373903A (en) * 2015-12-18 2016-03-02 国网天津市电力公司 Large-scale enterprise non-relational database performance evaluation method
CN106708505A (en) * 2016-11-15 2017-05-24 武汉烽火网络有限责任公司 WEB page-based batch operation interface application method and system
CN107171877A (en) * 2017-07-26 2017-09-15 郑州云海信息技术有限公司 A kind of method and device of establishment CF Service Instances
CN115914039A (en) * 2022-11-22 2023-04-04 贵州电网有限责任公司 Network performance monitoring device and monitoring method thereof

Cited By (14)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2011017947A1 (en) * 2009-08-11 2011-02-17 中兴通讯股份有限公司 Performance management implementation method and network management system
US8892730B2 (en) 2009-08-11 2014-11-18 Zte Corporation Performance management implementation method and network management system
CN102983993B (en) * 2012-11-15 2015-10-28 奥维通信股份有限公司 A kind of method and system promoting SNMP device data processing speed
CN102983993A (en) * 2012-11-15 2013-03-20 奥维通信股份有限公司 Method for improving data processing speed of simple network management protocol (SNMP) device and system thereof
CN103152195B (en) * 2013-02-06 2015-12-02 大唐移动通信设备有限公司 Collecting method and device
CN103152195A (en) * 2013-02-06 2013-06-12 大唐移动通信设备有限公司 Data collection method and device
CN104394027A (en) * 2014-10-20 2015-03-04 上海海旭软件有限公司 Method and device of detecting network quality based on metadata
CN104394027B (en) * 2014-10-20 2018-05-15 上海海旭软件有限公司 A kind of network quality detection method and device based on metadata
CN105373903A (en) * 2015-12-18 2016-03-02 国网天津市电力公司 Large-scale enterprise non-relational database performance evaluation method
CN105373903B (en) * 2015-12-18 2019-03-26 国网天津市电力公司 A kind of large enterprise's non-relational database method of evaluating performance
CN106708505A (en) * 2016-11-15 2017-05-24 武汉烽火网络有限责任公司 WEB page-based batch operation interface application method and system
CN106708505B (en) * 2016-11-15 2019-09-06 烽火通信科技股份有限公司 A kind of application method and system at the batch operation interface based on WEB page
CN107171877A (en) * 2017-07-26 2017-09-15 郑州云海信息技术有限公司 A kind of method and device of establishment CF Service Instances
CN115914039A (en) * 2022-11-22 2023-04-04 贵州电网有限责任公司 Network performance monitoring device and monitoring method thereof

Similar Documents

Publication Publication Date Title
CN101420344A (en) Network performance automatic evaluation method based on Java and database
CN104488231B (en) Method, apparatus and system for selectively monitoring flow
US9917763B2 (en) Method and apparatus for analyzing a service in a service session
CN102082690B (en) Passive finding equipment and method of network topology
CN101567814B (en) Automatic network management method based on SNMP and stochastic Petri net
CN100454835C (en) Optical network unit remote management method in Ethernet passive optical network system
CN103546343B (en) The network traffics methods of exhibiting of network traffic analysis system and system
CN104243185B (en) A kind of experience type service monitoring system
CN110659109B (en) System and method for monitoring openstack virtual machine
CN105933139A (en) Data processing method and device
CN103152352A (en) Perfect information security and forensics monitoring method and system based on cloud computing environment
GB2427490A (en) Network usage monitoring with standard message format
CN108632111A (en) Service link monitoring method based on log
WO2014008694A1 (en) Signaling monitoring device for implementing ps domain distributed architecture
CN112118174A (en) Software defined data gateway
CN104376005A (en) Method and system for processing user detail lists by software heartbeat mechanism signaling access probe
CN107168853A (en) A kind of server performance information acquisition method, system and substrate control manager
CN102014411B (en) Method and system for acquiring radio measurement report
CN102164048B (en) Data stream optimization device and method for realizing multi-ISP (internet service provider) access in local area network
KR101842996B1 (en) Data processing apparatus of scada system
CN101795425B (en) Gigabit passive optical network (GPON) service management system based on OMCI (Operation Management Communication Interface) entity relationship model
CN109547257A (en) Method for controlling network flow, device, equipment, system and storage medium
CN102684894B (en) Method and device for realizing northboundbound interface
CN107846310B (en) IPTV video quality difference linkage dial testing delimitation method based on client resource tree
CN108696398A (en) Communication loopback fault detection method and device in a kind of communication network

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C02 Deemed withdrawal of patent application after publication (patent law 2001)
WD01 Invention patent application deemed withdrawn after publication

Open date: 20090429