首页
网站开发
桌面应用
管理软件
微信开发
App开发
嵌入式软件
工具软件
数据采集与分析
其他
首页
>
> 详细
讲解R语言程序|讲解Java程序|解析Haskell程序|辅导Python程序
项目预算:
开发周期:
发布时间:
要求地区:
CAN201 Introduction to Networking Coursework 1
Coursework 1
Large Efficient Flexible and Trusty (LEFT)
Files Sharing
Contribution to Overall Marks 45%
Submission Deadline Monday 7th Dec. 2020, 0:01
Type Individual coursework
Learning Outcome [A] [B] [C] [D] [E]
How the work should be submitted?
• SOFT COPY ONLY!
• You must submit your work through Learning Mall.
Specification
File sharing is a commonly used network-based application in our daily life. There are a lot of good
platforms that provided such services, such as Dropbox, Google Drive, Baidu NetDisk, iCloud, and
XJTLU BOX. You can install their apps on your PC or mobile phone to share and synchronize your
files.
This project aims at using Python Socket network programming to design and implement Large
Efficient Flexible and Trusty (LEFT) Files Sharing. From the name of this coursework, you may obtain
the requirements of this coursework:
Large:
• Format: any format, including hidden files and folders
• Size: single file is up to1GB
Efficient:
• Fast: the faster, the better
• Automatic: the changed files can be synchronized automatically
• Partial update: the partially changed files can be updated partially
• Compression: compression can be used to reduce the total size
Flexible:
• The IP addresses should be set as an argument
• Resume from interruption
Trusty:
• No Error for any files
• Error recovery without retransmission
• Data transmission security
CAN201 Introduction to Networking Coursework 1
2
You can decide the following items:
Application layer protocol:
• You can design your own protocol. But HTTP is not allowed to be implemented.
Transport layer protocol:
• TCP; or UDP; or Mixed.
Architecture:
• C/S; or P2P; or Mixed.
Port number:
• Any port between 20000 to 30000 can be used;
• You can use one or more ports.
What should be submitted:
Codes:
• Python 3;
• Your application can be implemented using multiple Python scripts;
• But there is only one application. There is no difference between a “Client” and a “Server”.
A development report:
• A cover page with your full name and student ID;
• 3~ 8 pages, single column, 1.5x line space, 2.54cm margins, Serif font1
, font size:12pt;
• PDF format, LaTeX is recommended;
• Including:
- Abstract
- Introduction: project requirement (do not copy from this document), background, literature
review (try to find research papers, development reports or testing report of similar apps), and
introduce what you did in this coursework;
- Methodology: proposed protocols (using FSM or mind map), proposed functions and ideas;
- Implementation: steps of implementation, program flow charts, programming skills (OOP,
Parallel…) you used, what difficulties you met and how to solve them;
- Testing and results: testing environment, testing plan and testing results (screenshot, tables or
curves for showing performance)
- Conclusion: what you did and why you did it. Future plan and so on.
- Reference [IEEE format]
Meanwhile, you have to follow the compulsory requirement (no tolerance2
):
• The file structure of your submission:
• Only ZIP file is allowed to submit.
1 Eg. Times New Roman, Modern No. 20 or Cambria. 2 It means that if you do not follow the compulsory requirement, your work will be marked as zero.
ZIP Compress
CAN201 Introduction to Networking Coursework 1
3
• The starting Python script file should be named as “main.py”;
• Run command: python3 main.py --ip
3
Allowed Python modules:
• General modules: os, sys, socket, struct, hashlib, math, tqdm, numpy, threading,
multiprocessing, gzip, pycryptodome, zlib, zipfile, time …4
• Any modules for encryption
• Any modules for compression
Marking Criteria
Report (40%)
Marking Criteria Item Mark
Structure (5%) Structure 5%
Contents (30%)
Abstract 2%
Introduction 4%
Methodology 6%
Implementation 7%
Testing and results 8%
Conclusion and reference 3%
Format and language
(5%)
Report style and format 3%
Language 2%
Marking scheme:
1. Structure (5%)
- Well organized structure: 5%
- Reasonable structure: 3% ~ 4%
- Disordered structure: 0% ~ 2%
2. Contents (30%)
2.1. Abstract (2%)
- Appropriate abstract (2%)
- No abstract (0%)
2.2. Introduction (4%)
- Excellent (4%)
- Lack of necessary parts (1%-3%)
- No introduction (0%)
2.3. Methodology (6%)
- Excellent methodology: sufficient and accurate figures and text description (6%)
- Reasonable methodology: clear figures and text description (3%-5%)
- Incomplete methodology (1%-2%)
- No methodology (0%)
2.4. Implementation (7%)
- Excellent implementation: sufficientsteps of the implementation with proper figures or charts(7%)
3 Eg. python3 main.py --ip 192.168.10.1,192.168.10.2 4 If you think some python module is really required, please let me know before week 9. I will add such module to the white list. Any
modules in the virtual machine provided for this CW is allowed to use.
CAN201 Introduction to Networking Coursework 1
4
- Reasonable methodology: clear steps of the implementation with figures or charts (4%-6%)
- Incomplete implementation (1%-3%)
- No implementation (0%)
2.5. Testing and results (8%)
- Excellent: sufficient testing plan for different cases, sufficient results to show the performance with
proper analysis (7%-8%)
- Acceptable: clear testing plan, clear results to show the performance with analysis (3%-6%)
- Lack of testing plan, results or analysis (1%-2%)
- No testing and results (0%)
2.6. Conclusion and reference (3%)
- Excellent conclusion and reference with the correct format (2%-3%)
- Acceptable conclusion and reference (1%)
- No conclusion or incorrect reference (0%)
3. Format and language (5%)
3.1. Report style and format (3%)
- Beautiful and clear typography: 3%
- Acceptable typography: 2%
- Bad typography: 0% ~ 1%
3.2. Language (2%)
- Accurate and concise language: 2%
- Unclear and confusing language: 0% ~ 1%
• Code (60%)
Code running environment:
• It will be published to you at the first day of week 7;
• You have to test your app using the provided virtual machine without any modification;
• The app that cannot be executed properly in this virtual machine will be marked as zero.
Code testing steps:
1. Your app (you have only one app with single python code file or multiple python codes) will
be copied to 3 virtual machines: VMA, VMB and VMC, with the same settings;
2. For each virtual machine, your app will be started as:
python3 main.py --ip 192.168.xxx.xxx,192.168.xxx.xxx 5
3. The VMA will be started and it will be running6
. It should run without any error (RUN_A).
4. I will add File 1 around 10MB to the “share” folder in the current working directory7 of VMA.
5. The VMB will be started without error (RUN_B). Your app in VMB will get the File 1 and
put it in the “share” folder in the current working directory8
. I will check the md5 of File 1
(MD5_1B) record the time consuming (TC_1B).
6. The VMC will be started without error (RUN_C). Your app in VMC will get the File 1. I will
check the md5 of File 1 (MD5_1C) record the time consuming (TC_1C).
7. I will add File 2 around 1GB and a folder (any name) with 50 small files to the “share” folder
in the current working directory of VMB.
5 These are other hosts’ IP addresses. xxx is from 0~254. 6 The code will run until being killed by Control-C. A “while True:” loop can be used for this. 7 Generally, it is the folder where your app is started. Pleased do not change it in your codes. 8 Actually, all the files for sending and receiving should be located in the “share” folder of the current working dire
CAN201 Introduction to Networking Coursework 1
5
8. File 2 and the folder with 50 small files should start to be synchronized to VMA and VMC.
9. After 2 seconds of step 7, the app on VMA will be killed by me.
10. All the files and the folder will be synchronized on VMC. I will check the md5 of File 2
(MD5_2C) and md5 of every file in the folder (MD5_FC) and record the time consuming of
File 2 (TC_2C) and the folder (TC_FC).
11. I will restart the app on VMA. All the files and the folder will be synchronized on VMA. I
will check the md5 of File 2 (MD5_2A) and md5 of every file in the folder (MD5_FA) and
record the time consuming of File 2 (TC_2A) and the folder (TC_FA).
12. I will add File 3 around 200MB with random binary data to the “share” folder in the current
working directory of VMC.
13. File 3 will be synchronized on VMA and VMB.
14. I will replace around 0.1% continuous area9 with other random binary data for File 3 on VMC.
15. The updated File 3 will be partially synchronized on VMA and VMB. I will check the md5
of File 3 on VMA and VMB (MD5_3A, MD5_3B) and record the time consuming of File 3
on VMA and VMB (TC_3A, TC_3B).
16. Compression will not be tested directly. But the File 2 will be easy to compress to a very small
size. If you implement the compression, you will get benefit from TC_2A and TC_2C.
17. Data security will not be tested directly. I will check your code. As encryption will waste time,
please use “--encryption yes” argument to switch on the encryption function. (ENC)
Marking Criteria Item for testing Mark
If you cannot get 6% of Phase 1, your app will not go to the testing of the next phase.
If you cannot get >=8% of Phase 2, your app will not go to the testing of the next phase.
9 To make the situation easier, the change will start from the first bytes of the file.
CAN201 Introduction to Networking Coursework 1
If you cannot get >=12% of Phase 3, your app will not go to the testing of the next phase.
Coding style (5%) Comments / readability 5%
软件开发、广告设计客服
QQ:99515681
邮箱:99515681@qq.com
工作时间:8:00-23:00
微信:codinghelp
热点项目
更多
代做ceng0013 design of a pro...
2024-11-13
代做mech4880 refrigeration a...
2024-11-13
代做mcd1350: media studies a...
2024-11-13
代写fint b338f (autumn 2024)...
2024-11-13
代做engd3000 design of tunab...
2024-11-13
代做n1611 financial economet...
2024-11-13
代做econ 2331: economic and ...
2024-11-13
代做cs770/870 assignment 8代...
2024-11-13
代写amath 481/581 autumn qua...
2024-11-13
代做ccc8013 the process of s...
2024-11-13
代写csit040 – modern comput...
2024-11-13
代写econ 2070: introduc2on t...
2024-11-13
代写cct260, project 2 person...
2024-11-13
热点标签
mktg2509
csci 2600
38170
lng302
csse3010
phas3226
77938
arch1162
engn4536/engn6536
acx5903
comp151101
phl245
cse12
comp9312
stat3016/6016
phas0038
comp2140
6qqmb312
xjco3011
rest0005
ematm0051
5qqmn219
lubs5062m
eee8155
cege0100
eap033
artd1109
mat246
etc3430
ecmm462
mis102
inft6800
ddes9903
comp6521
comp9517
comp3331/9331
comp4337
comp6008
comp9414
bu.231.790.81
man00150m
csb352h
math1041
eengm4100
isys1002
08
6057cem
mktg3504
mthm036
mtrx1701
mth3241
eeee3086
cmp-7038b
cmp-7000a
ints4010
econ2151
infs5710
fins5516
fin3309
fins5510
gsoe9340
math2007
math2036
soee5010
mark3088
infs3605
elec9714
comp2271
ma214
comp2211
infs3604
600426
sit254
acct3091
bbt405
msin0116
com107/com113
mark5826
sit120
comp9021
eco2101
eeen40700
cs253
ece3114
ecmm447
chns3000
math377
itd102
comp9444
comp(2041|9044)
econ0060
econ7230
mgt001371
ecs-323
cs6250
mgdi60012
mdia2012
comm221001
comm5000
ma1008
engl642
econ241
com333
math367
mis201
nbs-7041x
meek16104
econ2003
comm1190
mbas902
comp-1027
dpst1091
comp7315
eppd1033
m06
ee3025
msci231
bb113/bbs1063
fc709
comp3425
comp9417
econ42915
cb9101
math1102e
chme0017
fc307
mkt60104
5522usst
litr1-uc6201.200
ee1102
cosc2803
math39512
omp9727
int2067/int5051
bsb151
mgt253
fc021
babs2202
mis2002s
phya21
18-213
cege0012
mdia1002
math38032
mech5125
07
cisc102
mgx3110
cs240
11175
fin3020s
eco3420
ictten622
comp9727
cpt111
de114102d
mgm320h5s
bafi1019
math21112
efim20036
mn-3503
fins5568
110.807
bcpm000028
info6030
bma0092
bcpm0054
math20212
ce335
cs365
cenv6141
ftec5580
math2010
ec3450
comm1170
ecmt1010
csci-ua.0480-003
econ12-200
ib3960
ectb60h3f
cs247—assignment
tk3163
ics3u
ib3j80
comp20008
comp9334
eppd1063
acct2343
cct109
isys1055/3412
math350-real
math2014
eec180
stat141b
econ2101
msinm014/msing014/msing014b
fit2004
comp643
bu1002
cm2030
联系我们
- QQ: 9951568
© 2021
www.rj363.com
软件定制开发网!