Short Message Service (sms) security solution for mobile devices



Download 1,13 Mb.
Pdf ko'rish
bet47/51
Sana09.06.2022
Hajmi1,13 Mb.
#647072
1   ...   43   44   45   46   47   48   49   50   51
Bog'liq
06Dec Ng Yu

B. FAILED 
APPROACHES 
Figure 23 illustrates the logic associated with the original intended 
program flow. However, the program flow below cannot be implemented due to 
certain software limitations, which will be discussed in the following Sections. 
Start
Write time taken and 
power consumption 
data to log file
Read Clear 
Text Input
Set Number 
of Iterations
Check battery 
level
Start timer
Start 
encryption
End of loop?
End
No
Yes
Check battery 
level
Stop timer
Figure 23. Flowchart for Performance Measurement (Original 
Approach) 
1. Power 
Measurement 
Resolution 
The battery power level was accessed through the 
SystemState.PowerBatteryStre
ngth
property using the State and Notification API 
(SNAPI). However, the returned value was expressed as power levels in 5 
distinct bands: Very Low (0-20%), Low (21%-40%), Medium (41%-60%), High 
(61%-80%), Very High (81-100%). This resolution was clearly insufficient and 
another approach was required. 


 71
2. 
Failure in SNAPI Notification Service 
Another approach was adopted to make use of the notification feature of 
the SNAPI to detect the changes as the battery levels as it changes from one 
band to another. By noting the number of iterations of encryption that causes 
battery level to change by a 20 per cent range, the consumption figure for each 
iteration of encryption can be approximated. The program was coded according 
to the flow chart in Figure 25.
Start
Write start & stop 
loop counters & 
timing data to log file
Read Clear 
Text Input
Start Battery 
Power Notification 
Service
Start 
encryption
Notification 
triggered ?
End
No
Yes
Set Stop flag
Note loop 
counter & time
Start loop 
counter
Reset Stop 
flag
Stop flag 
set?
No
Yes
Figure 24. Flowchart for Performance Measurement (Second 
Approach) 
However, this approached also failed because the Notification Service in 
the SNAPI failed to trap the power changes while the application was 
executing the loop. As the result, the program executed till the end of the loop 
without any interruptions and all the system notifications appear after the loop 
termination. 

Download 1,13 Mb.

Do'stlaringiz bilan baham:
1   ...   43   44   45   46   47   48   49   50   51




Ma'lumotlar bazasi mualliflik huquqi bilan himoyalangan ©hozir.org 2024
ma'muriyatiga murojaat qiling

kiriting | ro'yxatdan o'tish
    Bosh sahifa
юртда тантана
Боғда битган
Бугун юртда
Эшитганлар жилманглар
Эшитмадим деманглар
битган бодомлар
Yangiariq tumani
qitish marakazi
Raqamli texnologiyalar
ilishida muhokamadan
tasdiqqa tavsiya
tavsiya etilgan
iqtisodiyot kafedrasi
steiermarkischen landesregierung
asarlaringizni yuboring
o'zingizning asarlaringizni
Iltimos faqat
faqat o'zingizning
steierm rkischen
landesregierung fachabteilung
rkischen landesregierung
hamshira loyihasi
loyihasi mavsum
faolyatining oqibatlari
asosiy adabiyotlar
fakulteti ahborot
ahborot havfsizligi
havfsizligi kafedrasi
fanidan bo’yicha
fakulteti iqtisodiyot
boshqaruv fakulteti
chiqarishda boshqaruv
ishlab chiqarishda
iqtisodiyot fakultet
multiservis tarmoqlari
fanidan asosiy
Uzbek fanidan
mavzulari potok
asosidagi multiservis
'aliyyil a'ziym
billahil 'aliyyil
illaa billahil
quvvata illaa
falah' deganida
Kompyuter savodxonligi
bo’yicha mustaqil
'alal falah'
Hayya 'alal
'alas soloh
Hayya 'alas
mavsum boyicha


yuklab olish