CN114867003A - Cross-network request method, system, device, equipment and storage medium - Google Patents

Cross-network request method, system, device, equipment and storage medium Download PDF

Info

Publication number
CN114867003A
CN114867003A CN202210639312.1A CN202210639312A CN114867003A CN 114867003 A CN114867003 A CN 114867003A CN 202210639312 A CN202210639312 A CN 202210639312A CN 114867003 A CN114867003 A CN 114867003A
Authority
CN
China
Prior art keywords
subscription
module
nrf
nrf module
request
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.)
Pending
Application number
CN202210639312.1A
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.)
China Telecom Corp Ltd
Original Assignee
China Telecom Corp 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 China Telecom Corp Ltd filed Critical China Telecom Corp Ltd
Priority to CN202210639312.1A priority Critical patent/CN114867003A/en
Publication of CN114867003A publication Critical patent/CN114867003A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W8/00Network data management
    • H04W8/02Processing of mobility data, e.g. registration information at HLR [Home Location Register] or VLR [Visitor Location Register]; Transfer of mobility data, e.g. between HLR, VLR or external networks
    • H04W8/08Mobility data transfer
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W8/00Network data management
    • H04W8/18Processing of user or subscriber data, e.g. subscribed services, user preferences or user profiles; Transfer of user or subscriber data
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W8/00Network data management
    • H04W8/26Network addressing or numbering for mobility support

Abstract

The disclosure provides a cross-network request method, a system, a device, equipment and a storage medium, and relates to the field of communication. The method comprises the following steps: receiving a subscription request sent by a first NRF module in a local operator network; determining whether the NRF module corresponding to the network function NF subscribed by the user is the NRF module under the local operator network or not according to the subscription identifier; under the condition that an NRF module corresponding to NF subscribed by a user is not an NRF module under a local operator network, sending a subscription request to a second target NRF module under a roaming operator network; receiving a subscription response message sent by the second target NRF, wherein the subscription response message is generated by the second target NRF according to the uniform resource identifier URI and the user identifier sent by the second NRF module; and sending the subscription response message to the first NRF module. The method and the device can enable the user to complete the subscription of the NF under different operator networks.

Description

Cross-network request method, system, device, equipment and storage medium
Technical Field
The present disclosure relates to the field of communications, and in particular, to a method, system, apparatus, device, and storage medium for cross-network request.
Background
To further improve the user experience, different operators are starting to implement the heterogeneous roaming. The inter-network roaming refers to that a user uses the same (Subscriber Identity Module, SIM) card to subscribe or cancel network functions between different operators. However, in the current heterogeneous network roaming process, cross-network subscription or cancellation often occurs in an unavailable situation due to technical limitations. How to avoid the situation that the cross-network request is unavailable in the cross-network roaming process becomes a problem to be solved urgently at present.
Disclosure of Invention
The present disclosure provides a cross-network request method, system, apparatus, device and storage medium, which overcome, at least to some extent, the problem that cross-network requests are unavailable during cross-network roaming.
Additional features and advantages of the disclosure will be set forth in the detailed description which follows, or in part will be obvious from the description, or may be learned by practice of the disclosure.
According to an aspect of the present disclosure, a cross-Network request method is provided, which is applied to a first target Network warehousing Function (NRF) module in a home carrier Network, where the first target NRF module is an NRF module in the home carrier Network and in communication with a roaming carrier Network, and the method includes:
receiving a subscription request sent by a first NRF module in a local operator network, wherein the first NRF module is an NRF module which is not communicated with a roaming operator network in the local operator network, and the subscription request comprises a subscription identifier and a user identifier;
determining whether an NRF module corresponding to a Network Function (NF) subscribed by a user is an NRF module under a local operator Network or not according to the subscription identifier;
under the condition that the NRF module corresponding to the NF subscribed by the user is not the NRF module under the local operator network, sending a subscription request to a second target NRF module under the roaming operator network, so that the second target NRF module determines the second NRF module under the roaming operator network according to the subscription request and sends the subscription request to the second NRF module;
receiving a subscription response message sent by the second target NRF, wherein the subscription response message is generated by the second target NRF according to the uniform resource identifier URI and the user identifier sent by the second NRF module;
and sending the subscription response message to the first NRF module.
In one embodiment of the present disclosure, the cross-network request method further includes:
determining a third NRF module under the local operator network according to the subscription identifier under the condition that the NRF module corresponding to the NF subscribed by the user is the NRF module under the local operator network, wherein the third NRF module is an NRF module which is not communicated with the roaming operator network in the local operator network;
a subscription request is sent to the third NRF module.
In one embodiment of the present disclosure, the cross-network request method further includes:
receiving a subscription change request sent by a first NRF module, wherein the subscription change request comprises a subscription change instruction, a subscription identifier and a user identifier;
sending the subscription change request to a second target NRF module so that the second target NRF module determines a URI corresponding to the subscription identifier according to the subscription identifier; sending a subscription change instruction to the second NRF module according to the URI;
and receiving a subscription change response message sent by the second target NRF, wherein the subscription change response message is generated by the second NRF module according to the subscription change instruction.
In one embodiment of the present disclosure, the subscription change request includes a subscription update request and a subscription cancel request.
According to another aspect of the present disclosure, there is provided a cross-network request method applied to a second target NRF module under a roaming operator network, where the second target NRF module is an NRF module in communication with a home operator network in the roaming operator network, including: receiving a subscription request sent by a first target NRF module in a local operator network, wherein the subscription request comprises a subscription identifier and a user identifier;
determining a second NRF module according to the subscription request, and sending the subscription request to the second NRF module so that the second NRF module generates a Uniform Resource Identifier (URI) according to the subscription request, wherein the second NRF module is an NRF module which is not communicated with a local operator network in a roaming operator network;
generating a subscription response message according to the URI and the user identifier sent by the second NRF module;
the subscription response message is sent to the first target NRF module.
In an embodiment of the present disclosure, the cross-network request method further includes:
receiving a subscription change request sent by a first target NRF module, wherein the subscription change request comprises a subscription change instruction, a subscription identifier and a user identifier;
determining a URI corresponding to the subscription identifier according to the subscription identifier in the subscription change request;
sending a subscription change instruction to the second NRF module according to the URI;
and forwarding the subscription change response message sent by the second NRF module to the first target NRF module.
In an embodiment of the disclosure, before determining the URI corresponding to the subscription identifier according to the subscription identifier in the subscription change request, the cross-network request method further includes:
pre-establishing a corresponding relation between a plurality of subscription identifications and a plurality of URIs;
determining a URI corresponding to the subscription identifier according to the subscription identifier in the subscription change request, wherein the URI comprises the following steps:
and determining the URI corresponding to the subscription identifier according to the subscription identifier and the corresponding relation in the subscription change request.
In one embodiment of the present disclosure, the subscription change request includes a subscription update request and a subscription cancel request.
In one embodiment of the present disclosure, before forwarding the subscription change response message sent by the second NRF module to the first target NRF module, the cross-network request method further includes:
and updating or deleting the corresponding relation according to the subscription change response message.
According to still another aspect of the present disclosure, there is provided a cross-network request system including: a first target NRF module that is an NRF module in a home carrier network that communicates with a roaming carrier network, and a second target NRF module that is an NRF module in a roaming carrier network that communicates with the home carrier network;
the first target NRF module is used for receiving a subscription request sent by a first NRF module in a local operator network, wherein the first NRF module is an NRF module which is not communicated with a roaming operator network in the local operator network, and the subscription request comprises a subscription identifier and a user identifier; determining whether the NRF module corresponding to the network function NF subscribed by the user is the NRF module under the local operator network or not according to the subscription identifier; sending a subscription request to a second target NRF module under the condition that the NRF module corresponding to the NF subscribed by the user is not the NRF module under the local operator network; sending the received subscription response message to the first NRF module;
the second target NRF is used for determining a second NRF module according to the subscription request and sending the subscription request to the second NRF module; receiving a subscription response message sent by the second target NRF, wherein the subscription response message is generated by the second target NRF according to the uniform resource identifier URI and the user identifier sent by the second NRF module; and sending the subscription response message to the first target NRF module, wherein the second NRF module is an NRF module which is not communicated with the local operator network in the roaming operator network.
According to another aspect of the present disclosure, there is provided a cross-network request apparatus applied to a first target NRF module under a home carrier network, where the first target NRF module is an NRF module in the home carrier network and in communication with a roaming carrier network, the apparatus including:
the first receiving module is used for receiving a subscription request sent by a first NRF module in a local operator network, wherein the first NRF module is an NRF module which is not communicated with a roaming operator network in the local operator network, and the subscription request comprises a subscription identifier and a user identifier;
a first determining module, configured to determine, according to the subscription identifier, whether an NRF module corresponding to a network function NF subscribed by a user is an NRF module in a local operator network;
a first sending module, configured to send a subscription request to a second target NRF module in the roaming operator network when the NRF module corresponding to the NF subscribed by the user is not an NRF module in the local operator network, so that the second target NRF module determines, according to the subscription request, the second NRF module in the roaming operator network, and sends the subscription request to the second NRF module;
a second receiving module, configured to receive a subscription response message sent by a second target NRF, where the subscription response message is generated by the second target NRF according to the uniform resource identifier URI and the user identifier sent by the second NRF module;
and the second sending module is used for sending the subscription response message to the first NRF module.
In one embodiment of the present disclosure, the cross-network request device further includes:
a third determining module, configured to determine, according to the subscription identifier, a third NRF module in the home carrier network when the NRF module corresponding to the NF subscribed by the user is an NRF module in the home carrier network, where the third NRF module is an NRF module in the home carrier network that is not in communication with the roaming carrier network;
and the fourth sending module is used for sending the subscription request to the third NRF module.
In one embodiment of the present disclosure, the cross-network request device further includes:
a fourth receiving module, configured to receive a subscription change request sent by the first NRF module, where the subscription change request includes a subscription change instruction, a subscription identifier, and a user identifier;
a fifth sending module, configured to send the subscription change request to the second target NRF module, so that the second target NRF module determines, according to the subscription identifier, a URI corresponding to the subscription identifier; sending a subscription change instruction to the second NRF module according to the URI;
and the fifth receiving module is used for receiving a subscription change response message sent by the second target NRF, wherein the subscription change response message is generated by the second NRF module according to the subscription change instruction.
In one embodiment of the present disclosure, the subscription change request includes a subscription update request and a subscription cancel request.
According to still another aspect of the present disclosure, there is provided a cross-network request apparatus applied to a second target NRF module under a roaming operator network, the second target NRF module being an NRF module in communication with a home operator network within the roaming operator network, the apparatus including:
a third receiving module, configured to receive a subscription request sent by a first target NRF module in a local operator network, where the subscription request includes a subscription identifier and a user identifier;
a second determination module, configured to determine a second NRF module according to the subscription request, and send the subscription request to the second NRF module, so that the second NRF module generates a uniform resource identifier URI according to the subscription request, where the second NRF module is an NRF module that is not in communication with the home carrier network in the roaming carrier network;
the first generation module is used for generating a subscription response message according to the URI and the user identifier sent by the second NRF module;
and a third sending module, configured to send the subscription response message to the first target NRF module.
In one embodiment of the present disclosure, the cross-network request device further includes:
a sixth receiving module, configured to receive a subscription change request sent by the first target NRF module, where the subscription change request includes a subscription change instruction, a subscription identifier, and a user identifier;
a fourth determining module, configured to determine, according to the subscription identifier in the subscription change request, a URI corresponding to the subscription identifier;
a sixth sending module, configured to send the subscription change instruction to the second NRF module according to the URI;
and the forwarding module is used for forwarding the subscription change response message sent by the second NRF module to the first target NRF module.
In one embodiment of the present disclosure, the cross-network request device further includes:
the second generation module is used for establishing the corresponding relation between the plurality of subscription identifications and the plurality of URIs in advance before determining the URI corresponding to the subscription identification according to the subscription identification in the subscription change request;
the fourth determining module specifically includes:
and the determining unit is used for determining the URI corresponding to the subscription identifier according to the subscription identifier and the corresponding relation in the subscription change request.
In one embodiment of the present disclosure, the subscription change request includes a subscription update request and a subscription cancel request.
In one embodiment of the present disclosure, the cross-network request device further includes:
and the change module is used for updating or deleting the corresponding relation according to the subscription change response message before forwarding the subscription change response message sent by the second NRF module to the first target NRF module.
According to yet another aspect of the present disclosure, there is provided an electronic device including: a processor; and a memory for storing executable instructions of the processor; wherein the processor is configured to perform the above-described cross-network request method via execution of executable instructions.
According to yet another aspect of the present disclosure, there is provided a computer-readable storage medium having stored thereon a computer program which, when executed by a processor, implements the cross-network request method described above.
In the cross-network request method, system, apparatus, device, and storage medium provided by the embodiments of the present disclosure, a first target NRF module in a local carrier network receives a subscription request sent by the first NRF module in the local carrier network, determines whether an NRF module corresponding to an NF subscribed by a user is an NRF module in the local carrier network according to a subscription identifier in the subscription request, and forwards the subscription request to a second target NRF module in a roaming carrier network when the first target NRF module determines that the NRF module corresponding to the NF subscribed by the user is not an NRF module in the local carrier network, so that the second target NRF module sends the subscription request to the second NRF module. And when the first target NRF module receives the subscription response message generated by the second NRF module forwarded by the second NRF module, sending the subscription response message to the first NRF module. Therefore, the first target NRF module used for communicating with the NRF module under the roaming operator network is set under the local operator network, and the first target NRF module forwards the subscription request of the user to the corresponding NRF module under the roaming operator network, so that the user can complete NF subscription under different operator networks.
It is to be understood that both the foregoing general description and the following detailed description are exemplary and explanatory only and are not restrictive of the disclosure.
Drawings
The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate embodiments consistent with the present disclosure and together with the description, serve to explain the principles of the disclosure. It is to be understood that the drawings in the following description are merely exemplary of the disclosure, and that other drawings may be derived from those drawings by one of ordinary skill in the art without the exercise of inventive faculty.
FIG. 1 is a schematic diagram illustrating an architecture of a cross-network request system in an embodiment of the present disclosure;
FIG. 2 is a flow chart illustrating a cross-network request method in an embodiment of the present disclosure;
FIG. 3 is a flow diagram illustrating another cross-network request method in an embodiment of the disclosure;
fig. 4 shows a signaling diagram of another cross-network request method in an embodiment of the disclosure;
FIG. 5 is a signaling diagram illustrating another cross-network request method in an embodiment of the disclosure
FIG. 6 is a schematic diagram of an inter-network request apparatus according to an embodiment of the disclosure;
FIG. 7 is a schematic diagram of another cross-network request device in an embodiment of the disclosure;
fig. 8 shows a block diagram of an electronic device in an embodiment of the present disclosure.
Detailed Description
Example embodiments will now be described more fully with reference to the accompanying drawings. Example embodiments may, however, be embodied in many different forms and should not be construed as limited to the examples set forth herein; rather, these embodiments are provided so that this disclosure will be thorough and complete, and will fully convey the concept of example embodiments to those skilled in the art. The described features, structures, or characteristics may be combined in any suitable manner in one or more embodiments.
Furthermore, the drawings are merely schematic illustrations of the present disclosure and are not necessarily drawn to scale. The same reference numerals in the drawings denote the same or similar parts, and thus their repetitive description will be omitted. Some of the block diagrams shown in the figures are functional entities and do not necessarily correspond to physically or logically separate entities. These functional entities may be implemented in the form of software, or in one or more hardware modules or integrated circuits, or in different networks and/or processor devices and/or microcontroller devices.
It should be understood that the various steps recited in the method embodiments of the present disclosure may be performed in a different order, and/or performed in parallel. Moreover, method embodiments may include additional steps and/or omit performing the illustrated steps. The scope of the present disclosure is not limited in this respect.
It should be noted that the terms "first", "second", and the like in the present disclosure are only used for distinguishing different devices, modules or units, and are not used for limiting the order or interdependence relationship of the functions performed by the devices, modules or units.
It is noted that references to "a", "an", and "the" modifications in this disclosure are intended to be illustrative rather than limiting, and that those skilled in the art will recognize that "one or more" may be used unless the context clearly dictates otherwise.
At present, in the process of the heterogeneous network roaming, multistage NRF modules exist in both a local operator network and a roaming operator network, and under the condition, the problem that subscription information or subscription return information is sent to a wrong NRF module due to the fact that the address of the NRF module cannot be identified occurs in the local operator network, so that a current cross-network request is unavailable, and the current heterogeneous network roaming is not easy to realize.
In order to solve the above problems, the present disclosure provides a cross-network request method, system, apparatus, device, and storage medium.
First, the cross-network request system provided by the present disclosure will be explained.
Fig. 1 shows an architecture diagram of a cross-network request system in an embodiment of the present disclosure, and as shown in fig. 1, a cross-network request system 10 in an embodiment of the present disclosure may include:
a first target NRF module 101 and a second target NRF module 102, the first target NRF module 101 being an NRF module in a home carrier network that communicates with a roaming carrier network, the second target NRF module 102 being an NRF module in a roaming carrier network that communicates with the home carrier network;
the first target NRF module 101 is configured to receive a subscription request sent by a first NRF module in a home carrier network, where the first NRF module is an NRF module in the home carrier network that is not in communication with a roaming carrier network, and the subscription request includes a subscription identifier and a user identifier; determining whether the NRF module corresponding to the network function NF subscribed by the user is the NRF module under the local operator network or not according to the subscription identifier; sending a subscription request to a second target NRF module 102 when the NRF module corresponding to the NF subscribed by the user is not an NRF module in the local operator network; sending the received subscription response message to the first NRF module;
the second target NRF is used for determining a second NRF module according to the subscription request and sending the subscription request to the second NRF module; receiving a subscription response message sent by the second target NRF, wherein the subscription response message is generated by the second target NRF according to the uniform resource identifier URI and the user identifier sent by the second NRF module; the subscription response message is sent to the first target NRF module 101, and the second NRF module is an NRF module within the roaming operator network that is not in communication with the home operator network.
In the cross-network request system provided by the embodiment of the disclosure, a first target NRF module in a local operator network receives a subscription request sent by the first NRF module in the local operator network, determines whether an NRF module corresponding to an NF subscribed by a user is an NRF module in the local operator network according to a subscription identifier in the subscription request, and forwards the subscription request to a second target NRF module in a roaming operator network when the first target NRF module determines that the NRF module corresponding to the NF subscribed by the user is not the NRF module in the local operator network. And after the second target NRF module receives the subscription request, sending the subscription request to the second NRF module. And enabling the second NRF module to generate a subscription response message according to the subscription request and sending the subscription response message back to the second target NRF module. And when the first target NRF module receives the subscription response message generated by the second NRF module forwarded by the second NRF module, sending the subscription response message to the first NRF module. Therefore, the first target NRF module used for communicating with the NRF module under the roaming operator network is set under the local operator network, and the first target NRF module forwards the subscription request of the user to the corresponding NRF module under the roaming operator network, so that the user can complete NF subscription under different operator networks.
The local operator network may be an operator network corresponding to a SIM card used by the user, and the roaming operator network may be an operator network other than the local operator network.
The first target NRF module 101 may be connected to the second target NRF module 102, or may be connected to the first NRF module under the same home carrier.
The second target NRF module 102 may be connected with a second NRF module that is also under the roaming operator network.
The connection means may include a wired network connection and a wireless network connection.
It will be appreciated that the wireless or wired networks described above use standard communication techniques and/or protocols. The Network is typically the Internet, but may be any Network including, but not limited to, a Local Area Network (LAN), a Metropolitan Area Network (MAN), a Wide Area Network (WAN), a mobile, wireline or wireless Network, a private Network, or any combination of virtual private networks. In some embodiments, data exchanged over a network is represented using techniques and/or formats including Hypertext Mark-up Language (HTML), Extensible markup Language (XML), and the like. All or some of the links may also be encrypted using conventional encryption techniques such as Secure Socket Layer (SSL), Transport Layer Security (TLS), Virtual Private Network (VPN), Internet protocol Security (IPsec). In other embodiments, custom and/or dedicated data communication techniques may also be used in place of, or in addition to, the data communication techniques described above.
Based on the same inventive concept, the embodiment of the present disclosure provides a cross-network request method, which is applied to a first target NRF module in a local operator network, where the first target NRF module is an NRF module in the local operator network and in communication with a roaming operator network, and the method can be executed by any electronic device with computing processing capability.
Fig. 2 shows a flowchart of a cross-network request method in an embodiment of the present disclosure, and as shown in fig. 2, the cross-network request method provided in the embodiment of the present disclosure may include:
s202, receiving a subscription request sent by a first NRF module in a local operator network, wherein the first NRF module is an NRF module which is not communicated with a roaming operator network in the local operator network, and the subscription request comprises a subscription identifier and a user identifier;
s204, determining whether the NRF module corresponding to the network function NF subscribed by the user is the NRF module under the local operator network or not according to the subscription identifier;
s206, under the condition that the NRF module corresponding to the NF subscribed by the user is not the NRF module under the local operator network, sending a subscription request to a second target NRF module under the roaming operator network, so that the second target NRF module determines the second NRF module under the roaming operator network according to the subscription request and sends the subscription request to the second NRF module;
s208, receiving a subscription response message sent by the second target NRF, wherein the subscription response message is generated by the second target NRF according to the uniform resource identifier URI and the user identifier sent by the second NRF module;
s210, sending the subscription response message to the first NRF module.
In the cross-network request method provided by the embodiment of the disclosure, a first target NRF module in a local operator network receives a subscription request sent by the first NRF module in the local operator network, determines whether an NRF module corresponding to an NF subscribed by a user is an NRF module in the local operator network according to a subscription identifier in the subscription request, and forwards the subscription request to a second target NRF module in a roaming operator network when the first target NRF module determines that the NRF module corresponding to the NF subscribed by the user is not the NRF module in the local operator network, so that the second target NRF module sends the subscription request to the second NRF module. And when the first target NRF module receives the subscription response message generated by the second NRF module forwarded by the second NRF module, sending the subscription response message to the first NRF module. Therefore, the first target NRF module used for communicating with the NRF module under the roaming operator network is set under the local operator network, and the first target NRF module forwards the subscription request of the user to the corresponding NRF module under the roaming operator network, so that the user can complete NF subscription under different operator networks.
In S202, there may be a plurality of first target NRF modules and a plurality of first NRF modules under the home carrier network.
The first NRF module may receive a subscription request from a user and send the subscription request to the first target NRF module.
The subscription identifier may include an identifier of an NRF module corresponding to an NF to which the user subscribes, and the first target NRF module may determine, according to the subscription identifier, an NRF module corresponding to the subscription identifier.
The user identifier may include an identifier corresponding to the user generated from the user information, and the first target NRF module may determine a home carrier network and a roaming carrier network corresponding to the user according to the user identifier.
As an example, the subscriber identity may be an identity generated by the subscriber terminal from the subscriber's SIM card information. The user terminal then generates a subscription identity in response to a user operation, and then sends the generated subscription identity and the user identity to the first NRF.
As an example, after the first NRF receives a subscription request sent by a user, it may be determined whether the first NRF is an NRF module corresponding to an NF subscribed to by the user according to the subscription request. And under the condition that the self is not the NRF module corresponding to the NF subscribed by the user, sending the subscription request to the first target NRF module.
As one example, the user identification may include a subscribendid.
In S204, the first target NRF module may determine, according to the user identifier, a home operator network corresponding to the user and a roaming operator network corresponding to the user, and then determine, according to the subscription identifier of the user, whether an NRF module corresponding to an NF subscribed by the user is an NRF module in the home operator network.
As an example, the terminal of the user determines an NRF corresponding to the NF according to the NF subscribed by the user, and then generates a subscription identifier corresponding to the NRF according to the NRF.
In S206, there may be a plurality of second target NRF modules, and the roaming operator network corresponding to the second target NRF module is a roaming operator network corresponding to an NRF module corresponding to an NF subscribed by the user.
The second target NRF module and the second NRF module are both NRF modules under a roaming operator network. The second target NRF module can be connected to other operator networks and can be connected to other NRF modules in the roaming operator network corresponding to the second target NRF module.
As an example, after the second target NRF module receives the subscription request sent by the first target NRF module, the second NRF module may be determined according to the subscription identifier in the subscription request, and then the subscription request is forwarded to the second NRF module.
In S208, the URI is generated by the second NRF module according to the subscription request, and the user can obtain the corresponding resource or implement the corresponding function through the URI.
As an example, after the second target NRF module receives the URI sent by the second NRF module, a corresponding subscription response message may be generated according to the URI and the user identifier in the subscription request.
Since the subscription response message is generated according to the URI and the user identity, the first target NRF module can be determined according to the user identity in the subscription response message after receiving the subscription response message.
In some embodiments, the cross-network request method may further include:
determining a third NRF module under the local operator network according to the subscription identifier under the condition that the NRF module corresponding to the NF subscribed by the user is the NRF module under the local operator network, wherein the third NRF module is an NRF module which is not communicated with the roaming operator network in the local operator network;
a subscription request is sent to the third NRF module.
The first target NRF module may determine, according to the subscription identifier, whether an NRF module corresponding to an NF subscribed by the user is an NRF module in the home operator network or an NRF module in the roaming operator network, and may directly send the subscription request to a third NRF module in the home operator network when it is determined that the NRF module in the home operator network corresponding to the first target NRF module is present.
In some embodiments, certain changes to the subscription may also be involved after the user completes the NF subscription. In this case, the cross-network request method may further include:
receiving a subscription change request sent by a first NRF module, wherein the subscription change request comprises a subscription change instruction, a subscription identifier and a user identifier;
sending the subscription change request to a second target NRF module so that the second target NRF module determines a URI corresponding to the subscription identifier according to the subscription identifier; sending a subscription change instruction to the second NRF module according to the URI;
and receiving a subscription change response message sent by the second target NRF, wherein the subscription change response message is generated by the second NRF module according to the subscription change instruction.
The subscription change request may include a subscription update request and a subscription cancel request.
The second target NRF may establish a correspondence between the subscription identity and the URI before determining the URI corresponding to the subscription identity from the subscription identity. And then, according to the corresponding relation and the subscription identifier, the URI corresponding to the subscription identifier can be determined. A subscription change instruction is then sent to the second NRF module according to the determined URI.
It will be appreciated that after the second NRF module receives the subscription change instruction, a corresponding subscription change response message may be generated in accordance with the subscription change instruction.
Therefore, after the first target NRF receives the subscription change request sent by the first NRF, the subscription change request is sent to the second target NRF module according to the URI, then the subscription change instruction in the subscription change request is sent to the second NRF module by the second target NRF module according to the URI, and then the second NRF module completes the change of NF subscription according to the subscription change instruction. Because a first target NRF module used for communicating with the NRF module under the roaming operator network and a second target NRF module used for communicating with the local operator network are set under the local operator network, the modules under different operator networks can communicate with each other, and a user can complete NF subscription under different operator networks.
Based on the same inventive concept, another cross-network request method is provided in the embodiments of the present disclosure, and the method is applied to a second target NRF module in a roaming operator network, where the second target NRF module is an NRF module in the roaming operator network, which communicates with a home operator network. The method may be performed by any electronic device having computing processing capabilities. Fig. 3 shows a flowchart of another cross-network request method in the embodiment of the present disclosure, and as shown in fig. 3, another cross-network request method provided in the embodiment of the present disclosure includes:
s302, receiving a subscription request sent by a first target NRF module in a local operator network, wherein the subscription request comprises a subscription identifier and a user identifier;
s304, determining a second NRF module according to the subscription request, and sending the subscription request to the second NRF module so that the second NRF module generates a Uniform Resource Identifier (URI) according to the subscription request, wherein the second NRF module is an NRF module which is not communicated with a local operator network in a roaming operator network;
s306, generating a subscription response message according to the URI and the user identification sent by the second NRF module;
s308, sending the subscription response message to the first target NRF module.
In the cross-network request method provided by the embodiment of the present disclosure, a second target NRF module in a roaming operator network receives a subscription request sent by a first target NRF module in a local operator network, and then determines a second NRF module according to the subscription request, so that the second NRF module generates a URI according to the subscription request, and after receiving the URI, the second target NRF module generates a subscription response message according to the URI and a user identifier. The generated subscription response message is then sent to the first target NRF module. Therefore, the subscription request of the first target NRF is received by the second target NRF module, and the second NRF module corresponding to the subscription identifier is determined according to the subscription identifier in the subscription request, so that the problems that the NRF under the roaming operator network cannot communicate with the NRF under the home operator network or the communication address is wrong are avoided. The subscriber can complete the subscription of the NF under different operator networks.
The embodiment of this embodiment can be referred to the implementation of the above embodiment, and repeated details are not repeated.
In some embodiments, after completing the NF subscription, a subscription change situation may often occur, for which the cross-network request method may further include:
receiving a subscription change request sent by a first target NRF module, wherein the subscription change request comprises a subscription change instruction, a subscription identifier and a user identifier;
determining a URI corresponding to the subscription identifier according to the subscription identifier in the subscription change request;
sending a subscription change instruction to the second NRF module according to the URI;
and forwarding the subscription change response message sent by the second NRF module to the first target NRF module.
The subscription change request comprises a subscription update request and a subscription cancel request.
Before determining the URI corresponding to the subscription identifier according to the subscription identifier in the subscription change request, the cross-network request may further include:
pre-establishing a corresponding relation between a plurality of subscription identifications and a plurality of URIs;
determining a URI corresponding to the subscription identifier according to the subscription identifier in the subscription change request, wherein the URI comprises the following steps:
and determining the URI corresponding to the subscription identifier according to the subscription identifier and the corresponding relation in the subscription change request.
The URI may include an identifier of a corresponding NRF module, and the subscription identifier may also include an identifier of an NRF module, and the correspondence may be determined according to the same identifier of an NRF module.
Before forwarding the subscription change response message sent by the second NRF module to the first target NRF module, the cross-network request method may further include:
and updating or deleting the corresponding relation according to the subscription change response message.
Wherein, after receiving the subscription change response message, the second NRF module may complete the change of the NF subscription according to the subscription change response message, where the change may include a subscription update or a subscription cancellation.
After the second target NRF receives the subscription change response message sent by the second NRF, the corresponding operation may be performed on the URI according to the change operation identifier corresponding to the subscription change response message.
Therefore, in the embodiment of the present disclosure, after receiving the subscription change request sent by the first NRF, the first target NRF sends the subscription change request to the second target NRF module according to the URI, and then the second target NRF module sends the subscription change instruction in the subscription change request to the second NRF module according to the URI, and then the second NRF module completes the change of the NF subscription according to the subscription change instruction. Because a first target NRF module used for communicating with the NRF module under the roaming operator network and a second target NRF module used for communicating with the local operator network are set under the local operator network, the modules under different operator networks can communicate with each other, and a user can complete NF subscription under different operator networks.
For a more detailed introduction to the cross-network request method of the present disclosure, a signaling diagram of another cross-network interaction method provided in an embodiment of the present disclosure is shown in fig. 4, where the cross-network interaction method may include:
s402, the first NRF module sends a subscription request to the first target NRF module, wherein the subscription request comprises a subscription identifier and a user identifier;
s404, the first target NRF module determines whether the NRF module corresponding to the NF subscribed by the user is the NRF module under the local operator network or not according to the subscription request;
s406, under the condition that the NRF module corresponding to the NF subscribed by the user is not the NRF module under the local operator network, the first target NRF module forwards the subscription request to the second target NRF module;
s408, the second target NRF module sends the subscription request to the second NRF module, wherein the second NRF module is determined according to the subscription identifier in the subscription request;
s410, the second NRF module creates a URI according to the subscription request;
s412, the second NRF module sends the URI to a second target NRF module;
s414, the second target NRF module generates a subscription response message according to the URI and the user identifier;
s416, the second target NRF sends a subscription response message to the first target NRF module;
s418, the first target NRF module sends a subscription response message to the first NRF module.
The first target NRF module and the second target NRF module may establish a corresponding relationship with the subscription identifier in the subscription request according to the URI in the subscription response message.
In the cross-network request method provided by the embodiment of the disclosure, a first target NRF module in a local operator network receives a subscription request sent by the first NRF module in the local operator network, determines whether an NRF module corresponding to an NF subscribed by a user is an NRF module in the local operator network according to a subscription identifier in the subscription request, and forwards the subscription request to a second target NRF module in a roaming operator network when the first target NRF module determines that the NRF module corresponding to the NF subscribed by the user is not the NRF module in the local operator network, so that the second target NRF module sends the subscription request to the second NRF module. And when the first target NRF module receives the subscription response message generated by the second NRF module forwarded by the second NRF module, sending the subscription response message to the first NRF module. Therefore, the first target NRF module used for communicating with the NRF module under the roaming operator network is set under the local operator network, and the first target NRF module forwards the subscription request of the user to the corresponding NRF module under the roaming operator network, so that the user can complete NF subscription under different operator networks.
The embodiment of this embodiment can be referred to the implementation of the above embodiment, and repeated details are not repeated.
For more detailed introduction of the cross-network request method of the present disclosure, a signaling diagram of another cross-network interaction method provided in the embodiment of the present disclosure is shown in fig. 5, where the cross-network interaction method may include:
s502, the first NRF module sends a subscription change request to the first target NRF module, wherein the subscription change request comprises a subscription change instruction, a subscription identifier and a user identifier;
s504, the first target NRF module sends a subscription change request to the second target NRF module according to the URI;
s506, the second target NRF module sends a subscription change instruction to the second NRF module according to the URI;
s508, the second NRF module completes the change of NF subscription according to the subscription change instruction and generates a subscription change response message;
s510, the second NRF module sends a subscription change response message to a second target NRF module;
s512, the second target NRF module changes the pre-established corresponding relation according to the subscription change response message;
s514, the second target NRF module sends the subscription change response message to the first target NRF module;
s516, the first target NRF module sends a subscription change response message to the first NRF module.
Therefore, in the embodiment of the present disclosure, after receiving the subscription change request sent by the first NRF, the first target NRF sends the subscription change request to the second target NRF module according to the URI, and then the second target NRF module sends the subscription change instruction in the subscription change request to the second NRF module according to the URI, and then the second NRF module completes the change of the NF subscription according to the subscription change instruction. Because a first target NRF module used for communicating with the NRF module under the roaming operator network and a second target NRF module used for communicating with the local operator network are set under the local operator network, the modules under different operator networks can communicate with each other, and a user can complete NF subscription under different operator networks.
Based on the same inventive concept, an embodiment of the present disclosure further provides a cross-network request apparatus, which is applied to a first target NRF module in a home carrier network, where the first target NRF module is an NRF module in the home carrier network and in communication with a roaming carrier network, as in the following embodiments. Because the principle of the embodiment of the apparatus for solving the problem is similar to that of the embodiment of the method, the embodiment of the apparatus can be implemented by referring to the implementation of the embodiment of the method, and repeated details are not described again.
Fig. 6 is a diagram illustrating an example of a cross-network request device in an embodiment of the present disclosure, where the cross-network request device may include:
a first receiving module 602, configured to receive a subscription request sent by a first NRF module in a home carrier network, where the first NRF module is an NRF module in the home carrier network that is not in communication with a roaming carrier network, and the subscription request includes a subscription identifier and a user identifier;
a first determining module 604, configured to determine, according to the subscription identifier, whether an NRF module corresponding to a network function NF subscribed by a user is an NRF module in a home operator network;
a first sending module 606, configured to send a subscription request to a second target NRF module in the roaming operator network when the NRF module corresponding to the NF subscribed by the user is not an NRF module in the local operator network, so that the second target NRF module determines, according to the subscription request, a second NRF module in the roaming operator network, and sends the subscription request to the second NRF module;
a second receiving module 608, configured to receive a subscription response message sent by the second target NRF, where the subscription response message is generated by the second target NRF according to the uniform resource identifier URI and the user identifier sent by the second NRF module;
a second sending module 610, configured to send the subscription response message to the first NRF module.
In the cross-network request device provided by the embodiment of the disclosure, a first target NRF module in a local operator network receives a subscription request sent by the first NRF module in the local operator network, determines whether an NRF module corresponding to an NF subscribed by a user is an NRF module in the local operator network according to a subscription identifier in the subscription request, and forwards the subscription request to a second target NRF module in a roaming operator network when the first target NRF module determines that the NRF module corresponding to the NF subscribed by the user is not the NRF module in the local operator network, so that the second target NRF module sends the subscription request to the second NRF module. And when the first target NRF module receives the subscription response message generated by the second NRF module forwarded by the second NRF module, sending the subscription response message to the first NRF module. Therefore, the first target NRF module used for communicating with the NRF module under the roaming operator network is set under the local operator network, and the first target NRF module forwards the subscription request of the user to the corresponding NRF module under the roaming operator network, so that the user can complete NF subscription under different operator networks.
In some embodiments, the cross-network request device 600 further comprises:
a third determining module 612, configured to determine, according to the subscription identifier, a third NRF module in the home carrier network when the NRF module corresponding to the NF subscribed by the user is an NRF module in the home carrier network, where the third NRF module is an NRF module in the home carrier network that is not in communication with the roaming carrier network;
a fourth sending module 614, configured to send the subscription request to the third NRF module.
In some embodiments, the cross-network request device 600 further comprises:
a fourth receiving module 616, configured to receive a subscription change request sent by the first NRF module, where the subscription change request includes a subscription change instruction, a subscription identifier, and a user identifier;
a fifth sending module 618, configured to send the subscription change request to the second target NRF module, so that the second target NRF module determines, according to the subscription identifier, a URI corresponding to the subscription identifier; sending a subscription change instruction to the second NRF module according to the URI;
a fifth receiving module 620, configured to receive a subscription change response message sent by the second target NRF, where the subscription change response message is generated by the second NRF module according to the subscription change instruction.
Based on the same inventive concept, another cross-network request device is also provided in the embodiments of the present disclosure, and is applied to a second target NRF module in a roaming operator network, where the second target NRF module is an NRF module in the roaming operator network and in communication with a home operator network, as in the following embodiments. Because the principle of the embodiment of the apparatus for solving the problem is similar to that of the embodiment of the method, the embodiment of the apparatus can be implemented by referring to the implementation of the embodiment of the method, and repeated details are not described again.
Fig. 7 is a diagram illustrating another example of a cross-network request apparatus in an embodiment of the disclosure, and as shown in fig. 7, a cross-network request apparatus 700 may include:
a third receiving module 702, configured to receive a subscription request sent by a first target NRF module in a local operator network, where the subscription request includes a subscription identifier and a user identifier;
a second determining module 704, configured to determine a second NRF module according to the subscription request, and send the subscription request to the second NRF module, so that the second NRF module generates a uniform resource identifier URI according to the subscription request, where the second NRF module is an NRF module in the roaming operator network that is not in communication with the home operator network;
a first generating module 706, configured to generate a subscription response message according to the URI and the user identifier sent by the second NRF module;
a third sending module 708, configured to send the subscription response message to the first target NRF module.
In some embodiments, the cross-network request device 700 further comprises:
a sixth receiving module 710, configured to receive a subscription change request sent by the first target NRF module, where the subscription change request includes a subscription change instruction, a subscription identifier, and a user identifier;
a fourth determining module 712, configured to determine, according to the subscription identifier in the subscription change request, a URI corresponding to the subscription identifier;
a sixth sending module 714, configured to send the subscription change instruction to the second NRF module according to the URI;
a forwarding module 716, configured to forward the subscription change response message sent by the second NRF module to the first target NRF module.
In the cross-network request apparatus provided in the embodiment of the present disclosure, a second target NRF module in a roaming operator network receives a subscription request sent by a first target NRF module in a local operator network, and then determines a second NRF module according to the subscription request, so that the second NRF module generates a URI according to the subscription request, and after receiving the URI, the second target NRF module generates a subscription response message according to the URI and a user identifier. The generated subscription response message is then sent to the first target NRF module. Therefore, the subscription request of the first target NRF is received by the second target NRF module, and the second NRF module corresponding to the subscription identifier is determined according to the subscription identifier in the subscription request, so that the problems that the NRF under the roaming operator network cannot communicate with the NRF under the home operator network or the communication address is wrong are avoided. The subscriber can complete the subscription of the NF under different operator networks.
In some embodiments, the cross-network request device 700 further comprises:
a second generating module 718, configured to, before determining, according to the subscription identifier in the subscription change request, a URI corresponding to the subscription identifier, establish a correspondence between multiple subscription identifiers and multiple URIs in advance;
the fourth determining module 712 specifically includes:
and the determining unit is used for determining the URI corresponding to the subscription identifier according to the subscription identifier and the corresponding relation in the subscription change request.
In some embodiments, the subscription change request includes a subscription update request and a subscription cancel request.
In some embodiments, the cross-network request device 700 further comprises:
the modifying module 720 is configured to, before forwarding the subscription modification response message sent by the second NRF module to the first target NRF module, update or delete the corresponding relationship according to the subscription modification response message.
The cross-network request device provided in the embodiments of the present disclosure may be configured to execute the cross-network request method provided in the above method embodiments, and the implementation principle and the technical effect are similar, and for the sake of simplicity, details are not described here again.
As will be appreciated by one skilled in the art, aspects of the present disclosure may be embodied as a system, method or program product. Accordingly, various aspects of the present disclosure may be embodied in the form of: an entirely hardware embodiment, an entirely software embodiment (including firmware, microcode, etc.) or an embodiment combining hardware and software aspects that may all generally be referred to herein as a "circuit," module "or" system.
An electronic device 800 according to this embodiment of the disclosure is described below with reference to fig. 8. The electronic device 800 shown in fig. 8 is only an example and should not bring any limitations to the functionality and scope of use of the embodiments of the present disclosure.
As shown in fig. 8, electronic device 800 is in the form of a general purpose computing device. The components of the electronic device 800 may include, but are not limited to: the at least one processing unit 810, the at least one memory unit 820, and a bus 830 that couples the various system components including the memory unit 820 and the processing unit 810.
Where the memory unit stores program code, the program code may be executed by the processing unit 810 to cause the processing unit 810 to perform steps according to various exemplary embodiments of the present disclosure as described in the "exemplary methods" section above in this specification. For example, the processing unit 810 may perform the following steps of the above-described method embodiments:
receiving a subscription request sent by a first NRF module in a local operator network, wherein the first NRF module is an NRF module which is not communicated with a roaming operator network in the local operator network, and the subscription request comprises a subscription identifier and a user identifier;
determining whether the NRF module corresponding to the network function NF subscribed by the user is the NRF module under the local operator network or not according to the subscription identifier;
under the condition that the NRF module corresponding to the NF subscribed by the user is not the NRF module under the local operator network, sending a subscription request to a second target NRF module under the roaming operator network, so that the second target NRF module determines the second NRF module under the roaming operator network according to the subscription request and sends the subscription request to the second NRF module;
receiving a subscription response message sent by the second target NRF, wherein the subscription response message is generated by the second target NRF according to the uniform resource identifier URI and the user identifier sent by the second NRF module;
a subscription response message is sent to the first NRF module.
Receiving a subscription request sent by a first target NRF module in a local operator network, wherein the subscription request comprises a subscription identifier and a user identifier;
determining a second NRF module according to the subscription request, and sending the subscription request to the second NRF module so that the second NRF module generates a Uniform Resource Identifier (URI) according to the subscription request, wherein the second NRF module is an NRF module which is not communicated with a local operator network in a roaming operator network;
generating a subscription response message according to the URI and the user identifier sent by the second NRF module;
the subscription response message is sent to the first target NRF module.
The storage unit 820 may include readable media in the form of volatile memory units such as a random access memory unit (RAM)8201 and/or a cache memory unit 8202, and may further include a read only memory unit (ROM) 8203.
The storage unit 820 may also include a program/utility 8204 having a set (at least one) of program modules 8205, such program modules 8205 including, but not limited to: an operating system, one or more application programs, other program modules, and program data, each of which or some combination thereof may comprise an implementation of a network environment.
Bus 830 may be any of several types of bus structures including a memory unit bus or memory unit controller, a peripheral bus, an accelerated graphics port, a processing unit, or a local bus using any of a variety of bus architectures.
The electronic device 800 may also communicate with one or more external devices 840 (e.g., keyboard, pointing device, bluetooth device, etc.), with one or more devices that enable a user to interact with the electronic device 800, and/or with any devices (e.g., router, modem, etc.) that enable the electronic device 800 to communicate with one or more other computing devices. Such communication may occur via input/output (I/O) interfaces 850. Also, the electronic device 800 may communicate with one or more networks (e.g., a Local Area Network (LAN), a Wide Area Network (WAN), and/or a public network, such as the internet) via the network adapter 860. As shown, the network adapter 860 communicates with the other modules of the electronic device 800 via the bus 830. It should be appreciated that although not shown, other hardware and/or software modules may be used in conjunction with the electronic device 800, including but not limited to: microcode, device drivers, redundant processing units, external disk drive arrays, RAID systems, tape drives, and data backup storage systems, among others.
Through the above description of the embodiments, those skilled in the art will readily understand that the exemplary embodiments described herein may be implemented by software, or by software in combination with necessary hardware. Therefore, the technical solution according to the embodiments of the present disclosure may be embodied in the form of a software product, which may be stored in a non-volatile storage medium (which may be a CD-ROM, a usb disk, a removable hard disk, etc.) or on a network, and includes several instructions to enable a computing device (which may be a personal computer, a server, a terminal device, or a network device, etc.) to execute the method according to the embodiments of the present disclosure.
In an exemplary embodiment of the present disclosure, there is also provided a computer-readable storage medium, which may be a readable signal medium or a readable storage medium. On which a program product capable of implementing the above-described method of the present disclosure is stored. In some possible embodiments, various aspects of the disclosure may also be implemented in the form of a program product comprising program code for causing a terminal device to perform the steps according to various exemplary embodiments of the disclosure described in the above-mentioned "exemplary methods" section of this specification, when the program product is run on the terminal device.
More specific examples of the computer-readable storage medium in the present disclosure may include, but are not limited to: an electrical connection having one or more wires, a portable computer diskette, a hard disk, a Random Access Memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disc read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the foregoing.
In the present disclosure, a computer readable storage medium may include a propagated data signal with readable program code embodied therein, either in baseband or as part of a carrier wave. Such a propagated data signal may take many forms, including, but not limited to, electro-magnetic, optical, or any suitable combination thereof. A readable signal medium may also be any readable medium that is not a readable storage medium and that can communicate, propagate, or transport a program for use by or in connection with an instruction execution system, apparatus, or device.
Alternatively, program code embodied on a computer readable storage medium may be transmitted using any appropriate medium, including but not limited to wireless, wireline, optical fiber cable, RF, etc., or any suitable combination of the foregoing.
In particular implementations, program code for carrying out operations of the present disclosure may be written in any combination of one or more programming languages, including an object oriented programming language such as Java, C + +, or the like, as well as conventional procedural programming languages, such as the "C" programming language or similar programming languages. The program code may execute entirely on the user's computing device, partly on the user's device, as a stand-alone software package, partly on the user's computing device and partly on a remote computing device, or entirely on the remote computing device or server. In the case of a remote computing device, the remote computing device may be connected to the user computing device through any kind of network, including a Local Area Network (LAN) or a Wide Area Network (WAN), or may be connected to an external computing device (e.g., through the internet using an internet service provider).
It should be noted that although in the above detailed description several modules or units of the device for action execution are mentioned, such a division is not mandatory. Indeed, the features and functionality of two or more modules or units described above may be embodied in one module or unit, according to embodiments of the present disclosure. Conversely, the features and functions of one module or unit described above may be further divided into embodiments by a plurality of modules or units.
Moreover, although the steps of the methods of the present disclosure are depicted in the drawings in a particular order, this does not require or imply that the steps must be performed in this particular order, or that all of the depicted steps must be performed, to achieve desirable results. Additionally or alternatively, certain steps may be omitted, multiple steps combined into one step execution, and/or one step broken down into multiple step executions, etc.
Through the above description of the embodiments, those skilled in the art will readily understand that the exemplary embodiments described herein may be implemented by software, or by software in combination with necessary hardware. Therefore, the technical solution according to the embodiments of the present disclosure may be embodied in the form of a software product, which may be stored in a non-volatile storage medium (which may be a CD-ROM, a usb disk, a removable hard disk, etc.) or on a network, and includes several instructions to enable a computing device (which may be a personal computer, a server, a mobile terminal, or a network device, etc.) to execute the method according to the embodiments of the present disclosure.
Other embodiments of the disclosure will be apparent to those skilled in the art from consideration of the specification and practice of the disclosure disclosed herein. This disclosure is intended to cover any variations, uses, or adaptations of the disclosure following, in general, the principles of the disclosure and including such departures from the present disclosure as come within known or customary practice within the art to which the disclosure pertains. It is intended that the specification and examples be considered as exemplary only, with a true scope and spirit of the disclosure being indicated by the following claims.

Claims (14)

1. A cross-network request method is applied to a first target network storage function (NRF) module under a local operator network, wherein the first target NRF module is an NRF module in the local operator network and communicated with a roaming operator network, and the method comprises the following steps:
receiving a subscription request sent by a first NRF module in the local operator network, wherein the first NRF module is an NRF module which is not communicated with the roaming operator network in the local operator network, and the subscription request comprises a subscription identifier and a user identifier;
determining whether an NRF module corresponding to a network function NF subscribed by a user is an NRF module under the local operator network according to the subscription identifier;
under the condition that an NRF module corresponding to the NF subscribed by the user is not an NRF module under the local operator network, sending the subscription request to a second target NRF module under the roaming operator network, so that the second target NRF module determines the second NRF module under the roaming operator network according to the subscription request and sends the subscription request to the second NRF module;
receiving a subscription response message sent by the second target NRF, wherein the subscription response message is generated by the second target NRF according to a Uniform Resource Identifier (URI) and the user identifier sent by the second NRF module;
sending the subscription response message to the first NRF module.
2. The method of claim 1, further comprising:
determining a third NRF module under a local operator network according to the subscription identifier under the condition that the NRF module corresponding to the NF subscribed by the user is the NRF module under the local operator network, wherein the third NRF module is an NRF module which is not communicated with the roaming operator network in the local operator network;
sending the subscription request to the third NRF module.
3. The method of claim 1, further comprising:
receiving a subscription change request sent by the first NRF module, wherein the subscription change request comprises a subscription change instruction, the subscription identifier and a user identifier;
sending the subscription change request to the second target NRF module so that the second target NRF module determines a URI corresponding to the subscription identifier according to the subscription identifier; sending the subscription change instruction to the second NRF module according to the URI;
and receiving a subscription change response message sent by the second target NRF module, wherein the subscription change response message is generated by the second NRF module according to the subscription change instruction.
4. The method of claim 3, wherein the subscription change request comprises a subscription update request and a subscription cancel request.
5. A cross-network request method is applied to a second target NRF module under a roaming operator network, wherein the second target NRF module is an NRF module which is in communication with a local operator network in the roaming operator network, and the method comprises the following steps:
receiving a subscription request sent by a first target NRF module in a local operator network, wherein the subscription request comprises a subscription identifier and a user identifier;
determining a second NRF module according to the subscription request, and sending the subscription request to the second NRF module so that the second NRF module generates a Uniform Resource Identifier (URI) according to the subscription request, wherein the second NRF module is an NRF module which is not communicated with the home carrier network in the roaming carrier network;
generating a subscription response message according to the URI and the user identification sent by the second NRF module;
sending the subscription response message to the first target NRF module.
6. The method of claim 5, further comprising:
receiving a subscription change request sent by the first target NRF module, wherein the subscription change request comprises a subscription change instruction, the subscription identifier and a user identifier;
determining a URI corresponding to the subscription identifier according to the subscription identifier in the subscription change request;
sending the subscription change instruction to the second NRF module according to the URI;
forwarding a subscription change response message sent by the second NRF module to the first target NRF module.
7. The method of claim 6, wherein prior to determining the URI corresponding to the subscription identity from the subscription identity in the subscription change request, the method further comprises:
pre-establishing a corresponding relation between a plurality of subscription identifications and a plurality of URIs;
determining a URI corresponding to the subscription identifier according to the subscription identifier in the subscription change request, including:
and determining the URI corresponding to the subscription identifier according to the corresponding relation between the subscription identifier in the subscription change request and the subscription identifier.
8. The method of claim 7, wherein the subscription change request comprises a subscription update request and a subscription cancel request.
9. The method of claim 8, wherein before forwarding the subscription change response message sent by the second NRF module to the first target NRF module, the method further comprises:
and updating or deleting the corresponding relation according to the subscription change response message.
10. A cross-network request system, comprising: a first target NRF module and a second target NRF module, the first target NRF module being an NRF module within a home carrier network that communicates with a roaming carrier network, the second target NRF module being an NRF module within the roaming carrier network that communicates with the home carrier network;
the first target NRF module is configured to receive a subscription request sent by a first NRF module in the home carrier network, where the first NRF module is an NRF module in the home carrier network that is not in communication with the roaming carrier network, and the subscription request includes a subscription identifier and a user identifier; determining whether the NRF module corresponding to the network function NF subscribed by the user is the NRF module under the local operator network or not according to the subscription identifier; sending the subscription request to the second target NRF module when the NRF module corresponding to the NF subscribed by the user is not the NRF module under the local operator network; sending the received subscription response message to the first NRF module;
the second target NRF is used for determining a second NRF module according to the subscription request and sending the subscription request to the second NRF module; receiving a subscription response message sent by the second target NRF, wherein the subscription response message is generated by the second target NRF according to a Uniform Resource Identifier (URI) sent by the second NRF module and the user identifier; sending the subscription response message to the first target NRF module, the second NRF module being an NRF module within the roaming carrier network that is not in communication with the home carrier network.
11. An inter-network request device, applied to a first target Network Repository Function (NRF) module under a home carrier network, wherein the first target NRF module is an NRF module in the home carrier network and in communication with a roaming carrier network, and the device comprises:
a first receiving module, configured to receive a subscription request sent by a first NRF module in the home carrier network, where the first NRF module is an NRF module that is not in communication with the roaming carrier network in the home carrier network, and the subscription request includes a subscription identifier and a user identifier;
a first determining module, configured to determine, according to the subscription identifier, whether an NRF module corresponding to a network function NF subscribed by a user is an NRF module in the local operator network;
a first sending module, configured to send the subscription request to a second target NRF module in the roaming operator network when an NRF module corresponding to an NF subscribed by the user is not an NRF module in the local operator network, so that the second target NRF module determines, according to the subscription request, a second NRF module in the roaming operator network, and sends the subscription request to the second NRF module;
a second receiving module, configured to receive a subscription response message sent by the second target NRF, where the subscription response message is generated by the second target NRF according to the uniform resource identifier URI and the user identifier sent by the second NRF module;
a second sending module, configured to send the subscription response message to the first NRF module.
12. An inter-network request apparatus, applied to a second target NRF module under a roaming operator network, the second target NRF module being an NRF module in communication with a home operator network within the roaming operator network, the apparatus comprising:
a third receiving module, configured to receive a subscription request sent by a first target NRF module in a local operator network, where the subscription request includes a subscription identifier and a user identifier;
a second determining module, configured to determine a second NRF module according to the subscription request, and send the subscription request to the second NRF module, so that the second NRF module generates a uniform resource identifier URI according to the subscription request, where the second NRF module is an NRF module in the roaming operator network that is not in communication with the home operator network;
a first generating module, configured to generate a subscription response message according to the URI and the user identifier sent by the second NRF module;
a third sending module, configured to send the subscription response message to the first target NRF module.
13. An electronic device, comprising:
a processor; and
a memory for storing executable instructions of the processor;
wherein the processor is configured to perform the cross-network request method of any one of claims 1-9 via execution of the executable instructions.
14. A computer-readable storage medium, on which a computer program is stored, which, when being executed by a processor, implements the cross-network request method according to any one of claims 1 to 9.
CN202210639312.1A 2022-06-07 2022-06-07 Cross-network request method, system, device, equipment and storage medium Pending CN114867003A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202210639312.1A CN114867003A (en) 2022-06-07 2022-06-07 Cross-network request method, system, device, equipment and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202210639312.1A CN114867003A (en) 2022-06-07 2022-06-07 Cross-network request method, system, device, equipment and storage medium

Publications (1)

Publication Number Publication Date
CN114867003A true CN114867003A (en) 2022-08-05

Family

ID=82624711

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202210639312.1A Pending CN114867003A (en) 2022-06-07 2022-06-07 Cross-network request method, system, device, equipment and storage medium

Country Status (1)

Country Link
CN (1) CN114867003A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN115134908A (en) * 2022-08-30 2022-09-30 中国移动通信有限公司研究院 Network registration method under service architecture

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111758269A (en) * 2017-11-16 2020-10-09 华为技术有限公司 System and interface for cross-administrative or technical domain network function instantiation and configuration for roaming users
CN111865888A (en) * 2019-04-29 2020-10-30 华为技术有限公司 Proxy subscription authorization method and device
WO2021069057A1 (en) * 2019-10-07 2021-04-15 Huawei Technologies Co., Ltd. Network entities for intra and inter plmn roaming
US20210282003A1 (en) * 2018-07-09 2021-09-09 Convida Wireless, Llc Core network assisted service discovery
WO2022062920A1 (en) * 2020-09-25 2022-03-31 Telefonaktiebolaget Lm Ericsson (Publ) Method and apparatus for service registration and service discovery

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111758269A (en) * 2017-11-16 2020-10-09 华为技术有限公司 System and interface for cross-administrative or technical domain network function instantiation and configuration for roaming users
US20210282003A1 (en) * 2018-07-09 2021-09-09 Convida Wireless, Llc Core network assisted service discovery
CN111865888A (en) * 2019-04-29 2020-10-30 华为技术有限公司 Proxy subscription authorization method and device
WO2021069057A1 (en) * 2019-10-07 2021-04-15 Huawei Technologies Co., Ltd. Network entities for intra and inter plmn roaming
WO2022062920A1 (en) * 2020-09-25 2022-03-31 Telefonaktiebolaget Lm Ericsson (Publ) Method and apparatus for service registration and service discovery

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
""C4-216229 NRF Hierarchy R16 29510 CR0614"", 3GPP TSG_CT\\WG4_PROTOCOLLARS_EX-CN4, 5 November 2021 (2021-11-05) *

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN115134908A (en) * 2022-08-30 2022-09-30 中国移动通信有限公司研究院 Network registration method under service architecture
CN115134908B (en) * 2022-08-30 2022-12-02 中国移动通信有限公司研究院 Network registration method under service architecture

Similar Documents

Publication Publication Date Title
CN114375069B (en) Communication method and network equipment
CN114007194B (en) Subscription message sending method and device, electronic equipment and storage medium
US20230379709A1 (en) Registration method and apparatus, authentication method and apparatus, routing indicator determination method and apparatus, entity, and terminal
CN112632521A (en) Request response method and device, electronic equipment and storage medium
CN114867003A (en) Cross-network request method, system, device, equipment and storage medium
CN113556359B (en) Communication protocol conversion method, device, system and gateway device
CN112087475A (en) Message pushing method and device for cloud platform component application and message server
CN114866423B (en) Private network service policy control method, device, equipment and medium
CN115460690A (en) Positioning method, positioning device, electronic equipment and computer readable storage medium
CN114697355A (en) Data processing method and Internet of things gateway equipment
CN114979128A (en) Cross-region communication method and device and electronic equipment
CN112148324A (en) Method, apparatus and computer-readable storage medium for upgrading electronic device
CN114554482A (en) Data communication method, device, system, electronic equipment and storage medium
CN116939517A (en) Short message transmission method, network element, equipment and medium supporting service interface
CN116939762A (en) Service area limiting method, system, equipment and medium based on cell granularity
CN114760350B (en) Service realization method, device, equipment and medium in 5G network indirect communication scene
CN114828140B (en) Service flow message forwarding method and device, storage medium and electronic equipment
WO2024093534A1 (en) Npn identification method and apparatus, and related device
CN116669134B (en) Method, device, equipment and medium for adapting SMF network element and UPF network element
CN113472785B (en) Data processing method and device, electronic equipment and readable storage medium
CN116828449A (en) Terminal policy control method, device, equipment and storage medium in roaming scene
WO2023019944A1 (en) Key update method, network element, user equipment, and storage medium
CN116566911A (en) Load balancing method, load balancing device, electronic equipment and computer readable storage medium
CN116367275A (en) User network access mode selection method and device, electronic equipment and storage medium
CN117955946A (en) User session state management method and device, electronic equipment and storage 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