CN110661895A - Network address mapping method and network address mapping equipment of server - Google Patents

Network address mapping method and network address mapping equipment of server Download PDF

Info

Publication number
CN110661895A
CN110661895A CN201810700274.XA CN201810700274A CN110661895A CN 110661895 A CN110661895 A CN 110661895A CN 201810700274 A CN201810700274 A CN 201810700274A CN 110661895 A CN110661895 A CN 110661895A
Authority
CN
China
Prior art keywords
address
network address
public network
message
unit
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
CN201810700274.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.)
Shenzhen Aijieyun Technology Co ltd
Original Assignee
Wangsu Science and 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 Wangsu Science and Technology Co Ltd filed Critical Wangsu Science and Technology Co Ltd
Priority to CN201810700274.XA priority Critical patent/CN110661895A/en
Publication of CN110661895A publication Critical patent/CN110661895A/en
Pending legal-status Critical Current

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
    • H04L61/2503Translation of Internet protocol [IP] addresses
    • H04L61/2521Translation architectures other than single NAT servers
    • 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/255Maintenance or indexing of mapping tables
    • 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/2557Translation policies or rules

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 discloses a network address mapping method and a network address mapping device of a server, wherein the server is configured with an internal network address and at least two public network addresses, and the at least two public network addresses are both mapped to the internal network address, and the method comprises the following steps: receiving a request message sent by a client, wherein the request message points to one public network address of the at least two public network addresses; converting the destination address in the request message into the intranet address; and sending the request message after the destination address is converted to the server according to the intranet address. According to the technical scheme, the load of the NAT equipment and the server can be reduced.

Description

Network address mapping method and network address mapping equipment of server
Technical Field
The present invention relates to the field of internet technologies, and in particular, to a network address mapping method and a network address mapping device for a server.
Background
With the continuous development of internet technology, the number of terminal devices in the internet is also increasing. In order to alleviate the problem of IP address exhaustion due to the increase in the number of terminal devices, NAT (Network address translation) devices have been developed. The NAT equipment can map the internal network IP address of part of terminal equipment in the private network into a public network IP address in the Internet, so that a small number of public network IP addresses can be used for representing more internal network IP addresses.
Currently, for the same server, the NAT device is usually capable of mapping one or more intranet IP addresses of the server to one public network IP address, but if the server needs to add an additional public network IP address, the intranet IP address associated with the public network IP address needs to be correspondingly increased. That is, current NAT devices generally cannot map multiple public network IP addresses to the same internal network IP address. Referring to fig. 1, fig. 1 shows a flow of processing a message between a server and a client by a current NAT device when a corresponding server has multiple public network IP addresses. Assume that the server has two public network IP addresses: public network address 1 and public network address 2, these two public network IP addresses carry out mutual mapping with intranet address 1 and intranet address 2 respectively. Then, when the client sends a message to the server public network address 1, the NAT device will convert the destination address in the message from the public network address 1 to the internal network address 1, and furthermore, when the server sends a message to the client through the internal network address 1, the NAT device will convert the source address in the message from the internal network address 1 to the public network address 1. Similarly, when the client sends a message to the server public network address 2, the NAT device will convert the destination address in the message from the public network address 2 to the internal network address 2, and when the server sends a message to the client through the internal network address 2, the NAT device will convert the source address in the message from the internal network address 2 to the public network address 2.
Prior art NAT devices typically suffer from the following drawbacks: since a plurality of intranet IP addresses are configured in the server, the NAT device needs to determine which intranet address the message sent by the current client is specifically directed to, and in addition, when the server processes the message sent by the client or the server sends the message to the client, it also needs to determine which intranet IP address should be used currently. Therefore, current approaches to address mapping increase the load on the NAT device and server.
Disclosure of Invention
The application aims to provide a network address mapping method and a network address mapping device of a server, which can reduce loads of NAT equipment and the server.
In order to achieve the above object, an aspect of the present application provides a network address mapping device, where the network address mapping device is configured to process a packet transmitted between a server and a client, the server is configured with an internal network address and at least two public network addresses, and the at least two public network addresses are both mapped to the internal network address; the network address mapping device comprises a message receiving unit, a destination address matching unit, an address conversion unit and a message sending unit, wherein: the message receiving unit is used for receiving a request message sent by the client and calling the destination address matching unit to process the request message; wherein, the request message points to one public network address in the at least two public network addresses; sending the matching result fed back by the destination address matching unit to the address conversion unit so as to convert the destination address in the request message into the intranet address through the address conversion unit; the destination address matching unit is used for inquiring a matching result corresponding to a destination address in the request message according to a destination address conversion rule and feeding back the matching result to the message receiving unit; and the message sending unit is used for sending the request message after the destination address is converted to the server according to the intranet address.
In order to achieve the above object, another aspect of the present application further provides a network address mapping method for a server, where the server is configured with an internal network address and at least two public network addresses, and each of the at least two public network addresses is mapped to the internal network address, the method includes: receiving a request message sent by a client, wherein the request message points to one public network address of the at least two public network addresses; converting the destination address in the request message into the intranet address; and sending the request message after the destination address is converted to the server according to the intranet address.
In order to achieve the above object, another aspect of the present application further provides a network address mapping device, where the network address mapping device is configured to process a packet transmitted between a server and a client, the server is configured with an internal network address and at least two public network addresses, and the at least two public network addresses are both mapped to the internal network address; the network address mapping device comprises a memory for storing a computer program and a processor, the computer program implementing the above method when executed by the processor.
As can be seen from the above, according to the technical solution provided by the present application, an intranet address and at least two public network addresses can be configured in the same server, and when the plurality of public network addresses are used as destination addresses in a message, the plurality of public network addresses can all be mapped to the intranet address. Specifically, a request message sent by the client to the server may be received by the NAT device, where a destination address in the request message is one of a plurality of public network addresses configured by the server. Because the server is only configured with one intranet address, the NAT device can directly convert the destination address in the request message into the intranet address of the server, and then send the request message to the server according to the intranet address. Therefore, in the application, the server can be configured with only one internal network address and can be configured with a plurality of public network addresses, and the source address or the destination address of the message can be converted through the address mapping mode, so that the message can be transmitted between the server and the client normally. In addition, because the server is only configured with one internal network address, the NAT equipment and the server do not need to select among a plurality of internal network addresses, and the load of the NAT equipment and the server is reduced.
Drawings
In order to more clearly illustrate the technical solutions in the embodiments of the present invention, the drawings needed to be used in the description of the embodiments will be briefly introduced below, and it is obvious that the drawings in the following description are only some embodiments of the present invention, and it is obvious for those skilled in the art to obtain other drawings based on these drawings without creative efforts.
FIG. 1 is a schematic diagram of a prior art address mapping technique;
FIG. 2 is a system diagram of a network address mapping device in an embodiment of the invention;
fig. 3 is a flowchart of the operation of the network address mapping apparatus in the embodiment of the present invention;
FIG. 4 is a flow chart of a network address mapping method in an embodiment of the invention;
fig. 5 is a schematic structural diagram of a network address mapping device in an embodiment of the present invention;
fig. 6 is a schematic structural diagram of a computer terminal in an embodiment of the present invention.
Detailed Description
In order to make the objects, technical solutions and advantages of the present invention more apparent, embodiments of the present invention will be described in detail with reference to the accompanying drawings.
Example one
The application provides a Network Address mapping device, which may be a gateway, a firewall, a module or other devices with a Network Address Translation (NAT) function. Referring to fig. 2, the network address mapping device provided in the present application may be located between a server and a client, and may be configured to process a packet transmitted between the server and the client. In this application, the server may configure an internal network address and at least two public network addresses, where both the at least two public network addresses may be mapped to the internal network address when being used as destination addresses.
Referring to fig. 3, the network address mapping apparatus may include a message receiving unit, a destination address matching unit, an address translation unit, and a message sending unit. In the destination address matching unit, a destination address conversion rule may be preset, where the destination address conversion rule may limit that, if a destination address in a message is one of a plurality of public network addresses configured by a server, the destination address of the message is converted into an internal network address configured by the server. In this way, the message receiving unit may be configured to receive the request message sent by the client, where the request message may point to one public network address of the at least two public network addresses, and specifically, may identify a destination address in the five-tuple information of the request message, and the public network address represented by the destination address may be the public network address to which the request message points. At this time, the message receiving unit may call the destination address matching unit to process the request message. The destination address matching unit may query a matching result corresponding to the destination address in the request message according to a preconfigured destination address conversion rule, where the matching result may be an intranet address configured by the server. Thus, the destination address matching unit can feed back the matching result to the message receiving unit. After the message receiving unit receives the matching result, the message receiving unit may send the matching result to the address converting unit, so as to convert the destination address in the request message into the intranet address through the address converting unit. Thus, the message sending unit can send the request message after the destination address is converted to the server according to the intranet address.
In one embodiment, the network address mapping device may further include a connection tracking unit. When the destination address matching unit receives the request for processing the packet from the packet receiving unit, it may send a trace instruction for the request packet to the connection trace unit. In this way, the connection tracking unit may be configured to generate a connection record of the request packet in response to the tracking instruction, and write the generated connection record into a connection tracking record table. The connection record may include five-tuple information of the request message, and the connection record may indicate from which source address the current request message is sent and to which destination address the current request message is expected to be sent. The destination address recorded in the connection record may be the original destination address of the request message, that is, the public network address to which the request message points. Of course, in practical applications, the destination address (i.e. the intranet address) after the request message is converted may also be written into the connection record.
In this embodiment, the connection record in the connection tracking record table may be used to determine whether a message sent by the server is initiated for a certain previous request message when the message is received. Specifically, as shown in fig. 3, the network address mapping device may further include a source address matching unit, in which a source address conversion rule may be preset. The rule may determine a default public network address corresponding to the internal network address from the at least two public network addresses, so as to convert a source address in a message sent by the server into the default public network address. However, it should be noted that not all messages sent by the server are addressed, and the source address in all messages is converted into the default public network address. Specifically, after receiving a response packet sent by the server, the packet receiving unit first calls the connection tracking unit to process the response packet. The server is configured with only one intranet address, so the source address in the response message is the intranet address. After receiving the call request sent by the message receiving unit, the connection tracking unit may query whether a connection record matching the current response message exists in the connection tracking record table. The matching between the connection record and the response message may mean that the response message is sent out according to the request message corresponding to the connection record. Thus, in the matching connection record, the original destination address of the request message can be recorded, and the original destination address can be the public network address pointed by the request message. Then, when the destination address of the request message is converted, the public network address pointed to by the request message is converted into the internal network address, and if the current response message is initiated for the request message, the source address in the response message should be converted from the internal network address into the public network address pointed to by the request message according to the original conversion rule. For example, the request message is originally directed to the public network address 1, and the public network address 1 is converted into the internal network address, so that after the server initiates a response message for the request message, the server should also convert the source address in the response message from the internal network address into the public network address 1. Therefore, after the connection tracking unit queries the connection record matched with the current response message, the public network address limited by the connection record can be fed back to the message receiving unit as a query result. The public network address defined by the connection record may be a public network address to which the request message corresponding to the connection record is directed. I.e. the public network address 1 in the above example.
In addition, if the connection tracking unit cannot query the connection record matched with the current response message in the connection tracking record table, it indicates that the current response message is initiated by the server actively and is not initiated for the request message sent by the client. At this time, the connection tracking unit may provide information indicating that there is no matching connection record as a query result to the message receiving unit.
After receiving the query result for the response packet fed back by the connection tracking unit, the packet receiving unit may determine whether to invoke the source address matching unit to process the response packet according to the query result. Specifically, if the query result includes the public network address defined by the connection record, it indicates that the connection record matching the response message exists, at this time, the message receiving unit may convert the source address in the response message from the internal network address to the public network address fed back by the source address matching unit directly through the address conversion unit without calling the source address matching unit, so that the message sending unit may send the response message after converting the source address to the client. If the query result represents that the connection record matched with the response message does not exist, the message receiving unit can call the source address matching unit to process the response message. The source address matching unit may query a default public network address corresponding to the internal network address according to a source address conversion rule, and feed back the default public network address to the message receiving unit. In this way, the message receiving unit may send the default public network address fed back by the source address matching unit to the address conversion unit, so as to convert the source address in the response message from the internal network address to the default public network address through the address conversion unit. The subsequent message sending unit may send the response message after the source address is converted to the client.
Example two
The present application further provides a network address mapping method for a server, where the server is configured with an internal network address and at least two public network addresses, and the at least two public network addresses are both mapped to the internal network address, please refer to fig. 4, and the method includes the following steps.
S1: and receiving a request message sent by a client, wherein the request message points to one of the at least two public network addresses.
S3: and converting the destination address in the request message into the intranet address.
S5: and sending the request message after the destination address is converted to the server according to the intranet address.
In one embodiment, after receiving the request message sent by the client, the method further includes: generating and storing a connection record of the request message;
accordingly, the method further comprises:
receiving a response message sent by the server, wherein a source address in the response message is the intranet address;
inquiring whether a connection record matched with the response message exists or not, and performing address conversion processing on a source address in the response message according to an inquiry result;
and sending the response message after the source address is converted to the client.
In one embodiment, the address translation processing on the source address in the response message includes:
and if the query result represents that the connection record matched with the response message exists, converting the source address in the response message from the internal network address into a public network address limited by the matched connection record.
In one embodiment, the at least two public network addresses include a default public network address corresponding to the internal network address; correspondingly, the address conversion processing of the source address in the response message includes:
and if the query result represents that the connection record matched with the response message does not exist, converting the source address in the response message from the internal network address into the default public network address.
Referring to fig. 2, in an example of practical application, the server may configure an internal network address 192.168.0.3 and two public network addresses 211.16.2.10 and 58.123.6.70, wherein both of the public network addresses are used as destination addresses and can be mapped to the internal network address, and the default public network address of the internal network address is 211.16.2.10. Then, when the client sends a request message to the public network address 211.16.2.10 or 58.123.6.70 of the server, the destination address of the request message is converted from the pointed public network address to the internal network address 192.168.0.3. The connection record of the request message is stored by the NAT device. When the server responds to the request message sent by the client to feed back the response message, the intranet address 192.168.0.3 is used as the source address of the response message, and then after the response message reaches the NAT device, the NAT device queries the matched connection record and correspondingly changes the merged source address. For example, if the previous request message was directed to 58.123.6.70, the source address of the response message would be converted from 192.168.0.3 to 58.123.6.70. If the previous request message was directed to 211.16.2.10, the source address of the response message would be converted from 192.168.0.3 to 211.16.2.10. In addition, if the server actively initiates a message to the client, the source address of the message is also the intranet address 192.168.0.3, but since the NAT device does not query the matching connection record, the source address of the message can be translated from the intranet address 192.168.0.3 to the default public network address 211.16.2.10. After translating the source address, the NAT device can provide the message with the translated source address to the client.
Referring to fig. 5, the present application further provides a network address mapping device, where the network address mapping device is configured to process a packet transmitted between a server and a client, the server is configured with an internal network address and at least two public network addresses, and the at least two public network addresses are both mapped to the internal network address; the network address mapping device comprises a memory for storing a computer program which, when executed by the processor, may implement the method described above, and a processor.
Referring to fig. 6, in the present application, the technical solution in the above embodiment can be applied to the computer terminal 10 shown in fig. 6. The computer terminal 10 may include one or more (only one shown) processors 102 (the processor 102 may include, but is not limited to, a processing device such as a microprocessor MCU or a programmable logic device FPGA), a memory 104 for storing data, and a transmission module 106 for communication functions. It will be understood by those skilled in the art that the structure shown in fig. 6 is only an illustration and is not intended to limit the structure of the electronic device. For example, the computer terminal 10 may also include more or fewer components than shown in FIG. 6, or have a different configuration than shown in FIG. 6.
The memory 104 may be used to store software programs and modules of application software, and the processor 102 executes various functional applications and data processing by executing the software programs and modules stored in the memory 104. The memory 104 may include high speed random access memory, and may also include non-volatile memory, such as one or more magnetic storage devices, flash memory, or other non-volatile solid-state memory. In some examples, the memory 104 may further include memory located remotely from the processor 102, which may be connected to the computer terminal 10 via a network. Examples of such networks include, but are not limited to, the internet, intranets, local area networks, mobile communication networks, and combinations thereof.
The transmission device 106 is used for receiving or transmitting data via a network. Specific examples of the network described above may include a wireless network provided by a communication provider of the computer terminal 10. In one example, the transmission device 106 includes a Network adapter (NIC) that can be connected to other Network devices through a base station to communicate with the internet. In one example, the transmission device 106 can be a Radio Frequency (RF) module, which is used to communicate with the internet in a wireless manner.
As can be seen from the above, according to the technical scheme provided by the present application, an intranet address and a plurality of public network addresses can be configured in the same server, and when the plurality of public network addresses are used as destination addresses in a message, the plurality of public network addresses can all be mapped to the intranet address. Specifically, a request message sent by the client to the server may be received by the NAT device, where a destination address in the request message is one of a plurality of public network addresses configured by the server. Because the server is only configured with one intranet address, the NAT device can directly convert the destination address in the request message into the intranet address of the server, and then send the request message to the server according to the intranet address. In addition, the NAT device may also generate a connection record of the request message, where the connection record may include five-tuple information of the request message. The server may send a response message for the request message, or the server may actively send a response message to the client when not receiving the request message sent by the client. Since the server is configured with only one intranet address, the server can directly use the intranet address as the source address of the message to be sent. After the message reaches the NAT device, the NAT device may first query whether a connection record matching the response message exists. Wherein, the matching of the connection record and the response message can represent that: the response message is initiated for the request message corresponding to the connection record. If the response message exists, the original destination address (one of the public network addresses) of the request message is recorded in the connection record, and at this time, the NAT device may convert the source address (the internal network address) in the response message into the public network address defined by the connection record, and may send the response message with the converted source address to the client. And if the connection record matched with the response message does not exist, the response message is shown to be initiated by the server. In the present application, a default public network address may be selected in advance from a plurality of public gateway addresses configured by the server. Then, when there is no matching connection record in the response message, the source address (intranet address) in the response message may be converted into the default public network address, and the response message with the converted source address is sent to the client. Therefore, in the application, the server can be configured with only one internal network address and can be configured with a plurality of public network addresses, and the source address or the destination address of the message can be converted through the address mapping mode, so that the message can be transmitted between the server and the client normally. In addition, because the server is only configured with one internal network address, the NAT equipment and the server do not need to select among a plurality of internal network addresses, and the load of the NAT equipment and the server is reduced.
Through the above description of the embodiments, those skilled in the art will clearly understand that each embodiment can be implemented by software plus a necessary general hardware platform, and can also be implemented by hardware. With this understanding in mind, the above-described technical solutions may be embodied in the form of a software product, which can be stored in a computer-readable storage medium such as ROM/RAM, magnetic disk, optical disk, etc., and includes instructions for causing a computer device (which may be a personal computer, a server, or a network device, etc.) to execute the methods described in the embodiments or some parts of the embodiments.
The above description is only for the purpose of illustrating the preferred embodiments of the present invention and is not to be construed as limiting the invention, and any modifications, equivalents, improvements and the like that fall within the spirit and principle of the present invention are intended to be included therein.

Claims (10)

1. A network address mapping device is used for processing messages transmitted between a server and a client, and is characterized in that the server is configured with an internal network address and at least two public network addresses, and the at least two public network addresses are both mapped to the internal network address; the network address mapping device comprises a message receiving unit, a destination address matching unit, an address conversion unit and a message sending unit, wherein:
the message receiving unit is used for receiving a request message sent by the client and calling the destination address matching unit to process the request message; wherein, the request message points to one public network address in the at least two public network addresses; sending the matching result fed back by the destination address matching unit to the address conversion unit so as to convert the destination address in the request message into the intranet address through the address conversion unit;
the destination address matching unit is used for inquiring a matching result corresponding to a destination address in the request message according to a destination address conversion rule and feeding back the matching result to the message receiving unit;
and the message sending unit is used for sending the request message after the destination address is converted to the server according to the intranet address.
2. The device according to claim 1, wherein the device further comprises a connection tracking unit, and the connection tracking unit is configured to receive a tracking instruction for the request packet sent by the destination address matching unit, generate a connection record of the request packet, and write the generated connection record into a connection tracking record table.
3. The network address mapping device of claim 2, wherein the network address mapping device further comprises a source address matching unit; accordingly:
the message receiving unit is further configured to receive a response message sent by the server, where a source address in the response message is the intranet address, and call the connection tracking unit to process the response message; receiving a query result aiming at the response message and fed back by the connection tracking unit, and judging whether to call the source address matching unit to process the response message or not according to the query result;
the connection tracking unit is also used for inquiring whether a connection record matched with the response message exists in the connection tracking record table and feeding back an inquiry result to the message receiving unit.
4. The device according to claim 3, wherein the at least two public network addresses include a default public network address corresponding to the internal network address; accordingly:
the message receiving unit is further configured to call the source address matching unit to process the response message when the query result indicates that the connection record matching the response message does not exist; sending the default public network address fed back by the source address matching unit to the address conversion unit so as to convert the source address in the response message from the internal network address to the default public network address through the address conversion unit;
the source address matching unit is used for inquiring a default public network address corresponding to the internal network address according to a source address conversion rule and feeding back the default public network address to the message receiving unit;
the message sending unit is further configured to send the response message after the source address is converted to the client.
5. The device according to claim 3, wherein the connection tracking unit is further configured to, after querying a connection record matching the response packet, feed back a public network address defined by the queried connection record as a query result to the packet receiving unit;
correspondingly, the message receiving unit is further configured to send the public network address fed back by the source address matching unit to the address conversion unit, so that the source address in the response message is converted from the internal network address to the public network address fed back by the source address matching unit through the address conversion unit;
the message sending unit is further configured to send the response message after the source address is converted to the client.
6. A network address mapping method of a server, wherein the server is configured with an internal network address and at least two public network addresses, and the at least two public network addresses are both mapped to the internal network address, the method comprising:
receiving a request message sent by a client, wherein the request message points to one public network address of the at least two public network addresses;
converting the destination address in the request message into the intranet address;
and sending the request message after the destination address is converted to the server according to the intranet address.
7. The method according to claim 6, wherein after receiving the request message from the client, the method further comprises: generating and storing a connection record of the request message;
accordingly, the method further comprises:
receiving a response message sent by the server, wherein a source address in the response message is the intranet address;
inquiring whether a connection record matched with the response message exists or not, and performing address conversion processing on a source address in the response message according to an inquiry result;
and sending the response message after the source address is converted to the client.
8. The method of claim 7, wherein performing address translation processing on a source address in the response message comprises:
and if the query result represents that the connection record matched with the response message exists, converting the source address in the response message from the internal network address into a public network address limited by the matched connection record.
9. The method according to claim 7, wherein the at least two public network addresses include a default public network address corresponding to the internal network address; correspondingly, the address conversion processing of the source address in the response message includes:
and if the query result represents that the connection record matched with the response message does not exist, converting the source address in the response message from the internal network address into the default public network address.
10. A network address mapping device is used for processing messages transmitted between a server and a client, and is characterized in that the server is configured with an internal network address and at least two public network addresses, and the at least two public network addresses are both mapped to the internal network address; the network address mapping device comprises a memory for storing a computer program which, when executed by the processor, implements the method of any of claims 6 to 9, and a processor.
CN201810700274.XA 2018-06-29 2018-06-29 Network address mapping method and network address mapping equipment of server Pending CN110661895A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201810700274.XA CN110661895A (en) 2018-06-29 2018-06-29 Network address mapping method and network address mapping equipment of server

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201810700274.XA CN110661895A (en) 2018-06-29 2018-06-29 Network address mapping method and network address mapping equipment of server

Publications (1)

Publication Number Publication Date
CN110661895A true CN110661895A (en) 2020-01-07

Family

ID=69026837

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201810700274.XA Pending CN110661895A (en) 2018-06-29 2018-06-29 Network address mapping method and network address mapping equipment of server

Country Status (1)

Country Link
CN (1) CN110661895A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111526223A (en) * 2020-04-23 2020-08-11 腾讯科技(深圳)有限公司 Management method of edge service server, service data processing method and device
CN113660356A (en) * 2021-08-16 2021-11-16 迈普通信技术股份有限公司 Network access method, system, electronic device and computer readable storage medium

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101383778A (en) * 2008-10-27 2009-03-11 杭州华三通信技术有限公司 Packet transmission method based on network dual exit and exit router
CN103533097A (en) * 2013-10-10 2014-01-22 北京京东尚科信息技术有限公司 Web crawler downloading and analyzing method and device
CN107528932A (en) * 2016-06-22 2017-12-29 中兴通讯股份有限公司 A kind of data transmission method, network address translation apparatus
CN107979656A (en) * 2017-11-22 2018-05-01 安徽皖通邮电股份有限公司 A kind of static NAT business support Dynamic Recognition enters the method to flow
CN108040134A (en) * 2017-12-06 2018-05-15 杭州迪普科技股份有限公司 A kind of method and device of DNS Transparent Proxies

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101383778A (en) * 2008-10-27 2009-03-11 杭州华三通信技术有限公司 Packet transmission method based on network dual exit and exit router
CN103533097A (en) * 2013-10-10 2014-01-22 北京京东尚科信息技术有限公司 Web crawler downloading and analyzing method and device
CN107528932A (en) * 2016-06-22 2017-12-29 中兴通讯股份有限公司 A kind of data transmission method, network address translation apparatus
CN107979656A (en) * 2017-11-22 2018-05-01 安徽皖通邮电股份有限公司 A kind of static NAT business support Dynamic Recognition enters the method to flow
CN108040134A (en) * 2017-12-06 2018-05-15 杭州迪普科技股份有限公司 A kind of method and device of DNS Transparent Proxies

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111526223A (en) * 2020-04-23 2020-08-11 腾讯科技(深圳)有限公司 Management method of edge service server, service data processing method and device
CN111526223B (en) * 2020-04-23 2023-11-07 腾讯科技(深圳)有限公司 Management method of edge service server, service data processing method and device
CN113660356A (en) * 2021-08-16 2021-11-16 迈普通信技术股份有限公司 Network access method, system, electronic device and computer readable storage medium
CN113660356B (en) * 2021-08-16 2024-01-23 迈普通信技术股份有限公司 Network access method, system, electronic device and computer readable storage medium

Similar Documents

Publication Publication Date Title
CN110351283B (en) Data transmission method, device, equipment and storage medium
EP3993347A1 (en) Method and device for application migration
US11356410B2 (en) Packet transmission method and device, and computer readable storage medium
EP3148286A1 (en) System, method and apparatus for data communication
CN111885216B (en) DNS query method, device, equipment and storage medium
CN108429739B (en) Method, system and terminal equipment for identifying honeypots
CN109729187B (en) Proxy communication method, system, device and storage medium
US20230216793A1 (en) Control system, server, terminal device, control device, communication control method, and recording medium
CN107124483A (en) Domain name analytic method and server
CN104639497A (en) Remote access configuration method, remote access method, remote access configuration device, remote access device and remote access system
CN105959188B (en) Method and device for controlling user terminal to be on-line
CN112104640B (en) Data processing method, device and equipment of gateway and readable storage medium
CN110971721A (en) External link processing method, device, server and storage medium
CN114189393A (en) Data processing method, device, equipment and storage medium
CN110661895A (en) Network address mapping method and network address mapping equipment of server
US8861503B2 (en) Method and system for synchronizing data between mobile terminal and internet phone
CN111405059A (en) Data transmission method of cloud equipment, electronic equipment and Internet of things system
CN112968965B (en) Metadata service method, server and storage medium for NFV network node
US20210250408A1 (en) Server node selection method and terminal device
CN104426816A (en) Virtual machine communication method and device
CN110677512B (en) Address resolution method and device
US20230216825A1 (en) Gateway based ip address translation in communication networks
CN112019641B (en) Data transmission method and device
CN111385371B (en) MAC address acquisition method, device and equipment
CN109600452B (en) Server cluster, message pushing method and related server

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
TA01 Transfer of patent application right

Effective date of registration: 20210730

Address after: 518000 b1-1302, building B, Kexing Science Park, No. 15, Keyuan Road, Science Park community, Yuehai street, Nanshan District, Shenzhen, Guangdong

Applicant after: Shenzhen aijieyun Technology Co.,Ltd.

Address before: 5 / F, building a, Guangqi Cultural Plaza, 2899 Xietu Road, Xuhui District, Shanghai, 200030

Applicant before: WANGSU SCIENCE & TECHNOLOGY Co.,Ltd.

RJ01 Rejection of invention patent application after publication
RJ01 Rejection of invention patent application after publication

Application publication date: 20200107