An information processing method, apparatus, device, and readable storage medium
By acquiring and processing network address translation information, the problem of 5GC's inability to perform network address translation in 5G networks has been solved, and end-to-end control capabilities have been achieved.
Patent Information
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- CHINA MOBILE COMM LTD RES INST
- Filing Date
- 2021-12-31
- Publication Date
- 2026-04-24
Smart Images

Figure CN116418780B_ABST
Abstract
Description
Technical Field
[0001] This 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 existing 5G networks, the 5GC (5G Core Network) cannot control NAT (network address translation) functionality, which is detrimental to end-to-end control. Summary of the Invention
[0003] This application provides an information processing method, apparatus, device, and readable storage medium to facilitate end-to-end control.
[0004] In a first aspect, embodiments of this application provide an information processing method applied to a first network function, comprising:
[0005] Obtain network address translation information from the first device or function;
[0006] Process according to the network address translation information;
[0007] The network address translation information includes one or more of the following:
[0008] The mapping between public and private network addresses; public network address; private network address; port number of public network address; port number of private network address.
[0009] Optionally, the first network function includes at least one of the following:
[0010] NEF (Network Exposure Function); SMF (Session Management Function); UPF (User Plane Function); PCF (Policy Control Function); Network Address Translation (NAT).
[0011] Optionally, the first device or function includes one or more of the following:
[0012] Network address translation function; network address translation device; network address translation network element; external function; device or function or network element with network address translation information; device or function or network element with network address translation function.
[0013] Optionally, obtaining network address translation information from the first device or function includes:
[0014] Identify the primary device or function of the target;
[0015] The network address translation information is obtained from the target first device or function.
[0016] Optionally, obtaining network address translation information from the first device or function includes:
[0017] The first request to obtain the AF (Application Function) includes a public IP address.
[0018] Based on the first request, the target first device or function is determined;
[0019] Obtain the correspondence between the public network address and the private network address from the target first device or function, or the private network address corresponding to the target public network address.
[0020] Optionally, when obtaining the correspondence between the public network address and the private network address from the target first device or function, the processing based on the network address translation information includes:
[0021] Based on the public network address and the correspondence between the public network address and the private network address, determine the private network address corresponding to the public network address.
[0022] Optionally, obtaining network address translation information from the first device or function includes:
[0023] Obtain the second request from AF, which is used to request the mapping relationship between public network addresses and private network addresses;
[0024] Based on the second request, the target first device or function is determined;
[0025] Obtain the correspondence between the public network address and the private network address from the target first device or function.
[0026] Optionally, determining the target first device or function includes:
[0027] The target first device or function is determined by NRF (Network Repository Function).
[0028] Optionally, determining the target first device or function via Network Storage Function (NRF) includes:
[0029] Send a third request to the NRF;
[0030] Receive information about the target first device or function sent by the NRF in accordance with the third request;
[0031] The third request includes information about a private network address and / or a public network address.
[0032] The private network address information includes one or more of the following: IPv4 address, IPv6 prefix, and IP domain; the public network address information includes one or more of the following: IPv4 address and IPv6 prefix.
[0033] Optionally, obtaining the correspondence between the public network address and the private network address from the target first device or function includes:
[0034] 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.
[0035] Optionally, the step of invoking 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 includes:
[0036] Send a fourth request to the target first device or function, the fourth request including the ID and / or type of the first network function;
[0037] Receive the mapping relationship between the public network address and the private network address sent by the target first device or function according to the fourth request.
[0038] Optionally, obtaining the private network address corresponding to the public network address from the target first device or function includes:
[0039] Call the service of the first device or function to obtain the private network address corresponding to the public network address from the target first device or function.
[0040] Optionally, the step of invoking the service of the target first device or function to obtain the private network address corresponding to the public network address from the target first device or function includes:
[0041] Send 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;
[0042] Receive the private network address corresponding to the public network address sent by the target first device or function according to the fifth request.
[0043] Optionally, the processing based on the network address translation information includes at least one of the following:
[0044] Based on the AF's request, map the public IP address to a private IP address;
[0045] Map a private network address to a public network address upon request from a second device or function.
[0046] Secondly, embodiments of this application provide an information processing method applied to a first device or function, including:
[0047] Sending network address translation information to the first network function, wherein the network address translation information includes one or more of the following:
[0048] The mapping between public and private network addresses;
[0049] Public IP address;
[0050] Private network address;
[0051] The port number of the public IP address;
[0052] The port number of the private network address.
[0053] Optionally, the method further includes:
[0054] Send a sixth request to the NRF, the sixth request being used to register with the NRF, wherein the sixth request includes: information of the private network address and / or information of the public network address;
[0055] The private network address information includes one or more of the following: IPv4 address range, IPv46 prefix range, IP domain information, and port number;
[0056] The information of the public IP address includes one or more of the following: IPv4 address range, IPv46 prefix range, and port number.
[0057] Optionally, the method further includes one or more of the following:
[0058] Send a seventh request to the NRF, the seventh request being used to deregister with the NRF;
[0059] An eighth request is sent to the NRF, the eighth request being used to register and update with the NRF.
[0060] Optionally, sending network address translation information to the first network function includes:
[0061] Receive a request from the first network function, including the ID and / or type of the network device for the first network function;
[0062] According to the request, the network address translation information is sent to the first network function.
[0063] Optionally, the request may further include:
[0064] One or more of the information of candidate public network addresses and candidate private network addresses.
[0065] Thirdly, embodiments of this application provide an information processing method applied to NRF, including:
[0066] A request to obtain the first network function;
[0067] According to the request, information about a first device or function is sent to the first network function, wherein the first device or function is used to provide network address translation information or to perform network address translation based on the network address translation information.
[0068] The network address translation information includes one or more of the following:
[0069] The mapping between public and private network addresses;
[0070] Public IP address;
[0071] Private network address;
[0072] The port number of the public IP address;
[0073] The port number of the private network address.
[0074] Optionally, the method further includes:
[0075] Receive the sixth request from the first device or function;
[0076] Register the first device or function according to the sixth request;
[0077] The sixth request includes: information about a private network address and / or information about a public network address;
[0078] The information of the private network address includes one or more of the following: IPv4 address range, IPv46 prefix range, IP domain information, and port number;
[0079] The information of the public IP address includes one or more of the following: IPv4 address range, IPv46 prefix range, and port number.
[0080] Optionally, the method further includes one or more of the following:
[0081] Receive a seventh request from the first device or function, and register the first device or function according to the seventh request;
[0082] Receive the eighth request from the first device or function, and update the registration of the first device or function according to the eighth request.
[0083] Fourthly, embodiments of this application provide an information processing method applied to a first network function, including:
[0084] Discover a first device or function through NRF, wherein the first device or function is used to provide network address translation information or perform network address translation based on network address translation information;
[0085] The network address translation information includes one or more of the following:
[0086] The mapping between public and private network addresses;
[0087] Public IP address;
[0088] Private network address;
[0089] The port number of the public IP address;
[0090] The port number of the private network address.
[0091] Optionally, the discovery of the first device or function via NRF includes:
[0092] Send a request to the NRF;
[0093] Receive information about the first device or function sent by the NRF in accordance with the request;
[0094] The request includes information about a private network address and / or a public network address;
[0095] The private network address information includes one or more of the following: IPv4 address, IPv6 prefix, and IP domain; the public network address information includes one or more of the following: IPv4 address and IPv6 prefix.
[0096] Fifthly, embodiments of this application provide an information processing apparatus applied to a first network function, including:
[0097] The first acquisition module is used to acquire network address translation information from the first device or function;
[0098] The first processing module is used to process the network address translation information.
[0099] The network address translation information includes one or more of the following:
[0100] The mapping between public and private network addresses; public network address; private network address; port number of public network address; port number of private network address.
[0101] The first network function includes at least one of the following:
[0102] Network Capability Opening Function (NEF); Session Management Function (SMF); User Plane Function (UPF); Policy Control Function (PCF); Network Address Translation (NAT).
[0103] The first device or function includes one or more of the following:
[0104] Network address translation function; network address translation device; network address translation network element; external function; device or function or network element with network address translation information; device or function or network element with network address translation function.
[0105] The first acquisition module includes:
[0106] The first determining submodule is used to determine the target first device or function;
[0107] The first acquisition submodule is used to acquire the network address translation information from the target first device or function.
[0108] The first acquisition module includes:
[0109] The first acquisition submodule is used to acquire the first request of application function AF, the first request including a public network address;
[0110] The first determining submodule is used to determine the target first device or function based on the first request;
[0111] The second acquisition submodule is used to acquire the correspondence between the public network address and the private network address from the target first device or function, or the private network address corresponding to the target public network address.
[0112] Wherein, when the correspondence between the public network address and the private network address is obtained from the target first device or function, the first processing module is used to:
[0113] Based on the public network address and the correspondence between the public network address and the private network address, determine the private network address corresponding to the public network address.
[0114] The second acquisition submodule is used to call the service of the first device or function to obtain the private network address corresponding to the public network address from the target first device or function.
[0115] The second acquisition submodule is used to send 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;
[0116] Receive the private network address corresponding to the public network address sent by the target first device or function according to the fifth request.
[0117] The first acquisition module includes:
[0118] The first acquisition submodule is used to acquire the second request of AF, which is used to request the mapping relationship between public network address and private network address;
[0119] The first determining submodule is used to determine the target first device or function based on the second request;
[0120] The second acquisition submodule is used to obtain the correspondence between the public network address and the private network address from the target first device or function.
[0121] The first determining submodule is configured to: determine the target first device or function through the Network Storage Function (NRF).
[0122] The first determining submodule is used for:
[0123] Send a third request to the NRF;
[0124] Receive information about the target first device or function sent by the NRF in accordance with the third request;
[0125] The third request includes information about a private network address and / or a public network address.
[0126] The private network address information includes one or more of the following: IPv4 address, IPv6 prefix, and IP domain; the public network address information includes one or more of the following: IPv4 address and IPv6 prefix.
[0127] The second acquisition submodule is used to 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.
[0128] The second acquisition submodule is used for:
[0129] Send a fourth request to the target first device or function, the fourth request including the ID and / or type of the first network function;
[0130] Receive the mapping relationship between the public network address and the private network address sent by the target first device or function according to the fourth request.
[0131] The first processing module is configured to perform at least one of the following:
[0132] Based on the AF's request, map the public IP address to a private IP address;
[0133] Map a private network address to a public network address upon request from a second device or function.
[0134] Sixthly, embodiments of this application provide an information processing apparatus, applied to a first device or function, including:
[0135] The first sending module is configured to send network address translation information to the first network function, wherein the network address translation information includes one or more of the following:
[0136] The mapping between public and private network addresses;
[0137] Public IP address;
[0138] Private network address;
[0139] The port number of the public IP address;
[0140] The port number of the private network address.
[0141] The device further includes:
[0142] The second sending module is used to send a sixth request to the NRF, the sixth request being used to register with the NRF, wherein the sixth request includes: information of a private network address and / or information of a public network address;
[0143] The private network address information includes one or more of the following: IPv4 address range, IPv46 prefix range, IP domain information, and port number;
[0144] The information of the public IP address includes one or more of the following: IPv4 address range, IPv46 prefix range, and port number.
[0145] The device further includes one or more of the following:
[0146] The third sending module is used to send a seventh request to the NRF, the seventh request being used to deregister with the NRF;
[0147] The fourth sending module is used to send an eighth request to the NRF, the eighth request being used to register and update with the NRF.
[0148] The first sending module is used for:
[0149] Receive a request from the first network function, including the ID and / or type of the network device for the first network function;
[0150] According to the request, the network address translation information is sent to the first network function.
[0151] This includes one or more of the information on candidate public network addresses and candidate private network addresses.
[0152] Seventhly, embodiments of this application provide an information processing apparatus applied to NRF, comprising:
[0153] The first acquisition module is used to acquire requests for the first network function;
[0154] The first sending module is configured to send information about a first device or function to the first network function according to the request, wherein the first device or function is configured to provide network address translation information or perform network address translation based on the network address translation information.
[0155] The network address translation information includes one or more of the following:
[0156] The mapping between public and private network addresses;
[0157] Public IP address;
[0158] Private network address;
[0159] The port number of the public IP address;
[0160] The port number of the private network address.
[0161] The device may further include:
[0162] The first receiving module is used to receive a sixth request from the first device or function;
[0163] The first registration module is used to register the first device or function according to the sixth request;
[0164] The sixth request includes: information about a private network address and / or information about a public network address;
[0165] The information of the private network address includes one or more of the following: IPv4 address range, IPv46 prefix range, IP domain information, and port number;
[0166] The information of the public IP address includes one or more of the following: IPv4 address range, IPv46 prefix range, and port number.
[0167] The device may also include one or more of the following:
[0168] The first deregistration module is used to receive a seventh request from the first device or function, and deregister the first device or function according to the seventh request;
[0169] The first registration update module is used to receive the eighth request from the first device or function, and to perform registration update on the first device or function according to the eighth request.
[0170] Eighthly, embodiments of this application provide an information processing apparatus applied to a first network function, including:
[0171] The first processing module is used to discover a first device or function through NRF, wherein the first device or function is used to provide network address translation information or perform network address translation based on the network address translation information.
[0172] The network address translation information includes one or more of the following:
[0173] The mapping between public and private network addresses;
[0174] Public IP address;
[0175] Private network address;
[0176] The port number of the public IP address;
[0177] The port number of the private network address.
[0178] The first processing module includes:
[0179] The first sending submodule is used to send a request to the NRF;
[0180] The first receiving submodule is used to receive information about the first device or function sent by the NRF according to the request;
[0181] The request includes information about a private network address and / or a public network address;
[0182] The private network address information includes one or more of the following: IPv4 address, IPv6 prefix, and IP domain; the public network address information includes one or more of the following: IPv4 address and IPv6 prefix.
[0183] Ninthly, embodiments of this application provide an information processing apparatus applied to a first network function, including: a processor and a transceiver;
[0184] The transceiver is used to obtain network address translation information from the first device or function;
[0185] The processor is used to process the network address translation information.
[0186] The network address translation information includes one or more of the following:
[0187] The mapping between public and private network addresses; public network address; private network address; port number of public network address; port number of private network address.
[0188] The first network function includes at least one of the following:
[0189] Network Capability Opening Function (NEF); Session Management Function (SMF); User Plane Function (UPF); Policy Control Function (PCF); Network Address Translation (NAT).
[0190] The first device or function includes one or more of the following:
[0191] Network address translation function; network address translation device; network address translation network element; external function; device or function or network element with network address translation information; device or function or network element with network address translation function.
[0192] The processor is used for:
[0193] Identify the primary device or function of the target;
[0194] The network address translation information is obtained from the target first device or function.
[0195] The processor is used for:
[0196] The first request to obtain the application function AF, wherein the first request includes a public IP address;
[0197] Based on the first request, the target first device or function is determined;
[0198] Obtain the correspondence between the public network address and the private network address from the target first device or function, or the private network address corresponding to the target public network address.
[0199] When the mapping between the public network address and the private network address is obtained from the target first device or function, the processor is used to:
[0200] Based on the public network address and the correspondence between the public network address and the private network address, determine the private network address corresponding to the public network address.
[0201] The processor is used for:
[0202] Obtain the second request from AF, which is used to request the mapping relationship between public network addresses and private network addresses;
[0203] Based on the second request, the target first device or function is determined;
[0204] Obtain the correspondence between the public network address and the private network address from the target first device or function.
[0205] The processor is used for:
[0206] The target first device or function is determined by the Network Storage Function (NRF).
[0207] The processor is used for:
[0208] Send a third request to the NRF;
[0209] Receive information about the target first device or function sent by the NRF in accordance with the third request;
[0210] The third request includes information about a private network address and / or a public network address.
[0211] The private network address information includes one or more of the following: IPv4 address, IPv6 prefix, and IP domain; the public network address information includes one or more of the following: IPv4 address and IPv6 prefix.
[0212] The processor is used for:
[0213] 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.
[0214] The processor is used for:
[0215] Send a fourth request to the target first device or function, the fourth request including the ID and / or type of the first network function;
[0216] Receive the mapping relationship between the public network address and the private network address sent by the target first device or function according to the fourth request.
[0217] The processor is used for:
[0218] Call the service of the first device or function to obtain the private network address corresponding to the public network address from the target first device or function.
[0219] The processor is used for:
[0220] Send 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;
[0221] Receive the private network address corresponding to the public network address sent by the target first device or function according to the fifth request.
[0222] The processor is used for:
[0223] Based on the AF's request, map the public IP address to a private IP address;
[0224] Map a private network address to a public network address upon request from a second device or function.
[0225] In a tenth aspect, embodiments of this application provide an information processing apparatus applied to a first device or function, comprising: a processor and a transceiver;
[0226] The transceiver is configured to send network address translation information to the first network function, wherein the network address translation information includes one or more of the following:
[0227] The mapping between public and private network addresses;
[0228] Public IP address;
[0229] Private network address;
[0230] The port number of the public IP address;
[0231] The port number of the private network address.
[0232] The transceiver is used for:
[0233] Send a sixth request to the NRF, the sixth request being used to register with the NRF, wherein the sixth request includes: information of the private network address and / or information of the public network address;
[0234] The private network address information includes one or more of the following: IPv4 address range, IPv46 prefix range, IP domain information, and port number;
[0235] The information of the public IP address includes one or more of the following: IPv4 address range, IPv46 prefix range, and port number.
[0236] The transceiver is configured to perform one or more of the following:
[0237] Send a seventh request to the NRF, the seventh request being used to deregister with the NRF;
[0238] An eighth request is sent to the NRF, the eighth request being used to register and update with the NRF.
[0239] The transceiver is used for:
[0240] Receive a request from the first network function, including the ID and / or type of the network device for the first network function;
[0241] According to the request, the network address translation information is sent to the first network function.
[0242] The request also includes:
[0243] One or more of the information of candidate public network addresses and candidate private network addresses.
[0244] Eleventhly, embodiments of this application provide an information processing apparatus applied to NRF, including: a processor and a transceiver;
[0245] The transceiver is configured to acquire a request for a first network function; and according to the request, send information about a first device or function to the first network function, wherein the first device or function is configured to provide network address translation information or perform network address translation based on the network address translation information.
[0246] The network address translation information includes one or more of the following:
[0247] The mapping between public and private network addresses;
[0248] Public IP address;
[0249] Private network address;
[0250] The port number of the public IP address;
[0251] The port number of the private network address.
[0252] The transceiver is further configured to receive a sixth request from the first device or function.
[0253] The processor is further configured to register the first device or function according to the sixth request;
[0254] The sixth request includes: information about a private network address and / or information about a public network address;
[0255] The information of the private network address includes one or more of the following: IPv4 address range, IPv46 prefix range, IP domain information, and port number;
[0256] The information of the public IP address includes one or more of the following: IPv4 address range, IPv46 prefix range, and port number.
[0257] The processor is further configured to perform one or more of the following:
[0258] Receive a seventh request from the first device or function, and register the first device or function according to the seventh request;
[0259] Receive the eighth request from the first device or function, and update the registration of the first device or function according to the eighth request.
[0260] In a twelfth aspect, embodiments of this application provide an information processing apparatus for a first network function, comprising: a processor and a transceiver;
[0261] The processor is configured to discover a first device or function via NRF, wherein the first device or function is configured to provide network address translation information or perform network address translation based on the network address translation information.
[0262] The network address translation information includes one or more of the following:
[0263] The mapping between public and private network addresses;
[0264] Public IP address;
[0265] Private network address;
[0266] The port number of the public IP address;
[0267] The port number of the private network address.
[0268] The processor is further configured to:
[0269] Send a request to the NRF;
[0270] Receive information about the first device or function sent by the NRF in accordance with the request;
[0271] The request includes information about a private network address and / or a public network address;
[0272] The private network address information includes one or more of the following: IPv4 address, IPv6 prefix, and IP domain; the public network address information includes one or more of the following: IPv4 address and IPv6 prefix.
[0273] In a thirteenth aspect, embodiments of this application also provide a communication device, including: a transceiver, a memory, a processor, and a program stored in the memory and executable on the processor, wherein the processor executes the program to implement the steps in the information processing method described above.
[0274] In a fourteenth aspect, embodiments of this application also provide a readable storage medium storing a program that, when executed by a processor, implements the steps in the information processing method described above.
[0275] In this embodiment, the first network function can obtain network address translation information from the first device or function, and process the information accordingly. Using the solution of this embodiment, since the first network function can obtain network address translation information, it can implement the corresponding network address translation function, thereby enabling end-to-end control. Attached Figure Description
[0276] Figure 1 This is one of the flowcharts of the information processing method provided in the embodiments of this application;
[0277] Figure 2 This is the second flowchart of the information processing method provided in the embodiments of this application;
[0278] Figure 3 This is the third flowchart of the information processing method provided in the embodiments of this application;
[0279] Figure 4 This is the fourth flowchart of the information processing method provided in the embodiments of this application;
[0280] Figure 5 This is the fifth flowchart of the information processing method provided in the embodiments of this application;
[0281] Figure 6 This is the sixth flowchart of the information processing method provided in the embodiments of this application;
[0282] Figure 7 This is one of the structural diagrams of the information processing apparatus provided in the embodiments of this application;
[0283] Figure 8 This is a second structural diagram of the information processing device provided in the embodiments of this application;
[0284] Figure 9 This is the third structural diagram of the information processing device provided in the embodiments of this application;
[0285] Figure 10 This is the fourth structural diagram of the information processing device provided in the embodiments of this application;
[0286] Figure 11 This is the fifth structural diagram of the information processing device provided in the embodiments of this application;
[0287] Figure 12 This is the sixth structural diagram of the information processing device provided in the embodiments of this application;
[0288] Figure 13 This is the seventh structural diagram of the information processing device provided in the embodiments of this application;
[0289] Figure 14 This is the eighth structural diagram of the information processing device provided in the embodiments of this application. Detailed Implementation
[0290] In the embodiments of this application, the term "and / or" describes the relationship between associated objects, indicating that three relationships can exist. For example, A and / or B can represent: A existing alone, A and B existing simultaneously, or B existing alone. The character " / " generally indicates that the preceding and following associated objects have an "or" relationship.
[0291] In the embodiments of this application, the term "multiple" refers to two or more, and other quantifiers are similar.
[0292] The technical solutions of the embodiments of this application will be clearly and completely described below with reference to the accompanying drawings. Obviously, the described embodiments are only a part of the embodiments of this application, and not all of the embodiments. Based on the embodiments of this application, all other embodiments obtained by those of ordinary skill in the art without creative effort are within the scope of protection of this application.
[0293] See Figure 1 , Figure 1 This is a flowchart of an information processing method provided in an embodiment of this application, applied to a first network function. The first network function includes at least one of the following: NEF; SMF; UPF; PCF; and network address translation (NAT). The NAT function may be a newly added NAT function. Figure 1 As shown, the method includes the following steps:
[0294] Step 101: Obtain network address translation information from the first device or function.
[0295] The first device or function includes one or more of the following:
[0296] Network address translation function; network address translation device; network address translation network element; external function; device or function or network element with network address translation information; device or function or network element with network address translation function.
[0297] For example, in practical applications, the first device or function may be NAT, where NAT can be designed as an NF (Network Function), namely NATF (Network Address Translation NF).
[0298] The network address translation information includes one or more of the following:
[0299] The mapping between public and private network addresses; public network address; private network address; port number of public network address; port number of private network address.
[0300] In this embodiment of the application, for example, the external address of NAT (outside of 5GC) is a public network address, while the internal address of 5GC is a private network address.
[0301] In the embodiments of this application, network address translation information can be obtained through various methods.
[0302] For example, a first network function can identify 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 can store it for later use. In this case, the first network function can be NEF, etc.
[0303] For example, a first network function may obtain a first request from application function AF, the first request including a public network address, and determine a target first device or function based on the first request. Then, the first network function obtains the mapping relationship between the public network address and the private network address, or the private network address corresponding to the target public network address, from the target first device or function. That is, this situation involves obtaining network address translation information in response to the first request from AF. In this case, when obtaining the mapping relationship between the public network address and the private network address from the target first device or function, the first network function can further determine the private network address corresponding to the public network address in subsequent steps based on the public network address and the mapping relationship between the public network address and the private network address. The first request may be, for example, a UE (User Equipment) identifier query request or a session binding request. In this case, the first network function may be NEF, etc.
[0304] For example, the first network function can also receive a second request from the AF, which requests the mapping relationship between public and private network addresses. Then, based on the second request, the first network function can determine a target first device or function and obtain the mapping relationship between the public and private network addresses from the target first device or function. That is, this situation involves obtaining network address translation information in response to a first request from the AF. In this case, the first network function can be an SMF, UPF, PCF, etc. The second request can be, for example, sent by the AF when it needs to request capability openness information.
[0305] The above methods can be used to flexibly obtain network address translation information to meet the needs of different scenarios.
[0306] In practical applications, a first device or function can be registered with the NRF. Other devices or functions can then locate the target first device or function through the NRF and obtain network address translation information from it. The target first device or function refers to any device or function that can be discovered by the NRF. When obtaining network address translation information from the target first device or function, other devices or functions can obtain it by calling the services of the target first device or function.
[0307] Specifically, in the above scenarios, the first network function can determine the target first device or function through the NRF. Specifically, the first network function can send a third request to the NRF and receive information about the target first device or function sent by the NRF based on the third request. The third request includes information about a private network address and / or a public network address; the private network address information includes one or more of the following: an IPv4 address, an IPv6 prefix, and an IP domain; the public network address information includes one or more of the following: an IPv4 address and an IPv6 prefix. The information about the target first device or function may, for example, be the name of the first network or function, an instance ID, etc.
[0308] In the above scenarios, when it is necessary to obtain the mapping relationship between the public network address and the private network address from the target first device or function, the first network function can invoke the service of the target first device or function to obtain the mapping relationship 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 to the target first device or function and receives the mapping relationship between the public network address and the private network address sent by the target first device or function according to the fourth request. The fourth request includes the ID and / or type of the first network function.
[0309] In the above scenarios, the first network function can invoke the service of the first device or function to obtain the 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 and receives the private network address corresponding to the public network address sent by the target first device or function according to the fifth request. The fifth request includes the ID and / or type of the first network function and the private network address.
[0310] Step 102: Process the network address translation information.
[0311] 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 request of the AF; and mapping a private network address to a public network address according to the request of the second device or function. The second device or function can be any device or function in the network that needs to map a private network address to a public network address.
[0312] In this embodiment, the first network function can obtain network address translation information from the first device or function, and process the information accordingly. Using the solution of this embodiment, since the first network function can obtain network address translation information, it can implement the corresponding network address translation function, thereby enabling end-to-end control.
[0313] See Figure 2 , Figure 2 This is a flowchart of an information processing method provided in an embodiment of this application, applied to a first device or function. The first device or function includes one or more of the following: a network address translation (NAT) function; a network address translation (NAT) device; a network address translation (NAT) element; an external function; a device, function, or network element having network address translation information; or a device, function, or network element having a network address translation function. For example, in practical applications, the first device or function may be NATF. Figure 2 As shown, the method includes the following steps:
[0314] Step 201: Send network address translation information to the first network function, wherein the network address translation information includes one or more of the following:
[0315] The mapping between public and private network addresses; public network address; private network address; port number of public network address; port number of private network address.
[0316] In this step, the first device or function may receive a request from the first network function, including the ID and / or type of the network device of the first network function, and send the network address translation information to the first network function according to the request.
[0317] The meaning of the first network function can be referred to the description in the foregoing embodiments. The request may also include one or more of the following: information on candidate public network addresses and information on candidate private network addresses. The information on candidate public network addresses or candidate private network addresses can be understood, for example, as the public network address or private network address that the first network function expects to obtain.
[0318] In addition, the first function or device may also send a sixth request to the NRF, the sixth request being used to register with the NRF, wherein the sixth request includes: information of a private network address and / or information of a public network address; wherein the information of the private network address includes one or more of the following: IPv4 address range, IPv46 prefix range, IP domain information, and port number; the information of the public network address includes one or more of the following: IPv4 address range, IPv46 prefix range, and port number.
[0319] In this embodiment of the application, taking NATF as an example, one or more NATF services can be defined. The information of these services is as follows:
[0320] Service 1: Nnatf_event exposure service
[0321] Service Name: This service allows for service call operations such as subscribe / notify and request / response.
[0322] Service Description: Allows other NFs to make service calls to NATF and obtain the mapping relationship between private network addresses and public network addresses; or, based on the provided private network address / public network address, maps it to the corresponding public network address / private network address; or, provides the port number of the public network address; or, provides the port number of the private network address, etc.
[0323] Input parameters: NF ID (NF identifier) or NF type to access, optional private network address / public network address.
[0324] Output parameters: optional public IP address / private IP address, mapping relationship between private IP address and public IP address; port number of public IP address; port number of private IP address.
[0325] Table 1 shows the network information stored by NATF, which can also be information sent by NATF to NEF.
[0326] Table 1
[0327]
[0328] NATF can register by calling NRF's services. Specifically, NATF calls NRF's Nnrf_NFManagement_NFRegister service to register its NF profile (NF attributes) with NRF. The NF profile includes, but is not limited to: NF type, NF instance ID, NF FQDN (Fully Qualified Domain Name) or IP address, NF service name, network slice information, DNN (Data Network Name) information, private network address information, and public network address information. The private network address information includes: IPv4 address range, IPv6 prefix range, IP domain information (IP domain list), and port number; the public network address information includes the IPv4 address range, IPv6 prefix range, and port number.
[0329] Other network elements (NFs), such as NEFs, can call the NRF's Nnrf_NFDiscovery_Request service to discover target NATFs. The input parameters for Nnrf_NFDiscovery_Request include, but are not limited to: one or more target NF service name(s), the NF type of the target NF, the NF type of the NF service consumer, network slice information, DNN information, public IP address information, and private IP address information. Public IP address information includes IPv4 address or IPv6 prefix, and private IP address information includes IPv4 address, IPv6 prefix, and IP domain. The NRF output query result is the NATF instance ID, etc.
[0330] In addition, the first function or device may also send a seventh request to the NRF for deregistration with the NRF; and / or send an eighth request to the NRF for registration update with the NRF.
[0331] For example, NATF can call NRF's Nnrf_NFManagement_NFderegister to deregister, or it can call NRF's Nnrf_NFManagement_NFUpdate to register and update.
[0332] In this embodiment, the first network function can obtain network address translation information from the first device or function, and process the information accordingly. Using the solution of this embodiment, since the first network function can obtain network address translation information, it can implement the corresponding network address translation function, thereby enabling end-to-end control.
[0333] See Figure 3 , Figure 3 This is a flowchart of an information processing method provided in an embodiment of this application, applied to NRF. For example... Figure 3 As shown, the method may include:
[0334] Step 301: Obtain the request for the first network function.
[0335] Step 302: According to the request, send information about a first device or function to the first network function, wherein the first device or function is used to provide network address translation information or perform network address translation based on the network address translation information.
[0336] The network address translation information includes one or more of the following:
[0337] The mapping between public and private network addresses;
[0338] Public IP address;
[0339] Private network address;
[0340] The port number of the public IP address;
[0341] The port number of the private network address.
[0342] The information of the first function or device may be, for example, the name of the first function or device, instance ID, etc.
[0343] In addition, the NRF can also receive a sixth request from the first device or function, and register the first device or function according to the sixth request; wherein the sixth request includes: information of a private network address and / or information of a public network address; the information of the private network address includes one or more of the following: IPv4 address range, IPv46 prefix range, IP domain information, and port number; the information of the public network address includes one or more of the following: IPv4 address range, IPv46 prefix range, and port number.
[0344] In addition, NRF can perform one or more of the following:
[0345] Receive a seventh request from the first device or function, and register the first device or function according to the seventh request;
[0346] Receive the eighth request from the first device or function, and update the registration of the first device or function according to the eighth request.
[0347] In this embodiment, the first network function can obtain network address translation information from the first device or function, and process the information accordingly. Using the solution of this embodiment, since the first network function can obtain network address translation information, it can implement the corresponding network address translation function, thereby enabling end-to-end control.
[0348] See Figure 4 , Figure 4 This is a flowchart of an information processing method provided in an embodiment of this application, applied to a first network function. For example... Figure 4 As shown, the method may include:
[0349] Step 401: Discover a first device or function through NRF, wherein the first device or function is used to provide network address translation information or perform network address translation based on network address translation information;
[0350] The network address translation information includes one or more of the following:
[0351] The mapping between public and private network addresses;
[0352] Public IP address;
[0353] Private network address;
[0354] The port number of the public IP address;
[0355] The port number of the private network address.
[0356] Specifically, in this step, the first network function sends a request to the NRF and receives information about the first device or function sent by the NRF according to the request. The request includes information about a private network address and / or a public network address; the private network address information includes one or more of the following: an IPv4 address, an IPv6 prefix, and an IP domain; the public network address information includes one or more of the following: an IPv4 address and an IPv6 prefix.
[0357] In this embodiment, the first network function can obtain network address translation information from the first device or function, and process the information accordingly. Using the solution of this embodiment, since the first network function can obtain network address translation information, it can implement the corresponding network address translation function, thereby enabling end-to-end control.
[0358] In the above embodiments, the specific implementation method of various requests is not limited, as long as it can be implemented using the communication mechanism between the two parties.
[0359] See Figure 5 , Figure 5 This is a flowchart of an information processing method according to an embodiment of this application. In this method, a first network function (NEF) obtains address mapping information from a first device or function (NATF). The NEF calls the NATF's service to obtain network address translation information. The NEF and NATF can interact through a service-based interface; the NATF can register its own information with the NRF, facilitating the NEF to find the corresponding NATF through service discovery. The process of this embodiment can be applied to processes such as the AF performing session binding information querying and the AF requesting UE identifiers. Figure 5 As shown, the process may include:
[0360] Step 500: NATF registers with NRF.
[0361] The registration process can be referred to the relevant content described in the above embodiments.
[0362] Step 501: Before any session establishment or specific AF request, the NEF calls the NRF service to find the target NATF. When calling the NRF service, the NEF can input parameters including network slice information, DNN information, and location information (UE location or NEF location).
[0363] Step 502: NEF calls the target NATF's service to obtain network address translation information and stores it in NEF to prepare for subsequent AF requests.
[0364] Steps 502 and 503 can be performed as separate processes.
[0365] Step 503: AF requests NEF to perform session binding or UE identifier query.
[0366] Step 504: NEF calls NRF's service to find the target NATF.
[0367] Step 505: NEF calls the target NATF's service to obtain network address translation information.
[0368] In this embodiment of the application, the network address translation information may include the correspondence between public network addresses and private network addresses, public network address, private network address, port number of public network address, and port number of private network address.
[0369] The NEF provides the target NATF with the UE IP address (i.e., the UE's public IP address corresponding to the session) and obtains the NATF's network address translation information (including the private IP address of the session).
[0370] Step 506: The NEF obtains the private network address of the UE for this session based on the public network address information provided by the AF and the network address translation information provided by the NATF.
[0371] Step 507: NEF uses the aforementioned private network address to initiate a session binding process or a UE identifier query process.
[0372] Following step 503, if the NEF itself stores network address translation information, the NEF can obtain the private network address of the UE for this session based on the public network address information provided by the AF and the network address translation information. Then, step 507 is executed. That is, steps 504-506 can be omitted at this point.
[0373] In step 505 above, NEF can also directly obtain the UE private address corresponding to the session from NATF, in which case step 506 can be omitted.
[0374] Through the above process, network address translation and session binding can be implemented in 5GC.
[0375] See Figure 6 , Figure 6 This is a flowchart of an information processing method according to an embodiment of this application. It is a schematic diagram illustrating the process by which a first network function (SMF / UPF / PCF) obtains network address translation information from a first device or function (NATF) according to an embodiment of this application. Figure 6 As shown, the process may include:
[0376] Step 600: NATF registers with NRF.
[0377] The registration process can be referred to the relevant content described in the above embodiments.
[0378] Step 601: The AF requests information from the NEF regarding capability access, including requesting network address translation (NAT) information. Here, the NAT information may include, for example, the mapping between public and private network addresses.
[0379] Step 602: NEF finds the corresponding SMF / UPF through PCF, etc., and makes an open request for the relevant information.
[0380] Step 603: SMF / UPF finds the corresponding target NATF by calling NRF services.
[0381] Step 604: SMF / UPF requests network address translation information from the target NATF by calling the target NATF's service.
[0382] Step 605: The target NATF sends network address translation information back to the SMF / UPF.
[0383] Step 606: SMF / UPF feeds back network address translation information to NEF.
[0384] Step 607: NEF sends network address translation information back to AF.
[0385] Through the above process, network address translation can be implemented in 5GC, and capability opening can also be achieved.
[0386] This application also provides an information processing apparatus applied to a first network function. For example... Figure 7 As shown, the information processing device 700 includes:
[0387] The first acquisition module 701 is used to acquire network address translation information from the first device or function; the first processing module 702 is used to process the network address translation information.
[0388] The network address translation information includes one or more of the following:
[0389] The mapping between public and private network addresses; public network address; private network address; port number of public network address; port number of private network address.
[0390] The first network function includes at least one of the following:
[0391] Network Capability Opening Function (NEF); Session Management Function (SMF); User Plane Function (UPF); Policy Control Function (PCF); Network Address Translation (NAT).
[0392] The first device or function includes one or more of the following:
[0393] Network address translation function; network address translation device; network address translation network element; external function; device or function or network element with network address translation information; device or function or network element with network address translation function.
[0394] The first acquisition module includes:
[0395] The first determining submodule is used to determine the target first device or function;
[0396] The first acquisition submodule is used to acquire the network address translation information from the target first device or function.
[0397] The first acquisition module includes:
[0398] The first acquisition submodule is used to acquire the first request of application function AF, the first request including a public network address;
[0399] The first determining submodule is used to determine the target first device or function based on the first request;
[0400] The second acquisition submodule is used to acquire the correspondence between the public network address and the private network address from the target first device or function, or the private network address corresponding to the target public network address.
[0401] Wherein, when the correspondence between the public network address and the private network address is obtained from the target first device or function, the first processing module is used to:
[0402] Based on the public network address and the correspondence between the public network address and the private network address, determine the private network address corresponding to the public network address.
[0403] The second acquisition submodule is used to call the service of the first device or function to obtain the private network address corresponding to the public network address from the target first device or function.
[0404] The second acquisition submodule is used to send 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;
[0405] Receive the private network address corresponding to the public network address sent by the target first device or function according to the fifth request.
[0406] The first acquisition module includes:
[0407] The first acquisition submodule is used to acquire the second request of AF, which is used to request the mapping relationship between public network address and private network address;
[0408] The first determining submodule is used to determine the target first device or function based on the second request;
[0409] The second acquisition submodule is used to obtain the correspondence between the public network address and the private network address from the target first device or function.
[0410] The first determining submodule is configured to: determine the target first device or function through the Network Storage Function (NRF).
[0411] The first determining submodule is used for:
[0412] Send a third request to the NRF;
[0413] Receive information about the target first device or function sent by the NRF in accordance with the third request;
[0414] The third request includes information about a private network address and / or a public network address.
[0415] The private network address information includes one or more of the following: IPv4 address, IPv6 prefix, and IP domain; the public network address information includes one or more of the following: IPv4 address and IPv6 prefix.
[0416] The second acquisition submodule is used to 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.
[0417] The second acquisition submodule is used for:
[0418] Send a fourth request to the target first device or function, the fourth request including the ID and / or type of the first network function;
[0419] Receive the mapping relationship between the public network address and the private network address sent by the target first device or function according to the fourth request.
[0420] The first processing module is configured to perform at least one of the following:
[0421] Based on the AF's request, map the public IP address to a private IP address;
[0422] Map a private network address to a public network address upon request from a second device or function.
[0423] The apparatus provided in this application embodiment can execute the above method embodiment, and its implementation principle and technical effect are similar, so it will not be described again here.
[0424] This application also provides an information processing apparatus, applied to a first device or function. For example... Figure 8 As shown, the information processing device 800 includes:
[0425] The first sending module 801 is used to send network address translation information to the first network function, wherein the network address translation information includes one or more of the following:
[0426] The mapping between public and private network addresses;
[0427] Public IP address;
[0428] Private network address;
[0429] The port number of the public IP address;
[0430] The port number of the private network address.
[0431] The device further includes:
[0432] The second sending module is used to send a sixth request to the NRF, the sixth request being used to register with the NRF, wherein the sixth request includes: information of a private network address and / or information of a public network address;
[0433] The private network address information includes one or more of the following: IPv4 address range, IPv46 prefix range, IP domain information, and port number;
[0434] The information of the public IP address includes one or more of the following: IPv4 address range, IPv46 prefix range, and port number.
[0435] The device further includes one or more of the following:
[0436] The third sending module is used to send a seventh request to the NRF, the seventh request being used to deregister with the NRF;
[0437] The fourth sending module is used to send an eighth request to the NRF, the eighth request being used to register and update with the NRF.
[0438] The first sending module is used for:
[0439] Receive a request from the first network function, including the ID and / or type of the network device for the first network function;
[0440] According to the request, the network address translation information is sent to the first network function.
[0441] This includes one or more of the information on candidate public network addresses and candidate private network addresses.
[0442] The apparatus provided in this application embodiment can execute the above method embodiment, and its implementation principle and technical effect are similar, so it will not be described again here.
[0443] This application also provides an information processing apparatus applied to NRF. For example... Figure 9 As shown, the information processing device 900 includes:
[0444] The first acquisition module 901 is used to acquire requests for the first network function;
[0445] The first sending module 902 is used to send information about a first device or function to the first network function according to the request, wherein the first device or function is used to provide network address translation information or to perform network address translation based on the network address translation information.
[0446] The network address translation information includes one or more of the following:
[0447] The mapping between public and private network addresses;
[0448] Public IP address;
[0449] Private network address;
[0450] The port number of the public IP address;
[0451] The port number of the private network address.
[0452] The device may further include:
[0453] The first receiving module is used to receive a sixth request from the first device or function;
[0454] The first registration module is used to register the first device or function according to the sixth request;
[0455] The sixth request includes: information about a private network address and / or information about a public network address;
[0456] The information of the private network address includes one or more of the following: IPv4 address range, IPv46 prefix range, IP domain information, and port number;
[0457] The information of the public IP address includes one or more of the following: IPv4 address range, IPv46 prefix range, and port number.
[0458] The device may also include one or more of the following:
[0459] The first deregistration module is used to receive a seventh request from the first device or function, and deregister the first device or function according to the seventh request;
[0460] The first registration update module is used to receive the eighth request from the first device or function, and to perform registration update on the first device or function according to the eighth request.
[0461] The apparatus provided in this application embodiment can execute the above method embodiment, and its implementation principle and technical effect are similar, so it will not be described again here.
[0462] This application also provides an information processing apparatus applied to a first network function. For example... Figure 10 As shown, the information processing device 1000 includes:
[0463] The first processing module 1001 is used to discover a first device or function through NRF, wherein the first device or function is used to provide network address translation information or perform network address translation based on the network address translation information.
[0464] The network address translation information includes one or more of the following:
[0465] The mapping between public and private network addresses;
[0466] Public IP address;
[0467] Private network address;
[0468] The port number of the public IP address;
[0469] The port number of the private network address.
[0470] The first processing module includes:
[0471] The first sending submodule is used to send a request to the NRF;
[0472] The first receiving submodule is used to receive information about the first device or function sent by the NRF according to the request;
[0473] The request includes information about a private network address and / or a public network address;
[0474] The private network address information includes one or more of the following: IPv4 address, IPv6 prefix, and IP domain; the public network address information includes one or more of the following: IPv4 address and IPv6 prefix.
[0475] The apparatus provided in this application embodiment can execute the above method embodiment, and its implementation principle and technical effect are similar, so it will not be described again here.
[0476] It should be noted that the division of units in the embodiments of this application is illustrative and only represents one logical functional division. In actual implementation, other division methods may be used. Furthermore, the functional units in the various embodiments of this application can be integrated into one processing unit, or each unit can exist physically separately, or two or more units can be integrated into one unit. The integrated units described above can be implemented in hardware or as software functional units.
[0477] If the integrated unit is implemented as a software functional unit and sold or used as an independent product, it can be stored in a processor-readable storage medium. Based on this understanding, the technical solution of this application, in essence, or the part that contributes to the prior art, or all or part of the technical solution, can be embodied in the form of a software product. This computer software product is stored in a storage medium and includes several instructions to cause a computer device (which may be a personal computer, server, or network device, etc.) or processor to execute all or part of the steps of the methods described in the various embodiments of this application. The aforementioned storage medium includes various media capable of storing program code, such as USB flash drives, portable hard drives, read-only memory (ROM), random access memory (RAM), magnetic disks, or optical disks.
[0478] This application also provides an information processing apparatus applied to a first network function. For example... Figure 11 As shown, the information processing device includes: a processor 1101 and a transceiver 1102;
[0479] The transceiver 1102 is used to obtain network address translation information from the first device or function;
[0480] The processor 1101 is used to process the network address translation information.
[0481] The network address translation information includes one or more of the following:
[0482] The mapping between public and private network addresses; public network address; private network address; port number of public network address; port number of private network address.
[0483] The first network function includes at least one of the following:
[0484] Network Capability Opening Function (NEF); Session Management Function (SMF); User Plane Function (UPF); Policy Control Function (PCF); Network Address Translation (NAT).
[0485] The first device or function includes one or more of the following:
[0486] Network address translation function; network address translation device; network address translation network element; external function; device or function or network element with network address translation information; device or function or network element with network address translation function.
[0487] The processor is used for:
[0488] Identify the primary device or function of the target;
[0489] The network address translation information is obtained from the target first device or function.
[0490] The processor is used for:
[0491] The first request to obtain the application function AF, wherein the first request includes a public IP address;
[0492] Based on the first request, the target first device or function is determined;
[0493] Obtain the correspondence between the public network address and the private network address from the target first device or function, or the private network address corresponding to the target public network address.
[0494] When the mapping between the public network address and the private network address is obtained from the target first device or function, the processor is used to:
[0495] Based on the public network address and the correspondence between the public network address and the private network address, determine the private network address corresponding to the public network address.
[0496] The processor is used for:
[0497] Obtain the second request from AF, which is used to request the mapping relationship between public network addresses and private network addresses;
[0498] Based on the second request, the target first device or function is determined;
[0499] Obtain the correspondence between the public network address and the private network address from the target first device or function.
[0500] The processor is used for:
[0501] The target first device or function is determined by the Network Storage Function (NRF).
[0502] The processor is used for:
[0503] Send a third request to the NRF;
[0504] Receive information about the target first device or function sent by the NRF in accordance with the third request;
[0505] The third request includes information about a private network address and / or a public network address.
[0506] The private network address information includes one or more of the following: IPv4 address, IPv6 prefix, and IP domain; the public network address information includes one or more of the following: IPv4 address and IPv6 prefix.
[0507] The processor is used for:
[0508] 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.
[0509] The processor is used for:
[0510] Send a fourth request to the target first device or function, the fourth request including the ID and / or type of the first network function;
[0511] Receive the mapping relationship between the public network address and the private network address sent by the target first device or function according to the fourth request.
[0512] The processor is used for:
[0513] Call the service of the first device or function to obtain the private network address corresponding to the public network address from the target first device or function.
[0514] The processor is used for:
[0515] Send 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;
[0516] Receive the private network address corresponding to the public network address sent by the target first device or function according to the fifth request.
[0517] The processor is used for:
[0518] Based on the AF's request, map the public IP address to a private IP address;
[0519] Map a private network address to a public network address upon request from a second device or function.
[0520] The apparatus provided in this application embodiment can execute the above method embodiment, and its implementation principle and technical effect are similar, so it will not be described again here.
[0521] This application also provides an information processing apparatus, applied to a first device or function, such as... Figure 12 As shown, the information processing device includes: a processor 1201 and a transceiver 1202;
[0522] The transceiver is configured to send network address translation information to the first network function, wherein the network address translation information includes one or more of the following:
[0523] The mapping between public and private network addresses;
[0524] Public IP address;
[0525] Private network address;
[0526] The port number of the public IP address;
[0527] The port number of the private network address.
[0528] The transceiver is used for:
[0529] Send a sixth request to the NRF, the sixth request being used to register with the NRF, wherein the sixth request includes: information of the private network address and / or information of the public network address;
[0530] The private network address information includes one or more of the following: IPv4 address range, IPv46 prefix range, IP domain information, and port number;
[0531] The information of the public IP address includes one or more of the following: IPv4 address range, IPv46 prefix range, and port number.
[0532] The transceiver is configured to perform one or more of the following:
[0533] Send a seventh request to the NRF, the seventh request being used to deregister with the NRF;
[0534] An eighth request is sent to the NRF, the eighth request being used to register and update with the NRF.
[0535] The transceiver is used for:
[0536] Receive a request from the first network function, including the ID and / or type of the network device for the first network function;
[0537] According to the request, the network address translation information is sent to the first network function.
[0538] The request also includes:
[0539] One or more of the information of candidate public network addresses and candidate private network addresses.
[0540] The apparatus provided in this application embodiment can execute the above method embodiment, and its implementation principle and technical effect are similar, so it will not be described again here.
[0541] This application also provides an information processing device applied to NRF, such as... Figure 13 As shown, the information processing device includes: a processor 1301 and a transceiver 1302;
[0542] The transceiver is configured to acquire a request for a first network function; and according to the request, send information about a first device or function to the first network function, wherein the first device or function is configured to provide network address translation information or perform network address translation based on the network address translation information.
[0543] The network address translation information includes one or more of the following:
[0544] The mapping between public and private network addresses;
[0545] Public IP address;
[0546] Private network address;
[0547] The port number of the public IP address;
[0548] The port number of the private network address.
[0549] The transceiver is further configured to receive a sixth request from the first device or function.
[0550] The processor is further configured to register the first device or function according to the sixth request;
[0551] The sixth request includes: information about a private network address and / or information about a public network address;
[0552] The information of the private network address includes one or more of the following: IPv4 address range, IPv46 prefix range, IP domain information, and port number;
[0553] The information of the public IP address includes one or more of the following: IPv4 address range, IPv46 prefix range, and port number.
[0554] The processor is further configured to perform one or more of the following:
[0555] Receive a seventh request from the first device or function, and register the first device or function according to the seventh request;
[0556] Receive the eighth request from the first device or function, and update the registration of the first device or function according to the eighth request.
[0557] The apparatus provided in this application embodiment can execute the above method embodiment, and its implementation principle and technical effect are similar, so it will not be described again here.
[0558] This application also provides an information processing device applied to NRF, such as... Figure 14 As shown, the information processing device includes: a processor 1401 and a transceiver 1402;
[0559] The processor is configured to discover a first device or function via NRF, wherein the first device or function is configured to provide network address translation information or perform network address translation based on the network address translation information.
[0560] The network address translation information includes one or more of the following:
[0561] The mapping between public and private network addresses;
[0562] Public IP address;
[0563] Private network address;
[0564] The port number of the public IP address;
[0565] The port number of the private network address.
[0566] The processor is further configured to:
[0567] Send a request to the NRF;
[0568] Receive information about the first device or function sent by the NRF in accordance with the request;
[0569] The request includes information about a private network address and / or a public network address;
[0570] The private network address information includes one or more of the following: IPv4 address, IPv6 prefix, and IP domain; the public network address information includes one or more of the following: IPv4 address and IPv6 prefix.
[0571] The apparatus provided in this application embodiment can execute the above method embodiment, and its implementation principle and technical effect are similar, so it will not be described again here.
[0572] This application provides a communication device, including: a memory, a processor, and a program stored in the memory and executable on the processor; the processor is configured to read the program from the memory to implement the steps in the information processing method described above.
[0573] This application also provides a readable storage medium storing a program. When executed by a processor, this program implements the various processes of the above-described information processing method embodiments and achieves the same technical effects. To avoid repetition, it will not be described again here. The readable storage medium can be any available medium or data storage device that the processor can access, including but not limited to magnetic storage (e.g., floppy disks, hard disks, magnetic tapes, magneto-optical disks (MO), etc.), optical storage (e.g., CDs, DVDs, BDs, HVDs, etc.), and semiconductor storage (e.g., ROMs, EPROMs, EEPROMs, non-volatile memory (NAND flash), solid-state drives (SSDs)).
[0574] It should be noted that, in this document, the terms "comprising," "including," or any other variations thereof are intended to cover non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements includes not only those elements but also other elements not expressly listed, or elements inherent to such a process, method, article, or apparatus. Unless otherwise specified, an element defined by the phrase "comprising one..." does not exclude the presence of other identical elements in the process, method, article, or apparatus that includes that element.
[0575] Through the above description of the embodiments, those skilled in the art can clearly understand that the methods of the above embodiments can be implemented by means of software plus necessary general-purpose hardware platforms. Of course, they can also be implemented by hardware, but in many cases the former is a better implementation method. Based on this understanding, the technical solution of this application, in essence, or the part that contributes to the prior art, can be embodied in the form of a software product. This computer software product is stored in a storage medium (such as ROM / RAM, disk, optical disk) and includes several instructions to cause a terminal (which may be a mobile phone, computer, server, air conditioner, or network device, etc.) to execute the methods described in the various embodiments of this application.
[0576] The embodiments of this application have been described above with reference to the accompanying drawings. However, this application is not limited to the specific embodiments described above. The specific embodiments described above are merely illustrative and not restrictive. Those skilled in the art can make many other forms under the guidance of this application without departing from the spirit and scope of the claims, and all of these forms are within the protection scope of this application.
Claims
1. An information processing method applied to a first network function, characterized in that, include: Obtain network address translation information from the first device or function; Process according to the network address translation information; The network address translation information includes one or more of the following: The mapping between public and private IP addresses; public IP address; private IP address; port number of public IP address; port number of private IP address; The first network function includes the Network Capability Opening Function (NEF).
2. The method according to claim 1, characterized in that, The first network function also includes at least one of the following: Session Management Function (SMF); User Plane Function (UPF); Policy Control Function (PCF); Network Address Translation (NAT).
3. The method according to claim 1, characterized in that, The first device or function includes one or more of the following: Network address translation function; network address translation device; network address translation network element; external function; device or function or network element with network address translation information; device or function or network element with network address translation function.
4. The method according to claim 1, characterized in that, The step of obtaining network address translation information from the first device or function includes: Identify the primary device or function of the target; The network address translation information is obtained from the target first device or function.
5. The method according to claim 1, characterized in that, The step of obtaining network address translation information from the first device or function includes: The first request to obtain the application function AF, wherein the first request includes a public IP address; Based on the first request, the target first device or function is determined; Obtain the correspondence between the public network address and the private network address from the target first device or function, or the private network address corresponding to the target public network address.
6. The method according to claim 5, characterized in that, When the mapping relationship between the public network address and the private network address is obtained from the target first device or function, the processing based on the network address translation information includes: Based on the public network address and the correspondence between the public network address and the private network address, determine the private network address corresponding to the public network address.
7. The method according to claim 1, characterized in that, The step of obtaining network address translation information from the first device or function includes: Obtain the second request from AF, which is used to request the mapping relationship between public network addresses and private network addresses; Based on the second request, the target first device or function is determined; Obtain the correspondence between the public network address and the private network address from the target first device or function.
8. The method according to claim 4, 5, or 7, characterized in that, The determination of the target first device or function includes: The target first device or function is determined by the Network Storage Function (NRF).
9. The method according to claim 8, characterized in that, The determination of the target first device or function via Network Storage Function (NRF) includes: Send a third request to the NRF; Receive information about the target first device or function sent by the NRF in accordance with the third request; The third request includes information about a private network address and / or a public network address. The private network address information includes one or more of the following: IPv4 address, IPv6 prefix, and IP domain; the public network address information includes one or more of the following: IPv4 address and IPv6 prefix.
10. The method according to claim 5 or 7, characterized in that, The step of obtaining the correspondence between the public network address and the private network address from the target first device or function includes: 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.
11. The method according to claim 10, characterized in that, The step of invoking 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 includes: Send a fourth request to the target first device or function, the fourth request including the ID and / or type of the first network function; Receive the mapping relationship between the public network address and the private network address sent by the target first device or function according to the fourth request.
12. The method according to claim 5, characterized in that, Obtaining the private network address corresponding to the public network address from the target first device or function includes: Call the service of the first device or function to obtain the private network address corresponding to the public network address from the target first device or function.
13. The method according to claim 12, characterized in that, The step of calling the service of the target first device or function to obtain the private network address corresponding to the public network address from the target first device or function includes: Send 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; Receive the private network address corresponding to the public network address sent by the target first device or function according to the fifth request.
14. The method according to claim 1, characterized in that, The processing based on the network address translation information includes at least one of the following: Based on the AF's request, map the public IP address to a private IP address; Map a private network address to a public network address upon request from a second device or function.
15. An information processing method, applied to a first device or function, characterized in that, include: Sending network address translation information to the first network function, wherein the network address translation information includes one or more of the following: The mapping between public and private network addresses; Public IP address; Private network address; The port number of the public IP address; The port number of the private network address; The first network function includes the Network Capability Opening Function (NEF).
16. The method according to claim 15, characterized in that, The method further includes: Send a sixth request to the NRF, the sixth request being used to register with the NRF, wherein the sixth request includes: information of the private network address and / or information of the public network address; The private network address information includes one or more of the following: IPv4 address range, IPv46 prefix range, IP domain information, and port number; The information of the public IP address includes one or more of the following: IPv4 address range, IPv46 prefix range, and port number.
17. The method according to claim 16, characterized in that, The method further includes one or more of the following: Send a seventh request to the NRF, the seventh request being used to deregister with the NRF; An eighth request is sent to the NRF, the eighth request being used to register and update with the NRF.
18. The method according to claim 15, characterized in that, Sending network address translation information to the first network function includes: Receive a request from the first network function, including the ID and / or type of the network device for the first network function; According to the request, the network address translation information is sent to the first network function.
19. The method according to claim 18, characterized in that, The request also includes: One or more of the information of candidate public network addresses and candidate private network addresses.
20. An information processing method applied to NRF, characterized in that, include: A request to obtain the first network function; According to the request, information about a first device or function is sent to the first network function, wherein the first device or function is used to provide network address translation information or to perform network address translation based on the network address translation information. The network address translation information includes one or more of the following: The mapping between public and private network addresses; Public IP address; Private network address; The port number of the public IP address; The port number of the private network address; The first network function includes the Network Capability Opening Function (NEF).
21. The method according to claim 20, characterized in that, The method further includes: Receive the sixth request from the first device or function; Register the first device or function according to the sixth request; The sixth request includes: information about a private network address and / or information about a public network address; The information of the private network address includes one or more of the following: IPv4 address range, IPv46 prefix range, IP domain information, and port number; The information of the public IP address includes one or more of the following: IPv4 address range, IPv46 prefix range, and port number.
22. The method according to claim 21, characterized in that, The method further includes one or more of the following: Receive a seventh request from the first device or function, and register the first device or function according to the seventh request; Receive the eighth request from the first device or function, and update the registration of the first device or function according to the eighth request.
23. An information processing method applied to a first network function, characterized in that, include: Discover a first device or function through NRF, wherein the first device or function is used to provide network address translation information or perform network address translation based on network address translation information; The network address translation information includes one or more of the following: The mapping between public and private network addresses; Public IP address; Private network address; The port number of the public IP address; The port number of the private network address; The first network function includes the Network Capability Opening Function (NEF).
24. The method according to claim 23, characterized in that, The discovery of the first device or function via NRF includes: Send a request to the NRF; Receive information about the first device or function sent by the NRF in accordance with the request; The request includes information about a private network address and / or a public network address; The private network address information includes one or more of the following: IPv4 address, IPv6 prefix, and IP domain; the public network address information includes one or more of the following: IPv4 address and IPv6 prefix.
25. An information processing apparatus, applied to a first network function, characterized in that, include: The first acquisition module is used to acquire network address translation information from the first device or function; The first processing module is used to process the network address translation information. The network address translation information includes one or more of the following: The mapping between public and private IP addresses; public IP address; private IP address; port number of public IP address; port number of private IP address; The first network function includes the Network Capability Opening Function (NEF).
26. An information processing apparatus, applied to a first device or function, characterized in that, include: The first sending module is configured to send network address translation information to the first network function, wherein the network address translation information includes one or more of the following: The mapping between public and private network addresses; Public IP address; Private network address; The port number of the public IP address; The port number of the private network address; The first network function includes the Network Capability Opening Function (NEF).
27. An information processing apparatus applied to NRF, characterized in that, include: The first acquisition module is used to acquire requests for the first network function; The first sending module is configured to send information about a first device or function to the first network function according to the request, wherein the first device or function is configured to provide network address translation information or perform network address translation based on the network address translation information. The network address translation information includes one or more of the following: The mapping between public and private network addresses; Public IP address; Private network address; The port number of the public IP address; The port number of the private network address; The first network function includes the Network Capability Opening Function (NEF).
28. An information processing apparatus, applied to a first network function, characterized in that, include: The first processing module is used to discover a first device or function through NRF, wherein the first device or function is used to provide network address translation information or perform network address translation based on the network address translation information. The network address translation information includes one or more of the following: The mapping between public and private network addresses; Public IP address; Private network address; The port number of the public IP address; The port number of the private network address; The first network function includes the Network Capability Opening Function (NEF).
29. An information processing apparatus, applied to a first network function, characterized in that, include: Processor and transceiver; The transceiver is used to obtain network address translation information from the first device or function; The processor is used to process the network address translation information. The network address translation information includes one or more of the following: The mapping between public and private IP addresses; public IP address; private IP address; port number of public IP address; port number of private IP address; The first network function includes the Network Capability Opening Function (NEF).
30. An information processing apparatus, applied to a first device or function, characterized in that, include: Processor and transceiver; The transceiver is configured to send network address translation information to the first network function, wherein the network address translation information includes one or more of the following: The mapping between public and private network addresses; Public IP address; Private network address; The port number of the public IP address; The port number of the private network address; The first network function includes the Network Capability Opening Function (NEF).
31. An information processing apparatus, applied to NRF, characterized in that, include: Processor and transceiver; The transceiver is used to obtain a request for the first network function; According to the request, information about a first device or function is sent to the first network function, wherein the first device or function is used to provide network address translation information or to perform network address translation based on the network address translation information. The network address translation information includes one or more of the following: The mapping between public and private network addresses; Public IP address; Private network address; The port number of the public IP address; The port number of the private network address; The first network function includes the Network Capability Opening Function (NEF).
32. An information processing apparatus, applied to a first network function, characterized in that, include: Processor and transceiver; The processor is configured to discover a first device or function via NRF, wherein the first device or function is configured to provide network address translation information or perform network address translation based on the network address translation information. The network address translation information includes one or more of the following: The mapping between public and private network addresses; Public IP address; Private network address; The port number of the public IP address; The port number of the private network address; The first network function includes the Network Capability Opening Function (NEF).
33. A communication device, comprising: A memory, a processor, and a program stored in the memory and executable on the processor; characterized in that the processor is configured to read the program from the memory to implement the steps of the information processing method as described in any one of claims 1 to 24.
34. A readable storage medium for storing a program, characterized in that, When the program is executed by the processor, it implements the steps of the information processing method as described in any one of claims 1 to 24.
Citation Information
Patent Citations
Method for realizing service continuity and related equipment
CN111586670A