tittonaufal
    • Create new note
    • Create a note from template
      • Sharing URL Link copied
      • /edit
      • View mode
        • Edit mode
        • View mode
        • Book mode
        • Slide mode
        Edit mode View mode Book mode Slide mode
      • Customize slides
      • Note Permission
      • Read
        • Only me
        • Signed-in users
        • Everyone
        Only me Signed-in users Everyone
      • Write
        • Only me
        • Signed-in users
        • Everyone
        Only me Signed-in users Everyone
      • Engagement control Commenting, Suggest edit, Emoji Reply
    • Invite by email
      Invitee

      This note has no invitees

    • Publish Note

      Share your work with the world Congratulations! 🎉 Your note is out in the world Publish Note

      Your note will be visible on your profile and discoverable by anyone.
      Your note is now live.
      This note is visible on your profile and discoverable online.
      Everyone on the web can find and read all notes of this public team.
      See published notes
      Unpublish note
      Please check the box to agree to the Community Guidelines.
      View profile
    • Commenting
      Permission
      Disabled Forbidden Owners Signed-in users Everyone
    • Enable
    • Permission
      • Forbidden
      • Owners
      • Signed-in users
      • Everyone
    • Suggest edit
      Permission
      Disabled Forbidden Owners Signed-in users Everyone
    • Enable
    • Permission
      • Forbidden
      • Owners
      • Signed-in users
    • Emoji Reply
    • Enable
    • Versions and GitHub Sync
    • Note settings
    • Note Insights New
    • Engagement control
    • Make a copy
    • Transfer ownership
    • Delete this note
    • Save as template
    • Insert from template
    • Import from
      • Dropbox
      • Google Drive
      • Gist
      • Clipboard
    • Export to
      • Dropbox
      • Google Drive
      • Gist
    • Download
      • Markdown
      • HTML
      • Raw HTML
Menu Note settings Note Insights Versions and GitHub Sync Sharing URL Create Help
Create Create new note Create a note from template
Menu
Options
Engagement control Make a copy Transfer ownership Delete this note
Import from
Dropbox Google Drive Gist Clipboard
Export to
Dropbox Google Drive Gist
Download
Markdown HTML Raw HTML
Back
Sharing URL Link copied
/edit
View mode
  • Edit mode
  • View mode
  • Book mode
  • Slide mode
Edit mode View mode Book mode Slide mode
Customize slides
Note Permission
Read
Only me
  • Only me
  • Signed-in users
  • Everyone
Only me Signed-in users Everyone
Write
Only me
  • Only me
  • Signed-in users
  • Everyone
Only me Signed-in users Everyone
Engagement control Commenting, Suggest edit, Emoji Reply
  • Invite by email
    Invitee

    This note has no invitees

  • Publish Note

    Share your work with the world Congratulations! 🎉 Your note is out in the world Publish Note

    Your note will be visible on your profile and discoverable by anyone.
    Your note is now live.
    This note is visible on your profile and discoverable online.
    Everyone on the web can find and read all notes of this public team.
    See published notes
    Unpublish note
    Please check the box to agree to the Community Guidelines.
    View profile
    Engagement control
    Commenting
    Permission
    Disabled Forbidden Owners Signed-in users Everyone
    Enable
    Permission
    • Forbidden
    • Owners
    • Signed-in users
    • Everyone
    Suggest edit
    Permission
    Disabled Forbidden Owners Signed-in users Everyone
    Enable
    Permission
    • Forbidden
    • Owners
    • Signed-in users
    Emoji Reply
    Enable
    Import from Dropbox Google Drive Gist Clipboard
       Owned this note    Owned this note      
    Published Linked with GitHub
    • Any changes
      Be notified of any changes
    • Mention me
      Be notified of mention me
    • Unsubscribe
    ![](https://speed.ocbcnisp.co.id/login/image/logo_ocbc.png) # Fraud Detection System ###### tags: `FDS` ![PostgreSQL](https://img.shields.io/badge/PostgreSQL-current-336791.svg?style=flat-square&logo=postgresql&heigth=200) ## FDS Engine ### Step 1: Rule Base - menyiapkan segala kebutuhan data statis untuk keperluan rule based ::: info :bulb: **Summary** Database FDS menyimpan data black list, fraud list dan AML list yang ditarik oleh oozie/airflow secara bulanan. Data blacklist, fraudlist dan AML list diupload menggunakan ONe Big Data Uploader secara berkala (6 bulan sekali) ::: - **1.1** Batch scheduler black list - **1.2** Batch scheduler fraud list - **1.3** Batch scheduler AML list ```plantuml @startuml entity OMD entity ONE_BIGDATA #red control AIRFLOW #blue database EXTDWH #green OMD->ONE_BIGDATA: Upload Data AIRFLOW->ONE_BIGDATA: Cek Update ONE_BIGDATA-->AIRFLOW: NOK AIRFLOW-->KILL !!: Skip ONE_BIGDATA-->AIRFLOW: OK ONE_BIGDATA->AIRFLOW: Get Data AIRFLOW->>EXTDWH: Store Data @enduml ``` ```mermaid sequenceDiagram participant OMD participant ONE_BIGDATA participant AIRFLOW participant EXTDWH %% this is a comment OMD->>ONE_BIGDATA: Upload Data AIRFLOW->>ONE_BIGDATA: Cek Update ONE_BIGDATA-->>AIRFLOW: NOK AIRFLOW-->>KILL: Skip ONE_BIGDATA-->>AIRFLOW: OK ONE_BIGDATA->>AIRFLOW: Get Data AIRFLOW->>EXTDWH: Store Data Note right of AIRFLOW: Download Precalculated Store Data ``` ```mermaid gantt dateFormat YYYY-MM-DD title Adding GANTT diagram functionality to mermaid excludes weekends section Section A task :done, a1, 2022-10-01, 30d Another task :active, a2, after a1 , 20d section Another Task in sec :crit, b1, 2022-10-12 , 12d anther task :b2, after b1, 24d ``` ```sequence Title: Batch scheduler Black List, Fraud List, AML List participant OMD participant ONE_BIGDATA participant AIRFLOW participant EXTDWH OMD->ONE_BIGDATA: Upload Data AIRFLOW->ONE_BIGDATA: Cek Update ONE_BIGDATA-->AIRFLOW: NOK AIRFLOW-->KILL: Skip ONE_BIGDATA-->AIRFLOW: OK ONE_BIGDATA->AIRFLOW: Get Data AIRFLOW->EXTDWH: Store Data Note right of AIRFLOW: Download\n Precalculated \n Store Data ``` ### Step 2: Realtime API - menyiapkan segala kebutuhan data dinamis yang real time (bisa lewat API/Kafka) untuk keperluan rule based/modelling ::: info :bulb: **Summary** Database FDS menyimpan data yang real time dengan proses data stream menggunakan koneksi API to API atau Kafka Stream FDS system perlu untuk menerima data dari behavior transaksi nasabah yang terjadi di ONe Mobile. Data-data transaksi real time diambil dari back service masing-masing transaction ::: - **2.1** Explore API **cekrekening.id** ```sequence Title: Inquiry Bulk Data Cekrekening.id \n participant CEKREKENING.ID participant PROXY participant OCP participant AIRFLOW participant FDS participant EXTDWH FDS->AIRFLOW: Register \nJob Scheduler AIRFLOW->CEKREKENING.ID: Inquiry Data Rekening AIRFLOW-->OCP: Call API OCP-->PROXY: Tunnel PROXY-->CEKREKENING.ID: Passing Request CEKREKENING.ID->AIRFLOW: Response result CEKREKENING.ID-->PROXY: Passing Response PROXY-->OCP: Receive OCP-->AIRFLOW: By Pass AIRFLOW->FDS: OK AIRFLOW-->EXTDWH: Store Result AIRFLOW->FDS: NOK AIRFLOW-->KILL: Skip ``` ```sequence Title: Inquiry Single Data Cekrekening.id \n participant CEKREKENING.ID participant PROXY participant OCP participant AIRFLOW participant FDS participant EXTDWH participant NEXT FDS->EXTDWH: Inquiry \nExisting Data EXTDWH-->FDS: Exists Note right of FDS: Reject\nAllow\nHold EXTDWH-->FDS: Not Exists FDS->CEKREKENING.ID: Inquiry Data Rekening FDS-->OCP: Call API OCP-->PROXY: Tunnel PROXY-->CEKREKENING.ID: Passing Request CEKREKENING.ID->FDS: Response result CEKREKENING.ID-->PROXY: Passing Response PROXY-->OCP: Receive OCP-->FDS: By Pass OCP->FDS: NOK FDS->NEXT: Next Step OCP->FDS: OK Note right of FDS: Reject\nAllow\nHold FDS-->EXTDWH: Store Data FDS->NEXT: Next Step ``` ```plantuml @startuml participant Participant as Foo actor Actor as Foo1 boundary Boundary as Foo2 control Control as Foo3 entity Entity as Foo4 database Database as Foo5 collections Collections as Foo6 queue Queue as Foo7 Foo -> Foo1 : To actor Foo -> Foo2 : To boundary Foo -> Foo3 : To control Foo -> Foo4 : To entity Foo -> Foo5 : To database Foo -> Foo6 : To collections Foo -> Foo7: To queue @enduml ``` - **2.2** Explore API device identity one mobile **Data ONe Mobile; device id; internet banking, current date** - **2.3** Explore API transaction one mobile **Data-data transaksi; nominal, frekuensi, transaction method dll** ### Step 3: Modeling - menyiapkan segala kebutuhan precalculated table untuk melakukan modelling ::: info :bulb: **Summary** Precalculated table merupakan table yang berisikan data historical yang sudah ditarik dan diolah untuk dijadikan acuan modelling **Prerequisite: Model FDS harus sudah jadi** ::: - **3.1** Membuat precalculated table dengan cara melakukan feature engineering parameter yang digunakan model - **3.2** Membuat scheduler harian untuk update precalculated table ### Step 4: modelling dan realtime transaction checking ::: info :bulb: **Summary** FDS system melakukan pengolahan modelling data nasabah yang sudah terkumpul untuk dapat memberikan respond balikan ke back service mengenai status transaksi nasabah ::: - **4.1** Menggabungkan data realtime transaksi ONe mobile dan precalculated table untuk dimasukkan ke dalam model - **4.2** Transaksi pada hari yang sama akan disimpan ke dalam database penampung dan digunakan sebagai data tambahan untuk modelling ### Step 5: response result dari modelling ::: info :bulb: **Summary** Setelah FDS system melakukan pengolahan data, maka FDS system perlu untuk mengirimkan response balikan ke back service mengenai status transaksi nasabah ::: - **5.1** Allow: response to back end service, transaction can be proceed (existing flow success) - **5.2** Reject: response to back end service, transaction can’t be proceed (existing flow failed) - **5.3** Hold: response to back end service, transaction can/can’t be proceed (existing flow success/failed)

    Import from clipboard

    Paste your markdown or webpage here...

    Advanced permission required

    Your current role can only read. Ask the system administrator to acquire write and comment permission.

    This team is disabled

    Sorry, this team is disabled. You can't edit this note.

    This note is locked

    Sorry, only owner can edit this note.

    Reach the limit

    Sorry, you've reached the max length this note can be.
    Please reduce the content or divide it to more notes, thank you!

    Import from Gist

    Import from Snippet

    or

    Export to Snippet

    Are you sure?

    Do you really want to delete this note?
    All users will lose their connection.

    Create a note from template

    Create a note from template

    Oops...
    This template has been removed or transferred.
    Upgrade
    All
    • All
    • Team
    No template.

    Create a template

    Upgrade

    Delete template

    Do you really want to delete this template?
    Turn this template into a regular note and keep its content, versions, and comments.

    This page need refresh

    You have an incompatible client version.
    Refresh to update.
    New version available!
    See releases notes here
    Refresh to enjoy new features.
    Your user state has changed.
    Refresh to load new user state.

    Sign in

    Forgot password

    or

    By clicking below, you agree to our terms of service.

    Sign in via Facebook Sign in via Twitter Sign in via GitHub Sign in via Dropbox Sign in with Wallet
    Wallet ( )
    Connect another wallet

    New to HackMD? Sign up

    Help

    • English
    • 中文
    • Français
    • Deutsch
    • 日本語
    • Español
    • Català
    • Ελληνικά
    • Português
    • italiano
    • Türkçe
    • Русский
    • Nederlands
    • hrvatski jezik
    • język polski
    • Українська
    • हिन्दी
    • svenska
    • Esperanto
    • dansk

    Documents

    Help & Tutorial

    How to use Book mode

    Slide Example

    API Docs

    Edit in VSCode

    Install browser extension

    Contacts

    Feedback

    Discord

    Send us email

    Resources

    Releases

    Pricing

    Blog

    Policy

    Terms

    Privacy

    Cheatsheet

    Syntax Example Reference
    # Header Header 基本排版
    - Unordered List
    • Unordered List
    1. Ordered List
    1. Ordered List
    - [ ] Todo List
    • Todo List
    > Blockquote
    Blockquote
    **Bold font** Bold font
    *Italics font* Italics font
    ~~Strikethrough~~ Strikethrough
    19^th^ 19th
    H~2~O H2O
    ++Inserted text++ Inserted text
    ==Marked text== Marked text
    [link text](https:// "title") Link
    ![image alt](https:// "title") Image
    `Code` Code 在筆記中貼入程式碼
    ```javascript
    var i = 0;
    ```
    var i = 0;
    :smile: :smile: Emoji list
    {%youtube youtube_id %} Externals
    $L^aT_eX$ LaTeX
    :::info
    This is a alert area.
    :::

    This is a alert area.

    Versions and GitHub Sync
    Get Full History Access

    • Edit version name
    • Delete

    revision author avatar     named on  

    More Less

    Note content is identical to the latest version.
    Compare
      Choose a version
      No search result
      Version not found
    Sign in to link this note to GitHub
    Learn more
    This note is not linked with GitHub
     

    Feedback

    Submission failed, please try again

    Thanks for your support.

    On a scale of 0-10, how likely is it that you would recommend HackMD to your friends, family or business associates?

    Please give us some advice and help us improve HackMD.

     

    Thanks for your feedback

    Remove version name

    Do you want to remove this version name and description?

    Transfer ownership

    Transfer to
      Warning: is a public team. If you transfer note to this team, everyone on the web can find and read this note.

        Link with GitHub

        Please authorize HackMD on GitHub
        • Please sign in to GitHub and install the HackMD app on your GitHub repo.
        • HackMD links with GitHub through a GitHub App. You can choose which repo to install our App.
        Learn more  Sign in to GitHub

        Push the note to GitHub Push to GitHub Pull a file from GitHub

          Authorize again
         

        Choose which file to push to

        Select repo
        Refresh Authorize more repos
        Select branch
        Select file
        Select branch
        Choose version(s) to push
        • Save a new version and push
        • Choose from existing versions
        Include title and tags
        Available push count

        Pull from GitHub

         
        File from GitHub
        File from HackMD

        GitHub Link Settings

        File linked

        Linked by
        File path
        Last synced branch
        Available push count

        Danger Zone

        Unlink
        You will no longer receive notification when GitHub file changes after unlink.

        Syncing

        Push failed

        Push successfully