Documente Academic
Documente Profesional
Documente Cultură
Submitted By
Urooj Anwar
Aijaz Ali
BACHELOROF SCIENCEINCOMPUTERRSCIENCE
June, 2019
Signature of Author 1
Urooj Anwar
Department of Computer Science
Signature of Author 2
Aijaz Ali
Department of Computer Science
Certified by:
Accepted by:
In the name of Allah, the Compassionate, the Merciful. Praise be to Allah, Lord of
Creation, The Compassionate, the Merciful, King of Judgment-day!
iii
DEDICATION
iv
Table of Contents
EXORDIUM ................................................................................................................. iii
DEDICATION .............................................................................................................. iv
Table of Contents ........................................................................................................... v
LIST OF FIGURES .................................................................................................... viii
LIST OF TABLES ........................................................................................................ ix
ACRONYMS AND ABBRIVIATIONS ....................................................................... x
ABSTRACT .................................................................................................................. xi
CHAPTER 1 .................................................................................................................. 1
1 INTRODUCTION ................................................................................................... 1
1.1 Overview ......................................................................................................... 1
1.2 Background ..................................................................................................... 1
1.3 Introduction ..................................................................................................... 1
1.4 Problem Statement .......................................................................................... 3
1.5 Project Objectives ........................................................................................... 3
1.6 Scope of FYP Report....................................................................................... 4
1.7 Chapter Summary............................................................................................ 4
CHAPTER 2 .................................................................................................................. 5
2 METHODOLOGY .................................................................................................. 5
2.1 Overview ......................................................................................................... 5
2.2 Background ..................................................................................................... 5
2.3 Development Methodology of AFS ................................................................ 5
2.4 Agile Model..................................................................................................... 6
2.4.1 Design ...................................................................................................... 7
2.4.2 Coding/Implementation ........................................................................... 7
2.5 Chapter Summary............................................................................................ 8
CHAPTER 3 ................................................................................................................ 10
3 SOFTWARE REQUIREMENT SPECIFICATIONS (SRS) ................................ 10
3.1 Introduction ................................................................................................... 10
3.1.1 Purpose................................................................................................... 10
3.1.2 Intended Audience ................................................................................. 10
3.1.3 Project Scope ......................................................................................... 10
3.2 Overall System Description .......................................................................... 11
3.2.1 Product/System Perspective ................................................................... 11
3.2.2 Product/System Features ........................................................................ 12
v
3.2.3 User Classes and Characteristics ........................................................... 13
3.2.4 Operating Environment .......................................................................... 13
3.2.5 Design and Implementation Constraints ................................................ 13
3.2.6 Assumptions and Dependencies ............................................................ 14
3.3 External Interface Requirements ................................................................... 14
3.3.1 User Interfaces ....................................................................................... 14
3.3.2 Hardware Interfaces ............................................................................... 14
3.3.3 Software Interfaces ................................................................................ 14
3.3.4 Communications Interfaces ................................................................... 15
CHAPTER 4 ................................................................................................................ 16
4 SYSTEM DESIGN SPECIFICATION (SDS) ...................................................... 16
4.1 Introduction ................................................................................................... 16
4.1.1 Purpose of This Document..................................................................... 16
4.1.2 Scope of The Development Project ....................................................... 16
4.2 Design Considerations................................................................................... 17
4.2.1 Assumptions........................................................................................... 17
4.2.2 Constraints ............................................................................................. 17
4.3 Architecture ................................................................................................... 18
4.4 Detailed Software Design.............................................................................. 18
4.4.1 Domain Model ....................................................................................... 18
4.4.2 Use Case Diagrams ................................................................................ 19
4.4.3 Signup Sequence Diagrams ................................................................... 20
4.4.4 Login Sequence Diagram ....................................................................... 20
4.4.5 Invest on Land Sequence diagram ......................................................... 21
5 CHAPTER 5.......................................................................................................... 22
Chapter 5 ...................................................................... Error! Bookmark not defined.
RESULTS .................................................................................................................... 22
5.1 INTRODUCTION ......................................................................................... 22
5.2 RESULTS OF AFS ....................................................................................... 22
...................................................................................................................................... 22
...................................................................................................................................... 23
...................................................................................................................................... 23
...................................................................................................................................... 24
...................................................................................................................................... 24
...................................................................................................................................... 25
vi
...................................................................................................................................... 25
5.3 User Feedback on AFS .................................................................................. 25
5.4 QUESTIONAIRE RESPONSE RESULT: ................................................... 26
CHAPTER 6 ................................................................................................................ 30
6 CONCLUSION AND FUTURE WORK.............................................................. 30
6.1 CONCLUSION ............................................................................................. 30
6.2 FUTURE WORK .......................................................................................... 30
7 REFERENCES ...................................................................................................... 31
8 APPENDIX ........................................................................................................... 32
8.1 1. Login ......................................................................................................... 32
8.2 2. Signup........................................................................................................ 32
...................................................................................................................................... 32
8.3 3. Post Land ................................................................................................... 33
8.4 4. Admin (All Users Record) ........................................................................ 34
...................................................................................................................................... 34
8.5 5. Admin (All Lands Record) ........................................................................ 34
...................................................................................................................................... 34
...................................................................................................................................... 35
8.6 6. Admin (View All Request Log) ................................................................ 35
vii
LIST OF FIGURES
Figure 1: AFS detailed implementation methodology ................................................... 6
Figure 2Agile Development Model ............................................................................... 7
Figure 3: Context Diagram of AFS .............................................................................. 11
Figure 4 Flow diagram of AFS .................................................................................... 12
Figure 5: Architecture of AFS ..................................................................................... 18
Figure 6 Domain Model of AFS .................................................................................. 18
Figure 7: Use case diagram of AFS ............................................................................. 19
Figure 8: Sign up sequence diagram of AFS ............................................................... 20
Figure 9: Login Sequence diagram of AFS ................................................................. 20
Figure 10: Invest of land sequence diagram of AFS.................................................... 21
Figure 11: Home page of AFS ..................................................................................... 22
Figure 12: Borrower(Farmer) page of AFS ................................................................. 23
Figure 13: Investor page of AFS .................................................................................. 23
Figure 14: View all users by Admin of AFS ............................................................... 24
Figure 15: View request log by Admin of AFS ........................................................... 24
Figure 16: Login and Sign up of AFS .......................................................................... 25
viii
LIST OF TABLES
Table 1 Users of AFS system....................................................................................... 13
Table 5. 1 Results of Actions ...................................................................................... 29
ix
ACRONYMS AND ABBRIVIATIONS
OS – Operating System
x
ABSTRACT
In this regard, we are developing a web based application, where farmers can directly
meet investors. Farmers may request for the investments by uploading the relevant
documents which are than being verified by a third party, in our case a verified AFS
Personal, having Physical presence for verification and interacting with investors and
lenders. Once the documents are verified the lenders are provided with an AFS card,
which contains the agreed investment balance along with unique identification of the
lender. This card is used to record the transactions to provide the required material
necessary for agricultural development such as fertilizers, pesticides etc. each
transaction is deducted from the card holder’s account. This way all transactions are
maintained not exceeding the agreed amount. The application will also maintain the
investors profile which may give insights on the previous investments made by
him/her.
xi
CHAPTER 1
1 INTRODUCTION
1.1 Overview
In agriculture, farmers are financially weak and poor, they know farming but due
to lack of investment and limitation of financial resources they die in debt. owing
to this problem We are working on a project which aims to overcome this
financial burden. in this regard we have developed a prototype of a web based
application titled as AFS (Agro Finance System). it will facilitate farmers in
connecting them to potential investors, which in turn reduce the burden of high
debts by sharing profits of Crop as a return on investment. This chapter serves as
an overall Introduction of AFS highlighting the problem statement followed by
technological solution and implementation aspects of AFS.
1.2 Background
1.3 Introduction
1
In an agricultural economy like Pakistan, the farmers are backbone of the
agricultural development which ultimately boost up the economy. The limited
financial resources are constraints for farmers to adopt the new technology to
grow the sectors. There is also limited capital investment from private sector
owing to no prior connections leading lesser degree of trust. The lack of trust
makes this important sector underfinanced. Meager Government subsidies and
agro-loans are bearing no fruits as the banking sector is unable to transfer these
subsidies and agro-loans to wider farmer community. Apart from the Government
agricultural financing, the private investment banking sector, especially the
Islamic banking sector has not been able to utilize the huge pile of the wealth
lying idle in their current accounts because they do not have products and projects
to invest this capital. The agriculture sector can be most promising for lending the
agricultural finance if we are able to remove the investors’ apprehensions and
cultivate trust in them. This trust gap can be bridged using the AFS platform
which offers trust by verifying relevant documents through AFS portals having
physical presence across various locations in Pakistan. The crop financing and
micro credits to farmers can be made fraud proof and a variety of agro-products
can be made available to potential farmers by the both public and private
investors. The AFS platform will offer medium of funds transfer from lenders
(e.g., bankers) to borrowers (e.g., farmers) with minimal fees, high capital
allocation efficiency, and operational efficiency. To make this happen, we have
developed a prototype of web based platform that provides the catalog of the
farmers (includes list of the credit worthy farmers indicating their landholdings,
capital in hand, skill set, transport etc.) that keep updating in real time based on
the farmer’s financial transactions. The AFS enables more reliable financial
transactions using AFS loan cards. The physical setup of AFS covers the
processes pertaining to identity, financials, product / services sourcing &delivery
logistics and role based visibility, tracking and audits to be used as and when they
kick-in or are invoked. This makes it much easier for farmers, investors, and
consumers to identify and scale business that demonstrably work. This will help
lift-up farmers’ and contribute to the growth of the overall economy.
2
1.4 Problem Statement
3
1.6 Scope of FYP Report
The scope of this FYP report is to underpin a clear view of our proposed
methodology, implementation and technology of AFS. All the necessary details
are mentioned in Chapter 2, 3 and 4. In Chapter 5interface results are discussed.
4
CHAPTER 2
2 METHODOLOGY
2.1 Overview
This chapter includes the evaluation of all the theories, concepts, approaches,
methods, technologies, life cycle, tools and techniques relevant to AFS.
2.2 Background
The AFS Website is developed using PHP for server scripting whereas the client
side has been implemented using JavaScript, HTML and CSS Languages.
MySQL databases are used to store and retrieve land and user information. it is
also used to store the transactions recorded via EM18 RFID reader module using
AFS loan card. EM18 RFID module has been programmed to send and receive
data to AFS website database using Arduino programming. all these hardware
and software interact with each other to for proper functioning of AFS. the
following diagram represents the detailed implementation methodology of AFS
prototype.
5
Figure 1: AFS detailed implementation methodology
6
Figure 2Agile Development Model
\
2.4.1 Design
2.4.1.1.1 Procedure
2.4.2 Coding/Implementation
7
This phase includes the actual engineering and writing of the application
while attempting to meet all of the requirements established during the
previous phase.
2.4.2.1 Language/Editor
the project consists of different software and hardware interfaces therefore different
languages and editors have been used
PHP: server side (back-end) has been implemented using php language. editor
being used is sublime.
AFS is a web based application with in external hardware interface to read and record
transaction data. the backend of AFS is implemented using PHP language with
MySQL database to store and retrieve the data. MySQL database is used to store the
user information such as personal info, land holdings etc. this data can be easily
8
managed using simple client interface which is implemented using HTML, CSS and
JavaScript. MySQL databases also stores the transaction data which is sent via
external hardware interface called EM18 card reader module. all these hardware and
software interfaces interact with each other in order to fulfill the purpose of its
development.
9
CHAPTER 3
3 SOFTWARE REQUIREMENT SPECIFICATIONS (SRS)
3.1 Introduction
3.1.1 Purpose
10
3.2 Overall System Description
AFS Agro web based is an application that may have interesting applications
in social systems.
This clearly points out the underlying rural distress and farmers facing
difficult times, in term of money, marketing. Agro Financing System
(AFS) provides farmers with a platform of agro marketing to reach the
consumer and investors directly. Farmers can now get number of
investment and utilize money in their crops. [2]
Web site provide solution to this in that it keeps track of all the
transactions by maintaining the log which effectively hide individual
identities with in (future work) strong security mechanism to account
for any fraudulent activities. KYC Agro Financing System
incorporates all such functionalities once transactions are made by the
investors may be using money to collect from any local bank in
Pakistan.
11
12
3.2.3 User Classes and Characteristics
The tools and other necessary things are listed in this section which
our system will use in the operating environment.
System is not dependent on geographical areas.
Comes under the umbrella of PHP and JavaScript language.
It uses MySQL database for data storage
Operating systems: Microsoft Windows, Mac OS.
Platform: PHP
From hardware perspective, it runs on Desktop PC, Laptops and
Mobile.
It uses the EM18 RFID reader module for transaction.
It uses the Arduino PLD Language.
13
3.2.6 Assumptions and Dependencies
Web application shall permit complete navigation and item selection using
the keyboard alone, in addition to using mouse and keyboard combinations.
Our application can be used over any laptop, desktop pc and mobile.
14
implementation of EM18 RFID
reader module
15
CHAPTER 4
4 SYSTEM DESIGN SPECIFICATION (SDS)
4.1 Introduction
Agro Financing System (AFS) is a web based application, our focus and scope is
to interact lenders and investor with each other.
16
Allows the users to view updates by using their requests.
Allow third party to verify the farmers’ details that would be an
admin and also verify by AFS branch shopkeeper in physically.
Allow investor to search for verified farmers in order to do
investment by specifying the requirements.
Allow investor to send an investment offer to the farmer which can
be local currency accepted or rejected by him.
Once the agreement over the amount of money and the time frame
for return is reached, investor will send a request to the lender or
accept it request.
At the end of the time frame, investor can demand for the payback.
Farmer will update his status and payback money to the investor
4.2.1 Assumptions
A1: The users know the English language, as the user interface will be provided
in English.
A2: Training, workshop should be there, in order to make them more aware of
the things.
A3: User must have supported devices like mobile, laptop and computer.
A4: User must have the Internet connection.
4.2.2 Constraints
4.2.2.1 Platform:
Works well on both mobile and desktop PC
17
4.3 Architecture
18
4.4.2 Use Case Diagrams
19
4.4.3 Signup Sequence Diagrams
20
4.4.5 Invest on Land Sequence diagram
21
5 CHAPTER 5
RESULTS
5.1 INTRODUCTION
This chapter involves the details view of Results, methodology, interface and
implementation steps which have been followed for development of AFS. It
Provide insight into its different activities that are as follows:
22
Figure 12: Borrower(Farmer) page of AFS
23
Figure 14: View all users by Admin of AFS
24
Figure 16: Login and Sign up of AFS
25
user responses on each question is summarized and represented in the form of
pie chart in the following section. it gives goods insights on overall usability of
our system based on surveyed individual responses.
26
27
28
29
CHAPTER 6
6 CONCLUSION AND FUTURE WORK
6.1 CONCLUSION
30
7 REFERENCES
[1] Ministry of Finance. (2004-2005)Govt. of Pakistan, Executive Summary of Economic Survey Dawn
NewsJune 5, 2005
[2] Shafique, Muhammad (2017) Agriculture in Pakistan and its Impact on Economy.
At
31
8 APPENDIX
8.1 1. Login
8.2 2. Signup
32
8.3 3. Post Land
33
8.4 4. Admin (All Users Record)
34
8.6 6. Admin (View All Request Log)
35