Feature Selection of DNA Micrroarray Data

Download Report

Transcript Feature Selection of DNA Micrroarray Data

GeoTag – A Geographic Tagging Tool For
Extending Flickr Photo Service
Presented by: Lichun Zhu, Dohan Kim
Course: 60-569
Instructor: Dr. Jianguo Lu
University of Windsor
Winter 2007
April 3, 2007
1
Outline





Introduction – Webservice for Web 2.0
System Hierarchy
How to use our system- Demo
Summary
Q&A
April 3, 2007
2
Introduction





Web 2.0 (http://en.wikipedia.org/wiki/Web_2)
Trend for the next generation Web technology.
Uses a set of Web-based services—such as social networking sites, wikis,
communication tools, and blogs to enable online collaboration and information
sharing among users.
Converts web applications into a platform. Use common APIs and data sharing
interfaces such as RSS feed to construct ones own application and integrate
data from different content providers.
Generalized Webservices for Web 2.0

Service:


Out =F(In) ?
Webservice:
WSDL/SOAP, XML-RPC, Representational State
Transfer, XMLHttpRequest
April 3, 2007
3
Evolution of Web 2.0
April 3, 2007
4
Our Project


What does our project do ?
To combine Flickr, Google Map and other webservice providers (weather
service) together and provide Geographic related tagging service for online
personal photo management. Major functionality of our system include:





User authentication: authenticate user by checking ones Api-key and secret
code;
Photo management: upload/delete photos, query/update photo information,
add geographic tag to a photo (latitude, longitude and accuracy);
Photoset (album) management: add/delete photosets, move photo from one
photoset to another;
View geotags: view photo as geographic marks in a global satellite map, also
display weather of the day as additional information (only applies if location is
in US).
Export geotags: Export geographic landmarks that combine photo information
to a Google Earth KML document that can be viewed in Google Earth.
April 3, 2007
5
System Architecture
April 3, 2007
6
Services we used

Flickr REST services




ZK components with Google Map wrapper


Ajax-based Web User Interface, pure Java
Weather Web Service (WSDL)



http://www.flickr.com/services/api
Authentication, photo/photoset management, geodata
management, Photo upload etc
Related service provider: Zoto XML-RPC provider (upgrading)
http://www.webservicex.net/WeatherForecast.asmx?wsdl
operation: getWeatherByZipCode
Self-defined Web Service (WSDL) – Geolocation Mapping



http://kent1.galab.uwindsor.ca:8088/gqlserver/services/GeoData
Service?wsdl
Operations: getGeomappingByLatLng, updateGeomapping
Reason: hard to find a good Geolocation-postcode mapping service
April 3, 2007
7
Comparation of SOAP/XMPRPC/REST
1. SOAP:
Request -->
POST /gqlserver/services/SysSoapService HTTP/1.1
SOAPAction: "urn:soapSysinfDBUnit-IsoapSysinfoDM#getSysInfo" Content-Type:
text/xml …
<?xml version="1.0"?>
<SOAP-ENV:Envelope xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/"
xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchemainstance" xmlns:SOAP-ENC="http://schemas.xmlsoap.org/soap/encoding/">
<SOAP-ENV:Body SOAP-ENV:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/">
<NS1:getSysInfo xmlns:NS1="urn:soapSysinfDBUnit-IsoapSysinfoDM">
<SysID xsi:type="xsd:int">2</SysID>
<group xsi:type="xsd:string">local</group>
<OperID xsi:type="xsd:string">zlc</OperID>
<Operpass xsi:type="xsd:string">9999</Operpass>
</NS1:getSysInfo>
</SOAP-ENV:Body>
</SOAP-ENV:Envelope>
April 3, 2007
8
Comparation of SOAP/XMPRPC/REST
1. SOAP:
Response -->
HTTP/1.1 200 OK
Server: Apache-Coyote/1.1
Content-Type: text/xml;charset=utf-8
Transfer-Encoding: chunked
Date: Mon, 12 Feb 2007 23:00:08 GMT
439
<?xml version="1.0" encoding="UTF-8"?>
<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/"
xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<soapenv:Body>
<ns1:getSysInfoResponse soapenv:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"
xmlns:ns1="urn:soapSysinfDBUnit-IsoapSysinfoDM">
<return href="#id0"/>
<OpBankNo xsi:type="soapenc:string"
xmlns:soapenc="http://schemas.xmlsoap.org/soap/encoding/">11000</OpBankNo>
…
</ns1:getSysInfoResponse>
…
</soapenv:Body>
</soapenv:Envelope>
0
April 3, 2007
9
Comparation of SOAP/XMPRPC/REST
2. XMP-RPC:
Request -->
POST /RPC2/ HTTP/1.0
Host: localhost:8088
User-Agent: xmlrpclib.py/1.0.1 (by www.pythonware.com)
Content-Type: text/xml
Content-Length: 275
<?xml version='1.0'?>
<methodCall>
<methodName>category.get_tree</methodName>
<params>
<param>
<value>
<array>
<data>
<value><string>azz1</string></value>
<value><string>00d03d8d12675cd579e78b356990fc5c</string></value>
</data>
</array>
</value>
</param>
</params>
</methodCall>
April 3, 2007
10
Comparation of SOAP/XMPRPC/REST
2. XML-RPC:
Response -->
HTTP/1.0 200 OK
Date: Mon, 12 Feb 2007 23:01:15 GMT
Content-Length: 33671
Content-Type: text/xml
Server: TwistedWeb/2.0.0
<?xml version='1.0'?>
<methodResponse>
<params>
<param>
<value><array>
<data><value><struct>
<member> <name>username</name><value><string>azz1</string></value></member>
...
</struct></value></data>
</array></value>
</param>
</params>
</methodResponse>
April 3, 2007
11
Comparation of SOAP/XMPRPC/REST
2. XML-RPC:
Response -->
HTTP/1.0 200 OK
Date: Mon, 12 Feb 2007 23:01:15 GMT
Content-Length: 33671
Content-Type: text/xml
Server: TwistedWeb/2.0.0
<?xml version='1.0'?>
<methodResponse>
<params>
<param>
<value><array>
<data><value><struct>
<member> <name>username</name><value><string>azz1</string></value></member>
...
</struct></value></data>
</array></value>
</param>
</params>
</methodResponse>
April 3, 2007
12
Comparation of SOAP/XMPRPC/REST
3. Flickr REST:
Request -->
HTTP GET/POST/PUT/DELETE
http://api.flickr.com/services/rest/?method=flickr.photosets.getList&api_key=xxxxx&user_id=xxxx&auth_
token=2341320-fa8f28b05de61aeb&api_sig=ca62082295a0f3690e692605335bc16c
Response 
<?xml version="1.0" encoding="utf-8" ?>
<rsp stat="ok">
<photosets cancreate="0">
<photoset id="72157600026791886" primary="427864000" secret="24b7424e7f" server="177" farm="1" photos="11">
<title>Home</title>
<description>Field trip and family reunion in China in 2007</description>
</photoset>
<photoset id="72157600017416410" primary="427867923" secret="faa3135375" server="150" farm="1" photos="3">
<title>Windsor</title>
<description>living in Windsor</description>
</photoset>
</photosets>
</rsp>
April 3, 2007
13
Demo
Entry point:
http://kent1.galab.uwindsor.ca:8088/geotag
April 3, 2007
14
Summary

What we have learned





Problems Solved



Exploring Flickr authentication model and photo access permission bugfix
Serialization/Deserialization problem when using complex datatypes in newly
created webservices in Axis
Future work



Using ZK Ajax package to develop web user interface
Experiencing different styles of webservices: SOAP/WSDL, REST, XML-RPC
Using Flickr REST API and Google Map API to geo-tag personal photos
Using Eclipse WTP and Axis to create/deploy new webservices and generate
webservice client stubs
Performance improvement
Integrating more Web 2.0 services such as Zoto
Related work

A web reverse engineering tool that uses OWL ontology to construct FSM
model.
April 3, 2007
15
References
1.
2.
3.
4.
5.
6.
7.
8.
9.
Web 2.0 wiki, available at: http://en.wikipedia.org/wiki/Web_2.
AJAX technology, available at: http://en.wikipedia.org/wiki/AJAX.
Representational State Transfer, available at:
http://en.wikipedia.org/wiki/REST.
XML-RPC Homepage, available at: http://www.xmlrpc.com/.
Flickr wervice API website, available at:
http://www.flickr.com/services/api.
Google Map API website, available at: http://www.google.com/apis/maps.
ZK open source project, available at: http://www.zkoss.org/.
Hibernate website, available at: http://www.hibernate.org/
Lichun Zhu, The Exploration and application of Hibernate, A ObjectRelational Persistence Solution, 60-520 Tool Report, 2006, available at:
http://cs.uwindsor.ca/~zhu19/60520-Hibernate.doc
April 3, 2007
16
Q&A
Thank You
April 3, 2007
17