Welcome to Scribd, the world's digital library. Read, publish, and share books and documents. See more
Download
Standard view
Full view
of .
Look up keyword
Like this
6Activity
0 of .
Results for:
No results containing your search query
P. 1
Remote Controlled Electronic Switching System

Remote Controlled Electronic Switching System

Ratings: (0)|Views: 122|Likes:
Published by Jatin Ramman

More info:

Published by: Jatin Ramman on Aug 12, 2010
Copyright:Attribution Non-commercial

Availability:

Read on Scribd mobile: iPhone, iPad and Android.
download as DOC, PDF, TXT or read online from Scribd
See more
See less

11/16/2010

pdf

text

original

 
Remote Controlled Electronic Switching System
Project Report
Parlikar Alok Ulhas Nishant ShrivastavaShubham Shrestha Agrwal Varun Khullar
Project Guide:
Dr. G. C. Nandi
Indian Institute of Information Technology, Allahabad
Report prepared with L
A
 TEX.
AbstractWe propose to install a system that shall enable an electronic switching deviceinterfaced with a computer to be controlled remotely using a smart device. Aclient running on the user's computer would connect to a central server, overan Internet connection. The user could then use a HTTP/WAP protocol froma smart device to connect to the central server, and issue requests to control hisdevice.In this report we describe happyRC.NET { the set of software and hardwaresetup that helps in addressing to the problem we have identi_ed. We explain themethodology that this system has adopted to tackle the issue. We also explainthe security considerations that we have focused on while designing the customclient server protocols. In the end, we conclude with possible enhancementsin the project that might take us to a whole new world of remotely operatedgadgets in every home.
Acknowledgment
 The authors gratefully acknowledge the guidance provided by the project supervisorDr G. C. Nandi throughout the development of the project. The authors also wish to thank the other faculty members for their valuablesuggestions and directions. The authors also thank their batch mates for providing constant encouragement,support and valuable suggestions during the development of the project.i
Candidate's Declaration
We hereby declare that this project report titled `happyRC.NET Remote ControlledElectronic Switching System' submitted towards the completion of MiniProject in 5
th
semester of B.Tech(I.T.) in Indian Institute of Information Technology,Allahabad is an authentic record of our work carried out under theguidance of Dr. G. C. Nandi, Dean(Academics), IIIT Allahabad.Date: December 3, 2004Place: AllahabadParlikar Alok Ulhas Nishant ShrivastavaShubham Shrestha Agrwal Varun Khullar
Certi_cate
 This is to certify that the above declaration made by Mr. Nishant Shrivastava,Mr. Parlikar Alok Ulhas, Mr. Shubham Shrestha Agrwal and Mr. Varun Khullaris true to the best of my knowledge and belief.Date: December 3, 2004Place: AllahabadDr. G. C. NandiDean (Academics)Indian Institute of Information Technology, Allahabadii
Contents
 
1 Introduction 11.1 What the problem is . . . . . . . . . . . . . . . . . . . . . . . . . 11.2 Importance of the problem . . . . . . . . . . . . . . . . . . . . . 22 State of the Art 33 System Architecture 43.1 ESS . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 43.2 CSS . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 53.3 Smart Device Client . . . . . . . . . . . . . . . . . . . . . . . . . 53.4 Architecture Notes . . . . . . . . . . . . . . . . . . . . . . . . . . 64 How happyRC.NET works 74.1 Registering New User . . . . . . . . . . . . . . . . . . . . . . . . 74.2 Activating Remote Device . . . . . . . . . . . . . . . . . . . . . . 74.3 Showing Device State Change Interface . . . . . . . . . . . . . . 74.4 Calculating New State Numbers . . . . . . . . . . . . . . . . . . 74.5 Changing the State . . . . . . . . . . . . . . . . . . . . . . . . . . 84.6 Logging O_ . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 84.7 Overall Activity Flow . . . . . . . . . . . . . . . . . . . . . . . . 85 Design Issues 115.1 ESS Client Design . . . . . . . . . . . . . . . . . . . . . . . . . . 115.2 CSS Server Design . . . . . . . . . . . . . . . . . . . . . . . . . . 135.3 WebService Design . . . . . . . . . . . . . . . . . . . . . . . . . . 136 Speci_c Technologies used 156.1 .NET Framework . . . . . . . . . . . . . . . . . . . . . . . . . . . 156.1.1 The Common Language Runtime . . . . . . . . . . . . . . 166.2 .NET Remoting . . . . . . . . . . . . . . . . . . . . . . . . . . . . 167 Conclusion and Future Scope 18A User Manuals 19A.1 Manual for the ESS Client . . . . . . . . . . . . . . . . . . . . . . 19A.1.1 Requirements . . . . . . . . . . . . . . . . . . . . . . . . . 19A.1.2 Installing the Application . . . . . . . . . . . . . . . . . . 19A.1.3 Using the Program . . . . . . . . . . . . . . . . . . . . . . 21A.2 Manual for the CSS Server . . . . . . . . . . . . . . . . . . . . . 24iiiA.2.1 Requirements . . . . . . . . . . . . . . . . . . . . . . . . . 24A.2.2 Using the Program . . . . . . . . . . . . . . . . . . . . . . 24A.3 Manual for the CSS Webservice . . . . . . . . . . . . . . . . . . . 26B Hardware Details 28C CSS-ESS Protocol Details 29C.1 Getting Connected . . . . . . . . . . . . . . . . . . . . . . . . . . 29C.2 Security Paranoia and Encryption . . . . . . . . . . . . . . . . . 29C.2.1 Two Types of Cryptography . . . . . . . . . . . . . . . . 29C.2.2 Security Attacks . . . . . . . . . . . . . . . . . . . . . . . 30C.2.3 Security Solution in happyRC.NET . . . . . . . . . . . . 30C.3 The Request Reply Protocol . . . . . . . . . . . . . . . . . . . . . 31C.3.1 Key Transfer . . . . . . . . . . . . . . . . . . . . . . . . . 31C.3.2 Client Authentication . . . . . . . . . . . . . . . . . . . . 31C.3.3 Getting the Device Details . . . . . . . . . . . . . . . . . 32C.3.4 Commanding the ESS . . . . . . . . . . . . . . . . . . . . 32C.3.5 Logging O_ . . . . . . . . . . . . . . . . . . . . . . . . . . 32C.3.6 Exceptional Messages . . . . . . . . . . . . . . . . . . . . 33C.4 Protocol at a glance . . . . . . . . . . . . . . . . . . . . . . . . . 33D Device Con_guration File Format 34E Developer Details { Writing a client for CSS 36Bibliography 37iv
 
List of Figures
3.1 Architecture of the overall System . . . . . . . . . . . . . . . . . 44.1 Overall Activity Flow Diagram . . . . . . . . . . . . . . . . . . . 9A.1 Installation of .NET Framework 2.0 . . . . . . . . . . . . . . . . 20A.2 ESS Client Installation Requirements Veri_cation . . . . . . . . . 20A.3 ESS Client Installation Security Warning . . . . . . . . . . . . . 21A.4 ESS Application Login Screen . . . . . . . . . . . . . . . . . . . . 21A.5 ESS Application Settings Dialogue . . . . . . . . . . . . . . . . . 22A.6 ESS Application { User Logged In . . . . . . . . . . . . . . . . . 23A.7 ESS Application { Change Password . . . . . . . . . . . . . . . . 24A.8 CSS Login Screen . . . . . . . . . . . . . . . . . . . . . . . . . . . 25A.9 Administration Tasks on the CSS . . . . . . . . . . . . . . . . . . 26A.10 Smart Device: Logging in . . . . . . . . . . . . . . . . . . . . . . 26A.11 Smart Device: Authentication Process . . . . . . . . . . . . . . . 27A.12 Smart Device: Controlling Remote Device . . . . . . . . . . . . . 27B.1 Hardware Circuit Diagram . . . . . . . . . . . . . . . . . . . . . . 28C.1 CSS-ESS Protocol Overview . . . . . . . . . . . . . . . . . . . . . 33v
List of Tables
5.1 Division of project work among team members . . . . . . . . . . 115.2 ESS Software Model Element Statistics Summary . . . . . . . . . 125.3 ESS Timeline Summary . . . . . . . . . . . . . . . . . . . . . . . 125.4 WebService Timeline Summary . . . . . . . . . . . . . . . . . . . 14D.1 Device Con_guration File Format . . . . . . . . . . . . . . . . . . 35vi
Chapter 1
Introduction
Computers and the related technologies are becoming more and more ubiquitous.Various technical arenas in the _eld of Computer Science and Engineering,or Information Technology have come very near to the common people. Thenumber of homes with Personal Computers
1
is gradually increasing. A day willcome, somewhere in the long future, when PC is referred to in the same classof \Food, clothing and shelter". Improvements in the Networking technologieshave fostered growth of very dense networks. Land line telephones have beenbecoming less and less popular and people now prefer communicating while onthe move. ISPs are now laying down their own networks to provide broadbandInternet access to customers.When people have a good connectivity at their disposal, with tremendouspower of mobile computing to supplement the same, we can think of \connectingtheir home appliances to the mobile phone". With this, people would be ableto turn on and o_, and to some extent, control the appliances at their homeeven from a distant place. One of the very basic examples of an utility of thisis { switching on the air conditioner in the room just some time before reachinghome, so that the room is su_ciently cool by then.
1.1 What the problem is
 The usefulness of a long range remote control to home appliances has no limits.A trivial setup facilitating such a thing would be to connect the home appliances,via a circuit, to a computer, then install a server software on the PC to exportthe device functionality on the internet, and then access the device from a smart

You're Reading a Free Preview

Download
scribd
/*********** DO NOT ALTER ANYTHING BELOW THIS LINE ! ************/ var s_code=s.t();if(s_code)document.write(s_code)//-->