Save 37% off PRO during our Black Friday Sale! »

クックパッドマートを支えるIoT 技術

Fe72a6744f7422c341d6301df629a36f?s=47 imashin
November 23, 2019

クックパッドマートを支えるIoT 技術

SORACOM UG Explorer 2019

クックパッドが新たに始めた生鮮ECプラットフォームサービス、クックパッドマートで取り入れているIoT技術についてお話しします。

Fe72a6744f7422c341d6301df629a36f?s=128

imashin

November 23, 2019
Tweet

Transcript

  1. ΫοΫύουϚʔτΛࢧ͑Δ IoT ٕज़ SORACOM UG Explorer 2019 Nov 23, 2019

  2. whoami 2017- ΫοΫύουגࣜձࣾ ɹɹ2017-2018 ΫοΫύουstoreTV ɹɹ2018-2019 ΫοΫύουϚʔτʢྲྀ௨ϓϩμΫτPdMʣ Shinsuke IMAI Twitter:

    @imashin_
  3. ࠓ೔ɺ͓࿩͢͠Δ͜ͱ • ΫοΫύου͕ϋʔυ΢ΣΞΛ΍͍͍ͬͯͬͯΔ࿩ • ΫοΫύουϚʔτͷ࿩ • ΫοΫύουϚʔτΛࢧ͑ΔIoTٕज़ͷ࿩

  4. ΫοΫύου͕ϋʔυ΢ΣΞΛ ΍͍͍ͬͯͬͯΔ࿩

  5. ΫοΫύου͸΢Σϒͷձࣾ • Ͱ͸ͳ͍

  6. ʮຖ೔ͷྉཧΛָ͠Έʹʯ ͢Δձࣾ

  7. ΢Σϒ͚ͩͰͳ͘ɺ෺ཧੈք΁

  8. ޻࡞؀ڥ ࣾ಺ͷ޻࡞෦԰

  9. None
  10. ΫοΫύουϚʔτͷ࿩

  11. None
  12. αʔϏε֓ཁ ʮຖ೔ָ͕͠ΈʹͳΔɺ৯ࡐళʯ ඒຯ͍͠৯ࡐΛεϚϗͰ஫จ͠ ࣗ୐ۙ͘ͷళฮ΍ࢪઃͰड͚औΕΔ ੜ઱৯඼ωοτεʔύʔ

  13. None
  14. None
  15. อҭԂ Ϛϯγϣϯ

  16. None
  17. None
  18. None
  19. ഑ૹηϯλʔΛ࣋ͨͳ͍

  20. ͳͷͰ

  21. ৽઱

  22. ͚ͩͲ

  23. ͱͯ΋೉͍͠

  24. ΫοΫύουϚʔτΛࢧ͑Δ IoTٕज़ͷ࿩

  25. ϚʔτΛࢧ͑ΔIoTσόΠε ϥϕϧϓϦϯλʔ ྫྷଂݿৣ

  26. ϚʔτΛࢧ͑ΔIoTσόΠε ϥϕϧϓϦϯλʔ ྫྷଂݿৣ

  27. ঎඼Λਖ਼֬ʹӡͿ • ൢചऀʹຖ೔঎඼ͷ४උΛͯ͠΋Β͏ • ӡൖऀʹ঎඼Λड͚औΓ৔ॴ·ͰӡΜͰ΋Β͏ • Ϣʔβʹड͚औͬͯ΋Β͏

  28. ྲྀ௨ʹ͔ܽͤͳ͍ϥϕϧ ঎඼΁ͷϥϕϦϯά ϥϕϧΛཔΓʹडऔ ϥϕϧҹ࡮

  29. ૢ࡞ෆཁͰϥϕϧ͕ൃߦ͞ΕΔγεςϜ

  30. demo

  31. ୹ظؒͰͷվળαΠΫϧ ྵ߸ػ ॳ߸ػ ೋ߸ػ ࡾ߸ػ ̍̌ϲ݄Ͱ̐౓ͷΞοϓσʔτ

  32. ೋ߸ػߏ੒ ελʔਫ਼ີ TSP700II ϥϕϧϓϦϯλʔ ϥϕϧ੾Ε΍ނোΛݕ஌͢Δηϯαʔ Huawei M2372h-607 LTE USBυϯάϧ Raspberry

    Pi 3 Model B+ ΤοδσόΠε Arch Linux ARM ϧʔλʔ / SSHαʔόʔ ωοτϫʔΫ؂ࢹ
  33. https://soracom.jp

  34. ωοτϫʔΫߏ੒ SORACOM print batch proxy gateway Canal Gate Air Shepherd

    mart server admin API API Order 6TFS Dongle Printer Raspi
  35. https://www.starmicronics.com/support/Mannualfolder/starline_cm_en.pdf

  36. https://rubygems.org/gems/star_ethernet

  37. ϓϦϯλʔίϚϯυ

  38. def set_cancel_the_double_wide_high(n1, n2) [0x1b, 0x69, n1, n2].pack('C*') end def sextuple_font_size

    set_cancel_the_double_wide_high(0x05, 0x05) end https://www.starmicronics.com/support/Mannualfolder/starline_cm_en.pdf
  39. None
  40. ࠓޙ΍͍ͬͯ͘͜ͱ େྔੜ࢈ ߋͳΔ҆ఆԽ QRίʔυͷΑΔ෺ྲྀͷ؂ࢹ ΑΓޮ཰తͳྲྀ௨ ϛεͷͳ͍഑ૹ

  41. ϚʔτΛࢧ͑ΔIoTσόΠε ϥϕϧϓϦϯλʔ ྫྷଂݿৣ

  42. ঎඼Λ҆શʹอ؅͢Δ • ಛఆͷਓ͔͠ྫྷଂݿΛ։͚ΒΕͳ͍Α͏ʹ͢Δ • ෆ҆ఆͳωοτϫʔΫԼͰ΋Քಇ͢Δ • ίϯηϯτΛൈ͔Εͯ΋ࢪৣঢ়ଶΛอͭ • ྫྷଂݿ͕ػೳ͍ͯ͠Δ͔؂ࢹ͢Δ •

    ෳ਺ͷ൶Λίϯτϩʔϧ͢Δ
  43. QRίʔυʹΑΔղৣ • ಛఆͷϢʔβͷΈɹ ྫྷଂݿΛ։͚ΒΕΔ • ΦϑϥΠϯͰ΋Քಇ Մೳ

  44. demo

  45. ղৣϑϩʔɿτʔΫϯͷൃߦ User Fridge system mart-server mart-edge Fridges JWT token QR

    Reader Signature verification working on offline status Authorized User Unauthorized user SORACOM Gate SORACOM Canal
  46. ղৣϑϩʔɿެ։伴ͷൃߦ User Fridge system mart-server mart-edge Fridges JWT token QR

    Reader Signature verification working on offline status Authorized User Unauthorized user SORACOM Gate SORACOM Canal
  47. ղৣϑϩʔɿ伴ͷݕূ User Fridge system mart-server mart-edge Fridges JWT token QR

    Reader Signature verification working on offline status Authorized User Unauthorized user SORACOM Gate SORACOM Canal
  48. ղৣϑϩʔɿΦϑϥΠϯ࣌ User Fridge system mart-server mart-edge Fridges JWT token QR

    Reader Signature verification working on offline status Authorized User Unauthorized user SORACOM Gate SORACOM Canal
  49. ߏ੒ʢࢠػʣ Թ࣪౓ܭ DHT11 D4SL-N OMRON੡ి࣓ϩοΫ 0V:LOCKED / 24V:UNLOCKED PoEରԠΠʔαέʔϒϧ ਌ػ΁઀ଓ

    Թ౓ܭɾৣ੍ޚɾঢ়ଶ؂ࢹ LEDϥϯϓ open/closeͷදࣔ
  50. ߏ੒ʢ਌ػʣ 5V/24Vిݯ AK50W-DSM-B MOSFET Raspberry Pi 3.3VͰ 24Vಈ࡞ͷιϨϊΠυΛεΠον Raspberry Pi΁ͷڅి

    LTEϞδϡʔϧ EC21-J Mini PCIe PoEରԠΠʔαέʔϒϧ ̐ͭͷࢠػ΁઀ଓ ൚༻έʔϒϧͷྲྀ༻Ͱઅ໿ QRϦʔμʔ HF500-W Honeywell Mini PCIe to USB ΤοδσόΠε Raspberry Pi 3 Model B+
  51. ࠓޙ΍͍ͬͯ͘͜ͱ ؂ࢹΧϝϥͷઃஔ ίϯςφݸผͰͷࢪৣ ྫྷଂݿͷஔ͖׵͑ ड͚औΓମݧͷ޲্ ৗԹ঎඼ͷϘοΫε ҆શੑͷ޲্

  52. ·ͱΊ

  53. ΫοΫύου͸ • ΢ΣϒͷձࣾͰ͸ͳ͘ • ʮຖ೔ͷྉཧΛָ͠Έʹ͢Δʯձࣾ

  54. ϋʔυ΢ΣΞ։ൃऀ͕͍ͳ͍ • ͳΜͱΫοΫύουϚʔτʹ͸ɹ ϋʔυ΢ΣΞΤϯδχΞ͕͍·ͤΜ • αʔϏεͷ੒௕ʹ߹Θͤͯԣஅతʹɹɹ ϋʔυ΢ΣΞ։ൃͰ͖ΔਓΛ୳ͯ͠ ͍·͢