Information processing method, device, equipment, and readable storage medium
By processing network address conversion information within 5GC using NEF, SMF, UPF, and PCF, the patent addresses the lack of end-to-end control in 5GC networks, enabling efficient address translation and management.
Patent Information
- Application Number
- JP2024539672
- Authority / Receiving Office
- JP · JP
- Patent Type
- Applications
- Current Assignee / Owner
- Priority Date
- 2021-12-31
- Filing Date
- 2022-12-30
- Publication Date
- 2025-01-24
- Estimated Expiration
- 2042-12-30
AI Technical Summary
The 5G Core Network (5GC) lacks end-to-end control over network address translation (NAT) functions, which hinders effective network management and address conversion.
Implementing information processing methods and devices to acquire, process, and transmit network address conversion information between public and private network addresses, utilizing network functions such as NEF, SMF, UPF, and PCF, through mechanisms like NRF to facilitate address mapping and registration.
Enables end-to-end control of network address translation, allowing seamless conversion between public and private addresses, enhancing network management and functionality in 5GC environments.
Smart Images

Figure 2025501968000001_ABST
Abstract
Description
[Technical field]
[0001] (CROSS REFERENCE TO RELATED APPLICATIONS) This application claims priority to Chinese Patent Application No. 202111664677.1, filed in China on December 31, 2021, the entire contents of which are incorporated by reference into this disclosure. The present application relates to the field of communication technology, and in particular to an information processing method, apparatus, device and readable storage medium. [Background technology]
[0002] In a fifth-generation mobile communication (5th-Generation, 5G) network, which is a related technology, a 5G Core Network (5GC) cannot control a network address translation (NAT) function, which is disadvantageous in end-to-end control. Summary of the Invention [Problem to be solved by the invention]
[0003] SUMMARY OF THE DISCLOSURE Embodiments of the present application provide an information processing method, an apparatus, a device, and a readable storage medium for facilitating end-to-end control. [Means for solving the problem]
[0004] In a first aspect, an embodiment of the present application is an information processing method applied to a first network function, comprising: Obtaining network address translation information from a first device or function; performing processing according to the network address translation information; The network address translation information includes: An information processing method is provided, which includes one or more of a correspondence relationship between a public network address and a private network address, a public network address, a private network address, a port number of the public network address, and a port number of the private network address.
[0005] Optionally, the first network function is It includes at least one of a network exposure function (NEF), a session management function (SMF), a user plane function (UPF), a policy control function (PCF), and a network address translation function.
[0006] Optionally, the first device or function comprises: The network address translation function includes one or more of a network address translation device, a network address translation network element, an external function, a device or function or network element having network address translation information, and a device or function or network element having a network address translation function.
[0007] Optionally, obtaining network address translation information from the first device or function includes: determining a target first device or function; and obtaining the network address translation information from the target first device or function.
[0008] Optionally, obtaining network address translation information from the first device or function includes: Obtaining a first request for an Application Function (AF), the first request including a public network address; determining a target first device or function in accordance with the first request; Obtaining, from the target first device or function, a correspondence between the public network address and a private network address, or a private network address corresponding to the target public network address.
[0009] Optionally, when obtaining the correspondence between the public network address and the private network address from the target first device or function, performing processing according to the network address conversion information described above: determining a private network address corresponding to the public network address according to the public network address and a corresponding relationship between the public network address and a private network address;
[0010] Optionally, obtaining network address translation information from the first device or function includes: obtaining a second request from the AF for requesting a mapping relationship between the public network address and the private network address; determining a target first device or function in accordance with the second request; and obtaining, from the target first device or function, a correspondence between the public network address and the private network address.
[0011] Optionally, determining the target first device or function includes: Determining the target first device or function via a Network Repository Function (NRF).
[0012] Optionally, determining the target first device or function via the above-mentioned Network Repository Function (NRF) further comprises: sending a third request to the NRF; receiving information of the target first device or function transmitted in accordance with the third request from the NRF; the third request includes private network address information and / or public network address information; The private network address information includes one or more of an IPv4 address, an IPv6 prefix, and an IP domain, and the public network address information includes one or more of an IPv4 address and an IPv6 prefix.
[0013] Optionally, obtaining the correspondence between the public network address and the private network address from the target first device or function includes: The method includes invoking a service of the target first device or function to obtain the correspondence between the public network address and the private network address from the target first device or function.
[0014] Optionally, invoking a service of the target first device or function to obtain the correspondence between the public network address and the private network address from the target first device or function, sending a fourth request to the target first device or function, the fourth request including an ID and / or type of the first network function; receiving the correspondence between the public network address and the private network address sent in accordance with the fourth request from the target first device or function.
[0015] Optionally, obtaining from the target first device or function a private network address corresponding to the public network address includes: Invoking a service of the first device or function to obtain from the target first device or function a private network address corresponding to the public network address.
[0016] Optionally, invoking a service of the target first device or function to obtain from the target first device or function a private network address corresponding to the public network address, sending a fifth request to the target first device or function, the fifth request including an ID and / or type of the first network function and the private network address; receiving from the target first device or function a private network address corresponding to the public network address sent in accordance with the fifth request.
[0017] Optionally, performing processing according to the network address translation information as described above includes: Obtaining a private network address corresponding to the public network address as required by the AF; and obtaining a public network address corresponding to the private network address according to a requirement of the second device or function.
[0018] In a second aspect, an embodiment of the present application is an information processing method applied to a first device or function, comprising: sending network address translation information to a first network function, the network address translation information including: A correspondence between public network addresses and private network addresses; A public network address; A private network address; The port number of the public network address, and a port number of a private network address.
[0019] Optionally, the method further comprises: sending, to the NRF, a sixth request for registering with the NRF, the sixth request including private network address information and / or public network address information; The private network address information includes one or more of an IPv4 address segment, an IPv46 prefix segment, IP domain information, and a port number; The public network address information includes one or more of an IPv4 address segment, an IPv46 prefix segment, and a port number.
[0020] Optionally, the method further comprises: sending a seventh request to the NRF to deregister with the NRF; and sending an eighth request to the NRF to perform a registration update to the NRF.
[0021] Optionally, transmitting the network address translation information to the first network function includes: receiving a request for the first network function, the request including a network device ID and / or a type of the first network function; and transmitting the network address translation information to the first network function in accordance with the request.
[0022] Optionally, the request includes: Further included is one or more of information of candidate public network addresses and information of candidate private network addresses.
[0023] In a third aspect, an embodiment of the present application is an information processing method applied to an NRF, comprising: Obtaining a request for a first network function; transmitting, according to said request, to said first network function, information of a first device or function which is a device or function for providing network address translation information or for translating a network address according to the network address translation information; The network address translation information includes: A correspondence between public network addresses and private network addresses; A public network address; A private network address; The port number of the public network address, and a port number of a private network address.
[0024] Optionally, the method further comprises: receiving a sixth request for the first device or function; registering the first device or function in accordance with the sixth request; the sixth request includes private network address information and / or public network address information; The private network address information includes one or more of an IPv4 address segment, an IPv46 prefix segment, IP domain information, and a port number; The public network address information includes one or more of an IPv4 address segment, an IPv46 prefix segment, and a port number.
[0025] Optionally, the method further comprises: receiving a seventh request for the first device or function and deregistering the first device or function in accordance with the seventh request; receiving an eighth request for the first device or function; and registering and updating the first device or function according to the eighth request.
[0026] In a fourth aspect, an embodiment of the present application is an information processing method applied to a first network function, comprising: discovering, via the NRF, a first device or function for providing network address translation information or for translating a network address according to the network address translation information; The network address translation information includes: A correspondence between public network addresses and private network addresses; A public network address; A private network address; The port number of the public network address, and a port number of a private network address.
[0027] Optionally, discovering the first device or function via the NRF includes: sending a request to the NRF; receiving from the NRF information of the first device or function determined in accordance with the request; the request includes private network address information and / or public network address information; The private network address information includes one or more of an IPv4 address, an IPv6 prefix, and an IP domain, and the public network address information includes one or more of an IPv4 address and an IPv6 prefix.
[0028] In a fifth aspect, an embodiment of the present application is an information processing device applied to a first network function, a first obtaining module for obtaining network address translation information from a first device or function; a first processing module for performing processing according to the network address translation information; The network address translation information includes: The present invention provides an information processing device that includes one or more of a correspondence relationship between a public network address and a private network address, a public network address, a private network address, a port number of the public network address, and a port number of the private network address.
[0029] Wherein, the first network function is: It includes at least one of a network capability disclosure function (NEF), a session management function (SMF), a user plane function (UPF), a policy control function (PCF), and a network address translation function.
[0030] Among them, the first device or function is: The network address translation function includes one or more of a network address translation device, a network address translation network element, an external function, a device or function or network element having network address translation information, and a device or function or network element having a network address translation function.
[0031] Wherein, the first acquisition module comprises: a first determination submodule for determining a target first device or function; a first obtaining sub-module for obtaining the network address translation information from the target first device or function.
[0032] Wherein, the first acquisition module comprises: a first acquisition submodule for acquiring a first request of an application function (AF), the first request including a public network address; a first determination sub-module for determining a target first device or function according to the first request; and a second obtaining sub-module for obtaining, from the target first device or function, a correspondence relationship between the public network address and a private network address, or a private network address corresponding to the target public network address.
[0033] Wherein, when obtaining the correspondence relationship between the public network address and the private network address from the target first device or function, the first processing module: and determining a private network address corresponding to the public network address according to the public network address and a corresponding relationship between the public network address and a private network address.
[0034] Wherein, the second obtaining sub-module is for invoking a service of the first device or function to obtain a private network address corresponding to the public network address from the target first device or function.
[0035] Wherein, the second acquisition submodule sends a fifth request to the target first device or function, the fifth request including the ID and / or type of the first network function and the private network address; and receiving from the target first device or function a private network address corresponding to the public network address sent in accordance with the fifth request.
[0036] Wherein, the first acquisition module comprises: a first obtaining submodule for obtaining a second request of the AF, the second request being for requesting a mapping relationship between the public network address and the private network address; a first determination sub-module for determining a target first device or function according to the second request; and a second obtaining sub-module for obtaining the correspondence between the public network address and the private network address from the target first device or function.
[0037] Wherein, the first determination sub-module is for determining the target first device or function via a Network Repository Function (NRF).
[0038] Wherein, the first determination submodule comprises: sending a third request to the NRF; and receiving information of the target first device or function transmitted in accordance with the third request from the NRF; the third request includes private network address information and / or public network address information; The private network address information includes one or more of an IPv4 address, an IPv6 prefix, and an IP domain, and the public network address information includes one or more of an IPv4 address and an IPv6 prefix.
[0039] The second obtaining sub-module is for invoking a service of the target first device or function to obtain the correspondence between the public network address and the private network address from the target first device or function.
[0040] Among them, the second acquisition sub-module: sending a fourth request to the target first device or function, the fourth request including an ID and / or type of the first network function; and receiving the correspondence between the public network address and the private network address sent in accordance with the fourth request from the target first device or function.
[0041] The first processing module includes: Obtaining a private network address corresponding to the public network address as required by the AF; and obtaining a public network address corresponding to the private network address in accordance with a requirement of the second device or function.
[0042] In a sixth aspect, an embodiment of the present application is an information processing device applied to a first device or function, a first sending module for sending network address translation information to a first network function, the network address translation information including: A correspondence between public network addresses and private network addresses; A public network address; A private network address; The port number of the public network address, and a port number of a private network address.
[0043] The device includes: A second sending module for sending to the NRF a sixth request for registering with the NRF, the sixth request including private network address information and / or public network address information; The private network address information includes one or more of an IPv4 address segment, an IPv46 prefix segment, IP domain information, and a port number; The public network address information includes one or more of an IPv4 address segment, an IPv46 prefix segment, and a port number.
[0044] The device includes: a third sending module for sending a seventh request to deregister with the NRF; and a fourth sending module for sending an eighth request to the NRF to perform a registration update to the NRF.
[0045] Wherein, the first transmitting module comprises: receiving a request for the first network function, the request including a network device ID and / or a type of the first network function; and transmitting said network address translation information to said first network function in accordance with said request.
[0046] Among them, the above request includes: Further included is one or more of information of candidate public network addresses and information of candidate private network addresses.
[0047] In a seventh aspect, an embodiment of the present application is an information processing device applied to an NRF, a first obtaining module for obtaining a request for a first network function; a first sending module for sending, according to the request, to the first network function, information of a first device or function, the first device or function being a device or function for providing network address translation information or for translating a network address according to the network address translation information; The network address translation information includes: A correspondence between public network addresses and private network addresses; A public network address; A private network address; The port number of the public network address, and a port number of a private network address.
[0048] The device includes: a first receiving module for receiving a sixth request for the first device or function; and a first registration module for registering the first device or function in accordance with the sixth request; the sixth request includes private network address information and / or public network address information; The private network address information includes one or more of an IPv4 address segment, an IPv46 prefix segment, IP domain information, and a port number; The public network address information includes one or more of an IPv4 address segment, an IPv46 prefix segment, and a port number.
[0049] The device includes: a first de-registration module for receiving a seventh request for the first device or function and de-registering the first device or function in accordance with the seventh request; and a first registration update module for receiving an eighth request for the first device or function and registering and updating the first device or function according to the eighth request.
[0050] In an eighth aspect, an embodiment of the present application is an information processing device applied to a first network function, a first processing module for discovering, via the NRF, a first device or function, the first device or function being a device or function for providing network address translation information or for translating a network address according to the network address translation information; The network address translation information includes: A correspondence between public network addresses and private network addresses; A public network address; A private network address; The port number of the public network address, and a port number of a private network address.
[0051] The first processing module includes: a first sending sub-module for sending a request to the NRF; a first receiving sub-module for receiving information of the first device or function determined according to the request from the NRF; the request includes private network address information and / or public network address information; The private network address information includes one or more of an IPv4 address, an IPv6 prefix, and an IP domain, and the public network address information includes one or more of an IPv4 address and an IPv6 prefix.
[0052] In a ninth aspect, an embodiment of the present application provides an information processing device applied to a first network function, the information processing device including a processor and a transceiver, the transceiver is for obtaining network address translation information from a first device or function; the processor is for performing processing in accordance with the network address translation information; The network address translation information includes: The present invention provides an information processing device that includes one or more of a correspondence relationship between a public network address and a private network address, a public network address, a private network address, a port number of the public network address, and a port number of the private network address.
[0053] Wherein, the first network function is: It includes at least one of a network capability disclosure function (NEF), a session management function (SMF), a user plane function (UPF), a policy control function (PCF), and a network address translation function.
[0054] Among them, the first device or function is: The network address translation function includes one or more of a network address translation device, a network address translation network element, an external function, a device or function or network element having network address translation information, and a device or function or network element having a network address translation function.
[0055] Wherein, the processor determining a target first device or function; and for obtaining the network address translation information from the target first device or function.
[0056] Wherein, the processor obtaining a first request for an application function (AF), the first request including a public network address; determining a target first device or function in accordance with the first request; To obtain, from the target first device or function, a correspondence relationship between the public network address and a private network address, or a private network address corresponding to the target public network address.
[0057] Among them, when obtaining the correspondence between the public network address and the private network address from the target first device or function, the processor: and determining a private network address corresponding to the public network address according to the public network address and a corresponding relationship between the public network address and a private network address.
[0058] Wherein, the processor obtaining a second request from the AF for requesting a mapping relationship between the public network address and the private network address; determining a target first device or function according to the second request; and obtaining, from the target first device or function, a correspondence between the public network address and a private network address.
[0059] Wherein, the processor and for determining said target first device or function via a Network Repository Function (NRF).
[0060] Wherein, the processor sending a third request to the NRF; and receiving information of the target first device or function transmitted in accordance with the third request from the NRF; the third request includes private network address information and / or public network address information; The private network address information includes one or more of an IPv4 address, an IPv6 prefix, and an IP domain, and the public network address information includes one or more of an IPv4 address and an IPv6 prefix.
[0061] Wherein, the processor and for invoking a service of the target first device or function to obtain the correspondence between the public network address and the private network address from the target first device or function.
[0062] Wherein, the processor sending a fourth request to the target first device or function, the fourth request including an ID and / or type of the first network function; and receiving the correspondence between the public network address and the private network address sent in accordance with the fourth request from the target first device or function.
[0063] Wherein, the processor and invoking a service of the first device or function to obtain, from the target first device or function, a private network address corresponding to the public network address.
[0064] Wherein, the processor sending a fifth request to the target first device or function, the fifth request including the identity and / or type of the first network function and the private network address; and receiving from the target first device or function a private network address corresponding to the public network address sent in accordance with the fifth request.
[0065] Wherein, the processor Obtaining a private network address corresponding to the public network address as required by the AF; To obtain a public network address corresponding to the private network address according to a requirement of the second device or function.
[0066] In a tenth aspect, an embodiment of the present application is an information processing device applied to a first device or function, the information processing device including a processor and a transceiver, The transceiver is for transmitting network address translation information to a first network function, the network address translation information including: A correspondence between public network addresses and private network addresses; A public network address; A private network address; The port number of the public network address, and a port number of a private network address.
[0067] The transceiver comprises: and transmitting to the NRF a sixth request for registering with the NRF, the sixth request including private network address information and / or public network address information; The private network address information includes one or more of an IPv4 address segment, an IPv46 prefix segment, IP domain information, and a port number; The public network address information includes one or more of an IPv4 address segment, an IPv46 prefix segment, and a port number.
[0068] The transceiver comprises: sending a seventh request to the NRF to deregister with the NRF; and sending an eighth request to the NRF to perform a registration update to the NRF.
[0069] The transceiver comprises: receiving a request for the first network function, the request including a network device ID and / or a type of the first network function; and transmitting said network address translation information to said first network function in accordance with said request.
[0070] Among them, the above request includes: Further included is one or more of information of candidate public network addresses and information of candidate private network addresses.
[0071] In an eleventh aspect, an embodiment of the present application is an information processing device applied to an NRF, the information processing device including a processor and a transceiver, the transceiver is for obtaining a request of a first network function and transmitting, according to the request, to the first network function, information of a first device or function, the first device or function being a device or function for providing network address translation information or for network address translation according to the network address translation information; The network address translation information includes: A correspondence between public network addresses and private network addresses; A public network address; A private network address; The port number of the public network address, and a port number of a private network address.
[0072] Wherein, the transceiver is also for receiving a sixth request for the first device or function; the processor is also for registering the first device or function in accordance with the sixth request; the sixth request includes private network address information and / or public network address information; The private network address information includes one or more of an IPv4 address segment, an IPv46 prefix segment, IP domain information, and a port number; The public network address information includes one or more of an IPv4 address segment, an IPv46 prefix segment, and a port number.
[0073] Wherein, the processor receiving a seventh request for the first device or function and deregistering the first device or function in accordance with the seventh request; receiving an eighth request for the first device or function; and registering and updating the first device or function in accordance with the eighth request.
[0074] In a twelfth aspect, an embodiment of the present application is an information processing device applied to a first network function, the information processing device including a processor and a transceiver, the processor is for discovering, via the NRF, a first device or function, the first device or function being a device or function for providing network address translation information or for translating a network address according to the network address translation information; The network address translation information includes: A correspondence between public network addresses and private network addresses; A public network address; A private network address; The port number of the public network address, and a port number of a private network address.
[0075] Wherein, the processor Sending a request to the NRF; and receiving from the NRF information of the first device or function determined in accordance with the request; the request includes private network address information and / or public network address information; The private network address information includes one or more of an IPv4 address, an IPv6 prefix, and an IP domain, and the public network address information includes one or more of an IPv4 address and an IPv6 prefix.
[0076] In a thirteenth aspect, an embodiment of the present application further provides a communications device including a transceiver, a memory, a processor, and a program stored in the memory and operable on the processor, wherein, when the program is executed by the processor, steps in the information processing method described above are realized.
[0077] In a fourteenth aspect, an embodiment of the present application further provides a readable storage medium on which a program is stored, the program being executed by a processor to realize steps in the information processing method described above. Effect of the Invention
[0078] In an embodiment of the present application, the first network function can obtain network address translation information from the first device or function, and perform processing according to the network address translation information. By utilizing the aspect of the embodiment of the present application, since the first network function can obtain the network address translation information, the first network function can realize the corresponding network address translation function, thereby enabling end-to-end control. [Brief description of the drawings]
[0079] [Figure 1] 1 is a flowchart of an information processing method according to an embodiment of the present application. [Diagram 2] 2 is a second flowchart of an information processing method according to an embodiment of the present application. [Diagram 3]11 is a third flowchart of an information processing method according to an embodiment of the present application. [Figure 4] 4 is a fourth flowchart of the information processing method according to the embodiment of the present application. [Diagram 5] 5 is a fifth flowchart of the information processing method according to the embodiment of the present application. [Figure 6] 6 is a sixth flowchart of the information processing method according to the embodiment of the present application. [Figure 7] 1 is a structural diagram of an information processing device according to an embodiment of the present application; [Figure 8] FIG. 2 is a second structural diagram of an information processing device according to an embodiment of the present application. [Figure 9] FIG. 3 is a third structural diagram of an information processing device according to an embodiment of the present application. [Figure 10] FIG. 4 is a fourth structural diagram of an information processing device according to an embodiment of the present application. [Figure 11] FIG. 5 is a fifth structural diagram of an information processing device according to an embodiment of the present application. [Figure 12] FIG. 6 is a sixth structural diagram of an information processing device according to an embodiment of the present application. [Figure 13] FIG. 7 is a structural diagram of the information processing device according to the embodiment of the present application. [Figure 14] FIG. 8 is an eighth structural diagram of an information processing device according to an embodiment of the present application. DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS
[0080] In the embodiments of the present application, the term "and / or" describes a relationship between related objects and indicates that there are three possible relationships. For example, A and / or B may indicate three cases: only A is present, both A and B are present, and only B is present. The symbol " / " generally indicates an "or" relationship between the related objects before and after it.
[0081] In the present application, the term "plurality" means two or more, and similarly for other quantifiers.
[0082] Hereinafter, the technical aspects of the embodiments of the present application will be described clearly and completely with reference to the drawings in the embodiments of the present application, but it is obvious that the described embodiments are only some of the embodiments of the present application, and are not all of the embodiments. Based on the embodiments of the present application, other embodiments obtained by those skilled in the art without paying creative labor shall all be within the scope of protection of the present application.
[0083] Referring to Fig. 1, Fig. 1 is a flow chart of an information processing method according to an embodiment of the present application, which is applied to a first network function, where the first network function includes at least one of a NEF, an SMF, a UPF, a PCF, and a network address translation function, where the network address translation function may be a newly added network address translation function. As shown in Fig. 1, the method includes the following steps 101-102.
[0084] Step 101 is to obtain network address translation information from a first device or function.
[0085] Among them, the first device or function is: The network address translation function includes one or more of a network address translation device, a network address translation network element, an external function, a device or function or network element having network address translation information, and a device or function or network element having a network address translation function.
[0086] For example, in practical applications, the first device or function may be a NAT, and the NAT may be designed as a network function (Network Function, NF), i.e., NATF (NAT (Network Address Translation) NF).
[0087] The network address translation information includes: The information includes one or more of a correspondence relationship between a public network address and a private network address, a public network address, a private network address, a port number of the public network address, and a port number of the private network address.
[0088] In an embodiment of the present application, for example, the external address (outside the 5GC) of the NAT is a public network address, and inside the 5GC, a private network address is used.
[0089] In the embodiments of the present application, the network address translation information can be obtained in various ways.
[0090] For example, the first network function may determine a target first device or function and obtain the network address translation information from the target first device or function. After obtaining the network address translation information, the first network function may store it for subsequent use. In this case, the first network function may be a NEF, etc.
[0091] Further, for example, the first network function can obtain a first request of an application function (AF), the first request including a public network address, and determine a target first device or function according to the first request. Then, the first network function obtains the correspondence between the public network address and a private network address, or a private network address corresponding to the target public network address, from the target first device or function. That is, in this case, network address translation information is obtained according to the first request of AF. In this case, when the correspondence between the public network address and the private network address is obtained from the target first device or function, the first network function can also determine a private network address corresponding to the public network address in a subsequent step according to the public network address and the correspondence between the public network address and the private network address. Among them, the first request can be, for example, a User Equipment (UE) Identifier Query Request or a Session Binding Request, etc. In this case, the first network function can be a NEF, etc.
[0092] Further, for example, the first network function may obtain a second request from the AF, which is a second request for requesting a mapping relationship between a public network address and a private network address. Then, the first network function may determine a target first device or function according to the second request, and obtain the mapping relationship between the public network address and the private network address from the target first device or function. That is, in this case, network address translation information is obtained according to the first request from the AF. At this time, the first network function may be an SMF, a UPF, a PCF, etc. The second request may be sent, for example, when the AF needs to request capability disclosure information.
[0093] According to the above several methods, the acquisition of network address translation information can be flexibly realized to adapt to the needs of various scenarios.
[0094] In practical application, a first device or function can be registered with the NRF, and other devices or functions can search for a target first device or function through the NRF and obtain network address translation information from the target first device or function, where the target first device or function is a first device or function that can be discovered by the NRF. After obtaining the network address translation information from the target first device or function, the other devices or functions can obtain it by invoking the service of the target first device or function.
[0095] Specifically, in some of the above cases, the first network function can determine the target first device or function via the NRF. Specifically, the first network function can send a third request to the NRF and receive information of the target first device or function sent according to the third request from the NRF. The third request includes private network address information and / or public network address information, where the private network address information includes one or more of an IPv4 address, an IPv6 prefix, and an IP domain, and the public network address information includes one or more of an IPv4 address and an IPv6 prefix. Among them, the information of the target first device or function may be, for example, a name of a first network or function, an instance ID, etc.
[0096] In some of the above cases, when it is necessary to obtain the correspondence between the public network address and the private network address from the target first device or function, the first network function can call the service of the target first device or function to obtain the correspondence between the public network address and the private network address from the target first device or function. Specifically, the first network function sends a fourth request including an ID and / or a type of the first network function to the target first device or function, and receives the correspondence between the public network address and the private network address sent according to the fourth request from the target first device or function.
[0097] In some of the above cases, the first network function can invoke a service of the first device or function to obtain a private network address corresponding to the public network address from the target first device or function. Specifically, the first network function sends a fifth request to the target first device or function, the fifth request including the ID and / or type of the first network function and the private network address, and receives from the target first device or function the private network address corresponding to the public network address sent according to the fifth request.
[0098] Step 102 is to perform processing according to the network address translation information.
[0099] In this step, the first network function mainly performs one or more of the following: mapping a public network address to a private network address according to the requirement of the AF; and mapping a private network address to a public network address according to the requirement of a second device or function, which may be a device or function in the network that needs to map a private network address to a public network address.
[0100] In an embodiment of the present application, the first network function can obtain network address translation information from the first device or function, and perform processing according to the network address translation information. By utilizing the aspect of the embodiment of the present application, since the first network function can obtain the network address translation information, the first network function can realize the corresponding network address translation function, thereby enabling end-to-end control.
[0101] Referring to FIG. 2, FIG. 2 is a flow chart of an information processing method according to an embodiment of the present application, the information processing method being applied to a first device or function, where the first device or function includes one or more of a network address translation function, a network address translation device, a network address translation network element, an external function, a device or function or network element having network address translation information, and a device or function or network element having a network address translation function. For example, in practical application, the first device or function may be a NATF. As shown in FIG. 2, the method includes the following step 201:
[0102] Step 201 is to send network address translation information to a first network function, the network address translation information including: The information includes one or more of a correspondence relationship between a public network address and a private network address, a public network address, a private network address, a port number of the public network address, and a port number of the private network address.
[0103] In this step, a first device or function is capable of receiving a request from the first network function, the request including an ID and / or type of a network device of the first network function, and sending the network address translation information to the first network function in accordance with the request.
[0104] The meaning of the first network function can be referred to in the above embodiment. The request may further include one or more of candidate public network address information and candidate private network address information. The candidate public network address information or the candidate private network address information may be understood as, for example, the public network address or the private network address that the first network function wants to obtain.
[0105] The first function or device may also send to the NRF a sixth request for registration with the NRF, the sixth request including private network address information and / or public network address information, the private network address information including one or more of an IPv4 address segment, an IPv46 prefix segment, IP domain information, and a port number, and the public network address information including one or more of an IPv4 address segment, an IPv46 prefix segment, and a port number.
[0106] In the embodiment of the present application, taking the first function or device as an example, one or more services of the NATF can be defined, among which, the information of the service is as follows: Service 1: Nnatf_event exposure service Service name: A service invocation operation that allows subscription / notification and request / response to the service. Service Description: Allow other NFs to make a service call to NATF to obtain the mapping relationship between private network addresses and public network addresses, or map to the corresponding public network address / private network address according to a given private network address / public network address, or provide a port number of a public network address, or provide a port number of a private network address, etc. Input parameters: NF ID (NF identifier) or NF type to be accessed, selectable private network address / public network address. Output parameters: selectable public network address / private network address, mapping relationship between private network address and public network address, port number of public network address, port number of private network address.
[0107] As shown in Table 1, the network information stored by the NATF is shown, but it may also be information sent from the NATF to the NEF.
[0108] [Table 1]
[0109] The NATF can register by calling a service of the NRF. Specifically, the NATF registers its own NF profile to the NRF by calling the Nnrf_NFManagement_NFRegister service of the NRF. The NF profile includes, but is not limited to, an NF type, an NF instance ID, an NF fully qualified domain name (FQDN) or IP address, an NF service name, network slice information, data network name (DNN) information, private network address information, and public network address information. Here, the private network address information includes an IPv4 address segment, an IPv6 prefix segment, IP domain information (e.g., an IP domain list), and a port number, and the public network address information includes an IPv4 address segment, an IPv6 prefix segment, and a port number.
[0110] Other NFs such as NEFs can call the Nnrf_NFDiscovery_Request service of the NRF to discover a target NATF. Among them, input parameters in Nnrf_NFDiscovery_Request include, but are not limited to, one or more target NF service Name(s), NF type of the target NF, NF type of the NF service consumer, network slice information, DNN information, public network address information, and private network address information. Here, the public network address information includes an IPv4 address or an IPv6 prefix, and the private network address information includes an IPv4 address, an IPv6 prefix, an IP domain, etc. The query result output from the NRF is, for example, a NATF instance ID.
[0111] The first function or device may also send a seventh request to the NRF to deregister with the NRF and / or send an eighth request to the NRF to update the registration with the NRF.
[0112] For example, the NATF can call the NRF's Nnrf_NFManagement_NFderegister to deregister, or the NRF's Nnrf_NFManagement_NFUpdate to update the registration.
[0113] In an embodiment of the present application, the first network function can obtain network address translation information from the first device or function, and perform processing according to the network address translation information. By utilizing the aspect of the embodiment of the present application, since the first network function can obtain the network address translation information, the first network function can realize the corresponding network address translation function, thereby enabling end-to-end control.
[0114] Referring to Fig. 3, Fig. 3 is a flowchart of an information processing method according to an embodiment of the present application, where the information processing method is applied to an NRF. As shown in Fig. 3, the method may include the following steps 301-302.
[0115] Step 301 is to obtain a request for a first network function.
[0116] Step 302 is to send, according to said request, to said first network function, information of a first device or function, which is a device or function for providing network address translation information or for translating a network address according to the network address translation information.
[0117] The network address translation information includes: A correspondence between public network addresses and private network addresses; A public network address; A private network address; The port number of the public network address, and a port number of a private network address.
[0118] The information on the first function or device may be, for example, a name or an instance ID of the first function or device.
[0119] The NRF may also receive a sixth request for the first device or function and register the first device or function according to the sixth request, the sixth request including private network address information and / or public network address information, the private network address information including one or more of an IPv4 address segment, an IPv46 prefix segment, IP domain information, and a port number, and the public network address information including one or more of an IPv4 address segment, an IPv46 prefix segment, and a port number.
[0120] In addition, NRF: receiving a seventh request for the first device or function and deregistering the first device or function in accordance with the seventh request; receiving an eighth request for the first device or function; and registering and updating the first device or function according to the eighth request.
[0121] In an embodiment of the present application, the first network function can obtain network address translation information from the first device or function, and perform processing according to the network address translation information. By utilizing the aspect of the embodiment of the present application, since the first network function can obtain the network address translation information, the first network function can realize the corresponding network address translation function, thereby enabling end-to-end control.
[0122] 4, which is a flowchart of an information processing method according to an embodiment of the present application, the information processing method being applied to a first network function. As shown in FIG. 4, the method may include the following step 401:
[0123] Step 401 is to discover, via the NRF, a first device or function for providing network address translation information or for translating a network address according to the network address translation information; The network address translation information includes: A correspondence between public network addresses and private network addresses; A public network address; A private network address; The port number of the public network address, and a port number of a private network address.
[0124] Specifically, in this step, a first network function sends a request to the NRF, and receives information of the first device or function determined according to the request from the NRF, where the request includes private network address information and / or public network address information, the private network address information includes one or more of an IPv4 address, an IPv6 prefix, and an IP domain, and the public network address information includes one or more of an IPv4 address and an IPv6 prefix.
[0125] In an embodiment of the present application, the first network function can obtain network address translation information from the first device or function, and perform processing according to the network address translation information. By utilizing the aspect of the embodiment of the present application, since the first network function can obtain the network address translation information, the first network function can realize the corresponding network address translation function, thereby enabling end-to-end control.
[0126] In the above embodiment, the specific implementation method of various requests is not limited as long as it can be realized by utilizing the communication mechanism between the two communication sides.
[0127] Referring to FIG. 5, FIG. 5 is a flow chart of an information processing method according to an embodiment of the present application. Wherein, a first network function (NEF) obtains address mapping information of a first device or function (NATF). The NEF invokes a service of the NATF to obtain network address translation information. The NEF and the NATF may interact through a service-based interface, and the NATF may register its information in the NRF to facilitate the NEF to find the corresponding NATF through a service discovery function. The procedure according to the embodiment of the present application is applicable to a flow of querying session binding information by the AF, a flow of requesting a UE identifier by the AF, etc. As shown in FIG. 5, the procedure may include the following steps 500 to 507.
[0128] Step 500 is for the NATF to register with the NRF. Regarding the registration procedure, the relevant contents described in the above embodiments can be referred to.
[0129] Step 501 is that before a session is established or a specific AF is requested, the NEF invokes the service of the NRF to find a target NATF. When the NEF invokes the service of the NRF, the input parameters may include network slice information, DNN information, location information (UE location or NEF location), etc.
[0130] Step 502 is for the NEF to invoke a service of the target NATF to obtain and store network address translation information in the NEF for subsequent AF requests. Among them, step 502 and step 503 can be made into separate flows.
[0131] Step 503 is for the AF to request the NEF to perform session binding or UE identifier inquiry.
[0132] Step 504 is for the NEF to invoke the services of the NRF to find the target NATF.
[0133] Step 505 is for the NEF to invoke the service of the target NATF to obtain network address translation information.
[0134] In the embodiment of the present application, the network address translation information may include the correspondence between the public network address and the private network address, the public network address, the private network address, the port number of the public network address, and the port number of the private network address.
[0135] The NEF provides the UE IP address (ie, the UE public network address corresponding to the session) to the target NATF to obtain the network address translation information of the NATF (including the private network address of the session).
[0136] Step 506 is for the NEF to obtain a private network address for the UE of the session according to the public network address information provided by the AF and the network address translation information provided by the NATF.
[0137] Step 507 is for the NEF to use the private network address to initiate a session binding flow or a UE identifier inquiry flow.
[0138] Among them, after the above step 503, if the NEF itself stores the network address translation information, the NEF can obtain the private network address of the session of the UE according to the public network address information and the network address translation information provided by the AF. Then, execute step 507. That is, at this time, steps 504 to 506 do not need to be executed.
[0139] Among them, in the above step 505, the NEF can also directly obtain the UE private address corresponding to the session from the NATF, and in this case, the execution of step 506 may be omitted.
[0140] According to the above procedure, in 5GC, it is possible to realize network address translation function as well as session binding.
[0141] Referring to Fig. 6, Fig. 6 is a flow chart of an information processing method according to an embodiment of the present application. In the embodiment of the present application, a procedure in which a first network function (SMF / UPF / PCF) obtains network address translation information of a first device or function (NATF) is illustrated. As shown in Fig. 6, the procedure may include the following steps 600 to 607.
[0142] Step 600 is for the NATF to register with the NRF. Regarding the registration procedure, the relevant contents described in the above embodiments can be referred to.
[0143] In step 601, the AF requests the NEF for information on capabilities disclosure, including a request for network address translation information, etc. Here, the network address translation information may include, for example, a correspondence relationship between a public network address and a private network address.
[0144] In step 602, the NEF searches for the corresponding SMF / UPF via the PCF or the like, and makes a request to disclose related information.
[0145] Step 603 is for the SMF / UPF to search for the corresponding target NATF by invoking the service of the NRF.
[0146] Step 604 is for the SMF / UPF to request network address translation information of the target NATF by invoking a service of the target NATF.
[0147] Step 605 is for the target NATF to feed back the network address translation information to the SMF / UPF.
[0148] Step 606 is for the SMF / UPF to feed back the network address translation information to the NEF.
[0149] Step 607 is for the NEF to feed back the network address translation information to the AF.
[0150] According to the above procedure, it is possible to realize network address translation function in 5GC, as well as to realize processing of capability disclosure, etc.
[0151] The embodiment of the present application further provides an information processing device applied to a first network function. As shown in FIG. 7, the information processing device 700 includes: A first obtaining module 701 for obtaining network address translation information from a first device or function; and a first processing module 702 for performing processing according to the network address translation information; The network address translation information includes: The information includes one or more of a correspondence relationship between a public network address and a private network address, a public network address, a private network address, a port number of the public network address, and a port number of the private network address.
[0152] Wherein, the first network function is: It includes at least one of a network capability disclosure function (NEF), a session management function (SMF), a user plane function (UPF), a policy control function (PCF), and a network address translation function.
[0153] Among them, the first device or function is: The network address translation function includes one or more of a network address translation device, a network address translation network element, an external function, a device or function or network element having network address translation information, and a device or function or network element having a network address translation function.
[0154] Wherein, the first acquisition module comprises: a first determination submodule for determining a target first device or function; a first obtaining sub-module for obtaining the network address translation information from the target first device or function.
[0155] Wherein, the first acquisition module comprises: a first acquisition submodule for acquiring a first request of an application function (AF), the first request including a public network address; a first determination sub-module for determining a target first device or function according to the first request; and a second obtaining sub-module for obtaining, from the target first device or function, a correspondence relationship between the public network address and a private network address, or a private network address corresponding to the target public network address.
[0156] Wherein, when obtaining the correspondence relationship between the public network address and the private network address from the target first device or function, the first processing module: and determining a private network address corresponding to the public network address according to the public network address and a corresponding relationship between the public network address and a private network address.
[0157] Wherein, the second obtaining sub-module is for invoking a service of the first device or function to obtain a private network address corresponding to the public network address from the target first device or function.
[0158] Wherein, the second acquisition submodule sends a fifth request to the target first device or function, the fifth request including the ID and / or type of the first network function and the private network address; and receiving from the target first device or function a private network address corresponding to the public network address sent in accordance with the fifth request.
[0159] Wherein, the first acquisition module comprises: a first obtaining submodule for obtaining a second request of the AF, the second request being for requesting a mapping relationship between the public network address and the private network address; a first determination sub-module for determining a target first device or function according to the second request; and a second obtaining sub-module for obtaining the correspondence between the public network address and the private network address from the target first device or function.
[0160] Wherein, the first determination sub-module is for determining the target first device or function via a Network Repository Function (NRF).
[0161] Wherein, the first determination submodule comprises: sending a third request to the NRF; and receiving information of the target first device or function transmitted in accordance with the third request from the NRF; the third request includes private network address information and / or public network address information; The private network address information includes one or more of an IPv4 address, an IPv6 prefix, and an IP domain, and the public network address information includes one or more of an IPv4 address and an IPv6 prefix.
[0162] The second obtaining sub-module is for invoking a service of the target first device or function to obtain the correspondence between the public network address and the private network address from the target first device or function.
[0163] Among them, the second acquisition sub-module: sending a fourth request to the target first device or function, the fourth request including an ID and / or type of the first network function; and receiving the correspondence between the public network address and the private network address sent in accordance with the fourth request from the target first device or function.
[0164] The first processing module includes: mapping public network addresses to private network addresses as required by the AF; and mapping the private network address to a public network address in accordance with a requirement of the second device or function.
[0165] The apparatus according to the embodiment of the present application can implement the above method embodiment, and the realization principles and technical effects are similar, so the embodiment will not be repeated here.
[0166] The embodiment of the present application further provides an information processing device adapted to a first device or function. As shown in FIG. 8, the information processing device 800 includes: a first sending module 801 for sending network address translation information to a first network function, the network address translation information including: A correspondence between public network addresses and private network addresses; A public network address; A private network address; The port number of the public network address, and a port number of a private network address.
[0167] The device includes: A second sending module for sending to the NRF a sixth request for registering with the NRF, the sixth request including private network address information and / or public network address information; The private network address information includes one or more of an IPv4 address segment, an IPv46 prefix segment, IP domain information, and a port number; The public network address information includes one or more of an IPv4 address segment, an IPv46 prefix segment, and a port number.
[0168] The device includes: a third sending module for sending a seventh request to deregister with the NRF; and a fourth sending module for sending an eighth request to the NRF to perform a registration update to the NRF.
[0169] Wherein, the first transmitting module comprises: receiving a request for the first network function, the request including a network device ID and / or a type of the first network function; and transmitting said network address translation information to said first network function in accordance with said request.
[0170] Among them, the above request includes: Further included is one or more of information of candidate public network addresses and information of candidate private network addresses.
[0171] The apparatus according to the embodiment of the present application can implement the above method embodiment, and the realization principles and technical effects are similar, so the embodiment will not be repeated here.
[0172] An embodiment of the present application further provides an information processing device applied to NRF. As shown in FIG. 9, the information processing device 900 includes: A first obtaining module 901 for obtaining a request for a first network function; a first sending module 902 for sending, according to the request, to the first network function, information of a first device or function, the first device or function being a device or function for providing network address translation information or for translating a network address according to the network address translation information; The network address translation information includes: A correspondence between public network addresses and private network addresses; A public network address; A private network address; The port number of the public network address, and a port number of a private network address.
[0173] The device includes: a first receiving module for receiving a sixth request for the first device or function; and a first registration module for registering the first device or function in accordance with the sixth request; the sixth request includes private network address information and / or public network address information; The private network address information includes one or more of an IPv4 address segment, an IPv46 prefix segment, IP domain information, and a port number; The public network address information includes one or more of an IPv4 address segment, an IPv46 prefix segment, and a port number.
[0174] The device includes: a first de-registration module for receiving a seventh request for the first device or function and de-registering the first device or function in accordance with the seventh request; and a first registration update module for receiving an eighth request for the first device or function and registering and updating the first device or function according to the eighth request.
[0175] The apparatus according to the embodiment of the present application can implement the above method embodiment, and the realization principles and technical effects are similar, so the embodiment will not be repeated here.
[0176] The embodiment of the present application further provides an information processing device applied to a first network function. As shown in FIG. 10, the information processing device 1000 includes: a first processing module 1001 for discovering, via an NRF, a first device or function, the first device or function being a device or function for providing network address translation information or for translating a network address according to the network address translation information; The network address translation information includes: A correspondence between public network addresses and private network addresses; A public network address; A private network address; The port number of the public network address, and a port number of a private network address.
[0177] The first processing module includes: a first sending sub-module for sending a request to the NRF; a first receiving sub-module for receiving information of the first device or function determined according to the request from the NRF; the request includes private network address information and / or public network address information; The private network address information includes one or more of an IPv4 address, an IPv6 prefix, and an IP domain, and the public network address information includes one or more of an IPv4 address and an IPv6 prefix.
[0178] The apparatus according to the embodiment of the present application can implement the above method embodiment, and the realization principles and technical effects are similar, so the embodiment will not be repeated here.
[0179] It should be noted that the division into units in the embodiments of the present application is merely schematic and is a division into logical functions, and other division methods may be used in actual implementation. In addition, each functional unit in each embodiment of the present application may be integrated into one processing unit, each unit may exist physically separately, or two or more units may be integrated into one unit. The integrated units may be realized in the form of hardware or software functional units.
[0180] The integrated unit may be realized in the form of a software functional unit and stored in a processor-readable storage medium when sold or used as an independent product. Based on this understanding, the essential part of the technical aspects of the present application, or the part that contributes to the prior art, or all or part of the technical aspects can be embodied in the form of a software product. The computer software product is stored in a storage medium and includes some instructions for causing a computer device (which may be a personal computer, a server, a network device, etc.) or a processor to execute all or part of the steps in the method according to each embodiment of the present application. The aforementioned storage medium includes various media capable of storing program code, such as a USB flash drive, a portable hard disk, a read-only memory (ROM), a random access memory (RAM), a magnetic disk, or an optical disk.
[0181] An embodiment of the present application further provides an information processing device applied to a first network function. As shown in FIG. 11, the information processing device includes a processor 1101 and a transceiver 1102, The transceiver 1102 is for obtaining network address translation information from a first device or function; The processor 1101 is for performing processing according to the network address translation information, The network address translation information includes: The information includes one or more of a correspondence relationship between a public network address and a private network address, a public network address, a private network address, a port number of the public network address, and a port number of the private network address.
[0182] Wherein, the first network function is: It includes at least one of a network capability disclosure function (NEF), a session management function (SMF), a user plane function (UPF), a policy control function (PCF), and a network address translation function.
[0183] Among them, the first device or function is: The network address translation function includes one or more of a network address translation device, a network address translation network element, an external function, a device or function or network element having network address translation information, and a device or function or network element having a network address translation function.
[0184] Wherein, the processor determining a target first device or function; and for obtaining the network address translation information from the target first device or function.
[0185] Wherein, the processor obtaining a first request for an application function (AF), the first request including a public network address; determining a target first device or function in accordance with the first request; To obtain, from the target first device or function, a correspondence relationship between the public network address and a private network address, or a private network address corresponding to the target public network address.
[0186] Among them, when obtaining the correspondence between the public network address and the private network address from the target first device or function, the processor: and determining a private network address corresponding to the public network address according to the public network address and a corresponding relationship between the public network address and a private network address.
[0187] Wherein, the processor obtaining a second request from the AF for requesting a mapping relationship between the public network address and the private network address; determining a target first device or function according to the second request; and obtaining, from the target first device or function, a correspondence between the public network address and a private network address.
[0188] Wherein, the processor and for determining said target first device or function via a Network Repository Function (NRF).
[0189] Wherein, the processor sending a third request to the NRF; and receiving information of the target first device or function transmitted in accordance with the third request from the NRF; the third request includes private network address information and / or public network address information; The private network address information includes one or more of an IPv4 address, an IPv6 prefix, and an IP domain, and the public network address information includes one or more of an IPv4 address and an IPv6 prefix.
[0190] Wherein, the processor and for invoking a service of the target first device or function to obtain the correspondence between the public network address and the private network address from the target first device or function.
[0191] Wherein, the processor sending a fourth request to the target first device or function, the fourth request including an ID and / or type of the first network function; and receiving the correspondence between the public network address and the private network address sent in accordance with the fourth request from the target first device or function.
[0192] Wherein, the processor and invoking a service of the first device or function to obtain, from the target first device or function, a private network address corresponding to the public network address.
[0193] Wherein, the processor sending a fifth request to the target first device or function, the fifth request including the identity and / or type of the first network function and the private network address; and receiving from the target first device or function a private network address corresponding to the public network address sent in accordance with the fifth request.
[0194] Wherein, the processor Mapping public network addresses to private network addresses as required by the AF; For mapping private network addresses to public network addresses according to the requirements of the second device or function.
[0195] The apparatus according to the embodiment of the present application can implement the above method embodiment, and the realization principles and technical effects are similar, so the embodiment will not be repeated here.
[0196] An embodiment of the present application further provides an information processing device adapted to the first device or function. As shown in FIG. 12 , the information processing device includes a processor 1201 and a transceiver 1202, The transceiver is for transmitting network address translation information to a first network function, the network address translation information including: A correspondence between public network addresses and private network addresses; A public network address; A private network address; The port number of the public network address, and a port number of a private network address.
[0197] The transceiver comprises: and transmitting to the NRF a sixth request for registering with the NRF, the sixth request including private network address information and / or public network address information; The private network address information includes one or more of an IPv4 address segment, an IPv46 prefix segment, IP domain information, and a port number; The public network address information includes one or more of an IPv4 address segment, an IPv46 prefix segment, and a port number.
[0198] The transceiver comprises: sending a seventh request to the NRF to deregister with the NRF; and sending an eighth request to the NRF to perform a registration update to the NRF.
[0199] The transceiver comprises: receiving a request for the first network function, the request including a network device ID and / or a type of the first network function; and transmitting said network address translation information to said first network function in accordance with said request.
[0200] Among them, the above request includes: Further included is one or more of information of candidate public network addresses and information of candidate private network addresses.
[0201] The apparatus according to the embodiment of the present application can implement the above method embodiment, and the realization principles and technical effects are similar, so the embodiment will not be repeated here.
[0202] An embodiment of the present application further provides an information processing device applied to the NRF. As shown in FIG. 13, the information processing device includes a processor 1301 and a transceiver 1302, the transceiver is for obtaining a request of a first network function and transmitting, according to the request, to the first network function, information of a first device or function, the first device or function being a device or function for providing network address translation information or for network address translation according to the network address translation information; The network address translation information includes: A correspondence between public network addresses and private network addresses; A public network address; A private network address; The port number of the public network address, and a port number of a private network address.
[0203] Wherein, the transceiver is also for receiving a sixth request for the first device or function; the processor is also for registering the first device or function in accordance with the sixth request; the sixth request includes private network address information and / or public network address information; The private network address information includes one or more of an IPv4 address segment, an IPv46 prefix segment, IP domain information, and a port number; The public network address information includes one or more of an IPv4 address segment, an IPv46 prefix segment, and a port number.
[0204] Wherein, the processor receiving a seventh request for the first device or function and deregistering the first device or function in accordance with the seventh request; receiving an eighth request for the first device or function; and registering and updating the first device or function in accordance with the eighth request.
[0205] The apparatus according to the embodiment of the present application can implement the above method embodiment, and the realization principles and technical effects are similar, so the embodiment will not be repeated here.
[0206] An embodiment of the present application further provides an information processing device applied to the NRF. As shown in FIG. 14 , the information processing device includes a processor 1401 and a transceiver 1402, the processor is for discovering, via the NRF, a first device or function, the first device or function being a device or function for providing network address translation information or for translating a network address according to the network address translation information; The network address translation information includes: A correspondence between public network addresses and private network addresses; A public network address; A private network address; The port number of the public network address, and a port number of a private network address.
[0207] Wherein, the processor Sending a request to the NRF; and receiving from the NRF information of the first device or function determined in accordance with the request; the request includes private network address information and / or public network address information; The private network address information includes one or more of an IPv4 address, an IPv6 prefix, and an IP domain, and the public network address information includes one or more of an IPv4 address and an IPv6 prefix.
[0208] The apparatus according to the embodiment of the present application can implement the above method embodiment, and the realization principles and technical effects are similar, so the embodiment will not be repeated here.
[0209] An embodiment of the present application provides a communications device including a memory, a processor, and a program stored in the memory and operable on the processor, the processor being configured to read the program in the memory and realize steps in the information processing method described above.
[0210] The embodiments of the present application further provide a readable storage medium storing a program, which, when executed by a processor, realizes each procedure of the above-mentioned information processing method embodiments, and achieves the same technical effect, but will not be described again here to avoid redundancy. The readable storage medium may be any available medium or data storage device that can be accessed by a processor, including, but not limited to, magnetic memory (e.g., floppy disk, hard disk, magnetic tape, magneto-optical disk (MO) etc.), optical memory (e.g., CD, DVD, BD, HVD etc.), and semiconductor memory (e.g., ROM, EPROM, EEPROM, non-volatile memory (NAND FLASH), solid-state drive (SSD)), etc.
[0211] It should be explained that, as used herein, the terms "comprise," "comprises," or any other variant thereof, are intended to cover a non-exclusive inclusion, such that a procedure, method, article, or apparatus that includes a set of elements not only includes those elements, but also includes other elements not expressly listed or inherent to the procedure, method, article, or apparatus. Unless further limited, an element qualified by the term "comprises a ..." does not exclude the presence of other identical elements in the procedure, method, article, or apparatus that includes the element.
[0212] From the description of the above embodiments, those skilled in the art can clearly understand that the methods according to the above embodiments can be realized by adding a necessary general-purpose hardware platform to the software, and of course, the methods can also be realized by hardware, but in many cases, the former is a more preferable embodiment. Based on this understanding, the essential part of the technical aspects of the present application or the part that contributes to the prior art can be embodied in the form of a software product, and the computer software product is stored in a storage medium (e.g., ROM / RAM, magnetic disk, optical disk) and includes several instructions for enabling a terminal (which may be a mobile phone, a computer, a server, an air conditioner, a network device, etc.) to execute the methods described in each embodiment of the present application.
[0213] It is understood that the embodiments described in the embodiments of the present application can be realized by hardware, software, firmware, middleware, microcode, or a combination thereof. For hardware realization, the modules, units, submodules, subunits, etc. can be realized in one or more Application Specific Integrated Circuits (ASICs), Digital Signal Processing (DSPs), Digital Signal Processing Devices (DSPDs), Programmable Logic Devices (PLDs), Field-Programmable Gate Arrays (FPGAs), general-purpose processors, controllers, microcontrollers, microprocessors, other electronic units, or combinations thereof to perform the functions described herein.
[0214] Although the embodiments of the present application have been described above with reference to the drawings, the present application is not limited to the above specific embodiments, and the above specific embodiments are merely illustrative and not restrictive. Those skilled in the art can create many forms under the teachings of the present application without departing from the spirit of the present application and the scope of protection of the claims, and all of them shall be included in the scope of protection of the present application.
Claims
1. An information processing method applied to a first network function, Obtaining network address translation information from a first device or function; performing processing in accordance with the network address translation information, the network address translation information including: An information processing method including one or more of a correspondence relationship between a public network address and a private network address, a public network address, a private network address, a port number of the public network address, and a port number of the private network address.
2. The first network function is 2. The method of claim 1, comprising at least one of a Network Capability Exposure Function (NEF), a Session Management Function (SMF), a User Plane Function (UPF), a Policy Control Function (PCF), and a Network Address Translation Function.
3. The first device or function is 2. The method of claim 1, comprising one or more of a network address translation function, a network address translation device, a network address translation network element, an external function, a device or function or network element having network address translation information, and a device or function or network element having a network address translation function.
4. Obtaining network address translation information from the first device or function includes: determining a target first device or function; and obtaining the network address translation information from the target first device or function.
5. Obtaining network address translation information from the first device or function includes: Obtaining a first request for an application function (AF), the first request including a public network address; determining a target first device or function in accordance with the first request; The method of claim 1 , further comprising: obtaining, from the target first device or function, a correspondence between the public network address and a private network address, or a private network address corresponding to the target public network address.
6. When acquiring the correspondence between the public network address and the private network address from the target first device or function, performing processing according to the network address conversion information described above, The method of claim 5 , further comprising: determining a private network address corresponding to the public network address according to the public network address and a correspondence relationship between the public network address and a private network address.
7. Obtaining network address translation information from the first device or function includes: Obtaining a second request from the AF for requesting a mapping relationship between the public network address and the private network address; determining a target first device or function in accordance with the second request; The method of claim 1 , further comprising obtaining the correspondence between the public and private network addresses from the target first device or function.
8. Determining the target first device or function includes:
8. The method of claim 4, 5 or 7, comprising determining the target first device or function via a Network Repository Function (NRF).
9. Determining the target first device or function via the above-mentioned Network Repository Function (NRF) includes: sending a third request to the NRF; receiving information of the target first device or function transmitted in accordance with the third request from the NRF; the third request includes private network address information and / or public network address information; 9. The method of claim 8, wherein the private network address information includes one or more of an IPv4 address, an IPv6 prefix, and an IP domain, and the public network address information includes one or more of an IPv4 address and an IPv6 prefix.
10. The above-mentioned obtaining the correspondence between the public network address and the private network address from the target first device or function includes: The method according to claim 5 or 7, further comprising: invoking a service of the target first device or function to obtain the correspondence between the public network address and the private network address from the target first device or function.
11. Invoking the service of the target first device or function and acquiring the correspondence between the public network address and the private network address from the target first device or function, sending a fourth request to the target first device or function, the fourth request including an ID and / or a type of the first network function; and receiving the correspondence between the public and private network addresses from the target first device or function sent in accordance with the fourth request.
12. obtaining, from the target first device or function, a private network address corresponding to the public network address, The method of claim 5 , further comprising invoking a service of the first device or function to obtain from the target first device or function a private network address corresponding to the public network address.
13. Invoking a service of the target first device or function to obtain a private network address corresponding to the public network address from the target first device or function, sending a fifth request to the target first device or function, the fifth request including an ID and / or type of the first network function and the private network address; and receiving from the target first device or function a private network address corresponding to the public network address sent in accordance with the fifth request.
14. The process according to the network address conversion information is Obtaining a private network address corresponding to the public network address according to a request of the AF; and obtaining a public network address corresponding to the private network address in accordance with a request of the second device or function.
15. An information processing method applied to a first device or function, comprising: sending network address translation information to a first network function, the network address translation information including: A correspondence between public network addresses and private network addresses; A public network address; A private network address; The port number of the public network address, and a port number of a private network address.
16. The method comprises: sending to the NRF a sixth request for registration with the NRF, the sixth request including the private network address information and / or the public network address information; The private network address information includes one or more of an IPv4 address segment, an IPv46 prefix segment, IP domain information, and a port number; 16. The method of claim 15, wherein the public network address information includes one or more of an IPv4 address segment, an IPv46 prefix segment, and a port number.
17. The method comprises: sending a seventh request to the NRF to deregister with the NRF; and sending an eighth request to the NRF for performing a registration update to the NRF.
18. Sending the network address translation information to the first network function includes: receiving a request for the first network function, the request including a network device ID and / or a type of the first network function; and transmitting the network address translation information to the first network function in accordance with the request.
19. The request includes:
20. The method of claim 18, further comprising one or more of: candidate public network address information and candidate private network address information.
20. An information processing method applied to an NRF, comprising: Obtaining a request for a first network function; transmitting, according to said request, to said first network function, information of a first device or function which is a device or function for providing network address translation information or for translating a network address according to the network address translation information; The network address translation information includes: A correspondence between public network addresses and private network addresses; A public network address; A private network address; The port number of the public network address, and a port number of a private network address.
21. The method comprises: receiving a sixth request for the first device or function; registering the first device or function in accordance with the sixth request; the sixth request includes private network address information and / or public network address information; The private network address information includes one or more of an IPv4 address segment, an IPv46 prefix segment, IP domain information, and a port number; 21. The method of claim 20, wherein the public network address information includes one or more of an IPv4 address segment, an IPv46 prefix segment, and a port number.
22. The method comprises: receiving a seventh request for the first device or function and deregistering the first device or function in accordance with the seventh request; 22. The method of claim 21, further comprising one or more of: receiving an eighth request for the first device or function; and registering and updating the first device or function according to the eighth request.
23. An information processing method applied to a first network function, discovering, via the NRF, a first device or function for providing network address translation information or for translating network addresses according to the network address translation information; The network address translation information includes: A correspondence between public network addresses and private network addresses; A public network address; A private network address; The port number of the public network address, and a port number of a private network address.
24. Discovering the first device or function via the NRF includes: sending a request to the NRF; receiving information of the first device or function determined according to the request from the NRF; the request includes private network address information and / or public network address information; 24. The method of claim 23, wherein the private network address information includes one or more of an IPv4 address, an IPv6 prefix, and an IP domain, and the public network address information includes one or more of an IPv4 address and an IPv6 prefix.
25. An information processing device applied to a first network function, a first obtaining module for obtaining network address translation information from a first device or function; a first processing module for performing processing according to the network address translation information; The network address translation information includes: An information processing device comprising one or more of a correspondence relationship between a public network address and a private network address, a public network address, a private network address, a port number of the public network address, and a port number of the private network address.
26. An information processing device applied to a first device or function, a first sending module for sending network address translation information to a first network function, the network address translation information including: A correspondence between public network addresses and private network addresses; A public network address; A private network address; The port number of the public network address, and a port number of a private network address.
27. An information processing device applied to NRF, a first obtaining module for obtaining a request for a first network function; a first sending module for sending, according to the request, to the first network function, information of a first device or function, the first device or function being a device or function for providing network address translation information or for translating a network address according to the network address translation information; The network address translation information includes: A correspondence between public network addresses and private network addresses; A public network address; A private network address; The port number of the public network address, and a port number of a private network address.
28. An information processing device applied to a first network function, a first processing module for discovering, via the NRF, a first device or function, the first device or function being for providing network address translation information or for translating a network address according to the network address translation information; The network address translation information includes: A correspondence between public network addresses and private network addresses; A public network address; A private network address; The port number of the public network address, and a port number of a private network address.
29. An information processing device adapted for a first network function, the information processing device including a processor and a transceiver, the transceiver is for obtaining network address translation information from a first device or function; the processor is for performing processing in accordance with the network address translation information; The network address translation information includes: An information processing device comprising one or more of a correspondence relationship between a public network address and a private network address, a public network address, a private network address, a port number of the public network address, and a port number of the private network address.
30. An information processing device adapted for a first device or function, the information processing device including a processor and a transceiver; The transceiver is for transmitting network address translation information to a first network function, the network address translation information including: A correspondence between public network addresses and private network addresses; A public network address; A private network address; The port number of the public network address, and a port number of a private network address.
31. An information processing device for use in an NRF, comprising a processor and a transceiver, the transceiver is for obtaining a request of a first network function and transmitting, according to the request, to the first network function, information of a first device or function, the first device or function being a device or function for providing network address translation information or for network address translation according to the network address translation information; The network address translation information includes: A correspondence between public network addresses and private network addresses; A public network address; A private network address; The port number of the public network address, and a port number of a private network address.
32. An information processing device adapted for a first network function, the information processing device including a processor and a transceiver, the processor is for discovering, via the NRF, a first device or function, the first device or function being for providing network address translation information or for translating a network address according to the network address translation information; The network address translation information includes: A correspondence between public network addresses and private network addresses; A public network address; A private network address; The port number of the public network address, and a port number of a private network address.
33. A communications device comprising a memory, a processor, and a program stored in the memory and operable on the processor, the processor being configured to read the program in the memory and realize steps in an information processing method according to any one of claims 1 to 24.
34. A readable storage medium for storing a program, the program causing a processor to execute steps of the information processing method according to any one of claims 1 to 24.
Citation Information
Patent Citations
Method for supporting NAT functionality in a 5g core network and network
EP3829142A1
Data packet transfer
JP2018518124A
Enabling NAT for user plane traffic
WO2021009166A1