NAT IP Mapping for Accurate Terminal Data Collection
Find Innovative SolutionsGenerate Solutions
Solution Overview
Problem
In terminal data collection scenarios, the Application Function (AF) cannot obtain the public IP address of a terminal, preventing it from determining the correct terminal for data collection due to only having access to private IP addresses.
Innovation Solution
A method and apparatus are provided to enable the conversion between private and public IP addresses, allowing the AF to obtain the necessary public IP address through network address translation (NAT) processes, thereby facilitating accurate terminal identification for data collection.
Engineering Contradictions & Design Principles
Engineering Contradiction Analysis
1Reliability
If the AF uses only terminal identifiers and private IP addresses for data collection, then the system maintains network security and address privacy, but the AF cannot determine the correct terminal for data collection
Solution Approach 1:
The patent introduces a communication device (such as a gateway or network address translator) as an intermediary between the AF and the terminal. This intermediary maintains the mapping relationship between private IP addresses and public IP addresses, allowing the AF to obtain public IP address information through the intermediary without directly exposing terminal identification details. The intermediary resolves the contradiction by providing the necessary public IP address information to enable accurate terminal identification while maintaining the privacy and security benefits of using private IP addresses internally.
2Loss of information
If the system converts private IP addresses to public IP addresses through NAT processes, then the AF can obtain public IP address information for terminal identification, but the system complexity increases
Solution Approach 1:
The patent applies preliminary action by establishing and maintaining the mapping relationship between private IP addresses and public IP addresses in advance through the communication device. The NAT process is performed beforehand, creating a pre-configured mapping table that stores the correspondence between terminal identifiers, private IP addresses, and public IP addresses. When the AF needs to identify a terminal, it can directly query this pre-established mapping information without performing complex real-time conversion, thereby reducing the operational complexity while ensuring public IP address information is available.
Data Source
AI summary
A method for obtaining information includes: receiving, by a first communication device, a first request, where the first request is used for requesting to obtain first information; and the first information comprises at least one of the following: a second internet protocol (IP) address corresponding to a first IP address; a mapping relationship between the first IP address and the second IP address; the second IP address; or a second port number, where the second port number is associated with the second IP address; and the first IP address is a private IP address, and the second IP address is a public IP address.


