International Conference of Applied Science on Engineering, Business, Linguistics ISSN : 2598-2532
and Information Technology (ICo-ASCNITech)
Politeknik Negeri Padang and Politeknik Ibrahim Sultan, 13-15 October 2017
321
Developing Dairy Cattle Information System
for Livestock Farms in Indonesia
Anwar S. Ardjo1, Prayitno2, Liliek Triyono3,Eko Sedyono4
1Departement of Mechanical Engineering ,
State Politechnic of Semarang, Jln. Prof Soedarto, Semarang 50275, Indonesia
[email protected] 2Departement of Electrical Engineering ,
State Politechnic of Semarang, Jln. Prof Soedarto, Semarang 50275, Indonesia
[email protected] 3Departement of Electrical Engineering ,
State Politechnic of Semarang, Jln. Prof Soedarto, Semarang 50275, Indonesia
[email protected] 4Magister of Information System, Faculty of Information Technology
Satya Wacana Christian University, Jl. Diponegoro no. 52-60, Salatiga 50711, Indonesia
Abstract --- The dairy cattle farms system in Indonesia is done conventionally with individual ownership. Each group of dairy cattle farmers in
a village forms a simple farm. Livestock centers in Indonesia are under the control of the district government. There are many centers of farms
scattered throughout the territory of Indonesia. Field officers recording the condition of dairy cattle manually by travelling from one farm to
another farm every two weeks may cause to obtain the latest data. Livestock records include: identity, ownership, health, maintenance, selection,
and productivity. The purpose of this research is to build the Information System of Dairy Cattle (D’Cattle) based on android. The benefit of
this research is to make it easier for the district government to record, because farmers can record themselves at any time through smartphones.
D’Cattle are built using object-oriented methods that include: inception, elaboration, construction, and transition phases. D’Cattle has 8
databases, such as: livestock, birth, buying and selling, information, death, visum, health, and expenditure. D’Cattle has been successfully built
and can be downloaded for free through google play store.
Keywords--- dairy cattle information system, livestock record, farm center, android, object oriented method
I. INTRODUCTION
Dairy cattle keeping in Indonesia is still taken care of by
households with the ownership of 2-5 tails. It is also carried
out collectively by placing dairy cows on the rural land. Some
districts in Indonesia's provinces have a number of centers of
livestock farming. Both dairy cattle get Supervision by the
district government. One of the supervisory functions is data
collection of dairy cattle done every day or every time for
there is a change. Recording data is done by officers obtained
from the local agriculture and dairy service officers obtained
by going around to the owners of dairy cattle. Newly latest
recording results can be collected by the district livestock and
agricultural officers for one to two months later. The delay in
recording will result disruption for the decision support sys-
tem to determine policy or making quick decisions during an
outbreak of livestock.
The role of the digital management system for dairy cows
involves implementing a highly-realized, [1], applicable and
integrated [1] routine, preventing disease [1] [2], and drug
management [1], environmental complexity [3], obtaining ac-
curate data [4 ], the cost is cheap [4], and is easily accessible
[4]. Data processing which includes ease of update and search
[4], processing, accessibility, data use [5] and cloud storage
[4] becomes a critical need in dairy cattle management
This study aim is to make a data system of dairy cow
quickly and easily, namely dairy cattle based information sys-
tem for farmer in Indonesia. This information system will be
installed into google play store, so the farmers can download
it for free and easily. This application is called "D'Cattle IS",
in Indonesian called "SI-Lemper", the acronym of Dairy Cat-
tle Information System. The farmers can also apply this sys-
tem for recording directly by using the smartphones. Further-
more, it can be collected on servers owned by the county live-
stock and agricultural offices. The benefits of this built system
can support the data system for the government.
II. METHOD
A. Object-Oriented Methods and Database
In establishing information systems related to dairy cattle
there are several methods with similar procedures. The first
includes: implementation plan, prospect testing & evaluation,
performance testing, conformance testing [6]. Second, in-
cludes: system modeling, system Implementation, dashboard
activity, search-by-name activity, search-by-criteria activity,
hospital activity, activity test activity, system testing, unit
testing, usability testing [4]. Third, includes: gathering re-
International Conference of Applied Science on Engineering, Business, Linguistics ISSN : 2598-2532
and Information Technology (ICo-ASCNITech)
Politeknik Negeri Padang and Politeknik Ibrahim Sultan, 13-15 October 2017
322
quirements, design developing, deployment testing and de-
bugging, securing, enabling access to the server-side data, re-
deploying, retesting and debugging, publishing [7]. Fourth,
includes : data analyzed, investigated and proposed a system,
acquisitions data, database design, GSM implementation [8].
Firebase application will take no server programming,
easy and quicker because The application doesn’t need data
storage and it supports android clients As database firebase
can backend a lot of good users, low development time, SSL
encryption for all information exchanges, using cloud stor-
ages, real-time updated by a lot of clients. [12]. Firebase
Cloud Messaging (FCM) works cross-platform, interactive
application like android, multiple parties to send, compose
and send messages using the server app, can update the data
within nanoseconds. [13]
Firebase provided features like: analytics, authentication,
messaging, real-time database, storage, hosting, crash report-
ing. We can add firebase API to any project intended for An-
droid in simple ways [14]. The benefits of applying Firebase
are cloud-hosted databases, production-grade web content,
authentication provide backend services, simple to-use SDKs,
and instant UI, built for application developers who need to
store and serve user-generated content, a cross -platform mes-
saging Solutions, a cloud service to change your application
by requiring users to download an application update. [15]
B. Selected Methods
The study was conducted from September to November
2016. The method chosen for use in the research was Object
Oriented Development [9] [10], which consisted of Inception,
Elaboration, Construction, and Transition stages. Diagram-
matic modeling depicted unified modeling language (UML)
[9] [11]. While the database using google firebase.
III. RESULT AND DISCUSSION
A. Results of Research
1) Inception Stage
The inception stage is supported by Semarang District Ag-
ricultural and Livestock Service Office which is 20 km from
State Polytechnic Semarang campus. This regency has the
second largest Livestock Farming Center in Indonesia. The
largest Livestock Farming Center in Indonesia is located in
Boyolali district, the distance is both about 120 km. In this
preliminary study, the local agriculture and livestock offices
of the district requested that an android based dairy cattle in-
formation system that can be established for the filling of
standardized tables. The tables consist of livestock cards,
birth cards, livestock sale, information, livestock's death, live-
stock visum, animal health, and livestock movement. Figure
1 and figure 2 depict the condition of community farm.
Fig. 1 Community dairy cattle farm in ungaran village
Fig.2 Reseach team observing condition of Community farm
2) Elaboration Stage
The Elaboration stage produces several modeling diagram
such as use case diagrams, class diagrams, sequence dia-
grams, activity diagrams, and state diagrams. Figure 3 show
use case diagram and fig. 4 depict class diagram for the appli-
cation respectively.
There are 3 actors showed in the use case diagram such as
the Farmers, the field officers and the government officers.
Farmers actor in fig. 3 can fill data: livestock, buy and sell of
livestock, livestock birth, livestock death, livestock health,
livestock visum, and livestock movement. After the farmers
to fill the data then select the menu save. After that, the system
will store the data.
In addition, Actor Field Officers can view existing dairy
cattle stock data, and confirm the contents concerning data
loss and the deletion due to the movement of livestock to other
places.
Actor Government Officers have full authority to per-
form data processing such as sorting, updating, deleting,
printing, and merging on a wider database.
International Conference of Applied Science on Engineering, Business, Linguistics ISSN : 2598-2532
and Information Technology (ICo-ASCNITech)
Politeknik Negeri Padang and Politeknik Ibrahim Sultan, 13-15 October 2017
323
Fig. 3 Use case diagram for dairy cattle information System
Fig. 4 Class diagram for dairy cattle information System
Farmers actor in figure 3 can fill data: livestock, buy and
sel of livestock, livestock birth, livestock death, livestock
health, and livestock visum. After the farmers fills the data,
he must end by pressing the save menu. Furthermore the sys-
tem will store data.
The sequence diagram in figure 5 depicts the sequences of
every actor when using “D’Catle IS”. Farmers and
Government Officers can do data entry to all of eigth forms,
but Field Officers can do data entry do form 1 and form 4
only.
Fig. 5 Sequence diagram for dairy cattle information System
Furthermore, in this stage, we approach the system into
three modules as in figure 6. database server, web-based
application and android mobile application. The database
server provides data processing and real-time synchronisation
method between two application, web and mobile application.
The web-based application enhance the government officers
to find and see the livestock data, unlike the limitation of
mobile resources, the web-based user interface give better
resource features. The Android mobile application needed by
field officers when they are in the community farm area, the
flexibility time and place to save the data into the system
while they on the field could enhance the update of livestock
data.
Fig. 6. System Diagram of Dairy Cattle Information system
3) Construction Stage
The first phase on construction stage is to choose database
server. The main function to choose the database server is the
feature to server real-time synchronization data. The proposed
solution to this problem is Google Firebase database. The da-
tabase design for this application uses NoSql for fast data ac-
cess. The NoSql database schema applies the Java Script Ob-
ject Nation (JSON) notation structure that enables database
operations on web and android platforms (interchangeable).
The database usage option falls on google firebase because it
International Conference of Applied Science on Engineering, Business, Linguistics ISSN : 2598-2532
and Information Technology (ICo-ASCNITech)
Politeknik Negeri Padang and Politeknik Ibrahim Sultan, 13-15 October 2017
324
supports the following schemes: NoSql and JSON, and ena-
bles real time database operations. This means that when per-
forming data operations on web applications then immedi-
ately (real time) data on android applications also changed.
Figure 7 illustrates the "D'Cattle IS" scheme in which each
child-node is used to store the form data 1 to form-8 where in
each child-node form the data stored in the dairy cattle and
the owner.
Implementation of "D'Cattle IS" in the web version outline
consists of the first page and the form-1 pages to the form-8
to fill the data of cattle and breeders. The software used in the
construction phase uses sublime text3 with the JavaScript
framework AngularJs 1 and the twist bootstrap CSS frame-
work Before "D'Cattle IS" can store data, the application must
first connect to the database server that has been determined.
The implementation of the program short code to connect
to the database lies in "... / app.js" as follows: Implementation
of the initial page interface design into web application lies in
'silemper.prayitno.web.id/home' (figure 8). With frame-work
CSS twitter bootstrap makes the initial page view to be re-
sponsive (adjust the device resolution).
// Initialize Firebase
var config = {
apiKey: "xxxxxxxxxxxxxxxxxxxxxxxxxxxxxx",
authDomain: "si-lemper.firebaseapp.com",
databaseURL: "https://si-lemper.firebaseio.com",
storageBucket: "si-lemper.appspot.com",
messagingSenderId: "467962372556"
};
firebase.initializeApp(config);
Fig. 7 Short code of database program
Fig. 8 Website interface of Dairy Cattle Information System
4) Installation Stage
Implementation of interface design into Android applica-
tion program using android studio 2.2.2 software. With the
Android 6.0 SDK we have access to the final Android APIs
and we can target API 23. API 23 have specific features like
auto-backup and app permissions. Moving from page one to
other pages, to enter data, and display data used navigation
drawer.
Fig. 9 Uploaded D’Cattle SI or Si Lemper by google play store
Fig. 10 First page of D’Cattle SI
International Conference of Applied Science on Engineering, Business, Linguistics ISSN : 2598-2532
and Information Technology (ICo-ASCNITech)
Politeknik Negeri Padang and Politeknik Ibrahim Sultan, 13-15 October 2017
325
Furthermore the results of the implementation program-
ming android uploaded on google play store. Figure 9 shows
D'Cattle IS (SI-Lemper) that has been installed on the
smartphone. After the application is clicked it will appear like
a figure 10 that gives the exit menu on the top right and the
start menu on the top left. Figure 11 shows the appearance of
eight forms that can be filled by the breeders in reporting the
condition of the dairy cow. Figure 12 until figur 19 shows an
example of a form 1 until form 8.
Fig. 11 Second page of D’Cattle SI after click the start menu
Fig. 12 Form 1 Livestock Card
Fig. 13 Form 2 Livestock birth card
Fig. 14 Form 3 Sell and Buy livestock card
Fig. 15 Form 4 Livestock loss card
Fig. 16 Form 5 Livestock death card
International Conference of Applied Science on Engineering, Business, Linguistics ISSN : 2598-2532
and Information Technology (ICo-ASCNITech)
Politeknik Negeri Padang and Politeknik Ibrahim Sultan, 13-15 October 2017
326
Fig. 17 Form 6 Livestock visum card
Fig. 18 Form 7 Livestock Health card
Fig. 19 Form 8 Livestock movement
Functional testing is done operated before “D'Cattle IS” is
uploaded to google play store. Table I describes the results of
the functional tests. Training for farmers arranged for one
farmer community shows that “D'Cattel IS” very easy to
download.
B. Discussion
During the inception stage, there is much information re-
lated to livestock management. In the discussion, Government
Officers proposed that recording problems be addressed ear-
lier. The main problem is the difficulty of getting the record-
ing results quickly and routinely. Semarang District Agricul-
tural and Livestock Service Office had published a livestock
condition pad to be filled every day. The next book is changed
to e-filling called "D'Cattle SI".
The preparation of Use Case diagrams is helpful to the
Government Officers in understanding the proposed systems
we build. Our complete UML allows teams to complete the
"D'Cattle SI" application.
The option of using google firebase simplifies the compi-
lation of databases, as it avoids the complexity of inter-table
relationships. Having successfully set up the interface web-
site, we designed the interface for android apps. Several ver-
sions of the created display are discussed and simulated for
easy filling without scrolling the screen.
The final version still generates some changing going on
the horizontal screen shifting. This is taken because sliding
the screen to the right is faster and easier. Upload "D'Cattle
IS" to google play store is done by signing the account to
Google Play Developer at a cost of US $ 25.
TABLE I
FUNCTIONAL EVALUATION OF D’CATTLE
Specification Test Result
Data
server
Provides real time data on
Android and Web plat-
forms
In accordance
with system
specifications
Data base operating capa-
bilities on android and
web platforms. (inter-
changeable).
In accordance
with system
specifications
Web
App
Able to process data
(Save, Change, Search,
Delete) in real time.
In accordance
with system
specifications
Android
App
Able to process data
(Save, Change, Search,
Delete) in real time.
In accordance
with system
specifications
IV. CONCLUSION
In this paper we have presented Dairy Cattle using web and
android based information system. D’Cattle Android applica-
tion has been successfully uploaded to google play store and
play significant role for the staff district. In this work we test
on small group of farmers to show the process of downloading
and fill data can be done easily by them, necessary prior
knowledge to operate mobile phone is essential. The next
stage is to socialize the system to a wider group of farmers. It
is expected that this system can be accepted so that it can be
immediately used by farmers in various provinces in Indone-
sia.
International Conference of Applied Science on Engineering, Business, Linguistics ISSN : 2598-2532
and Information Technology (ICo-ASCNITech)
Politeknik Negeri Padang and Politeknik Ibrahim Sultan, 13-15 October 2017
327
ACKNOWLEDGMENT
We would like to thank The Head of Semarang District Agri-
cultural and Livestock Service Office who had given permis-
sion to adobt the guidance book of livestock recording.
We would like to thank Director of Polytechnic State of Se-
marang who has funded the research through agreement no.
3386 / PL4.7.4.2 / PL / 2016.
REFERENCES
1. L. Li, H. Wang, Y. Yang, J. He, J. Dong, and H. Fan, “A Digital
Management System of Cow Diseases on Dairy Farm”, International
Conference on Computer and Computing Technologies in Agri-culture CCTA 2010: Computer and Computing Technologies in
Agriculture IV pp 35-40
2. A. E. Adams, “Dairy Cow Management Systems: Handling, Health, And Well-Being”, For the Degree of Master of Science Colorado
State University Fort Collins, Colorado Summer 2012
3. C. Husemann, N. Novković, “Farm Management Information Sys-
tems: A Case Study On A German Multifunctional Farm”, Economics of
Agriculture 2/2014 UDC:631.1.017.3:681.518.2(430)
4. M. Cen, C. Chen, and C. Siang, “Design of Information System for
Milking Dairy Cattle and Detection of Mastitis”, Mathematical Prob-lems in Engineering Volume 2014 (2014), Article ID 759019, 9 pages
5. E. Ezra, “ NOA, – A Management Information System for the Na-
tional Dairy and Beef Herds (An Israeli MIS Development case
study)” http://departments.agri.huji.ac.il/economics/gelb-noa.pdf
6. C. Husemann, N. Novković, “Farm Management Information Sys-tems: A Case Study On A German Multifunctional Farm”, Econom-
ics of Agriculture 2/2014, UDC: 631.1.017.3:681.518.2(430)
7. F.U. Onu, , O. E. Ikedilo, B. O. Nwoke, and P. Okafor, “The Importance of Object-Oriented Programming in This Era of Mobile
Application Development”, IOSR Journal of Computer Engineering
(IOSR-JCE) e-ISSN: 2278-0661,p-ISSN: 2278-8727, Volume 17, Is-sue 6, Ver. I (Nov – Dec. 2015), PP 30-40 www.iosrjournals.org
DOI: 10.9790/0661-17613040 www.iosrjournals.org 30 | Page
8. F. Saad, R. Ismail, I. Ismail, “Livestock Database Management: Pre-liminary Studies in Malaysia”, International Journal Of Electrical And Electronic Systems Research, Vol. 9 Dec 2016
9. P. Shoval, Functional And Object Oriented Analysis And Design : An Integrated Methodology, London :WC2E 8LU, 2007
10. C. Britton and J. Doake, A Student Guide do Object-Oriented Devel-
opment, Elsevier Butterworth-Heinemann Linacre House, Jordan Hill, Oxford Ox2 8dp, 2005
11. M. M. Alkoshman, “Unified Modeling Language and Enhanced En-tity Relationship: An Empirical Study”, International Journal of Da-
tabase Theory and Application Vol.8, No.3 (2015), pp.215-227
http://dx.doi.org/10.14257/ijdta.2015.8.3.18. ISSN: 2005-4270
IJDTA Copyright ⓒ 2015 SERSC
12. K.N.M. Kumar, K. Akhi, S. K. GUNTI, M. S. P. Reddy, “Implementing Smart Home Using Firebase”, International Journal of Research in
Engineering and Applied Sciences (IJREAS) Available online at http://euroasiapub.org/journals.php Vol. 6 Issue 10, October - 2016,
pp. 193~198 ISSN(O): 2249-3905, ISSN(P) : 2349-6525 | Impact
Factor: 6.573 | Thomson Reuters ID: L-5236-2015 13. N. Srivastava, U. Shree, N. R. Chauhan, D. K. Tiwari, “Firebase
Cloud Messaging (Android)”, International Journal of Innovative
Research in Science, Engineering and Technology, (An ISO 3297: 2007 Certified Organization) Vol. 6, Special Issue 9, May 2017,
Copyright to IJIRSET www.ijirset.com 11. ISSN(Online): 2319-
8753, ISSN (Print): 2347-6710 14. N. Singh, “Study of Google Firebase API for Android”, International
Journal of Innovative Research in Computer and Communication
Engineering (An ISO 3297: 2007 Certified Organization)Vol. 4, Is-sue 9, September 2016, Copyright to IJIRCCE DOI:
10.15680/IJIRCCE.2016. 0409133 16738, ISSN(Online): 2320-
9801, ISSN (Print): 2320-9798
15. S. Sonwane, S. Takalkar, S. Kalyankar, K. Wanare, S. Baviskar,
“Doctor Patient Data Sharing Using Android Chat Application”, In-ternational Journal of Recent Trends Ni Engineering & Research,
ISSN (Online:2455-1457, Impact Factor: 4.101