1. Trang chủ
  2. » Luận Văn - Báo Cáo

Kiến trúc hệ thống quản trị mạng dựa trên xml

106 7 0

Đang tải... (xem toàn văn)

Tài liệu hạn chế xem trước, để xem đầy đủ mời bạn chọn Tải xuống

THÔNG TIN TÀI LIỆU

Cấu trúc

  • Kiến trúc hệ thống quản trị mạng

    • Mở đầu

    • Mục lục

    • Chương 1:Tổng quan về các kiến trúc quản trị mạng

      • 1.1. Giới thiệu

      • 1.2 Kiến trúc mạng

      • 1.3. Kiến trúc và mô hình quản trị mạng

      • 1.4. Kết luận chương 1

    • Chương 2: Kiến trúc hệ thống mạng dựa trên XML

      • 2.1. Giới thiệu

      • 2.2. Những kỹ thuật liên quan đến XML

      • 2.3. Kiến trúc quản trị mạng dựa trên XML

      • 2.4. Nghiên cứu về quản trị mạng dựa trên XML

      • 2.5. Phương pháp để quản trị mạng tích hợp dựa trên XML

      • 2.6. Thiết kế hệ thống quản trị dựa trên XML

      • 2.7. Kết luận chương 2

    • Chương 3 : Phát triển chuyển đổi cổng XML/SNMP cho quản trị mạng tihcs hợp dựa trên XML

      • 3.1. Giới thiệu

      • 3.2. Công việc liên quan và đề xuất giải pháp

      • 3.3. Các phương pháp trao đổi của cổng XML/SNMP

      • 3.4. Nghiên cứu về chuyển đổi SNMP MIB thành XML

      • 3.5. Kết luận chương 3

    • Kết luận

    • Tài liệu tham khảo

    • Phụ lục

Nội dung

ữ liệu quản trị dạng tài liệu XML thông qua giao thức HTTP Đây phƣơng pháp hiệu để chuyển số lƣợng lớn liệu Tuy nhiên, quản trị mạng dựa XML quản trị trực tiếp kế thừa SNMP agent, nên nội dung phần đƣợc nghiên cứu với mục tiêu làm để quản trị SNMP agent nhằm mang tính kế thừa cách sử dụng lợi quản trị mạng dựa XML Số hóa Trung tâm Học liệu – Đại học Thái Nguyên http://www.lrc-tnu.edu.vn 84 Hướng nghiên cứu Do tính tƣơng thích tuyệt vời tính thân thiện với ngƣời sử dụng XML, nên việc tích hợp liệu vào XML dự kiến đƣợc phát triển mạnh tƣơng lai Cụ thể, để sử dụng XML nhƣ phần trung gian cho truyền thông tin hệ thống khác nhau, phƣơng pháp chuyển đổi chuẩn để thay đổi SNMP MIB thành XML vào việc truyền thông tin cho mạng hệ thống quản trị mạng cần thiết Trong tƣơng lai, cần phải nâng cao thuật toán chuyển đổi SNMP MIB thành XML thơng qua đánh giá hiệu suất thuật tốn Để mở rộng quy mô, cần phải nghiên cứu manager quản lý nhiều SNMP agent đƣợc phân phối cho mạng rộng lớn ví dụ nhƣ mạng kinh doanh Hiện việc sử dụng thuật toán để thực chuyển đổi tự động SNMP MIB thành tài liệu XML cho cổng XML/SNMP bƣớc triển khai phạm vi hẹp Hƣớng phát triển tƣơng lai xây dựng thực cổng XML/ SNMP với cải tiến mang tính hiệu quả, đánh giá đƣợc hiệu suất khả cổng Trong q trình thực luận văn, tơi cố gắng tập trung tìm hiểu tham khảo nhiều tài liệu có liên quan Tuy nhiên thời gian nghiên cứu, giới hạn luận văn xác định trình độ có hạn, nên khơng tránh khỏi thiếu sót Tơi mong nhận nhận xét, góp ý thầy giáo, bạn bè đồng nghiệp quan tâm đến đề tài để luận văn hồn thiện Số hóa Trung tâm Học liệu – Đại học Thái Nguyên http://www.lrc-tnu.edu.vn 85 TÀI LIỆU THAM KHẢO [1] Nguyễn Phƣơng Lan (2003), XML tảng & ứng dụng, NXB Lao động xã hội [2] Brett McLaughlin (May-2002), Java and XML Data Binding, O'Reilly [3] Douglas Mauro, Kevin Schmidt (Sep - 2005), Essential SNMP, 2nd Edition, O'Reilly [4] DMTF (Jul-1999), Specification for the Representation of CIM in XML Version 2.0, DMTF Specification [5] Martin-Flatin JP(Oct - 2000), Web-Based Management of IP Networks and Systems, Swiss Federal Institute of Technology [6] Mi-Jung Choi, Yun-Jung Oh, Hong-Taek Ju, James W Hong (April - 2002), XML based Integrated Network Management For IP-based Networks, Proc of the IEEE/IFIP [7] Mi-Jung Choi, Yun-Jung Oh, Hong-Taek Ju, James W Hong (Sep- 2002), Interaction Translation Methods for XML/SNMP Gateway Using XML Technologies, Proc of the Asia-Pacific Network Operations and Management Symposium, Korea [8] John Soldatos, Dimits Alexopoulos (2004), An Architecture for Cost Effective Network Management, National Technical University of Athens [9] Kim YD et al (Sept - 2001), Web-based network management using translation SNMPSMI to XML, Proc Of APNOMS [10] Eric (2002), Understanding Web Services, Addison Wesley [11] Elliotte (2002), Processing XML with Java, Harold [12] Phil Shafer (2001), XML-based Network Management, Juniper Networks [13] AvayaLabs, XML based Management Interface for SNMP Enabled Devices, http://www.research.avayalabs.com/user/mazum/Projects/XML/ [14] Frank Strauss (), A Library to Access SMI MIB Information, http://www.ibr.cs.tu-bs.de/projects/libsmi/ [15] W3C, Extensible Markup Language (XML), W3C Recommendation, http://www.w3.org/TR/REC-xml, October -2000 [16] W3C, Document Object Model (DOM) Level Traversal and Ranges Specification, W3C Recommendation, Nov - 2000 [17] W3C, XML Path Language (XPath) Version 2.0, W3C Working Draft, Apr - 2002 [18] W3C, XQuery 1.0: An XML Query Language, W3C Working Draft, Apr - 2002 [19] W3C, XSL Transformations (XSLT) Version 1.0, W3C Recommendation, Nov -1999 [20] W3C, XML Schema, W3C Recommendation, May - 2001 Z Số hóa Trung tâm Học liệu – Đại học Thái Nguyên http://www.lrc-tnu.edu.vn PHỤ LỤC ToXMLTrap.java import java.io.*; import org.xml.sax.*; import org.xml.sax.helpers.*; import javax.xml.parsers.*; import javax.xml.transform.*; import javax.xml.transform.stream.*; import javax.xml.transform.sax.*; public class ToXMLTrap { BufferedReader in; StreamResult out; TransformerHandler th; AttributesImpl atts; Attributes d; public static void main (String args[]) { new ToXMLTrap().doit(); } public void doit () { try{ in = new BufferedReader(new FileReader("datatrap.txt")); out = new StreamResult("datatrap.xml"); initXML(); String str; while ((str = in.readLine()) != null) { process(str); } in.close(); closeXML(); } catch (Exception e) { e.printStackTrace(); } } public void initXML() throws ParserConfigurationException, TransformerConfigurationException, SAXException { SAXTransformerFactory tf = (SAXTransformerFactory) SAXTransformerFactory.newInstance(); th = tf.newTransformerHandler(); Transformer serializer = th.getTransformer(); Số hóa Trung tâm Học liệu – Đại học Thái Nguyên http://www.lrc-tnu.edu.vn serializer.setOutputProperty(OutputKeys.ENCODING,"ISO-8859-1"); serializer.setOutputProperty ("{http://xml.apache.org/xslt}indent-amount", "4"); serializer.setOutputProperty(OutputKeys.INDENT,"yes"); th.setResult(out); th.startDocument(); atts = new AttributesImpl(); th.startElement("","","xsd:element name ='NodeName'",atts); th.startElement("","","xsd:complexType",atts); th.startElement("","","xsd:simpleContent",atts); th.startElement("","","xsd:restriction base = 'xsd:string'",atts); System.out.println("?xml version='1.0' encoding='ISO-8859-1'?"); System.out.println(""); System.out.println(""); System.out.println(""); System.out.println(""); } public void process (String s) throws SAXException { String [] elements = s.split("\\ "); atts.clear(); System.out.println(""); th.startElement("","","xsd:attribute name =",atts); th.characters(elements[0].toCharArray(),0,elements[0].length()); th.startElement("","","type = 'xsd:string' use = 'fixed' value =",atts); th.characters(elements[1].toCharArray(),0,elements[1].length()); th.endElement("","",""); } public void closeXML() throws SAXException { th.endElement("","","xsd:restriction"); th.endElement("","","xsd:simpleContent"); th.endElement("","","xsd:complexType"); th.endElement("","","xsd:element"); th.endDocument(); System.out.println(""); System.out.println(""); System.out.println(""); System.out.println(""); } } Số hóa Trung tâm Học liệu – Đại học Thái Nguyên http://www.lrc-tnu.edu.vn ToXMLIdentyti.java import java.io.*; import org.xml.sax.*; import org.xml.sax.helpers.*; import javax.xml.parsers.*; import javax.xml.transform.*; import javax.xml.transform.stream.*; import javax.xml.transform.sax.*; public class ToXMLIdentity { BufferedReader in; StreamResult out; TransformerHandler th; AttributesImpl atts; Attributes d; public static void main (String args[]) { new ToXMLIdentity().doit(); } public void doit () { try{ in = new BufferedReader(new FileReader("dataidentity.txt")); out = new StreamResult("dataidentity.xml"); initXML(); String str; while ((str = in.readLine()) != null) { process(str); } in.close(); closeXML(); } catch (Exception e) { e.printStackTrace(); } } public void initXML() throws ParserConfigurationException, TransformerConfigurationException, SAXException { SAXTransformerFactory tf = (SAXTransformerFactory) SAXTransformerFactory.newInstance(); th = tf.newTransformerHandler(); Transformer serializer = th.getTransformer(); serializer.setOutputProperty(OutputKeys.ENCODING,"ISO-8859-1"); serializer.setOutputProperty Số hóa Trung tâm Học liệu – Đại học Thái Nguyên http://www.lrc-tnu.edu.vn ("{http://xml.apache.org/xslt}indent-amount", "4"); serializer.setOutputProperty(OutputKeys.INDENT,"yes"); th.setResult(out); th.startDocument(); atts = new AttributesImpl(); th.startElement("","","xsd:element name ='NodeName'",atts); th.startElement("","","xsd:complexType",atts); th.startElement("","","xsd:sequence ",atts); th.startElement("","","

Ngày đăng: 18/05/2021, 23:09

TÀI LIỆU CÙNG NGƯỜI DÙNG

TÀI LIỆU LIÊN QUAN

w