罗文彬讲座 All Rights Reserved 1 通信软件开发与管理 Course OD601 学时: 32 学分: 2 讲师:罗文彬.

Slides:



Advertisements
Similar presentations
Database Architectures and the Web
Advertisements

Chapter 23 Database Security and Authorization Copyright © 2004 Pearson Education, Inc.
Dr. Kalpakis CMSC 621, Advanced Operating Systems. Fall 2003 URL: Distributed System Architectures.
High Availability Group 08: Võ Đức Vĩnh Nguyễn Quang Vũ
罗文彬讲座 All Rights Reserved 1 通信软件开发与管理 Course OD601 学时: 32 学分: 2 讲师:罗文彬.
Oracle Data Guard Ensuring Disaster Recovery for Enterprise Data
Database Management System
Chapter 19: Network Management Business Data Communications, 4e.
Network Operating Systems Users are aware of multiplicity of machines. Access to resources of various machines is done explicitly by: –Logging into the.
70-290: MCSE Guide to Managing a Microsoft Windows Server 2003 Environment Chapter 1: Introduction to Windows Server 2003.
Chapter 10 Introduction to Wide Area Networks Data Communications and Computer Networks: A Business User’s Approach.
1 Chapter 8 Local Area Networks - Internetworking.
McGraw-Hill/Irwin Copyright © 2007 by The McGraw-Hill Companies, Inc. All rights reserved. Chapter 17 Client-Server Processing, Parallel Database Processing,
Silberschatz, Galvin and Gagne  Operating System Concepts Common System Components Process Management Main Memory Management File Management.
16: Distributed Systems1 DISTRIBUTED SYSTEM STRUCTURES NETWORK OPERATING SYSTEMS The users are aware of the physical structure of the network. Each site.
1 Chapter 10 Introduction to Metropolitan Area Networks and Wide Area Networks Data Communications and Computer Networks: A Business User’s Approach.
Definition of terms Definition of terms Explain business conditions driving distributed databases Explain business conditions driving distributed databases.
Chapter 2 Network Models.
VTS INNOVATOR SERIES Real Problems, Real solutions.
The OSI Model A layered framework for the design of network systems that allows communication across all types of computer systems regardless of their.
70-290: MCSE Guide to Managing a Microsoft Windows Server 2003 Environment, Enhanced Chapter 1: Introduction to Windows Server 2003.
Remote Monitoring and Desktop Management Week-7. SNMP designed for management of a limited range of devices and a limited range of functions Monitoring.
Overview SAP Basis Functions. SAP Technical Overview Learning Objectives What the Basis system is How does SAP handle a transaction request Differentiating.
H-1 Network Management Network management is the process of controlling a complex data network to maximize its efficiency and productivity The overall.
Connecting LANs, Backbone Networks, and Virtual LANs
Data Communications and Networking
CECS 474 Computer Network Interoperability WAN Technologies & Routing
MapReduce. Web data sets can be very large – Tens to hundreds of terabytes Cannot mine on a single server Standard architecture emerging: – Cluster of.
CHAPTER 2 OPERATING SYSTEM OVERVIEW 1. Operating System Operating System Definition A program that controls the execution of application programs and.
N-Tier Client/Server Architectures Chapter 4 Server - RAID Copyright 2002, Dr. Ken Hoganson All rights reserved. OS Kernel Concept RAID – Redundant Array.
Chapter Oracle Server An Oracle Server consists of an Oracle database (stored data, control and log files.) The Server will support SQL to define.
Chapter 3: Operating-System Structures System Components Operating System Services System Calls System Programs System Structure Virtual Machines System.
Chapter 8 Implementing Disaster Recovery and High Availability Hands-On Virtual Computing.
Chapter 2 – X.25, Frame Relay & ATM. Switched Network Stations are not connected together necessarily by a single link Stations are typically far apart.
CS533 Concepts of Operating Systems Jonathan Walpole.
Chapter 6 – Connectivity Devices
Silberschatz, Galvin and Gagne  Operating System Concepts Chapter 3: Operating-System Structures System Components Operating System Services.
1 Introduction to Middleware. 2 Outline What is middleware? Purpose and origin Why use it? What Middleware does? Technical details Middleware services.
MODULE I NETWORKING CONCEPTS.
CE Operating Systems Lecture 3 Overview of OS functions and structure.
Overview Managing a DHCP Database Monitoring DHCP
Kjell Orsborn UU - DIS - UDBL DATABASE SYSTEMS - 10p Course No. 2AD235 Spring 2002 A second course on development of database systems Kjell.
Databases Illuminated
通信软件开发与管理 Course OD601 学时: 32 学分: 2 讲师:罗文彬. Communication Overview System Architecture Overview Performance and Reliability Operation, Administration,
Distributed database system
Distributed System Concepts and Architectures Services
Process Architecture Process Architecture - A portion of a program that can run independently of and concurrently with other portions of the program. Some.
McGraw-Hill©The McGraw-Hill Companies, Inc., 2004 Connecting Devices CORPORATE INSTITUTE OF SCIENCE & TECHNOLOGY, BHOPAL Department of Electronics and.
罗文彬讲座 All Rights Reserved 1 通信软件开发与管理 Course OD601 学时: 32 学分: 2 讲师:罗文彬.
Configuration Mapper Sonja Vrcic Socorro,
Lecture 4 Mechanisms & Kernel for NOSs. Mechanisms for Network Operating Systems  Network operating systems provide three basic mechanisms that support.
Network management Network management refers to the activities, methods, procedures, and tools that pertain to the operation, administration, maintenance,
Oracle Architecture - Structure. Oracle Architecture - Structure The Oracle Server architecture 1. Structures are well-defined objects that store the.
TCP/IP Protocol Suite Suresh Kr Sharma 1 The OSI Model and the TCP/IP Protocol Suite Established in 1947, the International Standards Organization (ISO)
Clara Gaspar, February 2010 DIM A Portable, Light Weight Package for Information Publishing, Data Transfer and Inter-process Communication.
LAN Topologies Part 1. What is topology? Topology is the physical or logical interconnection of communicating devices Physical Topology: LANtopology,
CENG 3331 Introduction to Telecommunications and Networks.
System Components Operating System Services System Calls.
Lecture 11. Switch Hardware Nowadays switches are very high performance computers with high hardware specifications Switches usually consist of a chassis.
Online | classroom| Corporate Training | certifications | placements| support Contact: USA : , India.
Networking Using the OSI Model.
Integrating HA Legacy Products into OpenSAF based system
Applying Control Theory to Stream Processing Systems
Cluster Communications
Chapter 16: Distributed System Structures
Chapter 3: Open Systems Interconnection (OSI) Model
OSI Model The Seven Layers
Chapter 2: Operating-System Structures
Chapter 2: Operating-System Structures
Distributed Systems and Concurrency: Distributed Systems
Presentation transcript:

罗文彬讲座 All Rights Reserved 1 通信软件开发与管理 Course OD601 学时: 32 学分: 2 讲师:罗文彬

罗文彬讲座 All Rights Reserved 2  Communication Overview  System Architecture Overview  Performance and Reliability  Operation, Administration, & Maintenance  Development Methodology  ISO9000/TL9000  CMMI  Project Management Class Subject

罗文彬讲座 All Rights Reserved 3 A software system consists of multiple software tasks. In theory all the tasks can be accomplished in one single process. Software Structure (1) Task 1 Task 5 Task 4 Task 3 Task 2 Main Process

罗文彬讲座 All Rights Reserved 4 To make the software system more effective and manageable, software tasks are divided into multiple processes. The same principle applies to multiple functions and threads within a process. Software Structure (2) Process 1 Process 3 Process 5 Process 4 Process 2

罗文彬讲座 All Rights Reserved 5 Data has to be passed through different processes to accomplish the desired software tasks. The efficiency of inter-process communication is very critical to the system performance and reliability in a real-time communication system. Inter-Process Communication sending process receiving process Shared memory write read

罗文彬讲座 All Rights Reserved 6 For inter-process communication (IPC), every process must create a share memory queue to allow other processes can write data into it. To be efficient and convenient, a Message Handler process can be created to support the following IPC functionalities in a uniform way: Message queue registration Message queue creation Message queue management Message read/write functions Message Handler

罗文彬讲座 All Rights Reserved 7 Communication Software System is a collection of processes arranged so that data can be passed in and out of the system with highest efficiency and reliability. Network System Architecture Input traffic handler Application Protocol Output traffic handler Provisioning measurement alarm Initialization NMS/OSS

罗文彬讲座 All Rights Reserved 8 Initialization (INIT) process is the first process to be brought up for the communication software system. It then initialize all the other processes in sequence. System Initialization (1)

罗文彬讲座 All Rights Reserved 9 The software system usually initialized in two phases. Each process will initialize the global resource such as shared memory, static data, threads or message queues in the first phase. Once all the processes complete the global resource initialization then the entire system can be brought up with all the processes activated at the same time. System Initialization (2)

罗文彬讲座 All Rights Reserved 10 System Initialization (3) INIT PROC A PROC B PROC C Phase 1 Initialization: Global Resource Process ID, shared memory creation, message queue creation & association Phase 2 Initialization: load configuration data, shared memory attachment, heart beat Shared Memory

罗文彬讲座 All Rights Reserved 11 System Initialization (4) Once all the processes successfully initialized, the INIT process will monitor all the processes through periodical heartbeat mechanism. If heartbeat failed on a process, INIT will either recover the particular process or the entire system based on designed initialization algorithm. INIT PROC A PROC B PROC C PROC A count PROC B count PROC C count Peg count

罗文彬讲座 All Rights Reserved 12 System Initialization (5) Process could lose heartbeat because: Process dies Process too busy (infinite loop) Level 1 recovery, INIT kills the process which loses consecutive heartbeats, and re-initialize the process. Level 2 recovery, INIT re-initialize the process and its global resource. Level 3 recovery, INIT re-start the whole system. Level 4 recovery, INIT trigger OS re-boot.

罗文彬讲座 All Rights Reserved 13 Level 1 – Physical Layer (ie. RS232) Physical Layer handles bit stream transmission through wire and connector. Level 2 – Packet layer (ie. Ethernet) Packet Layer gets the bit stream from physical layer and generates packets data through firmware on the chip and circuit board. Protocol Handler

罗文彬讲座 All Rights Reserved 14 Level 3 –Link Layer Link layer is responsible for managing the links by block/unblock links, open/close links, get packet data from links, and put packet data onto the links. Link layer also monitors the link status. In case of link failure, it informs the application layer so that the application layer is able to take appropriate actions. Input/Output Handler

罗文彬讲座 All Rights Reserved 15 Message Parsing Application process get the input message from link layer and decode the message for processing by the application logic. Once the application logic is done then the result will be encoded into an output message and sends out to the network through link layer. Since every message/packet has to be decoded and encoded, the message parsing function is also very critical to the overall performance. Application Handler (1)

罗文彬讲座 All Rights Reserved 16 Application Logic Application logic usually defined in finite state machine or threads to process the incoming messages in parallel to increase the system throughput. Application Handler (2) FSM Threads

罗文彬讲座 All Rights Reserved 17 Network Subscriber Database

罗文彬讲座 All Rights Reserved 18 Network Centralized Subscriber Database Economy drive technology growth and network usage growth. People cannot live without the communication network today. Network with more than 100 millions users are not uncommon. It is more efficient to manage the subscriber’s data in a network centralized database. Network components or applications can access the centralized data base in real-time. Subscriber Database (1)

罗文彬讲座 All Rights Reserved 19 Network Centralized Database Design Data Independence Data Segmentation Data Replication Data Consistency Data Schema Upgrade Backup & Recovery Subscriber Database (2)

罗文彬讲座 All Rights Reserved 20 Database Independence To increase database usage for different applications, the database should be independent from the application logic. The data schema, data storage and data access interface should be open standard such as SQL, LDAP, XML, CORBA, etc. Subscriber Database (3) APP1 APP2 APP3 Data Server Data APP1 Data APP2 Data APP3

罗文彬讲座 All Rights Reserved 21 Database Segmentation For very large database, the data have to be divided onto multiple data servers. With data segmented on different servers, a routing mechanism is needed to route the data query to the corresponding data server. Subscriber Database (4) Application Server Segment 1 Segment 2 Segment 3

罗文彬讲座 All Rights Reserved 22 Database Replication To increase database reliability for large network centralized database, the database must be replicated across geographic locations. The database can be replicated in multiple times for adding reliability. Subscriber Database (5)

罗文彬讲座 All Rights Reserved 23 Database Consistency Data replication may failed due to network congestion, or data server overload. The replicated data will become inconsistent when replication failure happen. To ensure the data consistency, data audit mechanism needs to be in place to check the data in background and report errors when inconsistent data is found. The inconsistent data can be fixed either manually or automatically. Subscriber Database (6)

罗文彬讲座 All Rights Reserved 24 Database Schema Upgrade Data schema upgrade is a very complicated item in the replicated and segmented database. The new schema and interface change has to be backward compatible so that the entire database can be upgraded gradually. Subscriber Database (7) Application Server

罗文彬讲座 All Rights Reserved 25 Database Backup & Recovery Single database failure can recover from the mate. Double database failures have to recover from the third copy of database. Subscriber Database (8) Application Server

罗文彬讲座 All Rights Reserved 26 Alarm Message Each process should report alarm condition to the network management system when system failure detected. Measurement Along with the incoming traffic processing, some key statistic data should be collected for off-line study or investigation. Provisioning A interface to the upstream system is needed to support the data provisioning. OA&M Process

罗文彬讲座 All Rights Reserved 27 OA&M Network Architecture OA&M PROC 1 PROC 2 PROC 3 NFM OSS Operation Support System Network Fault Management Alarm Measurement Provision Data LOG MEAS