WuKong Project Report
PI: 林桂傑 Co-PI: 施吉昇, 王佑中
Master students: 李政勳, 周君哲, 趙守浩, 陳俊翰, 張振豪, 謝元崵
Summer intern: Kevin Chang
PhD student: 賴爾思
Assistant: 蔡博倫, 莊景棋
Progress in this month
AppStore is a new feature implemented in FBP editor. With this feature, FBP editor allows users to download application which may be designed by developers or customized for other users. All the applications on Appstore can be downloaded and installed by one click, same as installing applications on mobile devices nowadays. This innovative idea extends the concept of mobile application to IoT field, which enhances the manageability of IoT deployment from user’s perspective. In regard to mobile applications, WuKong IDE takes into account how to manage them, how to install/uninstall them and how to enable/disable them. Instead of reconfiguring whole system, those applications will be deployed incrementally based on different conflict resolution policies. Since it is very likely occurring confliction between deployed applications, we revise the mapper in WuKong IDE to resolve conflicts and integrate the applicatios into the system. This mapper will maintain the mapping results for WuMaster. After a new application is installed, WuMaster will generate a new mapping according to previous one and selected mapping rules. (The main mapping rules refer to minimize the number of affected devices, try to map to used devices, share the resources, and minimize the difference between deployment.) Then, the new mapping result will be used to produce individual dja file for each deployed device. Because the dja file of each device is unique rather than universal, applications can be added or removed dynamically.
Below are lists of work items accomplished to realize AppStore:
WuKong can dynamically add/remove applications without reconfigure all the devices.
WuKong allow the services to share the resources on the devices. The change can be done at any time even other applications are deployed and executed.
WuKong will adapt different mapping policies to meet the needs of different scenario. For example, better performance, less energy consumption.
(2) Face-to-face demonstration
To demonstrate how AppStore works in WuKong, we designed two demonstration scenarios. These scenarios are composed of several FBP applications which can be incrementally deployed to become a more complex one. The first scenario includes three actuators in different location and one binary sensor. The application is designed to illustrate how WuKong solve the resource sharing issue in different FBPs. The second scenario is called live orchestra. Each basic application represents a distinct instrument but plays the same track. People can choose and deploy which instrument they want through gesture camera. The application not only presents AppStore clearly, but also provides an interface to interact with users. In addition, it is appreciated to be benefited from the plan of Taiwan Tech Trek by 科技部 and Intel center so that we have summer intern to work together for this F2F demo. He was also awarded by Taiwan Tech Trek for the excellent performance in final presentation.
(3) Code development
For the F2F demo in August, we create a demo branch to build applications. In this branch, we revise the FBP editor, update the mapper, add gradle script, and implement several new WuClasses which include UserID, UserAware, MP3 player, Controller and Gesture sensor. UserID WuClass is designed as an interface to receive user id being detected from any possible solution such as smart slipper in ICS project; UserAware WuClass predefines the application preferences for each user; Controller WuClass contains a UDP client to synchronize MP3 Player’s operation; Gesture WuClass allows user to interact with IoT applications. Currently, all the code of demo branch has been merged back to the main develop branch. In addition to demo branch, implementation of multi-protocol transport network (MPTN) in V3 branch has been merged back to develop branch as well. With the features from V3 branch, we can build a WuKong FBP using both WuDevice and Intel Edison interchangeably.
(4) Intel Innovation Summit Demonstration (From Prof. Lin’s email)
We are preparing the demo plan for the October Intel Innovation Summit in Taipei. The idea is to port the toy house demo to a more realistic home setting using real furniture and with human sensing. We’re still brainstorming for the demo story; however, it is certain for several goals. First is that WuKong will use received UserID to change the setting in realtime when a user walks into space; next goal is that when multiple persons are in the same location, WuKong will detect who perform the action, identify whether there are conflicts, and use Model to resolve conflicts; third goal is that we hope that we can demo systems with more than 20 devices both Edison and WuDevices together.
Brief plan for the next month
The remainder topics in progress are (a) Conflict resolution and data visualization support in progression framework (b) FBP deployment with WuTiny (c) Integration of WuDevice and autonet device (d) End-to-end delay measurement in WuKong system (e) WuClass Icon design, which will be elaborated more in next month.