Based on maximum segment size allowed to transmit over available transport, the MSGin5G Service can optimize communications by aggregating one or more messages towards the same target. The target may be an UE, an Application Server, a Broadcast Area, an MSGin5G Group or a Messaging Topic.
The following pre-conditions apply for message aggregation:
The recipient UE(s) support an MSGin5G Client or the (Legacy-3GPP and non-3GPP) Message Gateway supports the MSGin5G Client capability.
The MSGin5G Client 1 and MSGin5G Client 2 are registered with the MSGin5G Server, or an Application Server has established a secured communication with the MSGin5G Server.
Figure 8.4.2-1 shows the procedure for an MSGin5G Client aggregating a set of Point-to-Point messages each carrying small amounts of data. All of the Point-to-Point messages to be aggregated are targeted to the same UE.
Figure 8.4.2-2 shows the procedure for an MSGin5G Client aggregating a set of Point-to-AS messages each carrying small amounts of data. All of the Point-to-AS messages to be aggregated are sent to same Application Server.
Figure 8.4.2-3 shows the procedure for an MSGin5G Client aggregating a set of Point-to-Point messages each carrying small amounts of data. All of the Point-to-Point messages to be aggregated are sent to same recipient Non-MSGin5G UE.
Figure 8.4.2-4 shows the procedure for an MSGin5G Client sends aggregated message to a MSGin5G group. All of the messages to be aggregated are sent to same MSGin5G Group.
Figure 8.4.2-5 shows the procedure for an MSGin5G Client sends aggregated message based on Messaging Topic. All the messages to be aggregated have the same Messaging Topic.
Figure 8.4.2-6 shows the procedure for an MSGin5G Client aggregating a set of Broadcast messages each carrying small amounts of data. All of the Broadcast messages to be aggregated are sent to same Broadcast Area.
Application Client(s) initiates a request to the MSGin5G Client 1 to send a message to another target. The target may be an MSGin5G UE, a Non-MSGin5G UE, an Application Server, a MSGin5G group, or a broadcast area. the Application Client(s) may also initiate a request to the MSGin5G Client 1 to send a message which is to be delivered based on Messaging Topic.
The MSGin5G Client 1 checks if aggregation is allowed for this message as per the service configuration. The MSGin5G Client 1 also checks the message data size and the priority level to determine if the received message can be aggregated. For example, MSGin5G Client 1 finds that the message has a small payload size when compared to the maximum segment size that can be transmitted over available transport and is not high priority message (i.e. the value of Priority type included in the message is not "High"), the MSGin5G Client 1 may aggregate this message. The MSGin5G Client 1 may continue aggregating messages until an optimal segment size is reached before sending the aggregated message. When the aggregation is finished, e.g. the optimal segment size is reached or other conditions such as waiting time configured by service provider is fulfilled, the MSGin5G Client sends the aggregated message as per scheduling policy towards a selected target.
The MSGin5G Client 1 aggregates multiple MSGin5G message requests intended for a selected target and sends the Aggregated message request containing the information elements specified in Table 8.4.2-1 and Table 8.4.2-2 according to scheduling policy towards the MSGin5G Server.
The service identity of the sending MSGin5G Client.
Recipient UE Service ID/AS Service ID
(see NOTE)
O
The service identity of the receiving MSGin5G Client or the receiving Application Server.
Group Service ID
(see NOTE)
O
The service identifier of the target MSGin5G Group.
Messaging Topic
(see NOTE)
O
Indicates which Messaging Topic this message is related to.
Broadcast Area ID
(see NOTE)
O
The service identifier of the Broadcast Area where the message needs to be broadcast.
Message ID
M
Unique identifier of this aggregated message.
Number of individual messages
M
Indicates total number of messages which are aggregated into this message.
List of individual messages
M
Each element in this list contains information elements as specified in Table 8.4.2-2.
Store and forward flag
O
An indicator of whether store and forward services are requested for this aggregated message. The store and forward services can be applied to the aggregated message only if all messages in this aggregated message can be store and forwarded.
Store and forward parameters
O
Parameters used by MSGin5G Server for providing store and forward services, as detailed in Table 8.3.2-2. This IE shall be included only if the value of the Store and forward flag IE indicates that store and forward services are requested.
NOTE:
Only one of these IEs shall be included to represent the type of message request.
The MSGin5G Server sends the Aggregated message response to the MSGin5G Client 1 in the cases listed below. The information elements defined in Table 8.4.2-3 shall be included in the response:
MSGin5G Client 1 is not authorized to send Aggregated message request; or
the Aggregated message request is not valid; or
if MSGin5G Client 1 is authorized but the message is stored for deferred delivery.
The identity of the MSGin5G Client sending the original message.
Message ID
M
Unique identifier of the original aggregated message.
Delivery Status
O
Indicates if delivery is a failure, or if the message is stored for deferred delivery.
Failure Cause
O
This IE contains the failure reason, e.g. the originator is not authorized to send a message request or one of the multiple messages aggregated has an issue, may be included in this IE.
If MSGin5G Client 1 is authorized to send an Aggregated message request, the MSGin5G Server sends the Aggregated message request towards the selected target as specified in clause 8.3.3. If the aggregated message is sent to a recipient whose supported message segment size is smaller than the aggregated message, the MSGin5G Server should remove the last individual message in the List of individual messages element from the aggregated message until the aggregated message is smaller than the maximum segment size that can be transmitted over available transport. The MSGin5G messages removed from the aggregated message may be sent individually or aggregated again by the MSGin5G Server according to service configuration.
If the recipient of the aggregated message is MSGin5G UE 2, the MSGin5G Client 2 in the MSGin5G UE 2 splits the received Aggregated message request into multiple individual MSGin5G message requests. The content of each MSGin5G message is delivered to the recipient Application Client(s).
If the recipient of the aggregated message is a Message Gateway on behalf of Non-MSGin5G UE, the Message Gateway splits the received Aggregated message request into multiple individual MSGin5G message requests. The content of each MSGin5G message is delivered to the Non-MSGin5G UE via Non-MSGin5G message delivery.
If the aggregated message needs to be delivered in the Broadcast Area, the Broadcast Message Gateway splits the received Aggregated message request into multiple individual MSGin5G message requests. The Broadcast Message Gateway broadcasts each individual MSGin5G message request to the MSGin5G UEs in the Broadcast Area, or broadcasts the content of each individual MSGin5G message request to the non-MSGin5G UEs in the Broadcast Area via CBCF. The procedures on CBCF are specified in TS 23.041.
The recipient MSGin5G Client/ Application Server/ Message Gateway may initiate sending a message delivery status report, if requested in the original message that is received as in Step 7a (for MSGin5G UE), step 7b (for Non-MSGin5G UE) or Step 6 (for Application Server). MSGin5G Client 2/ Application Server/ Message Gateway sends the message delivery status report towards the MSGin5G Client on MSGin5G UE 1 via MSGin5G Server.