Application of the hottest XML in the alarm mechan

  • Detail

Application of XML in alarm mechanism of power communication equipment

Abstract: This paper introduces the application of XML technology and push in network management system based on Web. The establishment of management information model of power communication network equipment based on XML is proposed, and the method of realizing real-time alarm of communication equipment by push mechanism is analyzed. Finally, the application prospect of XML technology in power communication is summarized

keyword: XML; Power communication equipment; Push; Information model; Alarm information

abstract:this paper introduces the application of XML technology and push in webbed network management It also proposes to establish a XMLbased electric power telecommunication management information model, and analyzes the realization of telecommunication equipment realtime warning through Push mechanism. Finally, it concludes the application foresight of XML technology in electric power telecommunication.

Keywords:XML; electric power telecommunication; Push; information model; Warning information

fault management is an important part to ensure the normal operation of the network. Its functions include fault detection, fault location analysis, diagnosis and corresponding troubleshooting or recovery. Although this is inevitable in the large network of loosening the oil return valve, the rapid determination of the cause and location of the fault and the ability of fault recovery are of great significance to improve the robustness of the network and the availability of network services. Power communication is a typical heterogeneous network composed of various devices from multiple manufacturers in multiple periods. Because most of the devices are produced by different manufacturers in different periods, their data organization methods are different, resulting in the increasing variety and quantity of alarm information between subsystems. This is extremely disadvantageous for managers to receive alarm information timely and accurately, find and solve faults, and bring great difficulties to management

tmn is a unified network management scheme produced by itut in order to solve the equipment management environment of multiple manufacturers in telecommunications, and it is the development trend of power communication management [1]. TMN adopts advanced technology and emphasizes the standardization of functions and interfaces. However, due to its too ideal goal, too high requirements for abstraction, slow standardization process of information model and high implementation cost, most management systems only follow the TMN standard in function and concept, while most of the implementation of network management systems are based on the TMN management system and adopt many new technologies. XML is to simplify the development of relevant software while maintaining the robustness of TMN, but not all experimental machines produced by enterprises can meet the production needs of all walks of life. At the same time, push technology is used to realize the reporting of management events

1 web based network management

1.1 application of XML in web based network management

in February 1998, W3C released XML 1.0 specification. In 1999, some organizations and individuals proposed to apply XML in network management. Dmtf (distributed management task force) organization has developed a series of core standards for the establishment of WBEM [2], including data model and general information model (CIM) standards, coding rules and xmlcim coding rules. It defines an XML schema that represents CIM objects in XML format, and encapsulates these XML fragments into HTTP packages. CIM classes and their instances must be XML documents that conform to this schema. In the xnami [3, 4] system proposed by John et al., the management system is allowed to extend the MIB of the agent within the SNMP framework, express the MIB of the system by XML, and store it in the agent side in the form of DOM tree. The MIB model can be browsed at the management side. In December, 1999, itut issued q22/7 standard, which defined asn 1 and XML schema data types. In April, 2002, itut released a standard m.3030, which defines a framework of TML. TML is the application of XML in the field of telecommunications

xml has a very important application in the management of power communication equipment because of its self description, separation of content and expression, low cost and its ability to pass through the firewall

1.2push technology in web-based network management

generally, in web-based network management, pull method is used to obtain information. In recent years, a new push technology has emerged, which is different from the pull technology that uses browsers to find information. Pull technology is that after the browser sends a request, the web server transmits the information to the user; Push technology is that the web server actively sends the information that users are interested in to the user's computer purposefully and on time according to the preset setting file, rather than the user's immediate requirements. Users can easily obtain the required information without any information retrieval operation as long as they set the required information for the first time, and the updated information will be pushed to users at any time

at present, there are three main technologies to realize the web server to actively send data to the browser: client pull, sever push and Java applet. The client pull mode requires the browser to visit the server in a certain period to check whether there are new events. If the period is too long, the delay of the event is too large; If the cycle is too short, it will not only increase the burden on the system, but also increase the network overhead. The sever push mode is that a process derived from the web server executes NPH (nonparse header) to establish a TCP connection with the browser according to the CGI program of relevant national standards. In this way, the alarm information generated by each functional module is transmitted and broadcast to each NPH process through internal messages, and these processes push it to the browser. The advantage of server push implementation is that the XPath process runs on the server and requires less client browsers. However, because the server needs to derive an NPH process for each browser, this increases the burden on the server. Java applets run on the client browser. Each applet establishes a TCP connection with the messaging daemon on the server. After the messaging process receives the alarm events of each functional module, it reports to the administrator through Java applets. It can be seen that Java applet realizes the processing of alarm events to the browser, effectively balancing the load between the client and the server

The application of

2xml in the management of power communication network equipment

2.1 information modeling of physical equipment in TMN

information model is a model established by object-oriented method for resources related to management, resulting in a set of methods to construct management information base. Information model is at the core of network management. According to XML, a large number of information models represented in existing management standards and deployment schemes can be described, and other common tools can be used to browse, and process these models. According to the requirements of power communication management function, it is necessary to monitor the working state of the equipment, and manage the state alarm and related data of the equipment. Therefore, all devices in power communication should be classified. According to different requirements, different monitoring information is determined and expressed by different state quantities, and the operation of the equipment is judged by monitoring the state information. When managing the status alarm of equipment, the alarm level of equipment should be divided into different levels. It is necessary to ensure that the alarm information of the equipment can be reported to the manager in a timely and accurate manner, and the manager will do further processing after receiving the alarm information. At the same time, it also provides the statistical function of alarm data. The relevant data of the equipment include the manufacturer, usage, configuration mode, specification and model of the equipment. According to the composition of power communication, the equipment can be divided into 8 types: digital microwave, power line carrier, satellite communication, optical fiber communication, digital program-controlled switch, mobile communication, multi-channel analog carrier and communication room. As the managed physical resources of power communication, the management information models of these devices can be defined respectively according to their functions and characteristics. According to the recommendation of ITU recommendation m.3100, the inheritance relationship between managed object classes is established with UML diagram, as shown in Figure 1

2.2 physical information modeling based on XML

refer to gdmo/asn in m.3030 1 and XML schema. Each managed object class in GDMO specification can be converted to TML type, and the attributes in GDMO template can also be converted. When the managed object class is converted, the packages contained in the class will be converted into elements; Convert attribute groups into named groups in TML schema; The present if statement in the managed object condition package is converted to minoccurs= "0" after the package conversion; Actions, behaviors and notices are converted into notes; Name binding is done by the namespace of XML. GDMO uses asn 1 to define parameters in attributes, operations and notifications. When GDMO templates are converted into TML templates, these syntax should be redefined. Due to the uniqueness of the package registration defined in the namespace, it is not necessary to convert it. TML cannot carry functional operations. It can be converted into annotations, which can be implemented through the dom/sax interface provided by XML with specific operating languages (such as Java, C + + and so on)

the equipment shall be numbered according to the provisions on the numbering method of communication equipment in GB 17246-1998 "guidelines for communication business in power system". The equipment number consists of 3 parts and 8 digits: the first 5 digits are the communication station number, which is composed of 5 digits of area code, Regional Bureau code and communication station serial number; The sixth digit is the communication equipment number; The 7th and 8th digits are the serial number of communication equipment. After naming the devices layer by layer according to this rule, a management information tree is formed, which reflects the inclusion relationship between managed device instances

3 system structure

this set of power communication network management system based on XML provides a flexible and effective method to control variables in MIB. The communication between the manager and the agent is realized by Java applet and servlet through HTTP protocol. The alarm information is reported by adopting the publish subscribe publish mechanism. The system architecture is shown in Figure 2

the purpose of XML parser and parser is to maintain the advantages of traditional HTML in the design process of the system and combine them. The main task of XML analyzer/parser is to convert the form content in HTML format submitted by the browser into XML documents, and display the XML documents on the server in the format of HTM scope of application: l on the web browser. The system will use XPath to match the device serial number in MIB according to the ID number of the device selected by the mouse in the index directory, and display all parameters of the corresponding device in a unified form. Applications can also use the API provided by XML DOM to use with any programming language to dynamically access, add, delete and modify the content of MIB, display structure and style, etc

through the analysis and comparison of the three technologies that the web server actively sends data to the browser in section 1.2, it is found that the Java applet method is more appropriate. Java is the most powerful tool to manipulate XML, and the cross platform feature of Java and the platform independence of XML make their combination very perfect. The Java virtual machine (JVM) is bound in the web browser so that the web browser can execute java code. Once the browser type the URL of the server, it can download an HTML document containing the Java applet program from the server. In this way, the Java applet running on the browser establishes a TCP connection with the message passing process on the server. Its function is to monitor the alarm flag signal sent from the server-side extension program when the client is in a waiting state. The java servlet running on the server side extracts query data from the database through JDBC connection or the subscription information entered by the user, based on the

Copyright © 2011 JIN SHI