网络编程技术大作业

合集下载

JAVA网络编程大作业

JAVA网络编程大作业

XX大学考查课考试(大作业) SocketChannel通信系统设计与实现学号姓名所在学院学科、专业考试科目考试日期课程学时考试形式_____ _____ 评语:1. javasocket通信开发原理:所谓javasocket通信通常也称作"套接字",用于描述IP地址和端口,是一个通信链的句柄。

应用程序通常通过"套接字"向网络发出请求或者应答网络请求。

服务器,使用ServerSocket监听指定的端口,端口可以随意指定(由于1024以下的端口通常属于保留端口,在一些操作系统中不可以随意使用,所以建议使用大于1024的端口),等待客户连接请求,客户连接后,会话产生;在完成会话后,关闭连接。

客户端,使用Java socket通信对网络上某一个服务器的某一个端口发出连接请求,一旦连接成功,打开会话;会话完成后,关闭Socket。

客户端不需要指定打开的端口,通常临时的、动态的分配一个1024以上的端口。

2.设计目的:利用ServerSocketChannel和SocketChannel这两个套接字创建一个由阻塞模式的客户端与非阻塞模式的服务器端组成的网络通信应用程序。

它能实现客户端到服务器端之间的互发消息的功能。

并且由非阻塞模式构建的服务器端可以实现与多个客户端之间的通信。

3.设计思路及源代码:客户端:客户端的主要方法有talk(),在该方法中,通过socketChannel.socket()方法获得与socketchannel关联的Socket对象然后从这个Socket对象中获取输入流和输出流在一行行的接受和发送数据。

客户端不需要同时建立与多个服务器的连接,因此用一个线程,按照阻塞模式运行就能满足需求。

阻塞模式比较适用于同步通信,并且通信双方可稳定的发送小批量的数据,双方都不需要花很长时间等待对方的回应,并且能保持数据的完整性。

创建一个EchoClient的实例类,并且调用socketChannel.connect()方法连接远程服务器。

《网络编程技术》第2次作业及答案

《网络编程技术》第2次作业及答案

《网络编程技术》第2次作业一、填空题1、ADO 的3个核心对象是____ Connection ______、____ Command ____、______ RecordSet ___。

2、要创建ODBC 数据源,打开“控制面板”中的________管理工具_______,在__数据源(ODBC)__项目上双击来一步步实现。

3、为了建立与数据库连接,必须先调用连接对象的_____OPEN___方法,才可以继续进行各种操作。

4、____CLOSE______方法的作用主要是用以切断Connection 对象与数据库之间的链接通道。

5、标示为___BOF____和___EOF____的特殊指针位置,分别代表记录集开始于结束的位置,这两个位置只是一个空值。

6、当指针已经移动至首记录时,使用____MoveFirst___可以达到记录集开始的位置,反之引用___MoveLast____,可以将指标移到记录集结束的位置。

7、在使用INSERT 添加数据时,未设置的字段,添加数据时其默认值为___NULL_____。

8、Recordset 对象有两种方法可对记录进行更新,一种是用__SQL Update 语句___修改记录;另一种是用Recordset 对象的___UPDA TE__方法修改记录。

9、添加数据记录有两种方法,一种是使用______SQL Insert INTO_____语句;另一种是使用RecordSet对象的______AddNew_______方法。

10、如果用户在__Session.TimeOut___规定的时间内没有请求或刷新应用程序中的任何页,Session对象就会自动终止。

11、对于一些脚本执行需时过长的特定页面,也可使用Server 对象的_ScriptTimeOut__属性为其设定一个限制时间。

12、在ASP 中,用户可以利用其他功能完整的程序语言,运用Server 对象的__CreateObject___方法,在网页中创建具备所需功能的程序对象。

网络编程大作业

网络编程大作业

华北科技学院《网络编程B》大作业班级: 计科B08-1 姓名:___ _____作业题目:网上答疑系统评阅成绩:____教师:_____年月日1 引言1.1课程设计选题《网上答疑系统》1.2课程设计的目的通过这次设计的程序,可以帮助我们更进一步掌握的相关编程知识。

更数量掌握的各控件的用法。

网上答疑系统方便学生老师在课下进行交流沟通,从而摆脱地点时间的限制,更有利于学生的学习。

2 系统分析与设计2.1 功能及性能分析2.1.1 功能需求在Internet飞速发展的今天,互联网成为人们快速获取、发布和传递信息的重要渠道,它在人们政治、经济、生活等各个方面发挥着重要的作用。

Internet上发布信息主要是通过网站来实现的,获取信息也是要在Internet“海洋”中按照一定的检索方式将所需要的信息从网站上下载下来。

因此网站建设在Internet应用上的地位显而易见,它已成为政府、企事业单位信息化建设中的重要组成部分,从而倍受人们的重视。

为了更好的办学,提高学校知名度。

网上答疑系统,是一种运用计算机网络为工具来帮助教师与学生教学的方式,在这个过程中它利用多媒体技术,人工智能技术,网络技术等多种技术手段。

通过教学软件,学习平台的开发和应用,使学生和计算机之间相互作用达到教学目的,这是一种现代化教学手段。

网上答疑系统是一种教育观念与教育方式的结合,它的引入,丰富了教育教学手段,向教育现代化迈出了一大步。

2.1.2 性能需求这个网上答疑系统需要设计成用户和管理员两部分。

管理员子系统管理员通过登录进入后台管理界面,可以对有关信息进行编辑,删除。

而用户通过注册登陆答疑系统,进行相关操作。

其中为了便于管理,用户包括教师和学生。

下面进行详细的功能描述:1)管理员功能:管理员登录输入用户名和密码,通过系统判断是否为管理员正确的用户名和密码,确认正确之后即可进入后台管理界面。

管理员可以对用户信息进行删除,修改,查询等功能,比如有的学生或老师密码忘记了,那么管理员帮他们查询密码,也可以帮他们修改密码,当然如果存在多次违反规矩的用户,管理员可以将其删除,也可以重新编辑一下用户的信息。

网络编程大作业

网络编程大作业

网络编程大作业选题一、基于UDP的聊天程序要求:1、能实时地收发文字消息;2、能实时地传输文件;3、用底层的socket api实现网络通信部分,不允许使用高级类的形式;4、分为服务器和客户端程序,客户端启动,连接服务器,获取当前在线的用户信息,然后再用UDP插口与另一个客户端通信。

其中服务器和客户端相连的是TCP插口;客户端和另一个客户端通信用的是UDP插口。

(类似QQ的原理)5、应用形式是基于Dialog的。

二、基于TCP的聊天程序要求:1、能实时地收发文字消息;2、能实时地传输文件;3、用底层的socket api实现网络通信部分,不允许使用高级类的形式;4、分为服务器和客户端程序,客户端启动时连接服务器,获取当前在线的用户信息,然后再用TCP插口与另一个客户端通信。

其中服务器和客户端相连的是TCP插口,并且客户端和另一个客户端相连的也是TCP插口。

(类似QQ的原理)5、应用形式是基于Dialog的。

三、FTP客户端程序1、能上传文件到ftp服务器;2、能从ftp服务器下载文件;3、用底层的socket api实现网络通信部分,不允许使用高级类的形式;4、应用形式是基于Dialog的。

四、发送邮件程序要求:1、能发送邮件;2、支持多个收信人;3、邮件至少可以附2个附件;4、用底层的socket api实现网络通信部分,不允许使用高级类的形式;5、应用形式是基于Dialog的。

五、接收邮件程序要求:1.获取所有的邮件列表;2.当指定某个邮件,显示邮件内容,若有附件,可以把所有的附件保存到本地;;3.用底层的socket api实现网络通信部分,不允许使用高级类的形式;4.应用形式是基于Dialog的。

六、类似木马程序要求:1、服务器是被施木马的机器,而客户端就是主控方。

2、客户端可以获取服务器端的驱动器名、目录名、文件名;可以强制关闭或重启服务器端的计算机;可以屏蔽服务器的开始菜单;可以按照客户机端传过来的文件名或目录名,而删除它;可以获取服务器的正在运行的进程;可以锁定和解锁服务器的鼠标;3、用底层的socket api实现网络通信部分,不允许使用高级类的形式;4、客户端程序是基于Dialog的,而服务器程序应该具有隐蔽性;提交作业内容:1、UML的静态结构图(即类图)2、程序主要流程图(UML序列图或协作图)3、程序代码4、程序说明文档。

TCPIP协议与网络编程期末大作业

TCPIP协议与网络编程期末大作业

TCPIP协议与网络编程期末大作业
课题是网络协议栈中传输层的应用,在网络成的基础上,在传输层中使用网络套接字,达到数据传送的目的,从而实现聊天室系统功能。

关键词:TCP/UDP;聊天室;网络套接字;数据传送目录第1章总体设计2第2章客户端设计32.1发送端设计32.11流程图32.12代码32.2接收端设计32.21流程图32.22代码3第3章服务器设计43.1流程图43.2代码4第4章运行结果5第1章总体设计1原理1.1TCP在面向连接的数据流(SOCK_STREAM)传输过程中,设计基于TCP/IP协议的程序是传输层使用TCP协议,它的最大的特点是在通信之前要在客户和服务器之间先建立连接,在数据传输完成后要关闭连接,释放网络资源。

面向连接的客户/服务器程序工作模型如下:1.2UDP无连接的数据报(SOCK_DGRAM)传输服务在传输层使用的协议时UDP协议。

与面向连接的通信协议过程不同,它的最大的特点就是必须要在客户和服务器之间建立连接,通信的任何一方可以先发送数据,这样首先发送数据的一方就成为客户端,而接收数据的一方就是服务器端。

在数据传输完毕后,只要关闭套接口,释放网络资源,通信过程就结束了。

无连接的数据包传输服务通信是,客户端与服务器端所使用的函数是类似的。

面向无连接的客户/服务器程序工作模型如下:1.3流程图基于
TCP/UDP的聊天室系统包括客户端、客户显示端和服务器端三部分。

功能主要是注册、登陆、群聊、单聊、显示在线人员和退出。

客户端与服务器端的连接协议基于TCP协议,服务器端发送功能基于UDP协议。

客户端与服务器端建立连接后,客户端进行操作,将数据发送至客户显示端。

网络编程大作业4

网络编程大作业4

Network Security– Secure Multi-user ChatProgramming Assignment 4 (40 points)Objective:To use Java Cryptography Extension (JCE) to develop a fully-secured multi-user chat program. Background:In your previous course, Network Programming, you developed a multi-user chat program, which your older sister frequently uses to communicate with her boyfriend over the Internet. However, by hiring the CNSA (the Chinese equivalent of the USA's National Security Agency) to eavesdrop on her communication, your big mother discovered that she and her boyfriend plan to drop out of 大连理工大学and run away to get married. Your sister, although much smarter than you, knows little about computers and specifically, computer and network security and has agreed to pay you 1,000,000Ұ to develop a fully-secured multi-user chat program so that she and her boyfriend can continue to communicate but this time, secretly. Most importantly, your sister demands that all communications should be fully secured not just from your nosy and intrusive mother, but also from anybody, including the CNSA and the NSA.Requirements:Using your last program from Network Programming as the building block, we now need to add several layers of security.First, the communication between the server and user should be encrypted using RC4 and a session key, which is a temporary key used only for securing the communication between the server and user. As you know, RC4 is a stream cipher, but is as secure as block ciphers such as 3DES and AES. The main advantage of using RC4 here is because it is very fast and is ideal for encrypting streams of data (arbitrary lengths of data), such as users' messages.The server not only acts as the chat server, but also as the authentication center. The chat server keeps a list of all the users' (users who have already set up an account with the server) names and passwords in a file on the hard drive. The file should at all times be encrypted with AES using a 128-bit key (See below for the key) that only the server knows.Login Procedure for an existing user1.It contacts the server and requests its public key. The public key is sent to the user.2.The user generates a session key (RC4) and sends its user name, password, and thesession key to the server.3.The server decrypts the message with its private key and recovers the user name,password, and session key.4.The server checks to see if the password is correct for this user. If so, it sends a status(either "OR" or "USER NOT EXIST", or "PASSWORD INCORRECT") back to the user encrypted with the session key.5.If the status is OK, the user and server can continue communicating with the session key.If the status is anything but OK, the server terminates the connection with the user andthe user begins at step 1 again.Creating a new account for new user1.When a new user wants to create an account, it contacts the server and requests its publickey. The public key is sent to the user.2.The user generates a session key, and encrypts its name, password, and session key withthe server's public key and sends the message to the server.3.The server checks to see if the user already exists. If exists, it sends a status back to user("USER EXISTS"). If it doesn't exist, the server creates a new account for this user (the user name and password are recorded by the server). In this case, the server returns an"OK" status back to the user. The server uses the session key to encrypt the responsessent back to the user.4.If the account was successfully created, the user can begin communicating with theserver as usual. If the account was not created (user already exists), the server closes the connection and the user begins at step 1 again.Please note there is always a chance that a third party can intercept this communication and impersonate the server, but there is no way around that unless the user already knows the public key of the server or there is a third party authentication service (digital certificates).At times, A may want to send a private message to another user (B). In this case, the server should only forward that message to B and not to any one else.The client's GUI should include a list of all the users so that 1) every user can see the currently logged on users (such as QQ and MSN) and 2) the user can choose which users should receive a private message.The session (communication) between the server and user should use128-bit RC4 (algorithm name = "ARCFOUR").The following user accounts should already exist. (Their information should be stored in an encrypted file that is read by the server when it first starts up. So you should create a separate program that saves the user accounts into an encrypted file that will later be used by the server.)User Name Passwordjohn catbob dogsue pigKey Information:Server's 128-bit AES Key: C5F9D65AEB7165562E38CE328108167AServer's RSA 512-bit Key:N (system modulus) in hexadecimal =BE211D1627D0FA0EDE557CB342256C9B6B7CEDB5A727BF732499393428EF2EC8704AD E733C65B2340B9C1DA282A57EC3B8352D6382E3DC32951EE741181A60FFd(in hexadecimal) =463367CFF4679ECCBA9F09EA0E344F439B8E871E99577DC2FFF26B42AD12934CDE8A43 617F97D277F856A42EA37D9936A2CE81351A432EB9B8A4DF818DA506F1e (in hexadecimal) = 10001Please note these keys should be stored inside the program. (They should not be read from a file.) Furthermore, your program should implement an additional significant feature in your chat program. You are free to decide what this feature is, but it should be somewhat significant (not just some trivial task). This feature should be clearly documented in Part I.Some examples include:∙Allowing users to display their pictures (just like in MSN) with their names. So whenever uses log in, they can send the server an optional picture which will then be forwarded to all other uses. Thus each picture will be displayed along side the user’s name.∙Allowing users to directly communicate. In other words, two clients can open up a direct communication link (bypassing the server). Of course, the server would now act as aKDC (key distribution center) who would forward the session keys to the clients. One of the users would then contact the other user (as described in the key distribution protocol).∙Allow users to send any kind of files to other users (e.g. songs, pictures, etc.). Of course, the receiver should be first notified and asked whether to accept or reject such file fromthe sender.∙Detecting intruders and hackers. For example, if a user tries to login unsuccessfully aftera certain number of attempts (e.g. 3), your program will detect a possible intruder and notallow the user to try again until after a fixed amount of time (e.g. 5 minutes).Part I (20%) – Due: Wed, December 19Write a 4-page requirements and design specification for your program. The requirements should include the ones outlined in this homework specification in addition to any other you would like to make. Furthermore, you requirements specification should identify and describe possible errors that may arise during the execution of the program (e.g. errors in messaging formats, unexpected connection drops, corrupted data, users’ password file not found). You also describe how your program will detect and handle those errors. Furthermore, you should also describe in detail what your optional feature will be. The design specifications should describe how you plan to implement your program such that it meets all of your requirements. For example, you should list and describe any major classes. Your document should include pictures and diagrams (e.g. use case diagrams, class hierarchy, message and packet formats) whenever appropriate.If there are any other requirements not clearly specified in this homework, you are free to make anyreasonable assumptions but they should be clearly documented in your specification. This should be written in English.One suggestion is to make a table with one column identifying possible errors and another column describing how your program handles those errors.This document (Microsoft Word 2003 format) should be emailed tomarvelwork@. In the subject, please only write: Program 4. In the body of the email, write your Chinese names, English names, student ID numbers, and class numbers.Part II (80%) – Due: Wed, December 26 (or later if necessary and requested in advance)You should implement your program in accordance with the requirements described in both this homework specification and your requirements specification. In your implementation, both the server and client applications should be robust; in other words, they should expect and be able to handle any kind of error. In other words, your program should never exit due to an exception being uncaught. For most errors, your program should detect the error and then recover from such errors. In cases of unrecoverable errors, your program should exit gracefully (display a message to the user and then exit). As an example of recoverable error, if there is a drop in the connection, the client can still renegotiate a new connection with the server without prompting (asking) the user for the user name and password again (just like in MSN). An unrecoverable error is insufficient disk space. In this case, the program can just inform the user of such errors and then exit. Your program should also handle possible errors in user names and passwords (e.g. size constraints, unexpected characters (e.g. spaces), and case-sensitivity (big vs. small letters)).Your program should be well documented. In other words, be sure to sufficiently comment your code in order to enhance readability of your code. You will lose points if you fail to properly document your code.Suggestions:1.Refer to this website to get more information and examples:/j2se/1.4.2/docs/guide/security/jce/JCERefGuide.html2.You are free to design the protocol between the user and server. For example, you willneed to create kinds of messages (e.g. login, create new account, send message to allusers, send message to specific user).3.You are free to use either blocking or non-blocking I/O for both the server and client. Butto save you time, you can use your last program to complete this homework.4.You will need to synchronize some portions of your code to ensure thread-safety.5.You should find all the classes you need for security in java.security and javax.crypto.6.You are free to develop and use any formats you wish (e.g. such as the format and sizesof messages and packets). Also, it’s up to you how keys are exchanged (raw data orstrings).7.You can assume user names are case insensitive but passwords are case sensitive.8.You can assume that the maximum length of the user name is 12 characters and themaximum length of passwords is 8 characters.In other words, by fixing sizes, you cancreate fixed-size messages for logging in, etc.9.Remember the maximum size of the block size is limited by the key size. In other words,your message must be less than the modulus (M<n). So if your plaintext is larger than this, you should first divide your data into smaller blocks or chunks.10.For converting raw data (array of bytes) to keys, you should study the KeySpec class.This class is useful for converting array of bytes into keys (e.g. AES, RC4).er CipherInputStream and CipherOutputStream to writing and reading data whileperforming encryption and decryption.12.You may work in groups of 2 on this homework (in other words, you and one partner). Summary:In this exercise, you will learn how to take advantage of Java's built-in support for cryptography and security to develop secured network applications. Specifically, you will learn not just how to use and apply various kinds of cryptographic algorithms (RC4 for symmetric stream cipher, RSA for asymmetric block cipher, and AES for symmetric block cipher), you will learn how to design and implement a totally secure network system by creating your own communication protocols and message formats.。

网络编程期末大作业

网络编程期末大作业

其中说明.txt中写清楚团队的成员学号、姓名、分工及贡献率 (如50%、50%),贡献率每偏离5%则在团队平均分基础上增 减1分;

4、团队平均分关注点:功能点的实现方式和数量、报告写作情况、 测试情况以及代码质量。
?1对于局域网用户支持服务器自动发现即无须输入服务器ip地址?2客户端可以自由选择使用tcp还是udp协议?3支持离线消息使用数据库存储未投递的消息可用redis内存数据库无须持久化服务器重启后各种消息可以丢失?4增加windows平台的客户端?5有并发测试客户端?6支持ipv6?7服务器程序鲁棒性较强如可以应对非法报文?消息分发服务器的设计与实现?其它要求



消息分发服务器的设计与实现
其它要求: 1、分组完成,建议2-3人一组; 2、作业报告需要包括设计、实现、测试、问题分析几个主要部分; 3、将源代码+作业报告+说明.txt压缩打包后命名为学号+姓名的形 式,发送至邮箱:buptnp@,邮箱会自动回复。
消息分发服务器的设计与实现
扩展要求(选做): 1、对于局域网用户支持服务器自动发现(即无须输入服务器IP地址) 2、客户端可以自由选择使用TCP还是UDP协议 3、支持离线消息(使用数据库存储未投递的消息,可用redis内存数 据库,无须持久化,服务器重启后各种消息可以丢失) 4、增加windows平台的客户端 5、有并发测试客户端 6、支持IPv6 7、服务器程序鲁棒性较强(如可以应对非法报文)


消息分发服务器的设计与实现
说明: QQ、网游等常见的多种类型网络应用,其服务器侧均可以抽 象为一个消息分发服务器,即把一个用户的消息发送给一个或多个用 户。
db Server

网络编程实训大作业报告

网络编程实训大作业报告

一、引言随着信息技术的飞速发展,网络编程已经成为计算机科学与技术领域的一个重要分支。

为了提高我们的实际动手能力和理论联系实际的能力,我们选择了网络编程实训作为本次大作业。

通过本次实训,我们不仅掌握了网络编程的基本知识,还锻炼了团队协作和解决问题的能力。

以下是本次实训的大作业报告。

二、实训背景与目标1. 实训背景随着互联网的普及,网络编程技术在各个领域都得到了广泛应用。

为了提高我们的网络编程技能,我们选择了网络编程实训作为本次大作业。

2. 实训目标(1)掌握网络编程的基本概念和原理;(2)熟悉常用的网络编程技术,如TCP/IP、HTTP等;(3)掌握编程工具的使用,如Visual Studio、NetBeans等;(4)提高团队协作和解决问题的能力。

三、实训内容1. 项目概述本次实训大作业要求我们设计并实现一个基于TCP协议的简易聊天室。

该聊天室能够实现多用户同时在线聊天,用户之间可以发送文本消息。

2. 技术选型(1)编程语言:Java;(2)网络协议:TCP/IP;(3)开发工具:NetBeans;(4)数据库:无。

3. 功能模块(1)客户端模块:负责接收用户输入的消息,并将消息发送给服务器;同时,接收服务器发送的消息,显示在聊天窗口中。

(2)服务器模块:负责接收客户端发送的消息,并将消息广播给所有在线用户;同时,处理客户端的登录、注册等请求。

4. 实现步骤(1)搭建开发环境:安装Java、NetBeans等开发工具;(2)设计客户端界面:使用Swing组件设计聊天窗口、输入框、发送按钮等;(3)编写客户端代码:实现用户登录、注册、发送消息等功能;(4)编写服务器端代码:实现消息广播、用户管理等功能;(5)测试与调试:在本地环境中运行程序,进行功能测试和性能测试;(6)优化与完善:根据测试结果,对程序进行优化和改进。

四、实训成果与总结1. 成果展示本次实训大作业成功实现了一个基于TCP协议的简易聊天室,功能如下:(1)用户登录:用户可以通过用户名和密码登录聊天室;(2)发送消息:用户可以在聊天窗口中输入消息,点击发送按钮将消息发送给所有在线用户;(3)接收消息:用户可以接收其他用户发送的消息,并在聊天窗口中显示;(4)用户管理:管理员可以管理在线用户,包括查看在线用户列表、封禁用户等。

  1. 1、下载文档前请自行甄别文档内容的完整性,平台不提供额外的编辑、内容补充、找答案等附加服务。
  2. 2、"仅部分预览"的文档,不可在线预览部分如存在完整性等问题,可反馈申请退款(可完整预览的文档不适用该条件!)。
  3. 3、如文档侵犯您的权益,请联系客服反馈,我们会尽快为您处理(人工客服工作时间:9:00-18:30)。

网络编程技术
大作业
修改履历
应用协议概述
所有蓝色字体为提示信息。

填写内容之后必须删除所有蓝色文字,否则为未完成。

目录
1 文档概述 (5)
1.1 文档目的和范围 (5)
1.2 术语/缩略语 (5)
1.3 参考文档 (5)
2 系统概述 (5)
2.1 项目说明 (5)
2.2 需求分析 (5)
2.3 可行性或难点分析 (6)
3 通信协议设计 (6)
3.1 通信流程 (6)
3.2 数据格式 (6)
3.3 会话举例 (6)
4 系统设计说明 (6)
4.1 模块整体结构图 (6)
4.2 使用说明书 (6)
5 模块详细说明 (6)
5.1 核心通信模块 (7)
5.1.1 socket函数的功能 (7)
5.1.2 通信时序图 (7)
5.2 用户接口模块 (7)
5.3 类/接口/函数说明 (7)
6 结论 (7)
6.1 自我评价或总结 (7)
6.2 需要进一步学习的内容 (7)
6.3 系统扩展计划 (7)
总体要求:
本文档要写的内容是概要设计,是设计者严谨周全慎重思考后的体现逻辑和智慧的产物,一定要充分体现设计者思考的内容,此外概要设计的目标是使每一个设计者在设计时可以参考。

1文档概述
1.1 文档目的和范围
简短、清晰地描述一下文档的用途、范围。

1.2 术语/缩略语
列出文档中使用的术语和缩略语,可以采用下面的表格形式:
1.3 参考文档
列出所参考的式样或者文档等
2系统概述
2.1 项目说明
对项目功能,运行环境等进行简要的描述
2.2 需求分析
项目对网络通信功能的需要。

2.3 可行性或难点分析
考虑到找工作和考研临近;并考虑到大作业的题目可能会用到毕业设计中,鼓励分析设计一些复杂的题目。

这样在本课的学时内项目可能无法最终实现。

3通信协议设计
3.1 通信流程
3.2 数据格式
3.3 会话举例
4系统设计说明
4.1 模块整体结构图
模块概述的目的是让设计者对模块的功能和模块的位置有一个概括的了解。

4.2 使用说明书
如程序命令行参数
5模块详细说明
5.1 核心通信模块
5.1.1socket函数的功能5.1.2通信时序图
5.2 用户接口模块
5.3 类/接口/函数说明
6结论
6.1 自我评价或总结
6.2 需要进一步学习的内容6.3 系统扩展计划。

相关文档
最新文档