CN112910701A - NAT method for self-adaptive access of edge computing gateway - Google Patents

NAT method for self-adaptive access of edge computing gateway Download PDF

Info

Publication number
CN112910701A
CN112910701A CN202110123436.XA CN202110123436A CN112910701A CN 112910701 A CN112910701 A CN 112910701A CN 202110123436 A CN202110123436 A CN 202110123436A CN 112910701 A CN112910701 A CN 112910701A
Authority
CN
China
Prior art keywords
address
edge computing
gateway
terminal
conversion
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN202110123436.XA
Other languages
Chinese (zh)
Inventor
李啸
刘涛
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Inspur Communication Technology Co Ltd
Original Assignee
Inspur Software Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Inspur Software Technology Co Ltd filed Critical Inspur Software Technology Co Ltd
Priority to CN202110123436.XA priority Critical patent/CN112910701A/en
Publication of CN112910701A publication Critical patent/CN112910701A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L41/00Arrangements for maintenance, administration or management of data switching networks, e.g. of packet switching networks
    • H04L41/08Configuration management of networks or network elements
    • H04L41/0803Configuration setting
    • 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

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Data Exchanges In Wide-Area Networks (AREA)
  • Small-Scale Networks (AREA)

Abstract

The invention provides a method for NAT (network address translation) of self-adaptive access of an edge computing gateway, which belongs to the technical field of communication, wherein the edge computing gateway automatically performs source address conversion on a user data packet according to an IP address corresponding to a distributed URL (uniform resource locator) according to a configured URL distribution rule and automatically manages generation, use and extinction of the conversion; when the edge computing gateway sends data to the edge computing platform, the IP message is automatically subjected to address conversion according to the address of the analyzed URL, and details of the network do not need to be known.

Description

NAT method for self-adaptive access of edge computing gateway
Technical Field
The invention relates to the technical field of communication, in particular to a NAT method for self-adaptive access of an edge computing gateway.
Background
At present, the edge computing gateway does not perform address transformation on a user IP message, a complex route needs to be configured on an edge computing platform, a fixed IP needs to be configured on the edge computing gateway, and a network is complex and difficult to maintain. If the edge computing gateway does address transformation to the user IP message, the transformed address and the target application server are in the same network segment, routing and fixed IP do not need to be configured, and the network is flat and convenient to maintain.
If the edge computing gateway manually configures the IP packet address translation, it needs to know which addresses on the network have been used and avoid the used addresses being assigned, and it needs to add manual intervention, which is inconvenient for automatic deployment. If the NAT method of the edge computing gateway self-adaptive access is used, manual intervention is reduced, and automatic deployment is facilitated.
Disclosure of Invention
In order to solve the technical problem, the invention provides a method for calculating NAT of gateway self-adaptive access by an edge.
When the edge computing gateway sends data to the edge computing platform, the address conversion is automatically carried out on the IP message according to the address of the analyzed URL, the URL analyzed data sent back by the public network is analyzed without knowing the details of the network, and the URL and the IP address after the URL is analyzed are recorded in the shunt gateway.
The technical scheme of the invention is as follows:
a method for an edge computing gateway to adaptively access NAT,
when the edge computing gateway sends data to the edge computing platform, the address of the IP message is automatically converted according to the address of the resolved URL.
Further, in the above-mentioned case,
and the edge computing gateway automatically performs source address conversion on the user data packet according to the configured URL distribution rule and the IP address corresponding to the distribution URL, and automatically manages the generation, use and extinction of the conversion.
Further, in the above-mentioned case,
and analyzing URL analysis data sent back by the public network, and recording the URL and the IP address of the URL after being analyzed in the shunting gateway.
A private protocol query request is sent to the edge computing platform for the IP address, asking for which addresses are unused.
The edge computing platform sends a private protocol reply to the edge computing gateway informing the edge computing gateway which addresses are not used, and the addresses are in the same network segment as the addresses of the edge computing platform.
The edge computing gateway distributes the unused address to the terminal for use, when the terminal sends data to the edge computing gateway, the source address is subjected to address conversion, and the converted address is the unused address informed by the previous edge computing platform.
At this time, the address converted by the terminal and the address of the edge computing platform are in the same network segment, the data sent back by the edge computing platform can be sent to the edge computing gateway without configuring a route, the edge computing gateway performs destination address conversion again, the converted address is the original address of the terminal, and the terminal receives the data and performs subsequent processing.
When the conversion address is exhausted, the corresponding relation between the conversion address and the terminal is deleted, and the corresponding relation between the conversion address and the terminal is reconfigured, so that the aim of recycling is fulfilled.
Further, in the above-mentioned case,
the edge computing platform is a closed network and does not interact with a public network.
And when the converted address is used up, the corresponding relation between all the converted addresses and the terminal is released, and the corresponding relation between the converted address and the terminal is reconfigured.
The invention has the advantages that
The edge computing gateway automatically allocates the address to be used, and the maintenance personnel can complete the deployment of the edge computing gateway without knowing the details of the network topology.
Drawings
FIG. 1 is a schematic workflow diagram of the present invention.
Detailed Description
In order to make the objects, technical solutions and advantages of the embodiments of the present invention clearer and more complete, the technical solutions in the embodiments of the present invention will be described below with reference to the drawings in the embodiments of the present invention, and it is obvious that the described embodiments are some, but not all, embodiments of the present invention, and based on the embodiments of the present invention, all other embodiments obtained by a person of ordinary skill in the art without creative efforts belong to the scope of the present invention.
The invention relates to a method for self-adaptively accessing NAT by an edge computing gateway, which is characterized in that the edge computing gateway automatically performs source address conversion on a user data packet according to an IP address corresponding to a distributed URL (uniform resource locator) according to a configured URL distribution rule and automatically manages the generation, use and extinction of the conversion.
When the edge computing gateway sends data to the edge computing platform, the IP message is automatically subjected to address conversion according to the address of the analyzed URL, and details of the network do not need to be known.
The technical scheme is as follows:
1) and analyzing URL analysis data sent back by the public network, and recording the URL and the IP address of the URL after being analyzed in the shunting gateway.
2) A private protocol query request is sent to the edge computing platform for the IP address, asking for which addresses are unused.
3) The edge computing platform sends a private protocol reply to the edge computing gateway informing the edge computing gateway which addresses are not used, and the addresses are in the same network segment as the addresses of the edge computing platform.
4) The edge computing gateway distributes the unused address to the terminal for use, when the terminal sends data to the edge computing gateway, the source address is subjected to address conversion, and the converted address is the unused address informed by the previous edge computing platform.
5) At this time, the address converted by the terminal and the address of the edge computing platform are in the same network segment, the data sent back by the edge computing platform can be sent to the edge computing gateway without configuring a route, the edge computing gateway performs destination address conversion again, the converted address is the original address of the terminal, and the terminal receives the data and performs subsequent processing.
6) When the conversion address is exhausted, the corresponding relation between the conversion address and the terminal is deleted, and the corresponding relation between the conversion address and the terminal is reconfigured, so that the aim of recycling is fulfilled.
The edge computing platform is a closed network and does not interact with a public network.
The edge computing gateway and the edge computing platform interact with unused IP addresses using a private protocol.
The converted address and the address of the edge computing platform are in the same network segment.
And when the converted address is used up, the corresponding relation between all the converted addresses and the terminal is released, and the corresponding relation between the converted address and the terminal is reconfigured.
The above description is only a preferred embodiment of the present invention, and is only used to illustrate the technical solutions of the present invention, and not to limit the protection scope of the present invention. Any modification, equivalent replacement, or improvement made within the spirit and principle of the present invention shall fall within the protection scope of the present invention.

Claims (9)

1. A method for calculating NAT of gateway self-adapting access by edge is characterized in that,
when the edge computing gateway sends data to the edge computing platform, automatically performs address conversion on the IP message according to the address of the resolved URL,
2. the method of claim 1,
and the edge computing gateway automatically performs source address conversion on the user data packet according to the configured URL distribution rule and the IP address corresponding to the distribution URL, and automatically manages the generation, use and extinction of the conversion.
3. The method of claim 1,
analyzing URL analysis data sent back by the public network, and recording the URL and the IP address of the URL after being analyzed in the shunt gateway; a private protocol query request is sent to the edge computing platform for the IP address, asking for which addresses are unused.
4. The method of claim 3,
the edge computing platform sends a private protocol reply to the edge computing gateway informing the edge computing gateway which addresses are not used, and the addresses are in the same network segment as the addresses of the edge computing platform.
5. The method of claim 4,
the edge computing gateway distributes the unused address to the terminal for use, when the terminal sends data to the edge computing gateway, the source address is subjected to address conversion, and the converted address is the unused address informed by the previous edge computing platform.
6. The method of claim 5,
at this time, the address converted by the terminal and the address of the edge computing platform are in the same network segment, the data sent back by the edge computing platform can be sent to the edge computing gateway without configuring a route, the edge computing gateway performs destination address conversion again, the converted address is the original address of the terminal, and the terminal receives the data and performs subsequent processing.
7. The method of claim 6,
when the conversion address is exhausted, the corresponding relation between the conversion address and the terminal is deleted, and the corresponding relation between the conversion address and the terminal is reconfigured, so that the aim of recycling is fulfilled.
8. The method of claim 1,
the edge computing platform is a closed network and does not interact with a public network.
9. The method of claim 7,
and when the converted address is used up, the corresponding relation between all the converted addresses and the terminal is released, and the corresponding relation between the converted address and the terminal is reconfigured.
CN202110123436.XA 2021-01-29 2021-01-29 NAT method for self-adaptive access of edge computing gateway Pending CN112910701A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202110123436.XA CN112910701A (en) 2021-01-29 2021-01-29 NAT method for self-adaptive access of edge computing gateway

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202110123436.XA CN112910701A (en) 2021-01-29 2021-01-29 NAT method for self-adaptive access of edge computing gateway

Publications (1)

Publication Number Publication Date
CN112910701A true CN112910701A (en) 2021-06-04

Family

ID=76120710

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202110123436.XA Pending CN112910701A (en) 2021-01-29 2021-01-29 NAT method for self-adaptive access of edge computing gateway

Country Status (1)

Country Link
CN (1) CN112910701A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2023033724A3 (en) * 2021-09-03 2023-04-27 Lemon Inc. Solution for trustworthy and security compliant edge computing infrastructure

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103475750A (en) * 2013-09-16 2013-12-25 杭州华三通信技术有限公司 Address translation method and equipment suitable for multi-export network
CN108243409A (en) * 2016-12-26 2018-07-03 大唐移动通信设备有限公司 A kind of several transmission methods and equipment
CN111866110A (en) * 2020-07-13 2020-10-30 浙江捷创方舟数字技术有限公司 Industrial equipment communication method and 5G gateway

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103475750A (en) * 2013-09-16 2013-12-25 杭州华三通信技术有限公司 Address translation method and equipment suitable for multi-export network
CN108243409A (en) * 2016-12-26 2018-07-03 大唐移动通信设备有限公司 A kind of several transmission methods and equipment
CN111866110A (en) * 2020-07-13 2020-10-30 浙江捷创方舟数字技术有限公司 Industrial equipment communication method and 5G gateway

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2023033724A3 (en) * 2021-09-03 2023-04-27 Lemon Inc. Solution for trustworthy and security compliant edge computing infrastructure

Similar Documents

Publication Publication Date Title
CN109379206B (en) Management method of network function information and related equipment
US8559448B2 (en) Method and apparatus for communication of data packets between local networks
US8363663B2 (en) Methods and apparatus for routing data to nodes
US9628328B2 (en) Network controller with integrated resource management capability
CN102739810B (en) The method and apparatus of IPv4CP/SP and IPv6 network interworking
US10454880B2 (en) IP packet processing method and apparatus, and network system
CN110677405A (en) Data processing method and device, electronic equipment and storage medium
CN109040243B (en) Message processing method and device
JP2004129126A (en) Address assignment system
CN110912827B (en) Route updating method and user cluster
CN105245629A (en) DHCP-based host communication method and device
WO2016070633A1 (en) Network log generation method and device
CN109474713B (en) Message forwarding method and device
CN103532752A (en) Management device and method for realizing integration of surfing logs of mobile internet users
JP2011139299A (en) Dns (domain name system) registration device, connection management system between vpns (virtual private networks), wide area dns device, dns registration program, wide area dns program, dns registration method, and connection management method between vpns
CN109309904A (en) Multicast data transmission method, relevant device and communication system
CN102710485A (en) Transparent proxy method and proxy server
CN103442096B (en) NAT method based on mobile Internet and system
CN112910701A (en) NAT method for self-adaptive access of edge computing gateway
WO2017054469A1 (en) Mirroring processing method and apparatus for data stream
CN104683491B (en) A kind of method and system for the Internet Protocol address for obtaining virtual machine
KR101378313B1 (en) Method, appratus, system and computer-readable recording medium for assisting communication between terminal and local host by using openflow
CN112787932B (en) Method, device and system for generating forwarding information
US11245540B2 (en) Over the top network traffic classification
WO2017193814A1 (en) Service chain generation method and system

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
TA01 Transfer of patent application right

Effective date of registration: 20220401

Address after: 266107 No. 2, Xiangtan Road, Danshan Industrial Park, Chengyang District, Qingdao, Shandong

Applicant after: Inspur Communication Technology Co.,Ltd.

Address before: 250100 Inspur science and Technology Park, 1036 Inspur Road, hi tech Zone, Jinan City, Shandong Province

Applicant before: Inspur Software Technology Co.,Ltd.

TA01 Transfer of patent application right