399
acquired in the easiest manner possible, simply by
running the application and sending queries to the
server.Sincethemostofthedata,whichisthegraph
representationofgeographicalfeaturesalongwithits
description,iskeptontheserverside,noactionfrom
the user is required to receive
updated data.
Moreover, some enhancements and improvements,
likepathfindingorPOIsearch,canbeaddedwithout
changingtheclient.
Navigation system forthe blind isdifferent from
typicalcarnavigationsystems(Millonig&Schechtner
2005, Aslan et al. 2006). Providing direction for
sightlesspedestrian requires muchmorepreciseand
accurate
data including userʹs current position,
directions and information about the nearest
surroundings.Thetargetusersof“VoiceMaps”have
thelimitedability to orientate and identify obstacles
in their nearest surroundings – given information
mustbe as exactas possible.One of theelements is
thehighdensitygraphrepresentation
ofmetropolitan
areas’ geographical features, which may contain a
largeamountofverticesandedges.
Significant computational power is required to
performprocessingofthatamountofdata.It isalso
required to assure considerable memory capacity.
Since “Voice Maps” system is targeted for the
Android‐based smartphones the issue
of the mobile
device capabilities becomes important.Moving most
of thegeospatial data from client to server not only
reducesthe size of thesoftware, but alsolowers the
systemrequirements.Itisespeciallyimportantforthe
olderdevices.
What is also worth mentioning, the spatial
databaseandelementsofthe
server‐sidesoftwarecan
be used in other Geographic Information Systems
(GIS). The existing high‐density data and advanced
graph algorithms can be easily adapted to become
elements of different (e.g. car or pedestrian)
navigationapplications.
Thenewsolutionmakesapplicationdevelopment
lessdifficult.Thoroughandwidetestingofsoftware
is easier to perform thanks to the availability of the
serverlogs.Moreover,itenables thepossibilitytoadd
severalenhancementstothesystem,forexamplethe
functionalitytoremotelymonitorthebehaviourofthe
blind.
3.2 Thedisadvantagesoftheremoteserveraccess
Remote spatial database access in “Voice Maps”
requiresstablewirelessinternetconnection.Sincethe
navigationsystemfortheblindmustbeveryreliable,
various problems with network (including lost
connection, transfer speed or limits and lost signal)
may become very important. However, nowadays,
coverageof the cellular networkin themetropolitan
areasisusuallyhighandshould
besufficient.When
userreceivesinformationaboutgeographicalfeatures
located in a fixed distance from his position,
additional data are sent only if he leaves the
aforementionedarea.Thiskindofapproachnotonly
limitstheneededtransfertominimumbutalso,ifthe
connection is temporarily lost, ensures data
availability.
Itis also worth mentioningthat module
for spatial database access is not the only software
component that needs stable internet connection.
Sincethevoicerecognitionsoftwareisincorporatedin
“Voice Maps”, wireless internet connection is
necessary.
Intheprevioussolution,themosttime‐consuming
operations,likepathfindingandsearch
forrequested
vertexinagraph,wereperformedontheclientside.
In the new solution all of those operations are
executed on the server. This approach requires a
sophisticated server infrastructure. Moreover,
considering the characteristics of blind users, the
qualityofthatservicemustmaintainaveryhighlevel
of
reliability. Therefore, the new solution enforces
keepingconsiderablyexpensivedatacenter.
Communication with remote spatial database
created non‐trivial problems in the software
development. The issues of synchronization with
database processes (such as response time, network
delay)andclient‐sidethreadsareonlyapartofthem.
Ontheother
hand,newversionof“VoiceMaps”does
notrequireadvancedmethodsforoptimizingthesize
of the files containing information about the
geographicalfeatures(e.g.quadtree).
4 SERVEROPERATIONALTESTS
After the system prototype completion a set of
software simulators were implemented in order to
check server operation in various conditions,
regarding the performance of commands executions
anddatatransfereffectiveness.Themaingoalwasto
measuretheaverageresponsetimeoftheserverwhen
1000queriesarebeingsentatthesametimefromthe
simulatedmobileapplications.
The first test evaluated the time needed for the
creation of the
graph based on the OSM geospatial
data.Queriesweresenttotheserverandtheaverage
time of the graph creation was 297 milliseconds
(Figure 8). This delay is not noticeable for the user.
The maximum value was about 2.6 seconds, but it
wasconcludedtobecausedbythemobile
connection
problems,notthemobileapplicationorserveritself.
During the next test the effectiveness of the POI
generation for the nearest area of the user current
geographical position was measured. The average
response time was about 60 milliseconds, so taking
intotheconsiderationthattypicaluserwillnotmove
fasterthan1m/s,theprocessisalmostinstantaneous
anditissufficientforpedestrianmovement.
Figure8. Distribution graph of the measured system
responsetimetoarequestforgraphcreation.