[1] Web ( ) Web Web [2] Web Web (RuCAS, Rule based management framework for -Aware Services) [3] 5 (WebServiceLayer, AdapterLayer, Layer, Layer, ECARu

Similar documents
B HNS 7)8) HNS ( ( ) 7)8) (SOA) HNS HNS 4) HNS ( ) ( ) 1 TV power, channel, volume power true( ON) false( OFF) boolean channel volume int

1. HNS [1] HNS HNS HNS [2] HNS [3] [4] [5] HNS 16ch SNR [6] 1 16ch 1 3 SNR [4] [5] 2. 2 HNS API HNS CS27-HNS [1] (SOA) [7] API Web 2

1., 1 COOKPAD 2, Web.,,,,,,.,, [1]., 5.,, [2].,,.,.,, 5, [3].,,,.,, [4], 33,.,,.,,.. 2.,, 3.., 4., 5., ,. 1.,,., 2.,. 1,,

P1: P2: P3: P4: P1 P3 API Scallop4SC API [3] P1 P2 Hadoop [4] HBase [5] Scallop4SC HBase HBase Key Value Hadoop Scallop4SC P3 P4 API 2 API API

THE INSTITUTE OF ELECTRONICS, INFORMATION AND COMMUNICATION ENGINEERS TECHNICAL REPORT OF IEICE.

[4] [5] MashMap MashMap (LLCDM) [6] [7] DB DB MashMap MashMap Google Map MashMap MashMap MashMap LLCDM 5W1H(When, Where, Who, What, Why, How) LLCDM Ma

7,, i

Web Web Web Web Web, i

Social Intelligence []... [] ( ) ( ) 一 般 の 情 報 他 人 の 情 報 人 コンテキスト 付 与 ソーシャル メディアの 普 及 により 受 け 手 は 自 分 の 認 識 を 発 信 機 械 コンテキスト 分 析 私 の 情 報 神 沼 靖 子, 内 木

ï\éÜA4*

, IT.,.,..,.. i

Web Basic Web SAS-2 Web SAS-2 i

Web Web Web Web i

揃 Lag [hour] Lag [day] 35

DEIM Forum 2009 B4-6, Str

i

2 : Open Clip Art Library [4] Microsoft Office PowerPoint Web PowerPoint 2 Yahoo! Web [5] SlideShare Yahoo! Web Yahoo! Web

Vol. 42 No. SIG 8(TOD 10) July HTML 100 Development of Authoring and Delivery System for Synchronized Contents and Experiment on High Spe

3D UbiCode (Ubiquitous+Code) RFID ResBe (Remote entertainment space Behavior evaluation) 2 UbiCode Fig. 2 UbiCode 2. UbiCode 2. 1 UbiCode UbiCode 2. 2

,,,,., C Java,,.,,.,., ,,.,, i

浜松医科大学紀要

Table 1. Assumed performance of a water electrol ysis plant. Fig. 1. Structure of a proposed power generation system utilizing waste heat from factori

IPSJ SIG Technical Report Vol.2014-EIP-63 No /2/21 1,a) Wi-Fi Probe Request MAC MAC Probe Request MAC A dynamic ads control based on tra

THE INSTITUTE OF ELECTRONICS, INFORMATION AND COMMUNICATION ENGINEERS TECHNICAL REPORT OF IEICE {s-kasihr, wakamiya,

大学における原価計算教育の現状と課題

Web Web ID Web 16 Web Web i

WebRTC P2P Web Proxy P2P Web Proxy WebRTC WebRTC Web, HTTP, WebRTC, P2P i

paper.dvi

Web ( ) [1] Web Shibboleth SSO Web SSO Web Web Shibboleth SAML IdP(Identity Provider) Web Web (SP:ServiceProvider) ( ) IdP Web Web MRA(Mail Retrieval

1 1 tf-idf tf-idf i

25 About what prevent spoofing of misusing a session information

, i

API SCORM e-learning SCORM Sharable Content Object Reference ModelSCORM e-learning e-learning SCORM SCORM SCO LMS SCORM SCORM HTML XML JavaScript SCO

1_26.dvi

HP cafe HP of A A B of C C Map on N th Floor coupon A cafe coupon B Poster A Poster A Poster B Poster B Case 1 Show HP of each company on a user scree

<95DB8C9288E397C389C88A E696E6462>

Virtual Window System Virtual Window System Virtual Window System Virtual Window System Virtual Window System Virtual Window System Social Networking

& Vol.5 No (Oct. 2015) TV 1,2,a) , Augmented TV TV AR Augmented Reality 3DCG TV Estimation of TV Screen Position and Ro

P2P Web Proxy P2P Web Proxy P2P P2P Web Proxy P2P Web Proxy Web P2P WebProxy i

DTN DTN DTN DTN i

21 Key Exchange method for portable terminal with direct input by user

1 Fig. 1 Extraction of motion,.,,, 4,,, 3., 1, 2. 2.,. CHLAC,. 2.1,. (256 ).,., CHLAC. CHLAC, HLAC. 2.3 (HLAC ) r,.,. HLAC. N. 2 HLAC Fig. 2

IPSJ SIG Technical Report Vol.2011-EC-19 No /3/ ,.,., Peg-Scope Viewer,,.,,,,. Utilization of Watching Logs for Support of Multi-

NINJAL Research Papers No.3

4.1 % 7.5 %

1 2 3 ( ) ( ) SNS SNS Facebook %[g]( %[ ]) [ ] IT LNS (Life Networking Service) LNS LNS LNS SNS SNS 3. LNS (Life Networking S

,,.,.,,.,.,.,.,,.,..,,,, i

Trial Study to Aggregate the Flow of Relief Funds for the Great East Japan Earthquake: Matrix of Relief Fund Inflow and Outflow Abstract The 2011 Grea

1 Web [2] Web [3] [4] [5], [6] [7] [8] S.W. [9] 3. MeetingShelf Web MeetingShelf MeetingShelf (1) (2) (3) (4) (5) Web MeetingShelf


IT,, i

Webサービス本格活用のための設計ポイント

2 ( ) i

09_加藤_紀要_2007

29 jjencode JavaScript

Vol. 48 No. 3 Mar PM PM PMBOK PM PM PM PM PM A Proposal and Its Demonstration of Developing System for Project Managers through University-Indus

THE INSTITUTE OF ELECTRONICS, INFORMATION AND COMMUNICATION ENGINEERS IEICE Technical Report IN ( ),

untitled

授受補助動詞の使用制限に与える敬語化の影響について : 「くださる」「いただく」を用いた感謝表現を中心に

3_39.dvi

WebRTC P2P,. Web,. WebRTC. WebRTC, P2P, i



ネットワーク化するデジタル情報家電の動向

Table 1 Table 2

IPSJ SIG Technical Report Vol.2014-IOT-27 No.14 Vol.2014-SPT-11 No /10/10 1,a) 2 zabbix Consideration of a system to support understanding of f

IPSJ SIG Technical Report Vol.2016-CE-137 No /12/ e β /α α β β / α A judgment method of difficulty of task for a learner using simple

20 Method for Recognizing Expression Considering Fuzzy Based on Optical Flow

, : GUI Web Java 2.1 GUI GUI GUI 2 y = x y = x y = x

P2P P2P Winny 3 P2P P2P 1 P2P, i

DPA,, ShareLog 3) 4) 2.2 Strino Strino STRain-based user Interface with tacticle of elastic Natural ObjectsStrino 1 Strino ) PC Log-Log (2007 6)

ID 3) 9 4) 5) ID 2 ID 2 ID 2 Bluetooth ID 2 SRCid1 DSTid2 2 id1 id2 ID SRC DST SRC 2 2 ID 2 2 QR 6) 8) 6) QR QR QR QR


untitled

10_細川直史.indd

一般社団法人電子情報通信学会 THE INSTITUTE OF ELECTRONICS, INFORMATION AND COMMUNICATION ENGINEERS THE INSTITUTE OF ELECTRONICS, INFORMATION AND COMMUNICATION ENGIN

1 Table 1: Identification by color of voxel Voxel Mode of expression Nothing Other 1 Orange 2 Blue 3 Yellow 4 SSL Humanoid SSL-Vision 3 3 [, 21] 8 325

36 Theoretical and Applied Linguistics at Kobe Shoin No. 20, 2017 : Key Words: syntactic compound verbs, lexical compound verbs, aspectual compound ve

パナソニック技報

( ) [1] [4] ( ) 2. [5] [6] Piano Tutor[7] [1], [2], [8], [9] Radiobaton[10] Two Finger Piano[11] Coloring-in Piano[12] ism[13] MIDI MIDI 1 Fig. 1 Syst

経済論集 45‐1(よこ)(P)☆/2.李

IPSJ SIG Technical Report Vol.2010-GN-74 No /1/ , 3 Disaster Training Supporting System Based on Electronic Triage HIROAKI KOJIMA, 1 KU

DEIM Forum 2009 C8-4 QA NTT QA QA QA 2 QA Abstract Questions Recomme

16_.....E...._.I.v2006

”Лï−wŁfl‰IŠv‚æ89“ƒ/‚qfic“NŸH

Takens / / 1989/1/1 2009/9/ /1/1 2009/9/ /1/1 2009/9/30,,, i

On the Wireless Beam of Short Electric Waves. (VII) (A New Electric Wave Projector.) By S. UDA, Member (Tohoku Imperial University.) Abstract. A new e

IPSJ SIG Technical Report Vol.2014-CE-127 No /12/7 1,a) 2,3 2,3 3 Development of the ethological recording application for the understanding of


Microsoft Word - toyoshima-deim2011.doc

fiš„v5.dvi

A Study on Throw Simulation for Baseball Pitching Machine with Rollers and Its Optimization Shinobu SAKAI*5, Yuichiro KITAGAWA, Ryo KANAI and Juhachi

05_fuke.indd


Windows Azure Platformを活用したPaaSサービス:FGCP/A5

Vol.54 No (July 2013) [9] [10] [11] [12], [13] 1 Fig. 1 Flowchart of the proposed system. c 2013 Information

屋内ロケーション管理技術

wki_shuronn.pdf

人工知能学会研究会資料 SIG-FPAI-B Predicting stock returns based on the time lag in information diffusion through supply chain networks 1 1 Yukinobu HA

25 Removal of the fricative sounds that occur in the electronic stethoscope

Transcription:

Web 657 8501 1 1 E-mail: tktk@ws.cs.kobe-u.ac.jp, sachio@carp.kobe-u.ac.jp, {shinsuke,masa-n}@cs.kobe-u.ac.jp 一般社団法人 電子情報通信学会 信学技報 THE INSTITUTE OF ELECTRONICS, IEICE Technical Report INFORMATION AND COMMUNICATION ENGINEERS ISEC2013-70 LOIS2013-36 (2013-11) M2M Web Web ( ) 5 Web Event, Condition, ECA Java API Web Web ECA Implementing Execution Platform for Managing -Aware Services Based on Heterogeneous and Distributed Web Services Hiroki TAKATSUKA, Sachio SAIKI, Shinsuke MATSUMOTO, and Masahide NAKAMURA Kobe University Rokko-dai-cho 1 1Nada-kuKobeHyogo657 8501 Japan E-mail: tktk@ws.cs.kobe-u.ac.jp, sachio@carp.kobe-u.ac.jp, {shinsuke,masa-n}@cs.kobe-u.ac.jp Abstract With the spread of Machine-to-Machine (M2M) and cloud services, we have become to be able to use heterogeneous and distributed data. Implementation of the service which judges the context and controls autonomous from these data is expected. We have previously proposed the framework, which can create and manage in a unified manner context-aware services using heterogeneous and distributed Web services (sensor services, information system, state of appliance services and so on). The proposed framework consists of five layers and we define the context based on the data of the existing Web services, and then define the context-aware service by the ECA rule that is a set of event, condition and action. In this paper, we implement a platform based on the framework. The platform has the functions to register, delete, get and edit elements in each layer and to run the services. We implement these using Java, and publish APIs as the Web service. Key words Web services, context, event-condition-action rule, home network system, sensor services 1. M2M Web Web-API ( ) 71 This article is a technical report without peer review, and its polished and/or extended version may be published elsewhere. Copyright 2013 by IEICE

[1] Web ( ) Web Web [2] Web Web (RuCAS, Rule based management framework for -Aware Services) [3] 5 (WebServiceLayer, AdapterLayer, Layer, Layer, ECARuleLayer) ECARuleLayer (Event), (Condition), () ECA Web RuCAS RuCAS Platform Web API RuCAS Platform RuCAS Platform 2. 2. 1 Web Web M2M(Machine to Machine) Web M2M M2M Web Web API SOAP REST HTTP XML Web M2M Web 2. 2 (HNS) (HNS) TV HNS (SOA) HNS Web HNS CS27- HNS [4] CS27-HNS Web SOAP REST Web-API 6ch http://hns/tvservice/setchannel?channel=6 URL 2. 3 28 3. Web (Ru- CAS) RuCAS 72

ECARule Event when false true ECARuleLayer Layer AdapterLayer Adapter 1 Adapter Condition Do nothing then false then true ECA Event Condition 2 WebServiceLayer ON Layer RuCAS 3. 1 ECA (Event-Condition- Rule) ECA Event Condition ECA 1 RuCAS ECA Event: Condition: : 3. 2 RuCAS 2 RuCAS RuCAS ECA 5 (WebServiceLayer, AdapterLayer, Layer, - Layer, ECARuleLayer) ECARuleLayer ECA 3. 2. 1 WebServiceLayer Web Web Web 3. 2. 2 AdapterLayer Web API API getvalue() Adapter 3. 2. 3 Layer Adapter value > = 20 value Adapter (true) (false) Atomic( ) Compound() Atomic Compound Hot && HumidLayer (!, &&, ) 3. 2. 4 Layer Web Web 3. 2. 5 ECARuleLayer Layer Layer ECA Event false true Condition true Web 3. 3 RuCAS Web Adapter Adapter Web ECA 4. RuCAS Platform RuCAS RuCAS Platform RuCAS 3 RuCAS Platform 4. 1 Adapter Adapter RuCAS AdapterLayer endpoint, method getvalue() Web Web property getvalue() Adapter adapterid: Adapter ID 73

3 RuCAS Platform endpoint: Web method: Web API getvalue(): Web 4. 2 RuCAS Layer Atomic Compound interval run() run() Web expression resolve() eval() run() present present false true Event ECA notifyeca() contextid: ID type: (A) (C) expression: interval: () ecaarray: Event ECA present: eval(): run(): 4. 2. 1 Atomic Atomic RuCAS Atomic Adapter resolve() Adapter get- Value() value Atomic adapter: resolve(): Adapter value 4. 2. 2 Compound Compound RuCAS Compound expression children resolve() children resolve() contextid Conmpund children: resolve(): contextid 4. 3 RuCAS Layer Web url actionid: ID url: Web involeurl(): Web 4. 4 ECA ECA RuCAS ECA event false true notifyeca() notifyeca() condition 74

true action invokeurl() Web ECA event ecaarray ECA ECA ecaid: ID event: Event condition: Condition action: ECA notifyeca(): ECA 4. 5 RuCASManager RuCASManager RuCAS Platform RuCASManager RuCAS Platform API AdapterTemp API URL http://hns/rucasplatform/registeradapter?adapterid= Temp&description=&unit=&endpoint=http ://hns/temperaturesensorservice&method=getvalue&pro perty=return Web RuCAS- Manager ECA 4. 6 RuCAS Platform BSON MongoDB 3 3296 RuCAS Platform : Java 1.7.0 21 DB: MongoDB 2.4.3 Web : Apache Tomcat 7.0.39 Web : Apache Axis2 1.6.2 5. CS27-HNS RuCAS Platform CoolServiceCoolService ON Web : API API [5]: API : Web RuCAS Platform API /* Adapter */ registeradapter("temp", "", "" "http://.../temperaturesensorservice" "getvalue", "return"); registeradapter("humidity", "", "%" "http://.../humiditysensorservice" "getvalue", "return"); registeradapter("powerusageofkansai", " ", "kw" "http://...setsuden" "latestpowerusage?appid=...&area=kansai", {"Usage", "Capacity"}); /* */ registercontxt("hot", "A", "", " 28 ", "value>=28", 5000, "Temp", "return"); registercontxt("humid", "A", "", " 75% ", "value>=75", 5000, "Humidity", "return"); registercontxt("muggy", "C", "", "", "Hot&&Humid", 5000, "", ""); registercontxt("powerstable", "A", "", " ", "value<=18000000", 1800000, "PowerUsageOfKansai", "Usage"); /* */ register("coolingon", "http://.../iremoconservice/sendirsignal?...", " ON "); /* ECA = */ registereca("coolservice", "Muggy", "PowerStable", "CoolingOn", " ON ", 0); API 28 75% 1800 kw ON RuCAS Platform 20 CoolService Hot 25 Humid 27% 4 2013 11 2 8 20 Event Muggy Hot Humid Humid Hot 12 25 Event Muggy Condition PowerStable CoolingOn ON RuCAS Platform API CoolService 75

Temperature in S101 on 2013-11-02 () 26 25.5 Hot value >= 25 25 24.5 24 23.5 23 22.5 22 8 9 10 11 12 13 14 15 16 17 18 19 20 () Humidity in S101 on 2013-11-02 (%) 35 34 33 32 31 30 29 28 Humid value >= 27 27 26 8 9 10 11 12 13 14 15 16 17 18 19 20 () Power Usage of Kansai on 2013-11-02 (kw) 2000 1900 1800 PowerStable value <= 18,000,000 1700 1600 1500 1400 1300 1200 8 9 10 11 12 13 14 15 16 17 18 19 20 () 4 2013 11 2 6. 4 16 19 Event true false false true α false Hot false true value> = 25value> = 25 + α OFF 5. CoolService CoolService ON OFF [6] RuCAS Platform RuCAS Platform RuCAS Platform RuCAS Platform 7. Web RuCAS Platform RuCAS Platform API RuCAS Platform RuCAS Platform API RuCAS Platform RuCAS Platform C 24500079, B 23300009 [1] vol.108 no.290pp.15 20Nov. 2008 [2] vol.108no.458pp.381 386March 2009 [3] web vol.113no.245 pp.1 6Oct. 2013 [4] M. Nakamura, A. Tanaka, H. Igaki, H. Tamada, and K. Matsumoto, Constructing home network systems and integrated services using legacy home appliances and web services, International Journal of Web Services Research, vol.5, no.1, pp.82 98, Jan. 2008. [5] Yahoo JAPAN Web API API, http:// developer.yahoo.co.jp/webapi/shinsai [6] vol.108no.462pp.007 012March 2009 76