shall & may
在3GPP(第三代合作伙伴计划)协议中,“shall” 和 “may” 是两种常用的指示词,用于规定协议中各项规定的执行程度和要求。
shall
• Shall(应当): 表示必须执行的规定,具有强制性。当协议中使用"shall"时,相关规定必须被遵守,没有任何例外。这意味着该规定是强制性的,必须严格执行。
May
• May(可以): 表示可选的规定,具有选择性。当协议中使用"may"时,相关规定是可选的,根据具体情况可以选择是否执行。这意味着该规定是建议性的,可以选择性地执行。
消息特征含义
Presence
原文
For many IEs/IE groups which are optional according to the ASN.1 transfer syntax, S1AP specifies separately if the presence of these IEs/IE groups is optional or mandatory with respect to RNS application by means of the presence field of the concerning object of class S1AP-PROTOCOL-IES, S1AP-PROTOCOL-IES-PAIR, S1AP-PROTOCOL-EXTENSION or S1AP-PRIVATE-IES.
The presence field of the indicated classes supports three values:
- Optional;
- Conditional;
- Mandatory.
If an IE/IE group is not included in a received message and the presence of the IE/IE group is mandatory or the presence is conditional and the condition is true according to the version of the specification used by the receiver, an abstract syntax error occurs due to a missing IE/IE group.
If an IE/IE group is included in a received message and the presence of the IE/IE group is conditional and the condition is false according to the version of the specification used by the receiver, an abstract syntax error occurs due to this erroneously present conditional IE/IE group.
解释:用来指示消息中某个字段是否是必要的。
- Optional: 可选字段,根据需求填写
- Conditional: 如果满足某种场景,需要填写该字段
- Mandatory: 必填字段
Criticality & Assigned Criticality
Crigicality
Abbreviation | Meaning |
---|---|
– | 没有明确应用关键度信息 |
YES | 关键度信息被应用。仅适合非重复的IE |
GLOBAL | 该信息元素及其所有重复项共同具有一个通用的关键度信息。这仅对可重复的信息元素可用。 |
EACH | 每个信息元素(IE)的重复项都有其自身的关键度信息。不过,不允许为这些重复项分配不同的关键度值。这一点仅适用于可重复的信息元素。 |
Assigned Criticality
在 S1AP 消息中,为单个信息元素(IE)和 / 或信息元素组设置了关键度信息。此关键度信息指示接收方在接收到无法理解的信息元素或信息元素组时应如何行动,即,不被(完全或部分)理解的整个项(信息元素或信息元素组)应按照以下规定的其自身的关键度信息进行处理。
Abbreviation | Meaning |
---|---|
reject | 如果接收到一个带有标记为 “Reject IE” 且接收节点无法理解该消息,那么接收节点应使用Error Indication 流程来拒绝该过程。 |
ignore | 如果接收到一个带有标记为 “Ingore IE” 且接收节点无法理解该消息,那么接收节点应忽略该过程。 |
notify | 如果接收到一个带有标记为 “Ingore IE and Notify Sender” 且接收节点无法理解该消息,那么接收节点应忽略该过程并启动Error Indication。 |
举例:
Criticality = YES, Assigned = reject
Criticality = YES, Assigned = ignore
如果接收节点收到该消息,包含Message Type,但Message Type的内容无法识别,则接收节点忽略该流程。
如果接收节点收到该消息,包含eNB UE S1AP ID,但内容无法识别,则接收节点Error Indication 给发送节点。
Criticality = GLOBAL, Assigned = reject
Served PLMNs中所有元素共用一个关键信息度,即Served PLMNs/Served GroupIDs/Served MMECs 的assigned criticality都是reject。
Criticality = EACH, Assigned = ignore
E-RABs Subject to Status Transfer Item中的元素可以有自己的关键度,但不允许分配不同的关键度。