CCN CCN Central Control Network Part A presentation Winter & Spring 2002/03 Student : Kormas Tal Guide : Gerber Alex.

Slides:



Advertisements
Similar presentations
Nios Multi Processor Ethernet Embedded Platform Final Presentation
Advertisements

ITIS 1210 Introduction to Web-Based Information Systems Chapter 44 How Firewalls Work How Firewalls Work.
Module 20 Troubleshooting Common SQL Server 2008 R2 Administrative Issues.
Toolbox Mirror -Overview Effective Distributed Learning.
CAN2USB adaptor Project of Uri Kogan ( ) Under supervision of Konstantin Siniuk.
Home Wireless Control Students Lee Blum Ehud Ravitz Instructor Konstantin Sinyuk Characterization Presentation.
The Museum Project The Museum Project Yoav Gvili & Asaf Stein Supervisor : Alexander Arlievsky.
Web Server Administration
CCN CCN Central Control Network Final presentation Winter & Spring 2002/03 Student : Kormas Tal Guide : Gerber Alex.
CCN CCN Central Control Network midterm presentation Winter & Spring 2002/03 Student : Kormas Tal Guide : Gerber Alex.
The Architecture of Transaction Processing Systems
Applying Wireless in Legacy Systems
Performed by: Tal Kormas Instructor: Alex Gerber המעבדה למערכות ספרתיות מהירות High speed digital systems laboratory הטכניון - מכון טכנולוגי לישראל הפקולטה.
CCN CCN Central Control Network Winter & Spring 2002/03 Student : Kormas Tal Guide : Gerber Alex.
Internet Technologies Networking / Internet Protocols (TCP/IP) Server/Client Software Communication via Ports Web Page Technology Recipe of Web Page Development.
COMPUTER NETWORKS.
Network Done by: Athra sultan.
FIREWALL TECHNOLOGIES Tahani al jehani. Firewall benefits  A firewall functions as a choke point – all traffic in and out must pass through this single.
Mobile Computing Lecture: 4.
Authentication Approaches over Internet Jia Li
Chapter 4.  Understand network connectivity.  Peer-to-Peer network & Client-Server network  Understand network topology  Star, Bus & Ring topology.
CECS 5460 – Assignment 3 Stacey VanderHeiden Güney.
Shilpa Seth.  Centralized System Centralized System  Client Server System Client Server System  Parallel System Parallel System.
1 The SpaceWire Internet Tunnel and the Advantages It Provides For Spacecraft Integration Stuart Mills, Steve Parkes Space Technology Centre University.
Web Based Applications
Socket Programming References: redKlyde ’ s tutorial set Winsock2 for games (gamedev.net)
Databases and the Internet. Lecture Objectives Databases and the Internet Characteristics and Benefits of Internet Server-Side vs. Client-Side Special.
Bluetooth POP3 Relay Project Benjamin Kennedy April 30 th, 2002.
1 Managing Printers (Week 12, Monday 3/26/2007) © Abdou Illia, Spring 2007.
Unit 1—Computer Basics Lesson 7 Networks.
Repeaters and Hubs Repeaters: simplest type of connectivity devices that regenerate a digital signal Operate in Physical layer Cannot improve or correct.
Forensic and Investigative Accounting Chapter 14 Internet Forensics Analysis: Profiling the Cybercriminal © 2005, CCH INCORPORATED 4025 W. Peterson Ave.
1 Distributed Systems: an Introduction G53ACC Chris Greenhalgh.
Learningcomputer.com SQL Server 2008 Configuration Manager.
EMerge Browser Managed Security Platform Module 3: Startup eMerge Certification Course  Physical connection  TCP/IP Characteristics of PC  Initial connection.
DIT314 ~ Client Operating System & Administration CHAPTER 5 MANAGING USER ACCOUNTS AND GROUPS Prepared By : Suraya Alias.
Introduction  Client/Server technology is seen by many as the solution to the difficulty of linking together the various departments of corporation.
NETWORKING COMPONENTS AN OVERVIEW OF COMMONLY USED HARDWARE Christopher Johnson LTEC 4550.
Student Attendance System Requirement Analysis Presentation.
PROJECT - ZYNQ Yakir Peretz Idan Homri Semester - winter 2014 Duration - one semester.
Network Structure Elements of communication message source the channel message destination Network data or information networks capable of carrying many.
HOME AUTOMATION: WEB BASED CONTROL Anthony Campbell Eric Poynter EKU, Dept. of Technology Computer Electronic Networking.
NETWORKING FUNDAMENTALS. Network+ Guide to Networks, 4e2.
Networks Am I hooked up?. Networks definition sizes of networks types advantages and disadvantages how data is sent transmission media business uses.
Page 1 Printing & Terminal Services Lecture 8 Hassan Shuja 11/16/2004.
Term 2, 2011 Week 2. CONTENTS Communications devices – Modems – Network interface cards (NIC) – Wireless access point – Switches and routers Communications.
Network Components By Kagan Strayer. Network Components This presentation will cover various network components and their functions. The components that.
© 2006 EMC Corporation. All rights reserved. The Host Environment Module 2.1.
WHAT IS E-COMMERCE? E-COMMERCE is a online service that helps the seller/buyer complete their transaction through a secure server. Throughout the past.
TOPIC 1.3 INTRODUCTION TO NETWORKING. Router – A netwok interconnection device & associated software that links two networks. The networks being linked.
Input/Output Problems Wide variety of peripherals —Delivering different amounts of data —At different speeds —In different formats All slower than CPU.
Introduction to computer networking Objective: To be acquainted with: The definitions of networking Network topology Network peripherals, hardware and.
Using Correlated Tracing to Diagnose Query Level Performance What’s slowing down my app? Jerome Halmans Senior Software Development Engineer Microsoft.
Client Server Model. Server Applications (Software) Management and maintenance of Data including Management and maintenance of Data including User login.
Firewalls. Overview of Firewalls As the name implies, a firewall acts to provide secured access between two networks A firewall may be implemented as.
WHAT’S A WIRELESS AP? AND WHY DO I NEED ONE? Network Components & How They Work.
Web Application for Home Energy Assistance Program
ANDROID APP FOR HIVETRACKS.COM SERVICE
Module 4 Remote Login.
Connecting Networks Repeater: physical layer Bridge: data link layer
File Transfer and access
PRESENTATION ON Sky X TECH. SUBMETTED TO:- SUBMETTED BY:-
Chapter 3: Windows7 Part 4.
Chapter 16: Distributed System Structures
CS580 Special Project: IOS Firewall Setup using CISCO 1600 router
Motivation, Terminology, Layered systems (and other random stuff)
Client/Server Computing
Database System Architectures
Presentation transcript:

CCN CCN Central Control Network Part A presentation Winter & Spring 2002/03 Student : Kormas Tal Guide : Gerber Alex

CCN CCN - motivation Many systems around the world use central computer for security devices (such as entrance and security cameras). Most of the devices are low resource requires and so many could be connected to one computer. We would like to take advantage of the USB port speed and availability, and implement multiple area network (a separate bus for each area) connected to it.

3 CCN - functional Devices Data base Internet Users Future

USB HUB תור FIFO עם זכרון CAN BUS CAN to USB & Can Master CCN CCN – block diagram view אלמנט תקשורת ושליטה Nice for a future project Future

CCN CCN – main idea Each device uses bus interface to connect a CAN bus. Each level/area have it’s own bus. All buses controlled by a master device, which also convert the CAN protocol into USB protocol. All the Can Masters outputs (USB) are connected to a USB Hub (which is power supplied, so the net will keep working when communication to the computer N/A). The hub connected to a memory unit for keeping the data in a FIFO line if the computer is down.

6 CCN – main idea (cont) The data from the devices is inserted to a Database on the computer side. The users connect to the computer and login. Each user have links to is devices. The user can look on the data received from his device and configure them, according to his permissions. As a conclusion : The project is a very interconnected with other devices, both networked (CAN/TCP/USB) and both functionality (door opener/cameras and etc.)

7 CCN - Interfaces There are 3 main interfaces on this project: 1) devices interface with the network bus using CAN protocol (ISO/IS ) 2) buses interface with the PC using USB protocol. 3) users interface with the PC and data using TCP/IP protocol.

8 CNN – spec Since CAN bus can support 1024 devices, and it’s throughput is 125KB/sec. And Since USB 1.1 (slow) can support 12MB/sec. And Since there is no limit to hub usage. We could support up to about 100 full buses (or more if it’s not full). TCP/IP rates are network based (since each user could be connected in a different speed).

9 CCN - Software התוכנה הבסיסית כוללת 2 תהליכונים: אחד הוא הראשי והמאתחל, השני הוא המאזין על ה USB. עבור כל הודעה שמתקבלת נפתח תהליכון חדש, לטיפול בהודעה הזו. אותו תהליך בודק את המידע שהתקבל ומבצע את הפעולות שהוגדרות עבור קבלת המידע ע"י אותו רכיב (ע"י קריאה ממסד הנתונים).

10 CCN – Devices 1.Input : CAN packet p (this will be done one thread for 1 packet) 2.IF p.data.cont then 3. Act recording to the data(add/remove). 4.ELSE 5. db.(p.dev).data(time) = p.data 6. if(irreg(db.(p.dev))) do db.(p.dev).irlist 7. else if(ok(db.(p.dev))) do db.(p.dev).oklist 8. else do db.(p.dev).failist 9.End if 10.return

11 CCN – Devices database Database for device contains the following data for each: 1.device name 2.Device type 3.configures (i.e. good time, legal users list) 4.list of devices for irregularities. 5.list of devices for legal operations 6.list of devices for illegal operations. 7.What data is considered good.

12 CCN – log Database Each line at the log has: Device ID Device name Time Irregularly flag OK flag

13 CCN – implementation notes The computer OS: windows 2000 I’m using C# to implement the software, and Microsoft SQL Server for the database. I’ll use the SQL server to also log the operation made by the users for the administration side. NOTE : there is special user “admin” which will have a different kind of page, and could control all users and devices. He is the manager of the system.

14 CCN – course of development First I had to verify that the master device works properly. It took some time to understand it’s demo program. Then developing the software on C# was needed, and this was problematic. Connected the bus with the SQL. Wrote a program for simulating 2 clients on the bus. Connected a PIC device to the bus and check working with it. Developing CANopen layer for the program (only PDO). This is done with Konstantin, and not yet completed.

15 CCN – Test Spec The project was checked using a know working devices. One CAN bus was used. It had 2 devices connected to the bus. Data was received and translated correctly. The data received from the package, is causing a correct data fetch for the device who sent it, and followed by a correct sequence (O.K / Fail / Irregularity)

16 CCN – Software checks I’ve checked my software as follow: 1)Devices work : checked that I get the messages on the bus from a debugger connected to the bus. 2)Database insertion work: checked that when a device message receive, it’s inserted to the right place on the database. 3)Data decision work : checking correct time, check if the data correct. I’ve checked 2 different devices, with all the possibility groups (OK / Fail / Irregularity)

17 CCN – what already done הפרוייקט אופיין תיאור התוכנה הושלם צבירת ידע בשפת התכנות ורקע בנושא מסדי נתונים. הוכנו מצבורי ידע בנושאי התוכנה (כמו הגנת אתרים וכו'). נכתבה ונבדקה התוכנה עבור Can Bus יחיד (עם מספר אלמנטים) וללא משתמשים.

18 מה למדתי ראשית למדתי להשתמש ב C# ובסביבת פיתוח.Net למדתי להמיר קוד משפת C++ לשפת C#. למדתי כיצד עובד קישור ספריה דינמית עבור פונקציות להעתקת classes או זכרון. למדתי כיצד לכתוב שאילתות ב SQL, כיצד להגדיר ולשנות הגדרות של טבלה. למדתי ליישם את החומר הנלמד לגבי transactions ו concurrency. השתמשתי בחומר התאורתי לצורך יישום וחשיבה על פרוטוקול התקשורת על ה bus (פרוטוקול דמוי PCI לעומת פרוטוקול CANopen וכו).

19 CCN – why not… Why not single user? Single user cannot secure a large site, we want to allow more users, each securing a smaller area. Why not single bus? Single bus won’t allow large number of devices, and we’ll be limited by CAN max throughput.

20 CCN – why not…(cont) Why using hub? since we are limited on the number of USB’s connectors to a single computer -> HUB.

21 CCN – Next Step יש לסיים את מימוש הפרוטוקול (CANopen) יש להזמין USB Hub. יש להוסיף עוד buses למערכת ולהרחיב את התוכנה לתמוך בכולם. יש לכתוב את התוכנה עבור משתמשים. יש לבדוק את המערכת השלמה ולהוסיף עליה הגנות (נגד פריצה).

CCN – part 2 timetable סיום מימוש הפרוטוקול : הוספת Hub ו Buses : כתיבת התוכנה עבור המשתמשים : סיום של כל הבדיקות, הוספת ההגנות וכו': הגשת הפרוייקט : עד ה