Download - 42412007 Mobile Service Provide Database
-
8/3/2019 42412007 Mobile Service Provide Database
1/18
LOVELY PROFESSIONAL
UNIVERSITY
Term Paper
Topic-MOBILE MANAGEMENT SYSTEMDATABASE
Submitted To: Submitted By:
MISS- MANEET KAUR BHANWAR
LAL
M2102 A23
B.Tech MEC
-
8/3/2019 42412007 Mobile Service Provide Database
2/18
Acknowledgement
I devote all my achievements to the almighty GOD for granting me strength art skill and
spirit to accomplish this project work .I am extremely thankful to MR. ROHIT BANIWAL
for guiding me about this project from time to time whenever I needed the help. He cleared
my doubts to satisfaction explaining each and every point in simplest possible way .I am also
thankful to my Parents for their encouragement and kind cooperation throughout courses of
this project .I am also thankful to my very good friends for helping me to get best ideas, for
gathering data for accumulation of information and other valuable things .They also assisted
me to how I analyze evaluate and present it in the best possible way under the available
means.
-
8/3/2019 42412007 Mobile Service Provide Database
3/18
CONTENTS
1. INTRODUCTION
SYSTEM REQUIREMENT
HARDWARE
SOFTWARE
2.WHAT IS THE MOBI LE DATABASE.
3.NEED FOR MOBILE DATABASES.
4 MOBILE DATA BASE SYSTEM ARCHITECTURE.
5.SOURCE CODE
6.SOME OF THE MOBILE RELATIONAL DATABASE SYSTEMS:
7.MODEL OF MOBILE COMPUTING.
8.ROUTING AND QUERY PROCESSING
9.APPLICATION
10.REFERENCES
-
8/3/2019 42412007 Mobile Service Provide Database
4/18
INTRODUCTION
Traditionally large-scale commercial databases were developed as centralized database
systems. this trend changed as more and more distributed applications stated to emerge. Thedistributed database applications involved usually a strong central database and powerful
network administration. However the newer technology trends have changed this paradigm
because of the following technological trend The notebook and laptop Computers are being
used increasingly among the Business Community The development and availability of a
relatively low-cost wireless digital communication infrastructure.
This infrastructure is based on wireless local-area networks cellular digital packet networks
and other technologies The rapid advancements of wireless communication technology and
computer miniaturizing technology have enabled users to utilize computing resources
anywhere in the computer network.
you can even connect to your Intranet from an aeroplane. Mobile database are the database that
allows the development and deployment of database applications for handheld devices thus
enabling relational database based applications in the hands of mobile workers.
The database technology allows employees using handheld to link to their corporate networks
download data work offline and then connect to the network again to synchronise with the
corporate database.
with a mobile database embedded in a handheld device a package delivery worker can
collect signatures after each delivery and send the information to a
PROPOSED SYSTEM:-
1.DESCRIPTION:-
My software deals with the retrieval of records of mobile services. It asks for the
basic details of each customers. I have used various decision statements like switch if
and else statements arrays etc. C++ language really proves to be very helpful
building of software as it is very user friendly and is structured language. It allows
the program to work in small modules called functions. Thus my software will help
in reducing the chaos in storing and retrieving mobile related services.
(A)Operating system-window
Vista/XP/98/2000/Millenium
-
8/3/2019 42412007 Mobile Service Provide Database
5/18
(B) Version of c-turbo c++(version 4.5)
(C) Processor minimum requirement Pentium 3
(D)Memory ram-64 MB
(E) System type-16 bit operating system
REQUIREMENTS ANALYSIS
My system model is COMPAQ Vista PC. The processor is Intel core 2 duo. With Intel core 2
duo desktop processor, the PC experiences a revolutionary performances, unbelievable
system response, and energy-efficiency second to none. It gives
Up to 6 MB L2 cache
Up to 1333 MHz front side bus
The ram memory of my computer is 2 GB
All of the data is held on the hard disk drive. Even windows are stored there. When the
computer is running whenever it needs to open a program file or run a process that it has not
in while, it accesses the hard drive and runs the process that it looking for through the
processor. While it is processing. it may need to store and access numbers. These numbers
are stored in the RAM. It completes process by doing this routine over and over until the
computer is turned off. Ram does not hold any amount of data that we can access only the
machine can.
2 gigabytes stores approx. (8.6 X 109)
My PC works as a 32-bit operating system.
Most desktop computers manipulate bits in group of 16 or 32. If you have two computers
whose clock speed is identical, and one processes 32 bits at a time while the other processes
16, the 32 bit computer will be about twice as fast.
-
8/3/2019 42412007 Mobile Service Provide Database
6/18
5. SOURCE CODE:-
#include
#include
#include
#include
#include
#include#include
#include
#include
class group
{
struct customer
{
int cusid;
char name[20];
char address[40];
char mobile[20];
char plan[50];}cs;
struct mobileplan
{
char plan[50];
int rent;
float mtosm;
float mtoom;
float mtol;
float isd;
float sms;
int freesms;
int freemins;}mp;
struct payment
{
int cusid;
float amount;
char date[20];
}pm;
fstream plan, pay, cust;
public:
group();
void bookplan();void addplan();
void delplan();
-
8/3/2019 42412007 Mobile Service Provide Database
7/18
void modiplan();
void showplans();
void billpayment();
void modicustomer();
void delcustomer();
void listbookings();
void paymentdetails();void exit();
int getid();
};
void main()
{
int i,j;
char choice;
group g;
do
{
clrscr();textcolor(MAGENTA);
for(i=10;i
-
8/3/2019 42412007 Mobile Service Provide Database
8/18
gotoxy(30,6);
cout
-
8/3/2019 42412007 Mobile Service Provide Database
9/18
break;
case 'H':
g.modicustomer();
break;
case 'I':
g.billpayment();
break;
case 'J':
g.paymentdetails();
break;
case 'X':
g.exit();
choice=0;
break;
}}while(choice!=0);
}
void group::group()
{
plan.open("PLAN.DAT",ios::binary|ios::in|ios::out);
pay.open("PAYMENT.DAT",ios::binary|ios::in|ios::out);
cust.open("CUST.DAT",ios::binary|ios::in|ios::out);
}
void group::addplan()
{
clrscr();char ch, type;
plan.seekp(0L, ios::end);
do
{
cout
-
8/3/2019 42412007 Mobile Service Provide Database
10/18
cout
-
8/3/2019 42412007 Mobile Service Provide Database
11/18
}
plan.clear();
gotoxy(1,28);
textcolor(YELLOW);
cprintf("Press any key..");
getch();
}void group::paymentdetails()
{
pay.seekg(0L, ios::beg);
cout
-
8/3/2019 42412007 Mobile Service Provide Database
12/18
cout
-
8/3/2019 42412007 Mobile Service Provide Database
13/18
gets(cs.address);
cout
-
8/3/2019 42412007 Mobile Service Provide Database
14/18
clrscr();
int cusid;
long int pos;
coutcusid;
cust.seekg(0L, ios::beg);
while(cust.read((char*)&cs, sizeof(cs))){
ofstream outfile;
outfile.open("TEMP", ios::out);
cust.seekg(0, ios::beg);
while(cust.read((char*)&cs, sizeof(cs)))
{
if(cs.cusid != cusid)
outfile.write((char*) &cs, sizeof(cs));
}
outfile.close();
cust.close();
remove("CUST.DAT");rename("TEMP", "CUST.DAT");
cust.open("CUST.DAT", ios::binary|ios::in|ios::out|ios::nocreate);
return;
}
cout
-
8/3/2019 42412007 Mobile Service Provide Database
15/18
//Bill Payment
void group::billpayment()
{
clrscr();
int cusid;
int count=0;
long int pos;coutpm.cusid;
pay.seekp(0L, ios::end);
cust.seekg(0L, ios::beg);
int flag = 0;
while(cust.read((char*)&cs, sizeof(cs)))
{
if(cs.cusid == pm.cusid)
{
flag = 1;
coutpm.amount;coutpm.date;
pos = count*sizeof(cs);
cust.seekp(pos, ios::beg);
cust.write((char*)&cs, sizeof(cs));
}
count++;
}
if(flag == 1)
{
pay.write((char*)&pm, sizeof(pm));
}
elsecout
-
8/3/2019 42412007 Mobile Service Provide Database
16/18
9.APPLICATION
Mobile Distillery is a specialist in mobile technologies.
We provide innovative software and services allowing corporations application developers
and publishers who want to efficiently address the complex environment of mobile platforms
and markets.
Capitalizing on over and worldwide in-depth handset knowledge Mobile Distillery solutions
are designed to reduce production costs and development time. Our technology allows
system integrators and businesses to deliver powerful andeasy-to-design mobile client applications to the widest range of compatible devices
worldwide.
By considerably simplifying the entire application production cycle -
concept and development through porting, testing certification to deployment and backfilling
Mobile Distillery allows developers to embrace the wide range of mobile content and
services while ensuring they will always make the most of each device.
WHAT IS THEMOBILE DATA BASE:-A mobile database is a database than can be connected to by a mobile computing device over a
mobile network. The client and server have wireless connections.
A cache is maintained to hold frequent data and transactions so that they are not lost due to
connection failure.
A database is a structured way to organize information. This could be a list of contacts, price
information or distance travelled.
The use of laptops mobiles and pad is increasing and likely to increase in the future with moreand more applications residing in the mobile systems.
While those same analyst s cantell us exactly which applications will be the most popular
it is clear that a large percentage will require the use of a database of some sort.
Many applications such as databases would require the ability to download information from
an information repository and operate on this information even when out of range or
disconnected.
http://www.mobile-distillery.com/overview-24.htmhttp://www.mobile-distillery.com/overview-24.htm -
8/3/2019 42412007 Mobile Service Provide Database
17/18
When a mobile unit leaves a mobile cell serviced by a base station transfer.the responsibility
for mobile transaction and data support to the new base stationy Transparent processes Some
of the Mobile Relational Database Systems
-
8/3/2019 42412007 Mobile Service Provide Database
18/18
Future scope of project
My Project is mobile service provider Service. It will surely help in reducing the chaos of
management of the records. It will reduce manual labor and will be more machine oriented,
thus will help in reducing large piles of records related to mobile services. It will be very
helpful for the customer to get and manage the information related to the mobile as well as
regular updates of available schemes.