Keywords
Arthropod behaviour, behavioural ecology, Data collection, GPS/GIS, Android, Tracking
Arthropod behaviour, behavioural ecology, Data collection, GPS/GIS, Android, Tracking
We thank the reviewers for their time and consideration and present here a revised manuscript striving for more clarity and better presentation, including language and style.
See the authors' detailed response to the review by David White
See the authors' detailed response to the review by Charles Bargeron
See the authors' detailed response to the review by Harald Wolf
The traditional way of collecting and managing the data in behavioral field studies has been a tedious and laborious task. It requires the marking and monitoring of arthropods in the field along with the manual entry and management of the data about marked insects, feeders and experiments. Moreover, it becomes extremely complex, when, for example, behavioral biologists and ecologists have to estimate solar position and time without any GPS system or internet access in remote and wild regions. In field studies monitoring of arthropods requires an easy to handle application, monitoring movement as well as behavioral parameters. A desktop application installed in a laptop may not be a reliable solution, due to humid, warm and uncertain weather conditions. For this, coupling modern database technology with a low weight or low cost smart phone application can provide a strong, user-friendly tool to adopt1.
Several beneficial applications have already been developed to improve the field of ecology e.g. animal and plant georeference phenological recording2, crowd-sourcing3,4, gearing community developmental research5 with scientific approach6, collecting data in the field with a GPS system7 or a GIS system8. Despite some existing useful technological solutions in the field, we found some gaps that still need to be addressed. For instance, there is no specific smart phone or tablet application available for optimized arthropod monitoring in the field without internet connection or online GPS to access solar position and time at a specific location. Effective small animal monitoring requires an application with an efficient data management system and the ability to estimate solar position and time without a GPS or GIS system.
We offer a thoroughly developed generic solution which can easily be adapted to investigate behavioral parameters in small animals such as insects and is hence made freely available for such efforts. The present application was originally developed and optimized for monitoring a desert ant species, Cataglyphis fortis, a social insect, which mainly uses a polarized-skylight based sun compass for path integration to be able to orient and home in featureless environments9–11. In addition, olfactory cues are used for orientation close to the nest entrance12.
In areas inhabited by Cataglyphis fortis (salt flats in North African deserts)–the lack of prominent visual landmarks means that ants mostly rely on celestial cues. High temperatures and an unpredictable distribution of food force the ants to make long-winded search runs to then return in a straight path back to the nest13. The high level of complexity in orientation and extreme environmental conditions requires novel tools to monitor the ant’s behavior in an easy to use fashion that allows production of accurate data: for example, the direction of foraging and homing runs with relation to solar time, solar azimuth or time of the day. This information can be combined to register individually color-code marked ants (using a three dot color code) at different times and locations during the experiment.
A large amount of computational research has been performed with regard to behavior studies, for instance in artificial intelligence14 and different approaches have been proposed e.g. 15–27. However, the specific field experimental paradigm related to polarized skylight compass orientation leads to different, specific kinds of information where an optimal, easy-to-handle tool and database has not yet been established. Without any swift and effectual technological solution, the experimentation process may become very complex and time consuming, as the observer has to do many tasks at one time e.g. managing information about the running experiment, food at feeders, color marking of the ants, separating registered and unregistered ants, and observing the continuous change in the current time of the location, solar time, solar zenith and azimuth angle.
To cope with this, we propose a new product line architecture (PLA) based scientific solution, the Ant-App-DB; a user friendly, smart phone and tablet application, helpful in efficient management of experimental data including location, date, time, geographical measurements, feeders, registered and unregistered ants28. We also present another new multi document interface (MDI) desktop application Dataplus; that enables quick data transfer from the smart phones exported database file and conversion into the Microsoft excel format for data storage and further data analysis.
The major reason for developing the smart phone application is to have a low weight, user friendly way of managing experimental processes along with data sharing. Moreover, it is also worthy to take advantage of the advanced mobile computing and service provision of this era, which offers small sized devices (easy to carry, usable worldwide and affordable), embedded with extra durable (rechargeable and replaceable) batteries, internal and external memory cards and most of all temperature resistance with the ability to withstand extreme conditions such as those found in deserts where laptops or other computational devices can experience problems.
The following sections of the manuscript explain the methodology, architected software and database designs, and implementation with modular description of the application.
Ant-App-DB is a well-developed application, following the principles of three layered Butterfly29,30 software development model towards scientific software engineering (SSE), integrating formal Unified Modelling Language (UML)31,32 perspectives and incorporating Human Computer Interaction (HCI) design patterns.
The overall software engineering process of the Ant-App-DB is well planned, as initially the possible number of requirements were gathered and discussed, abstract application designs were architected, and mockup designs of graphical user interface (GUI) were constructed following a brain storming session by the authors and other colleagues. Implementable designs (use case, database, dataflow, work flow, system sequence, class and components) were then drawn based on the finalized functional requirements, the most suitable technologies (both software and hardware) were chosen, comprehensive prototype development was performed and the end product was successfully deployed and tested in-house.
The conceptual architecture of Ant-App-DB (Figure 1) is divided into five different modules: Mobile System, Database, NOAA, Personal Computer and Export Excel Format. ‘Mobile system’ is the smart phone application to be used in the experiments on the field, ‘Database’ is the embedded data management system in the smart phone, ‘NOAA’ is an integrated module in smart phones to estimate solar timing and angles using different astronomical algorithms recommended by the National Oceanic and Atmospheric Administration.
This figure shows the conceptual architecture of the Ant-App-DB application, which consists of five main components: mobile system, database, solar estimations using recommended algorithms by the National Oceanic and Atmospheric Administration (NOAA), personal computer and exporting data in Microsoft Excel format.
The personal computer module uses the desktop application (Dataplus) to extract data from the smart phone database and then converts into the Microsoft Excel format.
The designed and implemented methodology is explained in the following UML notation and semantics for use case, activity, dataflow, system sequence, class, component and database (entity relationship) diagrams (Please see details in the Supplementary material).
The activity work flow (Figure 2) starts with the main GUI of the application (describing the available options provided to the observers), which is further categorized as three different processes: administration, experimentation, and solar estimation. Administration offers a secured access to the authorized users/observers for deleting or creating backups of the existing records in the internal or external storage locations, which then can be exported, reused and shared. Experimentation allows users to manipulate and manage information related to experiments, feeders (optional), registration of ants and ants to be used during experiments. Moreover, it also offers an additional interface (Quick Ant) to fasten the experimentation process and presents stored results in tabular form. The solar estimation process allows users to approximate the solar time and azimuth angle using any given (valid) date, time, UTC time zone, longitude and latitude. Finally, the data (SQLite database) can be exported from the smart phone application to a personal computer and then using Dataplus can convert data into the Microsoft Excel sheet format.
This figure shows the application’s activity workflow, which starts with the Main interface with four categorized options: Close, Administration, Solar Estimation and Experimentation. Choosing Close (default return option in almost all Android based smart phones), user can exit from the application. Using Administration an authorized user can delete or backup the data and via Solar Estimation user can calculate different solar timings and angles. Experimentation option allows users to enter and manage the information related to the Experiments, Feeders and Ants. Data from all applications are stored in the internal storage with sequential access, which then can be exported to the personal computer and, using Dataplus, can be converted in Microsoft Excel format.
As shown in the component diagram (Figure 3), Ant-App-DB is an Android operating system based application (tested using a Sony Xperia Z1 smart phone and the Android SDK based emulator). Eclipse Integrated Development Environment (IDE) was used for the entire smart phone application development using Java programming language, XML, Android SDK and SQLite database for embedded database scripting. The Dataplus module was developed in C-Sharp programming language in Microsoft Dot NET Framework.
This figure shows wiring of the components of the Ant-App-DB. It consists of four major components: IDE (with five sub-components: Android SDK, Java, XML, SQLite DB, Eclipse), Personal Computer (PC), Smart Phone, Tablet PC and Microsoft Dot Net Framework (including C# programming language).
Following the designed sequence of the application, the implemented source code is divided into two sections: GUI and the logic of the program. The designed GUI (8 horizontal and 8 vertical pages) are implemented in XML and the main logic of the application is implemented in Java programming language.
Data management. To manage the application’s data, we designed a normalized entity relationship model and implemented this in SQLite database management (please see Supplementary material for details).
The Ant-App-DB is divided into six major interlinked GUIs: Main, Experiments, Ant Feeder, Registration, Ant, and Quick Ant. The main GUI of the application can be accessed via a white image (an ant on a white background) marked by a red line (Figure 4a). It has six important options leading to six different GUIs. The green computer button navigates to the Experiment interface, the yellow bell button directs users to the Feeder interface, the orange pyramid button routes to the Ant interface, the red twisted button provides a connection to the Quick Ant interface, the blue earth button proceeds to the Approximate Solar Calculations and the button with the image of a man in a suit is linked to the Admin interface.
Figure 4(a) is the Android based smart phone’s graphical user interface (Sony Xperia Z1). It also presents the main graphical user interface of the application with 6 important buttons leading to 6 different interfaces. The green computer button navigates to the Experiment interface, the yellow bell button directs to the Feeder interface, the orange pyramid button routes to the Ant interface, the red twisted button leads to the Quick Ant interface, the blue earth button proceeds to the Approximate Solar Calculations, and the button with a man in a suit image goes to the Admin interface. Figure 4(b) is the Experiment and Feeder interface, where experimental and feeder-related information is entered, managed, deleted and viewed. Figure 4(c) shows an example for a successful input of experimental and feeder data in the database. Figure 4(d) presents the Registration, Ant, and Quick Ant graphical interfaces, where unregistered Ants can be registered, and, for example, their feeder-visit related information can be managed into the system. Moreover, it also successfully transfers Ant data in the database.
The Experiment interface (Figure 4b) is the first and the most important module of the application, where experiment-related information needs to be entered and managed. This module asks the user to provide information about the name of the experiment, the date and time of the experimentation, and any additional notes. Furthermore, it asks the user to provide geographical information about the location of the experimentation, which includes the latitude, longitude and UTC time zone. It allows the user to give positioning information in degrees and/or minutes. The user can update existing information by editing or deleting information with reference to the automatically generated ID, and can view the stored information in tabular form.
The Ant Feeder interface (Figure 4b) manages information about the used feeders during experimentation which is important, though optional. In the GUI ‘Experiment’, the user can update existing information in Feeder by editing, deleting information with reference to the automatically generated ID, and viewing the stored information in tabular form. The stored data using Experiment and Feeder GUIs is presented in Figure 4(c).
The Registration interface (Figure 4d) is another very important module of the application. It can only be accessed from the Ant interface and is used to register the ants before experimentation. It asks the user to give information (names, numbers) about used (color marked) ants and to select the experiment (from the list of the experiments). Furthermore, the user can update existing information by editing, deleting with reference to the automatically generated ID, and viewing the stored information in tabular form.
The Ant interface is divided into two modules: Ant and Quick Ant (Figure 4d). The major difference is the availability of the options, as the Ant interface allows the user to select registered ants at different feeders. It also provides options to perform data manipulation. However Quick Ant allows the user to only select the name of the Ant from the registered ants list. Both interfaces have in common the provision of an additional notes field and the automatic extraction of the information (from the database) about associated experiments. The Note option helps the user to save any additional experimental information helpful for geographical details (latitude, longitude and time zone), or to calculate, save and manage the solar time and azimuth angle. The main reason for dividing the Ant interface into two different modules is to help speed up the experimental process. Examples for stored Ant and Quick Ant results are shown in Figure 4(d).
Solar estimations. The solar estimation is a very important section of this application, as it increases the practical value of experiments in extreme conditions, especially since there is no internet available in deserts, and the use of printed tables is time consuming. Therefore, it is nearly impossible to compute solar time and azimuth angles manually (by use of tables) in the field, for example to precisely register each visit of a color-marked ant to a feeder. These calculations normally have to be done afterwards in time consuming sessions.
The solar estimation module works independently as well as in combination with the experimental data management system. Using different astronomical algorithms33–35, it estimates approximate Gregorian Day Number, Decimal Day, Decimal Day of the Year, Fractional Year, Equation of the Time, Declination, Solar Time Offset, Solar Time Solar Zenith Angle, Solar Hour Angle, Solar Azimuth Angle and Solar Noon. For any registered ant, for example its visits to a feeder or other observed locations, it will automatically extract the information about latitude and longitude from the associated experiment. Current date and time is entered automatically and saved with the information about solar timing and angles.
The user provides information about latitude and longitude, and adds manual or automatic date and time information. The current Gregorian calendar day number is calculated:
Next, fractions of a full day are considered:
Both are combined for the decimal day of the year:
The Fractional Year uses PI (3.14) and hour (current time in hours):
Now, the equation of time and declination are calculated:
Solar time offset and solar time are estimated:
Using solar zenith angle and solar hour angle (ha), the azimuth angle is estimated:
Finally, the solar noon is calculated:
The workflow of the solar estimation module starts with the user entered information about the latitude and longitude with manual or automatic (from the system) date and time information. First, the day of the year is estimated, then decimal day of the year, then Fractional Year, then Equation of Time, then Solar Noon Time, then Declination, then Solar Time Offset, then Solar Time, then Solar Hour Angle, then Solar Zenith and Solar Azimuth Angle. At the end all results are presented in textual format (Figure 5).
This Figure presents a sequential process for the solar calculations, where output from almost each process directly or indirectly is used as the input for the calculations of the following process.
The obtained results match well with the results produced by solar calculators provided by or linked with the National Oceanic & Atmospheric Administration (NOAA) (99.99% accurate Solar Time and 99.8% accurate Azimuth Angle, please see attached supplement material for more details).
The online NOAA solar calculation, however, is not always accessible (as, for example, it is the case in desert ant observations without internet access), and it is time-consuming to implement (not all necessary steps are readily apparent from the NOAA web site), or needs to be consulted after the experimental procedure. Our main aim was to have an easy-to-use, stand-alone application to register individual ants together with positional and behavioral data, and to be able to immediately import all calculations and observations in a custom-made database.
Data administration. The administration module of the application provides two major options: clearing or deleting records, and creating data backups. Only authorized users can delete the records of the Ant, Registration, Feeder and Experiment interfaces (individually or all at once) by entering a security key into the system. The generated backup of the data is stored in the external (e.g. SD card) or internal storage location of the smart phone or tablet, which can be later copied, exported and reused. The exported file’s name is based on the following structure: Ant-App-DB, current date and time in the mobile system. This helps in preventing duplication and/or replacement of data that has already been backed up (please see Supplementary material for more details). The exported data file can be shared using common Android smart phone features including internet services, USB connection, Bluetooth etc.
Dataplus. Dataplus is another important module of the application which helps observers in transferring the data from the smart phone application generated SQLite database file into Microsoft Excel format for future use, analyses, sharing and backup using a personal computer. Moreover, it is possible to combine multiple exported data files from different series of experiments.
Dataplus (Figure 6) is a desktop MDI application, designed and developed following the concepts of the Butterfly Model29 in C-sharp programming language. The application is very simple to use and install, but can only be configured using a Microsoft Windows platform.
Figure 3 shows that the data is exported from Ant-App-DB in SQLite database file, which is loaded into the Dataplus module by clicking the small Ant icon button. It then can be converted into Microsoft Excel format by pressing the Excel icon button. The button with the Snowflake icon is used to remove the data.
Ant-App-DB is very simple to use and install, but can only be configured on Android based smart phones and tablets, while Dataplus is a desktop application that can only be configured on a Microsoft Windows platform (preferred OS version: 7). Therefore, the installation of Ant-App-DB is a two-step process. The application can be configured and installed on smart phones and personal computers following the instructions in the Supplementary material.
An example operational workflow of Ant-App-DB and Dataplus is presented and briefly explained in Figure 7. As shown in Figure 7a, the observer is required to first run the application and access the different modules of the application using the main GUI.
This figure presents the real time work flow of the different modules of the application. It shows the main menu (Figure 7a), experiment (Figure 7b), feeder (Figure 7c) and registration of ants interfaces (Figure 7d), approximate solar calculations (Figure 7e), Quick Ant (Figure 7f), Ant (Figure 7g, Figure 7h), Admin (Figure 7i), Dataplus interfaces (Figure 7j), and the Microsoft Excel file format “.xlsx” (Figure 7k).
The most important steps are to provide details about the experiment (Figure 7b), registered color-marked ants (Figure 7c) and feeders (Figure 7d). Before starting the experiment, the observer can also estimate the solar position and time using the Approximate Solar Calculation module (Figure 7f).
Later, during the experimental process, the observer is only required to run the module Quick Ant (Figure 7f), select each color-marked and registered ant at its visit, and press the button ‘Plus’ sign. The module Ant (Figure 7g) also offers a similar option to Quick Ant but it is recommended to use Quick Ant to avoid any unnecessary clicks etc. The results are stored in the created database, which the observer can view (e.g. Figure 7h).
The results data can be deleted or backed up using the module Admin (S-Figure 7i), which can be copied to the personal computer and converted in to the Microsoft Excel format (Figure 7k) using Dataplus (Figure 7j).
We have tested and validated the Ant-App-DB application by successfully executing and performing available tasks, e.g. entering and storing data using the Experiment, Feeder and Registration Interface modules. We have also tested and validated the deletion and back up of data using the Admin module, as well as different solar estimations using different input values (date, time, latitude, longitude and time zone). Moreover, we have compared and confirmed the estimated solar results with NOAA.
The App has the capability to use multiple smart phones and to synchronize data between users using common smart phone features together with our Dataplus desktop application. A real time backup is another important feature. It is possible to extract, share and combine the experimental data generated during one or multiple experiments by one of multiple users using different smart phones. The data can then be exported into Microsoft Excel format for further editing and analysis.
In the future, this application can also be enhanced by adding more computation and data management features to assist the observers during the experiments, e.g. by linking it to service (if available in the required precision) of GPS to get highly accurate geographical positions, sharing data using internet services (if available), and searching data using natural language based queries. Based on the user’s feedback we can also improve the GUI and other features.
Several features of Ant-App-DB are favorable compared with other available solutions (e.g. Etholog36, JWatcher37, Nolduss EthoVison38, Cybertracker & Animal Behavior39) for effective and efficient insect monitoring such as shown by 2–8. The most significant advantages are that it does not necessarily require any GPS and/or GIS systems, that it can be used on any Android based device without internet service, that it allows Subscriber Identity Module (SIM) card and external SD card to be used to manage the experimental data, and that it enables estimations of solar position and time. Additionally, unlike other applications, it provides a desktop application which helps extracting the data from the smart phone’s database and to convert it to Microsoft Excel formats for further analyses and data sharing. Moreover, Ant-App-DB is highly user friendly compared to other applications, as it offers ‘One Click’ operation during the experimental procedures in the field. Only few steps are needed to adapt the software for use in behavioral experiments with other arthropods or other animal species. To perform more extensive changes to the configuration, a software engineer is needed. For instance, to monitor flight time and tracks, or locomotory paths, the application needs the integration of a suitable 2D or 3D tracking module. This, potentially, could be integrated into the modular system (see Supplementary material). Overall, the system is configured in a way that other observational modules or modes can be integrated once they are properly programmed and tested.
Ant-App-DB couples a database and database conversion tool with direct access and data input using a smart phone application. We have used the application in the field and have found it to be a user friendly database tool developed for behavioral research on Cataglyphis fortis, in particular managing experimental data and calculating observation data such as solar timing and position monitoring. However, all features, software code and database as well as Dataplus application are sufficiently generic to be easily adapted to other field monitoring studies on other arthropods (e.g. on honey bees, fruit fly etc.) or, for example, other migratory animal species. The Ant-App-DB is available to interested non-commercial users free of charge.
The software executables are freely available at the following web link: http://www.neurogenetics.biozentrum.uni-wuerzburg.de/en/project/services/ant_app_db/
The software download section provides three files in total: Ant-App-DB’s APK file to be installed in the Android based smart phones, Dataplus’s executable setup to be installed on the Microsoft Windows platform and an example dataset (SQLite database file, generated by the Ant-App-DB application).
App-Ant-Database (DOI: 10.5281/zenodo.13223)40; Dataset Ant-App-DB (DOI: 10.5281/zenodo.13225)41; Dataplus Application (DOI: 10.5281/zenodo.13226)42.
ZA: developed the complete solution (including database designing, software designing, programming, testing, deployment and technical documentation). SZ assisted ZA. PF tested in-house and successfully evaluated the application in fields. WR lead and TD guided the study. All authors participated in writing of the manuscript and approved the final manuscript for publication.
Deutsche Forschungsgemeinschaft (DFG), collaborative research center SFB1047 “Insect timing”, for funding this research (to Zeeshan Ahmed, Pauline Fleischmann, Wolfgang Rössler) and TR34/Z1 and GR 1243/8-1 for support (to Saman Zeeshan and Thomas Dandekar).
The funders had no role in study design, data collection and analysis, decision to publish, or preparation of the manuscript.
We would like to give special thanks to Dr. Ulrike Rapp-Galmiche for stylistic and native speaker corrections.
We would like to thank all our interested colleagues for critical community input on the approach. We thank the reviewers for helpful comments on the manuscript, the University of Wuerzburg, and the State of Bavaria, Germany for support.
Ant-App-DB: Work Flow, UML Designs, Configuration and Calculation Steps. Click here to access the file. http://dx.doi.org/10.5256/f1000research.5931.s45712
Views | Downloads | |
---|---|---|
F1000Research | - | - |
PubMed Central
Data from PMC are received and updated monthly.
|
- | - |
Competing Interests: No competing interests were disclosed.
Competing Interests: No competing interests were disclosed.
Competing Interests: No competing interests were disclosed.
Competing Interests: No competing interests were disclosed.
Alongside their report, reviewers assign a status to the article:
Invited Reviewers | |||
---|---|---|---|
1 | 2 | 3 | |
Version 3 (revision) 12 May 15 |
read | ||
Version 2 (revision) 10 Apr 15 |
read | read | read |
Version 1 19 Dec 14 |
Provide sufficient details of any financial or non-financial competing interests to enable users to assess whether your comments might lead a reasonable person to question your impartiality. Consider the following examples, but note that this is not an exhaustive list:
Sign up for content alerts and receive a weekly or monthly email with all newly published articles
Already registered? Sign in
The email address should be the one you originally registered with F1000.
You registered with F1000 via Google, so we cannot reset your password.
To sign in, please click here.
If you still need help with your Google account password, please click here.
You registered with F1000 via Facebook, so we cannot reset your password.
To sign in, please click here.
If you still need help with your Facebook account password, please click here.
If your email address is registered with us, we will email you instructions to reset your password.
If you think you should have received this email but it has not arrived, please check your spam filters and/or contact for further assistance.
Comments on this article Comments (0)