NF registration method, communication method, service NF, consumption NF and core network equipment

By generating target field information and sending registration requests to NRF, the problem of impact on the Scheme configuration between PLMNs in different network roaming or international roaming scenarios in 5G communication systems is solved, and the flexibility of Scheme configuration and communication flexibility are achieved.

CN120302259APending Publication Date: 2025-07-11ZTE CORP
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202410016363.8
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-01-03
Publication Date
2025-07-11

AI Technical Summary

Technical Problem

In the 5G communication system's different network roaming or international roaming scenarios, the Scheme configurations between different public land mobile networks (PLMNs) are easily affected by each other, resulting in insufficient flexibility in operator configurations.

Method used

By obtaining the PLMN configuration information and Scheme configuration information corresponding to the roaming service, the target field information is generated, and a registration request carrying the information is sent to the network element storage function (NRF), so that the consumer NFs of different PLMNs communicate with the service NF using the corresponding Scheme.

Benefits of technology

In the case of different network roaming or international roaming, the Scheme configurations of the PLMN at the place of origin and visiting can be the same or different, which improves the operator's flexibility in the Scheme configuration and avoids mutual influence.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN120302259A_ABST
    Figure CN120302259A_ABST
Patent Text Reader

Abstract

The embodiment of the invention provides an NF registration method, a communication method, a service NF, a consumption NF, core network equipment and a storage medium, and belongs to the field of wireless communication. The NF registration method comprises the following steps: acquiring PLMN configuration information and Scheme configuration information corresponding to a roaming service; generating target field information according to the PLMN configuration information and the Scheme configuration information; and sending a registration request carrying the target field information to a network element storage function (NRF). According to the embodiment of the invention, the consumption NFs of different PLMNs in the roaming service can communicate with the service NF by using the Schemes corresponding to the different PLMNs according to the target field information, and the Scheme configuration between the different PLMNs is not affected by each other, so that the flexibility of configuring the Schemes by an operator is greatly improved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the field of wireless communication technologies, and in particular, to an NF registration method, a communication method, a serving NF, a consuming NF, a core network device, and a storage medium. Background Art

[0002] At present, the service network functions (NFs) in a 5G communication system can register various attributes of the serving NFs with the network function repository function (NRF), including the scheme of the uniform resource identifier (URI) used for the consuming NFs to construct communication with the serving NFs. The consuming NFs can only communicate with the serving NFs using the fixed scheme provided by the serving NFs. For example, the access and mobility management function (AMF) can only communicate with the unified data management function (UDM) using the fixed scheme provided by the UDM. Therefore, in roaming scenarios such as inter-network roaming or international roaming, in order to ensure that roaming users can access the visited public land mobile network (PLMN), it is necessary to require that the schemes configured by the home PLMN and the visited PLMN are the same. However, the scheme configurations between different PLMNs will affect each other. Therefore, how to avoid the mutual influence of the scheme configurations between different PLMNs in roaming scenarios such as inter-network roaming or international roaming is an urgent problem to be solved currently. Summary of the Invention

[0003] Embodiments of the present invention provide an NF registration method, a communication method, a serving NF, a consuming NF, a core network device, and a storage medium, aiming to avoid the mutual influence of the scheme configurations between different PLMNs in roaming scenarios such as inter-network roaming or international roaming.

[0004] In a first aspect, an embodiment of the present invention provides an NF registration method, which is applied to a serving NF. The method includes:

[0005] Obtain the public land mobile network (PLMN) configuration information and the scheme configuration information corresponding to the roaming service;

[0006] Generate target field information according to the PLMN configuration information and the scheme configuration information, where the target field information is used to describe the schemes corresponding to different PLMNs in the roaming service;

[0007] Send a registration request carrying the target field information to the network element storage function NRF, so that the consuming NFs of different PLMNs communicate with the serving NF using the Schemes corresponding to different PLMNs according to the target field information.

[0008] The NF registration method provided in the first aspect, after configuring the roaming service, generates target field information for describing the Schemes corresponding to different PLMNs in the roaming service according to the PLMN configuration information and Scheme configuration information corresponding to the roaming service, and sends a registration request carrying the target field information to the NRF, so that the consuming NFs of different PLMNs in the roaming service communicate with the serving NF using the Schemes corresponding to different PLMNs according to the target field information. In this way, in roaming scenarios such as off-net roaming or international roaming, the Schemes configured by the home PLMN and the visited PLMN can be the same or different, and the Scheme configurations between different PLMNs will not affect each other, greatly improving the flexibility of the operator in Scheme configuration.

[0009] In a second aspect, an embodiment of the present invention further provides a communication method, which is applied to a consuming NF. The method includes:

[0010] Send a service NF discovery request to the NRF and obtain the response information returned by the NRF based on the service NF discovery request;

[0011] Determine the Scheme corresponding to the local PLMN based on the target field information of the service NF in the response information, where the target field information is carried when the service NF registers with the NRF according to the NF registration method described in the first aspect;

[0012] Construct a target uriScheme for communicating with the service NF according to the Scheme corresponding to the local PLMN, and communicate with the service NF through the target uriScheme.

[0013] After the consuming NF in the communication method provided by the second aspect obtains the response information returned by the NRF based on the service NF discovery request, the consuming NF determines the Scheme corresponding to the local PLMN of the consuming NF based on the target field information of the service NF in the response information, and the service NF can also provide the corresponding Scheme, so that the consuming NFs of different PLMNs can use the Schemes corresponding to different PLMNs to communicate with the service NF. In this way, in roaming scenarios such as off-net roaming or international roaming, the Schemes configured by the home PLMN and the visited PLMN can be the same or different, and the Scheme configurations between different PLMNs will not affect each other, greatly improving the flexibility of the operator's Scheme configuration.

[0014] In a third aspect, an embodiment of the present invention further provides a service NF, including:

[0015] An information acquisition module, configured to acquire the public land mobile network (PLMN) configuration information and the Scheme configuration information corresponding to the roaming service;

[0016] A field information generation module, configured to generate target field information according to the PLMN configuration information and the Scheme configuration information, where the target field information is used to describe the Schemes corresponding to different PLMNs in the roaming service;

[0017] An NF registration module, configured to send a registration request carrying the target field information to the NRF, so that the NRF registers the service NF according to the registration request to obtain an attribute configuration file of the service NF, so that the consuming NFs of different PLMNs can use the Schemes corresponding to different PLMNs to communicate with the service NF according to the target field information in the attribute configuration file.

[0018] In a fourth aspect, an embodiment of the present invention further provides a service consuming NF, including:

[0019] A response information acquisition module, configured to send a service NF discovery request to the NRF and acquire the response information returned by the NRF based on the service NF discovery request;

[0020] A Scheme determination module, configured to determine the Scheme corresponding to the local PLMN based on the target field information of the service NF in the response information, where the target field information is carried when the service NF registers with the NRF according to the NF registration method described in the first aspect;

[0021] A communication module, configured to construct a target uriScheme for communicating with the serving NF according to the Scheme corresponding to the local PLMN, and communicate with the serving NF through the target uriScheme.

[0022] In a fifth aspect, an embodiment of the present invention further provides a core network device, which includes a processor, a memory, a computer program stored on the memory and executable by the processor, and a data bus for realizing connection communication between the processor and the memory. When the computer program is executed by the processor, the NF registration method described in the first aspect or the communication method described in the second aspect is implemented.

[0023] In a sixth aspect, an embodiment of the present invention further provides a storage medium for computer-readable storage. The storage medium stores one or more programs, and the one or more programs can be executed by one or more processors to implement the NF registration method described in the first aspect or the communication method described in the second aspect. Description of the Drawings

[0024] In order to more clearly illustrate the technical solutions of the embodiments of the present application, the drawings required for the description of the embodiments will be briefly introduced below. Obviously, the drawings in the following description are some embodiments of the present application. For those of ordinary skill in the art, without creative efforts, other drawings can also be obtained based on these drawings.

[0025] Figure 1 It is a schematic flowchart of an NF registration method provided by an embodiment of the present invention;

[0026] Figure 2 It is a schematic flowchart of a communication method provided by an embodiment of the present invention;

[0027] Figure 3 It is a schematic diagram of a scenario for implementing the communication method provided by an embodiment of the present invention;

[0028] Figure 4 It is another schematic diagram of a scenario for implementing the communication method provided by an embodiment of the present invention;

[0029] Figure 5 It is yet another schematic diagram of a scenario for implementing the communication method provided by an embodiment of the present invention;

[0030] Figure 6 It is a schematic block diagram of the structure of a core network device provided by an embodiment of the present invention;

[0031] Figure 7 It is a schematic block diagram of the structure of a serving NF provided by an embodiment of the present invention;

[0032] Figure 8 It is a schematic block diagram of the structure of a consumer NF provided by an embodiment of the present invention. Specific implementation manners

[0033] Next, the technical solutions in the embodiments of the present invention will be clearly and completely described in conjunction with the accompanying drawings in the embodiments of the present invention. Obviously, the described embodiments are part of the embodiments of the present invention, rather than all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by those of ordinary skill in the art without creative efforts shall fall within the protection scope of the present invention.

[0034] The flowchart shown in the accompanying drawings is only an example, and does not necessarily include all the contents and operations / steps, nor does it necessarily need to be executed in the described order. For example, some operations / steps can be decomposed, combined, or partially merged. Therefore, the actual execution order may change according to the actual situation.

[0035] It should be understood that the terms used in the specification of the present invention are only for the purpose of describing specific embodiments and are not intended to limit the present invention. As used in the specification of the present invention and the appended claims, unless the context clearly indicates otherwise, the singular forms "a", "an", and "the" are intended to include the plural forms.

[0036] Currently, the service network functions (NFs) in the 5G communication system can register various attributes of the service NFs with the network function repository function (NRF), including the Scheme of the uniform resource identifier (URI) for communicating with the service NFs used for constructing the consumer NFs. The consumer NF can only communicate with the service NF using the fixed Scheme provided by the service NF. For example, the access and mobility management function (AMF) can only communicate with the unified data management function (UDM) using the fixed Scheme provided by the UDM. Therefore, in roaming scenarios such as inter-network roaming or international roaming, in order to ensure that roaming users can access the visited PLMN, it is necessary to require that the Schemes configured by the home PLMN and the visited PLMN are consistent. However, in this way, the Scheme configurations of different PLMNs will affect each other.

[0037] To solve the above problems, embodiments of the present invention provide an NF registration method, a communication method, a serving NF, a consuming NF, a core network device, and a storage medium. After configuring the roaming service, the NF registration method generates target field information for describing the schemes corresponding to different PLMNs in the roaming service according to the PLMN configuration information and the Scheme configuration information corresponding to the roaming service, and sends a registration request carrying the target field information to the NRF, so that the consuming NFs of different PLMNs in the roaming service use the schemes corresponding to different PLMNs to communicate with the serving NF according to the target field information. In this way, in roaming scenarios such as inter-network roaming or international roaming, the schemes configured by the home PLMN and the visited PLMN can be the same or different, and the Scheme configurations between different PLMNs will not affect each other, greatly improving the flexibility of the operator in Scheme configuration.

[0038] The following will describe in detail some embodiments of the present invention with reference to the accompanying drawings. Without conflict, the following embodiments and the features in the embodiments can be combined with each other.

[0039] Please refer to Figure 1 , Figure 1 which is a schematic flowchart of an NF registration method provided by an embodiment of the present invention. This NF registration method can be applied to the serving NF to improve the flexibility of the operator in Scheme configuration.

[0040] As Figure 1 shown, this NF registration method includes steps S101 to S103.

[0041] Step S101: Obtain the PLMN configuration information and the Scheme configuration information corresponding to the roaming service.

[0042] In this embodiment, the roaming service includes roaming services such as inter-network roaming, international roaming, or inter-provincial roaming. The PLMN configuration information may include at least two PLMNs involved in the roaming service. The at least two PLMNs may include a home PLMN (HPLMN) and one or more visited PLMNs (VPLMNs). The Scheme configuration information includes at least two PLMNs involved in the roaming service and the Scheme configured for each PLMN. Among them, the Scheme configured for each PLMN can be set according to the actual situation, and the embodiments of the present invention do not make specific limitations on this.

[0043] For example, at least two PLMNs corresponding to the off-net roaming service include an HPLMN and a VPLMN. The Scheme configured for the HPLMN is http, and the Scheme configured for the VPLMN is https, or the Scheme configured for the HPLMN is https, and the Scheme configured for the VPLMN is http, or the Scheme configured for the HPLMN is https, and the Scheme configured for the VPLMN is also https, or the Scheme configured for the HPLMN is http, and the Scheme configured for the VPLMN is also http.

[0044] Step S102: Generate target field information according to the PLMN configuration information and the Scheme configuration information.

[0045] In this embodiment, the target field information is used to indicate that different PLMNs in the roaming service need to perform Scheme matching, and the target field information is also used to describe the Schemes corresponding to different PLMNs in the roaming service. For example, if the Scheme configuration information includes a first PLMN, the Scheme configured for the first PLMN is https, a second PLMN, and the Scheme configured for the second PLMN is http, the generated target field information can indicate that the first PLMN and the second PLMN need to perform Scheme matching, and the generated target field information can describe that the first PLMN is matched with https and the second PLMN is matched with http.

[0046] In some embodiments, the target field information includes first field information and / or second field information. The first field information includes a first field and at least one PLMN bound to the first field. The first field is used to indicate that the Scheme corresponding to the at least one bound PLMN is https. The second field information includes a second field and at least one PLMN bound to the second field. The second field is used to indicate that the Scheme corresponding to the at least one bound PLMN is http.

[0047] It can be understood that the first field and the second field can be set based on the actual situation, and the embodiments of the present invention do not make specific limitations thereto. For example, the first field is plmnHttpsScheme, the second field is plmnHttpScheme. Suppose the Scheme configured for plmn1 is https, and the Scheme configured for plmn2 is http, then the target field information includes the first field information "plmnHttpsScheme: plmn1" and the second field information "plmnHttpScheme: plmn2". Another example, suppose the Scheme configured for plmn1 is https, and the Scheme configured for plmn2 is also https, then the target field information only includes the first field information "plmnHttpsScheme: plmn1, plmn2", and does not include the second field information. Another example, suppose the Scheme configured for plmn1 is http, and the Scheme configured for plmn2 is http, then the target field information only includes the second field information "plmnHttpScheme: plmn1, plmn2", and does not include the first field information.

[0048] Step S103, send a registration request carrying the target field information to the NRF, so that the consuming NFs of different PLMNs communicate with the serving NF using the Schemes corresponding to different PLMNs according to the target field information.

[0049] In this embodiment, after the NRF registers the serving NF according to the registration request, the consuming NFs of different PLMNs in the roaming service communicate with the serving NF using the Schemes corresponding to different PLMNs according to the target field information. In this way, in roaming scenarios such as off-net roaming or international roaming, the Schemes configured by the home PLMN and the visited PLMN can be the same or different, and the Scheme configurations between different PLMNs will not affect each other, greatly improving the flexibility of the operator in Scheme configuration.

[0050] In some embodiments, when the NRF receives a registration request sent by the serving NF, it registers the serving NF according to the registration request to obtain an attribute configuration file of the serving NF, so that the consuming NFs of different PLMNs communicate with the serving NF using the Schemes corresponding to different PLMNs according to the target field information in the attribute configuration file.

[0051] It can be understood that the serving NF refers to the network function (NF) that provides services in the 5G communication system, and the consuming NF refers to the network function (NF) that receives services in the 5G communication system. For example, the serving NF may include the Unified Data Management (UDM), the Authentication Server Function (AUSF), or the Policy Control Function (PCF), and the consuming NF may include the Access and Mobility Management Function (AMF).

[0052] For example, the two different PLMNs corresponding to the international roaming service include plmn1 and plmn2. The configured Scheme for plmn1 is http, and the configured Scheme for plmn2 is https. When the UDM registers with the NRF, the UDM sends a registration request carrying the target field information to the NRF, and the target field information includes the first field information "plmnHttpsScheme: plmn2" and the second field information "plmnHttpScheme: plmn1". In this way, after registering the service of the UDM, the NRF can obtain an attribute configuration file including the target field information, so that the UDM can provide the Scheme (Http) supported by plmn1 to the AMF of plmn1 and can also provide the Scheme (Https) supported by plmn2 to the AMF of plmn2. In this way, the AMF of plmn1 can consume the service provided by the UDM using the uri with the Scheme of Http, and the AMF of plmn2 can consume the service provided by the UDM using the uri with the Scheme of Https.

[0053] In some embodiments, after step S103, it further includes: when it is detected that the roaming service changes, generating new target field information according to the PLMN configuration information and the Scheme configuration information corresponding to the changed roaming service; sending a field update request carrying the new target field information to the NRF, so that the NRF updates the target field information of the serving NF according to the new target field information, so that the consuming NFs of different PLMNs communicate with the serving NF using the Schemes corresponding to different PLMNs according to the new target field information. In this embodiment, when the roaming service changes, the serving NF synchronously updates the target field information of the serving NF, so that the consuming NFs of different PLMNs communicate with the serving NF using the Schemes corresponding to different PLMNs according to the updated target field information.

[0054] In some embodiments, the historical version number of the roaming service is obtained from a preset storage space at preset intervals, and the current version number of the roaming service is obtained; in the case where it is determined that the historical version number is the same as the current version number, it is determined that the roaming service has not changed; in the case where it is determined that the historical version number is different from the current version number, it is determined that the roaming service has changed. Among them, the preset interval time can be set based on the actual situation, and the embodiments of the present invention do not make specific limitations on this.

[0055] Please refer to Figure 2 , Figure 2 which is a schematic flow diagram of a communication method provided by an embodiment of the present invention. This communication method can be applied to a consumer NF.

[0056] As Figure 2 shown, this communication method includes steps S201 to S203.

[0057] Step S201: Send a service NF discovery request to the NRF, and obtain response information returned by the NRF based on the service NF discovery request.

[0058] For example, in scenarios such as international roaming or off-net roaming, the visited AMF of the user equipment (UE) is a consumer NF, and the home UDM of the user equipment is a service NF. Then, when the visited AMF determines that the user equipment to be accessed is a roaming user, it sends a UDM discovery request to the home UDM and obtains response information returned by the NRF based on the UDM discovery request.

[0059] Step S202: Determine the Scheme corresponding to the local PLMN based on the target field information of the service NF in the response information.

[0060] In this embodiment, in the case where there is target field information of the service NF in the response information, the consumer NF determines the Scheme corresponding to the local PLMN according to the target field information. Among them, the target field information includes first field information and / or second field information. The first field information includes a first field and at least one PLMN bound to the first field. The first field is used to indicate that the Scheme corresponding to the at least one bound PLMN is https. The second field information includes a second field and at least one PLMN bound to the second field. The second field is used to indicate that the Scheme corresponding to the at least one bound PLMN is http.

[0061] In some embodiments, determining the Scheme corresponding to the local PLMN according to the target field information may include: determining the target field bound to the local PLMN according to the target field information, where the target field includes a first field or a second field, the first field is used to indicate that the Scheme corresponding to the PLMN is https, and the second field is used to indicate that the Scheme corresponding to the PLMN is http; when the target field is the first field, determining that the Scheme corresponding to the local PLMN is https, or when the target field is the second field, determining that the Scheme corresponding to the local PLMN is http. In this embodiment, through the target field information and the target field bound to the local PLMN, the Scheme corresponding to the local PLMN can be accurately determined.

[0062] In some embodiments, when it is determined that there is no target field bound to the local PLMN in the target field information or there is no target field information, the consuming NF prohibits communication with the serving NF. In this embodiment, by prohibiting communication with the serving NF when there is no target field bound to the local PLMN in the target field information or there is no target field information, the communication security can be improved.

[0063] Step S203: Construct a target uriScheme for communicating with the serving NF according to the Scheme corresponding to the local PLMN, and communicate with the serving NF through the target uriScheme.

[0064] For example, the visited AMF constructs a target uriScheme for communicating with the home UDM according to the Scheme corresponding to the visited PLMN, and communicates with the home UDM through the target uriScheme. For example, if it is determined through the target field information of the home UDM that the Scheme corresponding to the PLMN where the visited AMF is located is http, a target uriScheme corresponding to http is constructed; if it is determined through the target field information of the home UDM that the Scheme corresponding to the PLMN where the visited AMF is located is https, a target uriScheme corresponding to https is constructed.

[0065] In some embodiments, the consuming NF sends a service NF discovery request to the NRF and obtains response information returned by the NRF based on the service NF discovery request; when there is no target field information of the service NF in the response information, a target uriScheme for communicating with the service NF is constructed according to the resident field information in the response information, and communication with the service NF is performed through the target uriScheme.

[0066] Exemplarily, such as Figure 3As shown in the figure, in scenarios such as international roaming or off-network roaming, the visited PLMN of the UE is PLMN1, and the corresponding Scheme of PLMN1 is https. The home PLMN of the UE is PLMN2, and the corresponding Scheme of PLMN2 is http. When the home UDM registers with the home NRF, it carries the target field information "plmnHttpsScheme: plmn1, plmnHttpScheme: plmn2", so that after the home NRF registers the home UDM, it can obtain the attribute configuration file of the home UDM, and the attribute configuration file includes the target field information "plmnHttpsScheme: plmn1, plmnHttpScheme: plmn2".

[0067] When the UE initiates registration to the visited core network through the visited Radio Access Network (RAN), if the visited AMF discovers that this UE is a roaming user, it sends a UDM discovery request to the home NRF. Based on this UDM discovery request, the home NRF sends the corresponding response information to the visited AMF, and the response information includes the target field information "plmnHttpsScheme: plmn1, plmnHttpScheme: plmn2"; the visited AMF obtains the response information returned by the home NRF. According to the field information "plmnHttpsScheme: plmn1", the visited AMF can know that the home UDM can provide services with the Scheme of https. Therefore, the visited AMF constructs the uriScheme for communicating with the home UDM as "https: / / fadn" according to the Scheme corresponding to PLMN1, and sends a request for obtaining the subscription information of the UE to the home UDM through this "https: / / fadn", and then obtains the subscription information returned by the home UDM.

[0068] When the target field information "plmnHttpsScheme: plmn1, plmnHttpScheme: plmn2" does not exist in the response message, the visited AMF determines whether the Scheme indicated by the permanent field information in the response message is the same as the Scheme supported by PLMN1. If the Scheme indicated by the permanent field information in the response message is the same as the Scheme supported by PLMN1, the visited AMF constructs a uriScheme for communicating with the home UDM as "https: / / fadn" according to the Scheme (https) corresponding to PLMN1, and sends a request for obtaining the subscription information of the UE to the home UDM through this "https: / / fadn", and then obtains the subscription information returned by the home UDM. If the Scheme indicated by the permanent field information in the response message is not the same as the Scheme supported by PLMN1, the UE access is rejected and a message indicating that the Scheme is not supported is prompted, or if the target field information does not contain PLMN1, the UE access is rejected and a message indicating that the Scheme is not supported is prompted.

[0069] Exemplarily, as Figure 4 shown, in scenarios such as international roaming or off-net roaming, the visited PLMN of the UE is PLMN1, and the Scheme supported within PLMN1 is https. It is required that other PLMNs provide https access methods, that is, the home PLMN of the UE is PLMN2, and the Scheme supported by PLMN2 is https. When the home UDM registers with the home NRF, it carries the target field information "plmnHttpsScheme: plmn1, plmn2", so that after the home NRF registers the home UDM, it can obtain the attribute configuration file of the home UDM, and this attribute configuration file includes the target field information "plmnHttpsScheme: plmn1, plmn2".

[0070] When the UE initiates a registration to the visited core network through the visited Radio Access Network (RAN), if the visited AMF discovers that this UE is a roaming user, it sends a UDM discovery request to the home NRF. Based on this UDM discovery request, the home NRF sends the corresponding response information to the visited AMF, and this response information includes the target field information "plmnHttpsScheme: plmn1, plmn2". The visited AMF obtains the response information returned by the home NRF. According to the field information "plmnHttpsScheme: plmn1, plmn2", the visited AMF can know that the home UDM can provide services with the Scheme of https. Therefore, the visited AMF constructs the uriScheme for communicating with the home UDM as "https: / / fadn" according to the Scheme corresponding to PLMN1, and sends a request for obtaining the subscription information of the UE to the home UDM through this "https: / / fadn", and then obtains the subscription information returned by the home UDM.

[0071] Exemplarily, as Figure 5 shown, in scenarios such as international roaming or inter-network roaming, the visited PLMN of the UE is PLMN1, and the Scheme supported by PLMN1 is http. The home PLMN of the UE is PLMN2, and the Scheme supported by PLMN2 is https. When the home UDM registers with the home NRF, it carries the target field information "plmnHttpsScheme: plmn2, plmnHttpScheme: plmn1", so that after registering the home UDM, the home NRF can obtain the attribute configuration file of the home UDM, and this attribute configuration file includes the target field information "plmnHttpsScheme: plmn2, plmnHttpScheme: plmn1".

[0072] When the UE initiates registration to the visited core network through the visited Radio Access Network (RAN), if the visited AMF discovers that this UE is a roaming user, it sends a UDM discovery request to the home NRF. Based on this UDM discovery request, the home NRF sends corresponding response information to the visited AMF. This response information includes the target field information "plmnHttpsScheme: plmn2, plmnHttpScheme: plmn1". The visited AMF obtains the response information returned by the home NRF. According to the field information "plmnHttpsScheme: plmn2", the visited AMF can know that the home UDM can provide services with the scheme of http. Therefore, the visited AMF constructs the uriScheme for communicating with the home UDM as "http: / / fadn" according to the scheme corresponding to PLMN1, and sends a request for obtaining the subscription information of the UE to the home UDM through this "http: / / fadn", and then obtains the subscription information returned by the home UDM.

[0073] Please refer to Figure 6 , Figure 6 It is a schematic block diagram of the structure of a core network device provided by an embodiment of the present invention.

[0074] As Figure 6 shown, the core network device 300 includes a processor 301 and a memory 302. The processor 301 and the memory 302 are connected through a bus 303, and this bus is, for example, an I2C (Inter - integrated Circuit) bus.

[0075] Specifically, the processor 301 is used to provide computing and control capabilities to support the operation of the entire core network device. The processor 301 can be a Central Processing Unit (CPU), and this processor 301 can also be other general - purpose processors, Digital Signal Processors (DSPs), Application Specific Integrated Circuits (ASICs), Field - Programmable Gate Arrays (FPGAs) or other programmable logic devices, discrete gate or transistor logic devices, discrete hardware components, etc. Among them, the general - purpose processor can be a microprocessor or this processor can also be any conventional processor, etc.

[0076] Specifically, the memory 302 can be a Flash chip, a read-only memory (ROM), a magnetic disk, an optical disc, a USB flash drive, a mobile hard disk, etc.

[0077] Those skilled in the art can understand that Figure 6 the structure shown in is only a block diagram of some structures related to the solution of the embodiment of the present invention, and does not constitute a limitation on the core network device to which the solution of the embodiment of the present invention is applied. The specific core network device may include more or fewer components than those shown in the figure, or combine some components, or have different component arrangements.

[0078] Wherein, the processor 301 is used to run the computer program stored in the memory 302, and when executing the computer program, implement any one of the NF registration methods or communication methods provided by the embodiments of the present invention.

[0079] In some embodiments, the processor 301 is used to run the computer program stored in the memory, and when executing the computer program, implement the following steps:

[0080] Obtain the public land mobile network (PLMN) configuration information and Scheme configuration information corresponding to the roaming service;

[0081] Generate target field information according to the PLMN configuration information and the Scheme configuration information, where the target field information is used to describe the Schemes corresponding to different PLMNs in the roaming service;

[0082] Send a registration request carrying the target field information to the network element storage function (NRF), so that the consuming NFs of different PLMNs use the Schemes corresponding to different PLMNs to communicate with the serving NF according to the target field information.

[0083] In some embodiments, after the processor 301 realizes sending a registration request carrying the target field information to the network element storage function NRF, it is further used to implement:

[0084] In the case of detecting that the roaming service has changed, generate new target field information according to the PLMN configuration information and the Scheme configuration information corresponding to the changed roaming service;

[0085] Send a field update request carrying the new target field information to the NRF, so that the NRF updates the target field information of the serving NF according to the new target field information.

[0086] In some other embodiments, the processor 301 is configured to run a computer program stored in the memory, and when executing the computer program, implement the following steps:

[0087] Send a service NF discovery request to the NRF, and obtain response information returned by the NRF based on the service NF discovery request;

[0088] Based on the target field information of the service NF in the response information, determine the Scheme corresponding to the local PLMN;

[0089] According to the Scheme corresponding to the local PLMN, construct a target uriScheme for communicating with the service NF, and communicate with the service NF through the target uriScheme.

[0090] In some embodiments, when the processor 301 implements determining the Scheme corresponding to the local PLMN according to the target field information, it is configured to implement:

[0091] According to the target field information, determine a target field bound to the local PLMN, where the target field includes a first field or a second field, the first field is used to indicate that the Scheme corresponding to the PLMN is https, and the second field is used to indicate that the Scheme corresponding to the PLMN is http;

[0092] In the case where the target field is the first field, determine that the Scheme corresponding to the local PLMN is https, or in the case where the target field is the second field, determine that the Scheme corresponding to the local PLMN is http.

[0093] In some embodiments, the processor 301 is further configured to implement:

[0094] In the case where it is determined that there is no target field bound to the local PLMN in the target field information, prohibit communication with the service NF.

[0095] In some embodiments, after the processor 301 implements obtaining the response information returned by the NRF based on the service NF discovery request, it is further configured to implement:

[0096] In the case where there is no target field information of the service NF in the response information, construct a target uriScheme for communicating with the service NF according to the resident field information in the response information, and communicate with the service NF through the target uriScheme.

[0097] It should be noted that those skilled in the art can clearly understand that for the convenience and conciseness of description, the specific working process of the core network device described above can refer to the corresponding process in the foregoing NF registration method or communication method embodiments, and will not be elaborated here.

[0098] Please refer to Figure 7 , Figure 7 which is a schematic block diagram of the structure of a serving NF provided by an embodiment of the present invention.

[0099] As Figure 7 shown, the serving NF 400 includes:

[0100] An information acquisition module 410, configured to acquire public land mobile network (PLMN) configuration information and Scheme configuration information corresponding to roaming services;

[0101] A field information generation module 420, configured to generate target field information according to the PLMN configuration information and the Scheme configuration information, where the target field information is used to describe the Schemes corresponding to different PLMNs in the roaming service;

[0102] An NF registration module 430, configured to send a registration request carrying the target field information to the NRF, so that the consuming NFs of different PLMNs communicate with the serving NF using the Schemes corresponding to different PLMNs according to the target field information.

[0103] In some embodiments, the serving NF 400 further includes:

[0104] The field information generation module 420 is further configured to generate new target field information according to the PLMN configuration information and the Scheme configuration information corresponding to the changed roaming service when it detects that the roaming service has changed;

[0105] A field update module is further configured to send a field update request carrying the new target field information to the NRF, so that the NRF updates the target field information of the serving NF according to the new target field information.

[0106] It should be noted that those skilled in the art can clearly understand that for the convenience and conciseness of description, the specific working process of the serving NF described above can refer to the corresponding process in the foregoing NF registration method embodiment, and will not be elaborated here.

[0107] Please refer to Figure 8 , Figure 8 which is a schematic block diagram of the structure of a consuming NF provided by an embodiment of the present invention.

[0108] As shown Figure 8 below, the consumer NF 500 includes:

[0109] A response information acquisition module 510, configured to send a service NF discovery request to the NRF and acquire response information returned by the NRF based on the service NF discovery request;

[0110] A Scheme determination module 520, configured to determine a Scheme corresponding to the local PLMN based on target field information of the service NF in the response information, where the target field information is carried when the service NF registers with the NRF according to the NF registration method provided in the embodiments of the present invention;

[0111] A communication module 530, configured to construct a target uriScheme for communicating with the service NF according to the Scheme corresponding to the local PLMN, and communicate with the service NF through the target uriScheme.

[0112] In some embodiments, the Scheme determination module 520 is further configured to:

[0113] Determine a target field bound to the local PLMN according to the target field information, where the target field includes a first field or a second field, the first field is used to indicate that the Scheme corresponding to the PLMN is https, and the second field is used to indicate that the Scheme corresponding to the PLMN is http;

[0114] When the target field is the first field, determine that the Scheme corresponding to the local PLMN is https, or when the target field is the second field, determine that the Scheme corresponding to the local PLMN is http.

[0115] In some embodiments, the communication module 530 is configured to:

[0116] When it is determined that there is no target field bound to the local PLMN in the target field information, prohibit communication with the service NF.

[0117] In some embodiments, the communication module 530 is further configured to:

[0118] When there is no target field information of the service NF in the response information, construct a target uriScheme for communicating with the service NF according to the resident field information in the response information, and communicate with the service NF through the target uriScheme.

[0119] It should be noted that those skilled in the art can clearly understand that for the convenience and brevity of description, the specific working process of the consumer NF described above can refer to the corresponding process in the foregoing communication method embodiments, and will not be elaborated herein.

[0120] An embodiment of the present invention further provides a storage medium for computer-readable storage. The storage medium stores one or more programs, and the one or more programs can be executed by one or more processors to implement any NF registration method or communication method provided in the specification of the embodiments of the present invention.

[0121] Among them, the storage medium may be an internal storage unit of the core network device described in the foregoing embodiments, such as the hard disk or memory of the core network device. The storage medium may also be an external storage device of the core network device, such as a plug-in hard disk, a Smart Media Card (SMC), a Secure Digital (SD) card, a Flash Card, etc. equipped on the core network device.

[0122] Those of ordinary skill in the art can understand that all or some of the steps in the methods disclosed above, and the functional modules / units in the systems and devices, can be implemented as software, firmware, hardware, and their appropriate combinations. In the hardware embodiment, the division of the functional modules / units mentioned above does not necessarily correspond to the division of physical components; for example, a physical component may have multiple functions, or a function or step may be executed by several physical components in cooperation. Some physical components or all physical components may be implemented as software executed by a processor, such as a central processing unit, a digital signal processor, or a microprocessor, or may be implemented as hardware, or may be implemented as an integrated circuit, such as an application-specific integrated circuit. Such software can be distributed on a computer-readable medium, which may include a computer storage medium (or non-transitory medium) and a communication medium (or transitory medium). As is well known to those of ordinary skill in the art, the term computer storage medium includes volatile and non-volatile, removable and non-removable media implemented in any method or technology for storing information, such as computer-readable instructions, data structures, program modules, or other data. Computer storage media includes, but is not limited to, RAM, ROM, EEPROM, flash memory or other memory technologies, CD-ROM, digital versatile disks (DVD) or other optical disk storage, magnetic cassettes, tapes, magnetic disk storage or other magnetic storage devices, or any other medium that can be used to store the desired information and can be accessed by a computer. In addition, as is well known to those of ordinary skill in the art, a communication medium typically includes computer-readable instructions, data structures, program modules, or other data in a modulated data signal such as a carrier wave or other transmission mechanism, and may include any information delivery medium.

[0123] It should be understood that the term "and / or" used in the specification of the present invention and the appended claims refers to any combination and all possible combinations of one or more of the associated listed items, and includes such combinations. It should be noted that in this text, the term "comprising", "including" or any other variant thereof is intended to cover non-exclusive inclusion, so that a process, method, article or system comprising a series of elements not only includes those elements, but also includes other elements not expressly listed, or further includes elements inherent to such process, method, article or system. Without further limitation, an element defined by the statement "comprising one..." does not exclude the existence of another identical element in the process, method, article or system comprising the element.

[0124] The serial numbers of the above embodiments of the present invention are only for description and do not represent the superiority or inferiority of the embodiments. As described above, the above are only specific embodiments of the present invention, but the protection scope of the present invention is not limited thereto. Any person skilled in the art within the technical scope disclosed by the present invention can easily think of various equivalent modifications or substitutions, and these modifications or substitutions should all be covered within the protection scope of the present invention. Therefore, the protection scope of the present invention shall be subject to the protection scope of the claims.

Claims

1. A method for registering a network function NF, characterized in that, Applied to the serving NF, the method includes: Obtain the Public Land Mobile Network (PLMN) configuration information and Scheme configuration information corresponding to the roaming service; Generate target field information according to the PLMN configuration information and the Scheme configuration information, where the target field information is used to describe the Schemes matched by different PLMNs in the roaming service; Send a registration request carrying the target field information to the Network Repository Function (NRF), so that the consuming NFs of different PLMNs communicate with the serving NF using the Schemes corresponding to different PLMNs according to the target field information.

2. The NF registration method according to claim 1, wherein After sending the registration request carrying the target field information to the NRF, it further includes: When it is detected that the roaming service changes, generate new target field information according to the PLMN configuration information and the Scheme configuration information corresponding to the changed roaming service; Send a field update request carrying the new target field information to the NRF, so that the NRF updates the target field information of the serving NF according to the new target field information.

3. A communication method, characterized in that, Applied to the consuming NF, the method includes: Send a discovery request for the serving NF to the NRF and obtain the response information returned by the NRF based on the discovery request for the serving NF; Determine the Scheme corresponding to the local PLMN based on the target field information of the serving NF in the response information, where the target field information is carried when the serving NF registers with the NRF according to the NF registration method described in claim 1 or 2; Construct a target uriScheme for communicating with the serving NF according to the Scheme corresponding to the local PLMN, and communicate with the serving NF through the target uriScheme.

4. The communication method according to claim 3, wherein The determining the Scheme corresponding to the local PLMN based on the target field information of the serving NF in the response information includes: Determine the target field bound to the local PLMN according to the target field information, where the target field includes a first field or a second field, the first field is used to indicate that the Scheme corresponding to the PLMN is https, and the second field is used to indicate that the Scheme corresponding to the PLMN is http; When the target field is the first field, determine that the Scheme corresponding to the local PLMN is https, or when the target field is the second field, determine that the Scheme corresponding to the local PLMN is http.

5. The communication method according to claim 3, wherein The method further includes: When it is determined that there is no target field bound to the local PLMN in the target field information, prohibit communication with the serving NF.

6. The communication method according to claim 4, wherein After obtaining the response information returned by the NRF based on the discovery request for the serving NF, it further includes: In the case that the target field information of the serving NF does not exist in the response information, a target uriScheme for communicating with the serving NF is constructed according to the resident field information in the response information, and communication is performed with the serving NF through the target uriScheme.

7. A service NF, characterized in that, Comprising: An information acquisition module, configured to acquire public land mobile network (PLMN) configuration information and Scheme configuration information corresponding to a roaming service; A field information generation module, configured to generate target field information according to the PLMN configuration information and the Scheme configuration information, where the target field information is used to describe the Schemes corresponding to different PLMNs in the roaming service; An NF registration module, configured to send a registration request carrying the target field information to an NRF, so that consuming NFs of different PLMNs communicate with the serving NF using the Schemes corresponding to different PLMNs according to the target field information.

8. A consumer NF, characterized in that, Comprising: A response information acquisition module, configured to send a serving NF discovery request to an NRF and acquire response information returned by the NRF based on the serving NF discovery request; A Scheme determination module, configured to determine the Scheme corresponding to the local PLMN based on the target field information of the serving NF in the response information, where the target field information is carried when the serving NF registers with the NRF according to the NF registration method described in claim 1 or 2; A communication module, configured to construct a target uriScheme for communicating with the serving NF according to the Scheme corresponding to the local PLMN, and communicate with the serving NF through the target uriScheme.

9. A core network device, characterized in that, The core network device includes a processor, a memory, a computer program stored on the memory and executable by the processor, and a data bus for realizing connection communication between the processor and the memory. When the computer program is executed by the processor, the NF registration method described in claim 1 or 2 or the communication method described in any one of claims 3 to 6 is implemented.

10. A storage medium for computer-readable storage, characterized in that, The storage medium stores one or more programs, and the one or more programs can be executed by one or more processors to implement the NF registration method described in claim 1 or 2 or the communication method described in any one of claims 3 to 6.