SDY51_GE2_2014-15_Apantisi Ταυτοποίηση στις έξυπνες πόλεις

Post on 05-Nov-2015

27 views 1 download

description

Ταυτοποίηση στις έξυπνες πόλειςΔιαγράμματα ανάπτυξηςΔιαγράμματα περιπτώσεων χρήσηςΔιαγράμματα δραστηριότηταςΑνάπτυξη εφαρμογής

Transcript of SDY51_GE2_2014-15_Apantisi Ταυτοποίηση στις έξυπνες πόλεις

  • 51 : 2014-15

    /

    51

    / 2

    Click here to enter a date.

    :

    ,

    . , ,

    .

    .

    ( , - )

    : 19/12/2014

    : 9/1/2015

    : 13/1/2015

    :

    16/1/2015

  • 51 " " : 2014-15

    : 2 2

    Click here to enter a date.

    ()

    / :

    :

    1 15

    1 5

    2 15

    3 15

    1 50

    100

  • 51 " " : 2014-15

    : 2 3

    ,

    ,

    Android.

    ()

    :

    , .

    , UML.

    ( ).

    .

    (Poslad):

    6-7

  • 51 " " : 2014-15

    : 2 4

    1. Choose an item. . :

    .

    .

    ( / ) . .

    , .

    (.. , , ) . , .

    .

    .

    2. , . . . , , . & , .

    3. zip rar. : SDYxx_xERG_EPITHETO_ONOMA. ( xx x ). .

    4. :

    SDYxx_xERG_EPITHETO_ONOMA.doc ( xx x ).

    , project folder , .

    H . .

  • 51 " " : 2014-15

    : 2 5

    (smart city)

    ,

    , ,

    .

    ,

    ,

    , .

    , , ,

    . web interface,

    .

    ,

    /

    .

    Android,

    .

    :

    FixMyStreet - https://www.fixmystreet.com/

    NovoVille - http://www.novoville.com/

    Improve My City - http://www.improve-my-city.com/

  • 51 " " : 2014-15

    : 2 6

    15

    1

    . ,

    ,

    .

    ,

    ,

    (urban environment).

    , ;

    [15 ]

    Uckelmann et al. (2011),

    . ,

    .

    ,

    .. Vlacheas et al., 2013,

    , .

    , ,

    : (

    , IP)

    ,

    (local) (global) (Khoo 2010).

    ,

    . , -

    .

    .

    .

  • 51 " " : 2014-15

    : 2 7

    RFID ( )

    ,

    (..

    smartphone). (

    ) .

    (barcodes),

    ,

    (

    ), .

    ,

    / ,

    .

    Kato & Tan (2007),

    (first-read rate)

    , QR-code, DataMatrix,

    VisualCode ShotCode. ,

    Chen & Weng (2010) Emaldi et al. (2012)

    QR-code .

    RFID/NFC

    ,

    (active RFID).

    .

    ,

    .

    ( Snchez

    :

    1. 2. 3.

    4. - 5. ,

    smartphone .

    Chen, C. M., & Weng, T. (2010). Research and development of application of mobile barcode to mobile sightseeing guide on mobile phone. WSEAS Transactions on Information Science and Applications, 7(1), 16-25.

    Emaldi, M., Lzaro, J., Laiseca, X., & Lpez-de-Ipia, D. (2012). LinkedQR: Improving tourism experience through linked data and QR codes. In Ubiquitous Computing and Ambient Intelligence (pp. 371-378). Springer Berlin Heidelberg.

    Kato, H., & Tan, K. T. (2007). Pervasive 2D barcodes for camera phone applications. Pervasive Computing, IEEE, 6(4), 76-85.

  • 51 " " : 2014-15

    : 2 8

    Khoo, B. (2010, December). RFID-from Tracking to the Internet of Things: A Review of Developments. In Proceedings of the 2010 IEEE/ACM Int'l Conference on Green Computing and Communications & Int'l Conference on Cyber, Physical and Social Computing (pp. 533-538). IEEE Computer Society.

    Miranda, S., & Pastorelly, N. (2011, February). NFC mobiquitous information service prototyping at the University of Nice Sophia Antipolis and multi-mode NFC application proposal. In Near Field Communication (NFC), 2011 3rd International Workshop on (pp. 3-8). IEEE.

    ONeill, E., Thompson, P., Garzonis, S., & Warr, A. (2007). Reach out and touch: using NFC and 2D barcodes for service discovery and interaction with mobile devices. In Pervasive Computing (pp. 19-36). Springer Berlin Heidelberg.

    Snchez, L., Gutirrez, V., Galache, J. A., Sotres, P., Santana, J. R., Casanueva, J., & Muoz, L. (2013, June). SmartSantander: Experimentation and service provision in the smart city. In Wireless Personal Multimedia Communications (WPMC), 2013 16th International Symposium on (pp. 1-6). IEEE.

    Uckelmann, D., Harrison, M., & Michahelles, F. (2011). An architectural approach towards the future internet of things. In Architecting the internet of things (pp. 1-24). Springer Berlin Heidelberg.

    Vlacheas, P., Giaffreda, R., Stavroulaki, V., Kelaidonis, D., Foteinos, V., Poulios, G., ... & Moessner, K. (2013). Enabling smart cities through a cognitive management framework for the internet of things. Communications Magazine, IEEE, 51(6).

  • 51 " " : 2014-15

    : 2 9

    B 35

    1 UML (v.2) . ,

    UML (deployment diagram)

    ,

    .

    :

    http://www.uml-diagrams.org/deployment-diagrams.html

    http://ftp.csci.csusb.edu/dick/cs372/a3.html#System Architecture and UML

    Deployment Diagrams

    [5 ]

    : )

    HTTP , )

    , )

    ) .

    ( 1)

    processor. UML -

    ( -

    ), .

    , GPS,

    . ,

    , .

    ,

    QR code tags.

    . ,

    device.

    HTTP

    .

    . ,

    .

    GPS

    (. ).

    , . .

  • 51 " " : 2014-15

    : 2 10

    (client)

    ,

    ( QR tag),

    .

    1. .

    2 (use case diagrams) UML

    .

    . , :

    1. 2. 3. / 4.

    a. b. c. d. /

    e. / f. /

    5.

    [15 ]

    . ,

    . ,

    ( 2),

    HTTP server

    ...

    RDBMS

    ...

    QR code tag

    HTTP client (1)

    ...

    HTTP client (2)

    ...

    HTTP client (n)

    ...

    ...

  • 51 " " : 2014-15

    : 2 11

    .

    ) (),

    , ) (

    ), , ) (

    ), , )

    (RDBMS), ) GPS (GPS),

    .

    ,

    .

    ( QR tag), (.

    )

    ( ) (

    ). ,

    GPS, .

    .

    ( ) ,

    ( extend).

    ( include).

    ,

    ( ) .

    (extend) (include)

    .

  • 51 " " : 2014-15

    : 2 12

    2. .

    3 (activity diagrams) UML,

    , 2.

    .

    [15 ]

    3 .

    , ( )

    .

    , .

    ,

    . GPS

    . ,

    .

    . ,

    (. ),

    .

    GPS

    QR tag

    RDBMS

  • 51 " " : 2014-15

    : 2 13

    ,

    , ,

    .

    .

    .

    .

    , .

    .

    3. .

    [ ]

    QR code

    [ ...

    GPS

    [ ]

    [ ]

    [ ]

    [ ]

    [ ...

    [ ]

    [ ...

    [ ]

    [ ]

    [ ]

    [ ]

    [ ]

    [ ...

    [ ]

  • 51 " " : 2014-15

    : 2 14

    50

    !

    .

    5MB.

    1 1,

    Android,

    server.

    QR

    .

    . ,

    (.. 123456 )

    .

    (- ),

    .

    ,

    , .

    (

    ) HTTP POST url

    http://150.140.15.50/sdy51/2014/senddata.php (

    http://hayageek.com/android-http-post-get/#post)

    url http://150.140.15.15/sdy51/2014/viewdata.php

    url

    http://150.140.15.15/sdy51/2014/viewequipment.php

    QR code Zebra Crossing (http://code.google.com/p/zxing/).

    webcam

    emulator . webcam,

    .

    QR

    online , http://goqr.me/

  • 51 " " : 2014-15

    : 2 15

    template

    . template ,

    .

    [. 1/4] [ , .. ]

    [ , .. ]

    [Screenshot emulator ]

    [ , , ]

    [50 ]

    :

    1. QR Intent (.. BarCode Scanner ZXing).

    2. ZXing , activities .

  • 51 " " : 2014-15

    : 2 16

    2 .

    activities & asyncTasks

    callbacks, .

    tutorial

    http://shyyko.wordpress.com/2013/07/30/zxing-with-android-quick-start/

    :

    1. 1 (activity) , , activity . activity startActivityForResult, activity .

    2. , activity ( onActivityResult). , activity AsyncTask .

    3. , AsyncTask String [ ];[ ] activity callback. Interface onCodeCheckCompleted, AsyncTask, activity.

    4. activity . , AddressActivity, . , activity . , Next Activity . , activity .

    5. , 2 .

    6. 2 . ( ). , 1 , .

  • 51 " " : 2014-15

    : 2 17

    1/3

    1 Click to Scan, activity . Next . Click to Scan ( ) .

  • 51 " " : 2014-15

    : 2 18

    2/3

    activity viewfinder . . , .

    3/3

    , . .

  • 51 " " : 2014-15

    : 2 19

    . . .