{"status":"ok","message-type":"work","message-version":"1.0.0","message":{"indexed":{"date-parts":[[2025,11,11]],"date-time":"2025-11-11T15:43:30Z","timestamp":1762875810879,"version":"build-2065373602"},"reference-count":46,"publisher":"MDPI AG","issue":"9","license":[{"start":{"date-parts":[[2016,9,18]],"date-time":"2016-09-18T00:00:00Z","timestamp":1474156800000},"content-version":"vor","delay-in-days":0,"URL":"https:\/\/creativecommons.org\/licenses\/by\/4.0\/"}],"funder":[{"DOI":"10.13039\/501100003329","name":"Ministerio de Economia y Competitividad","doi-asserted-by":"publisher","award":["TEC2014-52690-R"],"award-info":[{"award-number":["TEC2014-52690-R"]}],"id":[{"id":"10.13039\/501100003329","id-type":"DOI","asserted-by":"publisher"}]},{"DOI":"10.13039\/501100003359","name":"Generalitat Valenciana","doi-asserted-by":"publisher","award":["AICO\/2015\/108"],"award-info":[{"award-number":["AICO\/2015\/108"]}],"id":[{"id":"10.13039\/501100003359","id-type":"DOI","asserted-by":"publisher"}]},{"name":"Universidad Laica Eloy Alfaro de Manabi","award":["Ecuador"],"award-info":[{"award-number":["Ecuador"]}]}],"content-domain":{"domain":[],"crossmark-restriction":false},"short-container-title":["Sensors"],"abstract":"<jats:p>Regular citizens equipped with smart devices are being increasingly used as \u201csensors\u201d by Smart Cities applications. Using contacts among users, data in the form of messages is obtained and shared. Contact-based messaging applications are based on establishing a short-range communication directly between mobile devices, and on storing the messages in these devices for subsequent delivery to cloud-based services. An effective way to increase the number of messages that can be shared is to increase the contact duration. We thus introduce the Friendly-Sharing diffusion approach, where, during a contact, the users are aware of the time needed to interchange the messages stored in their buffers, and they can thus decide to wait more time in order to increase the message sharing probability. The performance of this approach is anyway closely related to the size of the buffer in the device. We therefore compare various policies either for the message selection at forwarding times and for message dropping when the buffer is full. We evaluate our proposal with a modified version of the Opportunistic Networking Environment (ONE) simulator and using real human mobility traces.<\/jats:p>","DOI":"10.3390\/s16091523","type":"journal-article","created":{"date-parts":[[2016,9,19]],"date-time":"2016-09-19T10:07:43Z","timestamp":1474279663000},"page":"1523","update-policy":"https:\/\/doi.org\/10.3390\/mdpi_crossmark_policy","source":"Crossref","is-referenced-by-count":11,"title":["Friendly-Sharing: Improving the Performance of City Sensoring through Contact-Based Messaging Applications"],"prefix":"10.3390","volume":"16","author":[{"given":"Jorge","family":"Herrera-Tapia","sequence":"first","affiliation":[{"name":"Department of Computing Engineering, Universitat Polit\u00e8cnica de Val\u00e8ncia, Valencia 46022, Spain"}],"role":[{"role":"author","vocabulary":"crossref"}]},{"ORCID":"https:\/\/orcid.org\/0000-0002-3284-561X","authenticated-orcid":false,"given":"Enrique","family":"Hern\u00e1ndez-Orallo","sequence":"additional","affiliation":[{"name":"Department of Computing Engineering, Universitat Polit\u00e8cnica de Val\u00e8ncia, Valencia 46022, Spain"}],"role":[{"role":"author","vocabulary":"crossref"}]},{"given":"Andr\u00e9s","family":"Tom\u00e1s","sequence":"additional","affiliation":[{"name":"Department of Computing Engineering, Universitat Polit\u00e8cnica de Val\u00e8ncia, Valencia 46022, Spain"}],"role":[{"role":"author","vocabulary":"crossref"}]},{"ORCID":"https:\/\/orcid.org\/0000-0003-3753-0403","authenticated-orcid":false,"given":"Pietro","family":"Manzoni","sequence":"additional","affiliation":[{"name":"Department of Computing Engineering, Universitat Polit\u00e8cnica de Val\u00e8ncia, Valencia 46022, Spain"}],"role":[{"role":"author","vocabulary":"crossref"}]},{"ORCID":"https:\/\/orcid.org\/0000-0001-5729-3041","authenticated-orcid":false,"given":"Carlos","family":"Tavares Calafate","sequence":"additional","affiliation":[{"name":"Department of Computing Engineering, Universitat Polit\u00e8cnica de Val\u00e8ncia, Valencia 46022, Spain"}],"role":[{"role":"author","vocabulary":"crossref"}]},{"ORCID":"https:\/\/orcid.org\/0000-0002-0038-0539","authenticated-orcid":false,"given":"Juan-Carlos","family":"Cano","sequence":"additional","affiliation":[{"name":"Department of Computing Engineering, Universitat Polit\u00e8cnica de Val\u00e8ncia, Valencia 46022, Spain"}],"role":[{"role":"author","vocabulary":"crossref"}]}],"member":"1968","published-online":{"date-parts":[[2016,9,18]]},"reference":[{"key":"ref_1","doi-asserted-by":"crossref","first-page":"5112","DOI":"10.3390\/s150305112","article-title":"Opportunistic Mobility Support for Resource Constrained Sensor Devices in Smart Cities","volume":"15","author":"Granlund","year":"2015","journal-title":"Sensors"},{"key":"ref_2","doi-asserted-by":"crossref","first-page":"172","DOI":"10.3390\/s16020172","article-title":"Mobility-Enhanced Reliable Geographical Forwarding in Cognitive Radio Sensor Networks","volume":"16","author":"Zubair","year":"2016","journal-title":"Sensors"},{"key":"ref_3","doi-asserted-by":"crossref","first-page":"15285","DOI":"10.3390\/s150715285","article-title":"Location Privacy for Mobile Crowd Sensing through Population Mapping","volume":"15","author":"Shin","year":"2015","journal-title":"Sensors"},{"key":"ref_4","doi-asserted-by":"crossref","first-page":"23218","DOI":"10.3390\/s150923218","article-title":"Adaptive Data Gathering in Mobile Sensor Networks Using Speedy Mobile Elements","volume":"15","author":"Lai","year":"2015","journal-title":"Sensors"},{"key":"ref_5","doi-asserted-by":"crossref","first-page":"878","DOI":"10.3390\/s16060878","article-title":"Distance-Based Opportunistic Mobile Data Offloading","volume":"16","author":"Lu","year":"2016","journal-title":"Sensors"},{"key":"ref_6","doi-asserted-by":"crossref","first-page":"134","DOI":"10.1109\/MCOM.2006.248176","article-title":"Opportunistic Networking: Data Forwarding in Disconnected Mobile Ad Hoc Networks","volume":"44","author":"Pelusi","year":"2006","journal-title":"IEEE Commun. Mag."},{"key":"ref_7","doi-asserted-by":"crossref","first-page":"481","DOI":"10.1016\/j.comcom.2012.12.006","article-title":"Shaping opportunistic networks","volume":"36","author":"Ferretti","year":"2013","journal-title":"Comput. Commun."},{"key":"ref_8","unstructured":"Vahdat, A., and Becker, D. (2000). Epidemic Routing for Partially Connected Ad Hoc Networks, Duke University. Technical Report Number CS-200006."},{"key":"ref_9","doi-asserted-by":"crossref","unstructured":"Niu, J., Guo, J., Cai, Q., Sadeh, N., and Guo, S. (2011, January 28\u201331). Predict and Spread: An Efficient Routing Algorithm for Opportunistic Networking. Proceedings of the 2011 IEEE Wireless Communications and Networking Conference (WCNC), Canc\u00fan, Mexico.","DOI":"10.1109\/WCNC.2011.5779183"},{"key":"ref_10","doi-asserted-by":"crossref","unstructured":"Thakur, G.S., Kumar, U., Helmy, A., and Hsu, W.J. (2011, January 4\u20138). On the efficacy of mobility modeling for DTN evaluation: Analysis of encounter statistics and spatio-temporal preferences. Proceedings of the 2011 7th International Wireless Communications and Mobile Computing Conference (IWCMC), Istanbul, Turkey.","DOI":"10.1109\/IWCMC.2011.5982586"},{"key":"ref_11","doi-asserted-by":"crossref","first-page":"868","DOI":"10.1109\/COMST.2014.2375340","article-title":"DTN Protocols for Vehicular Networks: An Application Oriented Overview","volume":"17","author":"Tornell","year":"2015","journal-title":"IEEE Commun. Surv. Tutor."},{"key":"ref_12","doi-asserted-by":"crossref","unstructured":"Huang, C.M., Lan, K.C., and Tsai, C.Z. (2008, January 25\u201328). A Survey of Opportunistic Networks. Proceedings of the 22nd International Conference on Advanced Information Networking and Applications, GinoWan, Japan.","DOI":"10.1109\/WAINA.2008.292"},{"key":"ref_13","doi-asserted-by":"crossref","first-page":"949","DOI":"10.1007\/s11276-012-0444-1","article-title":"Opportunistic media access control and routing for delay-tolerant mobile ad hoc networks","volume":"18","author":"Dong","year":"2012","journal-title":"Wirel. Netw."},{"key":"ref_14","doi-asserted-by":"crossref","unstructured":"Al Hanbali, A., Ibrahim, M., Simon, V., Varga, E., and Carreras, I. (2008, January 20\u201324). A Survey of Message Diffusion Protocols in Mobile Ad Hoc Networks. Proceedings of the 3rd International Conference on Performance Evaluation Methodologies and Tools, Athens, Greece.","DOI":"10.4108\/ICST.VALUETOOLS2008.4510"},{"key":"ref_15","unstructured":"Hern\u00e1ndez-Orallo, E., Fern\u00e1ndez-Delegido, D., Herrera-Tapia, J., Cano, J.C., Calafate, C.T., and Manzoni, P. (2016, January 22\u201326). GRChat: A Contact-based Messaging Application for the Evaluation of Information Diffusion. Proceedings of the 6th International Conference on Advanced Communications and Computation, INFOCOMP 2016, Valencia, Spain."},{"key":"ref_16","doi-asserted-by":"crossref","unstructured":"Ker\u00e4nen, A., Ott, J., and K\u00e4rkk\u00e4inen, T. (2009, January 2\u20136). The ONE simulator for DTN protocol evaluation. Proceedings of the 2nd International ICST Conference on Simulation Tools and Techniques, Rome, Italy.","DOI":"10.4108\/ICST.SIMUTOOLS2009.5674"},{"key":"ref_17","doi-asserted-by":"crossref","first-page":"144","DOI":"10.1109\/MCOM.2015.7295476","article-title":"NCCU Trace: Social-network-aware mobility trace","volume":"53","author":"Tsai","year":"2015","journal-title":"IEEE Commun. Mag."},{"key":"ref_18","unstructured":"An Average WhatsApp User Sends Messages Per Month. Available online: http:\/\/www.statista.com\/chart\/1938\/monthly-whatsapp-usage-per-user."},{"key":"ref_19","doi-asserted-by":"crossref","unstructured":"Peng, C., Zhang, Q., Zhao, M., and Yao, Y. (2007, January 11\u201315). Opportunistic network-coded cooperation in wireless networks. Proceedings of the IEEE Wireless Communications and Networking Conference (WCNC), Hong Kong, China.","DOI":"10.1109\/WCNC.2007.618"},{"key":"ref_20","doi-asserted-by":"crossref","first-page":"053075","DOI":"10.1155\/2007\/53075","article-title":"Capacity of wireless ad hoc networks with opportunistic collaborative communications","volume":"2007","author":"Simeone","year":"2007","journal-title":"EURASIP J. Wirel. Commun. Netw."},{"key":"ref_21","unstructured":"Xu, M. (2013, January 18\u201322). Collaborative opportunistic network coding for persistent data stream in disruptive sensor networks. Proceedings of the 2013 IEEE International Conference on Pervasive Computing and Communications Workshops, PerCom Workshops 2013, San Diego, CA, USA."},{"key":"ref_22","unstructured":"Thilakarathna, K., Viana, A.C., Seneviratne, A., and Petander, H. (August, January 29). Mobile social networking through friend-to-friend opportunistic content dissemination. Proceedings of the 14th ACM International Symposium on Mobile Ad Hoc Networking and Computing, MobiHoc \u201913, Bangalore, India."},{"key":"ref_23","doi-asserted-by":"crossref","first-page":"213","DOI":"10.1016\/j.pmcj.2005.03.002","article-title":"Promoting cooperation among strangers to access internet services from an ad hoc network","volume":"1","author":"Zhu","year":"2005","journal-title":"Pervasive Mob. Comput."},{"key":"ref_24","doi-asserted-by":"crossref","unstructured":"Boutaba, R., Almeroth, K., Puigjaner, R., Shen, S., and Black, J.P. (2005). NETWORKING 2005. Networking Technologies, Services, and Protocols; Performance of Computer and Communication Networks; Mobile and Wireless Communications Systems: 4th International IFIP-TC6 Networking Conference, Waterloo, Canada, May 2-6, 2005. Proceedings, Springer Berlin Heidelberg.","DOI":"10.1007\/b136094"},{"key":"ref_25","doi-asserted-by":"crossref","first-page":"427","DOI":"10.1016\/j.peva.2004.03.003","article-title":"Modelling incentives for collaboration in mobile ad hoc networks","volume":"57","author":"Crowcroft","year":"2004","journal-title":"Perform. Eval."},{"key":"ref_26","doi-asserted-by":"crossref","first-page":"1162","DOI":"10.1109\/TMC.2014.2343627","article-title":"CoCoWa: A collaborative contact-based watchdog for detecting selfish nodes","volume":"14","author":"Olmos","year":"2015","journal-title":"IEEE Trans. Mob. Comput."},{"key":"ref_27","doi-asserted-by":"crossref","unstructured":"Buttyan, L., and Hubaux, J.P. (2007). Security and Cooperation in Wireless Networks, Cambridge University Press.","DOI":"10.1017\/CBO9780511815102"},{"key":"ref_28","doi-asserted-by":"crossref","first-page":"414689","DOI":"10.1155\/2014\/414689","article-title":"Collaborative Opportunistic Scheduling in Heterogeneous Networks: A Distributed Approach","volume":"2014","author":"Sun","year":"2014","journal-title":"Math. Probl. Eng."},{"key":"ref_29","doi-asserted-by":"crossref","unstructured":"F\u00f6rster, A., Garg, K., Nguyen, H.A., and Giordano, S. (2012, January 15\u201316). On Context Awareness and Social Distance in Human Mobility Traces. Proceedings of the 3rd ACM International Workshop on Mobile Opportunistic Networks, Z\u00fcrich, Switzerland.","DOI":"10.1145\/2159576.2159581"},{"key":"ref_30","doi-asserted-by":"crossref","unstructured":"Boldrini, C., Conti, M., and Passarella, A. (2008, January 14\u201319). Modelling Data Dissemination in Opportunistic Networks. Proceedings of the 3rd ACM Workshop on Challenged Networks, CHANTS \u201908, San Francisco, CA, USA.","DOI":"10.1145\/1409985.1410002"},{"key":"ref_31","doi-asserted-by":"crossref","unstructured":"Zhang, Y., and Zhao, J. (2009, January 18\u201321). Social network analysis on data diffusion in delay tolerant networks. Proceedings of the 10th ACM International Symposium on Mobile Ad Hoc Networking and Computing, MobiHoc \u201909, New Orleans, LA, USA.","DOI":"10.1145\/1530748.1530806"},{"key":"ref_32","doi-asserted-by":"crossref","first-page":"293","DOI":"10.1016\/j.adhoc.2014.07.001","article-title":"Impact of human behavior on social opportunistic forwarding","volume":"25 Pt B","author":"Moreira","year":"2015","journal-title":"Ad Hoc Netw."},{"key":"ref_33","doi-asserted-by":"crossref","first-page":"1814","DOI":"10.1109\/LCOMM.2015.2472407","article-title":"Evaluating the Impact of Data Transfer Time in Contact-Based Messaging Applications","volume":"19","author":"Cano","year":"2015","journal-title":"IEEE Commun. Lett."},{"key":"ref_34","doi-asserted-by":"crossref","first-page":"197","DOI":"10.1016\/j.adhoc.2013.12.013","article-title":"Modeling message diffusion in epidemical DTN","volume":"16","author":"Salles","year":"2014","journal-title":"Ad Hoc Netw."},{"key":"ref_35","doi-asserted-by":"crossref","first-page":"112","DOI":"10.1109\/MCOM.2013.6525603","article-title":"Fostering participaction in smart cities: A geo-social crowdsensing platform","volume":"51","author":"Cardone","year":"2013","journal-title":"IEEE Commun. Mag."},{"key":"ref_36","doi-asserted-by":"crossref","first-page":"4185","DOI":"10.1109\/JSEN.2014.2344023","article-title":"Crowdsensing in Urban Areas for City-Scale Mass Gathering Management: Geofencing and Activity Recognition","volume":"14","author":"Cardone","year":"2014","journal-title":"IEEE Sens. J."},{"key":"ref_37","doi-asserted-by":"crossref","first-page":"2411","DOI":"10.1007\/s11235-011-9561-x","article-title":"Controlled Mobility in Mobile Sensor Networks: Advantages, Issues and Challenges","volume":"52","author":"Natalizio","year":"2013","journal-title":"Telecommun. Syst."},{"key":"ref_38","doi-asserted-by":"crossref","unstructured":"Neena, V.V., and Rajam, V.M.A. (2013, January 4\u20136). Performance analysis of epidemic routing protocol for opportunistic networks in different mobility patterns. Proceedings of the 2013 International Conference on Computer Communication and Informatics, Coimbatore, India.","DOI":"10.1109\/ICCCI.2013.6466316"},{"key":"ref_39","doi-asserted-by":"crossref","first-page":"169","DOI":"10.14257\/ijgdc.2015.8.1.16","article-title":"Performance Evaluation of Efficient Routing Protocols in Delay Tolerant Network under Different Human Mobility Models","volume":"8","author":"Mehta","year":"2015","journal-title":"Int. J. Grid Distrib. Comput."},{"key":"ref_40","unstructured":"Su, J., Chin, A., Popivanova, A., Goel, A., and Lara, E.D. (2004, January 2\u20133). User Mobility for Opportunistic Ad-Hoc Networking. Proceedings of the 6th IEEE Workshop on Mobile Computing Systems and Applications (WMCSA 2004), Low Wood, UK."},{"key":"ref_41","doi-asserted-by":"crossref","unstructured":"Feng, Z., and Chin, K.W. (2012, January 21\u201325). A Unified Study of Epidemic Routing Protocols and their Enhancements. Proceedings of the 2012 IEEE 26th International Parallel and Distributed Processing Symposium Workshops PhD Forum (IPDPSW), Shanghai, China.","DOI":"10.1109\/IPDPSW.2012.187"},{"key":"ref_42","doi-asserted-by":"crossref","unstructured":"P\u00e9rez-S\u00e1nchez, S., Cabero, J.M., and Urteaga, I. (2015, January 25\u201327). DTN Routing Optimised by Human Routines: The HURRy Protocol. Proceedings of the 13th International Conference Wired\/Wireless Internet Communications, WWIC 2015, Malaga, Spain.","DOI":"10.1007\/978-3-319-22572-2_22"},{"key":"ref_43","doi-asserted-by":"crossref","unstructured":"Erramilli, V., and Crovella, M. (2008, January 14\u201319). Forwarding in opportunistic networks with resource constraints. Proceedings of the 3rd ACM Workshop on Challenged Networks, CHANTS \u201908, San Francisco, CA, USA.","DOI":"10.1145\/1409985.1409994"},{"key":"ref_44","doi-asserted-by":"crossref","first-page":"15","DOI":"10.5121\/ijwmn.2011.3502","article-title":"Buffer management for preferential delivery in opportunistic delay tolerant networks","volume":"3","author":"Fathima","year":"2011","journal-title":"Int. J. Wirel. Mob. Netw."},{"key":"ref_45","doi-asserted-by":"crossref","first-page":"1560","DOI":"10.1186\/1687-1499-2013-103","article-title":"A comprehensive-integrated buffer management strategy for opportunistic networks","volume":"2013","author":"Pan","year":"2013","journal-title":"EURASIP J. Wirel. Commun. Netw."},{"key":"ref_46","doi-asserted-by":"crossref","first-page":"1129","DOI":"10.1002\/spe.4380211102","article-title":"Force-Directed","volume":"21","author":"Fruchterman","year":"1991","journal-title":"Softw. Pract. Exp."}],"container-title":["Sensors"],"original-title":[],"language":"en","link":[{"URL":"https:\/\/www.mdpi.com\/1424-8220\/16\/9\/1523\/pdf","content-type":"unspecified","content-version":"vor","intended-application":"similarity-checking"}],"deposited":{"date-parts":[[2025,10,11]],"date-time":"2025-10-11T19:31:07Z","timestamp":1760211067000},"score":1,"resource":{"primary":{"URL":"https:\/\/www.mdpi.com\/1424-8220\/16\/9\/1523"}},"subtitle":[],"short-title":[],"issued":{"date-parts":[[2016,9,18]]},"references-count":46,"journal-issue":{"issue":"9","published-online":{"date-parts":[[2016,9]]}},"alternative-id":["s16091523"],"URL":"https:\/\/doi.org\/10.3390\/s16091523","relation":{},"ISSN":["1424-8220"],"issn-type":[{"type":"electronic","value":"1424-8220"}],"subject":[],"published":{"date-parts":[[2016,9,18]]}}}