WO2013117172A1 - Procédé, dispositif et système d'attribution d'adresses de réseau privées - Google Patents

Procédé, dispositif et système d'attribution d'adresses de réseau privées Download PDF

Info

Publication number
WO2013117172A1
WO2013117172A1 PCT/CN2013/073470 CN2013073470W WO2013117172A1 WO 2013117172 A1 WO2013117172 A1 WO 2013117172A1 CN 2013073470 W CN2013073470 W CN 2013073470W WO 2013117172 A1 WO2013117172 A1 WO 2013117172A1
Authority
WO
WIPO (PCT)
Prior art keywords
private network
network address
address
allocation
terminal
Prior art date
Application number
PCT/CN2013/073470
Other languages
English (en)
Chinese (zh)
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 WO2013117172A1 publication Critical patent/WO2013117172A1/fr

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L61/00Network arrangements, protocols or services for addressing or naming
    • H04L61/50Address allocation
    • H04L61/5038Address allocation for local use, e.g. in LAN or USB networks, or in a controller area network [CAN]
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L61/00Network arrangements, protocols or services for addressing or naming
    • H04L61/50Address allocation
    • H04L61/5007Internet protocol [IP] addresses
    • H04L61/5014Internet protocol [IP] addresses using dynamic host configuration protocol [DHCP] or bootstrap protocol [BOOTP]

Definitions

  • the present invention relates to the field of communications technologies, and in particular, to a private network address allocation method, apparatus, and system. Background technique
  • the private network address of the terminal may come from the packet data network gateway PGW or LMA (Local Mobility Anchor) of different local area networks. Since the PGW or LMA of different LANs may be assigned the same private network address, there may be cases where the private addresses of the two terminals in the same LAN are the same. If the private network addresses of the two terminals are the same, an address conflict is considered to occur, and one of the two terminals with the same private network address cannot perform network communication normally.
  • PGW or LMA Local Mobility Anchor
  • the present invention provides a private network address allocation method, including:
  • the present invention provides a method for obtaining a private network address, including:
  • DHCP response message returned by the access gateway, where the DHCP response message carries a private network address, where the private network address is determined by the access gateway, and is used to uniquely identify the terminal in the local area network.
  • the present invention provides a private network address allocation apparatus, including:
  • a receiving module configured to receive a dynamic host configuration protocol DHCP request from the terminal for requesting allocation of a private network address
  • An obtaining module configured to obtain a private network address from the address allocation network element according to the DHCP request received by the receiving module;
  • control module configured to: when the private network address obtained by the acquiring module conflicts with the stored private network address, control the acquiring module to continue to obtain a private network address from the address allocation network element;
  • a returning module configured to return a DHCP response message to the terminal when the private network address obtained by the acquiring module does not conflict with the stored private network address, where the DHCP response message carries the private acquired by the acquiring module Web address.
  • the present invention provides a private network address allocation apparatus, including:
  • a receiving module configured to receive a dynamic host configuration from the terminal for requesting allocation of a private network address Protocol DHCP request
  • An obtaining module configured to obtain a private network address from the address allocation network element according to the DHCP request received by the receiving module;
  • a processing module configured to: when the private network address obtained by the obtaining module conflicts with the stored private network address, allocate a mapped private network address for uniquely identifying the terminal in the local area network, and establish the acquired by the acquiring module The mapping relationship between the private network address and the assigned mapped private network address;
  • the returning module is configured to return a DHCP response message to the terminal, where the DHCP response message carries a mapped private network address allocated by the processing module.
  • the present invention provides a terminal, including:
  • a terminal sending module configured to send a dynamic host configuration protocol DHCP request for requesting a private network address to the access gateway
  • a terminal receiving module configured to receive a DHCP response message generated by the access gateway, where the DHCP response message carries a private network address, where the private network address is determined by the private network address allocation device, and is used to uniquely identify the terminal.
  • the present invention provides a private network address allocation system, including:
  • a terminal configured to send a dynamic host configuration protocol DHCP request to allocate a private network address to the access gateway;
  • An access gateway configured to receive the DHCP request from the terminal, and obtain a private network address from the address allocation network element according to the DHCP request;
  • An address allocation network element configured to allocate a private network address, and return the allocated private network address to the access gateway;
  • the access gateway is further configured to: when the obtained private network address conflicts with the stored private network address, continue to obtain a private network address from the address allocation network element; and when the obtained private network When the address does not conflict with the stored private network address, a DHCP response message is sent to the terminal, and the DHCP response message carries the acquired private network address.
  • the present invention provides a private network address allocation system, including:
  • a terminal configured to send a dynamic host configuration protocol DHCP request to allocate a private network address to the access gateway;
  • An access gateway configured to receive the DHCP request from the terminal, according to the DHCP Request, obtain a private network address from the address allocation network element;
  • An address allocation network element configured to allocate a private network address, and return the allocated private network address to the access gateway;
  • the access gateway is further configured to: when the obtained private network address conflicts with the stored private network address, allocate a mapped private network address for uniquely identifying the terminal, and establish the obtained private network. A mapping relationship between the address and the allocated mapped private network address, and a returning a DHCP response message to the terminal, where the DHCP response message carries the allocated mapped private network address.
  • the embodiment of the present invention After receiving the DHCP request from the terminal, the embodiment of the present invention obtains the private network address from the address allocation network element, and continues to allocate the network element from the address when the obtained private network address conflicts with the stored private network address. Obtaining a private network address, or assigning a mapped private network address that uniquely identifies the terminal, to obtain a private network address for uniquely identifying the terminal in the local area network, and obtaining a private network uniquely identifying the terminal The address is returned to the terminal. In this way, it is ensured that the private network address returned to the terminal is unique in the local area network, that is, the private network address returned to the terminal does not conflict with the private network address of other terminals in the local area network, thereby ensuring that the terminal can perform Normal network communication.
  • FIG. 1 is a schematic flow chart of an embodiment of a private network address allocation method provided by the present invention
  • FIG. 2 is a schematic flow chart of an embodiment of step S12 in FIG. 1 of the present invention.
  • FIG. 3 is a schematic flow chart of another embodiment of a private network address allocation method provided by the present invention.
  • FIG. 4 is a schematic flow chart showing another embodiment of a private network address allocation method provided by the present invention.
  • FIG. 5 is a schematic flowchart of an embodiment of a method for acquiring a private network address according to the present invention.
  • FIG. 6 is a schematic structural diagram of an embodiment of a private network address allocation apparatus provided by the present invention.
  • FIG. 7 is a schematic structural diagram of another embodiment of a private network address allocation apparatus according to the present invention.
  • FIG. 8 is a schematic structural diagram of another embodiment of a private network address allocation apparatus according to the present invention.
  • FIG. 9 is a schematic structural diagram of a terminal provided by the present invention.
  • FIG. 10 is a schematic structural diagram of an embodiment of a private network address allocation system according to the present invention.
  • FIG. 11 is a schematic structural diagram of another embodiment of a private network address allocation system according to the present invention. detailed description
  • the terminal is assigned a private network address using the ⁇ (roxy mobile Internet Protocol version 6) protocol.
  • radio access gateway
  • the MAG uses the ⁇ protocol (proxy binding update PBU message or proxy binding response ⁇ message) from the LMA (Local Mobility Anchor: Home Mobility Anchor) Point)
  • proxy binding update PBU message or proxy binding response ⁇ message
  • LMA Local Mobility Anchor: Home Mobility Anchor
  • the MAG can exchange information with the LMAs of different LANs to obtain private network addresses.
  • the terminal After accessing the WLAN (Wireless Local Area Networks) network, the terminal accesses the 3GPP (3rd Generation Partnership Project) core network through the S2a interface to obtain the private network address. Specifically, the terminal accesses the WLAN. Then, the WLAN sends a session establishment request message to the packet data network gateway PGW by using the general packet radio service tunnel GTP protocol, and the PGW allocates a private network address and returns it to the WLAN, and the WLAN returns the received private network address to the terminal.
  • the WLAN can exchange information with the PGWs of different local area networks to obtain a private network address.
  • the present invention provides the following technical solutions:
  • the embodiment of the present invention provides a method for allocating a private network address, and the execution subject may be an access gateway or another network device having an access gateway function. Description.
  • FIG. 1 it is a schematic flowchart of an embodiment of a method for allocating a private network address according to the present disclosure.
  • the method includes:
  • Step S11 receiving a dynamic host configuration protocol DHCP request from the terminal for requesting allocation of a private network address
  • a DHCP request for requesting a private network address is automatically sent to the access gateway.
  • the access gateway may be an MAG or a WLAN access network.
  • Step S12 Obtain a private network address from the address allocation network element according to the DHCP request, and continue to obtain a private network from the address allocation network element when the obtained private network address conflicts with the stored private network address.
  • the access gateway After receiving the DHCP request sent by the terminal, the access gateway knows that the terminal request allocates a private network address. Then, the access gateway exchanges information with the address allocation network element to obtain a private network address from the address allocation network element.
  • the private network address obtained by the access gateway from the address allocation network element may or may not conflict with the private network address stored by the access gateway.
  • the private network address stored by the access gateway is a private network address that is stored by the access gateway and returned to other terminals in the local area network. After returning a private network address to the terminal, the access gateway stores the private network address that has been returned to the terminal for subsequent judgment and whether the private network address obtained from the address allocation network element conflicts.
  • the access gateway needs to continue to obtain the private network address from the address allocation network element.
  • the access gateway obtains the private network If the address does not conflict with the stored private network address, the process proceeds to step S13.
  • the access gateway when the access gateway interacts with the address allocation network element for information interaction, the GTP protocol or the ⁇ protocol may be used.
  • the address allocation network element can be a PGW or an LMA.
  • Step S13 When the private network address obtained from the address allocation network element does not conflict with the stored private network address, the DHCP response message is returned to the terminal, where the DHCP response message carries the obtained private network. address.
  • the access gateway returns the private network address obtained from the address allocation network element to the terminal in the form of a DHCP response message.
  • the access gateway after receiving the DHCP request from the terminal, obtains the private network address from the address allocation network element, and when the obtained private network address conflicts with the stored private network address, the secondary address continues.
  • the private network address is obtained by the distribution network element, and when the obtained private network address does not conflict with the stored private network address, the obtained private network address that does not conflict with the stored private network address is returned to the terminal. .
  • the access gateway ensures that the private network address returned to the terminal is unique in the local area network, that is, the private network address returned to the terminal does not conflict with the private network address of other terminals in the local area network, thereby ensuring the The terminal is capable of normal network communication.
  • FIG. 2 is a schematic flowchart of an embodiment of step S12 in FIG. 1 of the present invention. Specifically, the obtaining, according to the DHCP request, the private network address from the address allocation network element, and continuing to obtain the private information from the address allocation network element when the obtained private network address conflicts with the stored private network address Web address, including:
  • Step S21 Send a distribution private network address request message to the address allocation network element according to the DHCP request.
  • the access gateway After receiving the DHCP request, the access gateway sends a request message for assigning a private network address to the address allocation network element. Specifically, the access gateway may send a request to allocate a private network address message to the address allocation network element in the following two manners:
  • the access gateway uses the GTP protocol to exchange information with the address allocation network element, the access gateway sends a setup session request message to the address allocation network element.
  • the access gateway uses the PMIPv6 protocol to exchange information with the address allocation network element, the access gateway sends a PBU message to the address allocation network element.
  • the address allocation network element After receiving the private network address request message sent by the access gateway, the address allocation network element will A corresponding private network address is assigned and returned to the access gateway. Specifically, the address allocation network element returns the allocated private network address to the access gateway in the form of a response message.
  • Step S22 receiving a response message returned by the address allocation network element, where the response message carries a private network address allocated by the address allocation network element after receiving the allocated private network address request message;
  • the access gateway uses the GTP protocol to exchange information with the address allocation network element, the access gateway receives the setup session response message returned by the address assignment network element, and the setup session response message carries the address allocation network element assignment. Private network address.
  • the access gateway uses the PMIPv6 protocol to exchange information with the address allocation network element, the access gateway receives the PBA message returned by the address allocation network element, and the PBA message carries the private network address allocated by the address allocation network element.
  • Step S23 Determine whether the received private network address conflicts with the stored private network address.
  • the access gateway determines whether the received private network address conflicts with the stored private network address, and specifically includes:
  • the access gateway compares the received private network address with the stored private network address in the database, and determines whether the received private network address is the same as the stored private network address; If the received private network address conflicts with the stored private network address, the process proceeds to step S24. If not, the received private network address does not conflict with the private network address stored by the access gateway. Exit the process.
  • Step S24 sending a release private network address message to the address allocation network element, and then repeatedly executing S21-S23;
  • the access gateway may send a release private network address message to the address allocation network element in two forms:
  • the access gateway uses the GTP protocol to exchange information with the address allocation network element, the access gateway sends a delete session request message to the address allocation network element.
  • the address allocation network element After receiving the private network address message sent by the access gateway, the address allocation network element releases the private network address allocated in step S22.
  • step S21 After the access gateway sends the release private network address message, the process proceeds to step S21, and then the access gateway loops through steps S21-S23 until the determination result of step S23 is no, that is, until the address allocation network element allocation is determined.
  • the private network address is different from the private network address that the access gateway has stored, and does not conflict.
  • the release private network address message sent in step S24 carries an indication message for instructing the address allocation network element to allocate a new private network address.
  • the released private network address message sent in step S24 carries a cell, for example, carried in the delete session request message or the PBU message.
  • a cell the cell is used to instruct the address allocation network element to allocate a new private network address.
  • the address allocation network element allocates a new private network address according to the instruction of releasing the private network address message, thereby avoiding the private network address allocated before the address allocation network element continues to be allocated. Access gateway problem.
  • the allocated private network address request message sent in the step S21 carries an indication message for instructing the address allocation network element to allocate a new private network address.
  • the access gateway may carry a message in the sent private network address request message.
  • the element for example, carries a cell in the sent setup session request message or PBU message, and the cell is used to indicate that the address allocation network element allocates a new private network address.
  • the address allocation network element After receiving the message of releasing the private network address, the address allocation network element allocates a new private network address according to the instruction of releasing the private network address message, thereby avoiding the private network address allocated before the address allocation network element continues to be allocated. Access gateway problem.
  • Step S31 receiving a dynamic host configuration protocol DHCP request from the terminal for requesting allocation of a private network address
  • step S11 in the embodiment shown in Fig. 1, and will not be described in detail herein.
  • Step S32 Obtain a private network address from the address allocation network element according to the DHCP request.
  • the access gateway after receiving the DHCP request sent by the terminal, the access gateway knows that the terminal request allocates a private network address. Then, the access gateway exchanges information with the address allocation network element to obtain a private network address from the address allocation network element.
  • the private network address obtained by the access gateway from the address allocation network element may or may not conflict with the private network address stored by the access gateway.
  • the process proceeds to step S33.
  • the private network address obtained by the access gateway from the address allocation network element does not conflict with the private network address stored by the access gateway, the flow proceeds to step S35.
  • the stored private network address is a private network address that is stored by the access gateway and returned to other terminals in the local area network. After the access gateway returns a private network address to the terminal, the private network address that has been returned to the terminal is stored for subsequent judgment and whether the private network address obtained from the address allocation network element conflicts.
  • the access gateway when the access gateway interacts with the address allocation network element for information interaction, the GTP protocol or the ⁇ protocol may be used.
  • the address allocation network element can be a PGW or an LMA.
  • Step S33 when the obtained private network address conflicts with the stored private network address, assigning a mapped private network address for uniquely identifying the terminal in the local area network, and establishing the obtained private network address and the Map the mapping of private network addresses;
  • the access gateway when the private network address obtained by the access gateway conflicts with the stored private network address, the access gateway also allocates the mapped private network address of the local area network to which the access gateway belongs.
  • the access gateway allocates the mapped private network address, it is different from the address allocation network element, and therefore accesses the local area network (that is, only the terminal in the local area network to which the access gateway belongs).
  • the gateway can ensure that the mapped private network addresses are not in conflict with each other, that is, the currently mapped private network address is different from the mapped private network address that the access gateway has assigned to other terminals. Therefore, the mapped private network address allocated by the access gateway can uniquely identify a terminal in the local area network to which the access gateway belongs.
  • the access gateway After the mapping of the private network address is configured, the access gateway further establishes a mapping relationship between the private network address obtained in step S32 and the mapped private network address allocated in this step. A private network address obtained by the access gateway is mapped to a mapped private network address allocated by the access gateway.
  • Step S34 returning a DHCP response message to the terminal, where the DHCP response message carries the mapped private network address;
  • Step S35 When the obtained private network address does not conflict with the stored private network address, return a DHCP response message to the terminal, where the DHCP response message carries the obtained private network address.
  • the access gateway after receiving the DHCP request from the terminal, obtains the private network address from the address allocation network element, and when the obtained private network address does not conflict with the stored private network address, the obtained private The network address is returned to the terminal; and when the obtained private network address conflicts with the stored private network address, a mapping private network address is assigned, and the mapping relationship between the obtained private network address and the allocated mapped private network address is established. And return the assigned mapped private network address to the terminal.
  • the obtained private network address or the assigned mapped private network address can uniquely identify a terminal in the local area network.
  • the access gateway returns the private network address of the terminal (the private network address or access obtained from the address allocation network element)
  • the mapped private network address assigned by the gateway does not conflict with the private network address of other terminals in the local area network, thus ensuring that the terminal can perform normal network communication.
  • the access gateway After the assigned private network address is returned to the terminal, when the terminal has an uplink IP packet to be transmitted, the private network address allocated by the address allocation network element has a mapping relationship with the mapped private network address of the terminal, so the access gateway
  • the source IP address of the uplink IP packet (that is, the mapped private network address assigned by the access gateway) is replaced with the private network address allocated by the address allocation network element, and the uplink IP packet is sent to the address allocation network element.
  • the access gateway needs to replace the destination address of the downlink IP packet (that is, the private network address allocated by the address allocation network element) with the And mapping the private network address allocated by the gateway, and sending the downlink IP packet to the terminal. In this way, normal network communication of the terminals in the local area network is achieved.
  • the access gateway may directly allocate a mapped private network address, and establish an assigned mapped private network address and acquired. Mapping between private network addresses, because of the mapped private network assigned by the access gateway The address can uniquely identify a terminal within its local area network, thus enabling normal network communication of terminals within the local area network.
  • Step S43 receiving a response message returned by the address allocation network element, where the response message carries a private network address allocated by the address allocation network element after receiving the allocated private network address request message;
  • Step S45 Allocating a mapped private network address for uniquely identifying the terminal in the local area network, and establishing a mapping relationship between the obtained private network address and the mapped private network address;
  • step S45 to step S47 is equivalent to the operation of step S33 to step S35 in the embodiment shown in FIG. 3, and is not described in detail herein.
  • Step S51 Send a dynamic host configuration protocol DHCP request for requesting allocation of a private network address to the access gateway;
  • the private network address returned by the access gateway that is received by the terminal can uniquely identify the terminal in the local area network, so that the private network address that the terminal lives and the private network address of other terminals in the regional network do not The conflict, in turn, guarantees normal network communication of the terminal.
  • FIG. 6 is a schematic structural diagram of an embodiment of a private network address allocation apparatus according to the present invention.
  • the apparatus 6 includes:
  • the receiving module 61 is configured to receive a dynamic host configuration protocol DHCP request from the terminal for requesting allocation of a private network address;
  • the terminal After the terminal is powered on, the terminal automatically sends a DHCP request for requesting the assignment of the private network address to the receiving module 61 of the device.
  • the receiving module 61 forwards the received DHCP request to the obtaining module 62 after receiving the DHCP request sent by the terminal.
  • the control module 63 is configured to control the obtaining module 62 to continue to obtain a private network address from the address allocation network element when the private network address acquired by the obtaining module 62 conflicts with the stored private network address; wherein the obtaining module 62
  • the private network address obtained by the address allocation NE may or may not conflict with the private network address stored by the access gateway.
  • the stored private network address is the private network address stored by the device 6 and returned by the device to other terminals in the local area network. After returning a private network address to the terminal, the device stores the private network address that has been returned to the terminal for subsequent use. Determine whether there is a conflict with the private network address obtained from the address allocation network element.
  • the returning module 64 is configured to: when the private network address obtained by the obtaining module 62 does not collide with the stored private network address, return a DHCP response message to the terminal, where the DHCP response message carries the acquiring module 62.
  • the returning module 64 returns the private network address obtained by the obtaining module 62 to the terminal in the form of a DHCP response message.
  • the obtaining module 62 obtains the private network address from the address allocation network element, and obtains the private network address and the stored private network address obtained by the obtaining module 62.
  • the control module 63 controls the obtaining module 62 to continue from the control module 63.
  • the address allocation network element obtains the IPV4 private network address, until the private network address obtained by the obtaining module 62 does not conflict with the stored private network address, and finally the obtained private network address that is obtained by the returning module 64 does not conflict with the stored private network address.
  • the private network address is returned to the terminal. In this way, it is ensured that the private network address returned by the returning module 64 to the terminal is unique in the local area network, that is, the private network address returned to the terminal does not conflict with the private network address of other terminals in the local area network, thereby ensuring the said The terminal is capable of normal network communication.
  • FIG. 7 is a schematic structural diagram of another embodiment of a private network address allocation apparatus according to the present invention.
  • the obtaining module 62 includes:
  • the sending unit 621 is configured to send a distribution private network address request message to the address allocation network element according to the DHCP request received by the receiving module 61.
  • the sending unit 621 sends the private allocation according to the DHCP request received by the receiving module 61.
  • the network address request message is assigned to the address allocation network element.
  • the sending unit 621 may send a request to allocate an IPV4 private network address message to the address allocation network element in the following two manners:
  • the sending unit 621 When the sending unit 621 performs information exchange with the address allocation network element by using the GTP protocol, the sending unit 621 sends a setup session request message to the address allocation network element.
  • the sending unit 621 uses the PMIPv6 protocol to perform information exchange with the address allocation network element, the sending unit 621 sends a PBU message to the address allocation network element.
  • the receiving unit 622 is configured to receive a response message returned by the address allocation network element, where the response message carries a private network address that is allocated by the address allocation network element after receiving the allocated private network address request message;
  • the address allocation network element After receiving the assignment private network address request message sent by the sending unit 621, the address allocation network element allocates a corresponding private network address and returns it to the receiving unit 622. Specifically, the address allocation network element returns the assigned private network address to the receiving unit 622 by returning a response message.
  • the form of the private network address received by the receiving unit 622 and returned by the address allocation network element also has two types. :
  • the sending unit 621 uses the GTP protocol to perform information exchange with the address allocation network element
  • the receiving unit 622 receives the setup session response message returned by the address allocation network element, where the setup session response message carries the address allocation network element.
  • the assigned private network address
  • the receiving unit 622 receives the PBA message returned by the address allocation network element, where the PBA message carries the private network address allocated by the address allocation network element. .
  • the determining unit 623 is configured to determine whether the private network address received by the receiving unit 622 and the stored private network address conflict;
  • the determining unit 623 compares the private network address received by the receiving unit 622 with the private network address stored by the device, to determine the private network address received by the receiving unit 622 and the stored private network. Whether the address conflicts. If the determining unit 623 determines that the private network address received by the receiving unit 622 is the same as the private network address stored by the device, the private network address received by the receiving unit 622 and the private network stored by the device are determined. Address conflict. At this time, the control module 63 controls the sending unit 621 to send a release private network address message to the address allocation network element, and then send the network element. Sending a private network address request message to the address allocation network element;
  • the control module 63 is specifically configured to: when the determination result of the determining unit 623 is a conflict, that is, when the private network address received by the receiving unit 622 collides with the stored private network address, the sending unit 621 is controlled first. Sending a release private network address message to the address allocation network element, and then sending a distribution private network address request message to the address allocation network element.
  • the sending unit 621 is further configured to: after the control of the control module 63, send a release private network address message to the address allocation network element, and then send a distribution private network address request message to the address distribution network. yuan.
  • the sending unit 621 can send the release private network address message to the address allocation network element in two forms:
  • the sending unit 621 uses the GTP protocol to perform information exchange with the address allocation network element, the sending unit 621 sends a delete session request message to the address allocation network element.
  • the sending unit 621 sends a release private network address message to the address allocation network element, and sends a distribution private network address request message to the address allocation network element again, the sending unit 621 sends the private network.
  • the address request message carries an indication message for instructing the address allocation network element to allocate a new private network address.
  • the sending unit 621 may send the sending unit 621.
  • the assigned private network address request message carries a cell.
  • the establishment of the session request message or the PBU message carries a cell, and the cell is used to indicate that the address allocation network element allocates a new private network address.
  • the address allocation network element allocates a new private network address according to the instruction of releasing the private network address message, thereby avoiding the private network address allocated before the address allocation network element continues to be allocated. Access gateway problem.
  • the receiving module 81 is configured to receive a dynamic host configuration protocol DHCP request from the terminal for requesting allocation of a private network address;
  • the obtaining module 82 is configured to obtain a private network address from the address allocation network element according to the DHCP request received by the receiving module 81.
  • the obtaining module 82 knows that the terminal requests to allocate a private network address according to the DHCP request sent by the receiving module 81. Then, the obtaining module 82 performs information interaction with the address allocation network element to Obtain a private network address at the address allocation NE.
  • the obtaining module 82 specifically includes:
  • the sending unit 821 When the sending unit 821 performs information exchange with the address allocation network element by using the GTP protocol, the sending unit 821 sends a setup session request message to the address allocation network element.
  • the form of the private network address received by the receiving unit 822 and returned by the address allocation network element also has two types. :
  • the receiving unit 822 receives the setup session response message returned by the address allocation network element, where the setup session response message carries the address allocation network element.
  • the assigned private network address
  • the control processing module 83 assigns the mapped private network address; if not, the control return module 84 returns the private network address received by the receiving unit 822 to the terminal.
  • the stored private network address is a private network address that is stored by the device 8 and that is returned by the device 8 to other terminals in the local area network from the address allocation network element. After returning a private network address to the terminal, the device stores the private network address that has been returned to the terminal for subsequent judgment on whether the private network address obtained from the address allocation network element conflicts.
  • the processing module 83 allocates a mapped private network address of the local area network to which the device belongs in the address space of the device.
  • the processing module 83 is different from the address allocation network element because the processing module 83 allocates the mapped private network address based on the local area network to which the device belongs (that is, only the terminal in the local area network to which the device belongs); 83 can ensure that the mapped private network address of the allocation does not conflict, that is, the currently assigned mapped private network address is different from the mapped private network address that the processing module 83 has assigned to other terminals. Therefore, the mapped private network address assigned by the processing module 83 can uniquely identify a terminal within the local area network to which the device belongs.
  • the processing module 83 further establishes a mapping relationship between the private network address obtained by the obtaining module 82 and the allocated mapped private network address after the mapping of the private network address is allocated. Specifically, the processing module 83 receives the receiving unit 822. A private network address is mapped to a mapped private network address assigned by the processing module 83.
  • the returning module 84 is configured to return a DHCP response message to the terminal, where the DHCP response message carries the mapped private network address allocated by the processing module 83.
  • the returning module 84 is further configured to: when the private network address obtained by the obtaining module 82 does not conflict with the stored private network address, return a DHCP response message to the terminal, where the DHCP response message carries The private network address obtained by the obtaining module 82.
  • the receiving module 81 after receiving the DHCP request from the terminal, obtains the private network address from the address allocation network element by the obtaining module 82, and obtains the private network address obtained by the obtaining module 82 and the stored private network.
  • the returning module 84 will allocate the network elements from the address.
  • the obtained private network address is returned to the terminal, and when the private network address obtained by the obtaining module 82 conflicts with the stored private network address, the processing module 83 allocates a mapped private network address, and establishes the obtained private network address and the allocated private network address.
  • the mapping of the private network address is mapped, and the assigned mapped private network address is returned to the terminal through the return module 84.
  • the returning module 84 returns the private network address of the terminal (the private network address obtained from the address allocation network element or the allocated network address)
  • the mapping of the private network address does not conflict with the private network address of other terminals in the local area network. This ensures that the terminal can perform normal network communication.
  • the access gateway When the device is allocated to the terminal by using the device described in this embodiment, and the assigned mapped private network address is returned to the terminal, when the terminal has an uplink IP packet to be transmitted, the network element is allocated by the address allocation.
  • the private network address is mapped to the mapped private network address of the terminal. Therefore, the access gateway replaces the source address of the uplink IP packet (that is, the mapped private network address allocated by the device) with the private network address allocated by the address allocation network element, and The uplink IP packet is sent to the address allocation network element.
  • the access gateway needs to replace the destination address of the downlink IP packet (that is, the private network address allocated by the address allocation network element) with the device. Assigning a mapped private network address, and transmitting the downlink IP packet to the terminal. In this way, normal network communication of the terminals in the local area network is achieved.
  • the present invention further provides a terminal 9, where the 9 includes: a terminal sending module 91, configured to send a dynamic host configuration protocol requesting to allocate a private network address.
  • a DHCP request for assigning a private network address is automatically sent to the private network address allocation device.
  • the terminal receiving module 92 is configured to receive a DHCP response message generated by the access gateway, where the DHCP response message carries a private network address, where the private network address is determined by the private network address allocation device, and is used to uniquely identify the local area network. Said terminal.
  • private network address allocation device described in this step may specifically be the device described in FIG. 6-8.
  • the private network address returned by the private network address allocation device received by the terminal can
  • the terminal is uniquely identified in the local area network, so that the private network address of the terminal does not conflict with the private network address of other terminals in the area network, thereby ensuring normal network communication of the terminal.
  • FIG. 10 it is a schematic structural diagram of an embodiment of a private network address allocation system provided by the present invention.
  • the system 10 includes:
  • the terminal 9 is configured to send a dynamic host configuration protocol DHCP request for assigning a private network address to the access gateway;
  • the access gateway 101 is configured to receive the DHCP request from the terminal 9, and obtain a private network address from the address allocation network element according to the DHCP request.
  • An address allocation network element 102 configured to allocate a private network address, and return the allocated private network address to the access gateway 101;
  • the access gateway 101 after receiving the DHCP request from the terminal, the access gateway 101 obtains the private network address from the address allocation network element, and when the obtained private network address does not conflict with the stored private network address, The obtained private network address is returned to the terminal; and when the obtained private network address conflicts with the stored private network address, the private network address is continuously obtained from the address allocation network element until the obtained private network address is stored. The private network address does not conflict, and finally the obtained private network address that does not conflict with the stored private network address is returned to the terminal.
  • the access gateway 101 ensures that the private network address returned to the terminal is unique in the local area network, that is, the private network address returned to the terminal does not conflict with the private network address of other terminals in the local area network, thereby ensuring The terminal is capable of normal network communication.
  • the terminal 9 is configured to send a dynamic host configuration protocol requesting to allocate an IPV4 private network address to the access gateway;
  • the access gateway 111 is further configured to: when the obtained private network address conflicts with the stored private network address, assign a mapped private network address, and establish the obtained private network address and the mapped private network. And mapping the address, and returning a DHCP response message to the terminal 9, where the DHCP response message carries the mapped private network address.

Landscapes

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

Abstract

Les modes de réalisation de la présente invention portent sur un procédé d'attribution d'adresses de réseau privées, consistant à recevoir, en provenance d'un terminal une demande selon le protocole de configuration dynamique des hôtes (DHCP) pour une attribution d'adresse de réseau privée; à acquérir, à partir d'un élément de réseau d'attribution d'adresse, une adresse de réseau privée conformément à la demande DHCP, et à continuer à acquérir une adresse de réseau privée à partir de l'élément de réseau d'attribution d'adresse lorsque l'adresse de réseau privée acquise entre en conflit avec une quelconque adresse de réseau privée en mémoire; lorsque l'adresse de réseau privée acquise à partir de l'élément de réseau d'attribution d'adresse n'est pas en conflit avec une adresse de réseau privée quelconque, et à renvoyer un message de réponse DHCP au terminal, le message de réponse DHCP portant l'adresse de réseau privée acquise. Les modes de réalisation de la présente invention concernent également un procédé, un dispositif et un système d'attribution d'adresses de réseau privées. La présente invention garantit que l'adresse de réseau privée renvoyée au terminal n'est pas en conflit avec les adresses de réseau privées d'autres terminaux, ce qui permet de garantir que le terminal peut exécuter des communications de réseau normales.
PCT/CN2013/073470 2012-02-09 2013-03-29 Procédé, dispositif et système d'attribution d'adresses de réseau privées WO2013117172A1 (fr)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201210028822.1 2012-02-09
CN201210028822.1A CN103248716B (zh) 2012-02-09 2012-02-09 一种私网地址分配方法、装置及系统

Publications (1)

Publication Number Publication Date
WO2013117172A1 true WO2013117172A1 (fr) 2013-08-15

Family

ID=48927937

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2013/073470 WO2013117172A1 (fr) 2012-02-09 2013-03-29 Procédé, dispositif et système d'attribution d'adresses de réseau privées

Country Status (2)

Country Link
CN (1) CN103248716B (fr)
WO (1) WO2013117172A1 (fr)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114363296A (zh) * 2020-09-30 2022-04-15 大唐移动通信设备有限公司 地址冲突检测方法、用户面网元以及控制面网元

Families Citing this family (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105049547B (zh) * 2015-07-30 2018-05-25 大唐移动通信设备有限公司 一种网关地址分配方法和设备
CN109617922B (zh) * 2019-01-24 2021-04-27 杭州迪普科技股份有限公司 Vpn保护网段冲突的处理方法、装置、电子设备
CN111445654B (zh) * 2019-12-09 2021-12-14 珠海派诺科技股份有限公司 火灾监控系统快速接入方法、火灾监控系统及存储介质
CN112261173A (zh) * 2020-10-20 2021-01-22 四川天邑康和通信股份有限公司 一种涉及融合网关的dhcp服务器分配地址冲突检测方法

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1708021A (zh) * 2004-06-11 2005-12-14 华为技术有限公司 为用户终端分配接入地址的方法
WO2006060072A1 (fr) * 2004-11-30 2006-06-08 General Instrument Corporation Dispositif, systeme et procede permettant de determiner automatiquement une plage d'adresses rle ip appropriee dans un environnement de reseau a routeurs multiples
CN1870587A (zh) * 2005-12-13 2006-11-29 华为技术有限公司 一种接入终端设备报文的管理方法及系统
CN101030882A (zh) * 2006-02-27 2007-09-05 华为技术有限公司 一种访问客户网络管理平台的方法

Family Cites Families (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP3539413B2 (ja) * 2001-08-31 2004-07-07 ソニー株式会社 ネットワーク接続装置、ネットワーク接続システム及びネットワーク接続方法
JP4561983B2 (ja) * 2005-01-13 2010-10-13 日本電気株式会社 ローカルコンテンツ接続システム、移動端末、ローカルコンテンツ接続方法及びクライアントプログラム
US20060221955A1 (en) * 2005-04-05 2006-10-05 Mark Enright IP addressing in joined private networks
CN100493102C (zh) * 2005-12-01 2009-05-27 中国科学院计算技术研究所 一种宽带无线城域网中ip地址的分配方法
CN101478403A (zh) * 2009-01-15 2009-07-08 中山大学 一种具有安全机制的UPnP数字家庭网关装置
CN101764856B (zh) * 2009-12-17 2012-11-07 华为技术有限公司 一种ip地址分配方法和网关
CN101841467B (zh) * 2010-03-16 2012-02-22 北京星网锐捷网络技术有限公司 组播流控制方法、设备及系统
CN102244620A (zh) * 2010-05-13 2011-11-16 工业和信息化部电信传输研究所 一种确定网关与设备关联关系的方法和系统
CN101951417B (zh) * 2010-09-21 2013-01-30 北京星网锐捷网络技术有限公司 多服务器地址分配方法、系统及中继设备
EP2536099A4 (fr) * 2011-04-20 2013-01-09 Huawei Tech Co Ltd Procédé permettant d'éviter les conflits d'adresse et noeud de réception associé
CN102291259B (zh) * 2011-08-10 2013-09-11 天津大学 基于多主站模式的低压电力线通信网络层管理方法

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1708021A (zh) * 2004-06-11 2005-12-14 华为技术有限公司 为用户终端分配接入地址的方法
WO2006060072A1 (fr) * 2004-11-30 2006-06-08 General Instrument Corporation Dispositif, systeme et procede permettant de determiner automatiquement une plage d'adresses rle ip appropriee dans un environnement de reseau a routeurs multiples
CN1870587A (zh) * 2005-12-13 2006-11-29 华为技术有限公司 一种接入终端设备报文的管理方法及系统
CN101030882A (zh) * 2006-02-27 2007-09-05 华为技术有限公司 一种访问客户网络管理平台的方法

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114363296A (zh) * 2020-09-30 2022-04-15 大唐移动通信设备有限公司 地址冲突检测方法、用户面网元以及控制面网元

Also Published As

Publication number Publication date
CN103248716A (zh) 2013-08-14
CN103248716B (zh) 2017-04-12

Similar Documents

Publication Publication Date Title
JP6855575B2 (ja) ネットワーク間変更方法および装置、ならびに関連デバイス
US10516647B2 (en) Method for establishing data connection on mobile network, mobile network, and policy control entity
CN106664551B (zh) 一种ip地址分配的方法和装置
JP2006520548A (ja) デュアルスタック変換メカニズムを使用するモバイルインターネットプロトコル通信システム及び方法
JP2020522957A (ja) セッション管理方法および装置
KR20160070471A (ko) 직접통신 단말기에서 ip를 할당하는 방법 및 장치
WO2014183696A1 (fr) Procédé d'établissement de chemin, contrôleur et entité de gestion de mobilité
WO2017147752A1 (fr) Appareil, système et procédé de gestion de mobilité
WO2013117172A1 (fr) Procédé, dispositif et système d'attribution d'adresses de réseau privées
JP7310006B2 (ja) サービス継続実現方法、関連装置、およびシステム
JP5872066B2 (ja) 非3gppによってコアネットワークにアクセスする方法、装置及びシステム
CN116746213A (zh) 涉及网关设备的系统中的ue的服务数据流连续性
KR101481337B1 (ko) 소프트웨어 정의 네트워크 기반 이동통신 시스템 및 이의 단말 접속 처리 방법
KR100684322B1 (ko) 이동 통신 시스템에서 ip 관리 메시지를 위한 연결 설정방법 및 이를 이용한 ip 주소 할당 방법
CN113573381A (zh) 非ip类型数据的传输处理方法、设备、装置及介质
US20180077112A1 (en) Ip address allocation method in d2d communication and user equipment
KR20040051328A (ko) 무선랜망과 이동통신망간의 핸드 오버 방안
KR20040049189A (ko) 무선랜과 범용 이동통신 시스템망간의 아이피 할당 방법
CN116746214A (zh) 在电信网络与网关设备之间移动的ue的pdu会话连续性
WO2014169590A1 (fr) Procédé, dispositif et système de communication de service de données
WO2020066056A1 (fr) Dispositif de plan de commande, programme, système et dispositif de traitement d'informations
KR100388487B1 (ko) 3세대 범용 패킷 무선 서비스 네트워크를 방문한 인터넷서비스 가입자 단말에게 동적 아이피 주소를 할당하는방법 및 장치
WO2018223974A1 (fr) Procédé et appareil de gestion de session.
CN107306391B (zh) 一种网络地址分配方法、装置和网关设备
US9515990B1 (en) Communicating reregistration information based on the lifetime of a communication session

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: 13747282

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 13747282

Country of ref document: EP

Kind code of ref document: A1