{"status":"ok","message-type":"work","message-version":"1.0.0","message":{"indexed":{"date-parts":[[2025,10,11]],"date-time":"2025-10-11T19:13:05Z","timestamp":1760209985675,"version":"build-2065373602"},"reference-count":38,"publisher":"MDPI AG","issue":"1","license":[{"start":{"date-parts":[[2017,12,23]],"date-time":"2017-12-23T00:00:00Z","timestamp":1513987200000},"content-version":"vor","delay-in-days":0,"URL":"https:\/\/creativecommons.org\/licenses\/by\/4.0\/"}],"content-domain":{"domain":[],"crossmark-restriction":false},"short-container-title":["Sensors"],"abstract":"<jats:p>Monitoring is one of the best ways to evaluate the behavior of computer systems. When the monitored system is a distributed system\u2014such as a wireless sensor network (WSN)\u2014the monitoring operation must also be distributed, providing a distributed trace for further analysis. The temporal sequence of occurrence of the events registered by the distributed monitoring platform (DMP) must be correctly established to provide cause-effect relationships between them, so the logs obtained in different monitor nodes must be synchronized. Many of synchronization mechanisms applied to DMPs consist in adjusting the internal clocks of the nodes to the same value as a reference time. However, these mechanisms can create an incoherent event sequence. This article presents a new method to achieve global synchronization of the traces obtained in a DMP. It is based on periodic synchronization signals that are received by the monitor nodes and logged along with the recorded events. This mechanism processes all traces and generates a global post-synchronized trace by scaling all times registered proportionally according with the synchronization signals. It is intended to be a simple but efficient offline mechanism. Its application in a WSN-DMP demonstrates that it guarantees a correct ordering of the events, avoiding the aforementioned issues.<\/jats:p>","DOI":"10.3390\/s18010028","type":"journal-article","created":{"date-parts":[[2017,12,26]],"date-time":"2017-12-26T03:06:38Z","timestamp":1514257598000},"page":"28","update-policy":"https:\/\/doi.org\/10.3390\/mdpi_crossmark_policy","source":"Crossref","is-referenced-by-count":4,"title":["GTSO: Global Trace Synchronization and Ordering Mechanism for Wireless Sensor Network Monitoring Platforms"],"prefix":"10.3390","volume":"18","author":[{"given":"Marlon","family":"Navia","sequence":"first","affiliation":[{"name":"ITACA, Universitat Polit\u00e8cnica de Val\u00e8ncia, Camino de Vera, s\/n, 46022 Valencia, Espa\u00f1a"},{"name":"Carrera de Computaci\u00f3n, Escuela Superior Polit\u00e9cnica Agropecuaria de Manab\u00ed (ESPAM MFL), 10 de Agosto and Granda Centeno Street, No. 82, 130601 Calceta, Manab\u00ed, Ecuador"}],"role":[{"role":"author","vocabulary":"crossref"}]},{"ORCID":"https:\/\/orcid.org\/0000-0003-0558-7683","authenticated-orcid":false,"given":"Jos\u00e9","family":"Campelo","sequence":"additional","affiliation":[{"name":"ITACA, Universitat Polit\u00e8cnica de Val\u00e8ncia, Camino de Vera, s\/n, 46022 Valencia, Espa\u00f1a"}],"role":[{"role":"author","vocabulary":"crossref"}]},{"given":"Alberto","family":"Bonastre","sequence":"additional","affiliation":[{"name":"ITACA, Universitat Polit\u00e8cnica de Val\u00e8ncia, Camino de Vera, s\/n, 46022 Valencia, Espa\u00f1a"}],"role":[{"role":"author","vocabulary":"crossref"}]},{"given":"Rafael","family":"Ors","sequence":"additional","affiliation":[{"name":"ITACA, Universitat Polit\u00e8cnica de Val\u00e8ncia, Camino de Vera, s\/n, 46022 Valencia, Espa\u00f1a"}],"role":[{"role":"author","vocabulary":"crossref"}]}],"member":"1968","published-online":{"date-parts":[[2017,12,23]]},"reference":[{"key":"ref_1","doi-asserted-by":"crossref","unstructured":"Kotsev, A., Schade, S., Craglia, M., Gerboles, M., Spinelle, L., and Signorini, M. (2016). Next Generation Air Quality Platform: Openness and Interoperability for the Internet of Things. Sensors, 16.","DOI":"10.3390\/s16030403"},{"key":"ref_2","doi-asserted-by":"crossref","unstructured":"Capella, J., Campelo, J., Bonastre, A., and Ors, R. (2016). A Reference Model for Monitoring IoT WSN-Based Applications. Sensors, 16.","DOI":"10.3390\/s16111816"},{"key":"ref_3","unstructured":"Ringwald, M., and Romer, K. (2007). Snif: A comprehensive tool for passive inspection of sensor networks. 6. GI\/ITG KuVS Fachgespr\u00e4ch Sensornetzwerke, RWTH Aachen."},{"key":"ref_4","doi-asserted-by":"crossref","first-page":"195","DOI":"10.1007\/978-3-540-69830-2_13","article-title":"Deployment support network","volume":"4373","author":"Dyer","year":"2007","journal-title":"Wirel. Sens. Netw."},{"key":"ref_5","unstructured":"Chen, B., Peterson, G., Mainland, G., and Welsh, M. (2008, January 11\u201314). LiveNet: Using Passive Monitoring to Reconstruct Sensor Network Dynamics. Proceedings of the International Conference on Distributed Computing in Sensor Systems, Santorini Island, Greece."},{"key":"ref_6","doi-asserted-by":"crossref","unstructured":"Awad, A., Nebel, R., German, R., and Dressler, F. (2008, January 3\u20135). On the need for passive monitoring in sensor networks. Proceedings of the 11th EUROMICRO Conference on Digital System Design Architectures, Methods and Tools, Parma, Italy.","DOI":"10.1109\/DSD.2008.12"},{"key":"ref_7","doi-asserted-by":"crossref","unstructured":"Kuang, X.K.X., and Shen, J.S.J. (2010, January 24\u201325). SNDS: A Distributed Monitoring and Protocol Analysis System for Wireless Sensor Network. Proceedings of the Second International Conference on Networks Security Wireless Communications and Trusted Computing (NSWCTC), Wuhan, China.","DOI":"10.1109\/NSWCTC.2010.233"},{"key":"ref_8","doi-asserted-by":"crossref","unstructured":"Zhao, Z., Huangfu, W., and Sun, L. (2012, January 27\u201331). NSSN: A network monitoring and packet sniffing tool for wireless sensor networks. Proceedings of the 8th International Wireless Communications and Mobile Computing Conference (IWCMC), Limassol, Cyprus.","DOI":"10.1109\/IWCMC.2012.6314261"},{"key":"ref_9","doi-asserted-by":"crossref","unstructured":"Sommer, P., and Kusy, B. (2013, January 11\u201315). Minerva: Distributed Tracing and Debugging in Wireless Sensor Networks. Proceedings of the 11th ACM Conference on Embedded Networked Sensor Systems (SenSys 2013), Roma, Italy.","DOI":"10.1145\/2517351.2517355"},{"key":"ref_10","doi-asserted-by":"crossref","unstructured":"Lim, R., Ferrari, F., Zimmerling, M., Walser, C., Sommer, P., and Beutel, J. (2013, January 8\u201311). FlockLab: A testbed for distributed, synchronized tracing and profiling of wireless embedded systems. Proceedings of the 12th International Conference on Information Processing in Sensor Networks, Philadelphia, PA, USA.","DOI":"10.1145\/2461381.2461402"},{"key":"ref_11","doi-asserted-by":"crossref","first-page":"10804","DOI":"10.3390\/s140610804","article-title":"EPMOSt: An Energy-Efficient Passive Monitoring System for Wireless Sensor Networks","volume":"14","author":"Garcia","year":"2014","journal-title":"Sensors"},{"key":"ref_12","doi-asserted-by":"crossref","unstructured":"Poetsch, A., Berger, A., Moestl, G., and Springer, G. (2014, January 16\u201319). TWECIS: A Testbed for Wireless Energy Constrained Industrial Sensor Actuator Networks. Proceedings of the 2014 IEEE Emerging Technology and Factory Automation (ETFA), Barcelona, Spain.","DOI":"10.1109\/ETFA.2014.7005274"},{"key":"ref_13","doi-asserted-by":"crossref","unstructured":"Navia, M., Bonastre, A., and Campelo, J.C. (2015, January 14\u201316). Hybrid Monitoring Proposal for Wireless Sensor Network. Proceedings of the 2015 Asia-Pacific Conference on Computer Aided System Engineering, Quito, Ecuador.","DOI":"10.1109\/APCASE.2015.63"},{"key":"ref_14","doi-asserted-by":"crossref","first-page":"38","DOI":"10.1109\/MS.2014.132","article-title":"Debugging the Internet of Things: The Case of Wireless Sensor Networks","volume":"32","author":"Eugster","year":"2015","journal-title":"IEEE Softw."},{"key":"ref_15","unstructured":"Tan Creti, M.E. (2015). Software and Hardware Approaches for Record and Replay of Wireless Sensor Networks, Purdue University."},{"key":"ref_16","doi-asserted-by":"crossref","unstructured":"Castillo-Secilla, J., Palomares, J., Le\u00f3n, F., and Olivares, J. (2017). Homomorphic Filtering for Improving Time Synchronization in Wireless Networks. Sensors, 17.","DOI":"10.3390\/s17040909"},{"key":"ref_17","unstructured":"Becker, D., Rabenseifner, R., and Wolf, F. (October, January 29). Implications of non-constant clock drifts for the timestamps of concurrent events. Proceedings of the IEEE International Conference on Cluster Computing, Tsukuba, Japan."},{"key":"ref_18","unstructured":"Ashton, P. (1995). Algorithms for Off-Line Clock Synchronisation, University of Canterbury."},{"key":"ref_19","doi-asserted-by":"crossref","unstructured":"Meghanathan, N., Nagamalai, D., and Chaki, N. (2012). Synchronization in Distributed Systems, in Advances in Computing and Information Technology, Springer. [176th ed.].","DOI":"10.1007\/978-3-642-31513-8"},{"key":"ref_20","doi-asserted-by":"crossref","first-page":"617","DOI":"10.1109\/JSYST.2014.2360460","article-title":"Synchronization Protocols and Implementation Issues in Wireless Sensor Networks: A Review","volume":"10","author":"Djenouri","year":"2016","journal-title":"IEEE Syst. J."},{"key":"ref_21","unstructured":"Navia, M., Campelo, J.C., Bonastre, A., Ors, R., and Capella, J.V. (2016, January 17). Drift clock analysis on distributed embedded systems for IoT applications. Proceedings of the Workshop on Innovation on Information and Communication Technologies (ITACA-WIICT 2016), Valencia, Spain."},{"key":"ref_22","doi-asserted-by":"crossref","unstructured":"Engel, A., and Koch, A. (2015, January 26\u201329). Accelerated Clock Drift Estimation for High-Precision Wireless Time-Synchronization. Proceedings of the Local Computer Networks Conference Workshops (LCN Workshops), Clearwater Beach, FL, USA.","DOI":"10.1109\/LCNW.2015.7365907"},{"key":"ref_23","doi-asserted-by":"crossref","unstructured":"Ringwald, M., and Romer, K. (2007, January 10\u201314). Practical time synchronization for Bluetooth Scatternets. Proceedings of the 2007 Fourth International Conference on Broadband Communications, Networks and Systems (BROADNETS 2007), Raleigh, NC, USA.","DOI":"10.1109\/BROADNETS.2007.4550453"},{"key":"ref_24","doi-asserted-by":"crossref","first-page":"1482","DOI":"10.1109\/26.103043","article-title":"Internet Time Synchronization: The Network Time Protocol","volume":"39","author":"Mills","year":"1991","journal-title":"IEEE Trans. Commun."},{"key":"ref_25","unstructured":"IEEE Standards Association (2008). IEEE 1588\u20142008 International Standard, IEEE."},{"key":"ref_26","unstructured":"Edison, J. (2005). IEEE 1588 Standard for a Precision Clock Synchronization Protocol for Networked Measurement and Control Systems\u2014A Tutorial, Agilent Technologies."},{"key":"ref_27","doi-asserted-by":"crossref","first-page":"1872","DOI":"10.1016\/j.comnet.2005.08.009","article-title":"Low-complexity offline and online clock skew estimation and removal","volume":"50","author":"Khlifi","year":"2006","journal-title":"Comput. Netw."},{"key":"ref_28","doi-asserted-by":"crossref","first-page":"75","DOI":"10.1145\/1842733.1842747","article-title":"Accurate Offline Synchronization of distributed traces using kernel-level events","volume":"44","author":"Poirier","year":"2010","journal-title":"ACM SIGOPS Oper. Syst. Rev."},{"key":"ref_29","unstructured":"Jabbarifar, M. (2013). On line Trace Synchronization for Large Scale Distributed Systems. [Ph.D. Thesis, \u00c9cole Polytechnique de Montr\u00e9al]."},{"key":"ref_30","unstructured":"Hofman, R., and Hilgers, U. (1998, January 21\u201323). Theory and tool for estimating global time in parallel and distributed systems. Proceedings of the Sixth Euromicro Workshop on Parallel and Distributed Processing (PDP 1998), Madrid, Spain."},{"key":"ref_31","doi-asserted-by":"crossref","first-page":"595","DOI":"10.1016\/j.parco.2008.12.012","article-title":"Scalable timestamp synchronization for event traces of message-passing applications","volume":"35","author":"Becker","year":"2009","journal-title":"Parallel Comput."},{"key":"ref_32","doi-asserted-by":"crossref","first-page":"012029","DOI":"10.1088\/1742-6596\/341\/1\/012029","article-title":"Optimum off-line trace synchronization of computer clusters","volume":"341","author":"Jabbarifar","year":"2012","journal-title":"J. Phys. Conf. Ser."},{"key":"ref_33","unstructured":"STMicroelectronics (2016, May 16). STM32F4DISCOVERY Discovery Kit with STM32F407VG MCU\u2014STMicroelectronics. Available online: http:\/\/www.st.com\/."},{"key":"ref_34","unstructured":"Embest Technology Co. (2016, May 18). STM32F4DIS-BB User Manual. Available online: www.element14.com\/."},{"key":"ref_35","unstructured":"STMicroelectronics (2016, June 08). RM0090 Reference Manual. Available online: www.st.com\/."},{"key":"ref_36","first-page":"1","article-title":"CESP: A Low-power, High-accuracy Time Synchronization Protocol","volume":"65","author":"Gong","year":"2015","journal-title":"IEEE Trans. Veh. Technol."},{"key":"ref_37","doi-asserted-by":"crossref","first-page":"717","DOI":"10.1109\/TNET.2014.2309805","article-title":"PulseSync: An Efficient and Scalable Clock Synchronization Protocol","volume":"23","author":"Lenzen","year":"2015","journal-title":"IEEE\/ACM Trans. Netw."},{"key":"ref_38","unstructured":"Zou, C., and Lu, Y. (2012, January 14\u201316). A Time Synchronization Method for Wireless Sensor Networks. Proceedings of the Third International Conference on Information Computing and Applications (ICICA 2012), Chengde, China."}],"container-title":["Sensors"],"original-title":[],"language":"en","link":[{"URL":"https:\/\/www.mdpi.com\/1424-8220\/18\/1\/28\/pdf","content-type":"unspecified","content-version":"vor","intended-application":"similarity-checking"}],"deposited":{"date-parts":[[2025,10,11]],"date-time":"2025-10-11T18:55:15Z","timestamp":1760208915000},"score":1,"resource":{"primary":{"URL":"https:\/\/www.mdpi.com\/1424-8220\/18\/1\/28"}},"subtitle":[],"short-title":[],"issued":{"date-parts":[[2017,12,23]]},"references-count":38,"journal-issue":{"issue":"1","published-online":{"date-parts":[[2018,1]]}},"alternative-id":["s18010028"],"URL":"https:\/\/doi.org\/10.3390\/s18010028","relation":{},"ISSN":["1424-8220"],"issn-type":[{"type":"electronic","value":"1424-8220"}],"subject":[],"published":{"date-parts":[[2017,12,23]]}}}