35
Mobile Information System

Mobile Information System

Embed Size (px)

DESCRIPTION

Slide show for school project: "Mobile Information System" Authors: Jamal Mustafa, Bassel Mogharbel, Ramez Shabaani, Derar Alkhatib and Majed Kiwan. (c) 2007

Citation preview

Page 1: Mobile Information System

Mobile Information System

Page 2: Mobile Information System

، طبية ، سياحية مواقع عن معلومات عرض خدمة تقديم

دمشق ... مدينة في تعليمية، ، تجارية ، .حكومية

هذه ويب إتاحة موقع خالل من اإلنترنت شبكة على .الخدمة

الخدمة هذه باستخدام إتاحة محمول تطبيق طريق عن

الـ . SMSرسائل

خريطة إمكانية على عنه االستعالم تم الذي الموقع رؤية

دمشق .

قاعدة يمكن إلى محالهم إضافة التجارية المCحال أصحاب

الويب موقع خالل من وذلك التطبيق .معطيات

أهداف المشروع

Page 3: Mobile Information System

البنية العامة للنظام

Mobile App

User App

Server App

DataBase

Page 4: Mobile Information System

تطبيق المحمول :•تطبيق المستخدم–تطبيق المخدم–

البنية العامة للنظام

Page 5: Mobile Information System

تطبيق المحمول :•تطبيق المستخدم–تطبيق المخدم–

موقع الويب :•خدمة للزائرين–خدمة للمسجلين في الموقع–

البنية العامة للنظام

Page 6: Mobile Information System

listeningUser Device

Modem Device

Server Device

آلية عمل تطبيق المحمول

المحمول جهاز إلى المستخدم من طلب وصول انتظار ) الموديم ) بالمخدم المرتبط

Page 7: Mobile Information System

listeningUser Device

Modem Device

Server Device

آلية عمل تطبيق المحمول

المحمول جهاز إلى المستخدم من طلب إرسالبالمخدم ) (SMSالمرتبط

Send order as SMS

Page 8: Mobile Information System

listeningUser Device

Modem Device

Server Device

آلية عمل تطبيق المحمول

المخدم قبل من المعالجة أجل من الرسالة جلب

Send order as SMSGet arrived message

Page 9: Mobile Information System

listeningUser Device

Modem Device

Server Device

آلية عمل تطبيق المحمول

النتيجة على للحصول المخدم قبل من الرسالة معالجة

Send order as SMSGet arrived message

Process message

Page 10: Mobile Information System

listeningUser Device

Modem Device

Server Device

آلية عمل تطبيق المحمول

للمستخدم النتيجة إرسال الموديم من يطلب المخدم

Send order as SMSGet arrived message

Process message

Order to send results as BlueTooth

Page 11: Mobile Information System

listeningUser Device

Modem Device

Server Device

آلية عمل تطبيق المحمول

7(ٍ للمستخدم النتيجة يرسل (SMSالموديم

Send order as SMSGet arrived message

Process message

Order to send results as BlueTooth

Send results as SMS

Page 12: Mobile Information System

Send order as SMS

listening

Process message

Order to send results as BlueTooth

Send results as SMS

User Device

Modem Device

Server Device

Get arrived message

آلية عمل تطبيق المحمول

Page 13: Mobile Information System

Sender

Short Message Service Center

SMSC

GSM Message Delivery System

Home Location Register

HLR

send SMS

Active/Inactive Roaming status

send notification

Receiver

خدمة الرسائل القصيرة

Page 14: Mobile Information System

listeningModem Device Check for new messages

1-Standby phase:Waiting for incoming messages

Server

Messages Listener

Parse Messages and get results

Send messages

معالجة الرسالة في المخدم

Page 15: Mobile Information System

SMS LISTENER

• Simple implementation:- define our class “MySMSListner”- override method “messageReceived()” this method will do the parsing and results acquiring.

- invoke method “addNMIListener(mySMSListener)”

Page 16: Mobile Information System

ProcssingModem Device

2-messages processing phase:Parse order message and get results

from databaseServer

Messages Listener

Parse Messages and get results

Send messages

Pass message

Data Base

Get results

معالجة الرسالة في المخدم

Page 17: Mobile Information System

PARSING EXAMPLE

• Message text: “12| المهاجرين@ ”مستوصف1 Table name : Medical2 category_id : 2 (medical center) مستوصف : name مستوصف|

المهاجرين@ address : المهاجرين

• Query:“SELECT name , address , location_id FROM Medical WHERE (category_id = 2)&&

(name LIKE ‘%مستوصف%’)&& (address LIKE ‘%مهاجرين%’)“

Page 18: Mobile Information System

Sending

Modem Device

3-sending results:Send result to GSMDevice

Server

Messages Listener

Parse Messages and get results

Send messages

Pass results

Send results

معالجة الرسالة في المخدم

Page 19: Mobile Information System

SEND SMS

When our information are ready to be sentThis phase start by :

1- building outMessage2- invoke :sendMessage()

Page 20: Mobile Information System

يقدمها التي بالخدمات شبيهة خدمات يقدم الويب موقع

الموبايل تطبيق

) ( أو زوار عاديين مستخدمين اما هم الموقع مستخدمي

مشتركين تصفح ويمكنه عام بشكل المعلومات على االطالع العادي للزائر يمكن

عد ) مع التعديل (.مالخرائط امكانية

لوحة تخصيص يتم حيث له حساب انشاء تم الذي المستخدم هو المشترك

مشترك لكل تحكم

موقع الويب

Page 21: Mobile Information System

أو جديد موقع اضافة من المشترك التحكم لوحة تمكن

. Z سابقا باضافته هو قام لموقع معلومات تعديل

من بدقة موقعه تحديد من المستخدم تمكن خاصية توجد

ضمن ) موجودة خريطة على النقر ( appletخالل

موقع الويب

Page 22: Mobile Information System

المشروع في الموجودة بالتصنيفات الخاصة المعطيات

السياحية) , , الطبية ....( الحكومية

. وحساباتهم بالمستخدمين الخاصة المعطيات

قاعدة المعطيات

Page 23: Mobile Information System

االول : المخططالجداول عالقات يوضح الذي

( medical , learning government ,market , tourism ,

company ),الجدول معmap_location

companyid

category_id

description

address

phone_number1

phone_number2

fax

email

website

city

location_id

user_id

company_categoryid

category

governmentid

category_id

description

address

phone_number1

phone_number2

fax

email

website

city

location_id

user_id

govrnment_categoryid

category_id

learningid

category_id

description

address

phone_number1

phone_number2

fax

email

learning_categoryid

category

map_locationid

mesh_id

coordinate

x_coordinate

y_coordinatemarketid

category_id

description

address

phone_number1

phone_number2

fax

email

market_categoryid

category

medicalid

category_id

description

address

phone_number1

phone_number2

fax

email

website

city

location_id

user_id

medical_categoryid

category

productid

name

descreption

price

market_id

tourismid

category_id

description

adress

phone_number1

phone_number2

fax

tourism_categoryid

category

Page 24: Mobile Information System

: الثاني المخططالجداول عالقات يوضح الذي

(medical , learning government ,market , tourism ,

company ),الجدول معaspnet_Users

aspnet_MembershipApplicationId

UserId

Password

PasswordFormat

PasswordSalt

MobilePIN

Email

LoweredEmail

PasswordQuestion

PasswordAnswer

IsApproved

IsLockedOut

CreateDate

LastLoginDate

LastPasswordChangedDate

LastLockoutDate

FailedPasswordAttemptCount

FailedPasswordAttemptWindowStart

FailedPasswordAnswerAttemptCount

FailedPasswordAnswerAttemptWindowStart

Comment

aspnet_UsersApplicationId

UserId

UserName

LoweredUserName

MobileAlias

IsAnonymous

LastActivityDate

companyid

category_id

description

address

phone_number1

phone_number2

fax

email

website

city

location_id

user_id

company_categoryid

category

governmentid

category_id

description

address

phone_number1

phone_number2

fax

email

website

city

location_id

user_id

govrnment_categoryid

category_id

learningid

category_id

description

address

phone_number1

phone_number2

fax

email

website

city

location_id

user_id

learning_categoryid

category

marketid

category_id

description

address

phone_number1

phone_number2

fax

email

website

city

location_id

user_id

market_categoryid

category

medicalid

category_id

description

address

phone_number1

phone_number2

fax

email

website

city

location_id

user_id

medical_categoryid

category

productid

name

descreption

price

market_id

tourismid

category_id

description

adress

phone_number1

phone_number2

fax

email

website

city

location_id

user_id

tourism_categoryid

category

Page 25: Mobile Information System

عملية عرض الخرائط والتعامل معها

الـ استخدام وتم Appletتم بالجافا الخاصالـ مع امكانية ASP.netربطه اجل من وذلك

معلومات على والحصول الخرائط مع التعاملالخريطة , على ما موقع احداثيات مثل منها

(X,Y )

Page 26: Mobile Information System

عملية عرض الخرائط والتعامل معها

المستوى االول:

Page 27: Mobile Information System

عملية عرض الخرائط والتعامل معها

المستوى الثاني :

Page 28: Mobile Information System

عملية عرض الخرائط والتعامل معها

المستوى الثاني :

Page 29: Mobile Information System

:GSM Modemاستخدام •

كمودم • يعمل محمول هاتف الطلبات لتخديم استخدمنا لقد

التطبيقات في لكن و ، الطلبات هذه إدارة Z برمجيا وحقننا

نحتاج واحد آن في كثيرة طلبات تخدم التي GSMالحقيقية

Modem. التحديات هذه مثل إلدارة المهيأ

اآلفاق المستقبلية للموقع

Page 30: Mobile Information System

:GSM Modemاستخدام •

نستخدم • لم لماذا أنه هو هنا نفسه يطرح الذي السؤال و

GSM Modem ؟ نظامنا في

اآلفاق المستقبلية للموقع

Page 31: Mobile Information System

:GSM Modemاستخدام •احتياجاته • و عمله لطريقة خاصة معرفة يحتاج أنه هو السبب

لكي .. مطولة لدراسة بحاجة أنه أي توصيله طريقة و الخاصةمن مواضيع دراسة األولى أن ارتأينا و معه التعامل نستطيعللمشروع المخصصة الفترة أن خاصة و ، المشروع صلبأقل بأدوات المطلوب تحقيق نستطيع أننا طالما و ، محدودةأن كما ، Z برمجيا النقص هذا سد و العتادية الناحية من Z تعقيدا

GSM Modem المطلوب نحقق أن نسعى نحن و Z جدا مكلفتبقى – – لكن و التسويقية الناحية من مفيد هذا تكلفة بأقلالتشغيل إطار ضمن النظام تشغيل حال في أفضلية لهواسعة قاعدة وتخدم متزامن و دائم طلبات مناخ في الفعلي

المستخدمين . من

اآلفاق المستقبلية للموقع

Page 32: Mobile Information System

التطبيق :• تعريب

جهة • من أو المحمول الهاتف على سواء التطبيق واجهات

كل قبل من مدعومـــة بوصفها اإلنكليزية باللغة كتبت المخدم

بما و لكن و ، المحمول أجهزة كذلك و المستخدمة المكتبات

خيار إظهار فإن اختصاصيين غـيـر لناس موجه التطبيق أن

الممكنة و المفيدة األمور من هو التطبيق إعداد عند اللغة

طرف من المحمول الجهاز ذاكرة حدود ضمن النحقيق

المستخدم .

اإلنكليزية .• باللغة معروضة الويب موقع واجهات أن كما

اآلفاق المستقبلية للموقع

Page 33: Mobile Information System

:GPRSاسخدام •

الـ • استخدام أكبر GPRSألن بيانات حزمة عرض يتيح

متعددة , SMSمن أنواع نقل من التقنية هذه تمكن كما

الـ بعكس البيانات النصية SMSمن البيانات تنقل التي

فقط .

اآلفاق المستقبلية للموقع

Page 34: Mobile Information System

أمر • أنه ووجدنا المحمول على البرمجة كيفية على تعرفنامعقد وغير بسيط

الرسائل • استقبال و بإرسال القيام كيفية على تعرفنا كما

استخدام و المخدم و المحمول بين الوصل وكيفية القصيرة

كموديم المحمول

باستخدام • الويب تطبيقات بناء كيفية ASP.NET 2.0وتعلمنا

الفوائد

Page 35: Mobile Information System

جميع • مع ومتوافقة المحمول مع للتعامل مكتبات إيجاد صعوبة

األجهزة

الـ • تنفيذ ملف Appletصعوبة ASPفي

التحديات