首页
编程语言
数据库
网络开发
Algorithm算法
移动开发
系统相关
金融统计
人工智能
其他
首页
>
> 详细
EEEM042辅导、讲解Web Services、Java设计讲解、Java程序语言调试 讲解Processing|讲解数据库SQL
Semantic Sensor/Device/Event
Description System
EEEM042-Mobile Applications and Web Services
Coursework- Spring Semester 2019
Prof Klaus Moessner, Prof Payam Barnaghi
Electrical and Electronic Engineering Department
University of Surrey
2
Main specification
To create a web system (suitable for mobile platforms) that
will be accessible via a URL (this can be a local host):
For example: http://localhost/app/index.html
The system will allow users to add/annotate
sensor/device/events descriptions based on a simple model
(i.e. an ontology) and publish the descriptions in a semantic
repository.
Users will have access to a simple query interface that will
supports simple queries based on device/sensor attributes. 3
Description model
You need to develop a simple device/sensor description
model that includes attributes such as ID, Name, Location,
Type, etc.
The description model should be represented in XML and
also at least one of OWL,RDF or JSON (or JSON-LD)
formats.
4
Device/Sensor or Event Registration Page
A user can access an online form to add the descriptions (in
text or numerical form) or select possible options from a
selection list.
The form should be implemented using HTML FORM
elements.
When a user clicks on submit (register) button, the values
from the HTML FORM elements will be transformed to an
intermediary XML format. 5
A Sample Description Form
6
Intermediary XML Format
When a user clicks on the publish (or save) button the form
element data will be read via a server-side program.
The program will read the form values,
will create an XML or OWL/RDF/JSON file according to
the description model that is designed in the first part,
will store this XML document in an in-memory object or
in a temporary storage.
The intermediary XML document will include attribute
name and values;
e.g.
value
7
A Sample Intermediary XML Form
8
Transforming intermediary XMl Document
to the description model format
The next step after creating intermediary XML document will
be using XSLT to transform the XML document to a
description format according to the description model that
you have designed in the first step.
For this you will need to:
Design a suitable XSL template
Use a server-side program to run XSLT transformation method to
transform the intermediary XML document to the form of your
description model (it can still be XML or it can be an OWL/RDF/JSON
document or any other suitable representation form). 9
A Sample Representation of description
data in RDF form
10
Simple Query Interface
After creating the description format according your model,
you can store the document as a file.
The next, and final step, will be providing a simple interface
that users can run queries.
The query interface can directly support at least one of XPath
or SPARQL or JSON query languages. 11
A Sample Query Interface
12
Overall design
Device/Sensor
description from
Browser Publish/Save
The from will contain some key attributes such as
location, type, ID, link to service
Interface, etc.
XSL Transformation
JSON
The final RDF or JSON or XML document will be
Represented according to the semantic model
that you design
to describe a sensor/device
(i.e. a simple ontology)
Store in file
or database
A simple query form
XPath or
SPARQL or
JSON
query13
Required Pages
You need to develop at least the following web
pages:
Device/Sensor/Event Description Page (The optimised
HTML design for mobile platforms, layout and style design
are important).
Confirmation page: to acknowledge storing the description
and to show the representation (you need to consider
navigation, layout and ease of access to the options in your
system).
A simple query from (the query form should provide at
least one query template – sample- and allow a user to
write and submit other queries).
14
Implementation
The outcome will be a web-based system, optimised for
mobile browsers or mobile platforms.
You do not need to add/implement security features (secure
connection,...).
You can use .NET, J2EE, Python, Node.JS or any other
suitable technologies to implement the system.15
Requirements
For this project you need to use a development IDE (e.g.
Eclipse, NetBeans) and a run-time environment – depending
on the development technology – (e.g. Apache Tomcat).
If you plan to use Java/J2EE, here are some useful links:
Eclipse (http://www.eclipse.org/)
NetBeans (http://netbeans.org/)
16
Some related technologies/components
If you plan to use use Java and RDF data: you can use Jena or
Sesame to handle RDF data
http://jena.apache.org/
http://www.openrdf.org/
You can use Apache Tomcat (if you are using Java) to host
your application
http://tomcat.apache.org/Web Service Support
It is recommended that you implement a Web Service to
provide access to some of the functionalities of your code
(e.g. a query API as a web service).
The web service will be considered as an advance feature
(please check the marking scheme).
17
18
Project submission
The source files and a running version.
A brief report (maximum 5 pages)- The report should
include the main design (UML or illustration diagrams),
describe the key features and provide an overview of the
technologies used in the system.
No need for code documentation but the modularity,
flexibility and readability of your code is important.
Marking will be based on the submitted documents and
code and an interview. 19
Marking Criteria
Correct functionality
Code and program design
User interface
Implemented features
Design Decisions
System Explanation
The complete marking scheme and Feedback form is available
on SurreyLearn (Assignment Section).
20
Marking Scheme
User interface design (10%)
Suitability for mobile devices, use of style-sheets, readability and overall
presentation
Usability of the system (10%)
Menu, page navigation, ease of use and clarity of the forms and buttons.
Correct functionality (35%)
Ability to publish data, correct XML and RDF or JSON data and ability of
query the published data for multiple published items;
Explanation of choices made in design and system presentation in the
report (25%)
Being able to describe the components of the system, quality of the report
and effectives choices suitable for mobile environments in developing the
system
Advance features (20%)
Innovation and adding novel features, e.g. web service implementation21
When?
Staring date:
Monday, 4 February, 2019.
Submission deadline:
Tuesday, 7 May, 5:00pm.
22
Sample Code
A running sample is available at:
On Campus:
http://iot1.ee.surrey.ac.uk/MAWS/index.jsp
Off Campus:
http://iot.ee.surrey.ac.uk/MAWS/index.jsp
A run-time JAVA bundle is available at:
http://personal.ee.surrey.ac.uk/Personal/P.Barnaghi/teaching/EEEM042/
MAWS.war
You can directly deploy it on a Tomcat server and it should work.
The source code in Java http://personal.ee.surrey.ac.uk/Personal/P.Barnaghi/teaching/EEEM042/
MAWS.zipSample Code in Express.js and MongoDB
The code is available at:
https://github.com/7opf/rest-demo
23
Important notes
Please note that there are some known issues with the given
sample code that you need to fix it (if you decide to use the
given sample):
The sample java code includes some logical errors in the code (e.g. it
overwrites the previously published data and only stores the latest
published data).
It does not support publishing events (e.g. if someone wants to report
an event).
The HTML pages are not tested for mobile browsers (you should
test/fix it).
The webpages do not have any stylesheet or style formatting.
The system is developed as a web application and not a web service.
The web service implantation will be considered an advance feature.
2425
Questions?
联系我们
QQ:99515681
邮箱:99515681@qq.com
工作时间:8:00-21:00
微信:codinghelp
热点文章
更多
辅导 comm2000 creating socia...
2026-01-08
讲解 isen1000 – introductio...
2026-01-08
讲解 cme213 radix sort讲解 c...
2026-01-08
辅导 csc370 database讲解 迭代
2026-01-08
讲解 ca2401 a list of colleg...
2026-01-08
讲解 nfe2140 midi scale play...
2026-01-08
讲解 ca2401 the universal li...
2026-01-08
辅导 engg7302 advanced compu...
2026-01-08
辅导 comp331/557 – class te...
2026-01-08
讲解 soft2412 comp9412 exam辅...
2026-01-08
讲解 scenario # 1 honesty讲解...
2026-01-08
讲解 002499 accounting infor...
2026-01-08
讲解 comp9313 2021t3 project...
2026-01-08
讲解 stat1201 analysis of sc...
2026-01-08
辅导 stat5611: statistical m...
2026-01-08
辅导 mth2010-mth2015 - multi...
2026-01-08
辅导 eeet2387 switched mode ...
2026-01-08
讲解 an online payment servi...
2026-01-08
讲解 textfilter辅导 r语言
2026-01-08
讲解 rutgers ece 434 linux o...
2026-01-08
热点标签
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: 99515681 微信:codinghelp
© 2024
www.7daixie.com
站长地图
程序辅导网!