Java Instant Messenger Chat program
Design Requirement Specification
Professional class: |
or class 1202 |
Project team members: |
Yang Zongkun |
|
Liu Rui |
|
Full Asia |
|
Instructor: |
Zhangli |
Start Date: |
|
Finish Date: |
|
Purpose of writing:
This specification is based on a full understanding of the system requirements analysis, for detailed design and coding design, is the detailed design and system coding basis, but also a user to communicate with one of the documents.
Background:
In the network more and more developed today, people rely more and more on the network, more and more inseparable from the network, resulting in more and more chat tools, such as QQ, such as chat, file transfer system development, should be 2015-2016 school year the second semester, "software Engineering" Curriculum requirements, My group (including: Full Asia, Yang Zongkun, Liu Rui) chooses the chat program as the development program of my group.
The purpose of network programming is to communicate with other computers directly or indirectly through network protocols. There are two main problems in network programming, one is how to locate one or more hosts on the network accurately, and the other is how to reliably and efficiently transmit data after finding the host. In the TCP/IP protocol, it is mainly responsible for the location of the network host, the routing of data transmission, and the IP address can uniquely determine a host on the Internet. The TCP layer provides an application-oriented reliable or unreliable data transmission mechanism, which is the main object of network programming, and generally does not need to care about how the IP layer handles the data. At present, the popular network programming model is the client/server (c/s) structure. That is, both sides of the communication are waiting for the client to request and respond as a server. The customer requests the server when the service is required. Server generally as a daemon always run, listen to the network port, once a customer request, will start a service process to respond to the customer, while continuing to monitor the service port, so that later customers can also be timely service.
Name of the software system to be developed: Chat system
This software system task is presented by: course requirements
This software system task developer: Liu Rui, full Asia, Yang Zongkun
Resources:
"Java2 Practical Course (Third edition)"
Feature Introduction
User Display interface: can display the current online user, and "Refresh user"
button, you can refresh the offline users, online users are automatically added to the group.
Chat Room Login
(including name,
Server
Input to the port
and gender selection)
Chat Room Interface: Chat room interface The most up bar menu bar can set the chat font, style, color, font size, the lower part of the group chat display interface and private chat display interface. The next section is the chat interface and the right part is the file transfer interface. Features include group chat, private chat, screenshots, and file transfer capabilities.
Features of the user
The end user of the software is a variety of computer users, mainly the need for frequent communication between the user, and the need to quickly transfer different types of files, this software can provide such users with great convenience.
System operating Environment
The software can operate in a system environment where the JDK is properly installed.
Overall design:
Development tools and platforms:
Jdk,eclipse, Windows platform
Program Name: Java Chat Program
Programming Language: Java
Features: Group chat, private chat, file transfer, change font properties. The software is instant delivery software, can ignore the delay, can transfer high-capacity files.
Basic design ideas and process flow:
The client/server (c/s) structure is used. That is, both sides of the communication are waiting for the client to request and respond as a server. The customer requests the server when the service is required. Server generally as a daemon always run, listen to the network port, once a customer request, will start a service process to respond to the customer, while continuing to monitor the service port, so that later customers can also be timely service.
System functional Level Diagram
Software engineering Requirements Design Manual