Skip to main content
Log in

Cloud services integration for farm animals’ behavior studies based on smartphones as activity sensors

  • Original Research
  • Published:
Journal of Ambient Intelligence and Humanized Computing Aims and scope Submit manuscript

Abstract

Smartphones, particularly iPhone, can be relevant instruments for researchers in animal behavior because they are readily available on the planet, contain many sensors and require no hardware development. They are equipped with high performance Inertial Measurement Units (IMU) and absolute positioning systems analyzing users’ movements, but they can easily be diverted to analyze likewise the behaviors of domestic animals such as cattle. The study of animal behavior using smartphones requires the storage of many high frequency variables from a large number of individuals and their processing through various relevant variables combinations for modeling and decision-making. Transferring, storing, treating and sharing such an amount of data is a big challenge. In this paper, a lambda cloud architecture innovatively coupled to a scientific sharing platform used to archive, and process high-frequency data are proposed to integrate future developments of the Internet of Things applied to the monitoring of domestic animals. An application to the study of cattle behavior on pasture based on the data recorded with the IMU of iPhone 4s is exemplified. Performances comparison between iPhone 4s and iPhone 5s is also achieved. The package comes also with a web interface to encode the actual behavior observed on videos and to synchronize observations with the sensor signals. Finally, the use of Edge computing on the iPhone reduced by 43.5% on average the size of the raw data by eliminating redundancies. The limitation of the number of digits on individual variable can reduce data redundancy up to 98.5%.

This is a preview of subscription content, log in via an institution to check access.

Access this article

Price excludes VAT (USA)
Tax calculation will be finalised during checkout.

Instant access to the full article PDF.

Fig. 1
Fig. 2
Fig. 3

Similar content being viewed by others

Notes

  1. edited by Wavefront Labs and available in the Apple App store: https://itunes.apple.com/us/app/sensor-data/id397619802?mt=8.

  2. https://www.xamarin.com.

  3. Apache Samza (2017) http://samza.apache.org/. Accessed 5 April 2017.

  4. Tschetter E (2011) Introducing druid: Real-time analytics at a billion rows per second. http://druid.io/blog/2011/04/30/introducing-druid.html, Accessed 4 April 2017.

  5. LZ4. http://www.lz4.org, Accessed 4 April 2017.

  6. Liblzf (2013) http://freecode.com/projects/liblzf. Accessed 4 April 2017.

  7. Apache Zookeeper (2017) http://hadoop.apache.orf/zookeper, Accessed 10 April 2017.

  8. Merkel D (2014) Docker: lightweight Linux containers for consistent development and deployment. Linux Journal 239, Article n°2.

References

  • Abadi M, Barham P, Chen J, Chen Z, Davis A, Dean J, Devin M, Ghemawat S, Irving G. Isard M, Kudlur M, Levenberg J, Monga R, Moore S, Murray DG, Steiner B, Tucker P, Vasudevan V, Warden P, Wicke M, Yu Y, Zheng X, Google Brain (2016) TensorFlow: a system for large-scale machine learning. In: 12th USENIX Symposium on Operating Sytemps Design and Implementation (OSDI’16). Novembre 2–4, 2016, ISBN: 978-1-931971-33-11

  • Altintas I, Berkley C, Jaeger E, Jones M, Ludascher B, Mock S (2004) Kepler: an extensible system for design and execution of scientific workflows. In: Scientific and Statistical Database Management. In: Proceedins of the 16th International Conference on, IEEE, pp 423–424. https://doi.org/10.1109/SSDM.2004.1311241

  • Andriamandroso ALH, Bindelle J, Mercatoris B, Lebeau F (2016) Review on the use of sensors for jaw movements’ detection. Biotechnol Agron Soc Environ 20(S1):273–286

    Google Scholar 

  • Andriamandroso ALH, Lebeau F, Beckers Y, Froidmond E, Dufrasne I, Heinesch B, Dumortier P, Blanchy G, Blaise Y, Bindelle J (2017) Development of an open-source algorithm based on inertial measurement units (IMU) of a smartphone to detect cattle grass intake and ruminating behaviors. Comput Electron Agric 139:126–137. https://doi.org/10.1016/j.compag.2017.05.020

    Article  Google Scholar 

  • Andriamasinoro ALH, Lebeau F, Bindelle J (2015) Changes in biting characteristics recorded using the inertial measurement unit of a smartphone reflect differences in sward attributes. Precision Livestock Farming 15:283–289

    Google Scholar 

  • Apache Foundation (2017a) Apache Hama. https://hama.apache.org. Accessed 7 June 2017

  • Apache Foundation (2017b) Aurora is a Mesos framework for long-running services and cron jobs. http://aurora.apache.org. Accessed 7 June 2017

  • Chikhaoui B, Ye B, Mihailidis A (2017) Aggressive and agitated behavior recognition from accelerometer data using non-negative matrix factorization. J Ambient Intell Human Comput. https://doi.org/10.1007/s12652-017-0537-x

    Article  Google Scholar 

  • Debauche O, Mahmoudi S, Adriamandroso ALH, Manneback P, Bindelle J, Lebeau F (2017) Web-based cattle behavior service for researches based on the smartphone inertial central. Proc Comput Sci 110:110–116. https://doi.org/10.1016/j.procs.2017.06.127

    Article  Google Scholar 

  • Debauche O, El Moulat M, Mahmoudi S, Manneback P, Lebeau F (2018a) Irrigation pivot-center connected at low cost for the reduction of crop water requirements. In: International Conference on Advanced Communication Technologies and Networking (CommNet 2018). IEEE. ISBN: 978-1-5386-4609 (in press)

  • Debauche O, El Moulat M, Mahmoudi S, Boukraa S, Manneback P, Lebeau F (2018b) Web monitoring of bee health for researchers and beekeepers based on the internet of things. Proc Comput Sci (in press)

  • Debauche O, Mahmoudi S, Manneback P, Massinon M, Tadrist N, Lebeau F, Mahmoudi SA (2018c) Cloud architecture for digital phenotyping and automation. In: The 3rd International Conference on Cloud Computing Technologies and Applications—CloudTech’17. https://doi.org/10.1109/CloudTech.2017.8284718

  • Diáz M, Martin C, Rubio B (2016) State-of-the art, challenges, and open issues in the integration of Internet of things and cloud computing. J Netw Comput Appl 67:99–117. https://doi.org/10.1016/j.jnca.2016.01.010

    Article  Google Scholar 

  • Doel T, Shakir DI, Pratt R, Aertsen M, Moggridge J, Bellon E, David AL, Deprest J, Vercauteren T, Ourselin S (2017) GIF-Cloud: a data sharing and collaboration platform for medical imaging research. Comput Methods Programs Biomed 139:181–190. https://doi.org/10.1016/j.cmpb.2016.11.004

    Article  Google Scholar 

  • Frost AG, Schofield CP, Beaulah SA, Mottram TT, Lines JA, Wathes CM (1997) A review of livestock monitoring and the need for integration systems. Comput Electron Agric 7(2):139–159. https://doi.org/10.1016/S0168-1699(96)01301-4

    Article  Google Scholar 

  • González LA, Bishop-Hurley GJ, Handcock RN, Crossman C (2015) Behavioral classification of data from collars containing motion sensors in grazing cattle. Comput Electron Agric 110:91–102. https://doi.org/10.1016/j.compag.2014.10.018

    Article  Google Scholar 

  • Gropp W, Lusk E, Doss N, Skjellum A (1996) A high-performance, portable implementation of the MPI message passing interface standard. Parellel Comput 22(6):789–828. https://doi.org/10.1016/0167-8191(96)00024-5

    Article  MATH  Google Scholar 

  • Hindman B, Konwinski A, Zaharia M, Ghodsi A, Joseph AD, Katz R, Shenker S, Stoica I (2011) Mesos: a platform for fine-grained resource sharing in the data center. NSDI’11, pp 1–14. https://www.usenix.org/legacy/events/nsdi11/tech/full_papers/Hindman_new.pdf

  • Hull D, Wolstencroft K, Stevens R, Goble C, Pocock MR, Li P, Oinn T (2006) Taverna: a tool for building and runing workflows of services. Nucleic Acids Res 34(2):W729-W732. https://doi.org/10.1093/nar/gkl320

    Article  Google Scholar 

  • Kipf A, Brunette W, Kellerstrass J, Podolsky M, Rosa J, Sundt M, Wilson D, Borriello G, Brewer E, Thomas E (2016) A proposed integrated data collection, analysis and sharing platform for impact evalution. Dev Eng 1:36–44. https://doi.org/10.1016/j.deveng.2015.12.002

    Article  Google Scholar 

  • Kozhirbayev Z, Sinnott RO (2017) A performance comparison of container-based technologies for the Cloud. Future Gen Comput Syst 68:175–182. https://doi.org/10.1016/j.future.2016.08.025

    Article  Google Scholar 

  • Lee D, Choi J, Kim J-H, Noh SH, Min SL, Cho Y, Kim CS (2001) LRFU: a spectrum of policies that subsumes the least recently used and least frequently used policies. IEEE Trans Comput 50(12):1352–1361

    Article  MathSciNet  Google Scholar 

  • Linke B, Giegerich R, Goesmann A (2011) Conveyor: a workflow engine for bioinformatic analyses. Bioinformatics 27(1):903–911. https://doi.org/10.1093/bioinformatics/btr040

    Article  Google Scholar 

  • Manya A, Braa J, Øverland L, Titlestad O, Mumo J, Nzioka C (2012) National roll out of district health information software (DHIS2) in kenya, 2011—central server and cloud based infrastructure. In: IST-Africa 2012 Conference Proceedings. ISBN: 978-1-905824-34-2

  • Mariotti M, Gervasi O, Vella F, Cuzzocrea A, Costantini (2017) Strategies and systems towards grid and clouds integration: a DBMS-based solution. Future Gen Comput Syst. https://doi.org/10.1016/j.future.2017.02.047

    Article  Google Scholar 

  • McNab T, James DA, Rowlands D (2011) Iphone sensor plaforms: applications to sports monitoring. 5th Asia-Pacific Congress on Sport Technology (APCST). Proc Eng 13:507–512. https://doi.org/10.1016/j.proeng.2011.05.122

    Article  Google Scholar 

  • Miceli G, Pekkarinen A, Leppanen M (2011) Open foris initiative—tools for forest monitoring and reporting. Concept Note

  • Micucci D, Mobilio M, Napoletano P, Tisato F (2017) Falls as anomalies? An experimental evaluation using smartphone accelerometer data. J Ambient Intell Human Comput 8:87–99. https://doi.org/10.1007/s12652-015-0337-0

    Article  Google Scholar 

  • Milani P, Coccetta CA, Rabini A, Sciarra T, Massazza G, Ferriero G (2014) Mobile smartphone application for body position measurement in reabilitation: a review of goniometric tools. PM R 2014 6:1038–1043. https://doi.org/10.1016/j.pmrj.2014.05.003

    Article  Google Scholar 

  • Néron B, Ménager H, Maufrais C, Joly N, Maupetit J, Letort S, Carrere S, Tuffery P, Letondal C (2009) Mobyle: a new full web bioinformatics framework. Bioinformatics 25(22):3005–3011. https://doi.org/10.1093/bioinformatics/btp493

    Article  Google Scholar 

  • Rowlands D, James D (2011) Real time data streaming from smart phones. Procedia. 5th Asia–Pacific Congress on Sports Technology. (APCST) Eng 13:464–469. https://doi.org/10.1016/j.proeng.2011.05.115

    Article  Google Scholar 

  • Shvachko K, Kuang H, Radia S, Chansler R (2010) The hadoop distributed file system. In Mass Storage Systems and Tdchnologies. IEEE 26th Symposium on pp 1–10

  • Veith AS, Anjos JCS, de Freitas EP, Lampoltshammer TJ, Geyer CF (2016) Strategies for big data analytics through lambda architectures in volatile environments. IFAC-PapersOnLine 49–50:114–119. https://doi.org/10.1016/j.ifacol.2016.11.138

    Article  Google Scholar 

  • Yang F, Tschetter E, Léauté X, Ray N, Merlino G, Ganguli D (2014) A real-time analytical data store. SIGMOD’14, June 22–27, 2014, Snowbird, UT, USA. ACM 978-1-4503-2376-5$414/06. https://doi.org/10.1145/2588555.2595631

  • Yang F, Merlino G, Ray N, Léauté X, Gupta H, Tschetter E (2017a) The RADStack: open source lambda architecture for interactive analytics. In: Proceedings of the 50th Hawaii International Conference on System Sciences, pp 1703–1712

  • Yang L, Grooten WJA, Forsman M (2017b) An iPhone application for upper arm posture and movement measurements. Appl Ergon 65:492–500. https://doi.org/10.1016/j.apergo.2017.02.012

    Article  Google Scholar 

  • Zawodny J (2009) Redis: lightweight key/value store that goes the extra mile. Linux Magazin 31 August, 2009

Download references

Acknowledgements

We would like to thank our colleagues from the CARE AgricultureIsLife (TERRA Teaching and Research Unit, Gembloux Agro-Bio Tech) and the Precision Livestock and Nutrition Axis, without whom this work would not have been possible. We would also like to thank Prof. Ghalem Belalem for the architecture brainstorming.

Author information

Authors and Affiliations

Authors

Corresponding author

Correspondence to Olivier Debauche.

Additional information

Publisher’s Note

Springer Nature remains neutral with regard to jurisdictional claims in published maps and institutional affiliations.

Data from this paper were partially presented and published in the proceedings of the 14th International Conference on Mobile Systems and Pervasive Computing (MobiSPC 2017) (Debauche et al. 2017).

Rights and permissions

Reprints and permissions

About this article

Check for updates. Verify currency and authenticity via CrossMark

Cite this article

Debauche, O., Mahmoudi, S., Andriamandroso, A.L.H. et al. Cloud services integration for farm animals’ behavior studies based on smartphones as activity sensors. J Ambient Intell Human Comput 10, 4651–4662 (2019). https://doi.org/10.1007/s12652-018-0845-9

Download citation

  • Received:

  • Accepted:

  • Published:

  • Issue Date:

  • DOI: https://doi.org/10.1007/s12652-018-0845-9

Keywords

Navigation