Service request processing
The present disclosure provides methods for processing a service request in a network comprising a set of Network Function (NF) nodes, and corresponding NF nodes. The method performed at a first NF node includes transmitting (S 710 ) a request for the service to a Service Communication Proxy (SCP), the request comprising at least an indication indicating a required Application Program Interface (API) version for the service, wherein the requires API version is other than an API version included in a Resource Uniform Resource Identifier (URI) in the request. The present disclosure further discloses a corresponding method implemented at an SCP. The present disclosure further provides a corresponding computer readable medium.
1 . A method performed at a first Network Function (NF) node for requesting a service with a Service Communication Proxy (SCP), the method comprising:
transmitting a request for the service to the SCP, the request comprising at least an indication indicating a required Application Program Interface (API) version for the service, wherein the required API version is other than an API version included in a resource Uniform Resource Identifier (URI) in the request; and
receiving from the SCP a response including an error message indicating that no second NF node provides the required API version for the service.
2 . The method of claim 1 , wherein the response further includes information on an API version for the service of at least one second NF node that provides an API version different from the required API version for the service.
3 . The method of claim 2 , further comprising constructing a different request for the service by changing the required API version.
4 . The method of claim 3 , wherein constructing a different request for the service is performed by taking the received information on the different API version into account.
5 . The method of claim 1 , wherein the required API version only indicates a major version.
6 . A method performed at a Service Communication Proxy (SCP), the method comprising:
receiving a request for a service from a first Network Function (NF) node, the request including an indication indicating a required Application Program Interface (API) version for the service, wherein the required API version is other than an API version included in a resource Uniform Resource Identifier (URI) in the request;
searching for a second NF node that provides the service of the required API version; and
transmitting a response to the first NF node, including an error message indicating that no second NF node provides the required API version for the service.
7 . The method of claim 6 , wherein searching for a second NF node comprises:
transmitting, to a Network Repository Function (NRF), an NF discovery request for discovering a second NF node that provides the required API version for the service; or
searching in a cache of the SCP for the second NF node.
8 . The method of claim 6 , further comprising searching for at least one second NF node that provides the service of an API version different from the required API version.
9 . The method of claim 8 , further comprising including information on the different API version for the service of the at least one second NF node, if any, in the response to the first NF node.
10 . The method of claim 9 , further comprising extracting the information on the different API version from a profile of the at least one second NF node.
11 . The method of claim 6 , wherein the required API version only indicates a major version.
12 . A method performed at a Service Communication Proxy (SCP), the method comprising:
receiving a request for a service from a first Network Function (NF) node;
extracting an Application Program Interface (API) version from a resource Uniform Resource Identifier (URI) in the request, as a required API version for the service;
searching for a second NF node that provides the service of the required API version; and
transmitting a response to the first NF node, including an error message indicating that no second NF node provides the required API version for the service.
13 . The method of claim 12 , wherein searching for a second NF node comprises:
transmitting, to a Network Repository Function (NRF), an NF discovery request for discovering a second NF node that provides the required API version for the service; or
searching in a cache of the SCP for the second NF node.
14 . The method of claim 12 , further comprising searching for at least one second NF node that provides the service of an API version different from the required API version.
15 . The method of claim 14 , further comprising including information on the different API version for the service of the at least one second NF node, if any, in the response to the first NF node.
16 . The method of claim 15 , further comprising extracting the information on the different API version from a profile of the at least one second NF node.
17 . A first Network Function (NF) node comprising:
a memory containing instructions; and
a processor configured to execute the instructions, whereby processor controls the first NF node to:
transmit a request for a service to a Service Communication Proxy (SCP), the request comprising at least an indication indicating a required Application Program Interface (API) version for the service, wherein the required API version is other than an API version included in a resource Uniform Resource Identifier (URI) in the request; and
receive from the SCP a response including an error message indicating that no second NF node provides the required API version for the service.