interactive group editor
TRANSCRIPT
8/2/2019 Interactive Group Editor
http://slidepdf.com/reader/full/interactive-group-editor 1/26
CONTENTS
Introduction Overview
8/2/2019 Interactive Group Editor
http://slidepdf.com/reader/full/interactive-group-editor 2/26
Introduction
• Group editors allow a group of distributed
human users to edit a shared document at the
same time.
• It consists of a few users who use the editor
simultaneously on different systems. The user
can chat with other users through the
coordinator. This chatting is processed byindividual or multicasting.
8/2/2019 Interactive Group Editor
http://slidepdf.com/reader/full/interactive-group-editor 3/26
• The main purpose of Internet-based
applications, such as Group Editors, is to
promote the productivity of human users as agroup.
• Group Editors are a classic model and researchvehicle for distributed interactive groupware
applications because they typically manipulate
shared data in a coordinated manner
8/2/2019 Interactive Group Editor
http://slidepdf.com/reader/full/interactive-group-editor 4/26
Overview
• A Group Editor is a groupware application that
allows a distributed group of human users to
edit a shared document over a computer
network.
• Real-time group editors allow a group of users
to view and edit the same document at the
same time from geographically dispersed sitesconnected by communication networks
8/2/2019 Interactive Group Editor
http://slidepdf.com/reader/full/interactive-group-editor 5/26
•
Remote operations are transformed before theyare executed such that inconsistencies are
repaired.
•
Operational Transformation seems a promisingconsistency control method that is able to
achieve high responsiveness, high
concurrency, and convergence while
preserving interaction results and operation
intentions.
8/2/2019 Interactive Group Editor
http://slidepdf.com/reader/full/interactive-group-editor 6/26
• Drawing pad can be created to get drawing
object from user and it is used to share
resources in distributed environment.• The position of the object present in the
drawing pad can be identified and also height
and width of the object drawn in the drawingpad can be measured.
• Then the input object can be distributed to
corresponding receiver or to all the receiversby effective synchronization.
8/2/2019 Interactive Group Editor
http://slidepdf.com/reader/full/interactive-group-editor 7/26
Literature Survey
• The Java Programming Language
The Java programming language is a high-levellanguage that can be characterized by all of the
following buzzwords:• Simple and powerful
• Architecture neutral
• Object oriented
•
Safe• Interpreted and high performance
• Interactive
• Robust
8/2/2019 Interactive Group Editor
http://slidepdf.com/reader/full/interactive-group-editor 8/26
• The Java programming language is unusual
in that a program is both compiled and
interpreted.
•
With the compiler, first you translate aprogram into an intermediate language
called Java byte codes -the platform-
independent codes interpreted by theinterpreter on the Java platform.
8/2/2019 Interactive Group Editor
http://slidepdf.com/reader/full/interactive-group-editor 9/26
• The interpreter parses and runs
each Java byte code instruction onthe computer.
Compilation happens just once,
interpretation occurs each time the
program is executed. The followingfigure illustrates how this works:
8/2/2019 Interactive Group Editor
http://slidepdf.com/reader/full/interactive-group-editor 10/26
Myprgm.java
CompilerMyprgm.class
interpreter
Myprgm
bytecode
Generation of bytecode
8/2/2019 Interactive Group Editor
http://slidepdf.com/reader/full/interactive-group-editor 11/26
The Java Platform
• A platform is the hardware or software environment inwhich a program runs. The Java platform has twocomponents:
• The Java Virtual Machine (JVM)
• The Java Application Programming Interface (JavaAPI)
• Java byte codes help make “write once, run
anywhere” possible. The program can be compiled intobyte codes on any platform that has a Java compiler.The byte codes can then be run on any implementationof the Java Virtual Machine.
8/2/2019 Interactive Group Editor
http://slidepdf.com/reader/full/interactive-group-editor 12/26
Existing System
• In the existing system, the group editors can
work only by request-response process.
• It has a problem of consistency control and
takes more time to process group editors.
8/2/2019 Interactive Group Editor
http://slidepdf.com/reader/full/interactive-group-editor 13/26
Proposed System
• The proposed system consists
of the OT Framework
to address the weakness in theexisting system.
8/2/2019 Interactive Group Editor
http://slidepdf.com/reader/full/interactive-group-editor 14/26
The system consists of two criteria:
Causality preservation
Operational effects preservation
for verifying the correctness of Operational
Transformation.
8/2/2019 Interactive Group Editor
http://slidepdf.com/reader/full/interactive-group-editor 15/26
• The basic idea of OT is to execute any
local operation as soon as it is generated
for high local responsiveness.
• Remote operations are transformed against
concurrent operations that have beenexecuted locally before its execution.
• Users are aware of the changes made by
collaborators and are able to discover andresolve semantic conflicts in a timely
manner.
8/2/2019 Interactive Group Editor
http://slidepdf.com/reader/full/interactive-group-editor 16/26
Architectural Design
• The architectural design process is
concerned with establishing a basic
structural framework for a system. It
involves identifying the major
components of the system and thecommunications between these
components.
8/2/2019 Interactive Group Editor
http://slidepdf.com/reader/full/interactive-group-editor 17/26
Hardware Requirements
•Hard disk : 1GB
• RAM : 512MB
Software Requirements
• Java 1.5 or above
• Windows 98 or above
8/2/2019 Interactive Group Editor
http://slidepdf.com/reader/full/interactive-group-editor 18/26
System Requirements Specification
Functional Requirements• The client shall be able to communicate with
other clients using text chat.
• All the clients connected to the coordinator canedit a shared image.
• The system shall provide the users to view thechanges made to the document.
Non-functional Requirements• Response time and the speed of execution of the
system
8/2/2019 Interactive Group Editor
http://slidepdf.com/reader/full/interactive-group-editor 19/26
Modules MODULES
Coordinator
ClientDrawing
pad
Text chat
8/2/2019 Interactive Group Editor
http://slidepdf.com/reader/full/interactive-group-editor 20/26
Co-ordinator
• The basic function of a coordinator is to
establish connection between clients.
• Only the coordinator has the privilege to
upload images.
• The coordinator can also disconnect any client
or all the clients connected. It can also end all
the sessions without any notification.
8/2/2019 Interactive Group Editor
http://slidepdf.com/reader/full/interactive-group-editor 21/26
Client
• All the clients connected to the coordinator can
play sender or receiver.
• The clients can send text messages, edit the
image uploaded by the coordinator, draw or
paint, modify and send it to other clients.
8/2/2019 Interactive Group Editor
http://slidepdf.com/reader/full/interactive-group-editor 22/26
Coordinator
Synchronize
and transferobject
Synchronize
and transferobject
8/2/2019 Interactive Group Editor
http://slidepdf.com/reader/full/interactive-group-editor 23/26
Drawing Pad
• While sending an image the position of theobject in the drawing pad as well as the heightand width of the object drawn in the drawing
pad are considered.• The object transmitted is placed at the exact
position of the drawing pad on the receiver endand is drawn as received from the sender. Toaccomplish this, Operational Transformation isemployed.
8/2/2019 Interactive Group Editor
http://slidepdf.com/reader/full/interactive-group-editor 24/26
Text Chat
• Text chat option is provided in the project to
communicate with the other clients connected.
• The client can send the message to every other
client connected or to any specific recipient.
• When the text chat is selected, required
sockets are invoked which reads the text from
the keyboard and send it to the recipient
C
8/2/2019 Interactive Group Editor
http://slidepdf.com/reader/full/interactive-group-editor 25/26
Conclusion
The application has been developed in order to facilitate two or more
users to edit a shared document irrespective of the geographicalconstraints at the same time. The approach we have used here is
Operational Transformation (OT) which is a well established method for
consistency control. It typically replicates the shared document and
allows any user to edit any part of the document at any time. editing
operations are executed often without being delayed or blocked. Any
conflicts are reduced in a timely manner. The Group Editor also allows
the user to chat with other users in a distributed environment.
Furthermore, this system supports editing of graphical data.It is a team activity based on a creative thought. It is user friendly and
easy to handle.
Thus it provides the user with a much easier and faster way to
communicate.
8/2/2019 Interactive Group Editor
http://slidepdf.com/reader/full/interactive-group-editor 26/26
THANK
YOU