{"id":50703,"date":"2020-05-13T00:00:00","date_gmt":"2020-05-13T07:00:00","guid":{"rendered":"https:\/\/griddb-linux-hte8hndjf8cka8ht.westus-01.azurewebsites.net\/%e6%9c%aa%e5%88%86%e9%a1%9e\/cromflag2-an-open-iot-stack\/"},"modified":"2025-11-14T07:54:04","modified_gmt":"2025-11-14T15:54:04","slug":"cromflag2-an-open-iot-stack","status":"publish","type":"post","link":"https:\/\/griddb-linux-hte8hndjf8cka8ht.westus-01.azurewebsites.net\/ja\/%e6%9c%aa%e5%88%86%e9%a1%9e\/cromflag2-an-open-iot-stack\/","title":{"rendered":"CroMFlaG2 : IoT\u30bd\u30ea\u30e5\u30fc\u30b7\u30e7\u30f3\u3092\u69cb\u7bc9\u3059\u308b\u305f\u3081\u306e\u30aa\u30fc\u30d7\u30f3\u30bd\u30fc\u30b9\u30bd\u30d5\u30c8\u30a6\u30a7\u30a2\u30b9\u30bf\u30c3\u30af"},"content":{"rendered":"<p>\u3053\u306e\u30d6\u30ed\u30b0\u3067\u306f\u3001\u30b7\u30f3\u30d7\u30eb\u3067\u67d4\u8edf\u306a\u30aa\u30fc\u30d7\u30f3\u30bd\u30fc\u30b9\u306eIoT\u30bd\u30d5\u30c8\u30a6\u30a7\u30a2\u30b9\u30bf\u30c3\u30af\u3001CroMFlaG2\uff08CROn\u3001Mqtt\u3001FLAsk\u3001GridDB\u3001Grafana\uff09\u306e\u6d3b\u7528\u65b9\u6cd5\u3068\u304a\u3059\u3059\u3081\u3059\u308b\u7406\u7531\u3092\u7d39\u4ecb\u3057\u307e\u3059\u3002CroMFlaG2\u306f\u3001IoT\u30a2\u30d7\u30ea\u30b1\u30fc\u30b7\u30e7\u30f3\u3092\u69cb\u7bc9\u3059\u308b\u305f\u3081\u306b\u5fc5\u8981\u306a\u30c7\u30fc\u30bf\u3092\u53d6\u308a\u8fbc\u307f\u3001\u5206\u6790\u3001\u8996\u899a\u5316\u3059\u308b\u305f\u3081\u306e\u8907\u6570\u306e\u30aa\u30d7\u30b7\u30e7\u30f3\u3092\u5099\u3048\u3066\u3044\u307e\u3059\u3002<\/p>\n<h2>\u30a4\u30f3\u30c8\u30ed\u30c0\u30af\u30b7\u30e7\u30f3<\/h2>\n<p>2000\u5e74\u4ee3\u306b\u30a4\u30f3\u30bf\u30fc\u30cd\u30c3\u30c8\u306e\u30b3\u30e2\u30c7\u30a3\u30c6\u30a3\u5316\u3092\u4fc3\u9032\u3057\u305f<a href=\"https:\/\/ja.wikipedia.org\/wiki\/LAMP_(\u30bd\u30d5\u30c8\u30a6\u30a7\u30a2\u30d0\u30f3\u30c9\u30eb)\">LAMP<\/a>\uff08Linux\u3001Apache\u3001MySQL\u3001PHP \/ Perl \/ Python\uff09\u30b9\u30bf\u30c3\u30af\u306e\u4eba\u6c17\u304c\u9ad8\u307e\u308a\u3001\u591a\u304f\u306e\u30bd\u30d5\u30c8\u30a6\u30a7\u30a2\u4f01\u696d\u306e\u88fd\u54c1\u304c\u4ed6\u88fd\u54c1\u3068\u9023\u643a\u3067\u304d\u3001\u5229\u7528\u3084\u30c7\u30d7\u30ed\u30a4\u304c\u7c21\u5358\u306b\u884c\u3048\u308b\u3088\u3046\u306b\u306a\u308a\u307e\u3057\u305f\u3002<\/p>\n<p>\u3057\u304b\u3057\u3053\u308c\u3089\u306e\u30bd\u30d5\u30c8\u30a6\u30a7\u30a2\u30b9\u30bf\u30c3\u30af\u306e\u4e2d\u306b\u306f\u3001\u3044\u304f\u3064\u304b\u306e\u96e3\u70b9\u3092\u6301\u3064\u3082\u306e\u304c\u3042\u308a\u307e\u3059\u3002\u305d\u308c\u306f\u3001\u30d9\u30f3\u30c0\u30fc\u30ed\u30c3\u30af\u30a4\u30f3\u3092\u4fc3\u9032\u3057\u3001\u305d\u306e\u30bd\u30d5\u30c8\u30a6\u30a7\u30a2\u30b9\u30bf\u30c3\u30af\u304c\u610f\u56f3\u3059\u308b\u30e2\u30c7\u30eb\u306b\u30bd\u30ea\u30e5\u30fc\u30b7\u30e7\u30f3\u3092\u5f37\u5236\u7684\u306b\u9069\u5408\u3055\u305b\u306a\u3051\u308c\u3070\u306a\u3089\u305a\u3001\u6539\u5584\u3001\u5909\u66f4\u3001\u65b0\u6a5f\u80fd\u306e\u8ffd\u52a0\u306a\u3069\u304c\u96e3\u3057\u304f\u306a\u308b\u3068\u3044\u3046\u70b9\u3067\u3059\u3002CroMFlaG2\u306b\u306f\u305d\u306e\u3088\u3046\u306a\u96e3\u70b9\u306f\u306a\u304f\u3001\u30aa\u30fc\u30d7\u30f3\u30bd\u30fc\u30b9\u3067\u5e83\u7bc4\u56f2\u306b\u69cb\u6210\u53ef\u80fd\u3067\u30e6\u30fc\u30b6\u30fc\u304c\u5909\u66f4\u3067\u304d\u308b\u3088\u3046\u306b\u306a\u3063\u3066\u304a\u308a\u3001LAMP\u30b9\u30bf\u30c3\u30af\u306e\u3088\u3046\u306b\u52d5\u4f5c\u3059\u308b\u3053\u3068\u3092\u76ee\u7684\u3068\u3057\u3066\u3044\u307e\u3059\u3002<\/p>\n<p>CroMFlaG2\u306f\u5b89\u5b9a\u6027\u304c\u9ad8\u304f\u3001\u8efd\u91cf\u3067\u6570\u5341\u4e07\u306e\u30c7\u30d0\u30a4\u30b9\u306b\u307e\u3067\u62e1\u5f35\u53ef\u80fd\u3067\u3042\u308b\u3053\u3068\u304c\u8a3c\u660e\u3055\u308c\u3066\u3044\u307e\u3059\u3002\u30db\u30b9\u30c8\u30a2\u30d7\u30ea\u30b1\u30fc\u30b7\u30e7\u30f3\u3068\u3057\u3066\u5229\u7528\u3059\u308b\u5f93\u6765\u306e\u65b9\u6cd5\u3084\u3001DevOps\u3001\u30b3\u30f3\u30c6\u30ca\u5316\u306a\u3069\u306e\u65b0\u3057\u3044\u65b9\u6cd5\u3067\u3082\u7c21\u5358\u306b\u5b9f\u88c5\u3059\u308b\u3053\u3068\u304c\u3067\u304d\u307e\u3059\u3002\u69cb\u6210\u3059\u308b\u30bd\u30d5\u30c8\u30a6\u30a7\u30a2\u9593\u3067\u4e92\u3044\u306b\u3046\u307e\u304f\u6a5f\u80fd\u3059\u308b\u3053\u3068\u304c\u5b9f\u8a3c\u3055\u308c\u3066\u3044\u307e\u3059\u3002<\/p>\n<p>CroMFlaG2\u306f<a href=\"https:\/\/ja.wikipedia.org\/wiki\/Crontab\">Cron<\/a>\u3001<a href=\"https:\/\/mqtt.org\/\">MQTT<\/a>\u3001<a href=\"https:\/\/palletsprojects.com\/p\/flask\/\">Flask<\/a>\u3001<a href=\"https:\/\/docs.griddb.net\/ja\/\">GridDB<\/a>\u3001<a href=\"https:\/\/www.grafana.org\">Grafana<\/a>\u3067\u69cb\u6210\u3055\u308c\u307e\u3059\u3002<\/p>\n<h2>IoT\u30b9\u30bf\u30c3\u30af\u30a2\u30fc\u30ad\u30c6\u30af\u30c1\u30e3<\/h2>\n<p>\u591a\u304f\u306eIoT\u30bd\u30ea\u30e5\u30fc\u30b7\u30e7\u30f3\u306f\u3001\u30bb\u30f3\u30b5\u307e\u305f\u306f\u4ed6\u306e\u30c7\u30fc\u30bf\u30b8\u30a7\u30cd\u30ec\u30fc\u30bf\u30fc\u3092\u542b\u3080\u30a8\u30c3\u30b8\u30c7\u30d0\u30a4\u30b9\u3067\u69cb\u6210\u3055\u308c\u3001\u76f4\u63a5\u307e\u305f\u306f\u30ed\u30fc\u30ab\u30eb\u30b2\u30fc\u30c8\u30a6\u30a7\u30a4\u3092\u4ecb\u3057\u3066\u96c6\u4e2d\u578b\u30a4\u30f3\u30d5\u30e9\u30b9\u30c8\u30e9\u30af\u30c1\u30e3\u3068\u901a\u4fe1\u3057\u307e\u3059\u3002<\/p>\n<p>\u96c6\u4e2d\u578b\u30a4\u30f3\u30d5\u30e9\u30b9\u30c8\u30e9\u30af\u30c1\u30e3\u306f\u3001\u30d1\u30d6\u30ea\u30c3\u30af\u30af\u30e9\u30a6\u30c9\u307e\u305f\u306f\u30d7\u30e9\u30a4\u30d9\u30fc\u30c8\u30aa\u30f3\u30d7\u30ec\u30df\u30b9\u30b5\u30fc\u30d0\u306e\u3044\u305a\u308c\u304b\u3067\u30db\u30b9\u30c6\u30a3\u30f3\u30b0\u3055\u308c\u307e\u3059\u3002\u30c7\u30d0\u30a4\u30b9\u306f\u901a\u5e38\u3001\u30c7\u30fc\u30bf\u30d9\u30fc\u30b9\u3068\u76f4\u63a5\u3067\u306f\u306a\u304f\u5225\u306e\u30c7\u30fc\u30bf\u30b3\u30ec\u30af\u30bf\u30fc\u3068\u901a\u4fe1\u3057\u307e\u3059\u304c\u3001\u305d\u3046\u3057\u306a\u304f\u3066\u3082\u3088\u3044\u5834\u5408\u3082\u3042\u308a\u307e\u3059\u3002<\/p>\n<p><img fetchpriority=\"high\" decoding=\"async\" align=\"center\" src=\"https:\/\/griddb.net\/wp-content\/uploads\/2020\/03\/Screen-Shot-2020-03-10-at-8.20.23-AM.png\" alt=\"\" width=\"554\" height=\"513\" class=\"alignnone size-full wp-image-26446\" alt=\"IoT Architecture\" srcset=\"\/wp-content\/uploads\/2020\/03\/Screen-Shot-2020-03-10-at-8.20.23-AM.png 554w, \/wp-content\/uploads\/2020\/03\/Screen-Shot-2020-03-10-at-8.20.23-AM-300x278.png 300w\" sizes=\"(max-width: 554px) 100vw, 554px\" \/><\/p>\n<p>\u30c7\u30fc\u30bf\u304c\u30d7\u30e9\u30a4\u30de\u30ea\u30c7\u30fc\u30bf\u30b9\u30c8\u30a2\u306b\u4fdd\u5b58\u3055\u308c\u308b\u3068\u3001\u4ed6\u306e\u30d7\u30ed\u30bb\u30b9\u304c\u30ea\u30a2\u30eb\u30bf\u30a4\u30e0\u307e\u305f\u306f\u30d0\u30c3\u30c1\u3067\u3001\u4fdd\u5b58\u3055\u308c\u305f\u30c7\u30fc\u30bf\u3092\u5206\u6790\u3057\u305f\u308a\u3001\u8996\u899a\u5316\u3057\u305f\u308a\u3059\u308b\u3053\u3068\u304c\u3067\u304d\u308b\u3088\u3046\u306b\u306a\u308a\u307e\u3059\u3002<\/p>\n<p><img decoding=\"async\" align=\"center\" src=\"https:\/\/griddb.net\/wp-content\/uploads\/2020\/03\/Screen-Shot-2020-03-18-at-1.53.23-PM.png\" alt=\"CroMFlaG2 IoT Stack\" width=\"433\" height=\"386\" class=\"alignnone size-full wp-image-26448\" srcset=\"\/wp-content\/uploads\/2020\/03\/Screen-Shot-2020-03-18-at-1.53.23-PM.png 433w, \/wp-content\/uploads\/2020\/03\/Screen-Shot-2020-03-18-at-1.53.23-PM-300x267.png 300w\" sizes=\"(max-width: 433px) 100vw, 433px\" \/><\/p>\n<p>CroMFlaG2\u3067\u306f\u3001MQTT\u30d6\u30ed\u30fc\u30ab\u30fc\u3068\u30b5\u30d6\u30b9\u30af\u30e9\u30a4\u30d0\u30fc\u307e\u305f\u306fHTTP Flask\u30a2\u30d7\u30ea\u30b1\u30fc\u30b7\u30e7\u30f3\u304c\u30c7\u30fc\u30bf\u30b3\u30ec\u30af\u30bf\u30fc\u3068\u3057\u3066\u6a5f\u80fd\u3057\u3001GridDB\u306f\u30c7\u30fc\u30bf\u30b9\u30c8\u30a2\u3068\u306a\u308a\u307e\u3059\u3002HTTP Flask\u306f\u30a8\u30f3\u30c9\u30dd\u30a4\u30f3\u30c8\u3068\u3057\u3066\u3082\u52d5\u4f5c\u3057\u3001\u4fe1\u983c\u3067\u304d\u306a\u3044\u30a2\u30d7\u30ea\u30b1\u30fc\u30b7\u30e7\u30f3\uff08\u30c7\u30fc\u30bf\u30db\u30b9\u30c6\u30a3\u30f3\u30b0\u7d44\u7e54\u5916\u306e\u30b5\u30fc\u30c9\u30d1\u30fc\u30c6\u30a3\u306b\u3088\u3063\u3066\u958b\u767a\u3001\u5b9f\u884c\u3055\u308c\u305f\u30a2\u30d7\u30ea\u30b1\u30fc\u30b7\u30e7\u30f3\u306a\u3069\uff09\u306b\u30ea\u30a2\u30eb\u30bf\u30a4\u30e0\u30c7\u30fc\u30bf\u3092\u63d0\u4f9b\u3059\u308b\u3053\u3068\u304c\u3067\u304d\u307e\u3059\u3002Grafana\u306f\u30c7\u30fc\u30bf\u3092\u8996\u899a\u5316\u3059\u308b\u30d7\u30e9\u30c3\u30c8\u30d5\u30a9\u30fc\u30e0\u3092\u63d0\u4f9b\u3057\u3001Cron\u306f\u30ec\u30dd\u30fc\u30c8\u3084\u8acb\u6c42\u66f8\u306a\u3069\u3092\u4e8b\u524d\u306b\u5b9a\u7fa9\u3055\u308c\u305f\u9593\u9694\u3067\u751f\u6210\u3059\u308b\u305f\u3081\u306b\u4f7f\u7528\u3055\u308c\u307e\u3059\u3002<\/p>\n<h2>\u30c7\u30fc\u30bf\u306e\u9001\u4fe1\u3068\u53ce\u96c6<\/h2>\n<h3>MQTT<\/h3>\n<p>MQTT\u306f\u3001\u30de\u30b7\u30f3\u9593\uff08M2M\uff09\u901a\u4fe1\u3092\u5bfe\u8c61\u3068\u3057\u305f\u8efd\u91cf\u306e\u30d1\u30d6\u30ea\u30c3\u30b7\u30e5\u30fb\u30b5\u30d6\u30b9\u30af\u30e9\u30a4\u30d6\u30d7\u30ed\u30c8\u30b3\u30eb\u3067\u3059\u3002MQTT\u306e\u4e3b\u306a\u5229\u70b9\u306f\u3001\u63a5\u7d9a\u304c\u9577\u304f\u6301\u7d9a\u3057\u3001\u30aa\u30fc\u30d0\u30fc\u30d8\u30c3\u30c9\u304c\u4f4e\u304f\uff082\u30d0\u30a4\u30c8\uff09\u3001\u305d\u3057\u3066\u30e1\u30c3\u30bb\u30fc\u30b8\u304c\u9001\u4fe1\u3055\u308c\u308b\u304b\u3001\u30e1\u30c3\u30bb\u30fc\u30b8\u304c\u53d7\u4fe1\u3055\u308c\u308b\u304b\u3001\u30e1\u30c3\u30bb\u30fc\u30b8\u304c\u78ba\u5b9f\u306b\u4e00\u5ea6\u3067\u53d7\u4fe1\u3055\u308c\u308b\u304b\u3001\u3092\u4fdd\u8a3c\u3059\u308b3\u3064\u306eQoS\u30ec\u30d9\u30eb\u3092\u6301\u3064\u70b9\u3067\u3059\u3002<\/p>\n<p>MQTT\u30d6\u30ed\u30fc\u30ab\u30fc\u306f\u3001\u30c7\u30fc\u30bf\u30b3\u30ec\u30af\u30bf\u30fc\u3067\u5b9f\u884c\u3055\u308c\u3001\u30bb\u30f3\u30b5\u307e\u305f\u306f\u30a8\u30c3\u30b8\u30c7\u30d0\u30a4\u30b9\u5185\u3067\u5b9f\u884c\u3055\u308c\u308bMQTT\u30d1\u30d6\u30ea\u30c3\u30b7\u30e3\u30fc\u3068\u3001\u30d1\u30d6\u30ea\u30c3\u30b7\u30e3\u30fc\u306e\u30c7\u30fc\u30bf\u3092\u8aad\u307f\u53d6\u3063\u3066\u30c7\u30fc\u30bf\u30b9\u30c8\u30a2\u306b\u66f8\u304d\u8fbc\u3080MQTT\u30b5\u30d6\u30b9\u30af\u30e9\u30a4\u30d0\u30fc\u3068\u306e\u9593\u3067\u30c7\u30fc\u30bf\u3092\u53d7\u3051\u6e21\u3059\u30b5\u30fc\u30d3\u30b9\u3067\u3059\u3002<a href=\"https:\/\/mosquitto.org\/\">Mosquitto<\/a>\u3001<a href=\"https:\/\/www.hivemq.com\/\">HiveMQ<\/a>\u3001<a href=\"https:\/\/www.rabbitmq.com\/\">RabbitMQ<\/a>\u306a\u3069\u306e\u30d6\u30ed\u30fc\u30ab\u30fc\u304c\u4eba\u6c17\u304c\u3042\u308a\u3001\u3053\u308c\u3089\u306f\u3059\u3079\u3066CroMFlaG2\u5185\u3067\u4f7f\u7528\u3059\u308b\u3053\u3068\u304c\u3067\u304d\u307e\u3059\u3002<\/p>\n<p><img decoding=\"async\" align=\"center\"  src=\"https:\/\/griddb.net\/wp-content\/uploads\/2020\/03\/Screen-Shot-2020-03-17-at-8.09.56-PM.png\" alt=\"MQTT Broker as part of the IoT Stack\" width=\"706\" height=\"438\" class=\"alignnone size-full wp-image-26450\" srcset=\"\/wp-content\/uploads\/2020\/03\/Screen-Shot-2020-03-17-at-8.09.56-PM.png 706w, \/wp-content\/uploads\/2020\/03\/Screen-Shot-2020-03-17-at-8.09.56-PM-300x186.png 300w, \/wp-content\/uploads\/2020\/03\/Screen-Shot-2020-03-17-at-8.09.56-PM-600x372.png 600w\" sizes=\"(max-width: 706px) 100vw, 706px\" \/><\/p>\n<p>\u30c7\u30fc\u30bf\u306f\u4efb\u610f\u306e\u5f62\u5f0f\u3067\u9001\u4fe1\u3067\u304d\u307e\u3059\u304c\u3001\u901a\u5e38\u306f\u30d0\u30a4\u30ca\u30ea\u30fb\u30d6\u30ed\u30d6\u304b\u3001\u3082\u3057\u304f\u306f\u3088\u308a\u4e00\u822c\u7684\u306aMessagePack\u3001JSON\u3001XML\u306a\u3069\u306e\u5f62\u5f0f\u304c\u4f7f\u308f\u308c\u307e\u3059\u3002MessagePack\u306f\u975e\u5e38\u306b\u8efd\u91cf\u306a\u30d0\u30a4\u30ca\u30ea\u5f62\u5f0f\u3067\u3042\u308a\u3001\u30c7\u30fc\u30bf\u578b\u5909\u63db\u307e\u305f\u306f\u30ab\u30b9\u30bf\u30e0\u30d1\u30c3\u30ad\u30f3\u30b0\u3092\u901a\u3058\u3066\u7c21\u5358\u306b\u30b7\u30ea\u30a2\u30eb\u30e9\u30a4\u30ba\u3059\u308b\u3053\u3068\u304c\u3067\u304d\u307e\u3059\u3002JSON\u3068XML\u306f\u3069\u3061\u3089\u3082\u5e83\u304f\u4f7f\u7528\u3055\u308c\u3066\u304a\u308a\u3001\u751f\u6210\u3068\u89e3\u6790\u306b\u4f7f\u7528\u3067\u304d\u308b\u512a\u308c\u305f\u30e9\u30a4\u30d6\u30e9\u30ea\u304c\u3042\u308a\u307e\u3059\u3002<\/p>\n<h3>HTTP\/Flask<\/h3>\n<p>HTTP\u306f\u6700\u3082\u4e00\u822c\u7684\u306b\u4f7f\u7528\u3055\u308c\u3066\u3044\u308b\u30cd\u30c3\u30c8\u30ef\u30fc\u30af\u30d7\u30ed\u30c8\u30b3\u30eb\u3067\u3042\u308a\u3001\u307b\u307c\u3059\u3079\u3066\u306eWeb\u30c8\u30e9\u30d5\u30a3\u30c3\u30af\u3092\u51e6\u7406\u3059\u308b\u3053\u3068\u304c\u3067\u304d\u307e\u3059\u3002HTTP\u306fMQTT\u3088\u308a\u3082\u30cd\u30c3\u30c8\u30ef\u30fc\u30af\u30aa\u30fc\u30d0\u30fc\u30d8\u30c3\u30c9\u304c\u591a\u304f\u3001QoS\u6a5f\u80fd\u3092\u5099\u3048\u3066\u3044\u307e\u305b\u3093\u304c\u3001\u3044\u304f\u3064\u304b\u306e\u5229\u70b9\u304c\u3042\u308a\u307e\u3059\u3002\u6700\u521d\u306e\u5229\u70b9\u3068\u3057\u3066\u3001HTTP\u304c\u30cd\u30c3\u30c8\u30ef\u30fc\u30af\u30d5\u30a1\u30a4\u30a2\u30a6\u30a9\u30fc\u30eb\u306b\u3088\u3063\u3066\u30d6\u30ed\u30c3\u30af\u3055\u308c\u308b\u3053\u3068\u306f\u3081\u3063\u305f\u306b\u3042\u308a\u307e\u305b\u3093\u3002\u30c6\u30b9\u30c8\u306f\u7c21\u5358\u3067\u3001\u591a\u304f\u306e\u958b\u767a\u8005\u306b\u3088\u304f\u7406\u89e3\u3055\u308c\u3066\u3044\u307e\u3059\u3002\u307e\u305f\u3001HTTP\u3092\u4f7f\u7528\u3057\u3066\u30bd\u30ea\u30e5\u30fc\u30b7\u30e7\u30f3\u3092\u69cb\u7bc9\u3059\u308b\u305f\u3081\u306e\u591a\u304f\u306e\u30e9\u30a4\u30d6\u30e9\u30ea\u3068\u30d5\u30ec\u30fc\u30e0\u30ef\u30fc\u30af\u3092\u5099\u3048\u3066\u304a\u308a\u3001\u96c6\u4e2d\u30a4\u30f3\u30d5\u30e9\u30b9\u30c8\u30e9\u30af\u30c1\u30e3\u304b\u3089\u30a8\u30c3\u30b8\u30c7\u30d0\u30a4\u30b9\u306b\u30c7\u30fc\u30bf\u3092\u9001\u4fe1\u3059\u308b\u5834\u5408\u306f\u3001\u4fe1\u983c\u6027\u304c\u9ad8\u304f\u306a\u308a\u307e\u3059\u3002<\/p>\n<p>\u30a8\u30c3\u30b8\u307e\u305f\u306f\u30c7\u30d0\u30a4\u30b9\u5074\u3067\u306f\u3001<a href=\"https:\/\/curl.haxx.se\/libcurl\/\">libcurl<\/a>\u307e\u305f\u306f<a href=\"https:\/\/github.com\/microsoft\/cpprestsdk\">Microsoft\u306e C++ Rest SDK<\/a>\u306a\u3069\u306e\u3088\u308a\u62bd\u8c61\u5316\u3055\u308c\u305f\u30e9\u30a4\u30d6\u30e9\u30ea\u3092\u4f7f\u7528\u3057\u3066\u30c7\u30fc\u30bf\u3092\u9001\u4fe1\u3059\u308b\u3053\u3068\u304c\u3067\u304d\u307e\u3059\u3002\u30c7\u30fc\u30bf\u30b3\u30ec\u30af\u30bf\u30fc\u3067\u53d7\u4fe1\u30c7\u30fc\u30bf\u3092\u51e6\u7406\u3059\u308b\u3055\u307e\u3056\u307e\u306a\u65b9\u6cd5\u3082\u3042\u308a\u307e\u3059\u3002\u305d\u306e1\u3064\u304c\u8efd\u91cfWeb\u30a2\u30d7\u30ea\u30b1\u30fc\u30b7\u30e7\u30f3\u30d5\u30ec\u30fc\u30e0\u30ef\u30fc\u30af\u3067\u3042\u308bFlask\u3067\u3059\u3002<\/p>\n<p>\u4ee5\u4e0b\u306e\u30b5\u30f3\u30d7\u30eb\u30b3\u30fc\u30c9\u306f\u3001curl\u3092\u4f7f\u7528\u3057\u3066\u30ec\u30b3\u30fc\u30c9\u3092\u633f\u5165\u3059\u308b\u30c7\u30d0\u30a4\u30b9\u3092\u30b7\u30df\u30e5\u30ec\u30fc\u30c8\u3059\u308b\u65b9\u6cd5\u3092\u793a\u3057\u3066\u3044\u307e\u3059\u3002\u30b7\u30f3\u30d7\u30eb\u306a\u30b9\u30af\u30ea\u30d7\u30c8\u306b\u3088\u308a\u3001DevOps\u306e\u5c0e\u5165\u3068\u7d99\u7d9a\u7684\u30a4\u30f3\u30c6\u30b0\u30ec\u30fc\u30b7\u30e7\u30f3\u3092\u7c21\u5358\u306b\u5b9f\u884c\u3067\u304d\u307e\u3059\u3002<\/p>\n<pre>\n$ curl -X POST --header \"Content-Type: application\/json\" \n  http:\/\/localhost:8000\/insert\/sample --data '{\n    \"deviceinfo\" : { \"deviceid\": \"sample\", \"fw_ver\" : \"12345.009\", \"batt_lvl\": 78 },\n    \"tsdata\": [\n            { \"day\": 18, \"dayofweek\": 2, \"hour\": 17, \"humidity\": 75.0, \n              \"illuminance\": 74.0, \"month\": 2, \"motion\": false, \"temperature\": 78.0,\n              \"timestamp\": 1582046738255 },\n            { \"day\": 18, \"dayofweek\": 2, \"hour\": 17, \"humidity\": 66.0, \n              \"illuminance\": 96.0, \"month\": 2, \"motion\": false, \"temperature\": 82.0,\n              \"timestamp\": 1582046748255 }, \n            { \"day\": 18, \"dayofweek\": 2, \"hour\": 17, \"humidity\": 67.0, \n              \"illuminance\": 93.0, \"month\": 2, \"motion\": false, \"temperature\": 81.0,                                      \n              \"timestamp\": 1582046758255 }, \n            { \"day\": 18, \"dayofweek\": 2, \"hour\": 17, \"humidity\": 77.0, \n              \"illuminance\": 95.0, \"month\": 2, \"motion\": true , \"temperature\": 80.0, \n              \"timestamp\": 1582046768255 }, \n            { \"day\": 18, \"dayofweek\": 2, \"hour\": 17, \"humidity\": 70.0,\n               \"illuminance\": 90.0, \"month\": 2, \"motion\": false, \"temperature\": 79.0, \n               \"timestamp\": 1582046778255 }, \n            { \"day\": 18, \"dayofweek\": 2, \"hour\": 17, \"humidity\": 66.0,\n               \"illuminance\": 86.0, \"month\": 2, \"motion\": false, \"temperature\": 77.0,              \n               \"timestamp\": 1582046788255 }\n    ]\n}'\n<\/pre>\n<p>\u4ee5\u4e0b\u306f\u3001GridDB\u3078\u306e\u30c7\u30fc\u30bf\u8a18\u9332\u3092\u53ef\u80fd\u306b\u3057\u305fFlask\u30d5\u30ec\u30fc\u30e0\u30ef\u30fc\u30af\u3067\u69cb\u7bc9\u3055\u308c\u305f\u30a2\u30d7\u30ea\u306e\u4e00\u4f8b\u3067\u3059\u3002<\/p>\n<pre>\n#!\/usr\/bin\/python3 -u\n\nfrom flask import Flask, request, abort\nfrom flask_cors import CORS, cross_origin\nfrom datetime import datetime\nimport griddb_python\nimport json\n\ngriddb = griddb_python\nfactory = griddb.StoreFactory.get_instance()\napp = Flask(__name__)\ncors = CORS(app)\n\n@app.route('\/insert\/<device>', methods=['POST'])\ndef post(device):\n\n    try:\n        data = json.loads(request.data)\n\n        if data['deviceinfo']['deviceid'] != device:\n            abort(500, \"malformed request\")\n\n        conInfo = griddb.ContainerInfo(\"devices\",\n                [[\"deviceid\", griddb.Type.STRING],\n                [\"batt_lvl\", griddb.Type.INTEGER],\n                [\"fw_ver\", griddb.Type.STRING]],\n                griddb.ContainerType.COLLECTION, True)\n\n        devConInfo = griddb.ContainerInfo(device,\n                [[\"timestamp\", griddb.Type.TIMESTAMP],\n                [\"motion\", griddb.Type.BOOL],\n                [\"temperature\", griddb.Type.FLOAT],\n                [\"humidity\", griddb.Type.FLOAT],\n                [\"illuminance\", griddb.Type.FLOAT],\n                [\"month\", griddb.Type.LONG],\n                [\"day\", griddb.Type.LONG],\n                [\"dayofweek\", griddb.Type.LONG],\n                [\"hour\", griddb.Type.LONG]],\n                griddb.ContainerType.TIME_SERIES, True)\n\n        col = gridstore.put_container(conInfo)\n        devCol = gridstore.put_container(devConInfo)\n        col.set_auto_commit(False)\n        devCol.set_auto_commit(False)\n\n        col.put([data['deviceinfo']['deviceid'], data['deviceinfo']['batt_lvl'],\n                 data['deviceinfo']['fw_ver']])\n\n        tsdata = []\n        for row in data['tsdata']:\n            tsdata.append([datetime.fromtimestamp(row['timestamp']\/1000), row['motion'],\n                           row['temperature'], row['humidity'], row['illuminance'],\n                           row['month'], row['day'], row['dayofweek'], row['hour']])\n        devCol.multi_put(tsdata)\n        col.commit()\n        devCol.commit()\n\n    except:\n        abort(500, \"Insert failed\")\n\n    return \"True\"\n\n\nif __name__ == \"__main__\":\n    gridstore = factory.get_store(\n        host=\"239.0.0.1\",\n        port=31999,\n        cluster_name=\"defaultCluster\",\n        username=\"admin\",\n        password=\"admin\"\n    )\n\n    app.run(host='0.0.0.0', port=8000 )\n<\/pre>\n<p>\u30c7\u30d0\u30a4\u30b9\u306f\u3001JSON\u3092\u89e3\u6790\u3057\u3066\u30c7\u30fc\u30bf\u3092\u8907\u6570\u306eGridDB\u30b3\u30f3\u30c6\u30ca\u306b\u633f\u5165\u3059\u308b\u30a8\u30f3\u30c9\u30dd\u30a4\u30f3\u30c8\u306bHTTP POST\u8981\u6c42\u3092\u9001\u4fe1\u3057\u307e\u3059\u3002<\/p>\n<p>\u4e0a\u8a18\u306e\u30b3\u30fc\u30c9\u306b\u306f\u542b\u307e\u308c\u3066\u3044\u307e\u305b\u3093\u304c\u3001Flask\u306a\u3069\u306e\u30a6\u30a7\u30d6\u30d5\u30ec\u30fc\u30e0\u30ef\u30fc\u30af\u3092\u4f7f\u7528\u3059\u308b\u5927\u304d\u306a\u5229\u70b9\u306e1\u3064\u306f\u3001\u30c7\u30d0\u30a4\u30b9\u306e\u8a8d\u8a3c\u304c\u7c21\u5358\u306a\u3053\u3068\u3067\u3059\u3002\u8a8d\u8a3c\u306b\u5b9f\u7e3e\u306e\u3042\u308b\u30d5\u30ec\u30fc\u30e0\u30ef\u30fc\u30af\u3092\u63d0\u4f9b\u3059\u308bOAuth2\u306a\u3069\u306e\u30e9\u30a4\u30d6\u30e9\u30ea\u3092\u542b\u3081\u308b\u3053\u3068\u304c\u3067\u304d\u307e\u3059\u3002<\/p>\n<h2>\u30c7\u30fc\u30bf\u306e\u4fdd\u5b58<\/h3>\n<h3>GridDB<\/h3>\n<p>GridDB\u306f\u3001\u6771\u829d\u30c7\u30b8\u30bf\u30eb\u30bd\u30ea\u30e5\u30fc\u30b7\u30e7\u30f3\u30ba\u682a\u5f0f\u4f1a\u793e\u304c\u958b\u767a\u3057\u305f\u3001IoT\u304a\u3088\u3073\u30d3\u30c3\u30b0\u30c7\u30fc\u30bf\u5411\u3051\u306b\u6700\u9069\u5316\u3055\u308c\u305f\u9ad8\u3044\u30b9\u30b1\u30fc\u30e9\u30d3\u30ea\u30c6\u30a3\u7279\u6027\u3092\u5099\u3048\u305f\u30a4\u30f3\u30e1\u30e2\u30eaNoSQL\u6642\u7cfb\u5217\u30c7\u30fc\u30bf\u30d9\u30fc\u30b9\u3067\u3059\u3002<\/p>\n<p>GridDB\u306e\u30ad\u30fc\u30fb\u30b3\u30f3\u30c6\u30ca\u30c7\u30fc\u30bf\u30e2\u30c7\u30eb\u306f\u3001\u5178\u578b\u7684\u306aNoSQL\u30ad\u30fc\u30fb\u30d0\u30ea\u30e5\u30fc\u30b9\u30c8\u30a2\u3092\u62e1\u5f35\u3057\u307e\u3059\u3002\u30ad\u30fc\u30fb\u30b3\u30f3\u30c6\u30ca\u30e2\u30c7\u30eb\u306f\u3001\u30ad\u30fc\u306b\u3088\u3063\u3066\u53c2\u7167\u3055\u308c\u308b\u30b3\u30ec\u30af\u30b7\u30e7\u30f3\u306e\u5f62\u5f0f\u3067\u30c7\u30fc\u30bf\u3092\u8868\u3057\u307e\u3059\u3002\u30ad\u30fc\u3068\u30b3\u30f3\u30c6\u30ca\u306f\u3001\u30ea\u30ec\u30fc\u30b7\u30e7\u30ca\u30eb\u30c7\u30fc\u30bf\u30d9\u30fc\u30b9\uff08RDB\uff09\u306e\u30c6\u30fc\u30d6\u30eb\u540d\u3068\u30c6\u30fc\u30d6\u30eb\u30c7\u30fc\u30bf\u306b\u307b\u307c\u76f8\u5f53\u3057\u307e\u3059\u3002GridDB\u3067\u306e\u30c7\u30fc\u30bf\u30e2\u30c7\u30ea\u30f3\u30b0\u306f\u3001RDB\u306e\u30b9\u30ad\u30fc\u30de\u3068\u540c\u69d8\u306b\u30b9\u30ad\u30fc\u30de\u3092\u5b9a\u7fa9\u3057\u3066\u30c7\u30fc\u30bf\u3092\u8a2d\u8a08\u3067\u304d\u308b\u305f\u3081\u3001\u4ed6\u306eNoSQL\u30c7\u30fc\u30bf\u30d9\u30fc\u30b9\u3088\u308a\u3082\u7c21\u5358\u3067\u3059\u3002<\/p>\n<p>I\/O\u306fDBMS\u306e\u4e00\u822c\u7684\u306a\u30dc\u30c8\u30eb\u30cd\u30c3\u30af\u3067\u3042\u308a\u3001CPU\u306e\u4f7f\u7528\u7387\u3092\u4f4e\u4e0b\u3055\u305b\u308b\u53ef\u80fd\u6027\u304c\u3042\u308a\u307e\u3059\u3002GridDB\u306e\u30a4\u30f3\u30e1\u30e2\u30ea\u30fb\u30c7\u30a3\u30b9\u30af\u30a2\u30fc\u30ad\u30c6\u30af\u30c1\u30e3\u306e\u30cf\u30a4\u30d6\u30ea\u30c3\u30c9\u69cb\u6210\u306f\u3001\u6700\u5927\u306eI\/O\u30d1\u30d5\u30a9\u30fc\u30de\u30f3\u30b9\u3092\u5b9f\u73fe\u3059\u308b\u3088\u3046\u306b\u8a2d\u8a08\u3055\u308c\u3066\u3044\u307e\u3059\u3002GridDB\u306f\u3001\u983b\u7e41\u306b\u30a2\u30af\u30bb\u30b9\u3055\u308c\u308b\u300c\u30d7\u30e9\u30a4\u30de\u30ea\u300d\u30c7\u30fc\u30bf\u304c\u30e1\u30e2\u30ea\u306b\u5e38\u99d0\u3057\u3001\u6b8b\u308a\u304c\u30c7\u30a3\u30b9\u30af\uff08SSD\u304a\u3088\u3073HDD\uff09\u306b\u6e21\u3055\u308c\u308b\u300c\u30e1\u30e2\u30ea\u30d5\u30a1\u30fc\u30b9\u30c8\u3001\u30b9\u30c8\u30ec\u30fc\u30b8\u30bb\u30ab\u30f3\u30c9\u300d\u69cb\u9020\u3067\u3053\u306e\u30dc\u30c8\u30eb\u30cd\u30c3\u30af\u3092\u514b\u670d\u3057\u307e\u3059\u3002<\/p>\n<p>GridDB\u306f\u3001Cassandra\u3068\u6bd4\u8f03\u3057\u305fYCSB\u306e\u30d9\u30f3\u30c1\u30de\u30fc\u30af\u3067\u793a\u3055\u308c\u3066\u3044\u308b\u3088\u3046\u306b\u3001\u512a\u308c\u305f\u30d1\u30d5\u30a9\u30fc\u30de\u30f3\u30b9\u3092\u7dad\u6301\u3057\u306a\u304c\u3089\u3001\u6c4e\u7528\u30cf\u30fc\u30c9\u30a6\u30a7\u30a2\u4e0a\u3067\u7dda\u5f62\u304a\u3088\u3073\u6c34\u5e73\u65b9\u5411\u306b\u30b9\u30b1\u30fc\u30ea\u30f3\u30b0\u3057\u307e\u3059\u3002\u5f93\u6765\u306eRDBMS\u306f\u3001\u30b9\u30b1\u30fc\u30eb\u30a2\u30c3\u30d7\u30a2\u30fc\u30ad\u30c6\u30af\u30c1\u30e3\u306b\u57fa\u3065\u3044\u3066\u69cb\u7bc9\u3055\u308c\u3066\u3044\u307e\u3059\uff08\u65e2\u5b58\u306e\u30b5\u30fc\u30d0\u3084\u30ce\u30fc\u30c9\u306bCPU\u3084\u30e1\u30e2\u30ea\u3084\u30b9\u30c8\u30ec\u30fc\u30b8\u3092\u8ffd\u52a0\u3057\u307e\u3059\uff09\u3002\u30c8\u30e9\u30f3\u30b6\u30af\u30b7\u30e7\u30f3\u3068\u30c7\u30fc\u30bf\u306e\u6574\u5408\u6027\u306f\u3001RDBMS\u306e\u65b9\u304c\u3088\u308a\u512a\u308c\u3066\u3044\u307e\u3059\u3002\u4e00\u65b9\u306eNoSQL\u30c7\u30fc\u30bf\u30d9\u30fc\u30b9\u306f\u30b9\u30b1\u30fc\u30eb\u30a2\u30a6\u30c8\u30a2\u30fc\u30ad\u30c6\u30af\u30c1\u30e3\u306b\u91cd\u70b9\u3092\u7f6e\u3044\u3066\u3044\u307e\u3059\u304c\u3001\u30c8\u30e9\u30f3\u30b6\u30af\u30b7\u30e7\u30f3\u3068\u30c7\u30fc\u30bf\u306e\u4e00\u8cab\u6027\u306b\u3064\u3044\u3066\u306f\u6539\u5584\u306e\u4f59\u5730\u304c\u3042\u308a\u307e\u3059\u3002<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" align=\"center\"  src=\"https:\/\/griddb.net\/wp-content\/uploads\/2020\/03\/hybrid_cluster_management.png\" alt=\"GridDB Hybrid Cluster Management Scalability\" width=\"626\" height=\"558\" class=\"alignnone size-full wp-image-26453\" srcset=\"\/wp-content\/uploads\/2020\/03\/hybrid_cluster_management.png 626w, \/wp-content\/uploads\/2020\/03\/hybrid_cluster_management-300x267.png 300w, \/wp-content\/uploads\/2020\/03\/hybrid_cluster_management-600x535.png 600w\" sizes=\"(max-width: 626px) 100vw, 626px\" \/><\/p>\n<p>GridDB\u306e\u30cf\u30a4\u30d6\u30ea\u30c3\u30c9\u306a\u30af\u30e9\u30b9\u30bf\u30fc\u7ba1\u7406\u3068\u9ad8\u5ea6\u306a\u8010\u969c\u5bb3\u6027\u3092\u8a87\u308b\u30b7\u30b9\u30c6\u30e0\u306f\u3001\u30df\u30c3\u30b7\u30e7\u30f3\u30af\u30ea\u30c6\u30a3\u30ab\u30eb\u306a\u30a2\u30d7\u30ea\u30b1\u30fc\u30b7\u30e7\u30f3\u3068\u3057\u3066\u306f\u975e\u5e38\u306b\u512a\u308c\u3066\u3044\u307e\u3059\u3002\u30cd\u30c3\u30c8\u30ef\u30fc\u30af\u30d1\u30fc\u30c6\u30a3\u30b7\u30e7\u30f3\u3001\u30ce\u30fc\u30c9\u969c\u5bb3\u3001\u304a\u3088\u3073\u30c7\u30fc\u30bf\u4e00\u8cab\u6027\u306e\u7dad\u6301\u306f\u3001\u30c7\u30fc\u30bf\u304c\u30ce\u30fc\u30c9\u9593\u3067\u5206\u6563\u3055\u308c\u308b\u3068\u304d\u306b\u8d77\u3053\u308a\u304c\u3061\u306a\u554f\u984c\u3067\u3059\u3002\u901a\u5e38\u3001\u5206\u6563\u30b7\u30b9\u30c6\u30e0\u306f\u300c\u30de\u30b9\u30bf\u30fc\u30b9\u30ec\u30fc\u30d6\u300d\u307e\u305f\u306f\u300c\u30d4\u30a2\u30c4\u30fc\u30d4\u30a2\u300d\u30a2\u30fc\u30ad\u30c6\u30af\u30c1\u30e3\u3092\u63a1\u7528\u3057\u3066\u3044\u307e\u3059\u3002\u30de\u30b9\u30bf\u30fc\u30fb\u30b9\u30ec\u30fc\u30d6\u30aa\u30d7\u30b7\u30e7\u30f3\u306f\u30c7\u30fc\u30bf\u306e\u4e00\u8cab\u6027\u3092\u7dad\u6301\u3059\u308b\u306e\u306b\u9069\u3057\u3066\u3044\u307e\u3059\u304c\u3001\u30b7\u30f3\u30b0\u30eb\u30dd\u30a4\u30f3\u30c8\u969c\u5bb3\uff08SPOF\uff09\u3092\u56de\u907f\u3059\u308b\u305f\u3081\u306b\u30de\u30b9\u30bf\u30fc\u30ce\u30fc\u30c9\u306e\u5197\u9577\u6027\u3092\u5fc5\u8981\u3068\u3057\u307e\u3059\u3002\u30d4\u30a2\u30c4\u30fc\u30d4\u30a2\u3067\u306fSPOF\u3092\u56de\u907f\u3059\u308b\u3053\u3068\u304c\u3067\u304d\u307e\u3059\u304c\u3001\u30ce\u30fc\u30c9\u9593\u306e\u901a\u4fe1\u30aa\u30fc\u30d0\u30fc\u30d8\u30c3\u30c9\u3068\u3044\u3046\u5927\u304d\u306a\u554f\u984c\u304c\u3042\u308a\u307e\u3059\u3002<\/p>\n<h2>\u30c7\u30fc\u30bf\u306e\u51e6\u7406\u3068\u5229\u7528<\/h2>\n<h3>HTTP\/Flask<\/h3>\n<p>HTTP\u3068Flask\u3092\u4f7f\u7528\u3057\u3066\u30c7\u30fc\u30bf\u3092\u53d6\u308a\u8fbc\u3080\u3088\u3046\u306b\u3001HTTP\u3068Flask\u306f\u3001\u4ed6\u306e\u30a2\u30d7\u30ea\u30b1\u30fc\u30b7\u30e7\u30f3\u3001\u7279\u306b\u30b5\u30fc\u30c9\u30d1\u30fc\u30c6\u30a3\u304c\u4f7f\u7528\u3059\u308b\u30a2\u30d7\u30ea\u30b1\u30fc\u30b7\u30e7\u30f3\u306b\u30c7\u30fc\u30bf\u3092\u914d\u4fe1\u3059\u308b\u306e\u306b\u6700\u9069\u3067\u3059\u3002HTTP\u3068Flask\u3092\u4f7f\u7528\u3059\u308b\u5229\u70b9\u3068\u3057\u3066\u306f\u3001\u958b\u767a\u306e\u5bb9\u6613\u3055\u3001HTTP\u304c\u63d0\u4f9b\u3059\u308b\u67d4\u8edf\u6027\u3001\u305d\u3057\u3066\u30a2\u30d7\u30ea\u30b1\u30fc\u30b7\u30e7\u30f3\u306e\u69cb\u7bc9\u306b\u4f7f\u7528\u3067\u304d\u308b\u3055\u307e\u3056\u307e\u306a\u30e9\u30a4\u30d6\u30e9\u30ea\u3068\u30d5\u30ec\u30fc\u30e0\u30ef\u30fc\u30af\u306e\u6570\u306a\u3069\u304c\u6319\u3052\u3089\u308c\u307e\u3059\u3002<\/p>\n<pre>\n@app.route('\/fetch\/<device>', methods=['GET'])\ndef fetch(device):\n\n    try:\n        ts = gridstore.get_container(device)\n\n        tql = \"select *\"\n        first = True;\n\n        if device != \"devices\":\n            for arg in request.args:\n                if first:\n                    tql = tql + \" WHERE\"\n                else:\n                    tql = tql + \" AND\"\n                if arg == \"from\":\n                    tql = tql + \" timestamp >= TO_TIMESTAMP_MS(\"+request.args['from']+\") \"\n                if arg == \"to\":\n                    tql = tql + \" timestamp < TO_TIMESTAMP_MS(\"+request.args['to']+\") \"\n                first = False\n        query = ts.query(tql)\n        rs = query.fetch(False)\n        columns = rs.get_column_names()\n        datadict = {}\n\n        retval=[]\n        while rs.has_next():\n            data = rs.next()\n            for col in columns:\n                if col == \"timestamp\":\n                    datadict[col] = int(data[columns.index(col)].timestamp()*1000)\n                else:\n                    datadict[col] = data[columns.index(col)]\n            retval.append(datadict.copy())\n\n        return json.dumps(retval)\n    except:\n        abort(500, \"Fetch failed\")\n<\/pre>\n<p>\u4e0a\u8a18\u306f\u3001\u6642\u7cfb\u5217\u30c7\u30fc\u30bf\u306e\u30af\u30a8\u30ea\u3092\u5b9f\u884c\u3059\u308b\u3053\u3068\u304c\u3067\u304d\u308b\u30b7\u30f3\u30d7\u30eb\u306a\u30a8\u30f3\u30c9\u30dd\u30a4\u30f3\u30c8\u306e\u4f8b\u3067\u3059\u3002\u30aa\u30d7\u30b7\u30e7\u30f3\u6307\u5b9a\u306b\u3088\u3063\u3066\u3042\u308b\u30bf\u30a4\u30e0\u30b9\u30bf\u30f3\u30d7\u9593\u306e\u30c7\u30fc\u30bf\u3092\u554f\u3044\u5408\u308f\u305b\u308b\u3053\u3068\u304c\u3067\u304d\u307e\u3059\u3002Python\u3067\u5229\u7528\u53ef\u80fd\u306a\u591a\u6570\u306e\u30c7\u30fc\u30bf\u5206\u6790\u30c4\u30fc\u30eb\u3084\u3001OAuth2\u8a8d\u8a3c\u306a\u3069\u306eFlask\u30a6\u30a7\u30d6\u30d5\u30ec\u30fc\u30e0\u30ef\u30fc\u30af\u3078\u306e\u4fbf\u5229\u306a\u8ffd\u52a0\u6a5f\u80fd\u306b\u3088\u308a\u3001\u5fc5\u8981\u306b\u5fdc\u3058\u3066\u6a5f\u80fd\u3092\u7c21\u5358\u306b\u8ffd\u52a0\u3057\u3066\u3001\u30c7\u30fc\u30bf\u30d7\u30e9\u30a4\u30d0\u30b7\u30fc\u3092\u78ba\u4fdd\u3057\u305f\u308a\u3001WebSockets\u3067\u30ea\u30a2\u30eb\u30bf\u30a4\u30e0\u30b9\u30c8\u30ea\u30fc\u30df\u30f3\u30b0\u30a2\u30d7\u30ea\u30b1\u30fc\u30b7\u30e7\u30f3\u3092\u69cb\u7bc9\u3057\u305f\u308a\u3059\u308b\u3053\u3068\u304c\u53ef\u80fd\u3067\u3059\u3002<\/p>\n<h3>Grafana<\/h3>\n<p>Grafana\u306f\u3001GridDB\u3092\u542b\u3080\u591a\u304f\u306e\u7570\u306a\u308b\u30c7\u30fc\u30bf\u30d9\u30fc\u30b9\u304b\u3089\u30c7\u30fc\u30bf\u3092\u8aad\u307f\u53d6\u308b\u3053\u3068\u304c\u3067\u304d\u308b\u3001\u30aa\u30fc\u30d7\u30f3\u30bd\u30fc\u30b9\u306e\u5206\u6790\u3068\u30a4\u30f3\u30bf\u30e9\u30af\u30c6\u30a3\u30d6\u306a\u8996\u899a\u5316\u304c\u53ef\u80fd\u306a\u30d7\u30e9\u30c3\u30c8\u30d5\u30a9\u30fc\u30e0\u3067\u3059\u3002GridDB\u3067Grafana\u3092\u4f7f\u7528\u3059\u308b\u65b9\u6cd5\u306f2\u3064\u3042\u308a\u307e\u3059\u30021\u3064\u306fFlask\u3067\u30ab\u30b9\u30bf\u30e0\u30a8\u30f3\u30c9\u30dd\u30a4\u30f3\u30c8\u3092\u4f7f\u7528\u3057\u305f\u5f8c\u306bJSON\u30c7\u30fc\u30bf\u30bd\u30fc\u30b9\u3092\u4f7f\u7528\u3059\u308b\u65b9\u6cd5\u3001\u3082\u30461\u3064\u306fGridDB WebAPI\u3068\u30cd\u30a4\u30c6\u30a3\u30d6\u306eGrafana GridDB\u30c7\u30fc\u30bf\u30bd\u30fc\u30b9\u3092\u4f7f\u7528\u3059\u308b\u65b9\u6cd5\u3067\u3059\u3002<\/p>\n<p>Grafana\u3092\u4f7f\u7528\u3059\u308b\u3053\u3068\u3067\u3001\u3055\u307e\u3056\u307e\u306a\u30b0\u30e9\u30d5\u5f62\u5f0f\u3067\u30ea\u30a2\u30eb\u30bf\u30a4\u30e0\u306e\u6642\u7cfb\u5217\u30c7\u30fc\u30bf\u3092\u8996\u899a\u5316\u3067\u304d\u308b\u3060\u3051\u3067\u306a\u304f\u3001\u30c7\u30fc\u30bf\u30d9\u30fc\u30b9\u99c6\u52d5\u578b\u306e\u6ce8\u91c8\u3092\u8ffd\u52a0\u3057\u305f\u308a\u3001\u30c6\u30fc\u30d6\u30eb\u306b\u96c6\u8a08\u3092\u8868\u793a\u3057\u305f\u308a\u3059\u308b\u3053\u3068\u3082\u3067\u304d\u307e\u3059\u3002<\/p>\n<p>\u3053\u308c\u306f\u3001\u904b\u7528\u30c1\u30fc\u30e0\u306b\u3068\u3063\u3066\u306f\u4e8b\u524d\u306e\u8a2d\u5b9a\u3092\u307b\u3068\u3093\u3069\u884c\u308f\u305a\u306b\u6a5f\u5668\u3092\u76e3\u8996\u3059\u308b\u3053\u3068\u304c\u3067\u304d\u7406\u60f3\u7684\u306a\u30c4\u30fc\u30eb\u3067\u3042\u308b\u3068\u8a00\u3048\u307e\u3059\u3002<\/p>\n<h3>Cron<\/h3>\n<p>Cron\u306f\u3001\u30bd\u30d5\u30c8\u30a6\u30a7\u30a2\u306e\u7ba1\u7406\u306b\u4f7f\u7528\u3055\u308c\u308b\u30e6\u30fc\u30c6\u30a3\u30ea\u30c6\u30a3\u306e\u4e2d\u3067\u6700\u3082\u53e4\u3044\u3082\u306e1\u3064\u3067\u3042\u308a\u3001\u305d\u306e\u30b7\u30f3\u30d7\u30eb\u306a\u4f7f\u3044\u3084\u3059\u3055\u3068\u6709\u52b9\u6027\u306e\u305f\u3081\u306b\u4eca\u3082\u898b\u843d\u3059\u3053\u3068\u306e\u3067\u304d\u306a\u3044\u3082\u306e\u3067\u3059\u3002Cron\u3092\u4f7f\u7528\u3059\u308b\u3053\u3068\u3067\u3001\u4efb\u610f\u306e\u30bf\u30b9\u30af\u3092\u5b9f\u884c\u3059\u308b\u76ee\u7684\u306e\u30a2\u30d7\u30ea\u30b1\u30fc\u30b7\u30e7\u30f3\u3092\u3001\u6bce\u6642\u3001\u6bce\u9031\u3001\u6bce\u6708\u5b9f\u884c\u3059\u308b\u3053\u3068\u304c\u3067\u304d\u307e\u3059\u3002CroMFlaG2\u30b9\u30bf\u30c3\u30af\u306b\u304a\u3044\u3066\u3001\u3053\u308c\u3089\u306e\u30a2\u30d7\u30ea\u30b1\u30fc\u30b7\u30e7\u30f3\u306f\u901a\u5e38\u3001\u53d6\u308a\u8fbc\u307e\u308c\u305f\u30c7\u30fc\u30bf\u306b\u57fa\u3065\u3044\u3066\u3001\u6bce\u65e5\u307e\u305f\u306f\u6bce\u9031\u306e\u30ec\u30dd\u30fc\u30c8\u307e\u305f\u306f\u6bce\u6708\u306e\u8acb\u6c42\u66f8\u3092\u751f\u6210\u3057\u307e\u3059\u3002<\/p>\n<p>Cron\u306f\u3001\u307b\u3068\u3093\u3069\u306eLinux\u30c7\u30a3\u30b9\u30c8\u30ea\u30d3\u30e5\u30fc\u30b7\u30e7\u30f3\u306b\u542b\u307e\u308c\u3066\u3044\u308b\u3060\u3051\u3067\u306a\u304f\u3001Kubernetes\u30b3\u30f3\u30c6\u30ca\u30aa\u30fc\u30b1\u30b9\u30c8\u30ec\u30fc\u30b7\u30e7\u30f3\u3092\u4f7f\u7528\u3057\u3066\u30a2\u30d7\u30ea\u30b1\u30fc\u30b7\u30e7\u30f3\u3092\u30c7\u30d7\u30ed\u30a4\u3059\u308b\u3053\u3068\u3082\u3067\u304d\u307e\u3059\u3002<\/p>\n<h2>\u7d50\u8ad6<\/h2>\n<p>CroMFlaG2\u3092\u4f7f\u7528\u3059\u308b\u3068\u3001\u958b\u767a\u8005\u306f\u30a4\u30f3\u30d5\u30e9\u30b9\u30c8\u30e9\u30af\u30c1\u30e3\u3092IoT\u30bd\u30d5\u30c8\u30a6\u30a7\u30a2\u30b9\u30bf\u30c3\u30af\u306b\u9069\u5fdc\u3055\u305b\u308b\u306e\u3067\u306f\u306a\u304f\u3001\u30a4\u30f3\u30d5\u30e9\u30b9\u30c8\u30e9\u30af\u30c1\u30e3\u306b\u9069\u5fdc\u3059\u308b\u30aa\u30fc\u30d7\u30f3\u30bd\u30fc\u30b9\u30b3\u30f3\u30dd\u30fc\u30cd\u30f3\u30c8\u3067IoT\u30bd\u30ea\u30e5\u30fc\u30b7\u30e7\u30f3\u3092\u69cb\u7bc9\u3059\u308b\u3053\u3068\u304c\u3067\u304d\u307e\u3059\u3002MQTT\u3068HTTP Flask\u306b\u3088\u3063\u3066\u3001\u9ad8\u901f\u30c7\u30fc\u30bf\u30b9\u30c8\u30ea\u30fc\u30e0\u3068\u5b9a\u671f\u7684\u306a\u30d0\u30c3\u30c1\u30c7\u30fc\u30bf\u306e\u4e21\u65b9\u3092GridDB\u30c7\u30fc\u30bf\u30b9\u30c8\u30a2\u306b\u53d6\u308a\u8fbc\u3080\u3053\u3068\u304c\u3067\u304d\u3001HTTP Flask\u3001Cron\u3001Grafana\u306b\u3088\u3063\u3066\u3001IoT\u30c7\u30fc\u30bf\u3092\u3055\u307e\u3056\u307e\u306a\u65b9\u6cd5\u3067\u63d0\u4f9b\u3001\u51e6\u7406\u3001\u8996\u899a\u5316\u3059\u308b\u3053\u3068\u304c\u3067\u304d\u308b\u3088\u3046\u306b\u306a\u308a\u307e\u3059\u3002<\/p>\n<p>\u3053\u306e\u30d6\u30ed\u30b0\u3067\u7d39\u4ecb\u3057\u305fHTTP Flask\u30b5\u30f3\u30d7\u30eb\u306f<a href=\"https:\/\/griddb.net\/en\/download\/26571\/\" target=\"_blank\" rel=\"noopener noreferrer\">\u3053\u3061\u3089<\/a>\u3067\u3001Docker\u30a4\u30e1\u30fc\u30b8\u306f<a href=\"https:\/\/hub.docker.com\/r\/griddbnet\/cromflag2\">DockerHub<\/a>\u3067\u5165\u624b\u3059\u308b\u3053\u3068\u304c\u3067\u304d\u307e\u3059\u3002PDF\u306e\u30db\u30ef\u30a4\u30c8\u30da\u30fc\u30d1\u30fc\u306f<a href=\"https:\/\/griddb.net\/en\/download\/26458\/\" target=\"_blank\" rel=\"noopener noreferrer\">\u3053\u3061\u3089<\/a>\u304b\u3089\u30c0\u30a6\u30f3\u30ed\u30fc\u30c9\u3067\u304d\u307e\u3059\u3002<\/p>\n","protected":false},"excerpt":{"rendered":"<p>\u3053\u306e\u30d6\u30ed\u30b0\u3067\u306f\u3001\u30b7\u30f3\u30d7\u30eb\u3067\u67d4\u8edf\u306a\u30aa\u30fc\u30d7\u30f3\u30bd\u30fc\u30b9\u306eIoT\u30bd\u30d5\u30c8\u30a6\u30a7\u30a2\u30b9\u30bf\u30c3\u30af\u3001CroMFlaG2\uff08CROn\u3001Mqtt\u3001FLAsk\u3001GridDB\u3001Grafana\uff09\u306e\u6d3b\u7528\u65b9\u6cd5\u3068\u304a\u3059\u3059\u3081\u3059\u308b\u7406\u7531\u3092\u7d39\u4ecb\u3057\u307e\u3059\u3002CroMFlaG2\u306f [&hellip;]<\/p>\n","protected":false},"author":71,"featured_media":50134,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_acf_changed":false,"footnotes":""},"categories":[1005],"tags":[],"class_list":["post-50703","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-1005"],"acf":[],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v27.1.1 - https:\/\/yoast.com\/product\/yoast-seo-wordpress\/ -->\n<title>CroMFlaG2 : IoT\u30bd\u30ea\u30e5\u30fc\u30b7\u30e7\u30f3\u3092\u69cb\u7bc9\u3059\u308b\u305f\u3081\u306e\u30aa\u30fc\u30d7\u30f3\u30bd\u30fc\u30b9\u30bd\u30d5\u30c8\u30a6\u30a7\u30a2\u30b9\u30bf\u30c3\u30af | GridDB: Open Source Time Series Database for IoT<\/title>\n<meta name=\"description\" content=\"\u3053\u306e\u30d6\u30ed\u30b0\u3067\u306f\u3001\u30b7\u30f3\u30d7\u30eb\u3067\u67d4\u8edf\u306a\u30aa\u30fc\u30d7\u30f3\u30bd\u30fc\u30b9\u306eIoT\u30bd\u30d5\u30c8\u30a6\u30a7\u30a2\u30b9\u30bf\u30c3\u30af\u3001CroMFlaG2\uff08CROn\u3001Mqtt\u3001FLAsk\u3001GridDB\u3001Grafana\uff09\u306e\" \/>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/griddb.net\/ja\/\u672a\u5206\u985e\/cromflag2-an-open-iot-stack\/\" \/>\n<meta property=\"og:locale\" content=\"ja_JP\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"CroMFlaG2 : IoT\u30bd\u30ea\u30e5\u30fc\u30b7\u30e7\u30f3\u3092\u69cb\u7bc9\u3059\u308b\u305f\u3081\u306e\u30aa\u30fc\u30d7\u30f3\u30bd\u30fc\u30b9\u30bd\u30d5\u30c8\u30a6\u30a7\u30a2\u30b9\u30bf\u30c3\u30af | GridDB: Open Source Time Series Database for IoT\" \/>\n<meta property=\"og:description\" content=\"\u3053\u306e\u30d6\u30ed\u30b0\u3067\u306f\u3001\u30b7\u30f3\u30d7\u30eb\u3067\u67d4\u8edf\u306a\u30aa\u30fc\u30d7\u30f3\u30bd\u30fc\u30b9\u306eIoT\u30bd\u30d5\u30c8\u30a6\u30a7\u30a2\u30b9\u30bf\u30c3\u30af\u3001CroMFlaG2\uff08CROn\u3001Mqtt\u3001FLAsk\u3001GridDB\u3001Grafana\uff09\u306e\" \/>\n<meta property=\"og:url\" content=\"https:\/\/griddb.net\/ja\/\u672a\u5206\u985e\/cromflag2-an-open-iot-stack\/\" \/>\n<meta property=\"og:site_name\" content=\"GridDB: Open Source Time Series Database for IoT\" \/>\n<meta property=\"article:publisher\" content=\"https:\/\/www.facebook.com\/griddbcommunity\/\" \/>\n<meta property=\"article:published_time\" content=\"2020-05-13T07:00:00+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2025-11-14T15:54:04+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/griddb-linux-hte8hndjf8cka8ht.westus-01.azurewebsites.net\/wp-content\/uploads\/2020\/05\/zan-wGqz5YSqsfk-unsplash1.jpg\" \/>\n\t<meta property=\"og:image:width\" content=\"2400\" \/>\n\t<meta property=\"og:image:height\" content=\"1600\" \/>\n\t<meta property=\"og:image:type\" content=\"image\/jpeg\" \/>\n<meta name=\"author\" content=\"Owen\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:creator\" content=\"@GridDBCommunity\" \/>\n<meta name=\"twitter:site\" content=\"@GridDBCommunity\" \/>\n<meta name=\"twitter:label1\" content=\"\u57f7\u7b46\u8005\" \/>\n\t<meta name=\"twitter:data1\" content=\"Owen\" \/>\n\t<meta name=\"twitter:label2\" content=\"\u63a8\u5b9a\u8aad\u307f\u53d6\u308a\u6642\u9593\" \/>\n\t<meta name=\"twitter:data2\" content=\"3\u5206\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\/\/griddb.net\/ja\/%e6%9c%aa%e5%88%86%e9%a1%9e\/cromflag2-an-open-iot-stack\/#article\",\"isPartOf\":{\"@id\":\"https:\/\/griddb.net\/ja\/%e6%9c%aa%e5%88%86%e9%a1%9e\/cromflag2-an-open-iot-stack\/\"},\"author\":{\"name\":\"Owen\",\"@id\":\"https:\/\/griddb.net\/en\/#\/schema\/person\/0f2f6d4b593adde8c43cf3ea5c794c66\"},\"headline\":\"CroMFlaG2 : IoT\u30bd\u30ea\u30e5\u30fc\u30b7\u30e7\u30f3\u3092\u69cb\u7bc9\u3059\u308b\u305f\u3081\u306e\u30aa\u30fc\u30d7\u30f3\u30bd\u30fc\u30b9\u30bd\u30d5\u30c8\u30a6\u30a7\u30a2\u30b9\u30bf\u30c3\u30af\",\"datePublished\":\"2020-05-13T07:00:00+00:00\",\"dateModified\":\"2025-11-14T15:54:04+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\/\/griddb.net\/ja\/%e6%9c%aa%e5%88%86%e9%a1%9e\/cromflag2-an-open-iot-stack\/\"},\"wordCount\":163,\"commentCount\":0,\"publisher\":{\"@id\":\"https:\/\/griddb.net\/en\/#organization\"},\"image\":{\"@id\":\"https:\/\/griddb.net\/ja\/%e6%9c%aa%e5%88%86%e9%a1%9e\/cromflag2-an-open-iot-stack\/#primaryimage\"},\"thumbnailUrl\":\"\/wp-content\/uploads\/2020\/05\/zan-wGqz5YSqsfk-unsplash1.jpg\",\"inLanguage\":\"ja\",\"potentialAction\":[{\"@type\":\"CommentAction\",\"name\":\"Comment\",\"target\":[\"https:\/\/griddb.net\/ja\/%e6%9c%aa%e5%88%86%e9%a1%9e\/cromflag2-an-open-iot-stack\/#respond\"]}]},{\"@type\":\"WebPage\",\"@id\":\"https:\/\/griddb.net\/ja\/%e6%9c%aa%e5%88%86%e9%a1%9e\/cromflag2-an-open-iot-stack\/\",\"url\":\"https:\/\/griddb.net\/ja\/%e6%9c%aa%e5%88%86%e9%a1%9e\/cromflag2-an-open-iot-stack\/\",\"name\":\"CroMFlaG2 : IoT\u30bd\u30ea\u30e5\u30fc\u30b7\u30e7\u30f3\u3092\u69cb\u7bc9\u3059\u308b\u305f\u3081\u306e\u30aa\u30fc\u30d7\u30f3\u30bd\u30fc\u30b9\u30bd\u30d5\u30c8\u30a6\u30a7\u30a2\u30b9\u30bf\u30c3\u30af | GridDB: Open Source Time Series Database for IoT\",\"isPartOf\":{\"@id\":\"https:\/\/griddb.net\/en\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\/\/griddb.net\/ja\/%e6%9c%aa%e5%88%86%e9%a1%9e\/cromflag2-an-open-iot-stack\/#primaryimage\"},\"image\":{\"@id\":\"https:\/\/griddb.net\/ja\/%e6%9c%aa%e5%88%86%e9%a1%9e\/cromflag2-an-open-iot-stack\/#primaryimage\"},\"thumbnailUrl\":\"\/wp-content\/uploads\/2020\/05\/zan-wGqz5YSqsfk-unsplash1.jpg\",\"datePublished\":\"2020-05-13T07:00:00+00:00\",\"dateModified\":\"2025-11-14T15:54:04+00:00\",\"description\":\"\u3053\u306e\u30d6\u30ed\u30b0\u3067\u306f\u3001\u30b7\u30f3\u30d7\u30eb\u3067\u67d4\u8edf\u306a\u30aa\u30fc\u30d7\u30f3\u30bd\u30fc\u30b9\u306eIoT\u30bd\u30d5\u30c8\u30a6\u30a7\u30a2\u30b9\u30bf\u30c3\u30af\u3001CroMFlaG2\uff08CROn\u3001Mqtt\u3001FLAsk\u3001GridDB\u3001Grafana\uff09\u306e\",\"inLanguage\":\"ja\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/griddb.net\/ja\/%e6%9c%aa%e5%88%86%e9%a1%9e\/cromflag2-an-open-iot-stack\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"ja\",\"@id\":\"https:\/\/griddb.net\/ja\/%e6%9c%aa%e5%88%86%e9%a1%9e\/cromflag2-an-open-iot-stack\/#primaryimage\",\"url\":\"\/wp-content\/uploads\/2020\/05\/zan-wGqz5YSqsfk-unsplash1.jpg\",\"contentUrl\":\"\/wp-content\/uploads\/2020\/05\/zan-wGqz5YSqsfk-unsplash1.jpg\",\"width\":2400,\"height\":1600},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/griddb.net\/en\/#website\",\"url\":\"https:\/\/griddb.net\/en\/\",\"name\":\"GridDB: Open Source Time Series Database for IoT\",\"description\":\"GridDB is an open source time-series database with the performance of NoSQL and convenience of SQL\",\"publisher\":{\"@id\":\"https:\/\/griddb.net\/en\/#organization\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/griddb.net\/en\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"ja\"},{\"@type\":\"Organization\",\"@id\":\"https:\/\/griddb.net\/en\/#organization\",\"name\":\"Fixstars\",\"url\":\"https:\/\/griddb.net\/en\/\",\"logo\":{\"@type\":\"ImageObject\",\"inLanguage\":\"ja\",\"@id\":\"https:\/\/griddb.net\/en\/#\/schema\/logo\/image\/\",\"url\":\"https:\/\/griddb.net\/wp-content\/uploads\/2019\/04\/fixstars_logo_web_tagline.png\",\"contentUrl\":\"https:\/\/griddb.net\/wp-content\/uploads\/2019\/04\/fixstars_logo_web_tagline.png\",\"width\":200,\"height\":83,\"caption\":\"Fixstars\"},\"image\":{\"@id\":\"https:\/\/griddb.net\/en\/#\/schema\/logo\/image\/\"},\"sameAs\":[\"https:\/\/www.facebook.com\/griddbcommunity\/\",\"https:\/\/x.com\/GridDBCommunity\",\"https:\/\/www.linkedin.com\/company\/griddb-by-toshiba\"]},{\"@type\":\"Person\",\"@id\":\"https:\/\/griddb.net\/en\/#\/schema\/person\/0f2f6d4b593adde8c43cf3ea5c794c66\",\"name\":\"Owen\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"ja\",\"@id\":\"https:\/\/griddb.net\/en\/#\/schema\/person\/image\/\",\"url\":\"https:\/\/secure.gravatar.com\/avatar\/47438a5c81215c7a9043be1b427e0bbd8dc0f77bd536f147f8495575149e4325?s=96&d=mm&r=g\",\"contentUrl\":\"https:\/\/secure.gravatar.com\/avatar\/47438a5c81215c7a9043be1b427e0bbd8dc0f77bd536f147f8495575149e4325?s=96&d=mm&r=g\",\"caption\":\"Owen\"},\"url\":\"https:\/\/griddb-linux-hte8hndjf8cka8ht.westus-01.azurewebsites.net\/ja\/author\/owen\/\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"CroMFlaG2 : IoT\u30bd\u30ea\u30e5\u30fc\u30b7\u30e7\u30f3\u3092\u69cb\u7bc9\u3059\u308b\u305f\u3081\u306e\u30aa\u30fc\u30d7\u30f3\u30bd\u30fc\u30b9\u30bd\u30d5\u30c8\u30a6\u30a7\u30a2\u30b9\u30bf\u30c3\u30af | GridDB: Open Source Time Series Database for IoT","description":"\u3053\u306e\u30d6\u30ed\u30b0\u3067\u306f\u3001\u30b7\u30f3\u30d7\u30eb\u3067\u67d4\u8edf\u306a\u30aa\u30fc\u30d7\u30f3\u30bd\u30fc\u30b9\u306eIoT\u30bd\u30d5\u30c8\u30a6\u30a7\u30a2\u30b9\u30bf\u30c3\u30af\u3001CroMFlaG2\uff08CROn\u3001Mqtt\u3001FLAsk\u3001GridDB\u3001Grafana\uff09\u306e","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/griddb.net\/ja\/\u672a\u5206\u985e\/cromflag2-an-open-iot-stack\/","og_locale":"ja_JP","og_type":"article","og_title":"CroMFlaG2 : IoT\u30bd\u30ea\u30e5\u30fc\u30b7\u30e7\u30f3\u3092\u69cb\u7bc9\u3059\u308b\u305f\u3081\u306e\u30aa\u30fc\u30d7\u30f3\u30bd\u30fc\u30b9\u30bd\u30d5\u30c8\u30a6\u30a7\u30a2\u30b9\u30bf\u30c3\u30af | GridDB: Open Source Time Series Database for IoT","og_description":"\u3053\u306e\u30d6\u30ed\u30b0\u3067\u306f\u3001\u30b7\u30f3\u30d7\u30eb\u3067\u67d4\u8edf\u306a\u30aa\u30fc\u30d7\u30f3\u30bd\u30fc\u30b9\u306eIoT\u30bd\u30d5\u30c8\u30a6\u30a7\u30a2\u30b9\u30bf\u30c3\u30af\u3001CroMFlaG2\uff08CROn\u3001Mqtt\u3001FLAsk\u3001GridDB\u3001Grafana\uff09\u306e","og_url":"https:\/\/griddb.net\/ja\/\u672a\u5206\u985e\/cromflag2-an-open-iot-stack\/","og_site_name":"GridDB: Open Source Time Series Database for IoT","article_publisher":"https:\/\/www.facebook.com\/griddbcommunity\/","article_published_time":"2020-05-13T07:00:00+00:00","article_modified_time":"2025-11-14T15:54:04+00:00","og_image":[{"width":2400,"height":1600,"url":"https:\/\/griddb-linux-hte8hndjf8cka8ht.westus-01.azurewebsites.net\/wp-content\/uploads\/2020\/05\/zan-wGqz5YSqsfk-unsplash1.jpg","type":"image\/jpeg"}],"author":"Owen","twitter_card":"summary_large_image","twitter_creator":"@GridDBCommunity","twitter_site":"@GridDBCommunity","twitter_misc":{"\u57f7\u7b46\u8005":"Owen","\u63a8\u5b9a\u8aad\u307f\u53d6\u308a\u6642\u9593":"3\u5206"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/griddb.net\/ja\/%e6%9c%aa%e5%88%86%e9%a1%9e\/cromflag2-an-open-iot-stack\/#article","isPartOf":{"@id":"https:\/\/griddb.net\/ja\/%e6%9c%aa%e5%88%86%e9%a1%9e\/cromflag2-an-open-iot-stack\/"},"author":{"name":"Owen","@id":"https:\/\/griddb.net\/en\/#\/schema\/person\/0f2f6d4b593adde8c43cf3ea5c794c66"},"headline":"CroMFlaG2 : IoT\u30bd\u30ea\u30e5\u30fc\u30b7\u30e7\u30f3\u3092\u69cb\u7bc9\u3059\u308b\u305f\u3081\u306e\u30aa\u30fc\u30d7\u30f3\u30bd\u30fc\u30b9\u30bd\u30d5\u30c8\u30a6\u30a7\u30a2\u30b9\u30bf\u30c3\u30af","datePublished":"2020-05-13T07:00:00+00:00","dateModified":"2025-11-14T15:54:04+00:00","mainEntityOfPage":{"@id":"https:\/\/griddb.net\/ja\/%e6%9c%aa%e5%88%86%e9%a1%9e\/cromflag2-an-open-iot-stack\/"},"wordCount":163,"commentCount":0,"publisher":{"@id":"https:\/\/griddb.net\/en\/#organization"},"image":{"@id":"https:\/\/griddb.net\/ja\/%e6%9c%aa%e5%88%86%e9%a1%9e\/cromflag2-an-open-iot-stack\/#primaryimage"},"thumbnailUrl":"\/wp-content\/uploads\/2020\/05\/zan-wGqz5YSqsfk-unsplash1.jpg","inLanguage":"ja","potentialAction":[{"@type":"CommentAction","name":"Comment","target":["https:\/\/griddb.net\/ja\/%e6%9c%aa%e5%88%86%e9%a1%9e\/cromflag2-an-open-iot-stack\/#respond"]}]},{"@type":"WebPage","@id":"https:\/\/griddb.net\/ja\/%e6%9c%aa%e5%88%86%e9%a1%9e\/cromflag2-an-open-iot-stack\/","url":"https:\/\/griddb.net\/ja\/%e6%9c%aa%e5%88%86%e9%a1%9e\/cromflag2-an-open-iot-stack\/","name":"CroMFlaG2 : IoT\u30bd\u30ea\u30e5\u30fc\u30b7\u30e7\u30f3\u3092\u69cb\u7bc9\u3059\u308b\u305f\u3081\u306e\u30aa\u30fc\u30d7\u30f3\u30bd\u30fc\u30b9\u30bd\u30d5\u30c8\u30a6\u30a7\u30a2\u30b9\u30bf\u30c3\u30af | GridDB: Open Source Time Series Database for IoT","isPartOf":{"@id":"https:\/\/griddb.net\/en\/#website"},"primaryImageOfPage":{"@id":"https:\/\/griddb.net\/ja\/%e6%9c%aa%e5%88%86%e9%a1%9e\/cromflag2-an-open-iot-stack\/#primaryimage"},"image":{"@id":"https:\/\/griddb.net\/ja\/%e6%9c%aa%e5%88%86%e9%a1%9e\/cromflag2-an-open-iot-stack\/#primaryimage"},"thumbnailUrl":"\/wp-content\/uploads\/2020\/05\/zan-wGqz5YSqsfk-unsplash1.jpg","datePublished":"2020-05-13T07:00:00+00:00","dateModified":"2025-11-14T15:54:04+00:00","description":"\u3053\u306e\u30d6\u30ed\u30b0\u3067\u306f\u3001\u30b7\u30f3\u30d7\u30eb\u3067\u67d4\u8edf\u306a\u30aa\u30fc\u30d7\u30f3\u30bd\u30fc\u30b9\u306eIoT\u30bd\u30d5\u30c8\u30a6\u30a7\u30a2\u30b9\u30bf\u30c3\u30af\u3001CroMFlaG2\uff08CROn\u3001Mqtt\u3001FLAsk\u3001GridDB\u3001Grafana\uff09\u306e","inLanguage":"ja","potentialAction":[{"@type":"ReadAction","target":["https:\/\/griddb.net\/ja\/%e6%9c%aa%e5%88%86%e9%a1%9e\/cromflag2-an-open-iot-stack\/"]}]},{"@type":"ImageObject","inLanguage":"ja","@id":"https:\/\/griddb.net\/ja\/%e6%9c%aa%e5%88%86%e9%a1%9e\/cromflag2-an-open-iot-stack\/#primaryimage","url":"\/wp-content\/uploads\/2020\/05\/zan-wGqz5YSqsfk-unsplash1.jpg","contentUrl":"\/wp-content\/uploads\/2020\/05\/zan-wGqz5YSqsfk-unsplash1.jpg","width":2400,"height":1600},{"@type":"WebSite","@id":"https:\/\/griddb.net\/en\/#website","url":"https:\/\/griddb.net\/en\/","name":"GridDB: Open Source Time Series Database for IoT","description":"GridDB is an open source time-series database with the performance of NoSQL and convenience of SQL","publisher":{"@id":"https:\/\/griddb.net\/en\/#organization"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/griddb.net\/en\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"ja"},{"@type":"Organization","@id":"https:\/\/griddb.net\/en\/#organization","name":"Fixstars","url":"https:\/\/griddb.net\/en\/","logo":{"@type":"ImageObject","inLanguage":"ja","@id":"https:\/\/griddb.net\/en\/#\/schema\/logo\/image\/","url":"https:\/\/griddb.net\/wp-content\/uploads\/2019\/04\/fixstars_logo_web_tagline.png","contentUrl":"https:\/\/griddb.net\/wp-content\/uploads\/2019\/04\/fixstars_logo_web_tagline.png","width":200,"height":83,"caption":"Fixstars"},"image":{"@id":"https:\/\/griddb.net\/en\/#\/schema\/logo\/image\/"},"sameAs":["https:\/\/www.facebook.com\/griddbcommunity\/","https:\/\/x.com\/GridDBCommunity","https:\/\/www.linkedin.com\/company\/griddb-by-toshiba"]},{"@type":"Person","@id":"https:\/\/griddb.net\/en\/#\/schema\/person\/0f2f6d4b593adde8c43cf3ea5c794c66","name":"Owen","image":{"@type":"ImageObject","inLanguage":"ja","@id":"https:\/\/griddb.net\/en\/#\/schema\/person\/image\/","url":"https:\/\/secure.gravatar.com\/avatar\/47438a5c81215c7a9043be1b427e0bbd8dc0f77bd536f147f8495575149e4325?s=96&d=mm&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/47438a5c81215c7a9043be1b427e0bbd8dc0f77bd536f147f8495575149e4325?s=96&d=mm&r=g","caption":"Owen"},"url":"https:\/\/griddb-linux-hte8hndjf8cka8ht.westus-01.azurewebsites.net\/ja\/author\/owen\/"}]}},"_links":{"self":[{"href":"https:\/\/griddb-linux-hte8hndjf8cka8ht.westus-01.azurewebsites.net\/ja\/wp-json\/wp\/v2\/posts\/50703","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/griddb-linux-hte8hndjf8cka8ht.westus-01.azurewebsites.net\/ja\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/griddb-linux-hte8hndjf8cka8ht.westus-01.azurewebsites.net\/ja\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/griddb-linux-hte8hndjf8cka8ht.westus-01.azurewebsites.net\/ja\/wp-json\/wp\/v2\/users\/71"}],"replies":[{"embeddable":true,"href":"https:\/\/griddb-linux-hte8hndjf8cka8ht.westus-01.azurewebsites.net\/ja\/wp-json\/wp\/v2\/comments?post=50703"}],"version-history":[{"count":1,"href":"https:\/\/griddb-linux-hte8hndjf8cka8ht.westus-01.azurewebsites.net\/ja\/wp-json\/wp\/v2\/posts\/50703\/revisions"}],"predecessor-version":[{"id":51546,"href":"https:\/\/griddb-linux-hte8hndjf8cka8ht.westus-01.azurewebsites.net\/ja\/wp-json\/wp\/v2\/posts\/50703\/revisions\/51546"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/griddb-linux-hte8hndjf8cka8ht.westus-01.azurewebsites.net\/ja\/wp-json\/wp\/v2\/media\/50134"}],"wp:attachment":[{"href":"https:\/\/griddb-linux-hte8hndjf8cka8ht.westus-01.azurewebsites.net\/ja\/wp-json\/wp\/v2\/media?parent=50703"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/griddb-linux-hte8hndjf8cka8ht.westus-01.azurewebsites.net\/ja\/wp-json\/wp\/v2\/categories?post=50703"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/griddb-linux-hte8hndjf8cka8ht.westus-01.azurewebsites.net\/ja\/wp-json\/wp\/v2\/tags?post=50703"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}