230 likes | 369 Views
TEC BOX Talk Edit Chat Simplified. Team 9 Abhishek Jain Keerthy Chavva Mugdha Dharkar Rishit Shroff. What is TECBOX?. Online collaboration tool for document sharing, editing etc Also text chat and voice chat on the same window. User Interface.
E N D
TEC BOXTalk Edit Chat Simplified Team 9 Abhishek Jain Keerthy Chavva Mugdha Dharkar Rishit Shroff
What is TECBOX? • Online collaboration tool for document sharing, editing etc • Also text chat and voice chat on the same window
User Interface Invite for Text/Voice Chat Create New Doc
Design Main Server Client 1 Back-Up Server Client 2 Client 3
Bootstrap Process Server Database Look up NS1 Register with NS Back-Up Database NS2 • P2P : • Real Time Editing • Text & Voice Chat • Back-up Server
Distributed Systems Features • Java RMI as MiddleWare • Multimedia data • Failure handling • Database Replication • Realtime editing
Failures • Server failure • Client failure • Naming service failure • Database failure
Failure Handling (1) • Server failures Backup Server incase of the server crashing • Naming Server replication • Client failures Heartbeat mechanism Autosave feature • Database Replication
Failure Handling (2) Server Database Back-Up Database • Back-up Server
Other Distributed Features • Text chat • Peer to peer chat • Multimedia Data • Use of java sound • Capturing • Processing • Mixing • Playback audio
Goals Achieved • Realtime simultaneous consistent document editing • Text chat • Audio chat • Convert to PDF
Challenges • Audio Streaming • Java RMI implementation
Future Scope • Undo feature • Text chat conference • Better audio chat
User Interface • Login screen for login or registration • Once logged in, user can see his list of docs and corresponding collaborators • User can edit , save and close the document • Also user can chat with the online users visible to him,without changing the windows • Different tabs for different documents
Text Chat and Voice chat • Separate mechanism from doc editing • Peer to peer chat on a separate pop up window • User can select one among online users to chat with • Voice chat • Audio streaming from one peer to another • Java sound – low level support for audio operations like capturing, mixing, playback • Capture sound from the sender, convert to audio data bytes and send over the network • At the receiver side, these audio bytes are read and converted back to soun
How we handle each feature • Multimedia data – Use of java sound -Capturing , processing, mixing , playback audio • Failure Handling- Server failure:Backup Server incase of server crashing(Naming NS replicated, Database cons using SQl) Client server: HeartBeat mechanism, service,autosave 1 min save docs if any changes are made • Database Replication-
Features contd • Realtime editing- Any changes made by the collaborators are relayed in realtime -The document is maintained consistent on all the clients who are collaborators for it -Conflicts in editing the same line are notified to the corresponding collaborators
Features Contd • RMI features:- -Serialization used to marshal and unmarshal parameters -Serves as a middleware