ports knowledge sharing within a thematic network.
Whilst HelpMe! uses human-based services, the mid-
dleware can be used to publish automated services:
for example, in a war game on a closed field, the ap-
plication can query the devices of its own team, to
know the GPS positions.
In the current implementation, data items are ex-
changed using JSON based messages; for the future,
we are working towards providing developers with
methods for sending large-size data. In particular,
we are exploring two directions: (i) using TCP based
communication, which implies bypassing Sip2Peer
communication and developing a proprietary low-
level communication layer; (ii) fragmenting the data
to be sent into several chunks, and implementing a
layer to reconstruct the original data onto the receiver
device. Another area of investigating is binary object
management, such as images or videos. Currently, the
exchange of binary files is handled outside the mid-
dleware, and diverges slightly from the Android ap-
proach. In fact, on a single device, Android does not
need to transfer the whole file, but only its reference,
which is stored in the device. In the remote scenario,
the middleware needs to transfer the file, or to upload
it on some server known to the network of peers.
In the current version of the middleware we have
neglected the privacy aspect of peer-to-peer for the
future, the middleware will need to support privacy
and security policies for peer interactions. We in-
tend to include in Sip2Share a trust component that
can block some peers, and in general assigns ranks to
peers, based on past activities; e.g. in the HelpMe!
example a particular peer that sends a lot of spam for
many different topics.
REFERENCES
Apte, N., Deutsch, K., and Jain, R. (2005). Wireless SOAP:
Optimizations for Mobile Wireless Web Services. In
Proceedings of the 14th international conference on
World Wide Web, Chiba, Japan, pages 1178–1179.
ComScore (2012). 2012 Mobile future
in focus. WhitePaper Available at
http://www.comscore.com/Press Events/Presentations
Whitepapers/2012/2012 Mobile Future in Focus
(last checked: 24/04/2012.
Crockford, D. (2006). RFC 4627 - The application/json
Media Type for JavaScript Object Notation (JSON).
In Internet Engineering Task Force IETF Request for
Comments, pages 1–11. Internet Engineering Task
Force.
Gong, L. (2001). Industry report: Jxta: A network pro-
gramming environment. IEEE Internet Computing,
5(3):88–95.
Horozov, T., Grama, A., Vasudevan, V., and Landis, S.
(2002). Moby - a mobile peer-to-peer service and data
network. In 31st International Conference on Paral-
lel Processing (ICPP 2002), Vancouver, BC, Canada,
pages 437–444.
Hulbert, D. (2006). Wizbit: A bittorrent client for
s60 symbian smartphones using python. [Avail-
able at https://sites.google.com/site/dave1010/wizbit]
(Last checked: 20/04/2012).
Juszczyk, L. and Dustdar, S. (2008). A middleware for
service-oriented communication in mobile disaster re-
sponse environments. In 6th International Workshop
on Middleware for Pervasive and Ad-hoc Computing,
December 1-5, 2008, Leuven, Belgium, pages 37–42.
Kel
´
enyi, I., Cs
´
ucs, G., Forstner, B., and Charaf, H. (2007).
Peer-to-Peer File Sharing for Mobile Devices. In
Fitzek, F. and Reichert, F., editors, Mobile Phone
Programming, chapter 15, pages 311–324. Springer
Netherlands.
Kotilainen, N., Weber, M., Vapa, M., and Vuori, J. (2005).
Mobile chedar - a peer-to-peer middleware for mo-
bile devices. In 3rd IEEE Conference on Pervasive
Computing and Communications Workshops (PerCom
2005 Workshops), HI, USA, pages 86–90.
Maier, D. (2011). Sales of Smartphones and
Tablets to Exceed PCs. Available at
http://www.practicalecommerce.com/articles/3069-
Sales-of-Smartphones-and-Tablets-to-Exceed-PCs-
(last checked: 24/04/2012).
Molnr, B., Forstner, B., and Kelnyi, I. (2007). Symella 1.40.
Available at http://symella.aut.bme.hu (last checked:
23/04/2012).
Nordstr
¨
om, E., Gunningberg, P., and Rohner, C. (2009).
A search-based network architecture for mobile
devices. Department of Information Technol-
ogy, Uppsala University, Tech. Rep [Available at
http://www.it.uu.se/research/publications/reports/200
9-003/2009-003-nc.pdf] (last checked: 24/04/1012).
Pettey, C. (2011). Gartner Says Android to Command
Nearly Half of Worldwide Smartphone Operating
System Market by Year-End 2012. [Available at
http://www.gartner.com/it/page.jsp?id=1622614]
(Last checked: 20/04/2012).
Picone, M. (2011). sip2peer Tutorial An-
droid Example Outline. [Available at
http://code.google.com/p/sip2peer/wiki/sip2peerTu
torial] (Last checked: 20/04/2012).
Picone, M., Farber, B., and Hu, L. (2010). In-
troduction to Peerdroid. [Available at
http://dsg.ce.unipr.it/userfiles/file/peerdroid/
PeerdroidPresentation 03 2010.pdf] (Last checked:
20/04/2012).
Rosenberg, J., Schulzrinne, H., Camarillo, G., Johnston, A.,
Peterson, J., Sparks, R., Handley, M., and Schooler, E.
(2002). SIP: Session Initiation Protocol. RFC 3261.
Internet RFCs.
Srirama, S. N., Jarke, M., and Prinz, W. (2006). Mo-
bile web service provisioning. In Advanced Inter-
national Conference on Telecommunications and In-
ternational Conference on Internet and Web Applica-
tions and Services (AICT/ICIW 2006), 19-25 Febru-
ary 2006, Guadeloupe, French Caribbean, page 120.
ICSOFT2012-7thInternationalConferenceonSoftwareParadigmTrends
450