WO2021129502A1 - Method for allocating and determining ip address of network element, network element, and management domain network - Google Patents

Method for allocating and determining ip address of network element, network element, and management domain network Download PDF

Info

Publication number
WO2021129502A1
WO2021129502A1 PCT/CN2020/137125 CN2020137125W WO2021129502A1 WO 2021129502 A1 WO2021129502 A1 WO 2021129502A1 CN 2020137125 W CN2020137125 W CN 2020137125W WO 2021129502 A1 WO2021129502 A1 WO 2021129502A1
Authority
WO
WIPO (PCT)
Prior art keywords
network element
address
network
requesting
management domain
Prior art date
Application number
PCT/CN2020/137125
Other languages
French (fr)
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 WO2021129502A1 publication Critical patent/WO2021129502A1/en

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/50Address allocation
    • H04L61/5007Internet protocol [IP] addresses
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L41/00Arrangements for maintenance, administration or management of data switching networks, e.g. of packet switching networks
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L41/00Arrangements for maintenance, administration or management of data switching networks, e.g. of packet switching networks
    • H04L41/08Configuration management of networks or network elements
    • H04L41/0803Configuration setting
    • H04L41/0813Configuration setting characterised by the conditions triggering a change of settings
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L41/00Arrangements for maintenance, administration or management of data switching networks, e.g. of packet switching networks
    • H04L41/08Configuration management of networks or network elements
    • H04L41/0803Configuration setting
    • H04L41/0823Configuration setting characterised by the purposes of a change of settings, e.g. optimising configuration for enhancing reliability
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L61/00Network arrangements, protocols or services for addressing or naming
    • 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/5046Resolving address allocation conflicts; Testing of addresses

Definitions

  • inventions of the present disclosure provide a requesting network element for use in a management domain network.
  • the management domain network includes multiple network elements, and the multiple network elements include at least one customer network element and only include one service.
  • a network element where the requesting network element is a customer network element; the requesting network element includes: a network unit having at least one interface for connecting to other network elements of the management area network; one or more processors; and a memory ,
  • One or more I/O interfaces are connected between the processor and the memory, and are configured to implement information interaction between the processor and the memory.
  • FIG. 11 is a block diagram of the composition of a forwarding network element provided by an embodiment of the disclosure.
  • the requesting network element when a certain customer network element (referred to as the requesting network element at this time) needs to obtain an IP address, it can be used without manual or upper-layer network intervention.
  • the management domain network only relying on the management domain network itself can assign non-conflicting IP addresses to the requesting network element, thereby realizing the automatic management of the management domain network's own network element IP addresses.
  • the address table is pre-stored in the service network element, and the address table records the correspondence between existing network elements in the management domain network (such as indicated by the identification of the network element) and the IP address (each corresponding relationship is when the network element joins the management domain Automatically recorded during the network), that is, the current IP address allocation status of the management domain network is recorded.
  • the requesting network element is allowed to directly use the temporary IP address as its own IP address (the confirmation information can be fed back to the requesting network element or not), and the corresponding relationship between the temporary IP address and the requesting network element can be ensured.
  • the address table if the corresponding relationship does not exist in the address table, the corresponding relationship needs to be written into the address table; if the corresponding relationship already exists in the address table, no operation is required).
  • the request information is used to be forwarded by flooding.
  • the requesting network element can first determine an IP address (temporary IP address) by itself, and add the temporary IP address to the request information and send it out (that is, the request information also includes the temporary IP address).
  • determining the IP address of the requesting network element includes:
  • One or more processors are One or more processors;
  • "0001" is the value of the message type bit, which indicates that the message is a request message.
  • the requesting network element sends the request information in a broadcast manner, the request information includes the identification of the requesting network element and its own IP address, and the request information is used to be forwarded by flooding.

Landscapes

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

Abstract

Provided is a method for allocating IP address of network element, which is used in a serving network element. The serving network element is used in a management domain network, the management domain network comprises a plurality of network elements, the plurality of network elements comprise at least one client network element and only one serving network element; the method comprises: receiving request information originating from a request network element and comprising an identifier of the request network element (S101); wherein, the request network element is a client network element, the request information is used to be forwarded by a flooding manner; according to a pre-stored address table, determining a target IP address of the request network element, and determining that the identifier and the target IP address of the request network element are stored in the address table (S102); wherein, the target IP address does not conflict with the existing IP address of the network element in the management domain network. The embodiment of the present disclosure also provides a method for determining IP address of network element, a network element, and a management domain network.

Description

分配和确定网元IP地址的方法、网元、管理域网络Method for allocating and determining the IP address of network element, network element, management domain network
相关申请的交叉引用Cross references to related applications
本申请基于申请号为201911342540.7、申请日为2019年12月23日的中国专利申请提出,并要求该中国专利申请的优先权,该中国专利申请的全部内容在此引入本申请作为参考。This application is filed based on the Chinese patent application with the application number 201911342540.7 and the filing date on December 23, 2019, and claims the priority of the Chinese patent application. The entire content of the Chinese patent application is hereby incorporated into this application by reference.
技术领域Technical field
本公开实施例涉及互联网技术领域,特别涉及分配和确定网元IP地址的方法、网元、管理域网络。The embodiments of the present disclosure relate to the field of Internet technology, in particular to methods for allocating and determining IP addresses of network elements, network elements, and management domain networks.
背景技术Background technique
网络中的网元需要具有各自的IP(Internet Protocol,网际互连协议)地址,以作为其在网络中的地址标识。The network elements in the network need to have their own IP (Internet Protocol) addresses as their address identifiers in the network.
其中,网元的IP地址可人工设置,但这样会耗费大量的人力和时间;或者,网元的IP地址也可根据网元的设备类型等自动生成,但这样容易导致网元的IP地址发生冲突(即不同网元具有相同的IP地址),使部分网元脱管而无法被正常管理,后续仍然需要耗费大量的人力和时间进行检查;尤其在网络规模较大、组网环境比较复杂时,以上问题就更严重。Among them, the IP address of the network element can be manually set, but this will consume a lot of manpower and time; or, the IP address of the network element can also be automatically generated according to the device type of the network element, etc., but this will easily cause the IP address of the network element to occur Conflict (that is, different network elements have the same IP address), some of the network elements are out of control and cannot be managed normally, and subsequent inspections still require a lot of manpower and time; especially when the network is large and the networking environment is more complicated , The above problems are even more serious.
发明内容Summary of the invention
本公开实施例提供一种分配和确定网元IP地址的方法、网元、管理域网络。The embodiments of the present disclosure provide a method for allocating and determining the IP address of a network element, a network element, and a management domain network.
第一方面,本公开实施例提供一种分配网元IP地址的方法,用于服务网元,所述服务网元用于管理域网络中,所述管理域网络包括多个网元,所述多个网元包括至少一个客户网元且仅包括一个服务网元;所述方法包括:接收源自请求网元的、包括所述请求网元的标识的请求信息;其中,所述请求网元为客户网元,所述请求信息用于通过泛洪方式被转发;根据预存的地址表确定所述请求网元的目标IP地址,并确定所述地址表中存储有所述请求网元的标识和目标IP地址;其中,所述目标IP地址与所述管理域网络中网元的已有IP地址不冲突。In the first aspect, the embodiments of the present disclosure provide a method for allocating the IP address of a network element for a service network element, the service network element is used in a management domain network, the management domain network includes a plurality of network elements, the The multiple network elements include at least one customer network element and only one service network element; the method includes: receiving request information from a requesting network element that includes an identifier of the requesting network element; wherein, the requesting network element Is a client network element, the request information is used to be forwarded by flooding; the target IP address of the requesting network element is determined according to a pre-stored address table, and it is determined that the identification of the requesting network element is stored in the address table And the target IP address; wherein the target IP address does not conflict with the existing IP address of the network element in the management domain network.
第二方面,本公开实施例提供一种确定网元IP地址的方法,用于请求网元,所述请求网元用于管理域网络中,所述管理域网络包括多个网元,所述多个网元包括至少一个客户网元且仅包括一个服务网元,所述请求网元为客户网元;所述方法包括:广播发送包括所述请求网元的标识的请求信息;其中,所述请求信息用于通过泛洪方式被转发;根据由所述请求信息引起的结果,确定所述请求网元的IP地址。In the second aspect, the embodiments of the present disclosure provide a method for determining the IP address of a network element for requesting a network element, where the requesting network element is used in a management domain network, and the management domain network includes a plurality of network elements. The multiple network elements include at least one customer network element and only one service network element, and the requesting network element is a customer network element; the method includes: broadcasting and sending request information including the identification of the requesting network element; The request information is used to be forwarded by flooding; according to the result caused by the request information, the IP address of the requesting network element is determined.
第三方面,本公开实施例提供一种转发信息的方法,用于转发网元,所述转发网元用于管理域网络中,所述管理域网络包括多个网元,所述多个网元包括至少一个客户网元且仅包括一个服务网元,所述转发网元为客户网元;所述方法包括:当接收到源自请求网元 的、包括所述请求网元的标识的请求信息,泛洪转发所述请求信息;当接收到源自服务网元的、包括请求网元的标识和目标IP地址的分配信息,泛洪转发所述分配信息。In a third aspect, the embodiments of the present disclosure provide a method for forwarding information, which is used for forwarding network elements, where the forwarding network elements are used in a management domain network, and the management domain network includes multiple network elements. The element includes at least one customer network element and only one service network element, and the forwarding network element is a customer network element; the method includes: when receiving a request from a requesting network element that includes an identification of the requesting network element Information, the request information is flooded and forwarded; when the allocation information including the identification of the requesting network element and the target IP address is received from the serving network element, the allocation information is flooded and forwarded.
第四方面,本公开实施例提供一种服务网元,用于管理域网络中,所述管理域网络包括多个网元,所述多个网元包括至少一个客户网元且仅包括一个服务网元;所述服务网元包括:网络单元,其具有至少一个用于连接所述管理域网络的其它网元的接口;一个或多个处理器;存储器,其上存储有一个或多个程序,当所述一个或多个程序被所述一个或多个处理器执行,使得所述一个或多个处理器实现上述的分配网元IP地址的方法;一个或多个I/O接口,连接在所述处理器与存储器之间,配置为实现所述处理器与存储器的信息交互。In a fourth aspect, the embodiments of the present disclosure provide a service network element for use in a management domain network. The management domain network includes multiple network elements. The multiple network elements include at least one customer network element and only include one service. The network element; the service network element includes: a network unit having at least one interface for connecting to other network elements of the management domain network; one or more processors; a memory on which one or more programs are stored , When the one or more programs are executed by the one or more processors, the one or more processors implement the above-mentioned method for allocating network element IP addresses; one or more I/O interfaces are connected Between the processor and the memory, it is configured to implement information interaction between the processor and the memory.
第五方面,本公开实施例提供一种请求网元,用于管理域网络中,所述管理域网络包括多个网元,所述多个网元包括至少一个客户网元且仅包括一个服务网元,所述请求网元为客户网元;所述请求网元包括:网络单元,其具有至少一个用于连接所述管理域网络的其它网元的接口;一个或多个处理器;存储器,其上存储有一个或多个程序,当所述一个或多个程序被所述一个或多个处理器执行,使得所述一个或多个处理器实现上述的确定网元IP地址的方法;一个或多个I/O接口,连接在所述处理器与存储器之间,配置为实现所述处理器与存储器的信息交互。In a fifth aspect, embodiments of the present disclosure provide a requesting network element for use in a management domain network. The management domain network includes multiple network elements, and the multiple network elements include at least one customer network element and only include one service. A network element, where the requesting network element is a customer network element; the requesting network element includes: a network unit having at least one interface for connecting to other network elements of the management area network; one or more processors; and a memory , There are one or more programs stored thereon, and when the one or more programs are executed by the one or more processors, the one or more processors implement the aforementioned method for determining the IP address of a network element; One or more I/O interfaces are connected between the processor and the memory, and are configured to implement information interaction between the processor and the memory.
第六方面,本公开实施例提供一种转发网元,用于管理域网络中,所述管理域网络包括多个网元,所述多个网元包括至少一个客户网元且仅包括一个服务网元,所述转发网元为客户网元;所述转发网元包括:网络单元,其具有至少一个用于连接所述管理域网络的其它网元的接口;一个或多个处理器;存储器,其上存储有一个或多个程序,当所述一个或多个程序被所述一个或多个处理器执行,使得所述一个或多个处理器实现上述的转发信息的方法;一个或多个I/O接口,连接在所述处理器与存储器之间,配置为实现所述处理器与存储器的信息交互。In a sixth aspect, embodiments of the present disclosure provide a forwarding network element for use in a management domain network. The management domain network includes multiple network elements, and the multiple network elements include at least one customer network element and only one service. Network element, the forwarding network element is a customer network element; the forwarding network element includes: a network unit having at least one interface for connecting to other network elements of the management area network; one or more processors; and a memory , There are one or more programs stored thereon, and when the one or more programs are executed by the one or more processors, the one or more processors implement the above-mentioned method for forwarding information; one or more One I/O interface is connected between the processor and the memory, and is configured to implement information interaction between the processor and the memory.
第七方面,本公开实施例提供一种管理域网络,包括:一个上述的服务网元;至少一个客户网元,每个所述客户网元为上述的请求网元或上述转发网元。在一些实施例中,所述服务网元为接入上层网络的接入网元。In a seventh aspect, embodiments of the present disclosure provide a management domain network, including: one service network element described above; at least one customer network element, each of the customer network elements being the aforementioned requesting network element or the aforementioned forwarding network element. In some embodiments, the serving network element is an access network element that accesses the upper network.
附图说明Description of the drawings
附图用来提供对本公开实施例的进一步理解,并且构成说明书的一部分,与本公开实施例一起用于解释本公开,并不构成对本公开的限制。通过参考附图对一些实施例进行描述,以上和其它特征和优点对本领域技术人员将变得更加显而易见,在附图中:The accompanying drawings are used to provide a further understanding of the embodiments of the present disclosure, and constitute a part of the specification, and are used to explain the present disclosure together with the embodiments of the present disclosure, and do not constitute a limitation to the present disclosure. The above and other features and advantages will become more apparent to those skilled in the art by describing some embodiments with reference to the accompanying drawings. In the accompanying drawings:
图1为一些管理域网络的示例性连接拓扑图;Figure 1 is an exemplary connection topology diagram of some management domain networks;
图2为本公开实施例提供的一种分配网元IP地址的方法的流程图;FIG. 2 is a flowchart of a method for allocating the IP address of a network element according to an embodiment of the disclosure;
图3为本公开实施例提供的另一种分配网元IP地址的方法的流程图;FIG. 3 is a flowchart of another method for allocating the IP address of a network element according to an embodiment of the disclosure;
图4为本公开实施例提供的另一种分配网元IP地址的方法的流程图;FIG. 4 is a flowchart of another method for allocating the IP address of a network element according to an embodiment of the present disclosure;
图5为本公开实施例提供的一种确定网元IP地址的方法的流程图;FIG. 5 is a flowchart of a method for determining the IP address of a network element according to an embodiment of the disclosure;
图6为本公开实施例提供的另一种确定网元IP地址的方法的流程图;6 is a flowchart of another method for determining the IP address of a network element provided by an embodiment of the disclosure;
图7为本公开实施例提供的另一种确定网元IP地址的方法的流程图;FIG. 7 is a flowchart of another method for determining the IP address of a network element according to an embodiment of the present disclosure;
图8为本公开实施例提供的一种转发信息的流程图;FIG. 8 is a flowchart of information forwarding provided by an embodiment of the disclosure;
图9为本公开实施例提供的一种服务网元的组成框图;FIG. 9 is a block diagram of the composition of a service network element provided by an embodiment of the disclosure;
图10为本公开实施例提供的一种请求网元的组成框图;FIG. 10 is a block diagram of the composition of a requesting network element provided by an embodiment of the disclosure;
图11为本公开实施例提供的一种转发网元的组成框图;FIG. 11 is a block diagram of the composition of a forwarding network element provided by an embodiment of the disclosure;
图12为本公开实施例提供的一种管理域网络的组成框图。FIG. 12 is a block diagram of the composition of a management domain network provided by an embodiment of the disclosure.
具体实施方式Detailed ways
为使本领域的技术人员更好地理解本公开实施例的技术方案,下面结合附图对本公开实施例提供的分配和确定网元IP地址的方法、网元、管理域网络进行详细描述。In order to enable those skilled in the art to better understand the technical solutions of the embodiments of the present disclosure, the method for allocating and determining the IP address of the network element, the network element, and the management domain network provided by the embodiments of the present disclosure will be described in detail below with reference to the accompanying drawings.
在下文中将参考附图更充分地描述本公开实施例,但是所示的实施例可以以不同形式来体现,且不应当被解释为限于本公开阐述的实施例。反之,提供这些实施例的目的在于使本公开透彻和完整,并将使本领域技术人员充分理解本公开的范围。Hereinafter, the embodiments of the present disclosure will be more fully described with reference to the accompanying drawings, but the illustrated embodiments may be embodied in different forms, and should not be construed as being limited to the embodiments set forth in the present disclosure. On the contrary, the purpose of providing these embodiments is to make the present disclosure thorough and complete, and to enable those skilled in the art to fully understand the scope of the present disclosure.
本公开实施例可借助本公开的理想示意图而参考平面图和/或截面图进行描述。因此,可根据制造技术和/或容限来修改示例图示。The embodiments of the present disclosure may be described with reference to plan views and/or cross-sectional views with the help of ideal schematic diagrams of the present disclosure. Therefore, the example illustrations may be modified according to manufacturing technology and/or tolerances.
在不冲突的情况下,本公开各实施例及实施例中的各特征可相互组合。In the case of no conflict, the embodiments of the present disclosure and the features in the embodiments can be combined with each other.
本公开所使用的术语仅用于描述特定实施例,且不意欲限制本公开。如本公开所使用的术语“和/或”包括一个或多个相关列举条目的任何和所有组合。如本公开所使用的单数形式“一个”和“该”也意欲包括复数形式,除非上下文另外清楚指出。如本公开所使用的术语“包括”、“由……制成”,指定存在所述特征、整体、步骤、操作、元件和/或组件,但不排除存在或添加一个或多个其它特征、整体、步骤、操作、元件、组件和/或其群组。The terms used in the present disclosure are only used to describe specific embodiments, and are not intended to limit the present disclosure. The term "and/or" as used in this disclosure includes any and all combinations of one or more related listed items. The singular forms "a" and "the" as used in this disclosure are also intended to include plural forms, unless the context clearly dictates otherwise. As used in the present disclosure, the terms "including" and "made of" designate the presence of the described features, wholes, steps, operations, elements and/or components, but do not exclude the presence or addition of one or more other features, Whole, steps, operations, elements, components and/or groups thereof.
除非另外限定,否则本公开所用的所有术语(包括技术和科学术语)的含义与本领域普通技术人员通常理解的含义相同。还将理解,诸如那些在常用字典中限定的那些术语应当被解释为具有与其在相关技术以及本公开的背景下的含义一致的含义,且将不解释为具有理想化或过度形式上的含义,除非本公开明确如此限定。Unless otherwise defined, the meanings of all terms (including technical and scientific terms) used in the present disclosure are the same as those commonly understood by those of ordinary skill in the art. It will also be understood that terms such as those defined in commonly used dictionaries should be interpreted as having meanings consistent with their meanings in the context of the related technology and the present disclosure, and will not be interpreted as having idealized or excessive formal meanings, Unless the present disclosure is specifically so limited.
本公开实施例不限于附图中所示的实施例,而是包括基于制造工艺而形成的配置的修改。因此,附图中例示的区具有示意性属性,并且图中所示区的形状例示了元件的区的具体形状,但并不是旨在限制性的。The embodiments of the present disclosure are not limited to the embodiments shown in the drawings, but include modifications of configurations formed based on manufacturing processes. Therefore, the regions illustrated in the drawings have schematic properties, and the shapes of the regions shown in the figures exemplify the specific shapes of the regions of the elements, but are not intended to be limiting.
本公开实施例用于管理域网络,每个管理域网络由多个直接或间接连接的网元组成,即同一个管理域网络中的任意两个网元,可仅通过该管理域网络内部的链路实现相互连接。The embodiments of the present disclosure are used for management domain networks, and each management domain network is composed of multiple directly or indirectly connected network elements, that is, any two network elements in the same management domain network can only pass through the internal network of the management domain network. The links are connected to each other.
其中,“网元(EN)”相当于构成网络的“元素”,其具体是具有相对完整功能的、能接入网络的、相对独立的设备,例如计算机、交换机、路由器等。每个网元具有自己的IP(Internet Protocol,网际互连协议)地址,以作为其在网络中的地址标识。Among them, "Network Element (EN)" is equivalent to the "element" that constitutes the network, which is specifically a relatively independent device with relatively complete functions and capable of accessing the network, such as computers, switches, routers, etc. Each network element has its own IP (Internet Protocol, Internet Protocol) address as its address identifier in the network.
其中,每个管理域网络中的网元是独立管理的,故同一管理域网络中任意两个网元的IP地址不能相同,而不同管理域网络中的网元的IP地址可以相同。Among them, the network elements in each management domain network are independently managed, so the IP addresses of any two network elements in the same management domain network cannot be the same, and the IP addresses of network elements in different management domain networks can be the same.
参照图1,每个管理域网络中网元的连接拓扑可为星型、环型、混合型等形式;且管理域网络中还可有部分网元连接上层网络(如DCN骨干网),以实现不同管理域网络间的连接。Referring to Figure 1, the connection topology of the network elements in each management area network can be in the form of star, ring, hybrid, etc.; and some network elements in the management area network can also be connected to the upper network (such as the DCN backbone network) to Realize the connection between different management domain networks.
本公开实施例的管理域网络包括多个网元,其中有一个且仅有一个选定的网元为服务网元,而其它的网元均为客户网元。The management domain network of the embodiment of the present disclosure includes a plurality of network elements, of which one and only one selected network element is a service network element, and the other network elements are all customer network elements.
根据本公开实施例的服务网元和客户网元的工作方式,当有某个客户网元(此时称为请求网元)需要获取IP地址时,可在不需要人工或上层网络干预的情况下,仅依靠管理域网络自身,即能为该请求网元分配不冲突的IP地址,从而实现管理域网络自身网元IP地址的自动管理。According to the working mode of the service network element and the customer network element of the embodiment of the present disclosure, when a certain customer network element (referred to as the requesting network element at this time) needs to obtain an IP address, it can be used without manual or upper-layer network intervention. Next, only relying on the management domain network itself can assign non-conflicting IP addresses to the requesting network element, thereby realizing the automatic management of the management domain network's own network element IP addresses.
第一方面,本公开实施例提供一种分配网元IP地址的方法,用于服务网元,服务网元用于管理域网络中,管理域网络包括多个网元,多个网元包括至少一个客户网元且仅包括一个服务网元。In the first aspect, the embodiments of the present disclosure provide a method for allocating network element IP addresses, which is used in a service network element, and the service network element is used in a management domain network. The management domain network includes multiple network elements, and the multiple network elements include at least One customer network element and only one service network element.
参照图2,本公开实施例的方法包括:2, the method of the embodiment of the present disclosure includes:
S101、接收源自请求网元的、包括请求网元的标识的请求信息。S101. Receive request information originating from a requesting network element and including an identifier of the requesting network element.
其中,请求网元为客户网元,请求信息用于通过泛洪方式被转发。Among them, the requesting network element is a client network element, and the requesting information is used to be forwarded by flooding.
服务网元接收到请求信息,该请求信息由请求网元(需要获取IP地址的客户网元)产生后广播发出,并通过泛洪方式转发,从而其最终必然能到达服务网元。其中,请求信息至少包括请求网元的标识,即表明请求信息来自哪个客户网元。The serving network element receives the request information, which is generated by the requesting network element (customer network element that needs to obtain an IP address) and then broadcasted, and forwarded by flooding, so that it will eventually reach the serving network element. Wherein, the request information includes at least the identification of the requesting network element, that is, it indicates which customer network element the requested information comes from.
S102、根据预存的地址表确定请求网元的目标IP地址,并确定地址表中存储有请求网元的标识和目标IP地址。S102: Determine the target IP address of the requesting network element according to the pre-stored address table, and determine that the identification of the requesting network element and the target IP address are stored in the address table.
其中,目标IP地址与管理域网络中网元的已有IP地址不冲突。Among them, the target IP address does not conflict with the existing IP address of the network element in the management domain network.
服务网元中预存有地址表,地址表中记录有管理域网络中已有网元(如通过网元的标识表示)与IP地址的对应关系(每组对应关系都是在网元加入管理域网络时自动记录的),即记录有管理域网络当前的IP地址分配状况。The address table is pre-stored in the service network element, and the address table records the correspondence between existing network elements in the management domain network (such as indicated by the identification of the network element) and the IP address (each corresponding relationship is when the network element joins the management domain Automatically recorded during the network), that is, the current IP address allocation status of the management domain network is recorded.
因此,根据该地址表,服务网元即可为请求网元分配一个不冲突(即与管理域网络中任意网元的已有IP地址都不同)的IP地址(目标IP地址),并且可保证该目标IP地址和请求网元的对应关系写在地址表中,从而完成为请求网元分配IP地址的过程。Therefore, according to the address table, the serving network element can assign an IP address (target IP address) that does not conflict (that is, different from the existing IP address of any network element in the management domain network) for the requesting network element, and can guarantee The corresponding relationship between the target IP address and the requesting network element is written in the address table, thereby completing the process of assigning an IP address to the requesting network element.
作为本公开实施例的一种方式,参照图3,请求信息还包括请求网元的临时IP地址;根据预存的地址表确定请求网元的目标IP地址,并确定地址表中存储有请求网元的标识和目标IP地址(步骤S102)包括:As a way of the embodiment of the present disclosure, referring to FIG. 3, the request information also includes the temporary IP address of the requesting network element; the target IP address of the requesting network element is determined according to the pre-stored address table, and it is determined that the requesting network element is stored in the address table The identifier and target IP address (step S102) include:
S1021、根据预存的地址表确定临时IP地址是否与管理域网络中网元的已有IP地址冲突。S1021, according to the pre-stored address table, determine whether the temporary IP address conflicts with the existing IP address of the network element in the management domain network.
S1022、当临时IP地址与管理域网络中网元的已有IP地址不冲突,确定临时IP地址为请求网元的目标IP地址。S1022. When the temporary IP address does not conflict with the existing IP address of the network element in the management domain network, determine that the temporary IP address is the target IP address of the requesting network element.
S1023、当临时IP地址与管理域网络中网元的已有IP地址冲突,确定与管理域网络中网元的已有IP地址不冲突的IP地址为请求网元的目标IP地址,广播发出包括请求网元的标识和目标IP地址的分配信息,并将请求网元的标识和目标IP地址写入地址表。S1023. When the temporary IP address conflicts with the existing IP address of the network element in the management domain network, it is determined that the IP address that does not conflict with the existing IP address of the network element in the management domain network is the target IP address of the requesting network element, and the broadcast includes The identification of the requesting network element and the allocation information of the target IP address, and the identification of the requesting network element and the target IP address are written into the address table.
其中,分配信息用于通过泛洪方式被转发。Among them, the allocation information is used to be forwarded by flooding.
请求信息中还可包括请求网元为自己选择的临时IP地址,从而,服务网元可根据地址表,判断该临时IP地址是否是管理域网络的已有IP地址(即是否冲突):The request information may also include a temporary IP address selected by the requesting network element for itself, so that the serving network element can determine whether the temporary IP address is an existing IP address of the management domain network (that is, whether it conflicts) according to the address table:
若不冲突,则允许请求网元直接使用该临时IP地址为自身的IP地址(可向请求网元反馈确认信息,也可不进行反馈),并确保该临时IP地址与请求网元的对应关系存在于地址表中(若地址表中原本无该对应关系,则需将对应关系写入地址表;若地址表中已经有该对应关系,则不需操作)。If there is no conflict, the requesting network element is allowed to directly use the temporary IP address as its own IP address (the confirmation information can be fed back to the requesting network element or not), and the corresponding relationship between the temporary IP address and the requesting network element can be ensured. In the address table (if the corresponding relationship does not exist in the address table, the corresponding relationship needs to be written into the address table; if the corresponding relationship already exists in the address table, no operation is required).
若冲突,则重新确定一个不冲突的IP地址作为目标IP地址,以并广播发送、泛洪转发的方式使包括该目标IP地址的分配信息最终被传递至请求网元,从而请求网元可用该目标IP地址作为自身IP地址;同时,服务网元还需要将该目标IP地址与请求网元的对应关系写入地址表。If there is a conflict, a non-conflicting IP address is re-determined as the target IP address, and the allocation information including the target IP address is finally transmitted to the requesting network element by means of broadcast transmission and flood forwarding, so that the requesting network element can use the target IP address. The target IP address is used as its own IP address; at the same time, the serving network element also needs to write the correspondence between the target IP address and the requesting network element into the address table.
作为本公开实施例的另一种方式,参照图4,根据预存的地址表确定请求网元的目标IP地址,并确定地址表中存储有请求网元的标识和目标IP地址(步骤S102)包括:As another way of the embodiment of the present disclosure, referring to FIG. 4, determining the target IP address of the requesting network element according to the pre-stored address table, and determining that the identification of the requesting network element and the target IP address are stored in the address table (step S102) includes :
S1024、确定与管理域网络中网元的已有IP地址不冲突的IP地址为请求网元的目标IP地址,广播发出包括请求网元的标识和目标IP地址的分配信息,并将请求网元的标识和目标IP地址写入地址表。S1024. Determine that the IP address that does not conflict with the existing IP address of the network element in the management domain network is the target IP address of the requesting network element, broadcast and send out allocation information including the identification of the requesting network element and the target IP address, and send the requesting network element The identification and target IP address are written into the address table.
其中,分配信息用于通过泛洪方式被转发。Among them, the allocation information is used to be forwarded by flooding.
也就是说,请求信息中也可没有临时IP地址,从而服务网元不进行冲突判断,而是直接根据请求信息得到目标IP地址,并通过分配信息将目标IP地址发送至请求网元,同时将目标IP地址与请求网元的对应关系写入地址表。In other words, there is no temporary IP address in the request information, so the serving network element does not make conflict judgments, but directly obtains the target IP address based on the request information, and sends the target IP address to the requesting network element through the allocation information, and at the same time The correspondence between the target IP address and the requesting network element is written into the address table.
第二方面,本公开实施例提供一种确定网元IP地址的方法,用于请求网元,请求网元用于管理域网络中,管理域网络包括多个网元,多个网元包括至少一个客户网元且仅包括一个服务网元,请求网元为客户网元。In the second aspect, the embodiments of the present disclosure provide a method for determining the IP address of a network element, which is used to request the network element to be used in a management domain network. The management domain network includes multiple network elements, and the multiple network elements include at least If a customer network element includes only one service network element, the request network element is a customer network element.
参照图5,本公开实施例的方法包括:5, the method of the embodiment of the present disclosure includes:
S201、广播发送包括请求网元的标识的请求信息。S201: Broadcast and send request information including the identification of the requested network element.
其中,请求信息用于通过泛洪方式被转发。Among them, the request information is used to be forwarded by flooding.
请求网元是需要获取IP地址的客户网元,其可通过广播发送的方式,发出包括自身标识的请求信息。由于请求信息是广播发送且被泛洪转发的,故其最终必然可到达以上服务网元。The requesting network element is a client network element that needs to obtain an IP address, and it can send request information including its own identification by means of broadcast transmission. Since the request information is sent by broadcast and is flooded and forwarded, it must eventually reach the above service network element.
S202、根据由请求信息引起的结果,确定请求网元的IP地址。S202: Determine the IP address of the requesting network element according to the result caused by the request information.
服务网元接收到请求信息,必然要对其进行处理而产生一定的“结果”,从而请求网元可根据该结果确定自身的IP地址。其中,“请求信息引起的结果”包括服务网元根据该请求信息做出的操作所产生的一切后果。该操作可以是发出以上分配信息,故对请求网元“结果”就是“在预定时间内收到分配信息”,该操作也可以是在不冲突时不进行反馈,故对请求网元“结果”就是“在预定时间内未收到分配信息”。When the serving network element receives the request information, it must process it and produce a certain "result", so that the requesting network element can determine its own IP address based on the result. Among them, the "results caused by the requested information" includes all the consequences of the operations performed by the service network element according to the requested information. This operation can be to send the above allocation information, so the "result" for the requesting network element is "the allocation information is received within a predetermined time". This operation can also be to not feedback when there is no conflict, so the "result" for the requesting network element That is, "the distribution information has not been received within the predetermined time."
作为本公开实施例的一种方式,参照图6,在广播发送包括请求网元的标识的请求信息(步骤S201)前,还包括:As a way of the embodiment of the present disclosure, referring to FIG. 6, before broadcasting the request information including the identification of the requesting network element (step S201), the method further includes:
S200、确定请求网元的临时IP地址,并将临时IP地址加入请求信息。S200: Determine the temporary IP address of the requesting network element, and add the temporary IP address to the request information.
而以上根据由请求信息引起的结果,确定请求网元的IP地址(步骤S202)包括:According to the result caused by the request information, determining the IP address of the requesting network element (step S202) includes:
S2021、当在预设时间内接收到源自服务网元的、包括请求网元的标识和目标IP地址的分配信息,确定目标IP地址为请求网元的IP地址。S2021: When receiving the allocation information from the serving network element and including the identification of the requesting network element and the target IP address within a preset time, determine that the target IP address is the IP address of the requesting network element.
S2022、当在预设时间内未接收到分配信息,确定临时IP地址为请求网元的IP地址。S2022, when the allocation information is not received within the preset time, determine that the temporary IP address is the IP address of the requesting network element.
在需要获取IP地址时,请求网元可先自行确定一个IP地址(临时IP地址),并将该临时IP地址加入请求信息中一起发送出去(即请求信息还包括临时IP地址)。When an IP address needs to be obtained, the requesting network element can first determine an IP address (temporary IP address) by itself, and add the temporary IP address to the request information and send it out (that is, the request information also includes the temporary IP address).
从而,服务网元可根据确定该临时IP地址是否与管理域网络的现有IP地址冲突进行不同操作:Therefore, the serving network element can perform different operations based on determining whether the temporary IP address conflicts with the existing IP address of the management domain network:
若有冲突时,服务网元可重新确定不冲突的目标IP地址并发出分配信息,请求网元可接到分配信息,并以其中的目标IP地址作为自身的IP地址。If there is a conflict, the serving network element can re-determine the non-conflicting target IP address and send out allocation information, and the requesting network element can receive the allocation information and use the target IP address as its own IP address.
若无冲突时,从降低网络流量的角度考虑,服务网元可不发送分配信息,故请求网元在一定时间内不会接到分配信息,并可据此判断临时IP地址是无冲突的,故可直接用该临时IP地址作为自身的IP地址。If there is no conflict, from the perspective of reducing network traffic, the serving network element may not send the allocation information, so the requesting network element will not receive the allocation information within a certain period of time, and it can be judged that the temporary IP address is conflict-free. You can directly use the temporary IP address as your own IP address.
作为本公开实施例的另一种方式,参照图7,根据由请求信息引起的结果,确定请求网元的IP地址(步骤S202)包括:As another way of the embodiment of the present disclosure, referring to FIG. 7, according to the result caused by the request information, determining the IP address of the requesting network element (step S202) includes:
S2023、接收源自服务网元的、包括请求网元的标识和目标IP地址的分配信息,确定目标IP地址为请求网元的IP地址。S2023: Receive allocation information from the serving network element that includes the identification of the requesting network element and the target IP address, and determine that the target IP address is the IP address of the requesting network element.
也就是说,请求网元也可不产生临时IP地址,从而可直接根据服务网元反馈的目标IP地址作为自身IP地址。That is to say, the requesting network element may not generate a temporary IP address, so that the target IP address fed back by the serving network element can be directly used as its own IP address.
第三方面,本公开实施例提供一种转发信息的方法,用于转发网元,转发网元用于管理域网络中,管理域网络包括多个网元,多个网元包括至少一个客户网元且仅包括一个服务网元,转发网元为客户网元。In a third aspect, the embodiments of the present disclosure provide a method for forwarding information, which is used for forwarding network elements. The forwarding network elements are used in a management domain network. The management domain network includes multiple network elements, and the multiple network elements include at least one customer network. It includes only one service network element, and the forwarding network element is the customer network element.
参照图8,本公开实施例的方法包括:Referring to FIG. 8, the method of the embodiment of the present disclosure includes:
S301、当接收到源自请求网元的、包括请求网元的标识的请求信息,泛洪转发请求信息。S301: When receiving the request information from the requesting network element and including the identification of the requesting network element, flood and forward the request information.
S302、当接收到源自服务网元的、包括请求网元的标识和目标IP地址的分配信息,泛洪转发分配信息。S302: When receiving the allocation information from the serving network element and including the identification of the requesting network element and the target IP address, flood forward the allocation information.
在一些实施例中,请求信息还包括请求网元的临时IP地址。In some embodiments, the request information further includes the temporary IP address of the requesting network element.
管理域网络中的其它客户网元(即不需要获取IP地址的客户网元)为转发网元,它们应当具有泛洪转发以上请求信息和分配信息的能力。Other customer network elements in the management domain network (that is, customer network elements that do not need to obtain an IP address) are forwarding network elements, and they should have the ability to flood and forward the above request information and distribution information.
第四方面,参照图9,本公开实施例提供一种服务网元,用于管理域网络中,管理域网络包括多个网元,多个网元包括至少一个客户网元且仅包括一个服务网元;服务网元包括:In a fourth aspect, referring to FIG. 9, an embodiment of the present disclosure provides a service network element for use in a management domain network. The management domain network includes multiple network elements, and the multiple network elements include at least one customer network element and only include one service. Network elements; service network elements include:
网络单元,其具有至少一个用于连接管理域网络的其它网元的接口;A network element, which has at least one interface for connecting to other network elements of the management domain network;
一个或多个处理器;One or more processors;
存储器,其上存储有一个或多个程序,当一个或多个程序被一个或多个处理器执行,使得一个或多个处理器实现上述的分配网元IP地址的方法;A memory, which stores one or more programs, when one or more programs are executed by one or more processors, so that the one or more processors implement the aforementioned method for allocating network element IP addresses;
一个或多个I/O接口,连接在处理器与存储器之间,配置为实现处理器与存储器的信息交互。One or more I/O interfaces are connected between the processor and the memory, and are configured to implement information interaction between the processor and the memory.
本公开实施例还提供一种网元产品,其是能实现以上功能的服务网元。The embodiment of the present disclosure also provides a network element product, which is a service network element capable of realizing the above functions.
本公开实施例中,处理器为具有数据处理能力的器件,其包括但不限于中央处理器(CPU)等;存储器为具有数据存储能力的器件,其包括但不限于随机存取存储器(RAM,更具体如SDRAM、DDR等)、只读存储器(ROM)、带电可擦可编程只读存储器(EEPROM)、闪存(FLASH);I/O接口(读写接口)连接在处理器与存储器间,能实现存储器与处理器的信息交互,其包括但不限于数据总线(Bus)等。In the embodiments of the present disclosure, the processor is a device with data processing capabilities, including but not limited to a central processing unit (CPU), etc.; the memory is a device with data storage capabilities, including but not limited to random access memory (RAM, More specifically, such as SDRAM, DDR, etc.), read-only memory (ROM), electrically erasable programmable read-only memory (EEPROM), flash memory (FLASH); I/O interface (read and write interface) is connected between the processor and the memory, It can realize the information interaction between the memory and the processor, which includes but is not limited to the data bus (Bus) and so on.
第五方面,参照图10,本公开实施例提供一种请求网元,用于管理域网络中,管理域网络包括多个网元,多个网元包括至少一个客户网元且仅包括一个服务网元,请求网元为客户网元;请求网元包括:In a fifth aspect, referring to FIG. 10, an embodiment of the present disclosure provides a requesting network element for use in a management domain network. The management domain network includes multiple network elements. The multiple network elements include at least one customer network element and only include one service. Network element, the requesting network element is a customer network element; the requesting network element includes:
网络单元,其具有至少一个用于连接管理域网络的其它网元的接口;A network element, which has at least one interface for connecting to other network elements of the management domain network;
一个或多个处理器;One or more processors;
存储器,其上存储有一个或多个程序,当一个或多个程序被一个或多个处理器执行,使得一个或多个处理器实现上述的确定网元IP地址的方法;A memory with one or more programs stored thereon, and when the one or more programs are executed by one or more processors, the one or more processors implement the aforementioned method for determining the IP address of a network element;
一个或多个I/O接口,连接在处理器与存储器之间,配置为实现处理器与存储器的信息交互。One or more I/O interfaces are connected between the processor and the memory, and are configured to implement information interaction between the processor and the memory.
本公开实施例还提供一种网元产品,其是能实现以上功能的请求网元。The embodiment of the present disclosure also provides a network element product, which is a requesting network element capable of realizing the above functions.
本公开实施例中,处理器为具有数据处理能力的器件,其包括但不限于中央处理器(CPU)等;存储器为具有数据存储能力的器件,其包括但不限于随机存取存储器(RAM,更具体如SDRAM、DDR等)、只读存储器(ROM)、带电可擦可编程只读存储器(EEPROM)、闪存(FLASH);I/O接口(读写接口)连接在处理器与存储器间,能实现存储器与处理器 的信息交互,其包括但不限于数据总线(Bus)等。In the embodiments of the present disclosure, the processor is a device with data processing capabilities, including but not limited to a central processing unit (CPU), etc.; the memory is a device with data storage capabilities, including but not limited to random access memory (RAM, More specifically, such as SDRAM, DDR, etc.), read-only memory (ROM), charged erasable programmable read-only memory (EEPROM), flash memory (FLASH); I/O interface (read and write interface) is connected between the processor and the memory, It can realize the information interaction between the memory and the processor, which includes but is not limited to the data bus (Bus), etc.
第六方面,参照图11,本公开实施例提供一种转发网元,用于管理域网络中,管理域网络包括多个网元,多个网元包括至少一个客户网元且仅包括一个服务网元,转发网元为客户网元;转发网元包括:In the sixth aspect, referring to FIG. 11, an embodiment of the present disclosure provides a forwarding network element for use in a management domain network. The management domain network includes multiple network elements. The multiple network elements include at least one customer network element and only include one service. Network elements, forwarding network elements are customer network elements; forwarding network elements include:
网络单元,其具有至少一个用于连接管理域网络的其它网元的接口;A network element, which has at least one interface for connecting to other network elements of the management domain network;
一个或多个处理器;One or more processors;
存储器,其上存储有一个或多个程序,当一个或多个程序被一个或多个处理器执行,使得一个或多个处理器实现上述的转发信息的方法;A memory with one or more programs stored thereon, and when the one or more programs are executed by one or more processors, the one or more processors implement the foregoing information forwarding method;
一个或多个I/O接口,连接在处理器与存储器之间,配置为实现处理器与存储器的信息交互。One or more I/O interfaces are connected between the processor and the memory, and are configured to implement information interaction between the processor and the memory.
本公开实施例还提供一种网元产品,其是能实现以上功能的转发网元。The embodiment of the present disclosure also provides a network element product, which is a forwarding network element capable of realizing the above functions.
本公开实施例中,处理器为具有数据处理能力的器件,其包括但不限于中央处理器(CPU)等;存储器为具有数据存储能力的器件,其包括但不限于随机存取存储器(RAM,更具体如SDRAM、DDR等)、只读存储器(ROM)、带电可擦可编程只读存储器(EEPROM)、闪存(FLASH);I/O接口(读写接口)连接在处理器与存储器间,能实现存储器与处理器的信息交互,其包括但不限于数据总线(Bus)等。In the embodiments of the present disclosure, the processor is a device with data processing capabilities, including but not limited to a central processing unit (CPU), etc.; the memory is a device with data storage capabilities, including but not limited to random access memory (RAM, More specifically, such as SDRAM, DDR, etc.), read-only memory (ROM), electrically erasable programmable read-only memory (EEPROM), flash memory (FLASH); I/O interface (read and write interface) is connected between the processor and the memory, It can realize the information interaction between the memory and the processor, which includes but is not limited to the data bus (Bus), etc.
第六方面,参照图12,本公开实施例提供一种管理域网络,包括:In the sixth aspect, referring to FIG. 12, an embodiment of the present disclosure provides a management domain network, including:
一个上述的服务网元;One of the aforementioned service network elements;
至少一个客户网元,客户网元为上述的请求网元或上述的转发网元。At least one customer network element, and the customer network element is the aforementioned requesting network element or the aforementioned forwarding network element.
本公开实施例的管理域网络包括多个网元,其中有且仅有一个选定的网元为以上服务网元,其它网元均为客户网元,且每个客户网元均为请求网元或为转发网元。The management domain network of the embodiment of the present disclosure includes multiple network elements, of which one and only one selected network element is the above service network element, the other network elements are customer network elements, and each customer network element is a request network element. Yuan or forwarding network element.
应当理解,请求网元和转发网元是依据它们进行的操作区分的,而不代表请求网元和转发网元必然是两个不同的客户网元。例如,同一个客户网元,在不需要获取IP地址时即为转发网元,而在需要获取IP地址时即为请求网元,其实质上可同时具有转发网元和请求网元的功能。It should be understood that the requesting network element and the forwarding network element are distinguished based on the operations they perform, and it does not mean that the requesting network element and the forwarding network element must be two different customer network elements. For example, the same customer network element is a forwarding network element when it does not need to obtain an IP address, and it is a requesting network element when it needs to obtain an IP address, and it can essentially have the functions of forwarding and requesting network elements at the same time.
在一些实施例中,服务网元为接入上层网络的接入网元。In some embodiments, the serving network element is an access network element that accesses the upper network.
其中,若管理域网络还需要接入上层网络(如DCN骨干网),则可用与上层网络连接的接入网元为以上服务网元,以便上层网络获知管理域网络的IP地址分配状况,实现管理域网络中所有网元与上层网络的信息交互。Among them, if the management domain network also needs to access the upper network (such as the DCN backbone network), the access network element connected to the upper network can be used as the above service network element, so that the upper network can know the IP address allocation status of the management domain network. Information interaction between all network elements in the management domain network and the upper network.
在一些实施例中,本公开实施例的管理域网络的工作过程具体可包括:In some embodiments, the working process of the management area network of the embodiments of the present disclosure may specifically include:
S601、请求网元确定临时IP地址。S601. Request the network element to determine the temporary IP address.
当某客户网元需要获取IP地址时其即为请求网元,该请求网元可确定一个临时性的IP地址(临时IP地址)。When a certain customer network element needs to obtain an IP address, it is a requesting network element, and the requesting network element can determine a temporary IP address (temporary IP address).
具体的,请求网元可以是新接入管理域网络的客户网元,故其需要获取IP地址;此时, 临时IP地址可随机产生,也可根据请求网元自身的设备类型等产生。Specifically, the requesting network element may be a customer network element newly accessing the management domain network, so it needs to obtain an IP address; at this time, the temporary IP address may be randomly generated, or may be generated according to the device type of the requesting network element itself.
或者,管理域网络中原有的客户网元重新启动时,或者接收到用户的命令时,也可重新获取IP地址,从而为请求网元;此时,临时IP地址可为之前的IP地址,也可随机产生,或根据设备类型产生。Or, when the original customer network element in the management domain network is restarted, or when a user's command is received, the IP address can be re-obtained to request the network element; at this time, the temporary IP address can be the previous IP address, or It can be generated randomly or according to the type of equipment.
S602、请求网元以广播方式发出请求信息,请求信息包括请求网元的标识和临时IP地址,且请求信息用于通过泛洪方式被转发。S602. The requesting network element sends the request information in a broadcast manner, the requesting information includes the identifier of the requesting network element and the temporary IP address, and the requesting information is used to be forwarded in a flooding manner.
请求网元将以上临时IP地址和自身的标识加入请求信息中,并以广播的方式发出请求信息,即从自身所有与其它网元连接的端口都发出该请求信息。The requesting network element adds the above temporary IP address and its own identification to the request information, and sends the request information in a broadcast manner, that is, the request information is sent from all ports connected to other network elements.
其中,请求网元的标识可为任何能唯一的表明请求网元的身份的内容,例如为请求网元的硬件的序列号、用户为请求网元配置的编号等。The identification of the requesting network element may be any content that can uniquely indicate the identity of the requesting network element, for example, the serial number of the hardware of the requesting network element, the number configured by the user for the requesting network element, and so on.
其中,请求信息可为任何具体形式,只要其能表明自身是请求信息,且含有以上请求网元的标识和临时IP地址即可。Wherein, the request information can be in any specific form, as long as it can indicate that it is request information and contains the identifier and temporary IP address of the requested network element.
例如,请求信息可为请求报文(如discover报文),其报文格式可为:For example, the request information can be a request message (such as a discover message), and the message format can be:
【0001+请求网元的标识+临时IP地址】;[0001 + ID of the requested network element + temporary IP address];
其中“0001”为报文类型位的值,其表明报文是请求报文。Among them, "0001" is the value of the message type bit, which indicates that the message is a request message.
其中,请求报文的目的mac地址(dmac地址)可为:01:80:c2:0e:00:00;本公开实施例中规定目的为以上mac地址的报文,实际目的不是该mac地址,而表示该报文是需要泛洪转发的报文。Wherein, the destination mac address (dmac address) of the request message can be: 01:80:c2:0e:00:00; in the embodiment of the present disclosure, the message whose destination is the above mac address is specified, but the actual destination is not the mac address. It means that the message is a message that needs to be flooded and forwarded.
S603、转发网元收到请求信息,对其进行泛洪转发。S603. The forwarding network element receives the request information, and floods and forwards it.
任意其它的客户网元收到请求信息时为转发网元,从而可将该请求信息从除来源端口外的其它所有端口转发出去,实现泛洪转发。When any other client network element receives the request information, it is a forwarding network element, so that the request information can be forwarded from all ports except the source port to realize flooding and forwarding.
应当理解,此时实现转发功能的客户网元可以是以上请求网元之外的其它客户网元;或者,如果同时存在多个请求网元,则某个请求网元也可能转发由其它请求网元发出的请求信息,则此时该请求网元同时也是转发网元。It should be understood that the customer network element that implements the forwarding function at this time may be other customer network elements other than the above requesting network element; or, if there are multiple requesting network elements at the same time, a certain requesting network element may also be forwarded by other requesting network elements. For the request information sent by the element, the requesting network element is also the forwarding network element at this time.
S604、服务网元接收到请求信息,根据本地存储的地址表判断其中的临时IP地址是否与已有网元的IP地址冲突。S604. The serving network element receives the request information, and judges whether the temporary IP address therein conflicts with the IP address of the existing network element according to the locally stored address table.
服务网元接收到请求信息,根据报文类型位的值等确定其是请求信息,从而将其上报给CPU(中央处理器)进行解析,获取其中的请求网元的标识和临时IP地址,以判断临时IP地址在地址表中是否存在(即是否冲突)。The service network element receives the request information, determines that it is the request information according to the value of the message type bit, etc., and reports it to the CPU (central processing unit) for analysis, and obtains the identity and temporary IP address of the requesting network element in it. Determine whether the temporary IP address exists in the address table (that is, whether it conflicts).
当然,具体实现冲突判断的过程是多样的。Of course, the specific process of realizing conflict judgment is diverse.
例如,可先在地址表中检索请求网元的标识是否存在,若存在,则继续检查地址表中请求网元对应的IP地址与临时IP地址是否相同,而相同则表示无冲突。For example, you can first search for the identity of the requesting network element in the address table, and if so, continue to check whether the IP address corresponding to the requesting network element in the address table is the same as the temporary IP address, and the same means that there is no conflict.
如地址表中不存在请求网元的标识,或者地址表中存在请求网元的标识但对应的IP地址不同于临时IP地址,则继续在地址表中检索临时IP地址,若检索到则表示存在冲突, 若未检索到则表示不冲突。If the ID of the requesting network element does not exist in the address table, or the ID of the requesting network element exists in the address table but the corresponding IP address is different from the temporary IP address, continue to search for the temporary IP address in the address table. If it is found, it means it exists Conflict, if not retrieved, it means no conflict.
S605、当临时IP地址不冲突时,服务网元可不进行后续操作。S605. When the temporary IP address does not conflict, the serving network element may not perform subsequent operations.
从而,请求网元不会接到分配信息,即可采用不冲突的临时IP地址作为自身的IP地址,IP地址的分配过程完成。Therefore, the requesting network element does not receive the allocation information, and can use the non-conflicting temporary IP address as its own IP address, and the IP address allocation process is completed.
当然,如果本步骤换成服务网元发出“确认信息”等信息,也是可行的。Of course, if this step is replaced by the service network element sending out "confirmation information" and other information, it is also feasible.
S606、当临时IP地址与已有网元的IP地址冲突时,服务网元确定与已有网元的IP地址不冲突的IP地址为目标IP地址,并将目标IP地址与请求网元的标识写入地址表。S606. When the temporary IP address conflicts with the IP address of the existing network element, the serving network element determines that the IP address that does not conflict with the IP address of the existing network element is the target IP address, and compares the target IP address with the identification of the requesting network element Write to the address table.
当服务网元发现临时IP地址与已有网元的IP地址冲突时,则需要重新确定(如按顺序确定,或随机确定)一个不冲突的IP地址,并将该IP地址作为待分配给请求网元的目标IP地址。之后,服务网元将请求网元的标识和目标IP地址写入地址表中,以在地址表中保存请求网元和目标IP地址的对应关系。When the serving network element finds that the temporary IP address conflicts with the IP address of the existing network element, it needs to re-determine (such as sequentially or randomly) a non-conflicting IP address, and use the IP address as to be assigned to the request The target IP address of the network element. After that, the serving network element writes the identification of the requesting network element and the target IP address into the address table, so as to save the correspondence between the requesting network element and the target IP address in the address table.
其中,当请求网元的标识原本在地址表中已经存在时,以上写入相当于对其对应的IP地址进行“更新”,而当请求网元的标识原本在地址表中不存在时,以上写入相当于在地址表中“新增”对应关系。Among them, when the identity of the requesting network element originally already exists in the address table, the above writing is equivalent to "update" the corresponding IP address, and when the identity of the requesting network element does not originally exist in the address table, the above Writing is equivalent to "adding" the corresponding relationship in the address table.
S607、服务网元以广播方式发出分配信息,分配信息包括请求网元的标识和目标IP地址,且分配信息用于通过泛洪方式被转发。S607. The serving network element sends out distribution information in a broadcast manner, the distribution information includes the identification of the requesting network element and the target IP address, and the distribution information is used to be forwarded in a flooding manner.
服务网元将以上目标IP地址和请求网元的标识加入分配信息,并以广播方式发出,即从自身所有与其它网元连接的端口都发出分配信息。The serving network element adds the above target IP address and the identification of the requesting network element to the distribution information, and sends it out in a broadcast manner, that is, it sends out the distribution information from all its ports connected to other network elements.
其中,分配信息可为任何具体形式,只要其能表明自身是分配信息,且含有以上请求网元的标识和目标IP地址即可。Wherein, the allocation information can be in any specific form, as long as it can indicate that it is allocation information and contains the identifier of the requested network element and the target IP address.
例如,分配信息可为分配报文(如offer报文),其报文格式可为:For example, the allocation information can be an allocation message (such as an offer message), and its message format can be:
【0002+请求网元的标识+目标IP地址】;[0002 + ID of the requested network element + target IP address];
其中“0002”为报文类型位的值,其表明本报文是分配报文。Among them, "0002" is the value of the message type bit, which indicates that this message is an assigned message.
其中,请求报文的目的mac地址(dmac地址)可为:01:80:c2:00:0f:00;本公开实施例中规定目的为以上mac地址的报文,实际目的不是该mac地址,而表示该报文是需要泛洪转发的报文。Wherein, the destination mac address (dmac address) of the request message can be: 01:80:c2:00:0f:00; in the embodiment of the present disclosure, the message whose purpose is the above mac address is specified, but the actual purpose is not the mac address. It means that the message is a message that needs to be flooded and forwarded.
S608、转发网元接收到分配信息,对其进行泛洪转发。S608: The forwarding network element receives the distribution information, and floods and forwards it.
转发网元(除请求网元外的其它所有客户网元)收到分配信息时,可将其上报CPU,根据自身状态和分配信息中的标识,确定该分配信息不是由自身发出的请求信息导致的,从而可将该分配信息从除来源端口外的其它所有端口转发出去,实现泛洪转发。When the forwarding network element (all customer network elements except the requesting network element) receives the allocation information, it can report it to the CPU, and according to its own status and the identification in the allocation information, it can be determined that the allocation information is not caused by the request information sent by itself Therefore, the distribution information can be forwarded from all ports except the source port to achieve flood forwarding.
S609、请求网元接收到分配信息,以其中的目标IP地址作为自身的IP地址。S609. The requesting network element receives the allocation information, and uses the target IP address therein as its own IP address.
请求网元接收到分配信息时,可将其上报CPU,根据其中的标识确定该分配信息是由自身发出的请求信息导致的,故其中应含有服务网元分配给自身的IP地址,从而用其中的目标IP地址作为自身的IP地址。When the requesting network element receives the allocation information, it can report it to the CPU. According to the identifier, it can be determined that the allocation information is caused by the request information sent by itself. Therefore, it should contain the IP address assigned by the serving network element to itself, so that it can be used. The target IP address is used as its own IP address.
当然,当请求网元根据分配信息中的标识判断出该分配信息不是由自身发出的请求信息导致的时,则其相当于转发网元,应将该分配信息泛洪转发。Of course, when the requesting network element determines that the distribution information is not caused by the request information sent by itself according to the identifier in the distribution information, it is equivalent to a forwarding network element, and the distribution information should be flooded and forwarded.
当然,如前,若请求网元一直未接收到分配信息,则可直接确定用临时IP地址作为自身的IP地址。Of course, as before, if the requesting network element has not received the allocation information, it can directly determine to use the temporary IP address as its own IP address.
S610、在一些示例中,请求网元以广播方式发出请求信息,请求信息包括请求网元的标识和自身的IP地址,且请求信息用于通过泛洪方式被转发。S610. In some examples, the requesting network element sends the request information in a broadcast manner, the request information includes the identification of the requesting network element and its own IP address, and the request information is used to be forwarded by flooding.
当请求网元更新了自身的IP地址后,可将该新的IP地址加入请求信息并发送出去,从而服务网元收到该请求信息后,应当判断出其不会产生冲突,确认IP地址分配过程完成。After the requesting network element has updated its own IP address, it can add the new IP address to the request message and send it out, so that after receiving the request message, the serving network element should determine that it will not conflict and confirm the IP address assignment The process is complete.
当然,本步骤只是为了更好的确保IP地址分配过程的正确性,故其不是必须的。Of course, this step is only to better ensure the correctness of the IP address allocation process, so it is not necessary.
当然,应当理解,以上描述的只是本公开实施例中各网元应有的工作方式,而并不表示步骤S601至步骤S610必然以特定顺序进行。例如,若请求网元直接与服务网元连接,则二者间的信息传递实际不经转发网元即可实现。Of course, it should be understood that what has been described above is only the working mode of each network element in the embodiment of the present disclosure, and does not mean that steps S601 to S610 must be performed in a specific order. For example, if the requesting network element is directly connected to the serving network element, the information transfer between the two can be realized without actually forwarding the network element.
当然,应当理解,本公开实施例中,为避免形成信息的无限循环转发,可进一步设置相应的转发规则,对部分信息不再继续转发:Of course, it should be understood that in the embodiments of the present disclosure, in order to avoid the formation of infinite loop forwarding of information, corresponding forwarding rules can be further set to stop forwarding some information:
例如,对任意网元,可设定其对同一信息(即内容完全相同的信息)仅转发一次。For example, for any network element, it can be set to forward the same information (that is, information with exactly the same content) only once.
例如,当服务网元接到请求信息,或请求网元接到对应自身的分配信息(根据其中的标识确定)时,则表明信息已经到达了最终目的,故它们除按以上方式对进行处理外,应不再继续转发信息。For example, when the serving network element receives the requested information, or the requesting network element receives the distribution information corresponding to its own (determined according to the identification therein), it indicates that the information has reached the final destination. Therefore, in addition to processing in the above manner , The message should no longer be forwarded
例如,当服务网元接收到分配信息时,必然是自身发出的分配信息又被转发回来了,故可通过交换芯片等方式丢弃信息,不再继续转发。For example, when the service network element receives the distribution information, it must be the distribution information sent back by itself. Therefore, the information can be discarded by switching chips and other methods, and the forwarding will not be continued.
例如,当请求网元接收到自身发出(根据其中的标识确定)的请求信息时,必然是自身发出的请求信息又被转发回来了,故可通过交换芯片等方式丢弃信息,不再继续转发。For example, when the requesting network element receives the request information sent by itself (determined according to the identifier therein), the request information sent by itself must be forwarded back again, so the information can be discarded by means of switching chips, and no longer forwarded.
可见,根据本公开实施例,可在不使用上层网络进行管理(即不需要三层网络),也不需要人为干预的情况下,通过管理域网络内部网元间的信息传递(即私有二层信息的传递),自动的实现管理域网络中网元IP地址的管理,避免因IP地址冲突导致网元脱管等。It can be seen that according to the embodiments of the present disclosure, it is possible to transfer information between network elements within the management domain network (ie, private layer 2) without using the upper layer network for management (that is, without the need for a three-layer network) and without human intervention. Information transmission), automatically realize the management of the network element IP address in the management domain network, and avoid the network element being out of control due to IP address conflicts.
本领域普通技术人员可以理解,上文中所公开的全部或某些步骤、系统、装置中的功能模块/单元可以被实施为软件、固件、硬件及其适当的组合。A person of ordinary skill in the art can understand that all or some of the steps, functional modules/units in the system, and devices disclosed above can be implemented as software, firmware, hardware, and appropriate combinations thereof.
在硬件实施方式中,在以上描述中提及的功能模块/单元之间的划分不一定对应于物理组件的划分;例如,一个物理组件可以具有多个功能,或者一个功能或步骤可以由若干物理组件合作执行。In the hardware implementation, the division between functional modules/units mentioned in the above description does not necessarily correspond to the division of physical components; for example, a physical component may have multiple functions, or a function or step may consist of several physical components. The components are executed cooperatively.
某些物理组件或所有物理组件可以被实施为由处理器,如中央处理器(CPU)、数字信号处理器或微处理器执行的软件,或者被实施为硬件,或者被实施为集成电路,如专用集成电路。这样的软件可以分布在计算机可读介质上,计算机可读介质可以包括计算机存储介质(或非暂时性介质)和通信介质(或暂时性介质)。如本领域普通技术人员公知的, 术语计算机存储介质包括在用于存储信息(诸如计算机可读指令、数据结构、程序模块或其它数据)的任何方法或技术中实施的易失性和非易失性、可移除和不可移除介质。计算机存储介质包括但不限于随机存取存储器(RAM,更具体如SDRAM、DDR等)、只读存储器(ROM)、带电可擦可编程只读存储器(EEPROM)、闪存(FLASH)或其它磁盘存储器;只读光盘(CD-ROM)、数字多功能盘(DVD)或其它光盘存储器;磁盒、磁带、磁盘存储或其它磁存储器;可以用于存储期望的信息并且可以被计算机访问的任何其它的介质。此外,本领域普通技术人员公知的是,通信介质通常包含计算机可读指令、数据结构、程序模块或者诸如载波或其它传输机制之类的调制数据信号中的其它数据,并且可包括任何信息递送介质。Some physical components or all physical components can be implemented as software executed by a processor, such as a central processing unit (CPU), digital signal processor, or microprocessor, or implemented as hardware, or implemented as an integrated circuit, such as Application specific integrated circuit. Such software may be distributed on a computer-readable medium, and the computer-readable medium may include a computer storage medium (or non-transitory medium) and a communication medium (or transitory medium). As is well known by those of ordinary skill in the art, the term computer storage medium includes volatile and non-volatile data implemented in any method or technology for storing information (such as computer-readable instructions, data structures, program modules, or other data). Sexual, removable and non-removable media. Computer storage media include, but are not limited to, random access memory (RAM, more specifically SDRAM, DDR, etc.), read-only memory (ROM), charged erasable programmable read-only memory (EEPROM), flash memory (FLASH) or other disk storage ; CD-ROM, digital versatile disk (DVD) or other optical disk storage; magnetic cassette, tape, magnetic disk storage or other magnetic storage; any other that can be used to store desired information and can be accessed by a computer medium. In addition, it is well known to those of ordinary skill in the art that a communication medium usually contains computer-readable instructions, data structures, program modules, or other data in a modulated data signal such as a carrier wave or other transmission mechanism, and may include any information delivery medium. .
本公开已经公开了一些实施例,并且虽然采用了具体术语,但它们仅用于并仅应当被解释为一般说明性含义,并且不用于限制的目的。在一些实例中,对本领域技术人员显而易见的是,除非另外明确指出,否则可单独使用与特定实施例相结合描述的特征、特性和/或元素,或可与其它实施例相结合描述的特征、特性和/或元件组合使用。因此,本领域技术人员将理解,在不脱离由所附的权利要求阐明的本公开的范围的情况下,可进行各种形式和细节上的改变。The present disclosure has disclosed some embodiments, and although specific terms are adopted, they are only used and should only be interpreted as general descriptive meanings, and are not used for the purpose of limitation. In some instances, it is obvious to those skilled in the art that, unless expressly indicated otherwise, the features, characteristics, and/or elements described in combination with a specific embodiment may be used alone, or features, characteristics, and/or elements described in combination with other embodiments may be used. Combination of features and/or components. Therefore, those skilled in the art will understand that various changes in form and details can be made without departing from the scope of the present disclosure as set forth by the appended claims.

Claims (13)

  1. 一种分配网元IP地址的方法,用于服务网元,所述服务网元用于管理域网络中,所述管理域网络包括多个网元,所述多个网元包括至少一个客户网元且仅包括一个服务网元;其中,所述方法包括:A method for allocating the IP address of a network element, used for a service network element, the service network element is used in a management domain network, the management domain network includes a plurality of network elements, and the plurality of network elements includes at least one customer network It includes only one service network element; wherein, the method includes:
    接收源自请求网元的、包括所述请求网元的标识的请求信息;其中,所述请求网元为客户网元,所述请求信息用于通过泛洪方式被转发;Receiving request information originating from a requesting network element and including an identifier of the requesting network element; wherein the requesting network element is a client network element, and the request information is used to be forwarded by flooding;
    根据预存的地址表确定所述请求网元的目标IP地址,并确定所述地址表中存储有所述请求网元的标识和目标IP地址;其中,所述目标IP地址与所述管理域网络中网元的已有IP地址不冲突。Determine the target IP address of the requesting network element according to the pre-stored address table, and determine that the identification of the requesting network element and the target IP address are stored in the address table; wherein, the target IP address and the management domain network The existing IP addresses of the middle network elements do not conflict.
  2. 根据权利要求1所述的方法,其中,所述请求信息还包括所述请求网元的临时IP地址;所述根据预存的地址表确定所述请求网元的目标IP地址,并确定所述地址表中存储有所述请求网元的标识和目标IP地址包括:The method according to claim 1, wherein the request information further includes a temporary IP address of the requesting network element; the determining the target IP address of the requesting network element according to a pre-stored address table, and determining the address The identifier and target IP address of the requesting network element stored in the table include:
    根据预存的地址表确定所述临时IP地址是否与所述管理域网络中网元的已有IP地址冲突;Determining, according to a pre-stored address table, whether the temporary IP address conflicts with the existing IP address of the network element in the management domain network;
    当所述临时IP地址与所述管理域网络中网元的已有IP地址不冲突,确定所述临时IP地址为所述请求网元的目标IP地址;When the temporary IP address does not conflict with the existing IP address of the network element in the management domain network, determining that the temporary IP address is the target IP address of the requesting network element;
    当所述临时IP地址与所述管理域网络中网元的已有IP地址冲突,确定与所述管理域网络中网元的已有IP地址不冲突的IP地址为所述请求网元的目标IP地址,广播发出包括所述请求网元的标识和目标IP地址的分配信息,并将所述请求网元的标识和目标IP地址写入地址表;其中,所述分配信息用于通过泛洪方式被转发。When the temporary IP address conflicts with the existing IP address of the network element in the management domain network, it is determined that an IP address that does not conflict with the existing IP address of the network element in the management domain network is the target of the requesting network element IP address, broadcast the allocation information including the identification of the requesting network element and the target IP address, and write the identification and target IP address of the requesting network element into the address table; wherein, the allocation information is used for flooding The way is forwarded.
  3. 根据权利要求1所述的方法,其中,所述根据预存的地址表确定所述请求网元的目标IP地址,并确定所述地址表中存储有所述请求网元的标识和目标IP地址包括:The method according to claim 1, wherein the determining the target IP address of the requesting network element according to a pre-stored address table, and determining that the identification of the requesting network element and the target IP address are stored in the address table comprises :
    确定与所述管理域网络中网元的已有IP地址不冲突的IP地址为所述请求网元的目标IP地址,广播发出包括所述请求网元的标识和目标IP地址的分配信息,并将所述请求网元的标识和目标IP地址写入地址表;其中,所述分配信息用于通过泛洪方式被转发。Determine that the IP address that does not conflict with the existing IP address of the network element in the management domain network is the target IP address of the requesting network element, broadcast and send out allocation information including the identification of the requesting network element and the target IP address, and The identification and target IP address of the requesting network element are written into an address table; wherein, the allocation information is used to be forwarded in a flooding manner.
  4. 一种确定网元IP地址的方法,用于请求网元,所述请求网元用于管理域网络中,所述管理域网络包括多个网元,所述多个网元包括至少一个客户网元且仅包括一个服务网元,所述请求网元为客户网元;其中,所述方法包括:A method for determining the IP address of a network element, used for requesting a network element, the requesting network element is used in a management domain network, the management domain network includes a plurality of network elements, and the plurality of network elements includes at least one customer network And only includes one serving network element, and the requesting network element is a customer network element; wherein, the method includes:
    广播发送包括所述请求网元的标识的请求信息;其中,所述请求信息用于通过泛洪方式被转发;Broadcast sending request information including the identification of the requesting network element; wherein, the request information is used to be forwarded by flooding;
    根据由所述请求信息引起的结果,确定所述请求网元的IP地址。According to the result caused by the request information, the IP address of the requesting network element is determined.
  5. 根据权利要求4所述的方法,其中,在所述广播发送包括所述请求网元的标识的请求信息前,还包括:确定所述请求网元的临时IP地址,并将所述临时IP地址加入所述请求信息;The method according to claim 4, wherein, before the broadcast transmission of the request information including the identification of the requesting network element, the method further comprises: determining a temporary IP address of the requesting network element, and setting the temporary IP address Add the requested information;
    所述根据由所述请求信息引起的结果,确定所述请求网元的IP地址包括:The determining the IP address of the requesting network element according to the result caused by the request information includes:
    当在预设时间内接收到源自所述服务网元的、包括所述请求网元的标识和目标IP地址的分配信息,确定所述目标IP地址为所述请求网元的IP地址;When receiving the allocation information from the serving network element and including the identification of the requesting network element and the target IP address within a preset time, determining that the target IP address is the IP address of the requesting network element;
    当在预设时间内未接收到所述分配信息,确定所述临时IP地址为所述请求网元的IP地址。When the allocation information is not received within the preset time, it is determined that the temporary IP address is the IP address of the requesting network element.
  6. 根据权利要求4所述的方法,其中,所述根据由所述请求信息引起的结果,确定所述请求网元的IP地址包括:The method according to claim 4, wherein the determining the IP address of the requesting network element according to the result caused by the request information comprises:
    接收源自服务网元的、包括所述请求网元的标识和目标IP地址的分配信息,确定所述目标IP地址为所述请求网元的IP地址。Receiving allocation information from a serving network element that includes the identification of the requesting network element and a target IP address, and determining that the target IP address is the IP address of the requesting network element.
  7. 一种转发信息的方法,用于转发网元,所述转发网元用于管理域网络中,所述管理域网络包括多个网元,所述多个网元包括至少一个客户网元且仅包括一个服务网元,所述转发网元为客户网元;其中,所述方法包括:A method for forwarding information is used for forwarding network elements. The forwarding network elements are used in a management domain network. The management domain network includes multiple network elements. The multiple network elements include at least one customer network element and only It includes a service network element, and the forwarding network element is a customer network element; wherein, the method includes:
    当接收到源自请求网元的、包括所述请求网元的标识的请求信息,泛洪转发所述请求信息;When receiving request information originating from a requesting network element and including an identifier of the requesting network element, flood and forward the request information;
    当接收到源自服务网元的、包括请求网元的标识和目标IP地址的分配信息,泛洪转发所述分配信息。When receiving the allocation information from the serving network element and including the identification of the requesting network element and the target IP address, the allocation information is flooded and forwarded.
  8. 根据权利要求7所述的方法,其中,The method according to claim 7, wherein:
    所述请求信息还包括所述请求网元的临时IP地址。The request information also includes the temporary IP address of the requesting network element.
  9. 一种服务网元,用于管理域网络中,所述管理域网络包括多个网元,所述多个网元包括至少一个客户网元且仅包括一个服务网元;其中,所述服务网元包括:A service network element is used in a management domain network, the management domain network includes multiple network elements, and the multiple network elements include at least one customer network element and only one service network element; wherein, the service network Yuan includes:
    网络单元,其具有至少一个用于连接所述管理域网络的其它网元的接口;A network unit having at least one interface for connecting to other network elements of the management domain network;
    一个或多个处理器;One or more processors;
    存储器,其上存储有一个或多个程序,当所述一个或多个程序被所述一个或多个处理器执行,使得所述一个或多个处理器实现根据权利要求1至3中任意一项所述的分配网元IP地址的方法;A memory having one or more programs stored thereon, and when the one or more programs are executed by the one or more processors, the one or more processors can implement any one of claims 1 to 3 The method of allocating the IP address of the network element as described in the item;
    一个或多个I/O接口,连接在所述处理器与存储器之间,配置为实现所述处理器与存储器的信息交互。One or more I/O interfaces are connected between the processor and the memory, and are configured to implement information interaction between the processor and the memory.
  10. 一种请求网元,用于管理域网络中,所述管理域网络包括多个网元,所述多个网元包括至少一个客户网元且仅包括一个服务网元,所述请求网元为客户网元;其中,所述请求网元包括:A requesting network element used in a management domain network, the management domain network including multiple network elements, the multiple network elements including at least one customer network element and only one service network element, and the requesting network element is Customer network element; wherein, the requesting network element includes:
    网络单元,其具有至少一个用于连接所述管理域网络的其它网元的接口;A network unit having at least one interface for connecting to other network elements of the management domain network;
    一个或多个处理器;One or more processors;
    存储器,其上存储有一个或多个程序,当所述一个或多个程序被所述一个或多个处理器执行,使得所述一个或多个处理器实现根据权利要求4至6中任意一项所述的确定网元 IP地址的方法;A memory having one or more programs stored thereon, and when the one or more programs are executed by the one or more processors, the one or more processors can implement any one of claims 4 to 6 The method for determining the IP address of the network element described in the item;
    一个或多个I/O接口,连接在所述处理器与存储器之间,配置为实现所述处理器与存储器的信息交互。One or more I/O interfaces are connected between the processor and the memory, and are configured to implement information interaction between the processor and the memory.
  11. 一种转发网元,用于管理域网络中,所述管理域网络包括多个网元,所述多个网元包括至少一个客户网元且仅包括一个服务网元,所述转发网元为客户网元;其中,所述转发网元包括:A forwarding network element used in a management domain network. The management domain network includes multiple network elements. The multiple network elements include at least one customer network element and only one service network element. The forwarding network element is Customer network element; wherein, the forwarding network element includes:
    网络单元,其具有至少一个用于连接所述管理域网络的其它网元的接口;A network unit having at least one interface for connecting to other network elements of the management domain network;
    一个或多个处理器;One or more processors;
    存储器,其上存储有一个或多个程序,当所述一个或多个程序被所述一个或多个处理器执行,使得所述一个或多个处理器实现根据权利要求7或8所述的转发信息的方法;A memory having one or more programs stored thereon, and when the one or more programs are executed by the one or more processors, the one or more processors realize the method according to claim 7 or 8. The method of forwarding information;
    一个或多个I/O接口,连接在所述处理器与存储器之间,配置为实现所述处理器与存储器的信息交互。One or more I/O interfaces are connected between the processor and the memory, and are configured to implement information interaction between the processor and the memory.
  12. 一种管理域网络,包括:A management domain network, including:
    一个根据权利要求9所述的服务网元;A service network element according to claim 9;
    至少一个客户网元,每个所述客户网元为根据权利要求10所述的请求网元或根据权利要求11所述的转发网元。At least one customer network element, and each customer network element is the requesting network element according to claim 10 or the forwarding network element according to claim 11.
  13. 根据权利要求12所述的管理域网络,其中,The management area network according to claim 12, wherein:
    所述服务网元为接入上层网络的接入网元。The serving network element is an access network element that accesses the upper network.
PCT/CN2020/137125 2019-12-23 2020-12-17 Method for allocating and determining ip address of network element, network element, and management domain network WO2021129502A1 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201911342540.7A CN113098702A (en) 2019-12-23 2019-12-23 Method for allocating and determining network element IP address, network element and management domain network
CN201911342540.7 2019-12-23

Publications (1)

Publication Number Publication Date
WO2021129502A1 true WO2021129502A1 (en) 2021-07-01

Family

ID=76573650

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2020/137125 WO2021129502A1 (en) 2019-12-23 2020-12-17 Method for allocating and determining ip address of network element, network element, and management domain network

Country Status (2)

Country Link
CN (1) CN113098702A (en)
WO (1) WO2021129502A1 (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114500467A (en) * 2021-12-23 2022-05-13 云洲(盐城)创新科技有限公司 Address conflict detection method, address conflict detection device and electronic equipment

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101808145A (en) * 2010-04-20 2010-08-18 中兴通讯股份有限公司 IP address distributing method and system
CN103188354A (en) * 2013-03-29 2013-07-03 北京东土科技股份有限公司 Method and device for detecting node address conflict
US20170041223A1 (en) * 2015-08-05 2017-02-09 Alaxala Networks Corporation Transfer device and transfer system
CN108574590A (en) * 2017-03-10 2018-09-25 中兴通讯股份有限公司 A kind of opening network element method and apparatus and computer readable storage medium

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101808145A (en) * 2010-04-20 2010-08-18 中兴通讯股份有限公司 IP address distributing method and system
CN103188354A (en) * 2013-03-29 2013-07-03 北京东土科技股份有限公司 Method and device for detecting node address conflict
US20170041223A1 (en) * 2015-08-05 2017-02-09 Alaxala Networks Corporation Transfer device and transfer system
CN108574590A (en) * 2017-03-10 2018-09-25 中兴通讯股份有限公司 A kind of opening network element method and apparatus and computer readable storage medium

Also Published As

Publication number Publication date
CN113098702A (en) 2021-07-09

Similar Documents

Publication Publication Date Title
CN110012437B (en) Method, device and system for sending multicast message
CN111010673B (en) Communication method and device
WO2019157955A1 (en) Device access method, related platform and computer storage medium
US9847967B2 (en) DHCP proxy in a subscriber environment
WO2019214560A1 (en) Dhcp packet processing method and device
US8125993B2 (en) Network element having a DHCP lease timer
US8549120B2 (en) System and method for location based address assignment in the distribution of traffic in a virtual gateway
WO2017032300A1 (en) Data transmission method, virtual network management apparatus, and data transmission system
JP6849795B2 (en) Communication method and equipment
WO2019137551A1 (en) Session management method and device
WO2019047769A1 (en) Method, device and system for processing network slice instance
WO2019029310A1 (en) Network management method and system
WO2018219148A1 (en) Method, device and system for managing transmission network slices
US20150229523A1 (en) Virtual extensible local area network (vxlan) system of automatically configuring multicasting tunnel for segment of virtual extensible local area network according to life cycle of end system and operating method thereof
WO2012109849A1 (en) Method and apparatus for mac address allocation
WO2021072970A1 (en) Method for restricting user terminal to access upf
WO2021129329A1 (en) Arp learning method and node device
WO2017080440A1 (en) Routing table updating method, evpn control device, and evpn system
WO2021129502A1 (en) Method for allocating and determining ip address of network element, network element, and management domain network
WO2017185322A1 (en) Storage network element discovery method and device
WO2018161795A1 (en) Routing priority configuration method, device, and controller
WO2019080754A1 (en) Method, device, and system for transmitting fixed network packet
US20060193330A1 (en) Communication apparatus, router apparatus, communication method and computer program product
US20080301273A1 (en) Centrally assigning branch specific network addresses
US11265221B2 (en) Network resource allocation method and apparatus

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

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

Country of ref document: EP

Kind code of ref document: A1

32PN Ep: public notification in the ep bulletin as address of the adressee cannot be established

Free format text: NOTING OF LOSS OF RIGHTS PURSUANT TO RULE 112(1) EPC (EPO FORM 1205A DATED 01/03/2023)

122 Ep: pct application non-entry in european phase

Ref document number: 20907283

Country of ref document: EP

Kind code of ref document: A1