Frank Tung
  • 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
      • 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 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
      • 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 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
    ![](https://img-blog.csdnimg.cn/20200523103744954.png?x-oss-process=image/watermark,type_ZmFuZ3poZW5naGVpdGk,shadow_10,text_aHR0cHM6Ly9ibG9nLmNzZG4ubmV0L3UwMTI4MDA4MjU=,size_16,color_FFFFFF,t_70) ------------------------------------------------------------------------------------------------ # 1. RRCSetupRequest (UE —> gNB-DU) ### 目的 - 請求建立RRC連接 ### 攜帶的消息 - UE標識 1. ue-Identity (39bit) a. ng-5G-S-TMSI-Part1 b. randomValue - RRC連接建立原因 1. emergency 2. highPriorityAccess (極有可能攜帶) 3. mt-Access 4. mo-Signalling (極有可能攜帶) 5. mo-Data 6. mo-VoiceCall 7. mo-VideoCall 8. mo-SMS 9. mps-PriorityAccess 10. mcs-PriorityAccess etc. ### Others - 承載信令 - SRB0 - SRB0上承載的信令有 - RCConnectionRequest - RRCConnectionReject - RRCConnectionSetup & RRCConnectionReestablishmentRequest - RRCConnectionReestablishment - RRCConnectionReestablishmentReject - 邏輯信道 - CCCH - 公共控制信道(CCCH)是一種"一點對多點"的雙向控制信道,其用途是在呼叫接續階段,傳輸鏈路連線所需要的控制信令與信息;用於邏輯層到傳輸層的信令傳遞 ------------------------------------------------------------------------------------------------ # 2. INITIAL UL RRC MESSAGE TRANSFER (gNB-DU —> gNB-CU-CP) ### 目的 - 發送第一條RRC消息到gNB-CU ### 攜帶的消息 - gNB-DU UE F1AP ID - NR CGI: NR小區全球標識,PLMN Identity + NR cell Identity - C-RNTI: 在隨機接入過程中,由gNB-DU分配 - RRC-Container: 攜帶RRC消息 - UE接入時,為RRCSetupRequest - DU to CU RRC Container: 可選 - 若該消息中未攜帶該IE,gNB-CU認為gNB-DU不允許UE接入 - 若gNB-DU允許該UE接入,則必須在該IE中攜帶CellGroupConfig,但不包括 ReconfigurationWithSync - CellGroupConfig: 至少需要攜帶SRB1的配置信息 - SUL Access Indication: 可選 - Transaction ID: 必填 ### Others - 該過程將會建立UE級的F1連接 ------------------------------------------------------------------------------------------------ # 3. DL RRC MESSAGE TRANSFER(gNB-CU-CP —> gNB-DU) ### 目的 - 轉發RRC消息RRCSetup給gNB-DU ### 攜帶的消息 - gNB-CU UE F1AP ID - gNB-DU UE F1AP ID - SRB ID: 1 - RRC-Container: 攜帶RRC消息 - UE接入時,為RRCSetup - Execute Duplication: 若SRB duplication功能已激活,則需要攜帶該UE - RAT-Frequency Priority Information - RRC Delivery Status Request: 指示是否需要RRC DELIVERY REPORT ------------------------------------------------------------------------------------------------ # 4. RRCSetup(gNB-DU —> UE) ## 目的 - 將SRB1的配置帶給UE,以建立SRB1 ### 攜帶的消息 - SBR1的相关配置 - radioBearerConfig: 詳細參考協議38.311 6.3.2 -UE接入時,僅攜帶建立SRB1的配置 - masterCellGroup: 包括S - RB1的RLC承載 - mac-CellGroupConfig - physicalCellGroupConfig - spCellConfig 詳細參考協議38.311 6.3.2 ------------------------------------------------------------------------------------------------ # 5. RRCSetup(gNB-DU —> UE) ### 目的 - 通知網路端,RRC連接建立完成 ### 攜帶的消息 - selectedPLMN-Identity: UE從SIB1中攜帶的plmn-IdentityList裡所選PLMN的索引值 - registeredAMF: 可選 plmn-Identity + amf-Identifier - guami-Type: GUAMI類型,native or mapped - s-NSSAI-List: 可選 - dedicatedNAS-Message: UE帶給核心網的第一條NAS消息 - ng-5G-S-TMSI-Value: 可選 ### Others - 承載信令: SRB1 - 邏輯信道: DCCH - DCCH: Dedicated Control Channel (專用控制通道是一種"點對點"的雙向控制通道,其用途是在呼叫接續階段和在通信進行當中,在移動台和基站之間傳輸必需的控制信息) ------------------------------------------------------------------------------------------------ # 6. UL RRC MESSAGE TRANSFER(gNB-DU —> gNB-CU-CP) ### 目的 - 將RRC CONNECTION SETUP COMPLETE消息封裝起來,帶給gNB-CU ### 攜帶消息 - gNB-CU UE F1AP ID - gNB-DU UE F1AP ID - SRB ID - RRC-Container(攜帶RRC CONNECTION SETUP COMPLETE) ------------------------------------------------------------------------------------------------ # 7. INITIAL UE MESSAGE (gNB-CU-CP —> AMF) ### 目的 - 將UE想要入網的消息告訴核心網 ### 攜帶消息 - RAN UE NGAP ID: 該參數由NG-RAN分配 - NAS-PDU: 攜帶UE發送給AMF的消息 - User Location Information: 以下3選1 1. E-UTRA user location: E-UTRA CGI + TAI + Age of Location 2. NR user location: NR CGI + TAI + Age of Location 3. N3IWF user location information: IP Address + Port Number(可選) - RRC Establishment Cause : RRCSetupRequest消息中攜帶的那個原因值 - 5G-S-TMSI: 可選若UE在RRC CONNECTION SETUP COMPLETE消息中攜帶了該IE,則gNB-CU需要攜帶該IE - UE Context Request: 可選 - Allowed NSSAI: 可選 ------------------------------------------------------------------------------------------------ # 8. INITIAL CONTEXT SETUP REQUEST(AMF —> gNB-CU-CP) ## 攜帶消息 - AMF UE NGAP ID: 由AMF分配 - RAN UE NGAP ID: INITIAL UE MESSAGE消息攜帶的那個值 - Old AMF: 可選 - UE Aggregate Maximum Bit Rate: 可選 - Core Network Assistance Information: 可選的,UE RRC_INACTIVE時的相關配置 - UE Identity Index Value - UE Specific DRX、Periodic Registration Update Timer - MICO Mode Indication - AI List for RRC Inactive - Expected UE Behaviour - GUAMI: PLMN Identity + AMF Region ID + AMF Set ID + AMF Pointer - Allowed NSSAI: 指示是否允許S-NSSAI - UE Security Capabilities: - NR Encryption Algorithms - NR Integrity Protection Algorithms - E-UTRA Encryption Algorithms - E-UTRA Integrity Protection Algorithms - Security Key: - Trace Activation: 可選trace session activation - Mobility Restriction List: 可選 - UE Radio Capability: 可選包括NR, MR-DC, E-UTRA 的接入能力 - Index to RAT/Frequency Selection Priority: 可選 - Masked IMEISV: 可選 - NAS-PDU: 可選 - Emergency Fallback Indicator: 可選 - RRC Inactive Transition Report Request: 可選 - UE Radio Capability for Paging: 可選 - Redirection for Voice EPS Fallback: 可選 ------------------------------------------------------------------------------------------------ # 9. BEARER CONTEXT SETUP REQUEST(gNB-CU-CP —> gNB-CU-UP) ## 目的 - 在gNB-CU-CP建立UE的承載上下文 ## 攜帶的消息 - gNB-CU-CP UE E1AP ID - Security Information: - 配置用戶面的加密完整性保護參數 - Security Algorithm - User Plane Security Keys - UE DL Aggregate Maximum Bit Rate - UE DL Maximum Integrity Protected Data Rate: 可選 - Serving PLMN - Activity Notification Level: - DRB - PDU Session - UE - Bearer Context Status Change: 指示承載上下文的狀態,Suspend, Resume... - CHOICE System: E-UTRAN 或 NR - E-UTRAN: - DRB To Setup List - NR: - PDU Session Resource To Setup List - DRB To Setup List ------------------------------------------------------------------------------------------------ # 10. BEARER CONTEXT SETUP RESPONSE(gNB-CU-UP —> gNB-CU-CP) ## 目的 - gNB-CU-UP告訴gNB-CU-CP承載建立結果 ## 攜帶的消息 - gNB-CU-CP UE E1AP ID - gNB-CU-UP UE E1AP ID - CHOICE System: E-UTRAN 或 NR - E-UTRAN: - DRB建立成功的列表 - DRB建立失敗的列表 - NR - PDU Session Resource建立成功的列表;PDU Session Resource建立失敗的列表 - 對於每一個 PDU Session Resource,列出DRB建立成功的列表和DRB建立失敗的列表 - 對於每一個DRB,列出成功的QoS Flows和失敗的QoS Flows ------------------------------------------------------------------------------------------------ # 11. UE CONTEXT SETUP REQUEST(gNB-CU-CP —> gNB-DU) ### 目的 - 建立SRB和DRB承載 ### 攜帶的消息 - gNB-CU UE F1AP ID - gNB-DU UE F1AP ID: 可選 - SpCell ID: - ServCellIndex: 0~31 - SpCell UL Configured: 用於指示gNB-DU是否需要配置sPcell UL相關配置 - CU to DU RRC Information: - CG-ConfigInfo - UE-CapabilityRAT-ContainerList - MeasConfig - Handover Preparation Information - CellGroupConfig - Measurement Timing Configuration - UEAssistanceInformation - Candidate SpCell List - SCell To Be Setup List - SRB to Be Setup List - DRB to Be Setup List - Inactivity Monitoring Request - RAT-Frequency Priority Information - RRC-Container - gNB-DU UE Aggregate Maximum Bit Rate Uplink: 只要建立DRB,就必須攜帶該IE - Serving PLMN - RRC Delivery Status Request - Resource Coordination Transfer Information - servingCellMO: ??? ------------------------------------------------------------------------------------------------ # 12. SecurityModeCommand(gNB-DU —> UE) ### 目的 - 激活AS安全 ### 攜帶的消息 - securityAlgorithmConfig,加密和完整(可選)算法 ------------------------------------------------------------------------------------------------ # 13. SecurityModeCommand(gNB-DU —> UE) ## 目的 - 確認SRB、DRB承載建立情況 ## 攜帶消息 - gNB-CU UE F1AP ID - gNB-DU UE F1AP ID - DU To CU RRC Information: - C-RNTI: 可選 - Resource Coordination Transfer Container - Full Configuration - DRB Setup List: DRB建立成功的列表信息 - DRB Failed to Setup List: DRB建立失敗的列表信息 - SRB Setup List: SRB建立成功的列表信息 - DRB Failed to Setup List - SCell Failed To Setup List - Inactivity Monitoring ------------------------------------------------------------------------------------------------ # 14. BEARER CONTEXT MODIFICATION REQUEST(gNB-CU-CP —> gNB-CU-UP) ------------------------------------------------------------------------------------------------ # 15. BEARER CONTEXT MODIFICATION RESPONSE(gNB-CU-UP —> gNB-CU-CP) ------------------------------------------------------------------------------------------------ # 16. SecurityModeComplete (UE —> gNB-DU) ### 目的 - 確認激活了AS安全 ### 攜帶的消息: - on or something ------------------------------------------------------------------------------------------------ # 17. UL RRC MESSAGE TRANSFER(gNB-DU —> gNB-CU-CP) ### 目的 - 將SecurityModeComplete的消息帶給gNB-CU-CP ------------------------------------------------------------------------------------------------ # 18. DL RRC MESSAGE TRANSFER(gNB-CU-CP —> gNB-DU) ### 目的 - 將RRCReconfiguration的消息帶給gNB-DU ------------------------------------------------------------------------------------------------ # 19. RRCReconfiguration(gNB-DU —> UE) ------------------------------------------------------------------------------------------------ # 20. RRCReconfigurationComplete(UE —> gNB-DU) ------------------------------------------------------------------------------------------------ # 21. UL RRC MESSAGE TRANSFER(gNB-DU —> gNB-CU-CP) ------------------------------------------------------------------------------------------------ # 22. INITIAL CONTEXT SETUP RESPONSE (gNB-CU-CP —> AMF) ------------------------------------------------------------------------------------------------

    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