Database Modeling
(Team study 2018, Japanese)
* This document was written for non-profit purposes, and if there is a copyright problem please contact me.
オープンコミュニティ「要求開発アライアンス」(http://www.openthology.org)の2012年6月定例会発表資料です。
Open Community "Requirement Development Alliance" 2012/6 regular meeting of the presentation materials.
Slide deck from my #Devlove session at Tokyo covering #ServiceDesign, Information Architecture, and an Enterprise Architecture framework.
Latest blog post on this presentation: http://sprmar.io/sdneia
IA Workshop, Introduction to Information Architecture (2002)Nobuya Sato
This July 5th 2002 document is originally prepared for the workshop for one of the largest web design agency in Tokyo to exchange and share the Razorfish IA methodology with them. For the recent growing need for practical IA methodology in Japan, I decided to open this file for the future generation.
2002年7月5日に某社のために行った情報アーキテクチャ(IA)のワークショップ向けに当時自分なりにまとめた資料です。概論と実践、2回に分けて開催する予定でしたが、第2回目は幻となりました(謎)
いわゆる「白くま」流のIAの考え方と当時の米国で芽生えつつあったUXという違った視点でのIAという考え方の紹介を、実際の組織構成の説明・解説を交えつつ、実際のプロセスとそれぞれの成果物の紹介です。
中盤の実際の組織構成の説明は、2000年当時にIAをサービスの強みとしていた(かつ自分が在籍した)米国の主要Webインテグレーター(日本では当時「SIPS」と呼ばれていた今や当たり前のWebデザインの業態)の3社のデザイン部門の構成やその後の各社の動向をIAを軸に解説しています。
ここで詳細は書きませんが、以前無断で引用(というか丸写)され、意味を意図的(?)に変えて某大学院の授業教材に間違った文脈で使われていたのをその大学のオープンキャンパス戦略なる計らいで知ったことがあります。(単にググったら出てきたw)
まぁ、引用されるのは良いことでもあるのすが、どうせならフルで引用されるように公開しておきたい、という思いと、一方で昨今の「IAからUXへ」という考え方の源流がすでに2002年には確立していた、という点でもその方面に興味がある方には参考になるかな?と。
#記述内容は当時のままですが、用語統一の観点から「情報設計」を「情報アーキテクチャ」、「インフォメーション・アーキテクト」を「インフォメーションアーキテクト」にだけ変更しています。
IoT Google Home
(Team study 2017, Japanese)
* This document was written for non-profit purposes, and if there is a copyright problem please contact me.
Appling Google Analytics
(Team study 2016, Japanese)
* This document was written for non-profit purposes, and if there is a copyright problem please contact me.
オープンコミュニティ「要求開発アライアンス」(http://www.openthology.org)の2012年6月定例会発表資料です。
Open Community "Requirement Development Alliance" 2012/6 regular meeting of the presentation materials.
Slide deck from my #Devlove session at Tokyo covering #ServiceDesign, Information Architecture, and an Enterprise Architecture framework.
Latest blog post on this presentation: http://sprmar.io/sdneia
IA Workshop, Introduction to Information Architecture (2002)Nobuya Sato
This July 5th 2002 document is originally prepared for the workshop for one of the largest web design agency in Tokyo to exchange and share the Razorfish IA methodology with them. For the recent growing need for practical IA methodology in Japan, I decided to open this file for the future generation.
2002年7月5日に某社のために行った情報アーキテクチャ(IA)のワークショップ向けに当時自分なりにまとめた資料です。概論と実践、2回に分けて開催する予定でしたが、第2回目は幻となりました(謎)
いわゆる「白くま」流のIAの考え方と当時の米国で芽生えつつあったUXという違った視点でのIAという考え方の紹介を、実際の組織構成の説明・解説を交えつつ、実際のプロセスとそれぞれの成果物の紹介です。
中盤の実際の組織構成の説明は、2000年当時にIAをサービスの強みとしていた(かつ自分が在籍した)米国の主要Webインテグレーター(日本では当時「SIPS」と呼ばれていた今や当たり前のWebデザインの業態)の3社のデザイン部門の構成やその後の各社の動向をIAを軸に解説しています。
ここで詳細は書きませんが、以前無断で引用(というか丸写)され、意味を意図的(?)に変えて某大学院の授業教材に間違った文脈で使われていたのをその大学のオープンキャンパス戦略なる計らいで知ったことがあります。(単にググったら出てきたw)
まぁ、引用されるのは良いことでもあるのすが、どうせならフルで引用されるように公開しておきたい、という思いと、一方で昨今の「IAからUXへ」という考え方の源流がすでに2002年には確立していた、という点でもその方面に興味がある方には参考になるかな?と。
#記述内容は当時のままですが、用語統一の観点から「情報設計」を「情報アーキテクチャ」、「インフォメーション・アーキテクト」を「インフォメーションアーキテクト」にだけ変更しています。
IoT Google Home
(Team study 2017, Japanese)
* This document was written for non-profit purposes, and if there is a copyright problem please contact me.
Appling Google Analytics
(Team study 2016, Japanese)
* This document was written for non-profit purposes, and if there is a copyright problem please contact me.
Aurora & MSSQL on AWS RDS
(Team study 2017, Japanese)
* This document was written for non-profit purposes, and if there is a copyright problem please contact me.
Effective DBMS
効率的データベースの使用
(Team study 2018, Japanese)
* This document was written for non-profit purposes, and if there is a copyright problem please contact me.
Technology for the Internet
インターネットを支える技術
(Team study 2018, Japanese)
* This document was written for non-profit purposes, and if there is a copyright problem please contact me.
The Twelve-Factor App
(Team study 2017, Japanese)
* This document was written for non-profit purposes, and if there is a copyright problem please contact me.
Trends of Web Application
(Team study 2016, Japanese)
* This document was written for non-profit purposes, and if there is a copyright problem please contact me.
Technical debt
技術的負債
(Team study 2018, Japanese)
* This document was written for non-profit purposes, and if there is a copyright problem please contact me.
【DLゼミ】XFeat: Accelerated Features for Lightweight Image Matchingharmonylab
公開URL:https://arxiv.org/pdf/2404.19174
出典:Guilherme Potje, Felipe Cadar, Andre Araujo, Renato Martins, Erickson R. ascimento: XFeat: Accelerated Features for Lightweight Image Matching, Proceedings of the 2024 IEEE/CVF Conference on Computer Vision and Pattern Recognition (CVPR) (2023)
概要:リソース効率に優れた特徴点マッチングのための軽量なアーキテクチャ「XFeat(Accelerated Features)」を提案します。手法は、局所的な特徴点の検出、抽出、マッチングのための畳み込みニューラルネットワークの基本的な設計を再検討します。特に、リソースが限られたデバイス向けに迅速かつ堅牢なアルゴリズムが必要とされるため、解像度を可能な限り高く保ちながら、ネットワークのチャネル数を制限します。さらに、スパース下でのマッチングを選択できる設計となっており、ナビゲーションやARなどのアプリケーションに適しています。XFeatは、高速かつ同等以上の精度を実現し、一般的なラップトップのCPU上でリアルタイムで動作します。
セル生産方式におけるロボットの活用には様々な問題があるが,その一つとして 3 体以上の物体の組み立てが挙げられる.一般に,複数物体を同時に組み立てる際は,対象の部品をそれぞれロボットアームまたは治具でそれぞれ独立に保持することで組み立てを遂行すると考えられる.ただし,この方法ではロボットアームや治具を部品数と同じ数だけ必要とし,部品数が多いほどコスト面や設置スペースの関係で無駄が多くなる.この課題に対して音𣷓らは組み立て対象物に働く接触力等の解析により,治具等で固定されていない対象物が組み立て作業中に運動しにくい状態となる条件を求めた.すなわち,環境中の非把持対象物のロバスト性を考慮して,組み立て作業条件を検討している.本研究ではこの方策に基づいて,複数物体の組み立て作業を単腕マニピュレータで実行することを目的とする.このとき,対象物のロバスト性を考慮することで,仮組状態の複数物体を同時に扱う手法を提案する.作業対象としてパイプジョイントの組み立てを挙げ,簡易な道具を用いることで単腕マニピュレータで複数物体を同時に把持できることを示す.さらに,作業成功率の向上のために RGB-D カメラを用いた物体の位置検出に基づくロボット制御及び動作計画を実装する.
This paper discusses assembly operations using a single manipulator and a parallel gripper to simultaneously
grasp multiple objects and hold the group of temporarily assembled objects. Multiple robots and jigs generally operate
assembly tasks by constraining the target objects mechanically or geometrically to prevent them from moving. It is
necessary to analyze the physical interaction between the objects for such constraints to achieve the tasks with a single
gripper. In this paper, we focus on assembling pipe joints as an example and discuss constraining the motion of the
objects. Our demonstration shows that a simple tool can facilitate holding multiple objects with a single gripper.
2. Team Study
Data Modeling is
Modelingとは複雑な現実世界に存在するデータを単純化させて表
現してコンピュータ世界のデータベースに移す変換過程
Modelingの特徴
– 抽象化:一定の形式に合わせて表現
– 単純化:規約や表記法と言語で表現
– 明確化:誰でも誤解しないように正確に表現
Modelingの観点
– Data (What):業務と関連するデータ
– Process (How):業務の処理内容/作業
– Interaction (CRUD):業務によるデータの変化
4. Team Study
Data Modeling Tools
Unified Modeling Language (UML)
– Rational Rose
– Visual Studio
– Visio
– StarUML, …
Entity Relationship Diagram (ERD)
– Erwin
– MySQL Workbench
– draw.io , …
5. Team Study
Data Modelingの3段階 – Step #1
Step #1 Conceptual (Enterprise) Modeling
概念的モデリングは現実世
界のデータを抽象化を通じ
て概念世界のデータで表現
する過程
情報モデリングまたは、概
念的設計と同じ概念。主に
ERモデルという概念的デー
タモデルを使って、モデリ
ング結果をERDで表現
6. Team Study
Data Modelingの3段階 – Step #2
Step #2 Logical Modeling
論理的データモデリングは概念世
界の個体タイプをDBMSが支援す
る論理的データモデルに変換させ
る過程
論理的設計(Logical Design)と同
じ概念
7. Team Study
Data Modelingの3段階 – Step #3
Physical Modeling
物理的データモデリ
ングは論理的データ
モデルを物理的デー
タ(データベース)
構造に変換させる過
程
物理的設計(Pysical
Design)と同じ概念
8. Team Study
MySQL Workench 8.0 CE
MySQLに最適化
無料
Multi-Platform : Windows, MaxOS, Linux
商用ツールと競争できるほどの機能
– Database Design & Modeling
– SQL Development
– Database Administration
– Database Migration
9. Team Study
実際のモデリング作業 (RDBMS)
1. Create Entity(Table) & Attribute(Column)
– Think Naming
2. Select Primary Key
– Think Data Length
– Sequence or UUID
3. Normalization (正規化)
1. 第1正規化:重複Data、重複Columnの分離
2. 第2正規化:複合PKの場合、PKのColumnのすべてに依存しないColumnの分離
3. 第3正規化:PKじゃない他のColumnに依存するColumnの分離
4. 第4・5正規化
4. Simulation (検証)
5. Input Base Data
6. Applying (Forward Engineering )
10. Team Study
Relationship
次数 (Cardinality)
– 1:1
– 1:N
– N:N
選択性(必須有無)
– Mandatory
– Optional
Foreign Key Options
– RESTRICT
– CASCADE
– SET NULL
– NO ACTION ?
11. Team Study
JSON Column on RDBMS
RDBMS
– Oracle >= 12c
– MySQL >= 5.7.8
– PostgreSQL >= 9.2
Profits
– アプリケーションやSPとに大きい変更なし
にSchema変更が可能
Problems
– Can’t do Normalization (正規化)
– Can’t make Relationship
– Can’t do Data validation
– Hard to Optimize Searching
TABLE
Key Column Type
PK Id bigint
data json
Go to No-SQL
極端な使用も可能
12. Team Study
参考
https://gerardnico.com/data/modeling/modeling
http://tech.devgear.co.kr/index.php?mid=db_kb&document_srl=320
http://blog.naver.com/PostView.nhn?blogId=tomatosoft&logNo=220853122078
https://dev.mysql.com/doc/refman/5.7/en/create-table-foreign-keys.html
https://www.thomascerqueus.fr/json-fields-relational-databases-postgresql/