A method for service communications proxy (SCP)-specific prioritized producer network function (NF) discovery and routing, the method comprising:
- maintaining, at the SCP, a producer NF latency database including SCP-specific producer NF service instance latency information;
- receiving, at the SCP, a discovery request message or receiving a service request message having a 3gpp-Sbi-Discovery header and generating, at the SCP, a discovery request message in response to the received service request message;
- modifying, by the SCP, the discovery request message to include the SCP-specific producer NF service instance latency information for at least one service instance of a producer NF instance capable of providing a service identified in the discovery request message;
- forwarding, by the SCP, the discovery request message to an NF repository function (NRF);
- at the NRF, creating a list of NF and associated service profiles of producer NF instances and their respective producer NF service instances capable of providing the service identified in the discovery request message;
- setting or adjusting, by the NRF and based on the SCP-specific producer NF latency information, priorities of NF and service profiles of producer NF and producer NF service instances in the list;
- and
- forwarding, by the NRF and to the SCP, a discovery response message including the list of NF and associated service profiles of producer NF instances and their respective producer NF service instances.