@techreport{oai:ipsj.ixsq.nii.ac.jp:00209689, author = {栗林, 健太郎 and 山崎, 進 and 力武, 健次 and 丹, 康雄 and Kentaro, Kuribayashi and Susumu, Yamazaki and Kenji, Rikitake and Yasuo, Tan}, issue = {32}, month = {Feb}, note = {IoT デバイスは多様な用途において増え続け,2030 年にはその数が 1250 億に達すると見込む調査報告がある.増え続ける多様な需要を満たすためには,IoT デバイスの開発効率の向上が必要であり,そのための開発プラットフォームが多数現れている.IoT デバイス内アプリケーションの開発において,開発者によるコードの変更を適用することで生じる動作の変更が意図した通りであるかどうかを確認するためには,変更内容をターゲットとなるデバイスへ適用し実際に動作させる必要がある.既存方式では,更新内容の生成および適用に加えて,デバイスの再起動に時間を要するため,迅速な開発サイクルの実現が困難である.本研究では,先行研究に基づきコードの変更をデバイスへ適用する方式について(1)ファームウェアイメージの全体を適用する方式,(2)ファームウェアイメージの差分を適用する方式,(3)アプリケーションコードを動的に適用する方式の 3 つに分類した.その上で,開発効率の向上を目的として(3)を動的な性質を持つ言語によって実装し得る方式として位置づけ直して提案するとともに実装し,各方式について更新に要する時間を比較検討した.その結果,提案方式は既存方式に比べて更新に要する時間が 95% 短くなった., Software development efficiency should be improved to meet the ever-increasing demand for IoT devices, which is expected to reach 125 billion by 2030. Application of the code changes to the target devices and running the code on the devices are necessary to check whether the behavioral changes caused by the code changes by the software developers in IoT applications are as intended. The existing method takes time to generate and apply the updated contents and restart the device, making it difficult to realize a rapid development cycle. In this study, we have classified the methods of the code changes application to the devices into three categories based on the previous research: (1) rewriting the entire firmware image; (2) updating by applying the differences in the firmware image; and (3) applying the application code dynamically. To improve the development efficiency, we proposed and implemented the third method as it can be implemented by a language with dynamic characteristics, and compared the time required to update each method. Our research results show that the proposed method reduces the required time for updating by 95% compared to the existing method.}, title = {IoTデバイス内アプリケーションの開発効率向上のためにコードの変更を動的に適用する方式の提案と実装}, year = {2021} }