Figure 5.2-1 shows the application architecture of the MSGin5G Service. The MSGin5G Service shall fulfil the service requirements which are enumerated in TS 22.262 and the architecture requirements enumerated in clause 4.
The MSGin5G Client(s) interacts with SEAL Clients over the SEAL-C reference point specified for each SEAL service. The Legacy 3GPP Message Gateway and Non-3GPP Message Gateway may interact with SEAL clients over the SEAL-C reference point specified for each SEAL service. The MSGin5G Server(s) interacts with SEAL Servers over the SEAL-S reference point specified for each SEAL service. The interaction between a SEAL Client and the corresponding SEAL Server is supported by SEAL-UU reference point specified for each SEAL service as specified in TS 23.434.
The MSGin5G UE-1 may be constrained devices and unconstrained devices with advanced capabilities, and can communicate with MSGin5G Server over MSGin5G-1 reference point. The MSGin5G UE-2 is a constrained device which does not have enough capability to communicate with MSGin5G Server. If allowed by configuration, the MSGin5G UE-1 may act as a UE Message Gateway to MSGin5G UE-2.
The Legacy 3GPP Message Gateway interacts with MSGin5G Server over MSGin5G-2 reference point on behalf of Legacy 3GPP UE (e.g., SMS, NIDD).
The Non-3GPP Message Gateway interacts with MSGin5G Server over MSGin5G-4 reference point on behalf of Non-3GPP UE.
The Broadcast Message Gateway interacts with MSGin5G Server over MSGin5G-7 reference point.
An MSGin5G Server provides server-side functionality to assist MSGin5G Clients with the sending and receiving of messages via the MSGin5G Service to/from Application Servers and/or other MSGin5G Service endpoints on other UEs, and collect charging information from MSGin5G message.
Functionalities of MSGin5G Server:
To resolve message delivery mechanism for the MSGin5G Service endpoint based on the terminating MSGin5G Service ID to determine if the message is to be delivered to an MSGin5G UE, an Application Server or a Message Gateway for final delivery;
To resolve the MSGin5G Group Service ID to determine the members of the Group specified in TS 23.434;
Interworking with non 3GPP messaging service through the Non-3GPP Message Gateway;
Interworking with legacy 3GPP messaging service through the Legacy 3GPP Message Gateway;
Exchanging MSGin5G messages with application servers, MSGin5G Clients, Legacy 3GPP Message Gateway and Non-3GPP Message Gateway;
Supporting MSGin5G message segmentation according to service provider's policy;
Supporting UE configuration procedures as specified in TS 23.434 or communicating with the SEAL Configuration Management Server to provide MSGin5G configuration data on a UE to be ready for the MSGin5G Service;
Managing information related to the MSGin5G Service, such as MSGin5G Client availability, Legacy 3GPP Message Gateway and Non-3GPP Message Gateway; and
Interactions towards the CHF, as defined in TS 32.240, to collect charging information from MSGin5G message according to the operator's charging policy and report charging information to CHF.
Upon receiving the MSGin5G message request to deliver the message to the recipient (which could be any of the MSGin5G UE, Legacy 3GPP UE, Non-3GPP UE or Application Server) on the terminating side, the MSGin5G Server checks the recipient's registration repository (created at the time of each MSGin5G UE/Application Server registration to MSGin5G Server, or the Message Gateway performs registration with the MSGin5G Server on behalf of the Non-MSGin5G UEs) for the Identities of MSGin5G service endpoints, i.e. UE Service ID/AS Service ID. The MSGin5G Server will attempt for delivery MSGin5G message request towards recipient based on the UE Service ID/AS Service ID. If the recipient is Non-MSGin5G UE, the Message Gateway that the Non-MSGin5G UE is registered with will receive the MSGin5G message request on behalf of the Non-MSGin5G UE, and then delivers the message to the Non-MSGin5G UE by using the Non-MSGin5G message delivery mechanism.
An MSGin5G Client provides client-side functionality for UE Application Clients with the sending and receiving of messages via the MSGin5G Service to/from Application Servers and/or other MSGin5G Service endpoints; i.e. UEs.
Functionalities of MSGin5G Client including:
may expose MSGin5G APIs to enable Application Clients to use an MSGin5G Service;
supporting registration of an MSGin5G Client to an MSGin5G Server to use MSGin5G Service;
supporting configuration of an MSGin5G Client required to use MSGin5G Service;
construction of MSGin5G message when requested by a native application or Application Client;
delivery of MSGin5G message payload to the targeted native application or Application Client; and
exchanging MSGin5G messages via an MSGin5G Server to/from Application Servers and/or other MSGin5G Service endpoints; i.e. UEs. and
acting as a relay for MSGin5G Client resides in other UE, which does not have enough capability to communicate with MSGin5G Server (i.e. a constrained device), to use MSGin5G Service.
A Message Gateway in MSGin5G application architecture provides functionality to deliver MSGin5G messages to Non-MSGin5G UEs.
A Message Gateway performs the role of interconnecting two different messaging delivery mechanisms and assures the message integrity between different message delivery mechanisms. A message delivery mechanism comprises the specific set of protocols, procedures and rules.
Functionalities of Message Gateway:
Enables seamless delivery of an MSGin5G message between different message delivery mechanisms with integrity;
Communicates with the MSGin5G Server using either an MSGin5G Client functionality or similar functions to enable sending and receiving MSGin5G messages;
Delivers payload of an MSGin5G message to the Non-MSGin5G UE using the specific message delivery mechanism available to that Non-MSGin5G UE and vice versa;
Performs message sender and receiver addresses conversion according to the two connected message delivery mechanisms and maintain the mapping of the address pair used for a response message delivery;
Perform registration and de-registration with the MSGin5G Server on behalf of the Non-MSGin5G UEs;
Act as a service endpoint to perform message segmentation and reassembly for the Non-MSGin5G UEs when needed; and
Performs protocol conversion according to the service supported by the target UE;
Supports the MSGin5G message delivery status report
If application level message delivery status report is not supported by the Non-MSGin5G message delivery mechanisms, based on the information (e.g. response to the message delivery request, transport level information, etc) obtained from the Non-MSGin5G message delivery mechanisms, the Message Gateway fetches the delivery status from the above information and uses it to create an MSGin5G message delivery status report on behalf of Non-MSGin5G UE. If the delivery status is failure, also fetch the suitable failure reason from the above information and use it as reason of failure in the MSGin5G message delivery status report.
If application level message delivery status report is supported by the Non-MSGin5G message delivery mechanisms (e.g. RCS specified in GSMA PRD RCC.07 [3]), translates the application level message delivery status report in the Non-MSGin5G message delivery mechanisms to MSGin5G message delivery status report.
There are two types of Message Gateways used to deliver MSGin5G messages to different UE types: the Legacy 3GPP Message Gateway and the non-3GPP Message Gateway
The Application Client is an entity in the application layer to implement and perform the application service logic for its own service.
The Application Client interacts with MSGin5G Client for sending and receiving MSGin5G messages. The Application Client provides needed information for the MSGin5G Client to perform MSGin5G Service with other endpoints.
The Application Server is an entity in the application layer to implement and perform the application service logic.
The Application Server supports sending and receiving messages with MSGin5G Service layer protocols and procedures.
The interactions related to enabling MSGin5G message exchange between an MSGin5G Client and an MSGin5G Server are supported by the MSGin5G-1 reference point. This reference point supports:
Registration of an MSGin5G Client to an MSGin5G Server when not using IMS based solution; and
The interactions related to enabling MSGin5G message exchange between an MSGin5G Server and the Legacy 3GPP Message Gateway are supported by the MSGin5G-2 reference point. This reference point supports:
The exchange of MSGin5G messages between MSGin5G Server and the Legacy 3GPP Message Gateway; and
Perform registration /de-registration on behalf of the Legacy 3GPP UEs that the Message Gateway connects with the MSGin5G Server.
The interactions related to enabling MSGin5G message exchange between an Application Server and an MSGin5G Server are supported by the MSGin5G-3 reference point. This reference point supports:
Access to MSGin5G Server and APIs to enable sending and receiving of MSGin5G messages; and
The interactions related to enabling MSGin5G message exchange between a Non-3GPP Message Gateway and an MSGin5G Server are supported by the MSGin5G-4 reference point. This reference point supports:
The exchange of MSGin5G messages between MSGin5G Server and the Non-3GPP Message Gateway; and
Perform registration/de-registration on behalf of the Non-3GPP UEs that the Message Gateway connects with the MSGin5G Server
The interactions related to enabling MSGin5G message related information exchange between an Application Client and an MSGin5G Client are supported by the MSGin5G-5 reference point. This reference point supports:
Providing information from Application Clients required to enable the MSGin5G Client to construct an MSGin5G message to be delivered to other MSGin5G Service endpoints.
Configuring application clients with information required to enable the MSGin5G Client and MSGin5G Server to exchange and route MSGin5G messages to other MSGin5G Service endpoints.
Sending notifications and information in the incoming MSGin5G messages received by the MSGin5G Client to the Application Clients from other MSGin5G Service endpoints.