Tech-invite3GPPspaceIETFspace
21222324252627282931323334353637384‑5x

Content for  TS 24.542  Word version:  18.0.0

Top   Top   Up   Prev   Next
1…   6…   A…

 

6  Notification management proceduresp. 9

6.1  Generalp. 9

Void.

6.2  On-network proceduresp. 9

6.2.1  Generalp. 9

6.2.1.1  Authenticated identity in HTTP requestp. 9

Upon receiving an HTTP request, the SNM-S shall authenticate the identity of the sender of the HTTP request as specified in TS 24.547, and if authentication is successful, the SNM-S shall use the identity of the sender of the HTTP request as an authenticated identity.

6.2.1.2  Boot up procedurep. 9

Upon device boot up, the NM-C in the UE shall create the notification channel with the notification management server as specified in clause 6.2.2.1.

6.2.2  Notification channel creation procedurep. 9

6.2.2.1  SNM client proceduresp. 9

Upon receiving a request from VAL service to receive notifications via the notification channel; the SNM-C may create a notification channel by sending an HTTP POST request to the SNM-S. In the HTTP POST request the SNM-C:
  1. shall set the Request-URI to the URI of the SNM-S;
  2. shall include the Host header with public user identity of SNM-S;
  3. shall include an Authorization header field with the "Bearer" authentication scheme set to an access token of the "bearer" token type as specified in RFC 6750;
  4. shall include a Content-Type header field set to "application/vnd.3gpp.seal-create-notification-channel-request";
  5. shall generate the create notification channel request message as specified in clause A.1.2:
    1. shall set the requestor identity to the notification management client identity;
    2. shall set the channel type to PULL or PUSH based on the VAL Application requesting the use of notification channel;
    3. may set the PUSH channel details parameter with the PUSH callback-URL if the channel type is PUSH;
    4. shall set the validity duration of the notification channel;
    5. may set the pull notification message trigger parameter to "true", if in case the SNM-C support application trigger to initiate pull notification message procedure; and
    6. shall set the VAL id cluster list parameter with list of VAL identities corresponding to each VAL service requesting to receive notifications via the notification channel; and
  6. include the parameters specified in clause A.1.2 serialized into a JavaScript Object Notation (JSON) structure as specified in RFC 7159.
Upon receiving an HTTP 200 (OK), the SNM-C shall notify the VAL services about the successful creation of notification channel and shall listen on the PUSH callback-URL for receiving the PUSH notification messages from SNM-S.
Up

6.2.2.2  SNM server proceduresp. 10

Upon reception of an HTTP POST request from SNM-C where the Request-URI of the HTTP POST request contains the URI of the SNM-S, the SNM-S:
  1. shall determine the requestor identity of the received HTTP POST request as specified in clause 6.2.1.1, and:
    1. if the identity of the sender of the received HTTP POST request is not authorized user, shall respond with an HTTP 403 (Forbidden) response to the HTTP POST request and skip rest of the steps;
  2. shall process the create notification channel request and if the channel type is:
    1. PUSH, the SNM-S shall process:
      1. the PUSH channel details parameter as specified in clause A.1.2 to fetch the PUSH callback-URL of the SNM-C:
        1. if the PUSH callback-URL is not provided the SNM-S shall respond with an HTTP 406 (Not Acceptable) response to the HTTP POST request and skip rest of the steps; and
        2. the SNM-S shall store this PUSH callback-URL for future usages, when the notification messages are to be pushed to SNM-C; and
      2. the VAL id cluster list parameter, which is a list of VAL identities corresponding to each VAL services requesting to receive notifications messages via the notification channel; and
    2. PULL, the SNM-S:
      1. may process the pull notification message trigger attribute if provided. If the SNM-S supports sending the application trigger to SNM-C to initiate pulling notification message procedure, then the SNM-S may share this indication in the create notification channel response and store this for future usage to send triggers to SNM-C for outstanding notification messages received from VAL server; and
      2. shall wait for the SNM-C to pull the notification messages; and
  3. shall process the validity duration share by the SNM-C.
Upon successful creation of notification channel; the SNM-S:
  1. shall create a notification channel response message with below attributes as specified in clause A.1.3;
    1. shall generate unique channel identifier;
    2. shall generate the callback URL, which shall be used by VAL clients in UE for sharing it to VAL Server as part of their respective services;
    3. may generate the validity duration of the notification channel; and
    4. may generate a notification URL that shall be used by SNM-C to pull the notifications from SNM-S in case of PULL channel type;
  2. shall include a Content-Type header field set to "application/vnd.3gpp.seal-create-notification-channel-response"; and
  3. shall send an HTTP 200 (OK) response including message generated above.
Up

6.2.3  Notification Message deliveryp. 11

6.2.3.1  PUSH notification messages procedurep. 11

6.2.3.1.1  SNM client procedurep. 11
Upon receiving the HTTP POST request over a call back URI which was given to SNM-S at the time of notification channel creation, the SNM-C:
  1. shall match identifier received in the channel identifier parameter of the HTTP POST request with the locally stored channel identifier. If channel identifier is not matching, then:
    1. send an HTTP 406 (Not Acceptable) response to SNM-S and skip rest of the steps;
  2. shall send an HTTP 200 (OK) response to SNM-S; and
  3. shall process the VAL notification message list parameter received in HTTP request entity-body as specified in clause A.2.2 and deliver each received notification message to the appropriate VAL client on UE that matches the VAL id cluster info parameter received with each message.
Up
6.2.3.1.2  SNM server procedurep. 11
To send the PUSH notification messages received from the VAL server to the SNM-C, the SNM-S:
  1. shall check whether an PUSH notification channel exists with the SNM-C to receive the notification messages matching to the VAL identities (VAL UE or VAL user ID, VAL service ID, VAL application ID) shared by VAL server; if there is no channel created then skip rest of the steps;
  2. shall generate an HTTP POST message to send notification messages received from the VAL server. In the HTTP POST message:
  3. shall set request URI to the call back URI received at the time of creating channel;
  4. shall set Content-Type header to "application/vnd.3gpp.seal-notification-payload/json";
  5. shall generate the notification message payload as specified in clause A.2.2:
  6. shall set the channel identifier associated with the SNM-C; and
  7. shall generate the notification message list for the messaged received from VAL servers as specified in Table A.2.2-2; and
  8. shall include an HTTP request entity-body with the parameters specified in clause A.2.2 serialized into a JavaScript Object Notation (JSON) structure as specified in RFC 7159; and
  9. shall send the HTTP POST request towards SNM-C.
Up

6.2.3.2  PULL notification messages procedurep. 11

6.2.3.2.1  SNM client procedurep. 11
To retrieve the latest notification messages available at the SNM-S as received from VAL servers, the SNM-C shall send an HTTP GET request to the SNM-S. In the HTTP GET request the SNM-C:
  1. shall set the Request-URI with the "notification URL" received in create notification channel response message as specified in clause A.1.3;
  2. shall include the Host header with public user identity of SNM-S;
  3. shall include an Authorization header field with the "Bearer" authentication scheme set to an access token of the "bearer" token type as specified in RFC 6750;
  4. shall include a Content-Type header field set to "application/vnd.3gpp.seal-pull-notification-message-request/json";
  5. shall generate the pull notifications request message as specified in clause A.2.3:
    1. shall set the requestor identity to the notification management client identity; and
    2. shall set the channel identifier to the identity of the corresponding notification channel with SNM-S from which the messages has to be pulled.
    3. include the parameters specified in clause A.2.3 serialized into a JavaScript Object Notation (JSON) structure as specified in RFC 7159.
Upon receiving an HTTP 200 (OK), the SNM-C shall parse the notification messages received from SNM-S as specified in Table A.2.2-1 and notify the VAL services. The SNM-C shall immediately send HTTP GET towards the SNM-S to retrieve the next set of latest notification messages and await for response from SNM-S.
Up
6.2.3.2.2  SNM server procedurep. 12
Upon reception of an HTTP GET request from SNM-C where the Request-URI of the HTTP POST request is set to the notification URL of the SNM-S, the SNM-S:
  1. shall determine the requestor identity of the received HTTP GET request as specified in clause 6.2.1.1, and:
    1. if the identity of the sender of the received HTTP GET request is not authorized user, shall respond with an HTTP 403 (Forbidden) response to the HTTP GET request and skip rest of the steps;
  2. shall determine whether notification URL corresponding to the one issued by SNM-S as part of create notification channel response or not; and:
    1. if notification URL is not valid, shall respond with an HTTP 404 (Not Found) response to the HTTP GET request and skip rest of the steps;
  3. shall determine whether notification channel corresponding to the channel identifier and exists or not; and:
    1. if notification channel does not exist, shall respond with an HTTP 406 (Not Acceptable) response to the HTTP GET request and skip rest of the steps;
  4. shall generate the pull notification message response to send notification messages received from the VAL servers:
    1. shall include a Content-Type header field set to "application/vnd.3gpp.seal-notification-payload/json";
    2. shall generate the notification message payload as specified in clause A.2.2:
      1. shall set the channel identifier associated with the SNM-C; and
      2. shall generate the notification message list for the messaged received from VAL servers as specified in Table A.2.2-2; and
    3. shall include an HTTP entity-body with the parameters specified in clause A.2.2 serialized into a JavaScript Object Notation (JSON) structure as specified in RFC 7159; and
  5. shall send an HTTP 200 (OK) response towards SNM-C.
Up

6.2.4  Notification channel deletion proceduresp. 13

6.2.4.1  SNM client proceduresp. 13

Upon receiving a request from VAL service to stop receiving notifications via the notification channel; the SNM-C shall delete a notification channel by sending an HTTP DELETE request to the SNM-S. In the HTTP DELETE request the SNM-C:
  1. shall set the Request-URI to the URI of the SNM-S;
  2. shall include the Host header with public user identity of SNM-S;
  3. shall include an Authorization header field with the "Bearer" authentication scheme set to an access token of the "bearer" token type as specified in RFC 6750;
  4. shall include a Content-Type header field set to "application/vnd.3gpp.seal-delete-notification-channel-request";
  5. shall generate the delete notification channel request message as specified in clause A.3.2:
    1. shall set the requestor identity to the notification management client identity; and
    2. shall set the channel identifier to the identity of the corresponding notification channel with SNM-S to be deleted. If the other VAL services use the same notification channel in the UE, then SNM-C:
      1. may set the VAL identity cluster info parameter with VAL identities corresponding to the VAL service requesting to stop receiving notifications, which indicates SNM-C prefers to deregister the notification channel for these identities rather than deletion of the notification channel; and
  6. include the parameters specified in clause A.3.2 serialized into a JavaScript Object Notation (JSON) structure as specified in RFC 7159.
Up

6.2.4.2  SNM server proceduresp. 13

Upon reception of an HTTP DELETE request from SNM-C where the Request-URI of the HTTP DELETE request contains the URI of the SNM-S, the SNM-S:
  1. shall determine the requestor identity of the received HTTP DELETE request as specified in clause 6.2.1.1, and:
    1. if the identity of the sender of the received HTTP DELETE request is not authorized user, shall respond with an HTTP 403 (Forbidden) response to the HTTP DELETE request and skip rest of the steps;
  2. shall determine whether notification channel corresponding to the channel identifier exists or not; and:
    1. if notification channel does not exist, shall respond with an HTTP 406 (Not Acceptable) response to the HTTP DELETE request and skip rest of the steps;
  3. shall delete the notification channel if the VAL identity cluster info parameter is not provided else proceed to only deregister the notification channel for these identities shared in VAL identity cluster info parameter corresponding to VAL service; and
  4. shall send an HTTP 200 (OK) response to the SNM-C.
Up

6.2.5  Notification channel update procedurep. 13

6.2.5.1  SNM client proceduresp. 13

Upon detecting the expiry period of the active notification channel approaching; the SNM-C shall request for update of the notification channel expiry period by sending an HTTP PUT request to the SNM-S. In the HTTP PUT request the SNM-C:
  1. shall set the Request-URI to the URI of the SNM-S;
  2. shall include the Host header with public user identity of SNM-S;
  3. shall include an Authorization header field with the "Bearer" authentication scheme set to an access token of the "bearer" token type as specified in RFC 6750;
  4. shall include a Content-Type header field set to "application/vnd.3gpp.seal-update-notification-channel-request";
  5. shall generate the update notification channel request message as specified in clause A.4.2:
    1. shall set the requestor identity to the notification management client identity;
    2. shall set the channel identifier to the identity of the corresponding notification channel with SNM-S to be updated; and
    3. may set the expiry time of the notification channel; and
  6. include the parameters specified in clause A.4.2 serialized into a JavaScript Object Notation (JSON) structure as specified in RFC 7159.
Upon receiving an HTTP 200 (OK), the SNM-C shall store the expiry time received in the response for performing the future update procedure.
Up

6.2.5.2  SNM server proceduresp. 14

Upon reception of an HTTP PUT request from SNM-C where the Request-URI of the HTTP PUT request contains the URI of the SNM-S, the SNM-S:
  1. shall determine the requestor identity of the received HTTP PUT request as specified in clause 6.2.1.1, and:
    1. if the identity of the sender of the received HTTP PUT request is not authorized user, shall respond with an HTTP 403 (Forbidden) response to the HTTP PUT request and skip rest of the steps;
  2. shall determine whether notification channel corresponding to the channel identifier exists or not; and:
    1. if notification channel does not exist, shall respond with an HTTP 406 (Not Acceptable) response to the HTTP PUT request and skip rest of the steps;
  3. shall generate a notification channel update response message with below attributes as specified in clause A.4.3;
    1. shall check whether the new proposed expiry time from SNM-C is valid or generate the new validity duration of the notification channel; and
  4. include the parameters specified in clause A.4.3 serialized into a JavaScript Object Notation (JSON) structure as specified in RFC 7159;
  5. shall include a Content-Type header field set to "application/vnd.3gpp.seal-update-notification-channel-response"; and
  6. shall send an HTTP 200 (OK) response to the SNM-C.
Up

6.3  Off-network proceduresp. 14


Up   Top   ToC