27.03.2014 Views

SEKE 2012 Proceedings - Knowledge Systems Institute

SEKE 2012 Proceedings - Knowledge Systems Institute

SEKE 2012 Proceedings - Knowledge Systems Institute

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

Database stores the advertisement content.<br />

implementation<br />

Figure 4. Show s the w ork flow in the client<br />

application.<br />

Client uses message queue to st ore both text SMS<br />

and advertisement messages, and uses pop-up<br />

windows to display the cont ent from the FIFO-based<br />

message queue.<br />

Activty<br />

Main<br />

RestAgent<br />

MyList<br />

Toplist<br />

Conector<br />

Boot<br />

Receiver<br />

Ads<br />

Service<br />

SMS<br />

Incoming<br />

Event<br />

Receiver<br />

AD ON/Off<br />

About<br />

Broadcast<br />

Receiver<br />

SMS<br />

receiver<br />

MAD<br />

UI<br />

Ad.<br />

Service<br />

Figure 5. Front-Tier Overview<br />

MSG QUEUE<br />

Figure 4. client work flow<br />

Connector<br />

UI will present the content of incom ing SMS and<br />

advertisement to end user s. Users can configure the<br />

display timeout and enable/ disable the advertisement<br />

filter through the application menu. This module has<br />

one message queue to st ore incoming SMS and<br />

advertisement content. UI displays the top listed<br />

advertisement in the system and provides the interface<br />

for end users to input and post their advertisements.<br />

Event Receiver will listen the SMS and system<br />

event and trigger the ad service wake up.<br />

Connector handles the incoming/outgoing traffic<br />

to server. It packs and unpacks data and queues<br />

messages.<br />

AD service prepares the request data to serv er,<br />

which filters the k eywords in the incoming SMS and<br />

collects the location information.<br />

a) Main<br />

The main activity will be launched w hen the user<br />

starts the application.<br />

b) Top list<br />

It displays top 10 adv ertisements counted by the<br />

display times in history. Users can display the related<br />

mobile advertisements by clicking the vendor’s name.<br />

The specific adv ertisement will be displayed if the<br />

user clicks it from the list.<br />

c) My list<br />

It displays the adv ertisement published by the<br />

owner. For example, in this screen shown in Figure 6,<br />

the user publishes four m obile advertisements by its<br />

device (14084395867). Users can dis play their own<br />

advertisements by clicking them.<br />

IV. SYSTEM IMPLEMENTATION<br />

We have implemented our proposed solution in three tiers:<br />

front-tier, middle-tier, and data tier.<br />

A. Front-Tier Implementation<br />

The client uses Android as the target platform, and<br />

it inherits A ctivity, Service and Broadcast receivers<br />

from Android SDK. Next we present our front-tier<br />

Figure 6. User Posted Advertisement<br />

771

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!