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

価値を生み出す CDPを支える データ基盤開発

価値を生み出す CDPを支える データ基盤開発

Avatar for Kai Sasaki

Kai Sasaki

April 25, 2025
Tweet

More Decks by Kai Sasaki

Other Decks in Technology

Transcript

  1. AGENDA Treasure Data, Inc. Confidential ▪ 佐々⽊海 (Kai Sasaki) ▪

    Treasure Data ▪ Software Engineer ▪ CDPの開発をしています ▪ https://github.com/Lewuathe
  2. AGENDA Treasure Data, Inc. Confidential ▪ 価値を⽣み出すデータ基盤 ▪ CDPとは ▪

    CDPのデータモデリング ▪ CDPアプリケーション Segment & Activation Customer Journey Orchestration (CJO) Audience Agent
  3. Treasure Data, Inc. Confidential データ基盤が価値を⽣み出すまでの道のり - データを集める - データがある データ基盤の価値

    - アクセスできる - 認証、認可 - 分析できる - アプリが動く 低 データ基盤 の価値 中 ⾼ 最⾼! - アプリが⾃由に 作れる! データ基盤の価値
  4. Treasure Data, Inc. Confidential データ基盤が価値を⽣み出すまでの道のり - データを集める - データがある データ基盤の価値

    - アクセスできる - 認証、認可 - 分析できる - アプリが動く 低 データ基盤 の価値 中 ⾼ 最⾼! - アプリが⾃由に 作れる! データ基盤の価値 ⾒えない壁
  5. Treasure Data, Inc. Confidential CDPのデータモデリング 属性(Attributes)と⾏動履歴(Behaviors) - プロファイルに直接紐づく情報 - 1対1

    - 例 - 会員ID - 年齢 - 性別 - 住所 - プロファイルの⾏動履歴 - 1対N - 例 - Webサイトへの訪問 - 資料ダウンロード - 購買履歴 Attributes Behaviors Profile - Attributes Behaviors
  6. Treasure Data, Inc. Confidential - データモデリングを実現する⼿段としてDigdagを使う - ID Unification -

    Data Enrichment - Preprocessing - Materialized View - UDP (User Defined Partitioning) - 定常バッチとして動く(e.g. daily) - 完成したテーブルの集合をParent Segmentと呼ぶ - 構造化されたデータの上にアプリケーションを実装していく CDPのワークフロー
  7. Treasure Data, Inc. Confidential Activation - 各種Data Connectorでprofileの集合を書き出す - Embulk

    Plugin - 対象はRedshift、S3、外部SaaSなど - スケジューラにはDigdagを使う - 広告配信、メール送信など顧客との コミュニケーションを⾏うツール
  8. Treasure Data, Inc. Confidential OLAPシステムのSQLを集合演算⼦として使う CJO (Customer Journey Orchestration) ⺟集団の定義

    集合 ゴールプロファイル 離脱プロファイル ステップの移動 Parent Segment
  9. Treasure Data, Inc. Confidential OLAPシステムのSQLを集合演算⼦として使う CJO (Customer Journey Orchestration) ⺟集団の定義

    ゴールプロファイル 離脱プロファイル ステップの移動 Parent Segment Goal Goal 集合
  10. Treasure Data, Inc. Confidential OLAPシステムのSQLを集合演算⼦として使う CJO (Customer Journey Orchestration) Parent

    Segment Goal Stage 1 Stage 2 Stage 3 Goal Stage 1 ⺟集団の定義 ゴールプロファイル 離脱プロファイル ステップの移動 集合
  11. Treasure Data, Inc. Confidential OLAPシステムのSQLを集合演算⼦として使う CJO (Customer Journey Orchestration) ⺟集団の定義

    ゴールプロファイル 離脱プロファイル ステップの移動 Parent Segment Goal Stage 1 Stage 2 Stage 3 Goal Stage 1 Exit Exit 集合
  12. Treasure Data, Inc. Confidential OLAPシステムのSQLを集合演算⼦として使う CJO (Customer Journey Orchestration) ⺟集団の定義

    ゴールプロファイル 離脱プロファイル ステップの移動 Parent Segment Goal Stage 1 Stage 2 Stage 3 Goal Stage 1 Exit Exit Step 1 Step 1 集合
  13. Treasure Data, Inc. Confidential OLAPシステムのSQLを集合演算⼦として使う CJO (Customer Journey Orchestration) ⺟集団の定義

    ゴールプロファイル 離脱プロファイル ステップの移動 Parent Segment Goal Stage 1 Stage 2 Stage 3 Goal Stage 1 Exit Exit Step 1 Step 2 Step 3 Step 1 Step 2 Step 3 集合
  14. Treasure Data, Inc. Confidential CJO (Customer Journey Orchestration) - Primary

    Keyで集約する(ID Unificationで⽣成済) - 現在の状態と新しい各集合での状態をマージ - Goal,Stage,Stepの時刻を持った疎なテーブル - 特許取得済み - https://patents.justia.com/patent/20240126516 custom er_id stage1 stage1_exit_1 stage1_step_1 stage_1_step_2 stage_1_step3 stage_1_step4 stage_1_step_5 … a t1 t1 a t1 t1 a t1 t1 a t1 a t1 t1 a t1 t1 t1 t1 t1
  15. Treasure Data, Inc. Confidential AI Agent Foundry - Parent Segmentの構造にアクセス

    可能なLLM Agent - RAGを使って以下の情報にアクセス - column list - schema - query - ⾃然⾔語を使ってParent Segment 内のデータの分析、可視化が可能 - AWS Bedrockでホストされているモ デルが利⽤可能 - Cloude 3.5 Sonnetなど LLMを使ったParent Segment (and more)へのアクセス
  16. Treasure Data, Inc. Confidential We’re Hiring! + = データ基盤 Professional

    Service 顧客価値 最⼤化 https://www.treasuredata.com/company/jobs