
Web2.0









XÀµ ¼¬h È¦|Y¿ {} }¾ 1SCLU8«}«

J8=U8Ér*U<+6>r*QAIrÊ)k¡'Ç Web 2.0 *EP0U4NS¹_)µËcZ1S<S;J8=U8)£ÂT®TfÄ'46<I'"Ë²pyl)2UA£Âwvg®T¶ª '46<I'xt(%*E
P0U4NS46<Iv¹_46<I·n_¸½'

Web2.0 Applications for Held Music and Listening Locations
Shigeyuki Hirai, Yohei Adachi, Mana Ikai

Department of Computer Science, Faculty of Science, Kyoto Sangyo University

We develop two music Web 2.0 applications, one of them is able to record, search and expose
metadata of song data people own, the other is able to record, search and display listening
locations on a map. This paper describes system concepts, functions and implementation of theseapplications.

1.

1HL?0U4NS)v'2UB6#*EP0U4



NS j 'Web ¯!)FU6Tim O'Reilly $u( Web 2.0 

,S8U@:>k¡ s{'©~° ("Web VfÄWeb 2.0 2UB6#*EP0U4NS

('2,>2UB6#=U8)´q

WGQ9J=+*1S<S;)") '2UB6T*EP0U4NS)_'

flickr # Picasa \¶('¢egTT

ÉG:4L*:EÊ#Ìeb zMU3 `®)µ2UB6

'x#1S<S;){ÁoÆgTn¢) YouTube#?1?1n¢mxi n¢  %('ÇÅ

T® '$'x#'"#ER,P6>³Tgad)!j­º¨('mT®)µ  2UB6  %('± Google # Yahoo!Amazon ­] {ÁHLU54KS#Åb)/OD+-Q=U8)Ìeb VfÄ'g(*.76¶ª' musicmap²pÉÃ»Ê)fÄT

'ÌebAPI )`' ¬'±® ' mixi HLU5:.­  %('r2UB6Wiki Pedia #ÇÅ'x) Web 2.0 *EP

del.icio.usflickrYouTube ­ i^¤2UB6

0U4NS¹!cZ§¥ %('[" mixi # orkut $

46<I²pÉÃ»Êy§¥46<I

SNS (Social Network Service) £y$&Z1Ć-ík*{à Ă» CD .YGP

*kº-æÂ +»³C_>&3]W0]óqq§ne¦´7]B]A

%  ¦´»³Q>C_>-ØÉ»³Q>C_>-sû^¹Ý*8_I;¹Ý^ýê*+!:R6@Dz-«m*à Ă»6_>0&¬Ă»M

+G_7_E (.YGP¤&»³Q>

Z_SuÊc»³Q>C_>- GPS ¾t

C_>-q§*  *+ 6_; (ĀĂ»áĄúòą¦-t¹

CD -)w%»³Q>C_>-¡*Ý^ýê *8_I;*

ã*"Ă» CD G_7_E gµÓ +(Ćík9;BP

*,  $Q>C_>q§ þÌ

â²&9;BP¼éè¥kÒîÞ¸* X@J]5kºÁ"* * »-õ"
ü÷ÑÕ&® Web 8_I;&¨ç*©*tfñă&9;BP­µ9;BP G_7_EX_?-Ë*Ă» CD 6_;ôG_7_E-ð

£ß*

2.




2.1





#)¤-o Amazon ×®»³Q>

C_>«m80D (¤-q§åÔ^¹Ýã Web 2.0 .MX6_9U]9;BPík-æ+-ne¦´Ă» CD yË+!

Amazon & Gracenote (CDDB) '»³Q

{õăÅ ëÃ *ì*

>C_>-«m* Web 8_I; ._B/;DÀÙ 9;BPk¼éyË*

&.YGP>0DY»³¤¹Ý*ÿWeb 8_I;×õ"*ā´~* +( `äÍ

2.2+*Ă» CD rjC_>N_;*$







9;BP¿ã ne¦´*Ă» CD ×ÇÚ»³-¹Ýx Ć*^ »³Q>C_>q§C_>N_;Îù¿ã*8_I; l!:R< ;>]?

^ ne¦´»³Q>C_>¹Ý^ýê¿ã_EF]G_ ½OT_:9R] ÄZ

hb+(Ć¿ãvÉ¼é

7_C/]5* ' ª)a(-ï°*

+*»³³- Amazon ¹Ýÿ ¹Ý2.2.1     !Þ¸ øX;D.@M+*+!n

G_7_EX_?-ËĂ» CD :R6@e¦´ CD c (Ç»³q%-¹Ý

Dz+*G_7_E-ð#)7

±+ ¹ÝÞ¸¡(+ _E-o Amazon Web Service -yË*ăÅ *

»³Q>C_>Ą.YGP&._B/;D`­ ¶ÆÉQC/.*Ă» CD Ü$³ÐX;Dą ¡(+*G_7_E ¯µ&V(+»³ iTunes & Windows Media_[@HyË+* JAN (Japanese Article

Player ×Ă»MZ_S=KD12.-yË

Number)/EAN (European Article Number) 7_

X@J]5+!»³ØÉ ã* 

E-ð#  amazon.co.jp 8_I;Ă» CD -X@J]5*kº ®ø-yËdÛyË+* UPC (Universal

CD -¦´*e }| ¢ËProduct Code) ) ' ÈÏkº ìamazon.com -yË*

iĂ» CD ' G_7_E z+*ÿÖà`e Ă» CD - 2,000 ·ha%%*$.YGP>0DY×4_¦´)" CD -`·6_; (\_E-ËAmazon ö Web ¹)w PC pEW0Lq+X@J]5

Ý%æ*'*

2

MySQL / PHP) «9WFu?GC1

XCD .TFN' Amazon c
S=C

2.\Z·)*BW@%xs*tlGracenote ¡^* CDDB -f.T
OS: Vine Linux 3.2

FNn&.WA/=Cn (S=C-b*
bO@BW@.IS7W;QV9W

Web 9WF: Apache 1.3.33

F RDBMS cª (+*BW@¹;RDBMS: MySQL 8.23¯³: PHP 4.4.4=ANd+-rÂ 

R0HRS: NuSOAP1.94
SOAP d$R0HRS*NuSOAP amazon.co.jp !.6>=
»wi µ*$¸e  %-f*RDBMS BW@JW=AWHT¬ 1 ·)
5 *
¬ 1 BW@JW=AWHTrÂ O@BW@¹;=ANh] .IS7W;QV9WF ( Amazon Web
Service !.6>= SOAP -*
Gracenote(CDDB) !.6>= Gracenote ¡ Web K
W<^*½¥ Form -f*
6R0.VCaFW8WD=5PEW-f

"nmj³%}¬°*tl£ *$zº_-BW@JW

*® *\v·{ Web HR1:=( $`

.IS7W;Qf *u+ p¾ [qFW

V 9 W F     z  - o $  Amazon &8WD=5PEW TBREAK ¡ CM-800A

Gracenote !¥-«'*

-f*´#kFW8WD5WLW

2.2.2



Dbg'*w ,+*%*$¥§.IS7W;QV9WF

6R0.VCuDR0F&?GC12.¿

* Web ¥G3WN5WUWD¥-«®Web G3WN!bg%jM1=
4W?T-²|¤!±¦*©

9WF RDBMS ª¢+BW@-¥

2.4

6R0.VC Web HR1:¬ *}2.4.1

#*

2.3






r 2  Web HR1:¬ ½ CD ¹;=ANy­¶ Web .IS7W;¼- Àr¹~Á¼Y¸

QVX¨ LAMP u (Linux / Apache /FW8WD No.4W?T-¦ FW8

3

UC;5NDU· CD /¯%p,uº

2.4.2  laAU=IU;M=AU= 

FU8UC¯%p+ * Amazon / Gracenote "²-,u»¶ s ©-

06<;$t&M=AU=²la o²M=AU='AU=IU;

¬/¨¬ Jazz /Y 

404 · CD /h¬¢/© 2

²-,©» · CD ²la¬¢u 2 · CD ²¶b

AU=p4PU 37  VM=AU=  ¢¶b/u¼°#.20  | CD +''u Autumn Leaves s

Amazon AU=yv'



]

/

¢,r

o²-,·amazon.uk %AU= ,'(CD 0QFL ª ¢©-,

AU= yv'AU=}W4PU,'q CD :N7>BX®«,J=S/ t$-! CD ®¡AU= ©-

FU8UCni  45   5U,),

RUC²/­.36  j+Amazon ²-· CD 

2.5 
^Wla¬¢ * ²g¥_ §`w ,'x FU8U
C/h,²a k)¨ M=
AU=p¥_')$¨ ,\ ²¤e{'²T ¤
~m(a2S=H3U;§/¨Zz,*c[ 8S@S?/²Tf´ ,)9UF/V¦f´,Zz,3.



3.1.





mixi KOU:>6 {µ£p¸³±¹u¼ s),M=AU= ¢¶

M=AU=/d8KOE@19UG;/¨

4

wìÁ

@aNd$IaERaD&Ú}Í#Ìî`ó

$ 0Ñc×3·Ô#-¢ 0@a

` WaA%ö¸Q\aVÆì¦o±3

 /¸±3Ø  0

OD 0(au $ LISMO ¤ôä+Ø$)
3.2.2   2!#+3/',³¨@aOD  +#-/»$¼Ù3£p /.%Ø¸±,Q\8ZDJ$£p` æ !n$±3Ø  3$' GPS ¼Ù3¿ÈWaA$ 0Áiê

Web Éõ$d#Sa:ÝÏ

$¸±$yÇ§Y_;_=3£p0"!

` 6aH7DJ,E8J["!·Ô3Ü¸±?_H_G lÖ3Õ) 2@aOD

 #-/Ñc×$IaE3~Â3« 0

1.¼Ù ,/ /10IaE$ñq3übªv#¡ Flickr %Web dÉu?_#Ï

H_G3w³`·Ô0+$¥Á$lÖ
3ùYahoo!SFQú#i|0@aOD+
ãøÍ#« /Éu?_H_G lÖ3í¤·Ô`£Ï0- #" 0k$C9E=¼Ù%ÄÃ$d#ÉuI
aE3KYF=6_KK]FQ#¥Á3 
0+$ /:UY¥Á3

Ú}Í#âî£p0+$%" 
%:aDH\9bm$:aLO,au $ 4 BDHTº IaE$À1

LISMO ¤$- #GPS ¼Ùi$ö¸Q\

3.3.

8Va¬#° 0 #¾Î 0hGPS

3.3.1 4$*)

í}Ù"ö¸yÇ¼-/:aDH\9bm:aLO, au $ LISMO 

b°0 3yÇ¸±$UEIaE¤ôä"!¬$ GPS xÛö¸Q\aV3yÇÁ$ w#Ú}Í#âî`ó0{È0 ´( BDHTðË$®àé4 0Flickr Éu?_H_G,¸±$ DRM Ò$g 0*h% Õ) 2òá`·Ô0$ PCùFujitsu FMV-STYLISTICB80ú3RaD »#¸±$yÇÁ3 w#òá`·ÔÐµÆ3ºÓ
WindowsXPd$ Windows

0 Web 2.0 6QZ>aBX_3Î BDHT3Media Player 10ùje WMPú3ö¸yÇÆ 

ão

3.2.

@aN&$ìs% WiFi Ü 

%.&

(

GPS % Blutooth ìs¼Ù3 SONY GU-BT1¶BDHT%f#½$û$¼Ù3{È0

3{ÈPC ¯ GPS IaE3s0

 #"0b%¸±$ö¸ØùïçúÁ

3.3.2  (yÇ¸±$UEIaE3@aN&èë<Y86_JtÞ¼Ù%GPS 0¼Ù 0+ b%Web d$@aOD¼ÙWMP ¼ÙHTTP $ëí¤yÇ¸±$UEIaE3·Ô`òás¼Ù$ 3  0# å­0

0¼Ù 0$¼Ù`zÅx$¹ß3âGPS ¼Ù

3.2.1 *$" 01',`yÇ¸±$ù¸±UEIaEú-

GPS

GPS #

.ës1²©$lÖ3P5

8[#r ¼Ù 0je$÷ÊzÅ

-0lÖ%Ú}

%Ü210

` ¸± lÖ%MFJ^a<3ì

5

3.4 1. GPS Àª .ç¾ $>T4UÛi Ù.1
0GZC2;S64XHÀª yi
2. GPS GZC% NMEA GZC RMC
RMC



<ZIj Ï¯Ê&Ùi12GZCLZ@$ºÞ0¯Ê¬Â$¼Ô

OEK%Î½2Í ¯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¯Ê$à>@FP%wf¼Ô2 2006 
11 ¨ 27 £ .2007  1 ¨ 22 £* Í%Å«Ïnµ&"1,Ë$wfè ;S64XHBJH784%¯Ê!àg

GPS ®$ &Ö~*1* ,6

3.6 

GoogleMaps Ï¼/Íyð*

i{PC bW`> r³,9Y31^G

¾Ø
$¶æ-F`Bå_Ýqd'²/©Á  ¢7`@E\6am~7`

Web NY4> GoogleMaps q¯yðHL/ßÊtÞ(GPS j î¨;`B3/

 §Ã_éÔ ,»× | 6 *

r³" iGPS ªÉj ì|öNY4>Ï¼´í/¼Öbî¨O\`UAMG/çµhF`Buëñ/Íe,$Web NY4>),F`B§Ã_éÔªÉ$Ï¼®Ë/,Ò ,±°¶æF`B &§Ã¡k/#0Ùw'Q`7¼ yð Í, ÑQ`7/ÆwÏ¼,ªÉ &F`B w GoogleMaps 
Ï¼\@P^@  , e ,*§ÃTIV`F`B'F`B  ï¸ ,&ê=`L@o|ô ÎcÈv¨Q`8^:Ä£3^BM5`@,*}§ògãá+/½tcF`BóÃªÉ Ð-'Ùð,-*/Õ«" i3^BM5`@w.§Ã_Ï¼ªÉÓ¹/Í 

4.


Àph<^E^D(¨TBF`Bèâ,º¿(=`L@ ,ph<^E^Dq_§Ã/¸·=`L@N9]:[1](f), ¦.org[2]
¬*?@ES[3] *-,N9]:Âî¨ CD /Ü,=`L@ î¨ CD |õ 1[KSx§ÃÅ+à0Ä£Ï¼

F`B1[KSB3G[(1`E2@G
xZ@G/n_éÔ ,%1[KSc¨x§Ã$± ¦.orgÂ/Ü,?@ES, <
RVI;`?X^D`[lÇj ÛÚ -,[4]
¨(O\3Z@Gq_Ìè¥*),O\3Z@G!z (°­è,1J
E`?X^ js , Web ?@ES ¤,[5]$¥*¨Õä/=P`G,|ö ¨TBF`BPCO1COÏ¼

& Web 1JE`?X^?@ES'¤

7



*[6]
ó·) ­£­áTV;RV4&.C>X8[1]

G3U4 http://booklog.jp/

PV- Web g*89>L©WÜf-[2]§«.org http://www.hondana.org/

Õ*[7]

[3]

²`, dÔða: Amazon Web Service t½l`| ¤ËÉ»89>L®Ê,"ó­&­£í*ÃÈ  Ô
)

PodCast ?X:q-óÞàÖ>2r»eÃÈ}
pp.143-150 (2007)

9@wWeb >29@k°W¬ÌWîÙ-yÐ* Web 2.0 7XE9-©Wº*[8][9]

[4]

 Web 2.0 .HR5X8PVyÐ-*ñ, pp.135-142 (2005)
[5]

Û*

Annotations about Listeners' Preferences and­£M:?X:-t½* Web 2.0 .HR5X

Situations (AXMEDIS Conference 2005)

8PV- 2 ÜfY¢ l`¥ó­ CD[6]) Amazon  Gracenote  Web 7XE9-t½ªn, ëÄ, ­£*¯Úæó­.C>X8PV89>L, r»­£M:?X:-x*%*)eß Ý Vol.48, No.1, pp.258-273 (2007)+­£M:?X: ?X:IX9woìW¬[7]

Ì-yÐ*7XDr» 

ó·ÂÆ, ò¨÷], úeb Zt½yÐ­
á7XE9©, r»eÃÈ}è*

2007-MUS-69, pp.45-50 (2007)

{ DX6XARX;-³½*[8]u¹( ?X:IX9®Ê * ÄÞ ÔÁ, Î¢µ, ±¶´Yå, PodCastle ©: óÞàÃÈ 2.0 -À, r*»eÃÈ} 2007-HI-122, pp.35-40 (2007)%Y¢ Web2.0 .HR5X8PV GPS [9]ó­HTXN-Í#{,ïÏxøêâù

Î¢µ, ÔÁ, ±¶´Yå, PodCastle º: Web2.0  óÞàÐ|Z­£M:?X:-Ïxøêâùp?

, r»eÃÈ}

X:-¾éWÓÇ GoogleMaps pî

2007-HI-122, pp41-46 (2007)ÙW¬Ì  *%*º¸ ×ÅW¬Ì
0V:F1X9r» \%§¿89>Lvf ~õ$0V:F1X9Òp`?X:ÓÇö-ç ^*b +)7XE9-YÑoì*zKatsuhiko Kaji, Keiji Hirata, Katashi Nagao, AMusic Recommendation System Based onÒ Ø*%ó­ CD

_i[, §«ãj: À4SXH6K
OB5X8PV, 0V:Q38PV 2005 ß+)ÃÈ óôM?/.6V>V=-½

5.

2007-UBI-13,

Web2.0 .HR5X8PVvf* 6KOB5X8PV=XS%³½
 *(*-¦*pc Web89>L)J<8O.<H¡7XE
9&hm-¼#s¢|!ä$' 

8