Upgrade to Pro — share decks privately, control downloads, hide ads and more …

IoTデバイス内アプリケーションの開発効率向上のためにコードの変更を動的に適用する方式の提案と...

IoTデバイス内アプリケーションの開発効率向上のためにコードの変更を動的に適用する方式の提案と実装 / IPSJ SIGSE 207

第207回SE研究発表会-情報処理学会 http://www.ipsj.or.jp/kenkyukai/event/se207.html

Kentaro Kuribayashi

March 02, 2021
Tweet

More Decks by Kentaro Kuribayashi

Other Decks in Technology

Transcript

  1. ܀ྛ ݈ଠ࿠(GMOϖύϘגࣜձࣾ ϖύϘݚڀॴ/๺཮ઌ୺Պֶٕज़େֶӃେֶ), ࢁ࡚ ਐ(๺۝भࢢཱେֶ) , ྗ෢ ݈࣍(ྗ෢݈ٕ࣍ज़࢜ࣄ຿ॴ/GMOϖύϘגࣜձࣾ ϖύϘݚڀॴ). ୮

    ߁༤ (๺཮ઌ୺Պֶٕज़େֶӃେֶ) ൃදऀ: ܀ྛ݈ଠ࿠ / Pepabo R&D Institute, GMO Pepabo, Inc. 2021.03.01-02 ୈ207ճιϑτ΢ΣΞ޻ֶݚڀൃදձ IoTσόΠε಺ΞϓϦέʔγϣϯͷ։ൃޮ཰޲্ͷͨΊ ʹίʔυͷมߋΛಈతʹద༻͢ΔํࣜͷఏҊͱ࣮૷
  2. • IoTσόΠεΛߏ੒͢Διϑτ΢ΣΞ͸ӈ ਤͷ௨ΓͰ͋Δ[2]ɽຊݚڀ͕ର৅ͱ͢Δ ͷ͸IoTΞϓϦέʔγϣϯͰ͋Δɽ • IoTͷจ຺Ͱ͸ɼIoTΞϓϦέʔγϣϯ͸Τ ϯυϢʔβ޲͚ͷΞϓϦέʔγϣϯΛࢦ͢ ͕ɼ͜͜Ͱ͸IoT σόΠε಺ΞϓϦέʔ γϣϯΛIoTΞϓϦέʔγϣϯͱݺͿɽ

    ຊݚڀͷର৅ 6 ग़ॴ<>#BVXFOT + 13VDLFCVTDI 4(JBOOPVMJT *.PFSNBO BOE&%1PPSUFSl0WFSUIF"JS4PGUXBSF6QEBUFTJOUIF*OUFSOFUPG5IJOHT "O0WFSWJFXPG,FZ1SJODJQMFTz*&&&$PNNVOJDBUJPOT.BHB[JOF  r ຊݚڀͷର৅
  3. • IoTσόΠε͸ɼҰ౓഑උ͞Εͨޙ΋ܧଓతʹΞϓϦέʔγϣϯͷߋ৽͕ඞཁ Ͱ͋ΔɽҰํͰɼిݯ༰ྔ΍֬อɼϋʔυ΢ΣΞεϖοΫɼωοτϫʔΫଳҬ ౳ʹ੍͓͍ͯ໿ͷݫ͍͠؀ڥԼͰಈ࡞Λܧଓ͢Δඞཁ͕͋Δ[3]ɽ • ·ͨɼIoTσόΠε͸௚઀తʹΞΫηε͢Δ͜ͱ͕೉͍͠৔ॴʹ഑ஔ͞ΕΔ͜ ͱ΋ଟ͍ͨΊɼϦϞʔτ͔Βͷߋ৽ͱݕূ͕ՄೳͰ͋Δඞཁ͕͋Δ[4]ɽ 9 IoTσόΠε΁ͷίʔυมߋͷద༻ʹؔ͢Δ՝୊ <>/BSHFT:PVTFGOF[IBE

    "WMFFO.BMIJ BOE,BSZ'S „BNMJOH4FDVSJUZJOQSPEVDUMJGFDZDMFPGJPUEFWJDFT"TVSWFZ+PVSOBMPG/FUXPSLBOE $PNQVUFS"QQMJDBUJPOT 7PM Q %FDFNCFS <>4UFQIFO#SPXOBOE$PSNBD+4SFFOBO4PGUXBSFVQEBUJOHJOXJSFMFTTTFOTPSOFUXPSLT"TVSWFZBOEMBDVOBF+PVSOBMPG4FOTPSBOE "DUVBUPS/FUXPSLT 7PM /P QQr /PWFNCFS
  4. • ઌߦݚڀ͸ɼ։ൃऀʹΑΔίʔυͷมߋΛIoTσόΠεʹద༻͢Δํࣜͱͯ͠ɼҎԼͷදͷ௨ Γ੔ཧ͍ͯ͠Δʢ[5-6]ΑΓචऀ͕·ͱΊͨʣɽ • ϋʔυ΢ΣΞ΍ωοτϫʔΫ੍໿ͷڧ͍IoTσόΠεͷ࣮؀ڥ΁ͷ഑උޙͷߋ৽ํࣜʹண໨͠ ͍ͯΔͨΊɼಈతݴޠʹΑΔํࣜΛ࠾༻ෆՄͱ͍ͯ͠Δɽ 10 ઌߦݚڀʹΑΔίʔυมߋͷద༻ํࣜͷ੔ཧ ߋ৽ର৅ ֓ཁ

    ࠾༻Մ൱ εΫϦϓτݴޠʹΑΔίʔυ εΫϦϓτݴޠͷ࣋ͭಈతͳੑ࣭Λར༻ͯ͠ɼچ͍ίʔυΛ։ൃऀʹΑΔมߋޙͷ ৽͍͠ίʔυͰஔ͖׵͑Δɽ ✕ Ծ૝ػցͰಈ࡞͢ΔݴޠʹΑΔίʔυ Ծ૝ػցͰಈ࡞͢Δݴޠͷ࣋ͭಈతͳੑ࣭Λར༻ͯ͠ɼچ͍ίʔυΛ։ൃऀʹΑΔ มߋޙͷ৽͍͠ίʔυͰஔ͖׵͑Δɽ ✕ ϑΝʔϜ΢ΣΞΠϝʔδ ΞϓϦέʔγϣϯίʔυΛຒΊࠐΜͩϑΝʔϜ΢ΣΞΠϝʔδΛೖΕସ͑Δ͜ͱͰɼ ։ൃऀʹΑΔมߋޙͷ৽͍͠ίʔυΛద༻͢Δɽ ̋ ωΠςΟϒίʔυ΁ͷಈతϦϯΫ ։ൃऀʹΑΔมߋޙͷ৽͍͠ίʔυΛωΠςΟϒίʔυͱͯ͠഑ஔ͠ɼطଘͷίʔυ ͷϦϯΫઌΛಈతʹॻ͖׵͑Δɽ ̋ <>1FUFS3VDLFCVTDI &MJ%F1PPSUFS $BSPMJOB'PSUVOB BOE*OHSJE.PFSNBO(JUBS(FOFSJDFYUFOTJPOGPSJOUFSOFUPGUIJOHTBSDIJUFDUVSFTFOBCMJOHEZOBNJDVQEBUFTPGOFUXPSLBOEBQQMJDBUJPONPEVMFT"E)PD/FU XPSLT 7PM QQr +BOVBSZ <>1FUFS3VDLFCVTDI 4QJMJPT(JBOOPVMJT *OHSJE.PFSNBO +FSPFO)PFCFLF BOE&MJ%F1PPSUFS.PEFMMJOHUIFFOFSHZDPOTVNQUJPOGPSPWFSUIFBJSTPGUXBSFVQEBUFTJOMQXBOOFUXPSLT4JHGPY MPSBBOEJFFFH *OUFSOFUPG5IJOHT 7PM QQr
  5. • ϑΝʔϜ΢ΣΞΠϝʔδͷߋ৽ʹ͍ͭͯ͸ɼϑΝʔϜ΢ΣΞͷసૹʹ͔͔ΔωͱϫʔΫసૹྔ ͷ࡟ݮ΍ɼେ͖ͳΠϝʔδΛॲཧ͢Δ͜ͱʹΑΔσόΠεͷిྗফඅͷ࡟ݮ͕ݕ౼͞Ε͍ͯΔ [6-7]ɽͦͷͨΊɼํࣜͱͯ͠2ͭʹ෼ׂ͢Δɽ • ίʔυͷಈతͳߋ৽ʹ͍ͭͯ͸ɼίʔυͷܗࣜʹؔΘΒͣಉҰͰ͋ΔͱΈͳͤΔͨΊɼ౷߹͠ ͯѻ͏ɽ 12 ຊݚڀʹΑΔίʔυมߋͷద༻ํࣜͷ੔ཧ ߋ৽ର৅

    ૢ࡞ ຊݚڀʹΑΔํࣜͷ੔ཧ ϑΝʔϜ΢ΣΞΠϝʔδ ෼ׂ ʢʣϑΝʔϜ΢ΣΞΠϝʔδͷશମΛద༻͢Δํࣜ ʢʣϑΝʔϜ΢ΣΞΠϝʔδͷࠩ෼Λద༻͢Δํࣜ εΫϦϓτݴޠʹΑΔίʔυ ݁߹ ʢʣΞϓϦέʔγϣϯίʔυΛಈతʹద༻͢Δํࣜ Ծ૝ػցͰಈ࡞͢ΔݴޠʹΑΔίʔυ ωΠςΟϒίʔυ΁ͷಈతϦϯΫ <>,POTUBOUJOPT"SBLBEBLJT 1BWMPT$IBSBMBNQJEJT "OUPOJT.BLSPHJBOOBLJT BOE"MFYBOESPT'SBHLJBEBLJT'JSNXBSFPWFSUIFBJSQSPHSBNNJOHUFDIOJRVFTGPSJPUOFUXPSLTrBTVSWFZ 4FQUFNCFS <>0OESFK,BDINBO .BSDFM#BMB[ BOE1FUFS.BMJL6OJWFSTBMGSBNFXPSLGPSSFNPUFpSNXBSFVQEBUFTPGMPXQPXFSEFWJDFT$PNQVU$PNNVO 7PM QQr .BZ
  6. • લड़ͷ௨ΓɼํࣜΛҎԼͷ௨Γ੔ཧͨ͠ɽ 1. ϑΝʔϜ΢ΣΞΠϝʔδͷશମΛద༻͢Δํࣜ 2. ϑΝʔϜ΢ΣΞΠϝʔδͷࠩ෼Λద༻͢Δํࣜ 3. ΞϓϦέʔγϣϯίʔυΛಈతʹద༻͢Δํࣜ • ઌߦݚڀʹ͓͍ͯ͸ɼϦιʔε੍໿ͷڧ͍ঢ়گʹ͓͚ΔσόΠεͷ഑උޙͷద

    ༻Λ՝୊ͱ͍ͯ͠ΔͨΊɼ্هͷ3.ʹ͍ͭͯ͸े෼ʹݕ౼͞Εͯ͜ͳ͔ͬͨɽ • ຊݚڀ͸ɼઌߦݚڀͰ͸ѻΘΕͯ͜ͳ͔ͬͨεΫϦϓτݴޠ΍Ծ૝ػցʹΑΔ ݴޠΛ༻͍Δํ๏ΛؚΊɼIoTΞϓϦέʔγϣϯͷ։ൃޮ཰ͷ޲্Λ໨తͱ͠ ͨ3.ͷํࣜΛ͋ΒͨΊͯఏҊ͢Δɽ 14 ఏҊํࣜ
  7. 1. ૯຿ল. ৘ใ௨৴നॻྩ࿨2೥൛, https://www.soumu.go.jp/johotsusintokei/whitepaper/r02.html, 2020. 2. Bauwens, J., P. Ruckebusch,

    S. Giannoulis, I. Moerman, and E. D. Poorter. 2020. “Over-the-Air Software Updates in the Internet of Things: An Overview of Key Principles.” IEEE Communications Magazine 58 (2): 35–41. 3. Narges Yousefnezhad, Avleen Malhi, and Kary Fr ̈amling. Security in product lifecycle of iot devices: A survey. Journal of Network and Computer Applications, Vol. 171, p. 102779, December 2020. 4. Stephen Brown and Cormac J Sreenan. Software updat- ing in wireless sensor networks: A survey and lacunae. Journal of Sensor and Actuator Networks, Vol. 2, No. 4, pp. 717–760, November 2013. 5. Peter Ruckebusch, Eli De Poorter, Carolina Fortuna, and Ingrid Moerman. Gitar: Generic extension for internet-of-things architectures enabling dynamic up- dates of network and application modules. Ad Hoc Net- works, Vol. 36, pp. 127–151, January 2016. 6. Peter Ruckebusch, Spilios Giannoulis, Ingrid Moerman, Jeroen Hoebeke, and Eli De Poorter. Modelling the energy consumption for over-the-air software updates in lp- wan networks: Sigfox, lora and ieee 802.15.4g. Internet of Things, Vol. 3-4, pp. 104–119. 7. Konstantinos Arakadakis, Pavlos Charalampidis, An- tonis Makrogiannakis, and Alexandros Fragkiadakis. Firmware over-the-air programming techniques for iot networks – a survey. September 2020. 8. Ondrej Kachman, Marcel Balaz, and Peter Malik. Universal framework for remote firmware updates of low-power devices. Comput. Commun., Vol. 139, pp. 91–102, May 2019. 9. “The Elixir Programming Language.” https://elixir-lang.org/. 10. “Nerves Platform.” https://www.nerves-project.org/. 11. Bettio, Davide. n.d. “AtomVM.” https://github.com/bettio/AtomVM. 26 ࢀߟจݙ