CN110740464A - NF service discovery method and device - Google Patents

NF service discovery method and device Download PDF

Info

Publication number
CN110740464A
CN110740464A CN201810803559.6A CN201810803559A CN110740464A CN 110740464 A CN110740464 A CN 110740464A CN 201810803559 A CN201810803559 A CN 201810803559A CN 110740464 A CN110740464 A CN 110740464A
Authority
CN
China
Prior art keywords
service
information
discovery
services
failure
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Withdrawn
Application number
CN201810803559.6A
Other languages
Chinese (zh)
Inventor
张晓超
张帆
阎永青
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Putian Information Technology Co Ltd
Original Assignee
Putian Information Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Putian Information Technology Co Ltd filed Critical Putian Information Technology Co Ltd
Priority to CN201810803559.6A priority Critical patent/CN110740464A/en
Publication of CN110740464A publication Critical patent/CN110740464A/en
Withdrawn legal-status Critical Current

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W24/00Supervisory, monitoring or testing arrangements
    • H04W24/04Arrangements for maintaining operational condition
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W60/00Affiliation to network, e.g. registration; Terminating affiliation with the network, e.g. de-registration

Abstract

The embodiment of the invention provides NF service discovery methods and equipment, wherein the method comprises the steps of obtaining or a plurality of pieces of NF information of different types according to the sequence of a flow to be executed, sending NF service discovery requests aiming at or the plurality of pieces of NF information of different types to an NRF, receiving return information of the NRF to the NF service discovery requests, wherein the return information carries related data of successful discovery of the NF service, related data of partial successful discovery of the NF service or related data of failure of discovery of the NF service, processing the flow to be executed or entering an error processing flow according to the return information of the NF service discovery requests, and because an NF requester sends discovery requests of all NF services required by the flow to be executed in requests, the NF discovery requests do not need to be frequently sent to the NRF, so that signaling resources are saved.

Description

NF service discovery method and device
Technical Field
The embodiment of the invention relates to the technical field of communication, in particular to a method and equipment for discovering NF services.
Background
According to the descriptions of existing 3GPP TS 23.502 and TS 23.501, the 5G core network control plane function may adopt a service-based design scheme to describe the control plane network function and interface interaction, and implement the functions of service registration, discovery, authentication, and the like of the network function.
The functions of the control plane, such as AMF and SMF, may be decomposed into multiple services for invocation by other functional modules within the control plane. Under the service architecture, the function of the control plane may be a producer (producer) of the service or a consumer (consumer) of the service.
The Network Function (NF) service provides capabilities for authorized consumers, the network function can provide different capabilities, thereby providing different NF services for different consumers, each NF service provided by the network function should be independent and reusable, business processes can be constructed by series of NF services.
If business processes need to be constructed by different types of NF services of series, the NF requester needs to frequently send NF discovery requests to the NRF according to the execution sequence of the processes, thus causing a large amount of signaling overhead, increasing the processing delay and increasing the complexity of NF selection process.
Disclosure of Invention
Aiming at the problems in the prior art, the embodiment of the invention provides NF service discovery methods and devices.
, an embodiment of the present invention provides a NF service discovery method, including:
NF information of different types or a plurality of different types is obtained according to the sequence of the flow to be executed, and a NF service discovery request aiming at the NF information of different types or a plurality of different types is sent to the NRF;
receiving return information of the NRF to the NF service discovery request, wherein the return information carries related data of successful discovery of the NF service, related data of partial successful discovery of the NF service or related data of failure of discovery of the NF service;
and processing the flow to be executed or entering an error processing flow according to the returned information of the NF service discovery request.
In a second aspect, an embodiment of the present invention provides methods for discovering NF services, including:
receiving an NF service discovery request sent by an NF requester aiming at or a plurality of NF information of different types;
acquiring authorization information of the NF service corresponding to the NF requester and/or the or the plurality of pieces of different types of NF information, wherein the authorization information is successful in authorization, successful in partial authorization or failed in authorization;
and sending return information aiming at the NF service discovery request to the NF requester according to the authorization information, wherein the return information carries related data of successful discovery of the NF service, related data of partial successful discovery of the NF service or related data of failure of discovery of the NF service.
In a third aspect, an embodiment of the present invention provides electronic devices, including:
at least processors, and
at least memories communicatively connected to the processor, wherein:
the memory stores program instructions executable by the processor, and the processor calls the program instructions to perform the NF service discovery method according to the th aspect of the present invention and any alternative embodiment thereof, or the NF service discovery method according to the second aspect of the present invention and any alternative embodiment thereof.
In a fourth aspect, non-transitory computer readable storage media are provided, which store computer instructions for executing the NF service discovery method according to the of the present invention and any alternative embodiment thereof, or the NF service discovery method according to the second aspect of the present invention and any alternative embodiment thereof.
According to the method for discovering the NF services of provided by the embodiment of the invention, an NF requester acquires or more pieces of NF information of different types according to the sequence of the flow to be executed, sends NF service discovery requests aiming at or more pieces of NF information of different types to an NRF, processes the flow to be executed or enters an error processing flow according to the return information of the NRF to the NF service discovery requests, because the NF requester sends the discovery requests of all NF services required by the flow to be executed in requests, the NF discovery requests do not need to be sent to the NRF frequently, signaling resources are saved, meanwhile, the response speed of the NRF for carrying out authorization authentication and returning information processing on the NF discovery requests can be improved, the time delay is reduced, the complexity of an NF selection process is reduced, and the resource overhead is saved.
Drawings
In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, is briefly introduced in the drawings required in the description of the embodiments or the prior art, it is obvious that the drawings in the following description are embodiments of the present invention, and other drawings can be obtained by those skilled in the art without creative efforts.
FIG. 1 is an interaction diagram of a NF requester performing service registration according to an embodiment of the present invention;
FIG. 2 is an interaction diagram illustrating a NF requester performing service deregistration in accordance with an embodiment of the present invention;
FIG. 3 is a diagram illustrating a process of service authentication and discovery according to an embodiment of the present invention;
fig. 4 is a flowchart of an NF requester side of an NF service discovery method according to an embodiment of the present invention;
fig. 5 is a flow chart of an NRF end of an NF service discovery method according to an embodiment of the present invention;
fig. 6 is an interaction flow diagram of the NF service discovery method according to the embodiment of the present invention;
fig. 7 is an interaction flow diagram illustrating a case where the NF (NF requestor and/or requested NF service) is successfully authorized and the return information carries relevant data of successful discovery of the NF service according to the embodiment of the present invention;
fig. 8 is a schematic diagram of a frame of an electronic device according to an embodiment of the invention.
Detailed Description
To make the objects, technical solutions and advantages of the embodiments of the present invention clearer, the technical solutions in the embodiments of the present invention will be described below with reference to the drawings in the embodiments of the present invention, and it is obvious that the described embodiments are some, but not all embodiments of the present invention.
The embodiments of the present invention relate to the following terms:
NF, network function module;
NRF, NF library module;
AMF, core access and mobility management function module;
SMF, session management function;
FQDN, fully qualified domain name.
It should be noted that the NRF supports a service discovery function, receives an NF discovery request sent by an NF, and provides discovered NF information to the requesting NF. While preserving information of available NFs and services supported by those NFs. NRF provides service registration and de-registration, service authentication, and service discovery functions. The method comprises the following specific steps:
1. service registration and de-registration
In order for the NRF to maintain the information of the deployed network function, the information of the network function needs to be provided to the NRF through service registration when the network function is deployed. When the network function is uninstalled, the NRF needs to be notified of deletion of the saved network function information through service deregistration. The network function information includes information such as a network function type (e.g., AMF, SMF, etc.) corresponding to the network function, an address of the network function, and a service supported by the network function. The NRF supports a service interface for service registration and de-registration so that NF requestors (e.g., network management systems) can request registration and de-registration of network function services through the service interface.
Fig. 1 is an interaction schematic diagram of a NF requester performing service Registration according to an embodiment of the present invention, please refer to fig. 1, when a certain network function is deployed, the NF requester, for example, a network management system, sends a NF Registration Request message to an NRF to Request execution of NF service Registration, where the Request message includes information of a corresponding network function. The NRF stores information of the deployed network functions. The NRF notifies the NF service that Registration has been completed via a NF Registration Response message.
Fig. 2 is an interaction schematic diagram of a NF requester performing service Deregistration in an embodiment of the present invention, please refer to fig. 2, when a certain network function is uninstalled, the NF requester, for example, a network management system, sends a NF registration Request message to an NRF to Request execution of the NF service Deregistration, where the Request message includes an identifier of the corresponding network function, and the like. The NRF deletes the information it holds corresponding to the network function. The NRF notifies the NF service that the de-registration has been completed through a NF registration Response message.
2. Service authentication and discovery
NF service authorization will authorize NF requestors to access NF services provided by the service provider NF, depending on the policies of the NF, policies from the service operator, inter-operator agreements.
The service authorization information is the portion of the NF's profile that includes NF types that are allowed to connect to the NF, as well as the corresponding NF services that are accessible by those NF types.
Service authorization includes two steps:
it is checked whether the NF requestor is allowed to discover the requested NF during the NF service discovery process. This is of NF particle size.
It is checked whether the NF requestor is allowed to access the requested NF to use its NF service. This may be NF or UE granularity. Service authorization at UE granularity is embedded in the relevant NF service logic.
Referring to fig. 3, a network function NF in a core network may expose the capability of the NF as a service through its service-based interface and may be reused by other NFs. NF service discovery enables a NF of the control plane to discover a specific target NF that provides a desired NF service. NF service discovery is achieved through NF discovery. NF discovery enables NF requestors to discover NF service providers and access NF services provided by the NF service providers. Receives an NF discovery request from the NF and provides the NF with information (IP or FQDN) of the discovered NF.
It can be seen from the above analysis that when an NF requester needs to access a certain network function, it sends a NF discovery request to the NRF, and the NRF provides discovered NF information to the NF requester, if business processes need to be constructed by series of different types of NF services, the NF requester needs to frequently send NF discovery requests to the NRF according to the sequence of process execution, which results in a large amount of signaling overhead, increased processing delay, and increased complexity of NF selection process.
Fig. 4 is a schematic flow diagram of an NF requester end of an NF service discovery method according to an embodiment of the present invention, where an execution subject of the NF service discovery method shown in fig. 4 is an NF requester, and the method includes:
400, obtaining or more NF information of different types according to the sequence of the flow to be executed, and sending NF service discovery request aiming at or more NF information of different types to NRF;
, the NF service discovery request carries or more different NF type information and NF type information of the NF requester, and optionally, the NF service discovery request may also carry information related to a network slice or other related parameters, which is not limited in the embodiment of the present invention.
The network slice is to divide a physical network into a plurality of virtual networks, each virtual network is divided according to different service requirements, such as time delay, bandwidth, security, reliability and the like, and each network slice is logically isolated from a device to an access network to a transmission network and then to a core network so as to flexibly deal with different network application scenarios and adapt to different characteristic requirements of various types of services.
In step 400, the NF requester obtains or more NF information of different types according to the sequence of the flow to be executed, the NF information corresponds to NF services, and the discovery request of the NF service corresponding to all the NF information is requested to the NRF in the NF service discovery requests, thereby avoiding sending an NF service discovery request to the NRF for each NF service, and saving signaling resources.
401, receiving return information of the NRF to the NF service discovery request, where the return information carries related data of successful discovery of the NF service, related data of partial successful discovery of the NF service, or related data of failure of discovery of the NF service;
since the NF requester sends discovery requests of all NF services required by the flow to be executed in requests, multiple situations may occur in the final discovery of the NF services of the NRF, for example, all requested NF services are successfully discovered, parts of the NF services are successfully discovered, another parts of the NF services are failed to be discovered, or all requested NF services are failed to be discovered.
Specifically, the return information carries relevant data of successful discovery of the NF services, including or more of IP addresses, FQDNs, and version numbers of all the NF services that are successfully discovered and/or indicated.
The return information carries relevant data of partial success of NF service discovery, and comprises kinds of data or more of partial failure indication, discovery failure reasons of partial NF service discovery failure, and kinds of data or more of IP address, FQDN and version number of partial NF service discovery success.
The return information carries relevant data of NF service discovery failure, including all failure indications and/or discovery failure reasons of all NF services which fail discovery.
402, processing the flow to be executed or entering an error processing flow according to the returned information of the NF service discovery request.
Specifically, for different situations of the returned information, the NF requester adopts different operations, for example, if the returned information carries related data of successful discovery of the NF service, the NF requester executes a flow to be executed according to the discovered NF service, or if the returned information carries related data of failed discovery of the NF service, the NF requester directly enters an error processing flow, and so on.
The NF service discovery method provided by the embodiment of the invention has the advantages that a NF requester acquires or more pieces of different types of NF information according to the sequence of a flow to be executed, sends a NF service discovery request aiming at or more pieces of different types of NF information to an NRF, processes the flow to be executed or enters an error processing flow according to the returned information of the NRF to the NF service discovery request, and because the NF requester sends the discovery requests of all NF services required by the flow to be executed in requests, the NF discovery request does not need to be frequently sent to the NRF, so that signaling resources are saved, the response speed of the NRF for performing authorization authentication and returning information processing on the NF discovery request is increased, the time delay is reduced, the complexity of the NF selection process is reduced, and the resource overhead is saved.
Based on the above embodiment, the return information carries relevant data of successful discovery of NF services, including or more of IP addresses, FQDNs, and version numbers of all NF services that are successfully discovered and/or indicated;
correspondingly, step 402, according to the return information of the NF service discovery request, processing the to-be-executed flow or entering an error processing flow specifically includes:
selecting or more NF services needing to be accessed according to or more of IP addresses, FQDN and version numbers of all NF services which are successfully discovered and/or indicated based on the progress of the flow to be executed;
and respectively accessing the or more NF services to execute the to-be-executed flow.
In this embodiment, since all NF services requested to be discovered are found to be successful, the NF requester can determine which NF services to select to complete the flow to be executed according to the return information of the NRF.
It should be noted that, when selecting an NF, the NF requester may select the NF by considering parameters such as a physical location (optional), a relative distance (optional), a hop count (optional), a version number (optional), and a load condition (optional) of the NF, and finally select or more NF services, where or more NF services selected by the NF requester may be equal to or more NF information of different types when sending the NF service discovery request, and the number of the NF services may be equal to or may not be equal to that of the NF information.
Based on the embodiment, the return information carries relevant data of partial success of NF service discovery, and comprises kinds of or more of data, namely, a partial failure indication, a discovery failure reason of the partial NF service discovery failure, and or more of IP address, FQDN and version number of the partial NF service discovery success;
correspondingly, step 402, according to the return information of the NF service discovery request, processing the to-be-executed flow or entering an error processing flow specifically includes:
entering an error processing flow according to the partial failure indication and/or the discovery failure reason of the partial NF service which fails in discovery; or
Selecting or more NF services needing to be accessed according to or more of the IP address, FQDN and version number of the part of NF services which are successfully discovered, respectively accessing or more NF services to execute the flow to be executed, and if the NF services which are failed to be discovered need to be accessed, switching to an error processing flow or sending a NF service discovery request for the part of NF services which are failed to be discovered to an NRF.
In this embodiment, since all NF services requested to be discovered are successfully discovered in part and fail to be discovered in part, the NF requestor may decide to execute the pending execution flow or directly enter the error handling procedure in various ways.
For example, according to the partial failure indication, the flow to be executed is not processed, and the flow enters the error processing flow directly; or
According to the discovery failure reason of the part of NF service which fails to be discovered, directly entering an error processing flow without processing the flow to be executed; or
And according to the partial failure indication and the discovery failure reason of the partial NF service which fails to be discovered, directly entering an error processing flow without processing the flow to be executed. Or
And for the part of NF services which are successfully found, determining which NF services are selected to execute the flow to be executed according to the IP address, FQDN, version number and/or the like of the part of NF services which are successfully found in the return information of the NRF. When selecting the NF, the NF requester may select the NF by considering parameters such as a physical location (optional), a relative distance (optional), a hop count (optional), a version number (optional), and a load condition (optional).
Because only part of the NF services are successfully found, when the execution progress of the flow to be executed reaches the NF service which is not successfully found, the execution cannot be continued, and at this time, there are two processing methods:
, error handling procedures may be entered;
secondly, a NF service discovery request may be sent to the NRF again, where the NF service discovery request requests service discovery of a part of NF services (or NF services that are failed to be discovered and need interaction subsequently to the flow to be executed) that are failed to be discovered, that is, step 400 is executed again, and then subsequent processing is performed according to the return information of the NRF, that is, steps 401 and 402 are executed. At this time, after the NF service discovery request is retransmitted, if the NF service discovers partial successful related data or fails related data, the NF service may also directly enter an error handling procedure.
Based on the above embodiment, the return information carries relevant data of NF service discovery failure, including all failure indications and/or discovery failure reasons of all failed NF services;
correspondingly, step 402, according to the return information of the NF service discovery request, processing the to-be-executed flow or entering an error processing flow specifically includes:
and entering an error processing flow according to the all failure indications and/or the discovery failure reasons of all NF services which fail to discover.
In this embodiment, since all the NF services requested to be discovered are found to be failed, the flow to be executed cannot be executed, and the NF requester directly enters the error handling program.
Fig. 5 is a schematic flow diagram of an NRF end of NF service discovery methods according to an embodiment of the present invention, where the execution subject of the NF service discovery method shown in fig. 5 is NRF, and the method includes:
500, receiving a NF service discovery request sent by a NF requester for or more different types of NF information;
specifically, the types of NF information correspond to NF services, the NF service discovery request carries or more different pieces of NF type information and NF type information of an NF requester, and optionally, the NF service discovery request may also carry information related to a network slice or other related parameters.
501, obtaining authorization information of the NF service corresponding to the NF requester and/or the or the multiple NF information of different types, where the authorization information is successful in authorization, successful in partial authorization, or failed in authorization;
in step 501, the NRF obtains the authorization information of the NF requester and/or the NF service requested to be found, specifically, the NRF may obtain the authorization information of the NF requester, may also obtain authorization information of NF services corresponding to one or more different types of NF information, or simultaneously obtain the authorization information of the NF requester and all requested NF services.
Since the NF requester sends discovery requests of all NF services required by the flow to be executed in requests, there may be multiple situations in the authorization information finally obtained by the NRF, for example, authorization success or failure of the NF requester, authorization success of all requested NF services, authorization success of part of the NF services of , authorization failure of part of the NF services of , or authorization failure of all requested NF services, and therefore, results of authorization success, partial authorization success, or authorization failure may occur.
502, sending a return message for the NF service discovery request to the NF requester according to the authorization message, where the return message carries related data of successful discovery of the NF service, related data of partial success of discovery of the NF service, or related data of failure of discovery of the NF service.
According to the authorization information, the authorization success, partial authorization success or authorization failure is determined, the return information from the NRF to the NF requester is different, specifically, the return information carries the related data of successful discovery of the NF service when the authorization is successful, the return information carries the related data of partial success of discovery of the NF service when the partial authorization is successful, and the return information carries the related data of failure of discovery of the NF service when the authorization is failed.
In this embodiment, the NRF obtains, in times of processing, authorization information of or more NF services corresponding to the or more types of NF information and/or obtains authorization information of an NF requester according to or more types of NF information in the NF discovery request sent by the NRF, and sends return information to the NF requester according to an authorization result, so that the NF requester performs corresponding processing according to the return information.
Based on the foregoing embodiment, in step 501, the obtaining authorization information of the NF service corresponding to the NF requester and/or the or the multiple pieces of different types of NF information specifically includes:
checking whether the NF requester is authorized to access NF services corresponding to the or more different types of NF information and/or checking whether NF services corresponding to the or more different types of NF information are allowed to be discovered;
if the NF requester is authorized to access the NF services corresponding to the NF information with different types and/or the NF services corresponding to the NF information with different types are allowed to be found, determining that the authorization information is successful;
if the NF requester is authorized to access part of NF services corresponding to different types of NF information and/or part of NF services corresponding to different types of NF information are allowed to be found, determining that the authorization information is part of authorization success;
if the NF requester is not authorized to access the NF services corresponding to the or more different types of NF information, and/or the NF services corresponding to the or more different types of NF information are not allowed to be found, determining that the authorization information is an authorization failure.
In this embodiment, the NRF checks the authorization information of the NF requester and all requested NF services, and results of successful authorization, partial successful authorization, or failed authorization may occur.
For the successful authorization case, the NF requester is successful in authorization, or all requested NF services are successful in authorization, both of which are satisfied or both, i.e., successful in authorization.
For the case of partial authorization success, the NF requester authorizes partial success, or all requested NF services authorize partial success, either both of which are satisfied or both, i.e., authorization partial success.
For the case of authorization failure, the NF requestor fails authorization, or all requested NF service authorizations fail, either both of which are satisfied or both, i.e., authorization failure.
Based on the foregoing embodiment, in step 502, sending, to the NF requester, return information for the NF service discovery request according to the authorization information, where the return information carries related data of a successful discovery of an NF service, related data of a successful discovery part of an NF service, or related data of a failure of discovery of an NF service, and specifically includes:
sending a return message aiming at the NF service discovery request to the NF requester if the authorization message is successful, wherein the return message carries related data of successful discovery of the NF service, and the related data of successful discovery of the NF service comprises or more of IP addresses, FQDN and version numbers of all NF services which are successfully discovered and/or indicated;
sending return information aiming at the NF service discovery request to the NF requester if the authorization information is partial authorization success, wherein the return information carries relevant data of success of a NF service discovery part, and concretely, the relevant data of success of the NF service discovery part comprises or more data, namely a partial failure indication, a discovery failure reason of the partial NF service discovery failure, and or more of IP addresses, FQDN and version numbers of the partial NF service discovery success;
and if the authorization information is authorization failure, sending return information aiming at the NF service discovery request to the NF requester, wherein the return information carries related data of NF service discovery failure. Specifically, the relevant data of the NF service discovery failure includes: a total failure indication and/or a discovery failure cause for all NF services that failed to be discovered.
Fig. 6 is a schematic interaction flow diagram of the NF service discovery method according to the embodiment of the present invention, please refer to fig. 6, where is the NF requester and is the NRF, and the execution sequence of the interaction process between the two parties is as follows:
400.1, pieces of or a plurality of pieces of NF information of different types are obtained according to the sequence of the flow to be executed;
400.2, sending a NF service discovery request for the or more different types of NF information to the NRF;
500, receiving a NF service discovery request sent by a NF requester for or more different types of NF information;
501, obtaining authorization information of the NF service corresponding to the NF requester and/or the or the multiple NF information of different types, where the authorization information is successful in authorization, successful in partial authorization, or failed in authorization;
502, sending a return message for the NF service discovery request to the NF requester according to the authorization message, where the return message carries related data of successful discovery of the NF service, related data of partial success of discovery of the NF service, or related data of failure of discovery of the NF service;
401, receiving return information of the NRF to the NF service discovery request, where the return information carries related data of successful discovery of the NF service, related data of partial successful discovery of the NF service, or related data of failure of discovery of the NF service;
402, processing the flow to be executed or entering an error processing flow according to the returned information of the NF service discovery request.
Fig. 7 is an interaction flow diagram of the embodiment of the present invention when the NF (NF requestor and/or requested NF service) is successfully authorized and the return information carries relevant data that the NF service is successfully found, where the interaction flow of the NF is successfully authorized is illustrated by using fig. 7, and the specific flow is as follows:
NF requestor sends a pair NF to NRF1,…,NFn(n>1) including messages such as the NF type of the desired NF, the NF type of the NF requestor, network slice related information (optional), and other related parameters. Wherein NFiAnd NFjIndicating different types of NF.
NRF grants discovery request of NF. Depending on the information of the desired NF and the NF type of the NF requester, the NRF checks whether the requesting NF is allowed to discover the requested NF during the NF service discovery process or whether the requester NF is allowed to access the requested NF to use its NF service.
3. After successful service authorization, the NRF determines the NF that needs to be discovered and provides the NF requester with the required NF related information, including IP (optional), FQDN (optional), version number (optional) and other related parameters, which is carried in the NFDiscovery Response message returned by the NRF.
And 4, respectively selecting and accessing the required NF by the NF requester according to the progress of the flow and the returned NF information. In selecting the NF, parameters such as physical location (optional), relative distance (optional), hop count (optional), version number (optional), load condition (optional) of the NF may be considered.
5 and n2. when the NF receives the interactive message sent by the NF requester, the NF requester provides the corresponding information to the NF requester, the information needed by the NF requester is carried in the response message of the NF.
In summary, according to the NF service discovery method in the embodiment of the present invention, when the NF requester needs to access different types of network functions according to the sequence of flow execution, the NF requester pre-obtains types or more of NF information, sends a NF discovery request to the NRF, discovers all required NF services, and dynamically adjusts the subsequent processing flow according to the returned information of the NRF.
When the NRF obtains the authorization information, any or more of the following methods may be selected for processing:
after all NF service authorizations fail, the NRF may send only a response message to the NF requestor that the NF service discovery failed.
After the authorization of partial NF service fails, the NRF can send a response message of the discovery failure of the partial NF service to the NF requester, and the information carried by the response message can mark the reason of the acquisition failure of the partial NF or not mark the reason of the failure; and the NF requester transfers to an error processing flow after receiving the Part NFdiscovery faces response message.
After the authorization of partial NF service fails, NRF sends a response message of the discovery failure of partial NF service to a NF requester, wherein the carried message comprises related information of NF allowed to be used, and/or marks the reason of the acquisition failure of partial NF or does not mark the reason of the failure; the NF requester selects and accesses the required NF according to the progress of the flow and the returned NF information allowed to be used; when needing to interact with the NF which fails to be found, switching to an error processing flow; when needing to interact with the NF which cannot be obtained in the previous process of pre-obtaining the NF, the NF requester can re-initiate the discovery process of the NF (including the NF which fails and needs to be interacted subsequently) to pre-obtain the NF information.
According to the NF service discovery method provided by the embodiment of the invention, a NF requester acquires or a plurality of pieces of different types of NF information according to the sequence of a flow to be executed, sends a NF service discovery request aiming at or a plurality of pieces of different types of NF information to an NRF, processes the flow to be executed or enters an error processing flow according to the return information of the NRF to the NF service discovery request, obtains the authorization information of or a plurality of NF services corresponding to or a plurality of types of NF information in times of processing according to or a plurality of types of NF information in the NF discovery request sent by the NRF, and/or obtains the authorization information of the NF requester, sends the return information to the NF requester according to an authorization result so that the NF requester performs corresponding processing according to the return information.
The embodiment of the invention provides NF requester devices, which comprise:
an sending module, configured to obtain or multiple different types of NF information according to the sequence of the to-be-executed flow, and send a NF service discovery request for the or multiple different types of NF information to an NRF;
an th receiving module, configured to receive return information of the NF service discovery request from the NRF, where the return information carries related data of successful discovery of the NF service, related data of partial successful discovery of the NF service, or related data of failure of discovery of the NF service;
and the flow processing module is used for processing the flow to be executed or entering an error processing flow according to the return information of the NF service discovery request.
The apparatus of the embodiment of the present invention may be used to implement the technical solution of the NF service discovery method embodiment shown in fig. 4, and the implementation principle and the technical effect are similar, which are not described herein again.
The embodiment of the invention provides kinds of NRFs, which comprise:
a second receiving module, configured to receive an NF service discovery request sent by an NF requester for NF information of multiple different types;
an obtaining module, configured to obtain authorization information of the NF service corresponding to the NF requester and/or the or the multiple pieces of different types of NF information, where the authorization information is an authorization success, a partial authorization success, or an authorization failure;
and the second sending module is used for sending return information aiming at the NF service discovery request to the NF requester according to the authorization information, wherein the return information carries related data of successful discovery of the NF service, related data of partial successful discovery of the NF service or related data of failure of discovery of the NF service.
The apparatus of the embodiment of the present invention may be used to implement the technical solution of the NF service discovery method embodiment shown in fig. 5, and the implementation principle and the technical effect are similar, which are not described herein again
Please refer to fig. 8, which provides electronic devices according to an embodiment of the present invention, including a processor 810, a communication Interface 820, a memory 830 and a bus 840, wherein the processor 810 and the communication Interface 820 complete mutual communication through the bus 840, the processor 810 may call a logic instruction in the memory 830 to execute a method including obtaining or more different types of NF information according to an order of a flow to be executed and sending NF service discovery requests for or more different types of NF information to an NRF, receiving return information of the NF service discovery request by the NRF, the return information carrying related data of success of NF service discovery, or related data of failure of NF service discovery, processing the flow to be executed or entering processing an error, or processing success of NF service discovery, or performing a method, and sending the NF service discovery request or failure information to an NF service recipient 36 or sending the NF service discovery request, and the NF service discovery request carrying the success or failure information of multiple types of NF service discovery request, and sending the NF service discovery request success or failure information to the NRF.
The embodiment of the invention discloses computer program products which comprise computer programs stored on a non-transitory computer readable storage medium, wherein the computer programs comprise program instructions, when the program instructions are executed by a computer, the computer can execute the methods provided by the method embodiments, for example, the method comprises the steps of obtaining or more pieces of NF information of different types according to the sequence of processes to be executed, sending NF service discovery requests aiming at or more pieces of NF information to an NRF, receiving return information of the NF service discovery requests by the NRF, wherein the return information carries related data of successful discovery of NF services, related data of partial successful discovery of NF services or related data of failed discovery of NF services, processing the processes to be executed or entering an error processing flow according to the return information of the NF service discovery requests, or executing the method that a receiving NF service requester sends NF service discovery requests aiming at or more pieces of different types of NF information, obtaining the NF service discovery requesters and/or the corresponding or more pieces of different types of NF service discovery information, and the successful discovery or failed discovery of NF service discovery requests or the NF service discovery requests are sent back by the NF service discovery requesters according to the NF service discovery requests, and the successful discovery requests or the successful discovery or failed NF service discovery requests or the related data of the NF service discovery requests are sent by the NF service discovery requesters, and the NF service discovery requests are sent by the NF service discovery requests, and the associated data of the NF service discovery requests, and the associated data are sent by the.
The embodiment of the invention provides non-transitory computer-readable storage media, which store computer instructions for causing a computer to execute the methods provided by the above method embodiments, where the computer instructions cause the computer to execute the methods provided by the above method embodiments, for example, the method includes obtaining or more different types of NF information according to the sequence of a to-be-executed flow, and sending a NF service discovery request for the or more different types of NF information to an NRF, receiving return information of the NF service discovery request by the NRF, where the return information carries data related to successful discovery of NF services, data related to partial successful discovery of NF services, or data related to failed discovery of NF services, and processing the to-be-executed flow or entering an error processing flow according to the return information of the NF service discovery request, or executing a method that a NF requester sends a NF service discovery request for or more different types of NF information, obtaining authorization information of the NF service corresponding to the NF requester and/or the or more different types of NF information, where the successful discovery, the success discovery information, the success discovery request, the return the NF service discovery request, the success, the authorization information, the success discovery request, the return the associated data, the relevant data, or the failure of the NF service discovery request, and the associated data, and the return the associated data to the associated with the NF service.
It will be appreciated by those skilled in the art that the implementation of the above-described apparatus embodiments or method embodiments is merely illustrative, wherein the processor and the memory may or may not be physically separate components, i.e., may be located in places, or may be distributed over a plurality of network elements.
Based on the understanding that the above technical solutions essentially or contributing to the prior art can be embodied in the form of a software product that can be stored in a computer-readable storage medium, such as a usb disk, a removable hard disk, a ROM/RAM, a magnetic disk, an optical disk, etc., and includes instructions for causing computer devices (which may be personal computers, servers, or network devices, etc.) to execute the methods described in the various embodiments or some parts of the embodiments.
Finally, it should be noted that: the above examples are only intended to illustrate the technical solution of the present invention, but not to limit it; although the present invention has been described in detail with reference to the foregoing embodiments, it will be understood by those of ordinary skill in the art that: the technical solutions described in the foregoing embodiments may still be modified, or some technical features may be equivalently replaced; and such modifications or substitutions do not depart from the spirit and scope of the corresponding technical solutions of the embodiments of the present invention.

Claims (10)

1, NF service discovery method, comprising:
NF information of different types or a plurality of different types is obtained according to the sequence of the flow to be executed, and a NF service discovery request aiming at the NF information of different types or a plurality of different types is sent to the NRF;
receiving return information of the NRF to the NF service discovery request, wherein the return information carries related data of successful discovery of the NF service, related data of partial successful discovery of the NF service or related data of failure of discovery of the NF service;
and processing the flow to be executed or entering an error processing flow according to the returned information of the NF service discovery request.
2. The method according to claim 1, wherein the return information carries relevant data of successful discovery of NF services, including or more of IP addresses, FQDNs, and version numbers of all NF services that are successfully discovered and/or indicated;
correspondingly, according to the returned information of the NF service discovery request, the to-be-executed flow is processed or an error processing flow is entered, which specifically includes:
selecting or more NF services needing to be accessed according to or more of IP addresses, FQDN and version numbers of all NF services which are successfully discovered and/or indicated based on the progress of the flow to be executed;
and respectively accessing the or more NF services to execute the to-be-executed flow.
3. The method of claim 1, wherein the return information carries partial successful related data of NF service discovery, comprising kinds or more of partial failure indication, discovery failure reason of partial NF service discovery failure, and or more of IP address, FQDN and version number of partial NF service discovery success;
correspondingly, according to the returned information of the NF service discovery request, the to-be-executed flow is processed or an error processing flow is entered, which specifically includes:
entering an error processing flow according to the partial failure indication and/or the discovery failure reason of the partial NF service which fails in discovery; or
Selecting or more NF services needing to be accessed according to or more of the IP address, FQDN and version number of the part of NF services which are successfully discovered, respectively accessing or more NF services to execute the flow to be executed, and if the NF services which are failed to be discovered need to be accessed, switching to an error processing flow or sending a NF service discovery request for the part of NF services which are failed to be discovered to an NRF.
4. The method according to claim 1, wherein the return information carries data related to NF service discovery failure, including all failure indications and/or discovery failure reasons of all NF services that failed discovery;
correspondingly, according to the returned information of the NF service discovery request, the to-be-executed flow is processed or an error processing flow is entered, which specifically includes:
and entering an error processing flow according to the all failure indications and/or the discovery failure reasons of all NF services which fail to discover.
5, NF service discovery method, comprising:
receiving an NF service discovery request sent by an NF requester aiming at or a plurality of NF information of different types;
acquiring authorization information of the NF service corresponding to the NF requester and/or the or the plurality of pieces of different types of NF information, wherein the authorization information is successful in authorization, successful in partial authorization or failed in authorization;
and sending return information aiming at the NF service discovery request to the NF requester according to the authorization information, wherein the return information carries related data of successful discovery of the NF service, related data of partial successful discovery of the NF service or related data of failure of discovery of the NF service.
6. The method as claimed in claim 5, wherein the obtaining authorization information of the NF service corresponding to the NF requester and/or the NF information of one or more different types specifically comprises:
checking whether the NF requester is authorized to access NF services corresponding to the or more different types of NF information and/or checking whether NF services corresponding to the or more different types of NF information are allowed to be discovered;
if the NF requester is authorized to access the NF services corresponding to the NF information with different types and/or the NF services corresponding to the NF information with different types are allowed to be found, determining that the authorization information is successful;
if the NF requester is authorized to access part of NF services corresponding to different types of NF information and/or part of NF services corresponding to different types of NF information are allowed to be found, determining that the authorization information is part of authorization success;
if the NF requester is not authorized to access the NF services corresponding to the or more different types of NF information, and/or the NF services corresponding to the or more different types of NF information are not allowed to be found, determining that the authorization information is an authorization failure.
7. The method according to claim 5 or 6, wherein the sending, according to the authorization information, return information for the NF service discovery request to the NF requester, where the return information carries related data of a successful discovery of an NF service, related data of a partial successful discovery of an NF service, or related data of a failure of discovery of an NF service, specifically includes:
if the authorization information is successful, sending return information aiming at the NF service discovery request to the NF requester, wherein the return information carries related data of successful NF service discovery;
if the authorization information is partial authorization success, sending return information aiming at the NF service discovery request to the NF requester, wherein the return information carries relevant data of successful NF service discovery part;
and if the authorization information is authorization failure, sending return information aiming at the NF service discovery request to the NF requester, wherein the return information carries related data of NF service discovery failure.
8. The method according to claim 5 or 6,
or more of IP addresses, FQDN and version numbers of all NF services which are successfully discovered and/or successfully discovered are indicated;
the related data of the NF service discovery part success comprises kinds of data of part failure indication, discovery failure reason of the discovery failure part NF service, and or more of IP address, FQDN and version number of the discovery success part NF service;
the related data of the NF service discovery failure comprises: a total failure indication and/or a discovery failure cause for all NF services that failed to be discovered.
An electronic device of the type , comprising:
at least processors, and
at least memories communicatively connected to the processor, wherein:
the memory stores program instructions executable by the processor, the processor invoking the program instructions to perform the method of any of claims 1-8 to .
A non-transitory computer readable storage medium , wherein the non-transitory computer readable storage medium stores computer instructions that cause the computer to perform the method of any of claims 1-8 to .
CN201810803559.6A 2018-07-20 2018-07-20 NF service discovery method and device Withdrawn CN110740464A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201810803559.6A CN110740464A (en) 2018-07-20 2018-07-20 NF service discovery method and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201810803559.6A CN110740464A (en) 2018-07-20 2018-07-20 NF service discovery method and device

Publications (1)

Publication Number Publication Date
CN110740464A true CN110740464A (en) 2020-01-31

Family

ID=69235590

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201810803559.6A Withdrawn CN110740464A (en) 2018-07-20 2018-07-20 NF service discovery method and device

Country Status (1)

Country Link
CN (1) CN110740464A (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111314944A (en) * 2020-02-13 2020-06-19 广州爱浦路网络技术有限公司 Method for managing NRF in 5G core network based on top-level NRF
CN111405612A (en) * 2020-03-25 2020-07-10 广州爱浦路网络技术有限公司 Method for discovering network function NF according to network transmission quality
CN111416827A (en) * 2020-03-25 2020-07-14 广州爱浦路网络技术有限公司 Method for discovering network function NF according to security level

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102196012A (en) * 2010-03-17 2011-09-21 华为技术有限公司 Service opening method, system and service opening server
CN107209694A (en) * 2014-12-24 2017-09-26 皇家Kpn公司 Method for controlling on-demand service to supply

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102196012A (en) * 2010-03-17 2011-09-21 华为技术有限公司 Service opening method, system and service opening server
CN107209694A (en) * 2014-12-24 2017-09-26 皇家Kpn公司 Method for controlling on-demand service to supply

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
ERICSSON: "S2-184768 "Use of results of NF/NF service discovery for NF/NF service selection"", 《3GPP TSG_SA\WG2_ARCH》 *

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111314944A (en) * 2020-02-13 2020-06-19 广州爱浦路网络技术有限公司 Method for managing NRF in 5G core network based on top-level NRF
CN111405612A (en) * 2020-03-25 2020-07-10 广州爱浦路网络技术有限公司 Method for discovering network function NF according to network transmission quality
CN111416827A (en) * 2020-03-25 2020-07-14 广州爱浦路网络技术有限公司 Method for discovering network function NF according to security level

Similar Documents

Publication Publication Date Title
CN109067914B (en) web service proxy method, device, equipment and storage medium
US11483315B2 (en) Alias management method and device
CN110049022B (en) Domain name access control method and device and computer readable storage medium
CN103475682B (en) File transfer method and file transfer equipment
US20210410057A1 (en) Service Discovery Extension in a 5G Mobile Communication Network
US11522761B2 (en) Communication method and apparatus
CN112799825A (en) Task processing method and network equipment
US20160345283A1 (en) Method and apparatus for adjacent node registration, and method and system for cross-node registration
CN110740464A (en) NF service discovery method and device
CN101018227A (en) Data management device, storage medium having data management program, protocol switching device and method
EP3629160B1 (en) Method and device for managing vnf instantiation
US20230283470A1 (en) Service Request Handling
CN106412079B (en) Request processing method and system
CN106612263B (en) Method and equipment for processing application access request
US20220012110A1 (en) Networking-related system call interception and modification
CN114090623A (en) Method and device for creating cache resources, electronic equipment and storage medium
US20160156722A1 (en) Resource migration method and apparatus
CN112825524B (en) Method, device and system for determining network service node
CN114981792A (en) Managing shared applications at the edge of a content delivery network
WO2019201111A1 (en) Information processing method, apparatus and device, and computer-readable storage medium
CN112148320A (en) Application program upgrading method, device, equipment and storage medium
CN113746851B (en) Proxy system and method supporting real-time analysis of GRPC request
US20230275974A1 (en) Network functionality (nf) aware service provision based on service communication proxy (scp)
CN105915639B (en) Page access method and device
CN112491066B (en) Load balancing method, device, system, target load balancing equipment and medium

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
WW01 Invention patent application withdrawn after publication

Application publication date: 20200131

WW01 Invention patent application withdrawn after publication