Wire Lab 讀書會
  • NEW!
    NEW!  Connect Ideas Across Notes
    Save time and share insights. With Paragraph Citation, you can quote others’ work with source info built in. If someone cites your note, you’ll see a card showing where it’s used—bringing notes closer together.
    Got it
        • 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
          • Owners
          • Signed-in users
          • Everyone
          Owners Signed-in users Everyone
        • Write
          • Owners
          • Signed-in users
          • Everyone
          Owners 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 No publishing access yet

        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.

        Your account was recently created. Publishing will be available soon, allowing you to share notes on your public page and in search results.

        Your team account was recently created. Publishing will be available soon, allowing you to share notes on your public page and in search results.

        Explore these features while you wait
        Complete general settings
        Bookmark and like published notes
        Write a few more notes
        Complete general settings
        Write a few more notes
        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
      • 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 Help
    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
    Owners
    • Owners
    • Signed-in users
    • Everyone
    Owners Signed-in users Everyone
    Write
    Owners
    • Owners
    • Signed-in users
    • Everyone
    Owners 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 No publishing access yet

    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.

    Your account was recently created. Publishing will be available soon, allowing you to share notes on your public page and in search results.

    Your team account was recently created. Publishing will be available soon, allowing you to share notes on your public page and in search results.

    Explore these features while you wait
    Complete general settings
    Bookmark and like published notes
    Write a few more notes
    Complete general settings
    Write a few more notes
    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
    # 蔡瀚興-讀書會-21/08/18 ## <font color="ff0000">I. Introduction</font> 這篇文檔描述EMM case-4:service request過程。 這個過程是當有新流量時,在idle狀態不活動的UE想激活來處理流量時執行的 ## <font color="ff0000">II. Cases of Service Request</font> Service Request可以由UE或者網路來觸發,根據不同的觸發情況,可以分類為以下幾種: - service request case-1:UE觸發的新數據。 當UE有新上行數據要發送給網路。 - service request case-2:網路觸發的新數據。 當網路有下行數據要放給UE。 ![](https://i.imgur.com/p1EVoSS.png) ## <font color="ff0000">III. UE-triggered Service Request</font> ![](https://i.imgur.com/GFyftyL.png) ### <font color="0000ff">ECM Connection Establishment</font> Assume that a valid GUTI and NAS security context are kept at the UE and MME #### **1), 2) [UE – eNB] RRC Connection Setup** - UE給NAS層S-TMSI當UE ID並傳送RRC Connection Request給eNB, 然後eNB回傳RRC Connection Setup message #### **3), 4), 5) [UE -> MME] ECM Connection Setup Request** - Request UE的NAS層發送service request消息給MME來建立ECM連接 - 消息中包含KSI-ASME,並且是加密和完整性保護的。 - service request消息包含在RRC connection setup complete 消息中傳送給eNB的 ### <font color="0000ff">UE Authentication and NAS Security Setup (Optional)</font> #### **6) [UE – MME – HSS] UE Authentication** - 在接收到service request消息后,MME執行完整性檢查,如果通過,MME使用當前的 NAS security context傳輸NAS消息,並不對UE再執行鑒權流程。 - 如果失敗,MME會對UE執行鑒權流程。 #### **7) [UE – MME] NAS Security Setup** - 當鑒權過程完畢後,UE和MME都生成了用於傳輸NAS消息的NAS安全秘鑰 ![](https://i.imgur.com/ZSATAPr.png) ### <font color="0000ff">E-RAB Establishment</font> #### **8) [eNB <- MME] Requesting E-RAB Establishment** - MME sends the eNB an **Initial Context Setup Request message** so that the eNB can set up an S1 bearer with the S-GW, and a DRB with the UE ![](https://i.imgur.com/Lf8U1wK.png) #### **9) [UE – eNB] AS Security Setup** - 在接收到initial context setup消息後,在建立DRB之前,eNB執行AS安全建立過程。 - UE和eNB通過AS安全建立過程生成KRRCint/KRRCenc用於加密和完整性保護,生成KUPenc 用於用戶數據加密。 #### **10) [UE <- eNB] DRB Establishment** - eNB分配一個DRB ID來創建DRB,並根據從MME接收到的E-RAB QoS配置DRB QoS參數后,發送RRC connection reconfigutaion消息給UE。 - UE一旦接收到RRC Connection Reconfiguration消息,生成DRB和SRB2。 #### **11) UL Traffic Path Available** - 一旦完成 10) 生成DRB之後,就建立從UE到PGW的上行EPS承載,允許UE傳輸上行數據 #### **12) 13) & 16) [eNB -> S-GW] Setting up Downlink S1 Bearer** - eNB為S1 Bearer分配DL S1 TEID (S1 eNB TEID),並把這個ID包含在initial context setup response消息中發送給MME - MME把S1 eNB TEID包含在Modify Bearer Request消息中發送給SGW,SGW使用這個資訊建立DL S1 Bearer。 #### **14) DL Traffic Path Available** - 一旦完成 13),從SGW到eNB的下行S1 GTP-U隧道就建立了,完成了從PGW到UE的下行EPS承載。 用來傳輸下行數據給UE #### **15) Modifying EPS Session (UE Location Registration)** - 當UE現在的cell或TA改變了,S-GW通知P-GW - 然後P-GW再透過EPS session medication procedure通知PCRF ## <font color="ff0000">IV. Network-triggered Service Request</font> ![](https://i.imgur.com/lAMwYVt.png) ### <font color="0000ff">Service Request Triggering</font> - SGW從PGW通過S5 Bearer收到下行數據包。首先SGW緩存這些數據包,並找到UE在哪個MME - 接著SGW給MME發送Downlink Data Notification消息通知需要為UE建立信令連接和承載 ### <font color="0000ff">Paging</font> - MME知道UE駐留在哪一個TA,但是不知道UE駐留的cell - 所以MME給這個TA下的所有eNB發送Paging消息 - eNB廣播接收到的尋呼消息(通過PCH通道),UE在常規監控PCH時可以接收到這個消息 ### <font color="0000ff"> ECM Connection Establishment</font> - 意識到有數據要到來,UE發送service request消息來建立ECM連接 - ECM建立從UE通過radio access channel接入cell開始,接著發送RRC Connection Request ### <font color="0000ff">UE Authentication and NAS Security Setup (Optional)</font> - MME一旦接收到UE發送的service request消息,如果NAS-MAC完整性檢查失敗,將實行UE鑒權和生成NAS安全秘鑰 ![](https://i.imgur.com/amJoQju.png) ### <font color="0000ff">E-RAB Establishment</font> - 在從UE接收到service request消息后,MME通過e-rab建立過程建立DRB和下行S1承載。接著準備接收從SGW的數據包。 ## <font color="ff0000">V. EPS Entity Information: Before/After Service Request</font> ### <font color="0000ff">Before Service Request</font> ![](https://i.imgur.com/csfWcL9.png) ### <font color="0000ff">After Service Request</font> ![](https://i.imgur.com/vhNS4kH.png)

    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
    Sign in via Google Sign in via Facebook Sign in via X(Twitter) Sign in via GitHub Sign in via Dropbox Sign in with Wallet
    Wallet ( )
    Connect another wallet

    New to HackMD? Sign up

    By signing in, you agree to our terms of service.

    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