2006 ( 18 )
2006 18 97 4% 42 0% 1. 2.
Abstract of Bachelor s Thesis Academic Year 2006 A Research on a Selection Technique of Appropriate Communication Path Based on User Context and Preferences Summary: This research proposes a method to choose the best scheme for receiving path that considers its situation and preference of communication service for the Internet commnucation The communication on the Internet has been diversified by the evolution of technologies and the transformation of user s demands A lot of users have a couple of communication devices like computers mobile phones and portable game devices And these devices provides e-mail instant messaging and other multiple communication services In case that both of a sender and a receiver are able to use same communication services the sender can choose one from those However, the receiver can not choose the most appropriate even multiple services are available To solve this issue we propose a new method to choose the most appropriate communication service depends on the inferred situation of the receiver Our method infer the situation of the receiver from the events from keyboards and mouses and the target application software To evaluate our method we implemented the prototype system which grabs input events and infers the situation We tried to evaluate this prototype with the evaluation experiment which subject users use the system in keeping with the proposed scenario We confirmed the system could achieve the high hit rate 97 4% with the scenario which the subject used the computer continuously while the hit rate is 42 0% for the scenario which includes periods without computer usages From these results we proved the effectiveness and problems of our proposed method which provides the appropriate communication service selection depends on the input events of the users Keywords: 1 Unified Messaging 2 Context awareness Keio University Yusuke Okumura
1 1 1.1.................................... 1 1.2................................. 1 1.3................................. 2 2 3 2.1................................ 3 2.2....................... 3 2.2.1........................... 3 2.2.2.............................. 6 2.2.3......................... 7 2.3....................... 8 3 10 3.1 Tangible Chat................................. 10 3.2 Sentient Computing Project.......................... 11 3.3 MIRAI..................................... 11 3.4 EAPEC..................................... 12 4 13 4.1............................ 13 4.2..... 14 4.3................................ 14 5 15 5.1.................... 15 5.2................... 15 5.3....................... 16
5.3.1........................ 16 5.3.2........................ 16 5.4................... 17 5.4.1......................... 18 5.4.2................. 18 6 20 6.1.................................... 20 6.2.......................... 21 6.2.1...................... 21 6.2.2..................... 22 6.3......................... 22 6.3.1............. 23 6.3.2............... 23 6.4................. 23 7 26 7.1................................ 26 7.2.................................... 26 7.3..................... 27 7.3.1........................ 27 7.3.2 DLL............................... 28 7.3.3.......................... 28 7.4...................... 28 7.5.............................. 29 7.6.......................... 30 7.7......................... 31 8 33 8.1.................................... 33 8.2.................................... 34 8.2.1 A................................ 35 8.2.2 B................................ 36 8.2.3 C................................ 37 8.3................................ 38 8.3.1............... 38
8.3.2...................... 38 9 40 9.1..................................... 40 9.2................................... 41 9.2.1.................... 41 9.2.2......................... 41 9.2.3................... 41 43
2.1............................ 6 2.2....................... 6 2.3................. 7 5.1..................... 16 5.2.................... 17 6.1................................... 20 6.2.............................. 22 6.3................................. 24 6.4.............................. 25 7.1................................... 27 7.2................... 28 7.3.............. 29 7.4........................... 30 7.5......................... 31 7.6...................... 32 8.1......................... 34 8.2 A............................. 35 8.3 B............................. 36 8.4 C............................. 37
5.1........................... 18 6.1..................... 23 8.1.................................... 34
1 1 1.1, E-mail, IP(Internet Protocol) E-mail IP, IP, 1.2,
1 2 1.3 9 2 3 4 3 5 6 7 8 9
3 2 2.1, E-mail, 2.2, 2.2.1
2 4 PC PC PC, PC, PC, PC,, PC, PC PC PC PC USB [6][7] PC PC USB, PC USB PC PC PC PC PHS [10][11],
2 5 [5][12] PC PC PC PC PC, OS( ), 89.6% [14] 2.1 E-mail, PDA (Personal Digital Assistant) PDA(Personal Digital Assistant) PDA Smartphone PDA OS OS LAN Smartphone,
2 6 %! 2.1 9.2 1,155 13.4 1,649 21.4 2,706 37.1 4,708 44.0 5,593 54.5 6,942 60.6 62.3 7,730 7,948 66.8 8,529 % 9 10 11 12 13 14 15 16 17 2.2 PDA, PDA 2.2.2 17 [14], 8529 2.2
2 7 %&')(*+ $,, -! " # $. /0%0&.')(*0+ 102 3 4 ", # 4 5 5 /0%0&.'0(0*+102 %&.')(0*+ 5 2.3 67% 2.2, 2.3 2.3 PC PHS 2.2.3 E-mail E-mail PC E-mail SMTP,
2 8 E-mail PC E-mail E-mail (IM),, (IM) IM,, IM MSN Messenger[3] Yahoo!Messenger[8], IM 2.3, E-mail E-mail
2 9 IM PC,
10 3 2, 4,, 3.1 Tangible Chat Tangible Chat[15],, TangibleChat,,
3 11, 3.2 Sentient Computing Project Sentient Computing Project[1], Sentient Computing Project Bat Bat Bat,, 3.3 MIRAI, MIRAI [13] 802 11a/b/g PHS 3G MIRAI, ( / ) MIRAI MIRAI MIRAI
3 12, 3.4 EAPEC, EAPEC: Environment-Adaptive Personal Communicaions [9], ( )
13 4 3 4.1, 3 MIRAI, ( / ) PC 3 Sentient Computing Project TangibleChat SentientComputingProject, TangibleChat,
4 14 4.2 2 3 MIRAI MIRAI EAPEC 4.3, SentientCoumputingProject, Bat, Bat TangibleChat,,
15 5 4,, 5.1 5.2 4,, 2, PC PC PDA 3
5 16,,, 2006/11/15,15:25:57:887, C:\Program Files\Mozilla Firefox\firefox exe, MOUSE_L_CLK 5.1 2 5.3 5.3.1 5.1 2006/09/19-2006/11/30 391619 5.3.2
5 17 1 TeraTermPro 130688 2 Firefox 126640 3 PowerPoint 42137 4 MsnMessenger 35581 5 23755 6 devenv exe 22452 7 LimeChat 10213 8 Explorer exe 5755 9 5636 10 Word 1982 11 InternetExplorer 1965 12 Excel 1727 13 bluewind 1363 14 xyzzy 840 5.2 14 15 14, 87 9% 5.2 15, 5.4
5 18 Web E-mail Chat Music Movie Game Edit Terminal Firefox InternetExplorer Opera Thunderbird Becky OutlookExpless MSN Messenger LimeChat Winamp foobar2000 WindowsMediaPlayer VLC WinDVD Starcraft Warcraft3 solitaire Notepad xyzzy Word PowerPoint Illustrator Teraterm Putty 5.1 5.4.1 8 10 PC, 5.1 PC, 5.4.2 2 1
5 19 Edit Game, 2 5.1 Edit Music Edit,
20 6 6.1 6.1, "!$#"%'& (*) *+,.- / 0 13254 6-7 8 - +,.- 6.1
6 21 6.2 6.2.1,, a-z A-Z 0-9 F1-F12 Ctrl Alt Esc Tab / NumLock Pause, 6.2
6 22!"# $%&'() *+ ),- 46587 9;:;< 2006/12/14, 01:23:45, D.EXE, MOUSE_CLICK.RIGHT EDIT 0 213. / A.EXE WEB 0 13 B.EXE WEB >@? 13. / C.EXE = / D.EXE 6.2 6.2.2 3 6.1 6.3
6 23 Web E-mail Chat Music Movie Game Edit Terminal 6.1 6.3.1, 6.3.2, 6.4 6.3 6.3
6 5 6 24 798;:=<?> @BA=CED F9G H,I#J,KML! " #$ &% '() *,+ -/.10/1 2 34 6.3, 6.4 1. Edit 2. Edit 3. 4. Chat 5. 6. IM Mail IM > Mail >
5? D E & 6 25 1 2 Edit 3 4 mail!!"!# Chat IM mail $ %'& ()+*-,/.-0 Game Music IM mail @BAC IM mail 6 087 9:/;=<> 6.4
26 7 7.1, Windows [2] WindowsXP VisualStudio Net[4] C++ 7.2 7.1,
O 7 27 prqtsiuvw 8:9;=<>$?A@ B 3465 "7 xaytz { } ~ v "IJ >LK%M CEDEFHG 3465 "7 U VWX Y U Z[]\_^ `]a b cd U ef gih j k]lmin `]o %#%*&N @ B 3465 "7 (*)*+%,.- /%0*1%2 3465 "7 ƒ ƒ ˆ Š Œ Ž %P*Q%R*S%T 3465 "7 œ q "!$#%%&' r i šh Œ Ž r ƒ Š Œ Ž 7.1,,, 7.3 7.3.1 Windows
7 28 SetWindowsHookEx (WH_KEYBOARD SetWindowsHookEx (WH_MOUSE 7.2, Windows Windows, 7.3.2 DLL DLL(Dynamic Link Library) DLL Windows DLL DLL DLL DLL 7.3.3 SetWindowsHookEx() 7.2 7.4,
7 29 hwnd = GetForegroundWindow(); GetWindowThreadProcessId( hwnd &ActiveProcessId); hprocess = OpenProcess(PROCESS_QUERY_INFORMATION PROCESS_VM_READ FALSE ActiveProcessId); EnumProcessModules(hProcess ModuleHandles 1024 &RetSize); for() GetModuleFileNameEx(hProcess ModuleHandles[0], FileName BUFSIZE); 7.3, GetForegroundWindow() GetWindowThreadProcessId() OpenProcess() EnumProcessModules() GetModuleFileNameEx() 7.3 7.5, 7.4 FunctionInfo, EventHistoryList
7 30 struct FunctionInfo{ char *FuncName; // int Doing; // struct App *AppList; // int TermSecond; // int Threshhold; // struct EvntHistory *EventHistoryList; // int EventHistoryNum; // struct Service *ServiceList; // struct FunctionInfo *next; struct FunctionInfo *back; } 7.4 7.4 7.5 EventHistory App Service 7.6 FunctionInfo EventHistoryList TermSecond Threshhold 7.6
7 31 struct EventHistory{ time_t tm_t; int EventNum; struct EventHistory *next; struct EventHistory *back; }; struct App { char *Appname; struct App *next; struct App *back; }; struct Service { char *ServiceName; struct Service *next; struct Service *back; }; 7.5 7.7, FunctionInfo FunctionInfo,,
7 32 time_t tm_t; int Totalcount; struct FunctionInfo *fi_p; struct EventHistory *eh_p; tm_t = time(null); for ( fi_p = fi_root; fi_p!=null; fi_p=fi_p->next){ if (fi_p->eventhistorylist == NULL) continue; Totalcount=0; for (eh_p = fi_p->eventhistorylist; eh_p->next!=null; eh_p=eh_p->next){ } while (fi_p->termsecond > (int)difftime(tm_t eh_p->tm_t)){ Totalcount = Totalcount + eh_p->eventnum; eh_p = eh_p->back; if (eh_p==null) break; } } if (Totalcount >= fi_p->threshhold){ fi_p->doing = DOING; }else{ fi_p->doing = NOT_DOING; 7.6
33 8 8.1,,, 8.1,,,,
8 34 - : : : : Edit:120:70:TeraPad exe,winword EXE,EXCEL EXE,POWERPNT EXE:Mail Terminal:120:30:ttermpro exe,putty exe:mail Chat:300:50:MsnMsgr Exe,IPMSG exe:im 8.1 1: A 42.0% 512 Mail 2: A 66.2% 135 IM 3: A 94.0% 54 IM 4: B 92.5% 55 IM 5: B 56.8% 48 Mail 6: IM B 0.0% - IM 7: C 97.4% 23 Mail 8.1 8.2, A B C 8.1 100
8 35 Edit:120:70:TeraPad exe,winword EXE,EXCEL EXE,POWERPNT EXE:Mail Terminal:120:30:ttermpro exe,putty exe:mail Chat:300:50:MsnMsgr Exe,IPMSG exe:im Mail:600:20:B2 exe:im,mail Web:60:10:FIREFOX EXE,IEXPLORE EXE:IM,Mail Movie:180:10:wmplayer exe:im,mail Game:120:20:spider exe:im,mail Music:180:10:winamp exe:im,mail 8.2 A,,. 6,, -.,. 8.2.1 A A 8.2 1: 1 : Mail A A : 42 0% : 512 2: 2 : IM A Web : 66 2%
8 36 Edit:120:70:xyzzy exe,notepad exe,winword EXE,EXCEL EXE,POWERPNT EXE :Mail Mail:600:20:thunderbird exe:mail,im Chat:300:50:MsnMsgr Exe,LimeChat exe:im,mail Terminal:120:30:ttermpro exe,putty exe:mail Web:60:10:firefox exe,iexplore EXE,iexplore exe:im,mail,voip Game:120:20:sol exe,winmine exe:mail Movie:180:10:vlc exe,wmplayer exe:mail Music:180:10:winamp exe:mail,im,voip 8.3 B : 135 3: 3 : IM E-mail A, A, Web A Web : 94 0% : 54 8.2.2 B B 8.3 4: 4 : IM B B Web : 92 5%
8 37 Game:120:20:system4 0 exe,winmine exe:mail Edit:120:70:xyzzy exe,winword EXCEL EXE,POWERPNT EXE,notepad exe :Mail,IM,VoIP Terminal:120:30:ttermpro exe,putty exe:mail Web:60:10:IEXPLORE EXE:IM,Mail,VoIP Movie:180:10:mplayerc exe:mail Chat:300:50:MsnMsgr Exe:IM,Mai,VoIP Mail:600:20:B2 exe:mail,im,voip Music:180:10:mplayerc exe:mail,im 8.4 C : 55 5: 5 : Mail B Web : 56 8% : 48 6: 6 : IM IM B IM : 0 0% : - 8.2.3 C C 8.4
8 38 7: 7 : Mail C, web : 97 4% : 23 8.3 8.3.1 3 7 web web 3 94 0% 7 97 4% 2 4 web 2 66 2% 4 92 5% 1 42% 8.3.2 6 6 IM 0% 0 IM
8 39 Chat IM Chat Game Game Mail Chat IM Chat Chat Game Game Game,
40 9 9.1,, 97 4% 42 0%,,
9 41 9.2 9.2.1, 1, 9.2.2 6 IM Chat, Game IM Mail, 0 0% 9.2.3
42,, SING, 3 2007 1 24
43 [1] M. Addlesee, R. Curwen, S. Hodges, J. Newman, P. Steggles, A. Ward, A. Hopper, J. Weatherall, A. Jones, G. Girling, et al. Implementing a Sentient Computing System. IEEE Computer Magazine, Vol. 34, No. 8, pp. 50 56, August 2001. [2] Microsoft Corporation. Microsoft Windows. [3] Microsoft Corporation. MSN Messenger. [4] Microsoft Corporation. Visual Studio. [5] NTT. LAN. [6] USB Implementers Forum, Inc. USB Spec., Rev. 1.1. [7] USB Implementers Forum, Inc. USB Spec., Rev. 2.0. [8] Yahoo! Japan. Yahoo!. [9],., May 2002. [10]. WILLCOM. [11]. PHS NTT. [12]. LAN. [13],,,,.., Vol. 46, No. 9, pp. 2236 2249, September 2005. [14]. 17, May 2006. [15],,. TangibleChat, May 2003.