WO2023125936A1 - 一种信息处理方法、装置、设备及可读存储介质 - Google Patents

一种信息处理方法、装置、设备及可读存储介质 Download PDF

Info

Publication number
WO2023125936A1
WO2023125936A1 PCT/CN2022/143954 CN2022143954W WO2023125936A1 WO 2023125936 A1 WO2023125936 A1 WO 2023125936A1 CN 2022143954 W CN2022143954 W CN 2022143954W WO 2023125936 A1 WO2023125936 A1 WO 2023125936A1
Authority
WO
WIPO (PCT)
Prior art keywords
network address
function
information
request
private network
Prior art date
Application number
PCT/CN2022/143954
Other languages
English (en)
French (fr)
Inventor
王丹
李永竞
Original Assignee
中国移动通信有限公司研究院
中国移动通信集团有限公司
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by 中国移动通信有限公司研究院, 中国移动通信集团有限公司 filed Critical 中国移动通信有限公司研究院
Publication of WO2023125936A1 publication Critical patent/WO2023125936A1/zh

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L61/00Network arrangements, protocols or services for addressing or naming
    • H04L61/09Mapping addresses
    • H04L61/25Mapping addresses of the same type
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L61/00Network arrangements, protocols or services for addressing or naming
    • H04L61/09Mapping addresses
    • H04L61/25Mapping addresses of the same type
    • H04L61/2503Translation of Internet protocol [IP] addresses
    • H04L61/251Translation of Internet protocol [IP] addresses between different IP versions
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/14Session management
    • H04L67/146Markers for unambiguous identification of a particular session, e.g. session cookie or URL-encoding
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/50Network services
    • H04L67/60Scheduling or organising the servicing of application requests, e.g. requests for application data transmissions using the analysis and optimisation of the required network resources

Definitions

  • the present application relates to the field of communication technology, and in particular to an information processing method, device, equipment and readable storage medium.
  • the 5G core network (5G Core Network, 5GC) cannot control the network address translation (network address translation, NAT) function, which is not conducive to end-to-end terminal control.
  • NAT network address translation
  • Embodiments of the present application provide an information processing method, device, device, and readable storage medium, so as to perform end-to-end control.
  • the embodiment of the present application provides an information processing method applied to the first network function, including:
  • the network address translation information includes one or more of the following:
  • the first network function includes at least one of the following:
  • NEF Network Exposure Function
  • SMF Session Management Function
  • UPF User Plane Function
  • PCF Policy Control Function
  • the first device or function includes one or more of the following:
  • Network address translation function ; network address translation equipment; network address translation network element; external function; equipment or function or network element with network address translation information; equipment or function or network element with network address translation function.
  • the acquiring network address translation information from the first device or function includes:
  • the network address translation information is obtained from the target first device or function.
  • the acquiring network address translation information from the first device or function includes:
  • AF Application Function
  • the processing according to the network address translation information includes:
  • the acquiring network address translation information from the first device or function includes:
  • said determining the target first device or function includes:
  • the target first device or function is determined through a network storage function (Network Repository Function, NRF).
  • NRF Network Repository Function
  • the determining the target first device or function through the network storage function NRF includes:
  • the third request includes private network address information and/or public network address information
  • the information of the private network address includes: one or more items of IPv4 address, IPv6 prefix, and IP domain; the information of the public network address is one or more items of IPv4 address and IPv6 prefix.
  • the obtaining the correspondence between the public network address and the private network address from the target first device or function includes:
  • the invoking the service of the target first device or function, and obtaining the correspondence between the public network address and the private network address from the target first device or function includes:
  • obtaining a private network address corresponding to the public network address from the target first device or function includes:
  • the invoking the service of the target first device or function, and obtaining the private network address corresponding to the public network address from the target first device or function includes:
  • processing according to the network address translation information includes at least one of the following:
  • the embodiment of the present application provides an information processing method applied to the first device or function, including:
  • the network address translation information includes one or more of the following:
  • the port number of the private network address is the port number of the private network address.
  • the method also includes:
  • the information of the private network address includes one or more of the following: IPv4 address segment, IPv46 prefix segment, IP domain information, port number;
  • the information of the public network address includes one or more of the following: IPv4 address segment, IPv46 prefix segment, port number.
  • the method also includes one or more of the following:
  • An eighth request is sent to the NRF, where the eighth request is used to update the registration with the NRF.
  • the sending NAT information to the first network function includes:
  • the request also includes:
  • One or more items of candidate public network address information and candidate private network address information are selected from one or more items of candidate public network address information and candidate private network address information.
  • the embodiment of the present application provides an information processing method applied to NRF, including:
  • sending information of a first device or function to the first network function where the first device or function is used to provide network address translation information or perform network address translation according to the network address translation information;
  • the network address translation information includes one or more of the following:
  • the port number of the private network address is the port number of the private network address.
  • the method also includes:
  • the sixth request includes: private network address information and/or public network address information;
  • the information of the private network address includes one or more of the following: IPv4 address segment, IPv46 prefix segment, IP domain information, port number;
  • the information of the public network address includes one or more of the following: IPv4 address segment, IPv46 prefix segment, port number.
  • the method also includes one or more of the following:
  • An eighth request of the first device or function is received, and a registration update is performed on the first device or function according to the eighth request.
  • the embodiment of the present application provides an information processing method applied to the first network function, including:
  • the network address translation information includes one or more of the following:
  • the port number of the private network address is the port number of the private network address.
  • the discovering the first device or function through NRF includes:
  • the request includes the information of the private network address and/or the information of the public network address;
  • the information of the private network address includes: one or more items of IPv4 address, IPv6 prefix, and IP domain; the information of the public network address is one or more items of IPv4 address and IPv6 prefix.
  • the embodiment of the present application provides an information processing device applied to the first network function, including:
  • a first obtaining module configured to obtain network address translation information from a first device or function
  • a first processing module configured to process according to the network address translation information
  • the network address translation information includes one or more of the following:
  • the first network function includes at least one of the following:
  • Network capability exposure function NEF Network capability exposure function NEF; session management function SMF; user plane function UPF; policy control function PCF; network address translation function.
  • the first device or function includes one or more of the following:
  • Network address translation function ; network address translation equipment; network address translation network element; external function; equipment or function or network element with network address translation information; equipment or function or network element with network address translation function.
  • the first acquisition module includes:
  • a first determining submodule configured to determine a target first device or function
  • the first obtaining submodule is configured to obtain the network address translation information from the target first device or function.
  • the first acquisition module includes:
  • the first acquiring submodule is configured to acquire a first request of an application function AF, where the first request includes a public network address;
  • a first determining submodule configured to determine a target first device or function according to the first request
  • the second acquiring submodule is configured to acquire the corresponding 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.
  • the first processing module when obtaining the corresponding relationship between the public network address and the private network address from the target first device or function, is configured to:
  • the second obtaining sub-module is configured to call the service of the first device or function, and obtain the private network address corresponding to the public network address from the target first device or function.
  • the second obtaining submodule is configured to send a fifth request to the target first device or function, the fifth request includes the ID and/or type of the first network function, and the private network address ;
  • the first acquisition module includes:
  • the first obtaining submodule is used to obtain the second request of the AF, and the second request is used to request the mapping relationship between the public network address and the private network address;
  • the first determination submodule is configured to determine the target first device or function according to the second request
  • the second obtaining submodule is configured to obtain the corresponding relationship between the public network address and the private network address from the target first device or function.
  • the first determining submodule is configured to: determine the target first device or function through a network storage function NRF.
  • the first determining submodule is used for:
  • the third request includes private network address information and/or public network address information
  • the information of the private network address includes: one or more items of IPv4 address, IPv6 prefix, and IP domain; the information of the public network address is one or more items of IPv4 address and IPv6 prefix.
  • the second obtaining sub-module is configured to call the service of the target first device or function, and obtain the corresponding relationship between the public network address and the private network address from the target first device or function.
  • the second acquisition submodule is used for:
  • the first processing module is used to perform at least one of the following:
  • the embodiment of the present application provides an information processing apparatus, which is applied to the first device or function, including:
  • 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 port number of the private network address is the port number of the private network address.
  • the device also includes:
  • the second sending module is configured to send a sixth request to the NRF, the sixth request is used to register with the NRF, wherein the sixth request includes: private network address information and/or public network address information ;
  • the information of the private network address includes one or more of the following: IPv4 address segment, IPv46 prefix segment, IP domain information, port number;
  • the information of the public network address includes one or more of the following: IPv4 address segment, IPv46 prefix segment, port number.
  • the device also includes one or more of the following:
  • a third sending module configured to send a seventh request to the NRF, where the seventh request is used to de-register with the NRF;
  • a fourth sending module configured to send an eighth request to the NRF, where the eighth request is used to update the registration with the NRF.
  • the first sending module is used for:
  • the embodiment of the present application provides an information processing device applied to NRF, including:
  • a first acquiring module configured to acquire a request for a first network function
  • the first sending module is configured to send the information of the first device or function to the first network function according to the request, and the first device or function is used to provide network address translation information or perform network address translation according to the network address translation information address translation;
  • the network address translation information includes one or more of the following:
  • the port number of the private network address is the port number of the private network address.
  • the device may also include:
  • a first receiving module configured to receive a sixth request of the first device or function
  • a first registration module configured to register the first device or function according to the sixth request
  • the sixth request includes: private network address information and/or public network address information;
  • the information of the private network address includes one or more of the following: IPv4 address segment, IPv46 prefix segment, IP domain information, port number;
  • the information of the public network address includes one or more of the following: IPv4 address segment, IPv46 prefix segment, port number.
  • the device may also include one or more of the following:
  • a first de-registration module configured to receive a seventh request of the first device or function, and de-register the first device or function according to the seventh request;
  • the first registration update module is configured to receive the eighth request of the first device or function, and update the registration of the first device or function according to the eighth request.
  • the embodiment of the present application provides an information processing device applied to the first network function, including:
  • the first processing module is used to discover a first device or function through NRF, and the first device or function is used to provide network address translation information or perform network address translation according to the network address translation information;
  • the network address translation information includes one or more of the following:
  • the port number of the private network address is the port number of the private network address.
  • the first processing module includes:
  • the first sending submodule is configured to send a request to the NRF
  • the first receiving submodule is configured to receive the information of the first device or function sent by the NRF according to the request;
  • the request includes the information of the private network address and/or the information of the public network address;
  • the information of the private network address includes: one or more items of IPv4 address, IPv6 prefix, and IP domain; the information of the public network address is one or more items of IPv4 address and IPv6 prefix.
  • the embodiment of the present application provides an information processing device, which is applied to the first network function, and includes: a processor and a transceiver;
  • the transceiver is configured to obtain network address translation information from a first device or function
  • the processor is configured to process according to the network address translation information
  • the network address translation information includes one or more of the following:
  • the first network function includes at least one of the following:
  • Network capability exposure function NEF Network capability exposure function NEF; session management function SMF; user plane function UPF; policy control function PCF; network address translation function.
  • the first device or function includes one or more of the following:
  • Network address translation function ; network address translation equipment; network address translation network element; external function; equipment or function or network element with network address translation information; equipment or function or network element with network address translation function.
  • processor is used for:
  • the network address translation information is obtained from the target first device or function.
  • processor is used for:
  • the processor When obtaining the correspondence between the public network address and the private network address from the target first device or function, the processor is configured to:
  • processor is used for:
  • processor is used for:
  • the target first device or function is determined through a network storage function NRF.
  • processor is used for:
  • the third request includes private network address information and/or public network address information
  • the information of the private network address includes: one or more items of IPv4 address, IPv6 prefix, and IP domain; and one or more items of the information of the public network address, IPv4 address and IPv6 prefix.
  • processor is used for:
  • processor is used for:
  • processor is used for:
  • processor is used for:
  • processor is used for:
  • the embodiment of the present application provides an information processing apparatus applied to a first device or function, including: a processor and a transceiver;
  • the transceiver is configured to send network address translation information to the first network function, where the network address translation information includes one or more of the following:
  • the port number of the private network address is the port number of the private network address.
  • the transceiver is used for:
  • the information of the private network address includes one or more of the following: IPv4 address segment, IPv46 prefix segment, IP domain information, port number;
  • the information of the public network address includes one or more of the following: IPv4 address segment, IPv46 prefix segment, port number.
  • the transceiver is used to perform one or more of the following:
  • An eighth request is sent to the NRF, where the eighth request is used to update the registration with the NRF.
  • the transceiver is used for:
  • the request also includes:
  • One or more items of candidate public network address information and candidate private network address information are selected from one or more items of candidate public network address information and candidate private network address information.
  • the embodiment of the present application provides an information processing device applied to NRF, including: a processor and a transceiver;
  • the transceiver is configured to obtain a request from a first network function; according to the request, send information about a first device or function to the first network function, and 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 port number of the private network address is the port number of the private network address.
  • the transceiver is further configured to receive a sixth request of the first device or function
  • the processor is further configured to register the first device or function according to the sixth request;
  • the sixth request includes: private network address information and/or public network address information;
  • the information of the private network address includes one or more of the following: IPv4 address segment, IPv46 prefix segment, IP domain information, port number;
  • the information of the public network address includes one or more of the following: IPv4 address segment, IPv46 prefix segment, port number.
  • processor is also configured to perform one or more of the following:
  • An eighth request of the first device or function is received, and a registration update is performed on the first device or function according to the eighth request.
  • the embodiment of the present application provides an information processing device applied to the first network function, including: a processor and a transceiver;
  • the processor is configured to discover a first device or function through NRF, and the first device or function is used to provide network address translation information or perform network address translation according to the network address translation information;
  • the network address translation information includes one or more of the following:
  • the port number of the private network address is the port number of the private network address.
  • processor is also used for:
  • the request includes the information of the private network address and/or the information of the public network address;
  • the information of the private network address includes: one or more items of IPv4 address, IPv6 prefix, and IP domain; the information of the public network address is one or more items of IPv4 address and IPv6 prefix.
  • the embodiment of the present application also provides a communication device, including: a transceiver, a memory, a processor, and a program stored in the memory and operable on the processor, and the processor implements the program when executing the program. Steps in the information processing method as described above.
  • the embodiment of the present application further provides a readable storage medium, where a program is stored on the readable storage medium, and when the program is executed by a processor, the steps in the information processing method as described above are implemented.
  • the first network function may obtain NAT information from the first device or function, and process the NAT information according to the NAT information.
  • the first network function since the first network function can obtain the NAT information, the first network function can realize the corresponding NAT function, so that end-to-end control can be performed.
  • Fig. 1 is one of the flowcharts of the information processing method provided by the embodiment of the present application.
  • FIG. 2 is the second flowchart of the information processing method provided by the embodiment of the present application.
  • Fig. 3 is the third flowchart of the information processing method provided by the embodiment of the present application.
  • FIG. 4 is the fourth flowchart of the information processing method provided by the embodiment of the present application.
  • FIG. 5 is the fifth flowchart of the information processing method provided by the embodiment of the present application.
  • FIG. 6 is the sixth flowchart of the information processing method provided by the embodiment of the present application.
  • Fig. 7 is one of the structural diagrams of the information processing device provided by the embodiment of the present application.
  • Fig. 8 is the second structural diagram of the information processing device provided by the embodiment of the present application.
  • FIG. 9 is the third structural diagram of the information processing device provided by the embodiment of the present application.
  • FIG. 10 is the fourth structural diagram of the information processing device provided by the embodiment of the present application.
  • Fig. 11 is the fifth structural diagram of the information processing device provided by the embodiment of the present application.
  • Fig. 12 is the sixth structural diagram of the information processing device provided by the embodiment of the present application.
  • Fig. 13 is the seventh structural diagram of the information processing device provided by the embodiment of the present application.
  • FIG. 14 is the eighth structural diagram of the information processing device provided by the embodiment of the present application.
  • FIG. 1 is a flowchart of an information processing method provided by an embodiment of the present application, which is applied to a first network function.
  • the first network function includes at least one of the following: NEF; SMF; UPF; PCF;
  • the network address translation function may be a newly added network address translation function.
  • the method includes the following steps:
  • Step 101 Acquire network address translation information from a first device or function.
  • the first device or function includes one or more of the following:
  • Network address translation function ; network address translation equipment; network address translation network element; external function; equipment or function or network element with network address translation information; equipment or function or network element with network address translation function.
  • the first device or function may be NAT, wherein NAT may be designed as a network function (Network Function, NF), namely NATF (NAT (Network Address Translation, Network Address Translation) NF).
  • Network Function NF
  • NATF Network Address Translation, Network Address Translation
  • the network address translation information includes one or more of the following:
  • the external address of NAT (outside 5GC) is a public network address
  • the internal address of 5GC is a private network address
  • network address translation information may be acquired in various ways.
  • the first network function may determine a target first device or function, and obtain the network address translation information from the target first device or function. After acquiring the network address translation information, the first network function may store it for subsequent use. At this time, the first network function may be an NEF or the like.
  • the first network function may acquire a first request of the application function AF, where the first request includes a public network address, and determine a target first device or function according to the first request. Afterwards, the first network function acquires the correspondence 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, in this case, the network address translation information is acquired at the first request of the AF. In this case, when obtaining the corresponding relationship between the public network address and the private network address from the target first device or function, the first network function may also The address, the corresponding relationship between the public network address and the private network address, determines the private network address corresponding to the public network address.
  • the first request may be, for example, a user equipment (User Equipment, UE) identity query request or a session binding request.
  • the first network function may be an NEF or the like.
  • the first network function may also obtain a second request from the AF, where the second request is used to request a mapping relationship between a public network address and a private network address. Afterwards, the first network function may determine the target first device or function according to the second request, and obtain the correspondence between the public network address and the private network address from the target first device or function. That is, in this case, the network address translation information is acquired at the first request of the AF. At this time, the first network function may be SMF, UPF, PCF and so on. For example, the second request may be sent when the AF needs to request capability opening information.
  • the acquisition of NAT information can be flexibly realized, so as to meet the requirements of different scenarios.
  • the first device or function can be registered in the NRF, and other devices or functions can find the target first device or function through the NRF, and then obtain network address translation information from the target first device or function.
  • the target first device or function refers to a first device or function that can be discovered by the NRF.
  • other devices or functions may be obtained by invoking the service of the target first device or function.
  • the first network function may determine the target first device or function through the NRF. Specifically, the first network function may send a third request to the NRF, and receive information about the target first device or function sent by the NRF according to the third request.
  • the third request includes private network address information and/or public network address information; the private network address information includes: one or more of IPv4 address, IPv6 prefix, and IP domain; the public network address One or more of the network address information IPv4 address and IPv6 prefix.
  • the information of the target first device or function may be, for example, a name of the first network or function, an instance ID, and the like.
  • the first network function may call the service of the target first device or function, from The target first device or function obtains the correspondence between the public network address and the private network address. Specifically, the first network function sends a fourth request to the target first device or function, and receives the correspondence between the public network address and the private network address sent by the target first device or function according to the fourth request. relationship, the fourth request includes the ID and/or type of the first network function.
  • the first network function may call the service of the first device or function, and 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.
  • Step 102 perform processing according to the NAT information.
  • the first network function mainly performs one or more of the following: according to the request of AF, map the public network address to the private network address; according to the request of the second device or function, map the private network address to the public network address address.
  • the second device or function may be a device or function in the network that needs to map a private network address to a public network address.
  • the first network function may obtain NAT information from the first device or function, and process the NAT information according to the NAT information.
  • the first network function since the first network function can obtain NAT information, the first network function can implement a corresponding NAT function, thereby enabling end-to-end control.
  • FIG. 2 is a flowchart of an information processing method provided in an embodiment of the present application, which is applied to a first device or function.
  • the first device or function includes one or more of the following: a network address translation function; a network address translation device; a network address translation network element; an external function; a device or function or a network element with network address translation information; A device or function or network element of the network address translation function.
  • the first device or function may use NATF.
  • the method includes the following steps:
  • Step 201 Send NAT information to the first network function, where the NAT information includes one or more of the following:
  • the first device or function may receive the request of the first network function, including the ID and/or type of the network device of the first network function, and send the first network function to the first network according to the request. function to send the network address translation information.
  • the meaning included in the first network function may refer to the description of the foregoing embodiments.
  • the request may also include one or more items of candidate public network address information and candidate private network address information.
  • the information of the candidate public network address or the candidate private network address can be understood as, for example, the public network address or the private network address that the first network function expects to obtain.
  • the first function or device may also send a sixth request to the NRF, where the sixth request is used to register with the NRF, where the sixth request includes: private network address information and/or public Network address information; wherein, the private network address information includes one or more of the following: IPv4 address segment, IPv46 prefix segment, IP domain information, port number; the public network address information includes the following one or more Item: IPv4 address segment, IPv46 prefix segment, port number.
  • NATF services may be defined.
  • the service information is as follows:
  • Service name This service can perform service call operations of subscribe/notify and request/response.
  • Service description Allow other NFs to make service calls to NATF, and obtain the mapping relationship between the private network address and the public network address; or, according to the provided private network address/public network address, map to the corresponding public network address/private network address; Or, provide the port number of the public network address; or, provide the port number of the private network address, etc.
  • NF ID NF ID
  • NF type to be accessed
  • optional private network address/public network address optional private network address/public network address.
  • Output parameters optional public network address/private network address, mapping relationship between private network address and public network address; port number of public network address; port number of private network address.
  • NATF can call the service of NRF to register. Specifically, NATF calls NRF's Nnrf_NFManagement_NFRegister service to register its own NF profile (NF profile) on NRF.
  • the NF profile includes but is not limited to: NF type (NF type), NF instance ID (NF instance ID), NF fully qualified domain name (Fully Qualified Domain Name, FQDN) or IP address, NF service name, network slice information, data network Domain name (Data Network Name, DNN) information, private network address information, and public network address information; wherein, private network address information includes: IPv4 address segment, IPv6 prefix segment, IP domain information (such as IP domain list (IP domain list)), port number; the information of the public network address includes IPv4 address segment, IPv6 prefix segment, and port number.
  • NRF can call NRF's Nnrf_NFDiscovery_Request service to discover the target NATF.
  • the input parameters in Nnrf_NFDiscovery_Request include but are not limited to: one or more target NF service names (one or more target NF service Name(s)), NF type of the target MF (NF type of the target NF), NF service consumption NF type of the NF service consumer, network slice information, DNN information, public network address information, and private network address information.
  • the information of the public network address includes: IPv4 address or IPv6 prefix
  • the information of the private network address includes IPv4 address, IPv6 prefix, IP domain (IP domain) and so on.
  • the query results output by NRF are NATF instance ID (NATF instance ID) and so on.
  • the first function or device may also send a seventh request to the NRF, where the seventh request is used to de-register with the NRF; and/or send an eighth request to the NRF, where the eighth Request for registration renewal with NRF.
  • NATF may call NRF's Nnrf_NFManagement_NFderegister to deregister, or may also call NRF's Nnrf_NFManagement_NFUpdate to perform registration update.
  • the first network function may obtain NAT information from the first device or function, and process the NAT information according to the NAT information.
  • the first network function since the first network function can obtain NAT information, the first network function can implement a corresponding NAT function, thereby enabling end-to-end control.
  • FIG. 3 is a flowchart of an information processing method provided by an embodiment of the present application, which is applied to NRF. As shown in Figure 3, the method may include:
  • Step 301 Obtain a request for a first network function.
  • Step 302 According to the request, send information of the first device or function to the first network function, where the first device or function is used to provide NAT information or perform NAT according to the NAT information.
  • the network address translation information includes one or more of the following:
  • the port number of the private network address is the port number of the private network address.
  • the information of the first function or device may be, for example, a name of the first function or device, an instance ID, and the like.
  • the NRF may 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: private network address information and/or or public network address information; the private network address information includes one or more of the following: IPv4 address segment, IPv46 prefix segment, IP domain information, port number; the public network address information includes the following one or more Item: IPv4 address segment, IPv46 prefix segment, port number.
  • the NRF may perform one or more of the following:
  • An eighth request of the first device or function is received, and a registration update is performed on the first device or function according to the eighth request.
  • the first network function may obtain NAT information from the first device or function, and process the NAT information according to the NAT information.
  • the first network function since the first network function can obtain NAT information, the first network function can implement a corresponding NAT function, thereby enabling end-to-end control.
  • FIG. 4 is a flowchart of an information processing method provided by an embodiment of the present application, which is applied to a first network function. As shown in Figure 4, the method may include:
  • Step 401 find a first device or function through NRF, and the first device or function is used to provide network address translation information or perform network address translation according to the network address translation information;
  • the network address translation information includes one or more of the following:
  • the port number of the private network address is the port number of the private network address.
  • 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 private network address information and/or public network address information;
  • the private network address information includes: one or more of IPv4 address, IPv6 prefix, and IP domain; the public network address One or more of the information IPv4 address and IPv6 prefix.
  • the first network function may obtain NAT information from the first device or function, and process the NAT information according to the NAT information.
  • the first network function since the first network function can obtain NAT information, the first network function can implement a corresponding NAT function, thereby enabling end-to-end control.
  • FIG. 5 is a flowchart of an information processing method according to an embodiment of the present application.
  • the first network function obtains the address mapping information of the first device or function (NATF).
  • NEF invokes NATF services to obtain network address translation information.
  • NEF and NATF can interact through the service interface; NATF can register its own information in NRF, so that NEF can find the corresponding NATF through the service discovery function.
  • the process of the embodiment of the present application can be applied to the process of AF performing session binding information query, the process of AF requesting UE identification, and the like. As shown in Figure 5, the process may include:
  • Step 500 NATF registers with NRF.
  • the registration process may refer to related content described in the above embodiments.
  • Step 501 before there is no session establishment or no specific AF request, the NEF invokes the service of the NRF to find the target NATF.
  • the input parameters may include network slice information, DNN information, location information (the location of the UE or the location of the NEF) and the like.
  • step 502 the NEF invokes the service of the target NATF, acquires NAT information, stores it in the NEF, and prepares for subsequent AF requests.
  • step 502 and step 503 may be regarded as separate processes.
  • step 503 the AF requests the NEF to perform session binding or UE identity query.
  • step 504 the NEF invokes the service of the NRF to find the target NATF.
  • step 505 the NEF invokes the service of the target NATF to acquire network address translation information.
  • the network address translation information may include the correspondence between the public network address and the private network address, the public network address, the private network address, the port number of the public network address, and the port number of the private network address.
  • the NEF provides the UE IP address (that is, the UE public network address corresponding to the session) to the target NATF, and obtains the network address translation information of the NATF (including the private network address of the session).
  • the NEF obtains the private network address of the session of the UE according to the public network address information provided by the AF and the network address translation information provided by the NATF.
  • step 507 the NEF initiates a session binding procedure or a UE identity query procedure using the above-mentioned private network address.
  • step 503 if the NEF itself stores NAT information, the NEF can obtain the private address of the session of the UE according to the public address information provided by the AF and the NAT information. Afterwards, step 507 is performed. That is, steps 504-506 may not be executed at this time.
  • the NEF may also directly acquire the UE private address corresponding to the session from the NATF, and in this case, the execution of step 506 may be omitted.
  • the network address translation function can be realized in the 5GC, and at the same time, the session binding can be realized.
  • FIG. 6 is a flowchart of an information processing method according to an embodiment of the present application.
  • the process may include:
  • Step 600 NATF registers with NRF.
  • the registration process may refer to related content described in the above embodiments.
  • Step 601 AF requests capability opening information from NEF, including requesting network address translation information and the like.
  • the network address translation information may include, for example, a correspondence between a public network address and a private network address.
  • step 602 the NEF finds the corresponding SMF/UPF through the PCF, etc., and makes an open request for related information.
  • step 603 the SMF/UPF finds the corresponding target NATF by invoking the service of the NRF.
  • step 604 the SMF/UPF requests the network address translation information of the target NATF by invoking the service of the target NATF.
  • Step 605 the target NATF feeds back the network address translation information to the SMF/UPF.
  • Step 606 the SMF/UPF feeds back the NAT information to the NEF.
  • Step 607 the NEF feeds back the NAT information to the AF.
  • the network address translation function can be realized in the 5GC, and at the same time, the processing of capability opening can be realized.
  • the embodiment of the present application also provides an information processing device, which is applied to the first network function.
  • the information processing device 700 includes:
  • the first acquiring module 701 is configured to acquire network address translation information from a first device or function; the first processing module 702 is configured to process according to the network address translation information;
  • the network address translation information includes one or more of the following:
  • the first network function includes at least one of the following:
  • Network capability exposure function NEF Network capability exposure function NEF; session management function SMF; user plane function UPF; policy control function PCF; network address translation function.
  • the first device or function includes one or more of the following:
  • Network address translation function ; network address translation equipment; network address translation network element; external function; equipment or function or network element with network address translation information; equipment or function or network element with network address translation function.
  • the first acquisition module includes:
  • a first determining submodule configured to determine a target first device or function
  • the first obtaining submodule is configured to obtain the network address translation information from the target first device or function.
  • the first acquisition module includes:
  • the first acquiring submodule is configured to acquire a first request of an application function AF, where the first request includes a public network address;
  • a first determining submodule configured to determine a target first device or function according to the first request
  • the second acquiring submodule is configured to acquire the corresponding 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.
  • the first processing module when obtaining the corresponding relationship between the public network address and the private network address from the target first device or function, is configured to:
  • the second obtaining sub-module is configured to call the service of the first device or function, and obtain the private network address corresponding to the public network address from the target first device or function.
  • the second obtaining submodule is configured to send a fifth request to the target first device or function, the fifth request includes the ID and/or type of the first network function, and the private network address ;
  • the first acquisition module includes:
  • the first obtaining submodule is used to obtain the second request of the AF, and the second request is used to request the mapping relationship between the public network address and the private network address;
  • the first determination submodule is configured to determine the target first device or function according to the second request
  • the second obtaining submodule is configured to obtain the corresponding relationship between the public network address and the private network address from the target first device or function.
  • the first determining submodule is configured to: determine the target first device or function through a network storage function NRF.
  • the first determining submodule is used for:
  • the third request includes private network address information and/or public network address information
  • the information of the private network address includes: one or more items of IPv4 address, IPv6 prefix, and IP domain; the information of the public network address is one or more items of IPv4 address and IPv6 prefix.
  • the second obtaining sub-module is configured to call the service of the target first device or function, and obtain the corresponding relationship between the public network address and the private network address from the target first device or function.
  • the second acquisition submodule is used for:
  • the first processing module is used to perform at least one of the following:
  • the device provided in the embodiment of the present application can execute the above-mentioned method embodiment, and its implementation principle and technical effect are similar, and will not be repeated here in this embodiment.
  • the information processing device 800 includes:
  • the first sending module 801 is configured to send network address translation information to the first network function, where the network address translation information includes one or more of the following:
  • the port number of the private network address is the port number of the private network address.
  • the device also includes:
  • the second sending module is configured to send a sixth request to the NRF, the sixth request is used to register with the NRF, wherein the sixth request includes: private network address information and/or public network address information ;
  • the information of the private network address includes one or more of the following: IPv4 address segment, IPv46 prefix segment, IP domain information, port number;
  • the information of the public network address includes one or more of the following: IPv4 address segment, IPv46 prefix segment, port number.
  • the device also includes one or more of the following:
  • a third sending module configured to send a seventh request to the NRF, where the seventh request is used to de-register with the NRF;
  • a fourth sending module configured to send an eighth request to the NRF, where the eighth request is used to update the registration with the NRF.
  • the first sending module is used for:
  • the device provided in the embodiment of the present application can execute the above-mentioned method embodiment, and its implementation principle and technical effect are similar, and will not be repeated here in this embodiment.
  • the embodiment of the present application also provides an information processing device, which is applied to NRF.
  • the information processing device 900 includes:
  • a first obtaining module 901, configured to obtain a request for a first network function
  • the first sending module 902 is configured to send the information of the first device or function to the first network function according to the request, and the first device or function is used to provide network address translation information or perform network address translation according to the network address translation information. network address translation;
  • the network address translation information includes one or more of the following:
  • the port number of the private network address is the port number of the private network address.
  • the device may also include:
  • a first receiving module configured to receive a sixth request of the first device or function
  • a first registration module configured to register the first device or function according to the sixth request
  • the sixth request includes: private network address information and/or public network address information;
  • the information of the private network address includes one or more of the following: IPv4 address segment, IPv46 prefix segment, IP domain information, port number;
  • the information of the public network address includes one or more of the following: IPv4 address segment, IPv46 prefix segment, port number.
  • the device may also include one or more of the following:
  • a first de-registration module configured to receive a seventh request of the first device or function, and de-register the first device or function according to the seventh request;
  • the first registration update module is configured to receive the eighth request of the first device or function, and update the registration of the first device or function according to the eighth request.
  • the device provided in the embodiment of the present application can execute the above-mentioned method embodiment, and its implementation principle and technical effect are similar, and will not be repeated here in this embodiment.
  • the information processing device 1000 includes:
  • the first processing module 1001 is configured to discover a first device or function through NRF, and the first device or function is used to provide network address translation information or perform network address translation according to the network address translation information;
  • the network address translation information includes one or more of the following:
  • the port number of the private network address is the port number of the private network address.
  • the first processing module includes:
  • the first sending submodule is configured to send a request to the NRF
  • the first receiving submodule is configured to receive the information of the first device or function sent by the NRF according to the request;
  • the request includes the information of the private network address and/or the information of the public network address;
  • the information of the private network address includes: one or more items of IPv4 address, IPv6 prefix, and IP domain; the information of the public network address is one or more items of IPv4 address and IPv6 prefix.
  • the device provided in the embodiment of the present application can execute the above-mentioned method embodiment, and its implementation principle and technical effect are similar, so this embodiment will not repeat them here.
  • each functional unit in each embodiment of the present application may be integrated into one processing unit, each unit may exist separately physically, or two or more units may be integrated into one unit.
  • the above-mentioned integrated units can be implemented in the form of hardware or in the form of software functional units.
  • the integrated unit is realized in the form of a software function unit and sold or used as an independent product, it can be stored in a processor-readable storage medium.
  • the technical solution of the present application is essentially or part of the contribution to the prior art or all or part of the technical solution can be embodied in the form of a software product, and the computer software product is stored in a storage medium , including several instructions to make a computer device (which may be a personal computer, a server, or a network device, etc.) or a processor (processor) execute all or part of the steps of the methods described in the various embodiments of the present application.
  • the aforementioned storage media include: U disk, mobile hard disk, read-only memory (Read-Only Memory, ROM), random access memory (Random Access Memory, RAM), magnetic disk or optical disc and other media that can store program codes. .
  • the embodiment of the present application also provides an information processing device, which is applied to the first network function.
  • the information processing apparatus includes: a processor 1101 and a transceiver 1102;
  • the transceiver 1102 is configured to obtain network address translation information from a first device or function
  • the processor 1101 is configured to process according to the network address translation information
  • the network address translation information includes one or more of the following:
  • the first network function includes at least one of the following:
  • Network capability exposure function NEF Network capability exposure function NEF; session management function SMF; user plane function UPF; policy control function PCF; network address translation function.
  • the first device or function includes one or more of the following:
  • Network address translation function ; network address translation equipment; network address translation network element; external function; equipment or function or network element with network address translation information; equipment or function or network element with network address translation function.
  • processor is used for:
  • the network address translation information is obtained from the target first device or function.
  • processor is used for:
  • the processor When obtaining the correspondence between the public network address and the private network address from the target first device or function, the processor is configured to:
  • processor is used for:
  • processor is used for:
  • the target first device or function is determined through a network storage function NRF.
  • processor is used for:
  • the third request includes private network address information and/or public network address information
  • the information of the private network address includes: one or more items of IPv4 address, IPv6 prefix, and IP domain; the information of the public network address is one or more items of IPv4 address and IPv6 prefix.
  • processor is used for:
  • processor is used for:
  • processor is used for:
  • processor is used for:
  • processor is used for:
  • the device provided in the embodiment of the present application can execute the above-mentioned method embodiment, and its implementation principle and technical effect are similar, and will not be repeated here in this embodiment.
  • the embodiment of the present application also provides an information processing apparatus, which is applied to the first device or function.
  • the information processing apparatus includes: a processor 1201 and a transceiver 1202;
  • the transceiver is configured to send network address translation information to the first network function, where the network address translation information includes one or more of the following:
  • the port number of the private network address is the port number of the private network address.
  • the transceiver is used for:
  • the information of the private network address includes one or more of the following: IPv4 address segment, IPv46 prefix segment, IP domain information, port number;
  • the information of the public network address includes one or more of the following: IPv4 address segment, IPv46 prefix segment, port number.
  • the transceiver is used to perform one or more of the following:
  • An eighth request is sent to the NRF, where the eighth request is used to update the registration with the NRF.
  • the transceiver is used for:
  • the request also includes:
  • One or more items of candidate public network address information and candidate private network address information are selected from one or more items of candidate public network address information and candidate private network address information.
  • the device provided in the embodiment of the present application can execute the above-mentioned method embodiment, and its implementation principle and technical effect are similar, and will not be repeated here in this embodiment.
  • the embodiment of the present application also provides an information processing device, which is applied to NRF.
  • the information processing device includes: a processor 1301 and a transceiver 1302;
  • the transceiver is configured to obtain a request from a first network function; according to the request, send information about a first device or function to the first network function, and 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 port number of the private network address is the port number of the private network address.
  • the transceiver is further configured to receive a sixth request of the first device or function
  • the processor is further configured to register the first device or function according to the sixth request;
  • the sixth request includes: private network address information and/or public network address information;
  • the information of the private network address includes one or more of the following: IPv4 address segment, IPv46 prefix segment, IP domain information, port number;
  • the information of the public network address includes one or more of the following: IPv4 address segment, IPv46 prefix segment, port number.
  • processor is also configured to perform one or more of the following:
  • An eighth request of the first device or function is received, and a registration update is performed on the first device or function according to the eighth request.
  • the device provided in the embodiment of the present application can execute the above-mentioned method embodiment, and its implementation principle and technical effect are similar, and will not be repeated here in this embodiment.
  • the embodiment of the present application also provides an information processing device, which is applied to NRF.
  • the information processing device includes: a processor 1401 and a transceiver 1402;
  • the processor is configured to discover a first device or function through NRF, and the first device or function is used to provide network address translation information or perform network address translation according to the network address translation information;
  • the network address translation information includes one or more of the following:
  • the port number of the private network address is the port number of the private network address.
  • processor is also used for:
  • the request includes the information of the private network address and/or the information of the public network address;
  • the information of the private network address includes: one or more items of IPv4 address, IPv6 prefix, and IP domain; the information of the public network address is one or more items of IPv4 address and IPv6 prefix.
  • the device provided in the embodiment of the present application can execute the above-mentioned method embodiment, and its implementation principle and technical effect are similar, and will not be repeated here in this embodiment.
  • An embodiment of the present application provides a communication device, including: a memory, a processor, and a program stored in the memory and operable on the processor; the processor is used to read the program in the memory to implement The steps in the information processing method as described above.
  • the embodiment of the present application also provides a readable storage medium, on which a program is stored, and when the program is executed by a processor, each process of the above-mentioned information processing method embodiment can be achieved, and the same technical effect can be achieved.
  • the readable storage medium can be any available medium or data storage device that can be accessed by the processor, including but not limited to magnetic storage (such as floppy disk, hard disk, magnetic tape, magneto-optical disk (MO), etc.), optical storage (such as CD, DVD, BD, HVD, etc.), and semiconductor memory (such as ROM, EPROM, EEPROM, non-volatile memory (NAND FLASH), solid state drive (SSD)), etc.
  • magnetic storage such as floppy disk, hard disk, magnetic tape, magneto-optical disk (MO), etc.
  • optical storage such as CD, DVD, BD, HVD, etc.
  • semiconductor memory such as ROM, EPROM, EEPROM, non-volatile memory (NAND FLASH), solid state drive
  • the methods of the above embodiments can be implemented by means of software plus a necessary general-purpose hardware platform, and of course also by hardware, but in many cases the former is better implementation.
  • the technical solution of the present application is essentially or the part that contributes to the prior art can be embodied in the form of a software product, and the computer software product is stored in a storage medium (such as ROM/RAM, magnetic disk, optical disk, etc.) ) includes several instructions to make a terminal (which may be a mobile phone, a computer, a server, an air conditioner, or a network device, etc.) execute the methods described in various embodiments of the present application.
  • a terminal which may be a mobile phone, a computer, a server, an air conditioner, or a network device, etc.
  • modules, units, sub-modules, sub-units, etc. can be implemented in one or more application specific integrated circuits (Application Specific Integrated Circuits, ASIC), digital signal processor (Digital Signal Processing, DSP), digital signal processing equipment ( DSP Device, DSPD), Programmable Logic Device (Programmable Logic Device, PLD), Field-Programmable Gate Array (Field-Programmable Gate Array, FPGA), general-purpose processor, controller, microcontroller, microprocessor, for In other electronic units or combinations thereof that perform the functions described in this application.
  • ASIC Application Specific Integrated Circuits
  • DSP Digital Signal Processing
  • DSP Device digital signal processing equipment
  • PLD Programmable Logic Device
  • Field-Programmable Gate Array Field-Programmable Gate Array
  • FPGA Field-Programmable Gate Array

Abstract

本申请公开了一种信息处理方法、装置、设备及可读存储介质,涉及通信技术领域。该方法包括:从第一设备或功能获取网络地址转换信息;根据所述网络地址转换信息进行处理;其中,所述网络地址转换信息包括以下一项或者多项:公网地址与私网地址的对应关系;公网地址;私网地址;公网地址的端口号;私网地址的端口号。

Description

一种信息处理方法、装置、设备及可读存储介质
相关申请的交叉引用
本申请主张在2021年12月31日在中国提交的中国专利申请No.202111664677.1的优先权,其全部内容通过引用包含于此。
技术领域
本申请涉及通信技术领域,尤其涉及一种信息处理方法、装置、设备及可读存储介质。
背景技术
在相关技术的第五代移动通信(5th-Generation,5G)网络中,5G核心网(5G Core Network,5GC)无法进行网络地址转换(network address translation,NAT)功能的控制,从而不利于端到端的控制。
发明内容
本申请实施例提供一种信息处理方法、装置、设备及可读存储介质,以便于进行端到端的控制。
第一方面,本申请实施例提供了一种信息处理方法,应用于第一网络功能,包括:
从第一设备或功能获取网络地址转换信息;
根据所述网络地址转换信息进行处理;
其中,所述网络地址转换信息包括以下一项或者多项:
公网地址与私网地址的对应关系;公网地址;私网地址;公网地址的端口号;私网地址的端口号。
可选地,所述第一网络功能包括以下至少一项:
网络能力开放功能(Network Exposure Function,NEF);会话管理功能(Session Management Function,SMF);用户面功能(User Plane Function,UPF);策略控制功能(Policy Control Function,PCF);网络地址转换功能。
可选地,所述第一设备或功能包括以下一项或者多项:
网络地址转换功能;网络地址转换设备;网络地址转换网元;外部功能;具有网络地址转换信息的设备或功能或网元;具有网络地址转换功能的设备或功能或网元。
可选地,所述从第一设备或功能获取网络地址转换信息,包括:
确定目标第一设备或功能;
从所述目标第一设备或功能获取所述网络地址转换信息。
可选地,所述从第一设备或功能获取网络地址转换信息,包括:
获取应用功能(Application Function,AF)的第一请求,所述第一请求包括公网地址;
根据所述第一请求,确定目标第一设备或功能;
从所述目标第一设备或功能获取所述公网地址与私网地址的对应关系,或者,与所述目标公网地址对应的私网地址。
可选地,当从所述目标第一设备或功能获取所述公网地址与私网地址的对应关系时,所述根据所述网络地址转换信息进行处理,包括:
根据所述公网地址、所述公网地址与私网地址的对应关系,确定与所述公网地址对应的私网地址。
可选地,所述从第一设备或功能获取网络地址转换信息,包括:
获取AF的第二请求,所述第二请求用于请求公网地址与私网地址的映射关系;
根据所述第二请求,确定目标第一设备或功能;
从所述目标第一设备或功能获取所述公网地址与私网地址的对应关系。
可选地,所述确定目标第一设备或功能,包括:
通过网络存储功能(Network Repository Function,NRF)确定所述目标第一设备或功能。
可选地,所述通过网络存储功能NRF确定所述目标第一设备或功能,包括:
向所述NRF发送第三请求;
接收所述NRF根据所述第三请求发送的所述目标第一设备或功能的信息;
其中,所述第三请求包括私网地址的信息和/或公网地址的信息;
所述私网地址的信息包括:IPv4地址、IPv6前缀、IP域中的一项或者多项;所述公网地址的信息IPv4地址和IPv6前缀中的一项或者多项。
可选地,所述从所述目标第一设备或功能获取所述公网地址与私网地址的对应关系,包括:
调用所述目标第一设备或功能的服务,从所述目标第一设备或功能获取所述公网地址与私网地址的对应关系。
可选地,所述调用所述目标第一设备或功能的服务,从所述目标第一设备或功能获取所述公网地址与私网地址的对应关系,包括:
向所述目标第一设备或功能发送第四请求,所述第四请求包括所述第一网络功能的ID和/或类型;
接收所述目标第一设备或功能根据所述第四请求发送的所述公网地址与私网地址的对应关系。
可选地,从所述目标第一设备或功能获取与所述公网地址对应的私网地址,包括:
调用所述第一设备或功能的服务,从所述目标第一设备或功能获取与所述公网地址对应的私网地址。
可选地,所述调用所述目标第一设备或功能的服务,从所述目标第一设备或功能获取与所述公网地址对应的私网地址,包括:
向所述目标第一设备或功能发送第五请求,所述第五请求包括所述第一网络功能的ID和/或类型,所述私网地址;
接收所述目标第一设备或功能根据所述第五请求发送的与所述公网地址对应的私网地址。
可选地,所述根据所述网络地址转换信息进行处理,包括以下至少一项:
根据AF的请求,获取公网地址对应的私网地址;
根据第二设备或功能的请求,获取私网地址对应的公网地址。
第二方面,本申请实施例提供了一种信息处理方法,应用于第一设备或功能,包括:
向第一网络功能发送网络地址转换信息,其中,所述网络地址转换信息 包括以下一项或者多项:
公网地址与私网地址的对应关系;
公网地址;
私网地址;
公网地址的端口号;
私网地址的端口号。
可选地,所述方法还包括:
向NRF发送第六请求,所述第六请求用于向所述NRF进行注册,其中,所述第六请求包括:私网地址的信息和/或公网地址的信息;
其中,所述私网地址的信息包括以下一项或者多项:IPv4地址段,IPv46前缀段,IP域信息,端口号;
所述公网地址的信息包括以下一项或者多项:IPv4地址段,IPv46前缀段,端口号。
可选地,所述方法还包括以下一项或者多项:
向所述NRF发送第七请求,所述第七请求用于向NRF进行去注册;
向所述NRF发送第八请求,所述第八请求用于向NRF进行注册更新。
可选地,所述向第一网络功能发送网络地址转换信息,包括:
接收所述第一网络功能的请求,包括所述第一网络功能的网络设备的ID和/或类型;
根据所述请求,向所述第一网络功能发送所述网络地址转换信息。
可选地,所述请求还包括:
候选公网地址的信息和候选私网地址的信息中的一项或者多项。
第三方面,本申请实施例提供了一种信息处理方法,应用于NRF,包括:
获取第一网络功能的请求;
根据所述请求,向所述第一网络功能发送第一设备或功能的信息,所述第一设备或功能用于提供网络地址转换信息或者根据网络地址转换信息进行网络地址转换;
其中,所述网络地址转换信息包括以下一项或者多项:
公网地址与私网地址的对应关系;
公网地址;
私网地址;
公网地址的端口号;
私网地址的端口号。
可选地,所述方法还包括:
接收第一设备或功能的第六请求;
根据所述第六请求对所述第一设备或功能进行注册;
其中,所述第六请求包括:私网地址的信息和/或公网地址的信息;
所述私网地址的信息包括以下一项或者多项:IPv4地址段,IPv46前缀段,IP域信息,端口号;
所述公网地址的信息包括以下一项或者多项:IPv4地址段,IPv46前缀段,端口号。
可选地,所述方法还包括以下一项或者多项:
接收所述第一设备或功能的第七请求,并根据所述第七请求对所述第一设备或功能去注册;
接收所述第一设备或功能的第八请求,并根据所述第八请求对所述第一设备或功能进行注册更新。
第四方面,本申请实施例提供了一种信息处理方法,应用于第一网络功能,包括:
通过NRF发现第一设备或功能,所述第一设备或功能用于提供网络地址转换信息或者根据网络地址转换信息进行网络地址转换;
其中,所述网络地址转换信息包括以下一项或者多项:
公网地址与私网地址的对应关系;
公网地址;
私网地址;
公网地址的端口号;
私网地址的端口号。
可选地,所述通过NRF发现第一设备或功能,包括:
向所述NRF发送请求;
接收所述NRF根据所述请求发送的所述第一设备或功能的信息;
其中,所述请求包括私网地址的信息和/或公网地址的信息;
所述私网地址的信息包括:IPv4地址、IPv6前缀、IP域中的一项或者多项;所述公网地址的信息IPv4地址和IPv6前缀中的一项或者多项。
第五方面,本申请实施例提供了一种信息处理装置,应用于第一网络功能,包括:
第一获取模块,用于从第一设备或功能获取网络地址转换信息;
第一处理模块,用于根据所述网络地址转换信息进行处理;
其中,所述网络地址转换信息包括以下一项或者多项:
公网地址与私网地址的对应关系;公网地址;私网地址;公网地址的端口号;私网地址的端口号。
其中,所述第一网络功能包括以下至少一项:
网络能力开放功能NEF;会话管理功能SMF;用户面功能UPF;策略控制功能PCF;网络地址转换功能。
其中,所述第一设备或功能包括以下一项或者多项:
网络地址转换功能;网络地址转换设备;网络地址转换网元;外部功能;具有网络地址转换信息的设备或功能或网元;具有网络地址转换功能的设备或功能或网元。
其中,所述第一获取模块,包括:
第一确定子模块,用于确定目标第一设备或功能;
第一获取子模块,用于从所述目标第一设备或功能获取所述网络地址转换信息。
其中,所述第一获取模块,包括:
第一获取子模块,用于获取应用功能AF的第一请求,所述第一请求包括公网地址;
第一确定子模块,用于根据所述第一请求,确定目标第一设备或功能;
第二获取子模块,用于从所述目标第一设备或功能获取所述公网地址与私网地址的对应关系,或者,与所述目标公网地址对应的私网地址。
其中,当从所述目标第一设备或功能获取所述公网地址与私网地址的对 应关系时,所述第一处理模块,用于:
根据所述公网地址、所述公网地址与私网地址的对应关系,确定与所述公网地址对应的私网地址。
其中,所述第二获取子模块,用于调用所述第一设备或功能的服务,从所述目标第一设备或功能获取与所述公网地址对应的私网地址。
其中,所述第二获取子模块,用于向所述目标第一设备或功能发送第五请求,所述第五请求包括所述第一网络功能的ID和/或类型,所述私网地址;
接收所述目标第一设备或功能根据所述第五请求发送的与所述公网地址对应的私网地址。
其中,所述第一获取模块,包括:
第一获取子模块,用于获取AF的第二请求,所述第二请求用于请求公网地址与私网地址的映射关系;
第一确定子模块,用于根据所述第二请求,确定目标第一设备或功能;
第二获取子模块,用于从所述目标第一设备或功能获取所述公网地址与私网地址的对应关系。
其中,所述第一确定子模块,用于:通过网络存储功能NRF确定所述目标第一设备或功能。
其中,所述第一确定子模块,用于:
向所述NRF发送第三请求;
接收所述NRF根据所述第三请求发送的所述目标第一设备或功能的信息;
其中,所述第三请求包括私网地址的信息和/或公网地址的信息;
所述私网地址的信息包括:IPv4地址、IPv6前缀、IP域中的一项或者多项;所述公网地址的信息IPv4地址和IPv6前缀中的一项或者多项。
其中,第二获取子模块,用于调用所述目标第一设备或功能的服务,从所述目标第一设备或功能获取所述公网地址与私网地址的对应关系。
其中,第二获取子模块,用于:
向所述目标第一设备或功能发送第四请求,所述第四请求包括所述第一网络功能的ID和/或类型;
接收所述目标第一设备或功能根据所述第四请求发送的所述公网地址与 私网地址的对应关系。
其中,所述第一处理模块用于执行以下至少一项:
根据AF的请求,获取公网地址对应的私网地址;
根据第二设备或功能的请求,获取私网地址对应的公网地址。
第六方面,本申请实施例提供了一种信息处理装置,应用于第一设备或功能,包括:
第一发送模块,用于向第一网络功能发送网络地址转换信息,其中,所述网络地址转换信息包括以下一项或者多项:
公网地址与私网地址的对应关系;
公网地址;
私网地址;
公网地址的端口号;
私网地址的端口号。
其中,所述装置还包括:
第二发送模块,用于向NRF发送第六请求,所述第六请求用于向所述NRF进行注册,其中,所述第六请求包括:私网地址的信息和/或公网地址的信息;
其中,所述私网地址的信息包括以下一项或者多项:IPv4地址段,IPv46前缀段,IP域信息,端口号;
所述公网地址的信息包括以下一项或者多项:IPv4地址段,IPv46前缀段,端口号。
其中,所述装置还包括以下一项或者多项:
第三发送模块,用于向所述NRF发送第七请求,所述第七请求用于向NRF进行去注册;
第四发送模块,用于向所述NRF发送第八请求,所述第八请求用于向NRF进行注册更新。
其中,所述第一发送模块用于:
接收所述第一网络功能的请求,包括所述第一网络功能的网络设备的ID和/或类型;
根据所述请求,向所述第一网络功能发送所述网络地址转换信息。
其中,候选公网地址的信息和候选私网地址的信息中的一项或者多项。
第七方面,本申请实施例提供了一种信息处理装置,应用于NRF,包括:
第一获取模块,用于获取第一网络功能的请求;
第一发送模块,用于根据所述请求,向所述第一网络功能发送第一设备或功能的信息,所述第一设备或功能用于提供网络地址转换信息或者根据网络地址转换信息进行网络地址转换;
其中,所述网络地址转换信息包括以下一项或者多项:
公网地址与私网地址的对应关系;
公网地址;
私网地址;
公网地址的端口号;
私网地址的端口号。
其中,所述装置还可包括:
第一接收模块,用于接收第一设备或功能的第六请求;
第一注册模块,用于根据所述第六请求对所述第一设备或功能进行注册;
其中,所述第六请求包括:私网地址的信息和/或公网地址的信息;
所述私网地址的信息包括以下一项或者多项:IPv4地址段,IPv46前缀段,IP域信息,端口号;
所述公网地址的信息包括以下一项或者多项:IPv4地址段,IPv46前缀段,端口号。
其中,所述装置还可包括以下一项或者多项:
第一去注册模块,用于接收所述第一设备或功能的第七请求,并根据所述第七请求对所述第一设备或功能去注册;
第一注册更新模块,用于接收所述第一设备或功能的第八请求,并根据所述第八请求对所述第一设备或功能进行注册更新。
第八方面,本申请实施例提供了一种信息处理装置,应用于第一网络功能,包括:
第一处理模块,用于通过NRF发现第一设备或功能,所述第一设备或功 能用于提供网络地址转换信息或者根据网络地址转换信息进行网络地址转换;
其中,所述网络地址转换信息包括以下一项或者多项:
公网地址与私网地址的对应关系;
公网地址;
私网地址;
公网地址的端口号;
私网地址的端口号。
其中,所述第一处理模块,包括:
第一发送子模块,用于向所述NRF发送请求;
第一接收子模块,用于接收所述NRF根据所述请求发送的所述第一设备或功能的信息;
其中,所述请求包括私网地址的信息和/或公网地址的信息;
所述私网地址的信息包括:IPv4地址、IPv6前缀、IP域中的一项或者多项;所述公网地址的信息IPv4地址和IPv6前缀中的一项或者多项。
第九方面,本申请实施例提供了一种信息处理装置,应用于第一网络功能,包括:处理器和收发器;
所述收发器,用于从第一设备或功能获取网络地址转换信息;
所述处理器,用于根据所述网络地址转换信息进行处理;
其中,所述网络地址转换信息包括以下一项或者多项:
公网地址与私网地址的对应关系;公网地址;私网地址;公网地址的端口号;私网地址的端口号。
其中,所述第一网络功能包括以下至少一项:
网络能力开放功能NEF;会话管理功能SMF;用户面功能UPF;策略控制功能PCF;网络地址转换功能。
其中,所述第一设备或功能包括以下一项或者多项:
网络地址转换功能;网络地址转换设备;网络地址转换网元;外部功能;具有网络地址转换信息的设备或功能或网元;具有网络地址转换功能的设备或功能或网元。
其中,所述处理器用于:
确定目标第一设备或功能;
从所述目标第一设备或功能获取所述网络地址转换信息。
其中,所述处理器用于:
获取应用功能AF的第一请求,所述第一请求包括公网地址;
根据所述第一请求,确定目标第一设备或功能;
从所述目标第一设备或功能获取所述公网地址与私网地址的对应关系,或者,与所述目标公网地址对应的私网地址。
当从所述目标第一设备或功能获取所述公网地址与私网地址的对应关系时,其中,所述处理器用于:
根据所述公网地址、所述公网地址与私网地址的对应关系,确定与所述公网地址对应的私网地址。
其中,所述处理器用于:
获取AF的第二请求,所述第二请求用于请求公网地址与私网地址的映射关系;
根据所述第二请求,确定目标第一设备或功能;
从所述目标第一设备或功能获取所述公网地址与私网地址的对应关系。
其中,所述处理器用于:
通过网络存储功能NRF确定所述目标第一设备或功能。
其中,所述处理器用于:
向所述NRF发送第三请求;
接收所述NRF根据所述第三请求发送的所述目标第一设备或功能的信息;
其中,所述第三请求包括私网地址的信息和/或公网地址的信息;
所述私网地址的信息包括:IPv4地址、IPv6前缀、IP域中的一项或者多项;所述公网地址的信息IPv4地址和IPv6前缀中的一项或者多项。
其中,所述处理器用于:
调用所述目标第一设备或功能的服务,从所述目标第一设备或功能获取所述公网地址与私网地址的对应关系。
其中,所述处理器用于:
向所述目标第一设备或功能发送第四请求,所述第四请求包括所述第一 网络功能的ID和/或类型;
接收所述目标第一设备或功能根据所述第四请求发送的所述公网地址与私网地址的对应关系。
其中,所述处理器用于:
调用所述第一设备或功能的服务,从所述目标第一设备或功能获取与所述公网地址对应的私网地址。
其中,所述处理器用于:
向所述目标第一设备或功能发送第五请求,所述第五请求包括所述第一网络功能的ID和/或类型,所述私网地址;
接收所述目标第一设备或功能根据所述第五请求发送的与所述公网地址对应的私网地址。
其中,所述处理器用于:
根据AF的请求,获取公网地址对应的私网地址;
根据第二设备或功能的请求,获取私网地址对应的公网地址。
第十方面,本申请实施例提供了一种信息处理装置,应用于第一设备或功能,包括:处理器和收发器;
所述收发器,用于向第一网络功能发送网络地址转换信息,其中,所述网络地址转换信息包括以下一项或者多项:
公网地址与私网地址的对应关系;
公网地址;
私网地址;
公网地址的端口号;
私网地址的端口号。
其中,所述收发器,用于:
向NRF发送第六请求,所述第六请求用于向所述NRF进行注册,其中,所述第六请求包括:私网地址的信息和/或公网地址的信息;
其中,所述私网地址的信息包括以下一项或者多项:IPv4地址段,IPv46前缀段,IP域信息,端口号;
所述公网地址的信息包括以下一项或者多项:IPv4地址段,IPv46前缀 段,端口号。
其中,所述收发器,用于执行以下一项或多项:
向所述NRF发送第七请求,所述第七请求用于向NRF进行去注册;
向所述NRF发送第八请求,所述第八请求用于向NRF进行注册更新。
其中,所述收发器,用于:
接收所述第一网络功能的请求,包括所述第一网络功能的网络设备的ID和/或类型;
根据所述请求,向所述第一网络功能发送所述网络地址转换信息。
其中,所述请求还包括:
候选公网地址的信息和候选私网地址的信息中的一项或者多项。
第十一方面,本申请实施例提供了一种信息处理装置,应用于NRF,包括:处理器和收发器;
所述收发器,用于获取第一网络功能的请求;根据所述请求,向所述第一网络功能发送第一设备或功能的信息,所述第一设备或功能用于提供网络地址转换信息或者根据网络地址转换信息进行网络地址转换;
其中,所述网络地址转换信息包括以下一项或者多项:
公网地址与私网地址的对应关系;
公网地址;
私网地址;
公网地址的端口号;
私网地址的端口号。
其中,所述收发器还用于,接收第一设备或功能的第六请求;
所述处理器,还用于根据所述第六请求对所述第一设备或功能进行注册;
其中,所述第六请求包括:私网地址的信息和/或公网地址的信息;
所述私网地址的信息包括以下一项或者多项:IPv4地址段,IPv46前缀段,IP域信息,端口号;
所述公网地址的信息包括以下一项或者多项:IPv4地址段,IPv46前缀段,端口号。
其中,所述处理器,还用于执行以下一项或者多项:
接收所述第一设备或功能的第七请求,并根据所述第七请求对所述第一设备或功能去注册;
接收所述第一设备或功能的第八请求,并根据所述第八请求对所述第一设备或功能进行注册更新。
第十二方面,本申请实施例提供了一种信息处理装置,应用于第一网络功能,包括:处理器和收发器;
所述处理器,用于通过NRF发现第一设备或功能,所述第一设备或功能用于提供网络地址转换信息或者根据网络地址转换信息进行网络地址转换;
其中,所述网络地址转换信息包括以下一项或者多项:
公网地址与私网地址的对应关系;
公网地址;
私网地址;
公网地址的端口号;
私网地址的端口号。
其中,所述处理器还用于:
向所述NRF发送请求;
接收所述NRF根据所述请求发送的所述第一设备或功能的信息;
其中,所述请求包括私网地址的信息和/或公网地址的信息;
所述私网地址的信息包括:IPv4地址、IPv6前缀、IP域中的一项或者多项;所述公网地址的信息IPv4地址和IPv6前缀中的一项或者多项。
第十三方面,本申请实施例还提供一种通信设备,包括:收发机、存储器、处理器及存储在存储器上并可在处理器上运行的程序,所述处理器执行所述程序时实现如上所述的信息处理方法中的步骤。
第十四方面,本申请实施例还提供一种可读存储介质,所述可读存储介质上存储程序,所述程序被处理器执行时实现如上所述的信息处理方法中的步骤。
在本申请实施例中,第一网络功能可从第一设备或功能获得网络地址转换信息,并根据网络地址转换信息进行处理。利用本申请实施例的方案,由于第一网络功能可获取网络地址转换信息,因此,第一网络功能可实现相应 的网络地址转换功能,从而可进行端到端的控制。
附图说明
图1是本申请实施例提供的信息处理方法的流程图之一;
图2是本申请实施例提供的信息处理方法的流程图之二;
图3是本申请实施例提供的信息处理方法的流程图之三;
图4是本申请实施例提供的信息处理方法的流程图之四;
图5是本申请实施例提供的信息处理方法的流程图之五;
图6是本申请实施例提供的信息处理方法的流程图之六;
图7是本申请实施例提供的信息处理装置的结构图之一;
图8是本申请实施例提供的信息处理装置的结构图之二;
图9是本申请实施例提供的信息处理装置的结构图之三;
图10是本申请实施例提供的信息处理装置的结构图之四;
图11是本申请实施例提供的信息处理装置的结构图之五;
图12是本申请实施例提供的信息处理装置的结构图之六;
图13是本申请实施例提供的信息处理装置的结构图之七;
图14是本申请实施例提供的信息处理装置的结构图之八。
具体实施方式
本申请实施例中术语“和/或”,描述关联对象的关联关系,表示可以存在三种关系,例如,A和/或B,可以表示:单独存在A,同时存在A和B,单独存在B这三种情况。字符“/”一般表示前后关联对象是一种“或”的关系。
本申请实施例中术语“多个”是指两个或两个以上,其它量词与之类似。
下面将结合本申请实施例中的附图,对本申请实施例中的技术方案进行清楚、完整地描述,显然,所描述的实施例仅仅是本申请一部分实施例,并不是全部的实施例。基于本申请中的实施例,本领域普通技术人员在没有做出创造性劳动前提下所获得的所有其他实施例,都属于本申请保护的范围。
参见图1,图1是本申请实施例提供的信息处理方法的流程图,应用于第一网络功能。其中,所述第一网络功能包括以下至少一项:NEF;SMF; UPF;PCF;网络地址转换功能。其中,该网络地址转换功能可以是新增设的网络地址转换功能。如图1所示,所述方法包括以下步骤:
步骤101、从第一设备或功能获取网络地址转换信息。
其中,所述第一设备或功能包括以下一项或者多项:
网络地址转换功能;网络地址转换设备;网络地址转换网元;外部功能;具有网络地址转换信息的设备或功能或网元;具有网络地址转换功能的设备或功能或网元。
例如,在实际应用中,所述第一设备或功能可是NAT,其中NAT可以设计为一个网络功能(Network Function,NF),即NATF(NAT(Network Address Translation,网络地址转换)NF)。
其中,所述网络地址转换信息包括以下一项或者多项:
公网地址与私网地址的对应关系;公网地址;私网地址;公网地址的端口号;私网地址的端口号。
在本申请实施例中,例如,NAT对外的(5GC之外)地址为公网地址,5GC内部采用的是私网地址。
在本申请实施例中,可通过多种方式获取网络地址转换信息。
例如,第一网络功能可确定目标第一设备或功能,并从所述目标第一设备或功能获取所述网络地址转换信息。当获取了网络地址转换信息之后,第一网络功能可将其存储,以备后续使用。此时,第一网络功能可以是NEF等。
又例如,第一网络功能可获取应用功能AF的第一请求,所述第一请求包括公网地址,并根据所述第一请求,确定目标第一设备或功能。之后,所述第一网络功能从所述目标第一设备或功能获取所述公网地址与私网地址的对应关系,或者,与所述目标公网地址对应的私网地址。也即,这种情况是应AF的第一请求而获取网络地址转换信息。在这种情况下,当从所述目标第一设备或功能获取所述公网地址与私网地址的对应关系时,所述第一网络功能还可在后续的步骤中,根据所述公网地址、所述公网地址与私网地址的对应关系,确定与所述公网地址对应的私网地址。其中,所述第一请求例如可以是用户设备(User Equipment,UE)标识查询请求或者是会话绑定请求等。此时,第一网络功能可以是NEF等。
又例如,第一网络功能还可获取AF的第二请求,所述第二请求用于请求公网地址与私网地址的映射关系。之后,第一网络功能可根据所述第二请求,确定目标第一设备或功能,从所述目标第一设备或功能获取所述公网地址与私网地址的对应关系。也即,这种情况是应AF的第一请求而获取网络地址转换信息。此时,第一网络功能可以是SMF,UPF,PCF等。所述第二请求例如可以是AF需要请求能力开放信息时发送的。
通过以上几种方式,可灵活的实现网络地址转换信息的获取,以适应不同场景的需求。
在实际应用中,第一设备或功能可注册到NRF中,其他设备或者功能可通过NRF查找到目标第一设备或功能,进而从目标第一设备或功能获取网络地址转换信息。其中,所述目标第一设备或功能指的是能被NRF发现的第一设备或功能。当从目标第一设备或功能获取网络地址转换信息时,其他设备或功能可通过调用目标第一设备或功能的服务的方式获取。
具体的,在以上的几种情况中,第一网络功能可通过NRF确定所述目标第一设备或功能。具体的,第一网络功能可向所述NRF发送第三请求,并接收所述NRF根据所述第三请求发送的所述目标第一设备或功能的信息。其中,所述第三请求包括私网地址的信息和/或公网地址的信息;所述私网地址的信息包括:IPv4地址、IPv6前缀、IP域中的一项或者多项;所述公网地址的信息IPv4地址和IPv6前缀中的一项或者多项。其中,所述目标第一设备或功能的信息例如可以是第一网络或功能的名称,实例ID等等。
在以上的几种情况中,当需要从目标第一设备或功能获取所述公网地址与私网地址的对应关系时,第一网络功能可调用所述目标第一设备或功能的服务,从所述目标第一设备或功能获取所述公网地址与私网地址的对应关系。具体的,第一网络功能向所述目标第一设备或功能发送第四请求,并接收所述目标第一设备或功能根据所述第四请求发送的所述公网地址与私网地址的对应关系,所述第四请求包括所述第一网络功能的ID和/或类型。
在以上的几种情况中,第一网络功能可调用所述第一设备或功能的服务,从所述目标第一设备或功能获取与所述公网地址对应的私网地址。具体的,第一网络功能向所述目标第一设备或功能发送第五请求,并接收所述目标第 一设备或功能根据所述第五请求发送的与所述公网地址对应的私网地址,所述第五请求包括所述第一网络功能的ID和/或类型,所述私网地址。
步骤102、根据所述网络地址转换信息进行处理。
在此步骤中,第一网络功能主要是执行以下一项多项:根据AF的请求,将公网地址映射为私网地址;根据第二设备或功能的请求,将私网地址映射为公网地址。其中,所述第二设备或功能可以是网络中需要将私网地址映射为公网地址的设备或功能。
在本申请实施例中,第一网络功能可从第一设备或功能获得网络地址转换信息,并根据网络地址转换信息进行处理。利用本申请实施例的方案,由于第一网络功能可获取网络地址转换信息,因此,第一网络功能可实现相应的网络地址转换功能,从而可进行端到端的控制。
参见图2,图2是本申请实施例提供的信息处理方法的流程图,应用于第一设备或功能。其中,所述第一设备或功能包括以下一项或者多项:网络地址转换功能;网络地址转换设备;网络地址转换网元;外部功能;具有网络地址转换信息的设备或功能或网元;具有网络地址转换功能的设备或功能或网元。例如,在实际应用中,所述第一设备或功能可是以NATF。如图2所示,所述方法包括以下步骤:
步骤201、向第一网络功能发送网络地址转换信息,其中,所述网络地址转换信息包括以下一项或者多项:
公网地址与私网地址的对应关系;公网地址;私网地址;公网地址的端口号;私网地址的端口号。
在此步骤中,第一设备或功能可接收所述第一网络功能的请求,包括所述第一网络功能的网络设备的ID和/或类型,并根据所述请求,向所述第一网络功能发送所述网络地址转换信息。
其中,所述第一网络功能包括的含义可参照前述实施例的描述。所述请求还可包括候选公网地址的信息和候选私网地址的信息中的一项或者多项。候选的公网地址的信息或者候选的私网地址的信息,例如可以理解为是第一网络功能期望获得的公网地址或者私网地址等。
此外,所述第一功能或设备还可向NRF发送第六请求,所述第六请求用 于向所述NRF进行注册,其中,所述第六请求包括:私网地址的信息和/或公网地址的信息;其中,所述私网地址的信息包括以下一项或者多项:IPv4地址段,IPv46前缀段,IP域信息,端口号;所述公网地址的信息包括以下一项或者多项:IPv4地址段,IPv46前缀段,端口号。
在本申请实施例中,以第一功能或设备为NATF为例,可定义(一个或者多个)NATF的服务。其中,该服务的信息如下:
服务1:Nnatf_event exposure服务
服务名:该服务可进行订阅(subscribe)/通知(notify)和请求(request)/响应(response)的服务调用操作。
服务描述:允许其他NF对NATF进行服务调用,并获取私网地址和公网地址的映射关系;或者,根据提供的私网地址/公网地址,映射为对应的公网地址/私网地址;或者,提供公网地址的端口号;或者,提供私网地址的端口号等。
输入参数:访问的NF ID(NF标识)或者NF类型,可选的私网地址/公网地址。
输出参数:可选的公网地址/私网地址,私网地址和公网地址的映射关系;公网地址的端口号;私网地址的端口号。
如表1所示,表述了NATF存储的网络信息,也可以是NATF发给NEF的信息。
表1
Figure PCTCN2022143954-appb-000001
Figure PCTCN2022143954-appb-000002
NATF可调用NRF的服务进行注册。具体的,NATF调用NRF的Nnrf_NFManagement_NFRegister服务,将自身的NF属性(NF profile)注册到NRF上。其中NF profile包括但不限于:NF类型(NF type),NF实例ID(NF instance ID),NF全限定域名(Fully Qualified Domain Name,FQDN)或IP地址,NF服务名,网络切片信息,数据网域名(Data Network Name,DNN)信息,私网地址的信息,公网地址的信息;其中,私网地址的信息包括:IPv4地址段,IPv6前缀段,IP域信息(如IP域列表(IP domain list)),端口号;公网地址的信息包括IPv4地址段,IPv6前缀段,端口号。
其他NF,如NEF,可调用NRF的Nnrf_NFDiscovery_Request服务,发现目标NATF。其中,Nnrf_NFDiscovery_Request中的输入参数包括但不限于:一个或多个目标NF服务名称(one or more target NF service Name(s)),目标MF的NF类型(NF type of the target NF),NF服务消费者的NF类型(NF type of the NF service consumer),网络切片信息,DNN信息,公网地址的信息,私网地址的信息。其中,公网地址的信息包括:IPv4地址或者IPv6前缀,私网地址的信息包括IPv4地址、IPv6前缀、IP域(IP domain)等。NRF输出的查询结果为NATF实例ID(NATF instance ID)等。
此外,所述第一功能或设备还可向所述NRF发送第七请求,所述第七请求用于向NRF进行去注册;和/或,向所述NRF发送第八请求,所述第八请求用于向NRF进行注册更新。
例如,NATF可调用NRF的Nnrf_NFManagement_NFderegister进行去注册,或者,还可调用NRF的Nnrf_NFManagement_NFUpdate进行注册更新。
在本申请实施例中,第一网络功能可从第一设备或功能获得网络地址转换信息,并根据网络地址转换信息进行处理。利用本申请实施例的方案,由于第一网络功能可获取网络地址转换信息,因此,第一网络功能可实现相应的网络地址转换功能,从而可进行端到端的控制。
参见图3,图3是本申请实施例提供的信息处理方法的流程图,应用于NRF。如图3所示,该方法可包括:
步骤301、获取第一网络功能的请求。
步骤302、根据所述请求,向所述第一网络功能发送第一设备或功能的信息,所述第一设备或功能用于提供网络地址转换信息或者根据网络地址转换信息进行网络地址转换。
其中,所述网络地址转换信息包括以下一项或者多项:
公网地址与私网地址的对应关系;
公网地址;
私网地址;
公网地址的端口号;
私网地址的端口号。
其中,所述第一功能或设备的信息例如可以是第一功能或设备的名称,实例ID等。
此外,NRF还可接收第一设备或功能的第六请求,并根据所述第六请求对所述第一设备或功能进行注册;其中,所述第六请求包括:私网地址的信息和/或公网地址的信息;所述私网地址的信息包括以下一项或者多项:IPv4地址段,IPv46前缀段,IP域信息,端口号;所述公网地址的信息包括以下一项或者多项:IPv4地址段,IPv46前缀段,端口号。
此外,NRF还可执行以下一项或者多项:
接收所述第一设备或功能的第七请求,并根据所述第七请求对所述第一设备或功能去注册;
接收所述第一设备或功能的第八请求,并根据所述第八请求对所述第一设备或功能进行注册更新。
在本申请实施例中,第一网络功能可从第一设备或功能获得网络地址转换信息,并根据网络地址转换信息进行处理。利用本申请实施例的方案,由于第一网络功能可获取网络地址转换信息,因此,第一网络功能可实现相应的网络地址转换功能,从而可进行端到端的控制。
参见图4,图4是本申请实施例提供的信息处理方法的流程图,应用于第一网络功能。如图4所示,该方法可包括:
步骤401、通过NRF发现第一设备或功能,所述第一设备或功能用于提 供网络地址转换信息或者根据网络地址转换信息进行网络地址转换;
其中,所述网络地址转换信息包括以下一项或者多项:
公网地址与私网地址的对应关系;
公网地址;
私网地址;
公网地址的端口号;
私网地址的端口号。
具体的,在此步骤中,第一网络功能向所述NRF发送请求,并接收所述NRF根据所述请求发送的所述第一设备或功能的信息。其中,所述请求包括私网地址的信息和/或公网地址的信息;所述私网地址的信息包括:IPv4地址、IPv6前缀、IP域中的一项或者多项;所述公网地址的信息IPv4地址和IPv6前缀中的一项或者多项。
在本申请实施例中,第一网络功能可从第一设备或功能获得网络地址转换信息,并根据网络地址转换信息进行处理。利用本申请实施例的方案,由于第一网络功能可获取网络地址转换信息,因此,第一网络功能可实现相应的网络地址转换功能,从而可进行端到端的控制。
在以上的实施例中,并不对各种请求的具体实现方式进行限定,只要其能够利用通信双方之间的通信机制实现即可。
参见图5,图5是本申请实施例信息处理方法的流程图。其中,第一网络功能(NEF)获取第一设备或功能(NATF)的地址映射信息。NEF调用NATF的服务,获取网络地址转换信息。NEF与NATF之间可以通过服务化接口进行交互;NATF可以将自身的信息注册到NRF中,便于NEF通过服务发现功能查找到对应的NATF。本申请实施例的过程可应用于AF进行会话绑定信息查询流程,AF请求UE标识的流程等。如图5所示,该过程可包括:
步骤500、NATF向NRF注册。
其中,注册的过程可参照以上实施例中描述的相关内容。
步骤501、在无会话建立或者无特定AF的请求之前,NEF调用NRF的服务查找到目标NATF。其中,NEF在调用NRF的服务时,输入参数可包括网络切片信息、DNN信息、位置信息(UE的位置或者NEF的位置)等。
步骤502、NEF调用目标NATF的服务,获取网络地址转换信息,存储在NEF中,为后续的AF请求做准备。
其中,步骤502和步骤503可作为单独的流程。
步骤503、AF请求NEF进行会话绑定或者UE标识查询。
步骤504、NEF调用NRF的服务查找到目标NATF。
步骤505、NEF调用目标NATF的服务,获取网络地址转换信息。
在本申请实施例中,网络地址转换信息可包括公网地址与私网地址的对应关系,公网地址,私网地址,公网地址的端口号,私网地址的端口号。
NEF向目标NATF提供UE IP地址(即该会话对应的UE公网地址),获取NATF的网络地址转换信息(包含该会话的私网地址)。
步骤506、NEF根据AF提供的公网地址信息、以及NATF提供的网络地址转换信息,获得该UE该会话的私网地址。
步骤507、NEF使用上述私网地址,发起会话绑定流程或者UE标识查询流程。
其中,上述步骤503之后,如果NEF本身存储有网络地址转换信息,NEF可根据AF提供的公网地址信息、以及网络地址转换信息,获得该UE该会话的私网地址。之后,执行步骤507。也即,此时可不执行步骤504-506。
其中,上述步骤505中,NEF还可直接从NATF获取该会话对应的UE私地址,此时可省略执行步骤506。
通过以上过程,在5GC中可实现网络地址转换功能,同时,可实现会话绑定。
参见图6,图6是本申请实施例信息处理方法的流程图。本申请实施例中第一网络功能(SMF/UPF/PCF)获取第一设备或功能(NATF)的网络地址转换信息的过程示意图。如图6所示,该过程可包括:
步骤600、NATF向NRF注册。
其中,注册的过程可参照以上实施例中描述的相关内容。
步骤601、AF向NEF请求能力开放的信息,包括请求网络地址转换信息等。在此,所述网络地址转换信息例如可包括公网地址与私网地址的对应关系。
步骤602、NEF通过PCF等查找到对应的SMF/UPF,进行相关信息的开放请求。
步骤603、SMF/UPF通过调用NRF的服务找到对应的目标NATF。
步骤604、SMF/UPF通过调用目标NATF的服务,请求目标NATF的网络地址转换信息。
步骤605、目标NATF反馈网络地址转换信息给SMF/UPF。
步骤606、SMF/UPF反馈网络地址转换信息给NEF。
步骤607、NEF反馈网络地址转换信息给AF。
通过以上过程,在5GC中可实现网络地址转换功能,同时,可实现能力开放的处理等。
本申请实施例还提供了一种信息处理装置,应用于第一网络功能。如图7所示,信息处理装置700包括:
第一获取模块701,用于从第一设备或功能获取网络地址转换信息;第一处理模块702,用于根据所述网络地址转换信息进行处理;
其中,所述网络地址转换信息包括以下一项或者多项:
公网地址与私网地址的对应关系;公网地址;私网地址;公网地址的端口号;私网地址的端口号。
其中,所述第一网络功能包括以下至少一项:
网络能力开放功能NEF;会话管理功能SMF;用户面功能UPF;策略控制功能PCF;网络地址转换功能。
其中,所述第一设备或功能包括以下一项或者多项:
网络地址转换功能;网络地址转换设备;网络地址转换网元;外部功能;具有网络地址转换信息的设备或功能或网元;具有网络地址转换功能的设备或功能或网元。
其中,所述第一获取模块,包括:
第一确定子模块,用于确定目标第一设备或功能;
第一获取子模块,用于从所述目标第一设备或功能获取所述网络地址转换信息。
其中,所述第一获取模块,包括:
第一获取子模块,用于获取应用功能AF的第一请求,所述第一请求包括公网地址;
第一确定子模块,用于根据所述第一请求,确定目标第一设备或功能;
第二获取子模块,用于从所述目标第一设备或功能获取所述公网地址与私网地址的对应关系,或者,与所述目标公网地址对应的私网地址。
其中,当从所述目标第一设备或功能获取所述公网地址与私网地址的对应关系时,所述第一处理模块,用于:
根据所述公网地址、所述公网地址与私网地址的对应关系,确定与所述公网地址对应的私网地址。
其中,所述第二获取子模块,用于调用所述第一设备或功能的服务,从所述目标第一设备或功能获取与所述公网地址对应的私网地址。
其中,所述第二获取子模块,用于向所述目标第一设备或功能发送第五请求,所述第五请求包括所述第一网络功能的ID和/或类型,所述私网地址;
接收所述目标第一设备或功能根据所述第五请求发送的与所述公网地址对应的私网地址。
其中,所述第一获取模块,包括:
第一获取子模块,用于获取AF的第二请求,所述第二请求用于请求公网地址与私网地址的映射关系;
第一确定子模块,用于根据所述第二请求,确定目标第一设备或功能;
第二获取子模块,用于从所述目标第一设备或功能获取所述公网地址与私网地址的对应关系。
其中,所述第一确定子模块,用于:通过网络存储功能NRF确定所述目标第一设备或功能。
其中,所述第一确定子模块,用于:
向所述NRF发送第三请求;
接收所述NRF根据所述第三请求发送的所述目标第一设备或功能的信息;
其中,所述第三请求包括私网地址的信息和/或公网地址的信息;
所述私网地址的信息包括:IPv4地址、IPv6前缀、IP域中的一项或者多项;所述公网地址的信息IPv4地址和IPv6前缀中的一项或者多项。
其中,第二获取子模块,用于调用所述目标第一设备或功能的服务,从所述目标第一设备或功能获取所述公网地址与私网地址的对应关系。
其中,第二获取子模块,用于:
向所述目标第一设备或功能发送第四请求,所述第四请求包括所述第一网络功能的ID和/或类型;
接收所述目标第一设备或功能根据所述第四请求发送的所述公网地址与私网地址的对应关系。
其中,所述第一处理模块用于执行以下至少一项:
根据AF的请求,将公网地址映射为私网地址;
根据第二设备或功能的请求,将私网地址映射为公网地址。
本申请实施例提供的装置,可以执行上述方法实施例,其实现原理和技术效果类似,本实施例此处不再赘述。
本申请实施例还提供了一种信息处理装置,应用于第一设备或功能。如图8所示,信息处理装置800包括:
第一发送模块801,用于向第一网络功能发送网络地址转换信息,其中,所述网络地址转换信息包括以下一项或者多项:
公网地址与私网地址的对应关系;
公网地址;
私网地址;
公网地址的端口号;
私网地址的端口号。
其中,所述装置还包括:
第二发送模块,用于向NRF发送第六请求,所述第六请求用于向所述NRF进行注册,其中,所述第六请求包括:私网地址的信息和/或公网地址的信息;
其中,所述私网地址的信息包括以下一项或者多项:IPv4地址段,IPv46前缀段,IP域信息,端口号;
所述公网地址的信息包括以下一项或者多项:IPv4地址段,IPv46前缀段,端口号。
其中,所述装置还包括以下一项或者多项:
第三发送模块,用于向所述NRF发送第七请求,所述第七请求用于向NRF进行去注册;
第四发送模块,用于向所述NRF发送第八请求,所述第八请求用于向NRF进行注册更新。
其中,所述第一发送模块用于:
接收所述第一网络功能的请求,包括所述第一网络功能的网络设备的ID和/或类型;
根据所述请求,向所述第一网络功能发送所述网络地址转换信息。
其中,候选公网地址的信息和候选私网地址的信息中的一项或者多项。
本申请实施例提供的装置,可以执行上述方法实施例,其实现原理和技术效果类似,本实施例此处不再赘述。
本申请实施例还提供了一种信息处理装置,应用于NRF。如图9所示,信息处理装置900包括:
第一获取模块901,用于获取第一网络功能的请求;
第一发送模块902,用于根据所述请求,向所述第一网络功能发送第一设备或功能的信息,所述第一设备或功能用于提供网络地址转换信息或者根据网络地址转换信息进行网络地址转换;
其中,所述网络地址转换信息包括以下一项或者多项:
公网地址与私网地址的对应关系;
公网地址;
私网地址;
公网地址的端口号;
私网地址的端口号。
其中,所述装置还可包括:
第一接收模块,用于接收第一设备或功能的第六请求;
第一注册模块,用于根据所述第六请求对所述第一设备或功能进行注册;
其中,所述第六请求包括:私网地址的信息和/或公网地址的信息;
所述私网地址的信息包括以下一项或者多项:IPv4地址段,IPv46前缀 段,IP域信息,端口号;
所述公网地址的信息包括以下一项或者多项:IPv4地址段,IPv46前缀段,端口号。
其中,所述装置还可包括以下一项或者多项:
第一去注册模块,用于接收所述第一设备或功能的第七请求,并根据所述第七请求对所述第一设备或功能去注册;
第一注册更新模块,用于接收所述第一设备或功能的第八请求,并根据所述第八请求对所述第一设备或功能进行注册更新。
本申请实施例提供的装置,可以执行上述方法实施例,其实现原理和技术效果类似,本实施例此处不再赘述。
本申请实施例还提供了一种信息处理装置,应用于第一网络功能。如图10所示,信息处理装置1000包括:
第一处理模块1001,用于通过NRF发现第一设备或功能,所述第一设备或功能用于提供网络地址转换信息或者根据网络地址转换信息进行网络地址转换;
其中,所述网络地址转换信息包括以下一项或者多项:
公网地址与私网地址的对应关系;
公网地址;
私网地址;
公网地址的端口号;
私网地址的端口号。
其中,所述第一处理模块,包括:
第一发送子模块,用于向所述NRF发送请求;
第一接收子模块,用于接收所述NRF根据所述请求发送的所述第一设备或功能的信息;
其中,所述请求包括私网地址的信息和/或公网地址的信息;
所述私网地址的信息包括:IPv4地址、IPv6前缀、IP域中的一项或者多项;所述公网地址的信息IPv4地址和IPv6前缀中的一项或者多项。
本申请实施例提供的装置,可以执行上述方法实施例,其实现原理和技 术效果类似,本实施例此处不再赘述。
需要说明的是,本申请实施例中对单元的划分是示意性的,仅仅为一种逻辑功能划分,实际实现时可以有另外的划分方式。另外,在本申请各个实施例中的各功能单元可以集成在一个处理单元中,也可以是各个单元单独物理存在,也可以两个或两个以上单元集成在一个单元中。上述集成的单元既可以采用硬件的形式实现,也可以采用软件功能单元的形式实现。
所述集成的单元如果以软件功能单元的形式实现并作为独立的产品销售或使用时,可以存储在一个处理器可读取存储介质中。基于这样的理解,本申请的技术方案本质上或者说对现有技术做出贡献的部分或者该技术方案的全部或部分可以以软件产品的形式体现出来,该计算机软件产品存储在一个存储介质中,包括若干指令用以使得一台计算机设备(可以是个人计算机,服务器,或者网络设备等)或处理器(processor)执行本申请各个实施例所述方法的全部或部分步骤。而前述的存储介质包括:U盘、移动硬盘、只读存储器(Read-Only Memory,ROM)、随机存取存储器(Random Access Memory,RAM)、磁碟或者光盘等各种可以存储程序代码的介质。
本申请实施例还提供了一种信息处理装置,应用于第一网络功能。如图11所示,信息处理装置包括:处理器1101和收发器1102;
所述收发器1102,用于从第一设备或功能获取网络地址转换信息;
所述处理器1101,用于根据所述网络地址转换信息进行处理;
其中,所述网络地址转换信息包括以下一项或者多项:
公网地址与私网地址的对应关系;公网地址;私网地址;公网地址的端口号;私网地址的端口号。
其中,所述第一网络功能包括以下至少一项:
网络能力开放功能NEF;会话管理功能SMF;用户面功能UPF;策略控制功能PCF;网络地址转换功能。
其中,所述第一设备或功能包括以下一项或者多项:
网络地址转换功能;网络地址转换设备;网络地址转换网元;外部功能;具有网络地址转换信息的设备或功能或网元;具有网络地址转换功能的设备或功能或网元。
其中,所述处理器用于:
确定目标第一设备或功能;
从所述目标第一设备或功能获取所述网络地址转换信息。
其中,所述处理器用于:
获取应用功能AF的第一请求,所述第一请求包括公网地址;
根据所述第一请求,确定目标第一设备或功能;
从所述目标第一设备或功能获取所述公网地址与私网地址的对应关系,或者,与所述目标公网地址对应的私网地址。
当从所述目标第一设备或功能获取所述公网地址与私网地址的对应关系时,其中,所述处理器用于:
根据所述公网地址、所述公网地址与私网地址的对应关系,确定与所述公网地址对应的私网地址。
其中,所述处理器用于:
获取AF的第二请求,所述第二请求用于请求公网地址与私网地址的映射关系;
根据所述第二请求,确定目标第一设备或功能;
从所述目标第一设备或功能获取所述公网地址与私网地址的对应关系。
其中,所述处理器用于:
通过网络存储功能NRF确定所述目标第一设备或功能。
其中,所述处理器用于:
向所述NRF发送第三请求;
接收所述NRF根据所述第三请求发送的所述目标第一设备或功能的信息;
其中,所述第三请求包括私网地址的信息和/或公网地址的信息;
所述私网地址的信息包括:IPv4地址、IPv6前缀、IP域中的一项或者多项;所述公网地址的信息IPv4地址和IPv6前缀中的一项或者多项。
其中,所述处理器用于:
调用所述目标第一设备或功能的服务,从所述目标第一设备或功能获取所述公网地址与私网地址的对应关系。
其中,所述处理器用于:
向所述目标第一设备或功能发送第四请求,所述第四请求包括所述第一网络功能的ID和/或类型;
接收所述目标第一设备或功能根据所述第四请求发送的所述公网地址与私网地址的对应关系。
其中,所述处理器用于:
调用所述第一设备或功能的服务,从所述目标第一设备或功能获取与所述公网地址对应的私网地址。
其中,所述处理器用于:
向所述目标第一设备或功能发送第五请求,所述第五请求包括所述第一网络功能的ID和/或类型,所述私网地址;
接收所述目标第一设备或功能根据所述第五请求发送的与所述公网地址对应的私网地址。
其中,所述处理器用于:
根据AF的请求,将公网地址映射为私网地址;
根据第二设备或功能的请求,将私网地址映射为公网地址。
本申请实施例提供的装置,可以执行上述方法实施例,其实现原理和技术效果类似,本实施例此处不再赘述。
本申请实施例还提供了一种信息处理装置,应用于第一设备或功能,如图12所示,信息处理装置包括:处理器1201和收发器1202;
所述收发器,用于向第一网络功能发送网络地址转换信息,其中,所述网络地址转换信息包括以下一项或者多项:
公网地址与私网地址的对应关系;
公网地址;
私网地址;
公网地址的端口号;
私网地址的端口号。
其中,所述收发器,用于:
向NRF发送第六请求,所述第六请求用于向所述NRF进行注册,其中,所述第六请求包括:私网地址的信息和/或公网地址的信息;
其中,所述私网地址的信息包括以下一项或者多项:IPv4地址段,IPv46前缀段,IP域信息,端口号;
所述公网地址的信息包括以下一项或者多项:IPv4地址段,IPv46前缀段,端口号。
其中,所述收发器,用于执行以下一项或多项:
向所述NRF发送第七请求,所述第七请求用于向NRF进行去注册;
向所述NRF发送第八请求,所述第八请求用于向NRF进行注册更新。
其中,所述收发器,用于:
接收所述第一网络功能的请求,包括所述第一网络功能的网络设备的ID和/或类型;
根据所述请求,向所述第一网络功能发送所述网络地址转换信息。
其中,所述请求还包括:
候选公网地址的信息和候选私网地址的信息中的一项或者多项。
本申请实施例提供的装置,可以执行上述方法实施例,其实现原理和技术效果类似,本实施例此处不再赘述。
本申请实施例还提供了一种信息处理装置,应用于NRF,如图13所示,信息处理装置包括:处理器1301和收发器1302;
所述收发器,用于获取第一网络功能的请求;根据所述请求,向所述第一网络功能发送第一设备或功能的信息,所述第一设备或功能用于提供网络地址转换信息或者根据网络地址转换信息进行网络地址转换;
其中,所述网络地址转换信息包括以下一项或者多项:
公网地址与私网地址的对应关系;
公网地址;
私网地址;
公网地址的端口号;
私网地址的端口号。
其中,所述收发器还用于,接收第一设备或功能的第六请求;
所述处理器,还用于根据所述第六请求对所述第一设备或功能进行注册;
其中,所述第六请求包括:私网地址的信息和/或公网地址的信息;
所述私网地址的信息包括以下一项或者多项:IPv4地址段,IPv46前缀段,IP域信息,端口号;
所述公网地址的信息包括以下一项或者多项:IPv4地址段,IPv46前缀段,端口号。
其中,所述处理器,还用于执行以下一项或者多项:
接收所述第一设备或功能的第七请求,并根据所述第七请求对所述第一设备或功能去注册;
接收所述第一设备或功能的第八请求,并根据所述第八请求对所述第一设备或功能进行注册更新。
本申请实施例提供的装置,可以执行上述方法实施例,其实现原理和技术效果类似,本实施例此处不再赘述。
本申请实施例还提供了一种信息处理装置,应用于NRF,如图14所示,信息处理装置包括:处理器1401和收发器1402;
所述处理器,用于通过NRF发现第一设备或功能,所述第一设备或功能用于提供网络地址转换信息或者根据网络地址转换信息进行网络地址转换;
其中,所述网络地址转换信息包括以下一项或者多项:
公网地址与私网地址的对应关系;
公网地址;
私网地址;
公网地址的端口号;
私网地址的端口号。
其中,所述处理器还用于:
向所述NRF发送请求;
接收所述NRF根据所述请求发送的所述第一设备或功能的信息;
其中,所述请求包括私网地址的信息和/或公网地址的信息;
所述私网地址的信息包括:IPv4地址、IPv6前缀、IP域中的一项或者多项;所述公网地址的信息IPv4地址和IPv6前缀中的一项或者多项。
本申请实施例提供的装置,可以执行上述方法实施例,其实现原理和技术效果类似,本实施例此处不再赘述。
本申请实施例提供了一种通信设备,包括:存储器、处理器及存储在所述存储器上并可在所述处理器上运行的程序;所述处理器,用于读取存储器中的程序实现如前所述的信息处理方法中的步骤。
本申请实施例还提供一种可读存储介质,可读存储介质上存储有程序,该程序被处理器执行时实现上述信息处理方法实施例的各个过程,且能达到相同的技术效果,为避免重复,这里不再赘述。其中,所述的可读存储介质,可以是处理器能够存取的任何可用介质或数据存储设备,包括但不限于磁性存储器(例如软盘、硬盘、磁带、磁光盘(MO)等)、光学存储器(例如CD、DVD、BD、HVD等)、以及半导体存储器(例如ROM、EPROM、EEPROM、非易失性存储器(NAND FLASH)、固态硬盘(SSD))等。
需要说明的是,在本文中,术语“包括”、“包含”或者其任何其他变体意在涵盖非排他性的包含,从而使得包括一系列要素的过程、方法、物品或者装置不仅包括那些要素,而且还包括没有明确列出的其他要素,或者是还包括为这种过程、方法、物品或者装置所固有的要素。在没有更多限制的情况下,由语句“包括一个……”限定的要素,并不排除在包括该要素的过程、方法、物品或者装置中还存在另外的相同要素。
通过以上的实施方式的描述,本领域的技术人员可以清楚地了解到上述实施例方法可借助软件加必需的通用硬件平台的方式来实现,当然也可以通过硬件,但很多情况下前者是更佳的实施方式。根据这样的理解,本申请的技术方案本质上或者说对现有技术做出贡献的部分可以以软件产品的形式体现出来,该计算机软件产品存储在一个存储介质(如ROM/RAM、磁盘、光盘)中,包括若干指令用以使得一台终端(可以是手机,计算机,服务器,空调器,或者网络设备等)执行本申请各个实施例所述的方法。
可以理解的是,本申请实施例描述的这些实施例可以用硬件、软件、固件、中间件、微码或其组合来实现。对于硬件实现,模块、单元、子模块、子单元等可以实现在一个或多个专用集成电路(Application Specific Integrated Circuits,ASIC)、数字信号处理器(Digital Signal Processing,DSP)、数字信号处理设备(DSP Device,DSPD)、可编程逻辑设备(Programmable Logic Device,PLD)、现场可编程门阵列(Field-Programmable Gate Array,FPGA)、 通用处理器、控制器、微控制器、微处理器、用于执行本申请所述功能的其它电子单元或其组合中。
上面结合附图对本申请的实施例进行了描述,但是本申请并不局限于上述的具体实施方式,上述的具体实施方式仅仅是示意性的,而不是限制性的,本领域的普通技术人员在本申请的启示下,在不脱离本申请宗旨和权利要求所保护的范围情况下,还可做出很多形式,均属于本申请的保护之内。

Claims (34)

  1. 一种信息处理方法,应用于第一网络功能,包括:
    从第一设备或功能获取网络地址转换信息;
    根据所述网络地址转换信息进行处理;其中,所述网络地址转换信息包括以下一项或者多项:
    公网地址与私网地址的对应关系;公网地址;私网地址;公网地址的端口号;私网地址的端口号。
  2. 根据权利要求1所述的方法,其中,所述第一网络功能包括以下至少一项:
    网络能力开放功能NEF;会话管理功能SMF;用户面功能UPF;策略控制功能PCF;网络地址转换功能。
  3. 根据权利要求1所述的方法,其中,所述第一设备或功能包括以下一项或者多项:
    网络地址转换功能;网络地址转换设备;网络地址转换网元;外部功能;具有网络地址转换信息的设备或功能或网元;具有网络地址转换功能的设备或功能或网元。
  4. 根据权利要求1所述的方法,其中,所述从第一设备或功能获取网络地址转换信息,包括:
    确定目标第一设备或功能;
    从所述目标第一设备或功能获取所述网络地址转换信息。
  5. 根据权利要求1所述的方法,其中,所述从第一设备或功能获取网络地址转换信息,包括:
    获取应用功能AF的第一请求,所述第一请求包括公网地址;
    根据所述第一请求,确定目标第一设备或功能;
    从所述目标第一设备或功能获取所述公网地址与私网地址的对应关系,或者,与所述目标公网地址对应的私网地址。
  6. 根据权利要求5所述的方法,其中,当从所述目标第一设备或功能获取所述公网地址与私网地址的对应关系时,所述根据所述网络地址转换信息 进行处理,包括:
    根据所述公网地址、所述公网地址与私网地址的对应关系,确定与所述公网地址对应的私网地址。
  7. 根据权利要求1所述的方法,其中,所述从第一设备或功能获取网络地址转换信息,包括:
    获取AF的第二请求,所述第二请求用于请求公网地址与私网地址的映射关系;
    根据所述第二请求,确定目标第一设备或功能;
    从所述目标第一设备或功能获取所述公网地址与私网地址的对应关系。
  8. 根据权利要求4或5或7所述的方法,其中,所述确定目标第一设备或功能,包括:
    通过网络存储功能NRF确定所述目标第一设备或功能。
  9. 根据权利要求8所述的方法,其中,所述通过网络存储功能NRF确定所述目标第一设备或功能,包括:
    向所述NRF发送第三请求;
    接收所述NRF根据所述第三请求发送的所述目标第一设备或功能的信息;
    其中,所述第三请求包括私网地址的信息和/或公网地址的信息;
    所述私网地址的信息包括:IPv4地址、IPv6前缀、IP域中的一项或者多项;所述公网地址的信息IPv4地址和IPv6前缀中的一项或者多项。
  10. 根据权利要求5或7所述的方法,其中,所述从所述目标第一设备或功能获取所述公网地址与私网地址的对应关系,包括:
    调用所述目标第一设备或功能的服务,从所述目标第一设备或功能获取所述公网地址与私网地址的对应关系。
  11. 根据权利要求10所述的方法,其中,所述调用所述目标第一设备或功能的服务,从所述目标第一设备或功能获取所述公网地址与私网地址的对应关系,包括:
    向所述目标第一设备或功能发送第四请求,所述第四请求包括所述第一网络功能的ID和/或类型;
    接收所述目标第一设备或功能根据所述第四请求发送的所述公网地址与 私网地址的对应关系。
  12. 根据权利要求5所述的方法,其中,从所述目标第一设备或功能获取与所述公网地址对应的私网地址,包括:
    调用所述第一设备或功能的服务,从所述目标第一设备或功能获取与所述公网地址对应的私网地址。
  13. 根据权利要求12所述的方法,其中,所述调用所述目标第一设备或功能的服务,从所述目标第一设备或功能获取与所述公网地址对应的私网地址,包括:
    向所述目标第一设备或功能发送第五请求,所述第五请求包括所述第一网络功能的ID和/或类型,所述私网地址;
    接收所述目标第一设备或功能根据所述第五请求发送的与所述公网地址对应的私网地址。
  14. 根据权利要求1所述的方法,其中,所述根据所述网络地址转换信息进行处理,包括以下至少一项:
    根据AF的请求,获取公网地址对应的私网地址;
    根据第二设备或功能的请求,获取私网地址对应的公网地址。
  15. 一种信息处理方法,应用于第一设备或功能,包括:
    向第一网络功能发送网络地址转换信息,其中,所述网络地址转换信息包括以下一项或者多项:
    公网地址与私网地址的对应关系;
    公网地址;
    私网地址;
    公网地址的端口号;
    私网地址的端口号。
  16. 根据权利要求15所述的方法,其中,所述方法还包括:
    向NRF发送第六请求,所述第六请求用于向所述NRF进行注册,其中,所述第六请求包括:私网地址的信息和/或公网地址的信息;
    其中,所述私网地址的信息包括以下一项或者多项:IPv4地址段,IPv46前缀段,IP域信息,端口号;
    所述公网地址的信息包括以下一项或者多项:IPv4地址段,IPv46前缀段,端口号。
  17. 根据权利要求16所述的方法,其中,所述方法还包括以下一项或者多项:
    向所述NRF发送第七请求,所述第七请求用于向NRF进行去注册;
    向所述NRF发送第八请求,所述第八请求用于向NRF进行注册更新。
  18. 根据权利要求15所述的方法,其中,所述向第一网络功能发送网络地址转换信息,包括:
    接收所述第一网络功能的请求,包括所述第一网络功能的网络设备的ID和/或类型;
    根据所述请求,向所述第一网络功能发送所述网络地址转换信息。
  19. 根据权利要求18所述的方法,其中,所述请求还包括:
    候选公网地址的信息和候选私网地址的信息中的一项或者多项。
  20. 一种信息处理方法,应用于NRF,包括:
    获取第一网络功能的请求;
    根据所述请求,向所述第一网络功能发送第一设备或功能的信息,所述第一设备或功能用于提供网络地址转换信息或者根据网络地址转换信息进行网络地址转换;
    其中,所述网络地址转换信息包括以下一项或者多项:
    公网地址与私网地址的对应关系;
    公网地址;
    私网地址;
    公网地址的端口号;
    私网地址的端口号。
  21. 根据权利要求20所述的方法,其中,所述方法还包括:
    接收第一设备或功能的第六请求;
    根据所述第六请求对所述第一设备或功能进行注册;
    其中,所述第六请求包括:私网地址的信息和/或公网地址的信息;
    所述私网地址的信息包括以下一项或者多项:IPv4地址段,IPv46前缀 段,IP域信息,端口号;
    所述公网地址的信息包括以下一项或者多项:IPv4地址段,IPv46前缀段,端口号。
  22. 根据权利要求21所述的方法,其中,所述方法还包括以下一项或者多项:
    接收所述第一设备或功能的第七请求,并根据所述第七请求对所述第一设备或功能去注册;
    接收所述第一设备或功能的第八请求,并根据所述第八请求对所述第一设备或功能进行注册更新。
  23. 一种信息处理方法,应用于第一网络功能,包括:
    通过NRF发现第一设备或功能,所述第一设备或功能用于提供网络地址转换信息或者根据网络地址转换信息进行网络地址转换;
    其中,所述网络地址转换信息包括以下一项或者多项:
    公网地址与私网地址的对应关系;
    公网地址;
    私网地址;
    公网地址的端口号;
    私网地址的端口号。
  24. 根据权利要求23所述的方法,其中,所述通过NRF发现第一设备或功能,包括:
    向所述NRF发送请求;
    接收所述NRF根据所述请求发送的所述第一设备或功能的信息;
    其中,所述请求包括私网地址的信息和/或公网地址的信息;
    所述私网地址的信息包括:IPv4地址、IPv6前缀、IP域中的一项或者多项;所述公网地址的信息IPv4地址和IPv6前缀中的一项或者多项。
  25. 一种信息处理装置,应用于第一网络功能,包括:
    第一获取模块,用于从第一设备或功能获取网络地址转换信息;
    第一处理模块,用于根据所述网络地址转换信息进行处理;
    其中,所述网络地址转换信息包括以下一项或者多项:
    公网地址与私网地址的对应关系;公网地址;私网地址;公网地址的端口号;私网地址的端口号。
  26. 一种信息处理装置,应用于第一设备或功能,包括:
    第一发送模块,用于向第一网络功能发送网络地址转换信息,其中,所述网络地址转换信息包括以下一项或者多项:
    公网地址与私网地址的对应关系;
    公网地址;
    私网地址;
    公网地址的端口号;
    私网地址的端口号。
  27. 一种信息处理装置,应用于NRF,包括:
    第一获取模块,用于获取第一网络功能的请求;
    第一发送模块,用于根据所述请求,向所述第一网络功能发送第一设备或功能的信息,所述第一设备或功能用于提供网络地址转换信息或者根据网络地址转换信息进行网络地址转换;
    其中,所述网络地址转换信息包括以下一项或者多项:
    公网地址与私网地址的对应关系;
    公网地址;
    私网地址;
    公网地址的端口号;
    私网地址的端口号。
  28. 一种信息处理装置,应用于第一网络功能,包括:
    第一处理模块,用于通过NRF发现第一设备或功能,所述第一设备或功能用于提供网络地址转换信息或者根据网络地址转换信息进行网络地址转换;
    其中,所述网络地址转换信息包括以下一项或者多项:
    公网地址与私网地址的对应关系;
    公网地址;
    私网地址;
    公网地址的端口号;
    私网地址的端口号。
  29. 一种信息处理装置,应用于第一网络功能,包括:处理器和收发器;
    所述收发器,用于从第一设备或功能获取网络地址转换信息;
    所述处理器,用于根据所述网络地址转换信息进行处理;
    其中,所述网络地址转换信息包括以下一项或者多项:
    公网地址与私网地址的对应关系;公网地址;私网地址;公网地址的端口号;私网地址的端口号。
  30. 一种信息处理装置,应用于第一设备或功能,包括:处理器和收发器;
    所述收发器,用于向第一网络功能发送网络地址转换信息,其中,所述网络地址转换信息包括以下一项或者多项:
    公网地址与私网地址的对应关系;
    公网地址;
    私网地址;
    公网地址的端口号;
    私网地址的端口号。
  31. 一种信息处理装置,应用于NRF,包括:处理器和收发器;
    所述收发器,用于获取第一网络功能的请求;根据所述请求,向所述第一网络功能发送第一设备或功能的信息,所述第一设备或功能用于提供网络地址转换信息或者根据网络地址转换信息进行网络地址转换;
    其中,所述网络地址转换信息包括以下一项或者多项:
    公网地址与私网地址的对应关系;
    公网地址;
    私网地址;
    公网地址的端口号;
    私网地址的端口号。
  32. 一种信息处理装置,应用于第一网络功能,包括:处理器和收发器;
    所述处理器,用于通过NRF发现第一设备或功能,所述第一设备或功能用于提供网络地址转换信息或者根据网络地址转换信息进行网络地址转换;
    其中,所述网络地址转换信息包括以下一项或者多项:
    公网地址与私网地址的对应关系;
    公网地址;
    私网地址;
    公网地址的端口号;
    私网地址的端口号。
  33. 一种通信设备,包括:存储器、处理器及存储在所述存储器上并可在所述处理器上运行的程序;其中,所述处理器,用于读取存储器中的程序实现如权利要求1至24中任一项所述的信息处理方法中的步骤。
  34. 一种可读存储介质,用于存储程序,所述程序被处理器执行时实现如权利要求1至24中任一项所述的信息处理方法中的步骤。
PCT/CN2022/143954 2021-12-31 2022-12-30 一种信息处理方法、装置、设备及可读存储介质 WO2023125936A1 (zh)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN202111664677.1A CN116418780A (zh) 2021-12-31 2021-12-31 一种信息处理方法、装置、设备及可读存储介质
CN202111664677.1 2021-12-31

Publications (1)

Publication Number Publication Date
WO2023125936A1 true WO2023125936A1 (zh) 2023-07-06

Family

ID=86998136

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2022/143954 WO2023125936A1 (zh) 2021-12-31 2022-12-30 一种信息处理方法、装置、设备及可读存储介质

Country Status (2)

Country Link
CN (1) CN116418780A (zh)
WO (1) WO2023125936A1 (zh)

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2016101510A1 (zh) * 2014-12-23 2016-06-30 中兴通讯股份有限公司 获取nat信息的方法及bras设备
CN109413640A (zh) * 2017-08-18 2019-03-01 中国移动通信有限公司研究院 会话信息查询方法、网元及计算机存储介质
CN110048951A (zh) * 2018-01-16 2019-07-23 中国移动通信有限公司研究院 一种pcf寻址方法及装置、设备、存储介质
CN111586670A (zh) * 2020-04-30 2020-08-25 腾讯科技(深圳)有限公司 用于实现业务连续性的方法及相关设备
CN113676741A (zh) * 2021-07-19 2021-11-19 Oppo广东移动通信有限公司 数据传输方法、装置、存储介质及电子设备

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2016101510A1 (zh) * 2014-12-23 2016-06-30 中兴通讯股份有限公司 获取nat信息的方法及bras设备
CN109413640A (zh) * 2017-08-18 2019-03-01 中国移动通信有限公司研究院 会话信息查询方法、网元及计算机存储介质
CN110048951A (zh) * 2018-01-16 2019-07-23 中国移动通信有限公司研究院 一种pcf寻址方法及装置、设备、存储介质
CN111586670A (zh) * 2020-04-30 2020-08-25 腾讯科技(深圳)有限公司 用于实现业务连续性的方法及相关设备
CN113676741A (zh) * 2021-07-19 2021-11-19 Oppo广东移动通信有限公司 数据传输方法、装置、存储介质及电子设备

Also Published As

Publication number Publication date
CN116418780A (zh) 2023-07-11

Similar Documents

Publication Publication Date Title
CN111201823B (zh) 用于网络功能服务发现的方法和装置
JP2023535562A (ja) ネットワーク機能発見サービス向上を提供するための方法、システムおよびコンピュータ読取可能媒体
WO2019029525A1 (zh) 网络功能信息的管理方法及相关设备
EP2347561B1 (en) Determining a network interface to access a network
WO2019028837A1 (zh) Pdu类型的设置方法、ue策略的设置方法及相关实体
US9807176B2 (en) Method and apparatus for connection management
WO2019042186A1 (zh) 一种网络管理方法及相关设备
WO2020253631A1 (zh) Ip地址的配置方法、设备及系统
WO2020147565A1 (zh) 调用应用程序接口的方法和装置
US11075998B2 (en) Architecture, method and apparatus for realizing communication between network functions
US11968167B2 (en) Apparatus and method to facilitate network address translation service
CN114930784A (zh) 与网络数据分析功能的关联
WO2020052463A1 (zh) 通信方法和网元
WO2017167186A1 (zh) 实现网络功能通信的架构、方法及装置
US11122131B1 (en) Edge cloud resource location using enhanced DNS service
CN114338603A (zh) 边缘应用服务器的发现方法、设备、区块链系统及介质
KR20230107742A (ko) 네트워크 기능 등록 방법, 발견 방법, 장치, 장비 및 매체
WO2023125936A1 (zh) 一种信息处理方法、装置、设备及可读存储介质
CN114258088B (zh) 中间会话管理功能设备发现方法、设备和系统、存储介质
WO2013098466A1 (en) Method and apparatus for regulatory database protocol discovery
US10277421B2 (en) Route lookup resolution
WO2023246681A1 (zh) 一种通信方法及装置
US20230231832A1 (en) Secure data transfer request routing for peer-to-peer services
WO2016106598A1 (zh) 选择接入网的方法和装置
WO2017143677A1 (zh) 一种公共业务实体资源管理的方法、装置及通信网络节点

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 22915184

Country of ref document: EP

Kind code of ref document: A1