2011 splc-using multiple feature models to design applications for mobile phones
description
Transcript of 2011 splc-using multiple feature models to design applications for mobile phones
![Page 1: 2011 splc-using multiple feature models to design applications for mobile phones](https://reader034.fdocuments.us/reader034/viewer/2022042714/553884304a79593a698b47ce/html5/thumbnails/1.jpg)
発表論文
• タイトル
「Using Multiple Feature Models
to Design Applications for Mobile Phones」
(携帯電話向けアプリケーションを設計するために
複数のフィーチャモデルを使用)
• 著者– Clément Quinton, Sébastien Mosser,Carlos Parra,
Laurence Duchien
• 出典– 15th International Software
Product Line Conference
(SPLC 2011) 0
year accept rate
2009 30%
2010 31%
2011 29%
![Page 2: 2011 splc-using multiple feature models to design applications for mobile phones](https://reader034.fdocuments.us/reader034/viewer/2022042714/553884304a79593a698b47ce/html5/thumbnails/2.jpg)
• 携帯電話のドメインだから
→ 先週のゼミで携帯電話のドメインが
再利用に向いている感じになったから
• SPLCには未来がある
→ SPLに特化した、未完成の新技術が多そう
選定理由
1
![Page 3: 2011 splc-using multiple feature models to design applications for mobile phones](https://reader034.fdocuments.us/reader034/viewer/2022042714/553884304a79593a698b47ce/html5/thumbnails/3.jpg)
概要
• 目的
→ スマートフォンのソフトウェアとデバイスの可変性を
対応付けるため
• 手法
→ ソフトウェアのフィーチャモデルから機能選択を行い、
共通機能のクラス図に対応付ける
→ 対応付けられたクラス図から、
必要なコード箇所とデバイスを導出
• 結論
→ スマートフォンとそのデバイスの本質的な変動に
役立つという結果を示した2
![Page 4: 2011 splc-using multiple feature models to design applications for mobile phones](https://reader034.fdocuments.us/reader034/viewer/2022042714/553884304a79593a698b47ce/html5/thumbnails/4.jpg)
スマートフォンのフィーチャモデル1
FMmobiCRM
• CRM:ITを使い顧客を管理・サポート
(スマートフォン上でいつでもどこでも)
3
![Page 5: 2011 splc-using multiple feature models to design applications for mobile phones](https://reader034.fdocuments.us/reader034/viewer/2022042714/553884304a79593a698b47ce/html5/thumbnails/5.jpg)
スマートフォンのフィーチャモデル2
FMdevice
• デバイスによって使える機能が違う(例:ビデオ通話は前面カメラがないiPhone3では使えない)
→ 機能選択時に、必要なデバイスも特定したい 4
![Page 6: 2011 splc-using multiple feature models to design applications for mobile phones](https://reader034.fdocuments.us/reader034/viewer/2022042714/553884304a79593a698b47ce/html5/thumbnails/6.jpg)
提案手法の概要
5
フィーチャモデルとクラス図を対応
機能とデバイスのギャップを解消
使えるデバイスの判別
![Page 7: 2011 splc-using multiple feature models to design applications for mobile phones](https://reader034.fdocuments.us/reader034/viewer/2022042714/553884304a79593a698b47ce/html5/thumbnails/7.jpg)
スマートフォンの共通機能のクラス図AppliDEメタモデル
6
GUI Control Data
![Page 8: 2011 splc-using multiple feature models to design applications for mobile phones](https://reader034.fdocuments.us/reader034/viewer/2022042714/553884304a79593a698b47ce/html5/thumbnails/8.jpg)
フィーチャモデルとクラス図を対応1
7
• 名前ベースのマッチング
![Page 9: 2011 splc-using multiple feature models to design applications for mobile phones](https://reader034.fdocuments.us/reader034/viewer/2022042714/553884304a79593a698b47ce/html5/thumbnails/9.jpg)
フィーチャモデルとクラス図を対応2
8
• 選択された機能に対応するクラス図を抽出
![Page 10: 2011 splc-using multiple feature models to design applications for mobile phones](https://reader034.fdocuments.us/reader034/viewer/2022042714/553884304a79593a698b47ce/html5/thumbnails/10.jpg)
機能とデバイスのギャップを解消
• 3人のアクタが区別
9
![Page 11: 2011 splc-using multiple feature models to design applications for mobile phones](https://reader034.fdocuments.us/reader034/viewer/2022042714/553884304a79593a698b47ce/html5/thumbnails/11.jpg)
実装
• フィーチャモデルはFAMILIARで
• コードはAcceleoテンプレートで
10
![Page 12: 2011 splc-using multiple feature models to design applications for mobile phones](https://reader034.fdocuments.us/reader034/viewer/2022042714/553884304a79593a698b47ce/html5/thumbnails/12.jpg)
検証
• MobiCRMには360パターンの可変性がある
• そのうち120パターンはiPhone3では使えないことがわかった
• コード1500行の完全に機能するシステムができた
11
![Page 13: 2011 splc-using multiple feature models to design applications for mobile phones](https://reader034.fdocuments.us/reader034/viewer/2022042714/553884304a79593a698b47ce/html5/thumbnails/13.jpg)
まとめ
スマートフォンの機能選択では
使用するデバイスも考慮する必要がある
フィーチャモデルからクラス図に変換し、
そこから必要なコードとデバイスを特定
スマートフォンとそのデバイスの
本質的な変動に役立つという結果を示した12
![Page 14: 2011 splc-using multiple feature models to design applications for mobile phones](https://reader034.fdocuments.us/reader034/viewer/2022042714/553884304a79593a698b47ce/html5/thumbnails/14.jpg)
私見
• 長所
–クラス図を使い
「どうやって、コードレベルに橋渡しするか?」を解決
• 短所
–既存システムのクラス図が必要
–機能同士の依存・競合が発生しそう
–デバイスの選択は人手なのか?13