# 陳毅 - 讀書會 - 21/08/21
:::info
- [x] 閱讀 Netmanias-15-EMM Procedure 5. Periodic TAU
:::
## Concept of Periodic TAU
當 UE 處於連線階段,它會與網路端建立 EPS bearer connection,並且 MME 會持續追蹤 UE 所在的小區。因此,如果有任何流量要導至 UE,網路端就可以立刻做傳送。
然而,當 UE 進入 Idle 狀態,signaling connection 以及 E-RAB Bearer 便會被釋放。這樣一來,MME 便會遺失 UE 的位置。網路端應該要時時刻刻保持所有 UE 的當前位置,不管這些 UE 是處於 Active 或是 Idle 狀態。
為了可以傳送資料給處於閒置狀態的 UE,他們應該主動回報他們的地理位置。
最後,當 MME 發送 **Attach Request** message 時,其中會包含 TAI List 以及 TAU Timer。
:::info
:flashlight: 當 MME 收到來自 UE 的 TA 資訊,它會更新 UE 最新的當前位置,等到有流量需要導到 UE 時,MME 會利用 **Pagging Message** 通知 UE 發送 Service Request。
:::
看到下圖並假設以下幾點都成立:
- the UE travels between only the TAs that are in the TAI list initially allocated through the Attach Accept message
- the MME the UE reports its TA information to is the one the UE’s context is stored in
- both the UE and the MME have kept the NAS security context ($K_{NASint},\ K_{NASenc},\ etc.$) valid

下圖顯示 periodic TAU procedure 前後 UE 與 MME 在 User/Control plane 的狀態:

需要注意的是:
在 Procedure 2) 中,UE 是處於 **EMM-Registered**, **ECM-Connected** 與 **RRC-Connected** 的狀態。
並且,只有 signaling connection 會被啟用。
下圖表示了 Performing Periodic TAU 期間用戶端的狀態改變:

## Procedure of Periodic TAU
由於 TAU 並不會要求建立 bearer establishment,UE 只需要在 ECM signaling 建立後即可發送 **TAU Request** message,且會受到 integrity-protected with $K_{NASint}$。

### 2. & 3. RRC Connection Establishment
當收到 **TAU Request** message,RRC layer 上 UE 會向 eNB 發送 **RRC Connection Request** message 以建立特定的 SRB 通道。
eNB 會建立 RRC Connection 並利用 SRB 通道發送 **RRC Connection Setup** message。
### 4. & 5. & 6. ECM Connection Establishment Request and TA Report
- TAU Request message 包含了 RRC Connection Setup Complete message 被傳送
- RRC message, from the UE to the eNB, and then in an Initial UE Message,
- an S1AP message, from the eNB to the MME.

:::info
TAU Request 會有 NAS Layer 的完整性保護。
:::

## EPS Entity Information: Before/After Periodic TAU
### Before Periodic TAU
