• Aucun résultat trouvé

О модели данных для контекстно-зависимых сервисов (On Data Model for Context-Aware Services)

N/A
N/A
Protected

Academic year: 2022

Partager "О модели данных для контекстно-зависимых сервисов (On Data Model for Context-Aware Services)"

Copied!
7
0
0

Texte intégral

(1)

-

© .. © .. -

.. ,

dnamiot@gmail.com sneps@mail.ru

! "

#" $ #" # -%$ . & # ' ()

#*%! " $ "$, + !+$

' " #*- # (#*- #(). - * # ' Wi-Fi, %#

Bluetooth Bluetooth -. #" - # " # #*

# (),

% (#'")

$ . - – #)"

#* #*% #" -% (), "% ".

#" $ #"

#" - #1 " .

1 -

-# #' #!, #" %#* $ , - * # #1!.

, " #

‘ -%’ (‘context-aware’) #* - '!

, [1] ##

#1, ()! 1!+$

#! , 1 %" %

1. - # [2],

%#*! ()!, "

1 $ % * )! # + *. + * %* * , # 2 , + #" % " 1

#*% # #1, #!'"

#1 - #*% #". 3#

# # “#- '”, #*

" '# + #"

- )" #1. 4

# # , # .

-# [3], -%" ()"

#*$ #1"$ 1

#*% #* (# ' ", #1" #*% #, $

" #* *!, $

#*%$ #*$ , 2 ,

$"+" #% , 1 ()!

( !).

5), ! " #!+

# " (#*%") () #1"$:

a) () 1 #*% #"

(#*% #" #1") ' ,

b) ) -,

c)# () $"+ () % [4]

#*6 " #- – #" -

% ().

' ' %", #*

#1" () - - ( , #1 * ).3 # (), * * ( #",

% %" +- #1" #*-

#*% #" # $ $ "

#* # ( #().

'$ #%)"$, # % 6, ( *, #*%

$ )#1 - )() *". 7 % $ 6 %) "#" " #*% $ # (# 1 %) + #1! #*- #*% #"

(#*% #). 3' - 6" # ' – ' ( ##) $

(Wi-Fi, Bluetooth) ! $

$ #*$ #($ , , ' %" )) #(

[5], ' $

"#"! " .

3"% ()- #"

+ %" "" $ %' , ' #* #*% #!

" " ( ) -# () 2 % +- "" $

XVII

DAMDID/RCDL’2015 « », , 13-16

(2)

- $1". 6 , * ( *) '

Wi-Fi #" * !+-

- $. # ,' # * " -# Wi-Fi (Bluetooth) -' * ( *) - %#, %, "

$ #1"

(“#% ” - %#). 7

$ # #" +,- GPS (Global Positioning System - -##*- %)")% .

3 & 1 * . -

$, ()" $ "$ 1

#*% " (1 #*% *")

% #" #*$ )$

(% #" #*$ ) #"

'" #1". 5-%

$ A-GPS (Assisted GPS - $#-",

"!+" «$# » GPS-8 % ' #" $ () '% #* # "%) Wi-Fi

%) "#"! " -

#*%" [6]. ()" $ "$ & #*% " 1 '

& #" #'" -- . &

#' -%$ , "%! ()! $ "$ #1. #

" & %#' #*" ' ( ) #(.

-% ()"

"% ( ) ' , , , , %"! " + #(. %' "% , ' $ "%

% *! ( #). 9'* #* ' #"

( ), .

#*6" ' *

#!+ %. %# 2

% &# #" #% . %# 3 1 () # ( ), #*%! (-

#*% *) ()! #% .

%# 4 # #* #!'-%' #"

$" () #" .

2 !

"+ %# " , % %" " " #% *, *, ) #1 #*-

#*- 2 .

=% " – ' (fingerprint) [7].

3 #" , 1+

()! $ %#$ .

#" 1- %# (, ' Wi-Fi) - ()" %" #

-#. ' ( %#

% MAC- ( -#. Media Access

Control — # ,

#* ( , 1 ) - " *! $

).

#" ) #% % ' " & # %',

# 1 - %.

$ ' f1 and f2, #" " #!+

%. 7%' M 2 MAC- f1 f2.#" MAC- m% 1 M f1(m) * #' %, m #

%- f1, f2(m) – #' ' f2.5- $1 *S #"f1

and f2 '#" " #!+ %:

MinMax(m) = min(f1(m),f2(m))/max(f1(m), f2(m)) S = (f1(m)+f2(m)) * MinMax(m)

S #*6 %'", # MAC- ' " ' $ ' $.

$ #*% # -#. 3

#!' RSSI (# -#) #*% "

'# #16 ' (K-) #"

+- %" #*

#* - #

“ $” % [8]. >* $ *, ' $, 6 #*%

-) +"$, #- #'

& $ $ “ $” %.4 "#" "

# # ' – - - ' #.

#! $ %' # -#

$ %# ' ! $ #* %)". 4 %#"

# * ) % #! $

%' (%'" - % * #1"

#*- #(, %" - ..). , #

%) #* 1#

$ ' !+

-# ( dB)

(SSA; SSB; SSC) = (-20; -90; -40)

1 % * #! %'" $ #* -

(RA; RB; RC) = (1; 3; 2) [21]

#*% * # - &(()

#"). [9]

#* $ #*% "

Apple iBeacons [10] (. 1). iBeacons – &

Bluetooth - % Bluetooth Low

Energy.

¦

M

m

(3)

9.17# "" #" iBeacons 9 " (#% *)#*- - ) " ' &#

&' # #" %" # -# % "". 3 &

" ' ! )

#1": " -,#% -,# - (# #*6 2 ).

3 !"#"

' & # ,,% * Alex Pentland [11]

Reality Mining. %$ $ #*%#*

()" +"$ #*- #(

#" #% ( ") ) -# -' . #*6 %

& - $ # %#!'! , ' 1 * #*% * #* #(

#" () 1.

9. 2 ?# $ Funf

3 Funf [12] %#" #*

* ()! $

$.3) () (' *, ' ), , (- " - 2).

#%- $"

() . @1

#*

#*. 3 $ 1

- +- $ $ " #* -% * $ -)!.

9#* () OpenSignal [13]. 4 (#* #1), !

% $ $ 2 $.7 '#"

) ' #* "%, %'#*

# ()! !+$" %$

)"$ #* ($ "

% #'" %$ )), "+

1 " 1 * ()! -$

$ %#$ (, '$ Wi-Fi ) – 3. 31 " #* ' -' - ( (API).

9. 3 @ OpenSignal

3- ( %#" %6 * ()! #*$ "$. B"

%1 * #' * ()! $ "$ ( , + #%)) – .

@ #' ( #"

() #* #*% #"

% #%

" " " 6 Bluetooth -

iBeacon. #* #1 #'

( - ( - '-,

- ( ) , % & - ( , #" #!

()! #*% #! # %6

# $-# ( 4). 7 *! & $#- ( , #%) Apple), "#" " , '

#' # + - "#" "

#1. #" -

#1" #1 * ' , -# $ - #1!

%6 #' *. #, ' ( % #1"), %, #% *

#1! %6 #% *.

%#* ,1 #1

(4)

( #, ' #*6) -. )" (iOS), , , -, ( ' + % $

% # (Apple) ".

9.4 #* iBeacons

, * “) #%”

- 1 % $

#" $. 9'* , , + %

$ Bluetooth Low

Energy, #$ & $ [14].

5$' # - " %

$ ! ", #" % ' #" " REST API, %#"

#' * $ - "%

& . % ' -

#- * () #"

1 $'$ & $. #*

#1 #" ( -,

#% - $ " #*% #*,

% % $ ( -

%#" # *, - ( %/# - & ) & - $ ". , , % & - *

!-# ()! #*

#*% #!, %6 * # " ..

9. 5 The Open City Database

+ "#" "

TheOpenCityDatabases (Fraunhofer, FOCUS

[15] – 5). >* "

% $ -$ "$

2 $. '# 2 - $ *

&# ( . #-'!

#* 1 - * % -$

SmartSantander [16].

4 - $ (CityProximus)

%# #" #*

! #%)! #" -

%$ - – CityProximus.

6 CityProximus #"

#" 1 -%$

#% . 6

%#, '

#% "#"! "

#%) -%$ '#. 3 CityProximus "#" " #*6

% , #%$ $ Spot Expert [17] Bluetooth Data Points [10].

%$ $ #-#* # #"

1 #% #*$

#1"$. 5- #1"

#*%#*,, % #"

-%) %' -#. @ (%'") #* & $ #*

6 " – &

() * #*6 #' $ %#? CityProximus #"

6 #" -%$

. 4 6 "%

% # #" $ , , - #%)

#" .

7+" " #" 1 -

%$ % (, ,1) ##) "%:

– >

1 #*- #1" #" ) +- (- #"

). @1" "% #"

)! (#-' ):

,

, #1 #!' * #!+ :

x =% $ #" $" # - #"

(5)

x 9 #

x #1

x #* #1 #" % () #* #*% #".

#* #1 #" % "

-% %. =% #"

+ ' ( $ $ %#), #" &

#1 (#*% " REST API) #' #" 1" ( )).

@ #" (JSON),

) - %#"

-% %.

#" #" - #"

6- % #1 "#"#

) ( 6 #).

'#*$ #%)"$, #" #$

#"# #-' 1", - # ( ) ( ) % %1$

%' #" # -#. #" -

#" 6$ # #*%#"

% #- RETE ( )" #*

#" )$ & $ ). '

% $ #*%#* MySQL.

9% & - $ 6#

#". -$, #-'$

1 (# #$) #

% #* #" #*% # #1 # * - +. - $, % 6, #* ' * #*6

%1 #" 6 "

.

' +" #" $

## # iBeacons. #" #$ #"

#"!

#-' , "%

%# , -! #* -. ,1 # -#" %:

_!" (N) 753 57

#$!%_$%!%! (S)

' %" $" $ &

#' # key – value. @#!' %* –

& %# (MAC-),

%' – &# , #"!+$

, "% ( , -(' %1 ..)#* Key-Value

"#" " % # ' #*%

NoSQL. 7 % %1$ 6

#%) - Apache Accumulo [18]. 4

# key-value $#+. =% $

#" CityProximus #"

#! $&6- #). 7

% #"! " #!', %1 # #*$ .

#"! " #!'-

%', - #!' ( " % #!+$

&# : RowID, Column (Family, Qualifier, Visibility) (Timestamp). @#!'

%' #"! " ,

" Long. 5#)

% $ #!'-%'. Accumulo #!' #-('

% !. 7 ! "

!, ' # #*

# #!' ' ! " [19].

' %" # $, CityProximus

#1 $ * #!+! ()!: (recordID, MAC_address, data_array)

@1" %* $" (- $

(data_array) #" %- - %#

(MAC_address).#" - %# 1 #" *

#* ()$ &# .

# - * )

% #* , ' $ #"

6#- ", # * +, , #": %" # - # (). 1-

# * (##)) 1 * ( *) %

#. - $ #!+

:

(userID, recordID, MAC_address, timestamp_created, timestamp_modified, status, data_array)

%* #status * # %',

+ # ( # ).

$ 1 JSON .>*

" , % "

(#" ") #. " JSON

% " , ' " %#"

# (# #1!) " #*

6 *, #1 1 *" !+

&# . JSON , "+" #, 1 #*$ &# :

[

{ “type”:”some_type”,”data”:”some_data”}, {“type”: ...},...

]

3- API #" % $ #

%+ 1 JSON .3#" %*

! , 1

. + – & #!+

: text, url, image, email, phone, fbprofile, twprofile. Text – & # #* *

#, url image ! -,

fbprofile twprofile 1 #"! - , ! )#*! )!.

(6)

, fbprofile #" URL

#" (#" % Facebook, twprofile * 1 , #" Twitter. 4 %#" %#' - # #% *

#- 1". , 1 1 * 1 % %$ -

#, 1 #*% *

#' ( )#*

% * %1 ( ) %

#*% #*- (#.

5' % % $ # "#" "

MAC-. 4 " %

#!' (' ) #" "

#* . 3%"

% #* * Apache Accumulo - %$ – 100 ## %)

[20].

' %" ,

“&# ” " -%.

(%* -#-) %* – & +

MAC- MAC1

t (- $, ) MAC2.

=% #- ()"

' %'. #* #1 ( -% %) #' (#" ) $ ($)

$ %#. #, #" 1- %#

(MAC-) % #" %

$ #. % JSON-

2"! " , 1 " ( ")

%. 7 , ' &#

- *

% # -# #" - - %#. 4 %# , ,

% * &# , " " # #% %#.

, - $

%#, $ %#*

#" #*- , " " CityProximus. 7+

% # $ ( % %#* . #" +" '# % #*%# -. -$, - % % %# -

! . 4 1

%#" (#* * ' * . - $,1 % * &6.

' $% #%) &6"

$ #1 1

#*% * Bloom-(#* . Bloom-(#*

#" ($) #"

#" '- 1 &#

(#!'), ' &(( !

1 % #1

%#*- &# 1 . -# & #- ' # V% m .%'#*

# 0. # ! " k

%$ $&6-() K = {h1, h2, …, hk}, 1" % $ # {1,…,m}. #" 1-

&# (#!')a% 1 A %)"$

h1(a), h2(a), ..., hk(a) V #! " 1.

%1 " – # *" 1 #* %. #

% #!' b, "

%)"$ h1(b), h2(b), ..., hk(b).# % $ * 0, #!' ' $ " 1 . #' %#!', ' #!'

$ " &6. @&6 %* *

"$ MAC-.

4 " $, %1 #1 " (#1 %#!'"

#1 ). F $

#" " %' m k.

#' #1 %' * #6 % % $.

5 % #&

#*

#" $ #" -%$

,$ " #% . $ $ ()" #1

%" " () #% 2

&# ( . ' $ &# ! %#

(Wi-Fi, Bluetooth).

' $#+ $

#*% # #!'-%' #%) Apache Accumulo.

9 -%) &6"

$.

' # " - 1 % * #1", ) # Smart Cities.

' , (" #*$

#*% # +"$ (, # -$ %, ..).

'

[1] G. Schilit and B. Theimer Disseminating Active Map Information to Mobile Hosts. IEEE Network, 8(5) (1994) pp. 22-32

[2] A. Day, "Understanding and Using Context"

(2001). Human-Computer Interaction Institute.

Paper 34. http://repository.cmu.edu/hcii/34 [3] N. Hristova and G. M. P. O`Hare, "Ad-me:

Wireless Advertising Adapted to the User Location, Device and Emotions," in Thirty- Seventh Hawaii International Conference on System Sciences (HICSS-37), 2004.

[4] Namiot, D., & Sneps-Sneppe, M. (2013, March).

Wireless networks sensors and social streams. In Advanced Information Networking and

Applications Workshops (WAINA), 2013 27th International Conference on (pp. 413-418). IEEE.

[5] Namiot, Dmitry, and Manfred Sneps-Sneppe. "On Open Source Mobile Sensing." Internet of Things,

(7)

Smart Spaces, and Next Generation Networks and Systems. Springer International Publishing, 2014.

82-94.

[6] Yassin, M., Rachid, E., & Nasrallah, R. (2014, November). Performance comparison of positioning techniques in Wi-Fi networks. In Innovations in Information Technology (INNOVATIONS), 2014 10th International Conference on (pp. 75-79). IEEE.

[7] Namiot D. Network Proximity on Practice:

Context-aware Applications and Wi-Fi Proximity //International Journal of Open Information Technologies. – 2013. – 5. 1. – H. 3. – . 1-4.

[8] Y. Chen, Y. Chawathe, A. LaMarca, and J.

Krumm. “Accuracy characterization for metropolitan-scale Wi-Fi localization”, In ACM MobiSys, 2005.

[9] M. Kjaergaard, M. Wirz, D. Roggen, and G.Troster Mobile sensing of pedestrian flocks in indoor environments using WiFi signals Pervasive Computing and Communications (PerCom), 2012 IEEE International Conference on pp. 95 – 102.

[10] . . #* Bluetooth - //International Journal of Open Information Technologies. – 2014. – 5. 2. – H. 5. – . 17-23.

[11] Eagle, N., & Pentland, A. (2006). Reality mining:

sensing complex social systems. Personal and ubiquitous computing, 10(4), 255-268.

[12] Funf package http://www.funf.org

[13] Farshad, A., Marina, M. K., & Garcia, F. (2014, May). Urban WiFi characterization via mobile crowdsensing. In Network Operations and Management Symposium (NOMS), 2014 IEEE (pp. 1-9). IEEE.

[14] SITA Common Use Beacon Registry https://www.developer.aero/Beacon-Registry- API/API-Overview

[15] Tcholtchev N. et al. Fraunhofer Inst. for Open Commun. Syst.(FOKUS), Berlin, Germany //Local Computer Networks Workshops (LCN

Workshops), 2012 IEEE 37th Conference on. – IEEE, 2012. – . 860-867.

[16] Sanchez, L., Galache, J. A., Gutierrez, V.,

Hernández, J. M., Bernat, J., Gluhak, A., & García,

T. (2011, June). Smartsantander: The meeting point between future internet research and experimentation and the smart cities. In Future Network & Mobile Summit (FutureNetw), 2011 (pp. 1-8). IEEE.

[17] Sneps-Sneppe M., Namiot D. Smart cities software: customized messages for mobile subscribers //Wireless Access Flexibility. – Springer Berlin Heidelberg, 2013. – . 25-36.

[18] Halldórsson, Guðmundur Jón. Apache Accumulo for Developers. Packt Publishing Ltd, 2013.

[19] Accumulo User Manual

https://accumulo.apache.org/1.6/accumulo_user_m anual.html#_introduction Retrieved: Apr, 2015 [20] Sen, R., Farris, A., & Guerra, P. (2013, June).

Benchmarking Apache Accumulo BigData Distributed Table Store Using Its Continuous Test Suite. In Big Data (BigData Congress), 2013 IEEE International Congress on (pp. 334-341).

On Data Model for Context–Aware Services Dmitry Namiot, Manfred Sneps-Sneppe

This paper discusses the issues of data representation for one model of context-aware services. This model is based on network proximity ideas. For network proximity, the location information (latitude, longitude) is replaced with information about proximity to network nodes. Network nodes play a role of tags and let position the users within some restricted area. In this paper, we target wireless networks nodes (Wi-Fi access points, Bluetooth nodes). Services for such models provide to mobile subscribers access to certain information, depending on availability (presence) of wireless networks. And another option is a publication by mobile users context-sensitive information associated with wireless networks. In our paper, we discuss key-value data store deployment as a basic persistence mechanism for network proximity. Also, we provide a description for system-wide cache on the base of Bloom filter.

Références

Documents relatifs

Variations in the total solar irradiance (TSI) over the 11-year solar cycle are small (0.08%) (e.g. Fr ¨ohlich, 2000) and therefore can- not be the cause for the observed changes

Intuitively, two locations are mobility equivalent if any of their connection probabilities, say ρ k7−→l and ρ k7−→m , are able to evolve into each other eventually with

Кроме того вместе с семантической сетью получаем связанность параметров по данным, возможные значения параметров, частотные характеристики использования

Once the patient has received its referral abroad request, jointly with the hospital appointment, she/he must refer to the Palestinian health DCO who will coordinate with the

Tous les joints doivent être étanchéisés afin d’assurer la continuité de la barrière (voir les paragraphes 9.25.3.3. 1) Portes en bois dans les séparations coupe-feu. La

Simple modes (m, 1) are represented by single points that necessarily lie on the boundary of the shaded area: no energy is gained or lost during impact, so the bouncing is

This nt صخلم بجي ىلع لاا لا ديج لل لومح   فدھلا نم ھ ةددحملا لحتل ةفاثك ةيماسم   يف هذھ لاحلا ةدش نأ جلإا ب ضلأا ريسفت تنمسا ظعلا نحنو ن نيب أ

This paper is divided into three sections: (i) description of plant water status reference methods based on direct measurements on the plant, (ii) plant water status