WO2022042133A1 - 一种通信方法及相关装置 - Google Patents

一种通信方法及相关装置 Download PDF

Info

Publication number
WO2022042133A1
WO2022042133A1 PCT/CN2021/107008 CN2021107008W WO2022042133A1 WO 2022042133 A1 WO2022042133 A1 WO 2022042133A1 CN 2021107008 W CN2021107008 W CN 2021107008W WO 2022042133 A1 WO2022042133 A1 WO 2022042133A1
Authority
WO
WIPO (PCT)
Prior art keywords
network
layer topology
network slice
topology information
link layer
Prior art date
Application number
PCT/CN2021/107008
Other languages
English (en)
French (fr)
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 华为技术有限公司
Priority to EP21859973.6A priority Critical patent/EP4195595A4/en
Priority to JP2023513327A priority patent/JP2023538688A/ja
Priority to KR1020237007818A priority patent/KR20230048528A/ko
Priority to CA3192013A priority patent/CA3192013A1/en
Publication of WO2022042133A1 publication Critical patent/WO2022042133A1/zh
Priority to US18/175,402 priority patent/US20230208722A1/en

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L45/00Routing or path finding of packets in data switching networks
    • H04L45/02Topology update or discovery
    • H04L45/04Interdomain routing, e.g. hierarchical routing
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W24/00Supervisory, monitoring or testing arrangements
    • H04W24/02Arrangements for optimising operational condition
    • 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/12Discovery or management of network topologies
    • H04L41/122Discovery or management of network topologies of virtualised topologies, e.g. software-defined networks [SDN] or network function virtualisation [NFV]
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L45/00Routing or path finding of packets in data switching networks
    • H04L45/02Topology update or discovery
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L45/00Routing or path finding of packets in data switching networks
    • H04L45/12Shortest path evaluation
    • H04L45/121Shortest path evaluation by minimising delays
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L45/00Routing or path finding of packets in data switching networks
    • H04L45/12Shortest path evaluation
    • H04L45/122Shortest path evaluation by minimising distances, e.g. by selecting a route with minimum of number of hops
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L45/00Routing or path finding of packets in data switching networks
    • H04L45/12Shortest path evaluation
    • H04L45/123Evaluation of link metrics
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L47/00Traffic control in data switching networks
    • H04L47/70Admission control; Resource allocation
    • H04L47/72Admission control; Resource allocation using reservation actions during connection setup
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L47/00Traffic control in data switching networks
    • H04L47/70Admission control; Resource allocation
    • H04L47/78Architectures of resource allocation
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L47/00Traffic control in data switching networks
    • H04L47/70Admission control; Resource allocation
    • H04L47/82Miscellaneous aspects
    • H04L47/825Involving tunnels, e.g. MPLS
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L47/00Traffic control in data switching networks
    • H04L47/70Admission control; Resource allocation
    • H04L47/82Miscellaneous aspects
    • H04L47/829Topology based
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W40/00Communication routing or communication path finding
    • H04W40/24Connectivity information management, e.g. connectivity discovery or connectivity update
    • H04W40/246Connectivity information discovery
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W92/00Interfaces specially adapted for wireless communication networks
    • H04W92/16Interfaces between hierarchically similar devices
    • H04W92/24Interfaces between hierarchically similar devices between backbone network devices

Definitions

  • the present application relates to the field of communication technologies, and in particular, to a communication method and related apparatus.
  • Network slicing is to divide the operator's physical network into multiple virtual networks. Each virtual network can be divided according to different service requirements (for example, according to the actual situation of delay requirements, bandwidth requirements, security requirements, etc. Division) to flexibly respond to different network application scenarios, and has a broad application space in industry applications.
  • the physical interface needs to be divided into logical interfaces corresponding to multiple network slices.
  • each logical interface needs to be configured with the corresponding Interior Gateway Protocol (IGP) to form the network layer topology information of each network slice.
  • IGP Interior Gateway Protocol
  • each network slice in the network needs to be configured with an IGP to form network layer topology information
  • the number of routes used to advertise network layer topology information on network devices is large, resulting in high resource overhead of network devices.
  • the present application provides a communication method and a related device.
  • the first network device determines that the topology of the second network slice is included in the topology of the first network slice according to the acquired link layer topology information
  • the first network device can The link layer topology information of the second network slice and the network layer topology information of the first network slice are determined, and the network layer topology information of the second network slice is determined, that is, the network layer topology information of one network slice is multiplexed on multiple network slices, Reduce the number of routes that network devices advertise network layer topology information and reduce resource overhead.
  • a first aspect of the present application provides a communication method, including: a first network device acquiring first link layer topology information corresponding to a first network slice; and the first network device acquiring a second link layer corresponding to a second network slice topology information, for example, the first network device can obtain the first link layer topology information and the second link layer topology information by receiving Netconf messages sent by other network devices; road layer topology information and the second link layer topology information, determine that the link layer topology of the second network slice is included in the link layer topology of the first network slice, that is, the link layer of the first network slice
  • the layer topology includes all link layer topologies of the second network slice; the first network device receives the network layer topology information of the first network slice sent by the second network device; the first network device The second link layer topology information and the network layer topology information of the first network slice determine the network layer topology information of the second network slice.
  • the first network device when the first network device determines that the topology of the second network slice is included in the topology of the first network slice according to the acquired link layer topology information, the first network device may The road layer topology information and the network layer topology information of the first network slice are determined, and the network layer topology information of the second network slice is determined, that is, the network layer topology information of one network slice can be reused on multiple network slices, and the network device advertisement network can be reduced.
  • the number of routes for layer topology information reduces resource overhead.
  • the method further includes: the first network device calculates the tunnel path on the second network slice according to the network layer topology information of the second network slice, that is, the network layer topology of the second network slice The information may be used by the first network device to calculate the tunnel path on the second network slice.
  • the first network device determines, according to the first link layer topology information and the second link layer topology information, that the link layer topology of the second network slice is included in the The link layer topology of the first network slice includes: when the M interfaces of the second link layer topology and the M interfaces of the first link layer topology are respectively located on M physical interfaces, the A network device may determine that the link layer topology of the second network slice is included in the link layer topology of the first network slice, wherein the number of all interfaces of the second link layer topology is M, so The number of all interfaces in the first link layer topology is N, M is less than or equal to N, and both M and N are positive integers.
  • each of the M interfaces of the second link layer topology is located on the same physical interface as one of the M interfaces of the first link layer topology, that is, for the aforementioned There are M physical interfaces, and each physical interface includes an interface of the second link layer topology and an interface of the first link layer topology.
  • the first network device determines the network layer topology information of the second network slice according to the second link layer topology information and the network layer topology information of the first network slice, including : when the first network device determines, according to the second link layer topology information, that the link layer topology of the second network slice is a partial topology in the link layer topology of the first network slice, the The first network device determines a first link layer topology, where the first link layer topology is the same topology as the link layer topology of the second network slice in the link layer topology of the first network slice; The first network device determines the network layer topology information of the second network slice according to the first link layer topology and the network layer topology information of the first network slice, and the network layer topology information of the second network slice is The topology information is the part corresponding to the first link layer topology in the network layer topology information of the first network slice.
  • the first network device may connect to the second link layer of the second network slice.
  • the network layer topology information of the first network slice is directly multiplexed, thereby obtaining the network layer topology information of the second network slice.
  • the first network device may first determine the link layer of the first network slice The part of the layer topology is the same as the link layer topology of the second network slice, and then the network layer topology information to be multiplexed on the second network slice is determined based on this part of the topology, so as to obtain the network layer topology information of the second network slice.
  • the flexibility of solution implementation can be improved.
  • the method further includes: acquiring, by the first network device, third link layer topology information corresponding to a third network slice; and the first network device obtaining, by the first network device, the third link layer topology information and the second link layer topology information.
  • Layer topology information determining that the link layer topology of the second network slice is included in the link layer topology of the third network slice; the first network device receives the third network slice sent by the second network device based on the network layer topology information of the third network slice and the network layer topology information of the first network slice, the first network device determines to use the network layer topology information of the first network slice to determine the network layer topology information of the second network slice.
  • the first network device determines that the link layer topology of the second network slice is included in both the link layer topology of the first network slice and the link layer topology of the third network slice, the first network slice The network device may select the network layer topology information of one of the network slices from the network layer topology information of the first network slice and the network layer topology information of the third network slice. Then, the first network device may determine to obtain the network layer topology information of the second network slice according to the second link layer topology information of the second network slice and the network layer topology information of the selected network slice.
  • the network layer topology information of the first network slice received by the first network device may include topology information determined based on the shortest path algorithm and one or more topology information determined based on FlexAlgo.
  • the first network device Before determining the network layer topology of the second network slice, one of the network layer topology information of the received network layer topology information of the first network slice may be selected, for example, selecting the topology information determined by the shortest path algorithm or based on a flexible algorithm Topological information determined by FlexAlgo. Then, the first network device determines the network layer topology information of the second network slice according to a piece of network layer topology information on the selected first network slice.
  • the network layer topology information of the second network slice includes interior gateway protocol IGP topology information
  • the IGP topology information includes an IP address, a link cost COST value, a delay, and a traffic engineering metric value (Traffic One or more of Engineering metric, TE metric), affinity attribute, and Shared Risk Link Group (SRLG).
  • IP addresses are also included in the network layer topology information. By multiplexing the IP addresses of one network slice on other multiple network slices, the allocation of IP addresses can be reduced and IP address resources can be saved.
  • the first link layer topology information further includes one or more of an identifier of the first network slice and bandwidth information of the first network slice; the second link layer The topology information also includes one or more of an identification of the second network slice and bandwidth information of the second network slice.
  • the method further includes: acquiring, by the first network device, a path calculation requirement of the second network slice; the first network device according to the second link layer topology information and the Perform path calculation on the network layer topology information of the second network slice to obtain a path calculation result; the first network device sends the path calculation result to the second network device, and the path calculation result is used to indicate the second network device.
  • Network devices create tunnels that carry services.
  • the path calculation results include the path calculation results of the resource reservation protocol RSVP tunnel, the path calculation result of the segment routing traffic engineering SR TE tunnel, and the segment routing SRv6 tunnel based on Internet Protocol Version 6. One or more of the path results.
  • a second aspect of the present application provides a network device, including: an obtaining unit, a processing unit, and a receiving unit; the obtaining unit is configured to obtain first link layer topology information corresponding to a first network slice; the obtaining unit is further for acquiring second link layer topology information corresponding to the second network slice; the processing unit is configured to determine the second link layer topology information according to the first link layer topology information and the second link layer topology information The link layer topology of the network slice is included in the link layer topology of the first network slice; the receiving unit is configured to receive the network layer topology information of the first network slice sent by the second network device; the The processing unit is further configured to determine the network layer topology information of the second network slice according to the second link layer topology information and the network layer topology information of the first network slice.
  • the processing unit is further configured to calculate the tunnel path on the second network slice according to the network layer topology information of the second network slice.
  • the processing unit is further configured to determine, when the M interfaces of the second link layer topology and the M interfaces of the first link layer topology are respectively located on M physical interfaces
  • the link layer topology of the second network slice is included in the link layer topology of the first network slice, wherein the number of all interfaces of the second link layer topology is M, and the first link layer topology
  • the number of all interfaces in the topology is N, M is less than or equal to N, and both M and N are positive integers.
  • the processing unit is further configured to determine, according to the second link layer topology information, that the link layer topology of the second network slice is the link layer topology of the first network slice When part of the topology in ; According to the first link layer topology and the network layer topology information of the first network slice, determine the network layer topology information of the second network slice, and the network layer topology information of the second network slice is the The part corresponding to the first link layer topology in the network layer topology information of the first network slice.
  • the obtaining unit is further configured to obtain the third link layer topology information corresponding to the third network slice; the processing unit is further configured to obtain the third link layer topology information according to the third link layer topology information and the second link layer topology information, to determine that the link layer topology of the second network slice is included in the link layer topology of the third network slice; the receiving unit is further configured to receive the data sent by the second network device The network layer topology information of the third network slice; the processing unit is further configured to determine to use the network layer topology information of the third network slice and network layer topology information of the first network slice based on the network layer topology information of the third network slice. The network layer topology information of the first network slice is used to determine the network layer topology information of the second network slice.
  • the network layer topology information of the first network slice includes topology information determined based on a shortest path algorithm or topology information determined based on FlexAlgo.
  • the network layer topology information of the second network slice includes interior gateway protocol IGP topology information
  • the IGP topology information includes IP address, link cost COST value, delay, TE metric, and affinity attribute and one or more of the SRLGs.
  • the first link layer topology information further includes one or more of an identifier of the first network slice and bandwidth information of the first network slice; the second link layer The topology information also includes one or more of an identification of the second network slice and bandwidth information of the second network slice.
  • a sending unit is further included; the obtaining unit is further configured to obtain the path calculation requirement of the second network slice; the processing unit is further configured to obtain the second link layer topology information according to the Perform path calculation with the network layer topology information of the second network slice to obtain a path calculation result; the sending unit is further configured to send the path calculation result to the second network device, where the path calculation result is used for The second network device is instructed to create a tunnel for carrying services.
  • the path calculation result includes one or more of the path calculation result of the RSVP tunnel, the path calculation result of the SR TE tunnel, and the path calculation result of the SRv6 tunnel.
  • a third aspect of the present application provides a network device, the network device includes: a processor and a memory; the memory is used for storing instructions; the processor is used for executing the instructions in the memory, so that the network device performs any one of the foregoing first aspects. method.
  • a fourth aspect of the present application provides a computer storage medium, the computer storage medium may be non-volatile; computer-readable instructions are stored in the computer storage medium, and when the computer-readable instructions are executed by a processor, the first aspect is implemented any of the methods.
  • a fifth aspect of the present application provides a computer program product comprising instructions which, when run on a computer, cause the computer to perform the method of any one of the first aspects.
  • the embodiments of the present application have the following advantages:
  • the present application provides a communication method and a related device.
  • the first network device determines that the topology of the second network slice is included in the topology of the first network slice according to the acquired link layer topology information
  • the first network device can The link layer topology information of the second network slice and the network layer topology information of the first network slice are determined, and the network layer topology information of the second network slice is determined, that is, the network layer topology information of one network slice is multiplexed on multiple network slices, Reduce the number of routes that network devices advertise network layer topology information and reduce resource overhead.
  • FIG. 1 is a schematic diagram of an application architecture of a communication method provided by an embodiment of the present application
  • FIG. 2 is a schematic flowchart of a communication method 200 provided by an embodiment of the present application.
  • FIG. 3 is a schematic diagram of an application architecture of another communication method provided by an embodiment of the present application.
  • FIG. 4 is a schematic diagram of an application architecture of another communication method provided by an embodiment of the present application.
  • FIG. 5 is a schematic diagram of an application architecture of another communication method provided by an embodiment of the present application.
  • FIG. 6 is a schematic structural diagram of a network device 600 according to an embodiment of the present application.
  • the naming or numbering of the steps in this application does not mean that the steps in the method flow must be executed in the time/logical sequence indicated by the naming or numbering, and the named or numbered process steps can be implemented according to the The technical purpose is to change the execution order, as long as the same or similar technical effects can be achieved.
  • the division of units in this application is a logical division. In practical applications, there may be other division methods. For example, multiple units may be combined or integrated into another system, or some features may be ignored. , or not implemented, in addition, the shown or discussed mutual coupling or direct coupling or communication connection may be through some interfaces, and the indirect coupling or communication connection between units may be electrical or other similar forms. There are no restrictions in the application.
  • units or sub-units described as separate components may or may not be physically separated, may or may not be physical units, or may be distributed into multiple circuit units, and some or all of them may be selected according to actual needs. unit to achieve the purpose of the scheme of this application.
  • enhanced mobile broadband enhanced mobile broadband
  • eMBB enhanced mobile broadband
  • massive machine type communication mMTC
  • uRLLC ultra-reliable and low latency communications
  • Network slicing refers to the logical network customized according to different business requirements on the physical or virtual network infrastructure.
  • Network slicing can be a complete end-to-end network including an access network, a transmission network, a core network, and an application server, which can provide complete communication services and have certain network capabilities.
  • Network slicing can also be any combination of access network, transport network, core network and application server.
  • Network slicing can usually be used in 5G networks.
  • 5G networks can realize multiple uses of one network through network slicing, and meet the requirements of Service-Level Agreement (SLA) for different services.
  • SLA Service-Level Agreement
  • a network slice usually provides a class of networks with the same service requirement guarantees.
  • Such a network structure allows operators to provide the network as a service to users, and can freely combine physical networks according to indicators such as rate, capacity, coverage, delay, reliability, security, and availability to meet the needs of different users. Require.
  • the physical interface needs to be divided into logical interfaces corresponding to multiple network slices.
  • each logical interface needs to be configured with a corresponding IGP to form network layer topology information of each network slice.
  • the network device Since each network slice in the network needs to configure the IGP separately to form network layer topology information, the network device needs to advertise the network layer topology information on each network slice. Since the IGP message is published as a multicast protocol, if the network layer topology information on each network slice needs to be advertised, the number of routes used to advertise the network layer topology information will be large, resulting in a large resource overhead of the network device. .
  • an embodiment of the present application provides a communication method, in which the first network device determines that the link layer topology of the second network slice is included in the link layer topology of the first network slice according to the obtained link layer topology information.
  • the network device may determine the network layer topology information of the second network slice according to the link layer topology information of the second network slice and the network layer topology information of the first network slice, that is, the network layer topology information of one network slice can be stored in multiple Multiplexing on each network slice reduces the number of routes that network devices advertise network layer topology information and reduces resource overhead.
  • FIG. 1 is a schematic diagram of an application architecture of a communication method provided by an embodiment of the present application.
  • the application architecture includes: a network device 1 , a network device 2 and a network device 3 .
  • the network device 1 is connected to the network device 2 and the network device 3 respectively, and the network device 2 is connected to the network device 3 .
  • Network slice 0 and network slice 1 are deployed on network device 2 and network device 3 , and the topology of network slice 1 is included in the topology of network slice 0 .
  • the network device 1 may receive the link layer topology information of the network slice 0 and the network slice 1 sent by the network device 2, and determine that the topology of the network slice 1 is included in the topology of the network slice 0 according to the link layer topology information. In this way, when network device 1 obtains the network layer topology information of network slice 0, network device 1 can determine the network layer topology information of network slice 1 according to the link layer topology information of network slice 1 and the network layer topology information of network slice 0 .
  • the network device 1 can be a controller with a centralized management function in a subnet, which can manage the network device 2 and the network device 3.
  • it can be a network slice subnet management function (Network Slice Subnet Management Function, NSSMF).
  • NSSMF Network Slice Subnet Management Function
  • the network device 2 and the network device 3 may be physical devices (ie, forwarders) that can implement traffic forwarding, such as switches, routers, or gateways, or may be virtual devices that support traffic forwarding.
  • FIG. 2 is a schematic flowchart of a communication method 200 provided by an embodiment of the present application.
  • the communication method 200 provided by the embodiment of the present application includes the following steps:
  • Step 201 The first network device acquires first link layer topology information corresponding to the first network slice.
  • the first network device may acquire the first link layer topology information corresponding to the first network slice by receiving a message sent by the second network device.
  • the Netconf protocol may be enabled on the second network device, and after acquiring the first link layer topology information corresponding to the first network slice, the second network device may send the first network device through a Netconf message. The first link layer topology information corresponding to the network slice.
  • the first network slice may include one or more network devices
  • the second network device may be one of the network devices in the first network slice.
  • the second network device may obtain the first link layer topology information corresponding to the first network slice by enabling a link layer discovery protocol (Link Layer Discovery Protocol, LLDP).
  • LLDP provides a standard link layer discovery method, which can encapsulate information such as the main capabilities, management addresses, device IDs, and interface IDs of the local device into LLDP packets for delivery to neighboring devices.
  • the neighbor device can save the information for the Network Management System (NMS) to query and judge the communication status of the link.
  • NMS Network Management System
  • the link layer topology information in the network can be obtained, such as which interfaces are attached to the devices in the network and the specific information of the interconnection between the devices.
  • the first link layer topology information obtained by the second network device through LLDP may include information such as N interface identifiers corresponding to the first network slice, the identifier of the first network slice, and the bandwidth of the first network slice.
  • the N interface identifiers may be identifiers of interfaces through which one or more network devices in the first network slice communicate with their neighbor devices, and N may be an integer greater than or equal to 1.
  • the first network device may be a controller with a centralized management function in a subnet, and can manage the second network device.
  • the second network device may be a physical device (ie, a forwarder) that can implement traffic forwarding, such as a switch, a router, or a gateway, or a virtual device that supports traffic forwarding.
  • Step 202 The first network device acquires second link layer topology information corresponding to the second network slice.
  • the first network device may acquire the second link layer topology information corresponding to the second network slice by receiving a message sent by the second network device, for example, a Netconf message sent by the second network device. It can be understood that, the first network device may also acquire the second link layer topology information corresponding to the second network slice by receiving messages sent by other network devices.
  • the second network slice may also include one or more network devices, and the second network device may be one of the network devices in the second network slice.
  • the manner in which the second network device acquires the second link layer topology information corresponding to the second network slice is similar to the manner in which it acquires the first link layer topology information. For details, reference may be made to step 201, which will not be repeated here.
  • the second link layer topology information may include M interface identifiers corresponding to the second network slice, an identifier of the second network slice, and information such as bandwidth of the second network slice.
  • the M interface identifiers may be identifiers of interfaces through which the network device in the second network slice communicates with its neighbor devices, and M may be an integer greater than or equal to 1.
  • Step 203 The first network device determines, according to the first link layer topology information and the second link layer topology information, that the link layer topology of the second network slice is included in the first network slice. in the link layer topology.
  • that the link layer topology of the second network slice is included in the link layer topology of the first network slice may mean that the link layer topology of the first network slice includes the link layer topology of the second network slice topology, for example, the link layer topology of the first network slice is the same as the link layer topology of the second network slice (that is, the link layer topology of the first network slice just includes the link layer topology of the second network slice), or the The link layer topology of the second network slice is a part of the link layer topology of the first network slice (that is, the link layer topology of the first network slice includes not only the link layer topology of the second network slice, but also other topology).
  • FIG. 3 is a schematic diagram of an application architecture of another communication method provided by an embodiment of the present application. As shown in Figure 3:
  • Network slice 0 includes network device 2 , network device 3 and network device 4 .
  • Network slice 1 includes network device 2 , network device 3 and network device 4 .
  • Network slice 2 includes network device 2 and network device 3 .
  • the topology corresponding to network slice 0 is "network device 2--network device 3--network device 4"
  • the topology corresponding to network slice 1 is "network device 2--network device 3--network device 4"
  • the topology corresponding to network slice 2 is "network device 2--network device 3".
  • the topology of network slice 1 is the same as that of network slice 0, and the topology of network slice 1 may be considered to be included in the topology of network slice 0.
  • the topology of network slice 0 also includes the topology of "network device 3 - network device 4".
  • the topology of network slice 2 can also be considered to be included in the topology of network slice 0.
  • the fact that the link layer topology of the second network slice is included in the link layer topology of the first network slice means that the link layer topology of the first network slice includes all the topologies of the second network slice. If the first network slice only includes part of the topology of the second network slice, it may be considered that the link layer topology of the second network slice is not included in the link layer topology of the first network slice.
  • network slice 0 includes network device 2, network device 3, and network device 4;
  • network slice 3 includes network device 3, network device 4, and network device 5. That is, the topology corresponding to network slice 0 is "network device 2--network device 3--network device 4", and the topology corresponding to network slice 3 is "network device 3--network device 4--network device 5".
  • the topology of network slice 0 only includes part of the topology of network slice 3 (ie "network device 3--network device 4"), and does not include another part of the topology of network slice 3 (ie "network device 4--network device 5”) ”). Therefore, it can be considered that the topology of network slice 3 is not included in the topology of network slice 0.
  • the first network device may determine whether the link layer topology of the second network slice is included in the link layer topology of the first network slice by comparing the interface identifiers in the link layer topology information.
  • the first network device may determine the second network slice
  • the link layer topology is included in the link layer topology of the first network slice, wherein the number of all interfaces of the second link layer topology is M, and the number of all interfaces of the first link layer topology is M. is N, M is less than or equal to N, and both M and N are positive integers.
  • M interfaces of the second link layer topology and the M interfaces of the first link layer topology are respectively located in M physical interfaces may refer to: M interfaces of the second link layer topology
  • Each interface in the first link layer topology is located on the same physical interface as one of the M interfaces in the first link layer topology. That is, for the foregoing M physical interfaces, each physical interface includes an interface of the second link layer topology and an interface of the first link layer topology.
  • the interface of the second link layer topology and the interface of the second link layer topology are located in the same on a physical interface. For example, assuming that an interface identifier 1 in the first link layer topology information is 1/0/0, and an interface identifier 2 in the second link layer topology information is 1/0/0.1, it can be considered that the interface identifier 2 is The corresponding interface is a sub-interface of the interface corresponding to the interface ID 1, and the two are located on the same physical interface.
  • an interface identifier 3 in the first link layer topology information is 1/0/0.2
  • an interface identifier 4 in the second link layer topology information is 1/0/0.3
  • FIG. 4 is a schematic diagram of an application architecture of another communication method provided by an embodiment of the present application.
  • the link layer topology of network slice 0 includes 4 interfaces, namely A1, A2, A3 and A4;
  • the link layer topology of network slice 1 includes 4 interfaces, namely B1, A2 and A4.
  • the link layer topology of network slice 2 includes two interfaces, C1 and C2, respectively.
  • the interface identifiers corresponding to the interfaces in network slice 0, network slice 1 and network slice 2 may be as shown in Table 1:
  • interfaces A1 to A4 and interfaces B1 to B4 are located on 4 physical interfaces respectively, that is, the 4 interfaces in network slice 0 and the 4 interfaces in network slice 1 are located on the 4 physical interfaces.
  • the link layer topology of network slice 1 is included in the link layer topology of network slice 0.
  • interface A1 and interface C1 are located on the same physical interface
  • interface A2 and interface C2 are located on the same physical interface, that is, 2 interfaces in network slice 0 and 2 interfaces in network slice 2
  • the interfaces are located on 2 physical interfaces, so it can be determined that the link layer topology of network slice 2 is included in the link layer topology of network slice 0.
  • FIG. 5 is a schematic diagram of an application architecture of another communication method provided by an embodiment of the present application.
  • the link layer topology of network slice 0 includes 4 interfaces, namely A1, A2, A3 and A4; the link layer topology of network slice 3 includes 4 interfaces, namely D3, D4, D5 and D6.
  • the interface identifiers corresponding to the interfaces in network slice 0 and network slice 3 may be as shown in Table 2:
  • Step 204 The first network device receives the network layer topology information of the first network slice sent by the second network device.
  • the network layer topology information of the first network slice may be Internet Protocol (Internet Protocol, IP) layer topology information, and may also be referred to as three-layer topology information.
  • the network layer topology information may be, for example, IGP topology information.
  • IGP topology information of the first network slice is acquired.
  • each network device on the first network slice may notify each other of their corresponding network layer topology information through an IGP message.
  • the IGP enabled on the first network slice may include an Intermediate System to Intermediate System (IS-IS) protocol or an Open Shortest Path First (Open Shortest Path First, OSPF) protocol, both of which are It is a link state-based protocol.
  • IS-IS Intermediate System to Intermediate System
  • OSPF Open Shortest Path First
  • the second network device may send the first network device to the first network device through the Border Gateway Protocol Link-state (BGP-LS) Network layer topology information for the slice.
  • BGP-LS Border Gateway Protocol Link-state
  • BGP-LS is a way of collecting network topology, which can summarize the topology information collected through IGP and send it to the upper-layer controller.
  • the network layer topology information of the first network slice may include an IP address, a link cost COST value, a delay, a traffic engineering metric (Traffic Engineering metric, TE metric), an affinity attribute, and a shared risk link group ( One or more of Shared Risk Link Group, SRLG).
  • first link layer topology information, the second link layer topology information, and the network layer topology information received by the first network device may be sent by the same network device (for example, the above-mentioned second network device).
  • second network device can also be sent by different network devices, for example, the third network device sends the first link layer topology information and the second link layer topology information to the first network device, and the second network device sends the first link layer topology information to the first network device.
  • Network devices send network layer topology information. This embodiment does not specifically limit where the first network device obtains the link layer topology information and the network layer topology information.
  • Step 205 The first network device determines the network layer topology information of the second network slice according to the second link layer topology information and the network layer topology information of the first network slice.
  • the network layer attributes of the second network slice (for example, link cost value, delay, TE metric Attribute information) is similar to the first network slice, and the second network slice can reuse the network layer topology information of the first network slice.
  • the first network device may be in the second link layer topology of the second network slice.
  • the network layer topology information of the first network slice is multiplexed, thereby obtaining the network layer topology information of the second network slice.
  • the first network device may first determine the first link layer topology, the first The link layer topology is the same topology as the link layer topology of the second network slice in the link layer topology of the first network slice; the first network device is further based on the first link layer topology and The network layer topology information of the first network slice determines the network layer topology information of the second network slice, and the network layer topology information of the second network slice is the sum of the network layer topology information of the first network slice and the network layer topology information of the first network slice. The part corresponding to the first link layer topology.
  • the first network device may first determine the part of the link layer topology of the first network slice that is the same as the link layer topology of the second network slice, and then determine, based on this part of the topology, to be complex on the second network slice.
  • the used network layer topology information so as to obtain the network layer topology information of the second network slice.
  • the network device may determine that the link layer topology of the second network slice is included in the link layer topology of the second network slice.
  • information and the network layer topology information of the first network slice to determine the network layer topology information of the second network slice that is, the network layer topology information of one network slice can be reused on multiple network slices, and the network layer topology information of network devices can be reduced.
  • the number of routes to reduce resource overhead when the network layer topology information also includes IP addresses, by multiplexing the IP addresses of one network slice on other multiple network slices, the allocation of IP addresses can also be reduced and IP address resources can be saved.
  • the first network device may compare the second link layer topology information and the network layer topology information of the first network slice according to the link layer topology of the second network slice The superposition is performed to obtain the global topology information of the second network slice. Specifically, for the network device in the second network slice, the link layer topology information of the second network slice on the network device and the network layer topology information of the first network slice on the network device may be superimposed, thereby obtaining Network layer topology information of the second network slice on the network device.
  • network device 1 can obtain the link layer topology information of network slice 0, the link layer topology information of network slice 1, and the information of network slice 0 by receiving a message sent by network device 2.
  • Network layer topology information is shown in Table 3:
  • Interface ID network slice identifier network slice bandwidth network equipment 2 1/0/0.1 1 1 megabit per second (Mb/s) network equipment 3 1/1/0.1, 1/2/0.1 1 1Mb/s network equipment 4 1/3/0.1 1 1Mb/s
  • the network layer topology information of network slice 0 is shown in Table 4:
  • IP address link cost value delay network equipment 2 1.1.1.1 2 10ms network equipment 3 2.2.2.2 2 10ms network equipment 4 3.3.3.3 2 10ms
  • the network layer topology of network slice 1 can be obtained by directly multiplexing the network layer topology of network slice 0, that is, the network layer of network slice 1.
  • the topology is the same as the network layer topology of network slice 0.
  • the network device 1 can obtain the global topology information of the network slice 1 by superimposing the network layer topology information of the network slice 0 on the basis of the link layer topology information of the network slice 1 .
  • the global topology information of network slice 1 is shown in Table 5:
  • the first network device superimposes the network layer topology information of network slice 0 on the basis of the link layer topology information of network slice 1, thereby obtaining the global topology information of network slice 1.
  • the network device 1 may also obtain the link layer topology information of the network slice 2 by receiving a message sent by the network device 2 .
  • the link layer topology information of network slice 2 is shown in Table 6:
  • Interface ID network slice identifier network slice bandwidth network equipment 2 1/0/0.2 2 2Mb/s network equipment 3 1/1/0.2 2 2Mb/s
  • network device 1 can determine the parts of network slice 1 that are the same as the link layer topology of network slice 2 (ie, network device 2 and network device 3), thereby determining the network layer of network slice 2. topology.
  • network layer topology information of network slice 2 is shown in Table 7:
  • the global topology information of the network slice 2 can be obtained.
  • the network layer topology information of network slice 2 is shown in Table 8:
  • corresponding network layer topology information may also be configured on other network slices, and the second network slice
  • the link layer topology is also included in the link layer topology of other network slices mentioned above.
  • the first network device can select any one network slice from the first network slice and other aforementioned network slices, and multiplex the network layer topology information of the selected network slice.
  • the communication method 200 provided in this embodiment may further include: the first network device determining the second link layer topology information according to the second link layer topology information and the network layer topology information of the first network slice.
  • the method further includes: acquiring, by the first network device, third link layer topology information corresponding to the third network slice; topology information and the second link layer topology information, it is determined that the link layer topology of the second network slice is included in the link layer topology of the third network slice; the first network device receives the second network slice The network layer topology information of the third network slice sent by the device; based on the network layer topology information of the third network slice and the network layer topology information of the first network slice, the first network device determines to use the The network layer topology information of the first network slice is used to determine the network layer topology information of the second network slice.
  • the first network device determines that the link layer topology of the second network slice is included in both the link layer topology of the first network slice and the link layer topology of the third network slice, the first network slice The network device may select the network layer topology information of one of the network slices from the network layer topology information of the first network slice and the network layer topology information of the third network slice. Then, the first network device may determine to obtain the network layer topology information of the second network slice according to the second link layer topology information of the second network slice and the network layer topology information of the selected network slice.
  • the network slice when one or more flexible algorithms (FlexAlgo) are configured on the same network slice, the network slice may be based on the one or more flexible algorithms based on the conventional network layer topology.
  • a FlexAlgo configuration gets one or more FlexAlgo topologies. That is, the network slice may include conventional network layer topology information and one or more FlexAlgo topology information.
  • other network slices that are not configured with network layer topology can choose to reuse the network layer topology information corresponding to the network slice, or one of the FlexAlgo topology information.
  • the conventional network layer topology information may be, for example, topology information determined based on a shortest path algorithm.
  • the network layer topology information of the first network slice received by the first network device may include topology information determined based on the shortest path algorithm and one or more topology information determined based on FlexAlgo.
  • one of the network layer topology information of the received network layer topology information of the first network slice can be selected, for example, the topology information determined by the shortest path algorithm or the topology information determined by the flexible algorithm FlexAlgo can be selected. topology information.
  • the first network device determines the network layer topology information of the second network slice according to a piece of network layer topology information on the selected first network slice.
  • network slice 0 when network slice 0 is configured with two algorithms, FlexAlgo1 and FlexAlgo2, network slice 0 may generate topology information 0 based on the shortest path algorithm, topology information 1 based on FlexAlgo1, and topology information 2 based on FlexAlgo2. That is, the network layer topology information corresponding to network slice 0 received by the first network device includes topology information 0, topology information 1, and topology information 2. The first network device may select any topology information from topology information 0, topology information 1, and topology information 2 to determine the network layer topology information of network slice 1.
  • the first network device may calculate the network layer topology information according to the network layer topology information of the second network slice. the tunnel path on the second network slice.
  • the communication method 200 provided in this embodiment may further include: acquiring, by the first network device, a path calculation requirement of the second network slice; and, by the first network device, obtaining, according to the second link layer topology information Perform path calculation with the network layer topology information of the second network slice to obtain a path calculation result; the first network device sends the path calculation result to the second network device, and the path calculation result is used to indicate the path calculation result.
  • the second network device creates a tunnel for carrying services.
  • the route calculation result may include a route calculation result of a Resource ReSerVation Protocol (RSVP) tunnel, a route calculation result of a Segment Routing Traffic Engineering (SR TE) tunnel The result and one or more of the route calculation results based on the Segment Routing Internet Protocol Version 6 (SRv6) tunnel. That is to say, the communication method 200 provided in this embodiment can be applied to different networks, so as to obtain different types of tunnels by calculation based on the network layer topology information of the second network slice.
  • RSVP Resource ReSerVation Protocol
  • SR TE Segment Routing Traffic Engineering
  • RSVP tunnel path calculation may be performed based on the network layer topology information of the second network slice to obtain a path calculation result of the RSVP tunnel; or, SR TE tunnel calculation is performed based on the network layer topology information of the second network slice, and the calculation result of the SR TE tunnel is obtained.
  • the SRv6 tunnel path calculation may be performed based on the network layer topology information of the second network slice to obtain a path calculation result of the SRv6 tunnel.
  • FIG. 6 is a schematic structural diagram of a network device 600 according to an embodiment of the present application.
  • network device 600 includes one or more processors 601 , such as a central processing unit (CPU), network interface 602 , programming interface 603 , memory 604 , and one or more communication buses 605 , used to interconnect various components.
  • processors 601 such as a central processing unit (CPU)
  • the network interface 602 may be a fixed network interface, such as an RJ45 interface, or a wireless network interface, such as a WIFI interface or a cellular network interface.
  • programming interface 603 may be a physical interface, such as a programmable serial interface or a programmable parallel interface, or a virtual interface, such as an application programming interface.
  • the network interface 602 is used, among other things, to connect with one or more other network devices/servers in the network system.
  • the communication bus 605 includes circuitry that interconnects and controls communication between system components.
  • Memory 604 may include non-volatile memory such as read-only memory (ROM), programmable read-only memory (PROM), erasable programmable read-only memory (EPROM) , Electrically Erasable Programmable Read-Only Memory (electrically EPROM, EEPROM) or flash memory.
  • Memory 604 may also include volatile memory, which may be random access memory (RAM), which acts as an external cache.
  • memory 604 or a non-transitory computer-readable storage medium of memory 604 stores the following programs, modules, and data structures, or subsets thereof, including a receiving unit (not shown), a sending unit (not shown) not shown), an acquisition unit 6041 and a processing unit 6042.
  • the network device 600 may include, for example: an obtaining unit 6041, a processing unit 6042 and a receiving unit; the obtaining unit 6041 is configured to obtain the first link layer topology information corresponding to the first network slice ; the obtaining unit 6041 is also used to obtain the second link layer topology information corresponding to the second network slice; the processing unit 6042 is used to obtain the second link layer topology information according to the first link layer topology information and the second link layer Layer topology information, to determine that the link layer topology of the second network slice is included in the link layer topology of the first network slice; the receiving unit is configured to receive the first network sent by the second network device The network layer topology information of the slice; the processing unit 6042 is further configured to determine the network layer topology of the second network slice according to the second link layer topology information and the network layer topology information of the first network slice information.
  • the acquisition unit 6041 and the processing unit 6042 are computer-executable programs stored in the memory 604 , and their functions or capabilities are realized by being executed by
  • the processing unit 6042 is further configured to calculate the tunnel path on the second network slice according to the network layer topology information of the second network slice.
  • the processing unit 6042 is further configured to locate M interfaces in the second link layer topology and M interfaces in the first link layer topology respectively at M physical interfaces , it is determined that the link layer topology of the second network slice is included in the link layer topology of the first network slice, wherein the number of all interfaces of the second link layer topology is M, and the first The number of all interfaces in the link layer topology is N, M is less than or equal to N, and both M and N are positive integers.
  • the processing unit 6042 is further configured to determine, according to the second link layer topology information, that the link layer topology of the second network slice is the chain of the first network slice When part of the topology in the road layer topology, determine the first link layer topology, the first link layer topology is the link layer topology of the first network slice and the link layer topology of the second network slice the same topology; according to the first link layer topology and the network layer topology information of the first network slice, determine the network layer topology information of the second network slice, the network layer topology information of the second network slice is the part corresponding to the first link layer topology in the network layer topology information of the first network slice.
  • the obtaining unit 6041 is further configured to obtain the third link layer topology information corresponding to the third network slice; the processing unit 6042 is further configured to obtain the third link layer topology information according to the third link layer The topology information and the second link layer topology information determine that the link layer topology of the second network slice is included in the link layer topology of the third network slice; the receiving unit is further configured to receive the first The network layer topology information of the third network slice sent by the second network device; the processing unit 6042 is further configured to be based on the network layer topology information of the third network slice and the network layer topology information of the first network slice , determining to use the network layer topology information of the first network slice to determine the network layer topology information of the second network slice.
  • the network layer topology information of the first network slice includes topology information determined based on a shortest path algorithm or topology information determined based on FlexAlgo.
  • the network layer topology information of the second network slice includes interior gateway protocol IGP topology information
  • the IGP topology information includes IP address, link cost COST value, delay, TE metric, pro- and attribute and one or more of SRLG.
  • the first link layer topology information further includes one or more of an identifier of the first network slice and bandwidth information of the first network slice;
  • the second link layer The road layer topology information further includes one or more of an identifier of the second network slice and bandwidth information of the second network slice.
  • it further includes a sending unit; the obtaining unit 6041 is further configured to obtain the path calculation requirement of the second network slice; the processing unit 6042 is further configured to Perform path calculation on the road layer topology information and the network layer topology information of the second network slice to obtain a path calculation result; the sending unit is further configured to send the path calculation result to the second network device.
  • the channel result is used to instruct the second network device to create a tunnel for carrying services.
  • the path calculation result includes one or more of the path calculation result of the RSVP tunnel, the path calculation result of the SR TE tunnel, and the path calculation result of the SRv6 tunnel.
  • the above-mentioned functions of the receiving unit and the sending can be realized by the processor calling the program code in the memory, and cooperate with the network interface 602 when needed; it can also be realized by the network interface 602 on the network device 600 to complete the data transmission and reception operations.
  • the network device 600 is configured to execute the communication methods provided by the embodiments of the present application.
  • the processor 601 executes the computer-executable instructions in the memory 604 to cause the network device 600 to execute the above-mentioned embodiments corresponding to FIGS. 2-5 . Including communication methods.
  • B corresponding to A means that B is associated with A, and B can be determined according to A.
  • determining B according to A does not mean that B is only determined according to A, and B may also be determined according to A and/or other information.
  • the disclosed system, apparatus and method may be implemented in other manners.
  • the apparatus embodiments described above are only illustrative.
  • the division of the units is only a logical function division. In actual implementation, there may be other division methods.
  • multiple units or components may be combined or Can be integrated into another system, or some features can be ignored, or not implemented.
  • the shown or discussed mutual coupling or direct coupling or communication connection may be through some interfaces, indirect coupling or communication connection of devices or units, and may be in electrical, mechanical or other forms.
  • the units described as separate components may or may not be physically separated, and components displayed as units may or may not be physical units, that is, may be located in one place, or may be distributed to multiple network units. Some or all of the units may be selected according to actual needs to achieve the purpose of the solution in this embodiment.
  • each functional unit in each embodiment of the present application may be integrated into one processing unit, or each unit may exist physically alone, or two or more units may be integrated into one unit.
  • the above-mentioned integrated units may be implemented in the form of hardware, or may be implemented in the form of software functional units.
  • the integrated unit if implemented in the form of a software functional unit and sold or used as an independent product, may be stored in a computer-readable storage medium.
  • the technical solutions of the present application can be embodied in the form of software products in essence, or the parts that contribute to the prior art, or all or part of the technical solutions, and the computer software products are stored in a storage medium , including several instructions for causing a computer device (which may be a personal computer, a server, or a network device/server, etc.) to execute all or part of the steps of the methods described in the various embodiments of the present application.
  • the aforementioned storage medium includes: a U disk, a removable hard disk, a read-only memory, a random access memory, a magnetic disk or an optical disk and other media that can store program codes.

Landscapes

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

Abstract

本申请公开了一种通信方法及相关装置,该方法包括:第一网络设备获取第一网络切片对应的第一链路层拓扑信息;第一网络设备获取第二网络切片对应的第二链路层拓扑信息;第一网络设备根据第一链路层拓扑信息和第二链路层拓扑信息,确定第二网络切片的链路层拓扑包含于第一网络切片的链路层拓扑中;第一网络设备接收第二网络设备发送的第一网络切片的网络层拓扑信息;第一网络设备根据第二链路层拓扑信息和第一网络切片的网络层拓扑信息,确定第二网络切片的网络层拓扑信息。通过实现一个网络切片的网络层拓扑信息在多个网络切片上复用,可以减少网络设备通告网络层拓扑信息的路由数量,降低资源开销。

Description

一种通信方法及相关装置
本申请要求于2020年8月26日提交的申请号为202010870809.5、发明名称为“一种通信处理方法及相关装置”的中国专利申请的优先权,其全部内容通过引用结合在本申请中。
技术领域
本申请涉及通信技术领域,尤其涉及一种通信方法及相关装置。
背景技术
随着第五代移动通信技术(the 5th generation mobile communication,5G)网络标准制定,基于5G网络提出的网络切片技术不断得以研究和发展。网络切片是将运营商的物理网络划分为多个虚拟网络,每一个虚拟网络可以根据不同的服务需求来进行划分(例如根据实际情况中的时延要求、宽带大小需求、安全性要求等来进行划分),以灵活应对不同的网络应用场景,在行业应用中具有广阔的应用空间。
现有的网络切片部署方案中,在对一个物理接口进行细粒度分片时,需要将物理接口分成多个网络切片对应的逻辑接口。并且,每个逻辑接口都需要配置相应的内部网关协议(Interior Gateway Protocol,IGP),以形成各个网络切片的网络层拓扑信息。
由于网络中的每个网络切片都需要单独配置IGP来形成网络层拓扑信息,使得网络设备上用于通告网络层拓扑信息的路由的数量较多,造成网络设备的资源开销大。
发明内容
本申请提供了一种通信方法及相关装置,第一网络设备在根据获取到的链路层拓扑信息确定第二网络切片的拓扑包含于第一网络切片的拓扑时,第一网络设备可以根据第二网络切片的链路层拓扑信息和第一网络切片的网络层拓扑信息,确定第二网络切片的网络层拓扑信息,即实现一个网络切片的网络层拓扑信息在多个网络切片上复用,减少网络设备通告网络层拓扑信息的路由数量,降低资源开销。
本申请第一方面提供一种通信方法,包括:第一网络设备获取第一网络切片对应的第一链路层拓扑信息;所述第一网络设备获取第二网络切片对应的第二链路层拓扑信息,第一网络设备例如可以通过接收其他的网络设备所发送的Netconf消息来获取第一链路层拓扑信息以及第二链路层拓扑信息;所述第一网络设备根据所述第一链路层拓扑信息和所述第二链路层拓扑信息,确定所述第二网络切片的链路层拓扑包含于所述第一网络切片的链路层拓扑中,即第一网络切片的链路层拓扑中包括有第二网络切片的全部链路层拓扑;所述第一网络设备接收第二网络设备发送的所述第一网络切片的网络层拓扑信息;所述第一网络设备根据所述第二链路层拓扑信息和所述第一网络切片的网络层拓扑信息,确定所述第二网络切片的网络层拓扑信息。
在一些可能的设计中,第一网络设备在根据获取到的链路层拓扑信息确定第二网络切片的拓扑包含于第一网络切片的拓扑时,第一网络设备可以根据第二网络切片的链路层拓扑信息和第一网络切片的网络层拓扑信息,确定第二网络切片的网络层拓扑信息,即实现 一个网络切片的网络层拓扑信息在多个网络切片上复用,减少网络设备通告网络层拓扑信息的路由数量,降低资源开销。
在一些可能的设计中,所述方法还包括:第一网络设备根据所述第二网络切片的网络层拓扑信息计算所述第二网络切片上的隧道路径,即第二网络切片的网络层拓扑信息可以用于第一网络设备计算第二网络切片上的隧道路径。
在一些可能的设计中,所述第一网络设备根据所述第一链路层拓扑信息和所述第二链路层拓扑信息,确定所述第二网络切片的链路层拓扑包含于所述第一网络切片的链路层拓扑中,包括:在所述第二链路层拓扑的M个接口与所述第一链路层拓扑的M个接口分别位于M个物理接口时,所述第一网络设备可以确定所述第二网络切片的链路层拓扑包含于所述第一网络切片的链路层拓扑中,其中,所述第二链路层拓扑的全部接口的数量为M,所述第一链路层拓扑的全部接口的数量为N,M小于或等于N,且M和N均为正整数。也就是说,所述第二链路层拓扑的M个接口中的每一个接口均与所述第一链路层拓扑的M个接口中的一个接口位于同一个物理接口上,即对于前述的M个物理接口,每一个物理接口上均包括有一个第二链路层拓扑的接口以及一个第一链路层拓扑的接口。
在一些可能的设计中,通过判断两个链路层拓扑的接口是否位于相同的物理接口上,来确定一个链路层拓扑是否包含于另一个链路层拓扑中,提高了方案实现的灵活性。
在一些可能的设计中,所述第一网络设备根据所述第二链路层拓扑信息和所述第一网络切片的网络层拓扑信息,确定所述第二网络切片的网络层拓扑信息,包括:在所述第一网络设备根据所述第二链路层拓扑信息,确定所述第二网络切片的链路层拓扑为所述第一网络切片的链路层拓扑中的部分拓扑时,所述第一网络设备确定第一链路层拓扑,所述第一链路层拓扑为所述第一网络切片的链路层拓扑中与所述第二网络切片的链路层拓扑相同的拓扑;所述第一网络设备根据所述第一链路层拓扑和所述第一网络切片的网络层拓扑信息,确定所述第二网络切片的网络层拓扑信息,所述第二网络切片的网络层拓扑信息为所述第一网络切片的网络层拓扑信息中与所述第一链路层拓扑对应的部分。
也就是说,在所述第二网络切片的链路层拓扑与所述第一网络切片的链路层拓扑相同的情况下,所述第一网络设备可以在第二网络切片的第二链路层拓扑信息的基础上,直接复用第一网络切片的网络层拓扑信息,从而得到第二网络切片的网络层拓扑信息。
在所述第二网络切片的链路层拓扑为所述第一网络切片的链路层拓扑中的部分拓扑的情况下,所述第一网络设备可以先确定所述第一网络切片的链路层拓扑中与第二网络切片的链路层拓扑相同的部分,然后基于这部分拓扑确定第二网络切片上要复用的网络层拓扑信息,从而得到第二网络切片的网络层拓扑信息。
在一些可能的设计中,通过在不同情况下有针对性地确定第二网络切片上要复用的网络层拓扑信息,可以提高方案实现的灵活性。
在一些可能的设计中,所述第一网络设备根据所述第二链路层拓扑信息和所述第一网络切片的网络层拓扑信息,确定所述第二网络切片的网络层拓扑信息之前,所述方法还包括:所述第一网络设备获取第三网络切片对应的第三链路层拓扑信息;所述第一网络设备根据所述第三链路层拓扑信息和所述第二链路层拓扑信息,确定所述第二网络切片的链路 层拓扑包含于所述第三网络切片的链路层拓扑中;所述第一网络设备接收第二网络设备发送的所述第三网络切片的网络层拓扑信息;基于所述第三网络切片的网络层拓扑信息和所述第一网络切片的网络层拓扑信息,所述第一网络设备确定采用所述第一网络切片的网络层拓扑信息来确定所述第二网络切片的网络层拓扑信息。
也就是说,在第一网络设备确定第二网络切片的链路层拓扑既包含于第一网络切片的链路层拓扑中,又包含于第三网络切片的链路层拓扑中时,第一网络设备可以在所述第一网络切片的网络层拓扑信息以及所述第三网络切片的网络层拓扑信息中,选择其中一个网络切片的网络层拓扑信息。然后,第一网络设备可以根据所述第二网络切片的第二链路层拓扑信息以及选择好的网络切片的网络层拓扑信息,确定得到所述第二网络切片的网络层拓扑信息。
在一些可能的设计中,第一网络设备所接收到的第一网络切片的网络层拓扑信息可以包括基于最短路径算法确定的拓扑信息以及一个或多个基于FlexAlgo确定的拓扑信息,第一网络设备在确定第二网络切片的网络层拓扑之前,可以先在接收到的第一网络切片的网络层拓扑信息中选择其中的一个网络层拓扑信息,例如选择最短路径算法确定的拓扑信息或者基于灵活算法FlexAlgo确定的拓扑信息。然后,第一网络设备再根据选择好的第一网络切片上的一个网络层拓扑信息,确定第二网络切片的网络层拓扑信息。
在一些可能的设计中,所述第二网络切片的网络层拓扑信息包括内部网关协议IGP拓扑信息,所述IGP拓扑信息包括IP地址、链路开销COST值、时延、流量工程度量值(Traffic Engineering metric,TE metric)、亲和属性以及共享风险链路组(Shared Risk Link Group,SRLG)中的一个或多个。本方案中,在网络层拓扑信息中还包括有IP地址,通过将一个网络切片的IP地址在其他的多个网络切片上复用,可以减少IP地址的分配,节省IP地址资源。
在一些可能的设计中,所述第一链路层拓扑信息还包括所述第一网络切片的标识和所述第一网络切片的带宽信息中的一个或多个;所述第二链路层拓扑信息还包括所述第二网络切片的标识和所述第二网络切片的带宽信息中的一个或多个。
在一些可能的设计中,所述方法还包括:所述第一网络设备获取所述第二网络切片的算路需求;所述第一网络设备根据所述第二链路层拓扑信息和所述第二网络切片的网络层拓扑信息进行算路,得到算路结果;所述第一网络设备向所述第二网络设备发送所述算路结果,所述算路结果用于指示所述第二网络设备创建承载业务的隧道。
在一些可能的设计中,所述算路结果包括资源预留协议RSVP隧道的算路结果、分段路由流量工程SR TE隧道的算路结果以及基于互联网协议第6版的分段路由SRv6隧道的算路结果中的一个或多个。
本申请第二方面提供一种网络设备,包括:获取单元、处理单元和接收单元;所述获取单元,用于获取第一网络切片对应的第一链路层拓扑信息;所述获取单元,还用于获取第二网络切片对应的第二链路层拓扑信息;所述处理单元,用于根据所述第一链路层拓扑信息和所述第二链路层拓扑信息,确定所述第二网络切片的链路层拓扑包含于所述第一网络切片的链路层拓扑中;所述接收单元,用于接收第二网络设备发送的所述第一网络切片 的网络层拓扑信息;所述处理单元,还用于根据所述第二链路层拓扑信息和所述第一网络切片的网络层拓扑信息,确定所述第二网络切片的网络层拓扑信息。
在一些可能的设计中,所述处理单元,还用于根据所述第二网络切片的网络层拓扑信息计算所述第二网络切片上的隧道路径。
在一些可能的设计中,所述处理单元,还用于在所述第二链路层拓扑的M个接口与所述第一链路层拓扑的M个接口分别位于M个物理接口时,确定所述第二网络切片的链路层拓扑包含于所述第一网络切片的链路层拓扑中,其中所述第二链路层拓扑的全部接口的数量为M,所述第一链路层拓扑的全部接口的数量为N,M小于或等于N,且M和N均为正整数。
在一些可能的设计中,所述处理单元还用于在根据所述第二链路层拓扑信息,确定所述第二网络切片的链路层拓扑为所述第一网络切片的链路层拓扑中的部分拓扑时,确定第一链路层拓扑,所述第一链路层拓扑为所述第一网络切片的链路层拓扑中与所述第二网络切片的链路层拓扑相同的拓扑;根据所述第一链路层拓扑和所述第一网络切片的网络层拓扑信息,确定所述第二网络切片的网络层拓扑信息,所述第二网络切片的网络层拓扑信息为所述第一网络切片的网络层拓扑信息中与所述第一链路层拓扑对应的部分。
在一些可能的设计中,所述获取单元,还用于获取第三网络切片对应的第三链路层拓扑信息;所述处理单元,还用于根据所述第三链路层拓扑信息和所述第二链路层拓扑信息,确定所述第二网络切片的链路层拓扑包含于所述第三网络切片的链路层拓扑中;所述接收单元,还用于接收第二网络设备发送的所述第三网络切片的网络层拓扑信息;所述处理单元,还用于基于所述第三网络切片的网络层拓扑信息和所述第一网络切片的网络层拓扑信息,确定采用所述第一网络切片的网络层拓扑信息来确定所述第二网络切片的网络层拓扑信息。
在一些可能的设计中,所述第一网络切片的网络层拓扑信息包括基于最短路径算法确定的拓扑信息或基于FlexAlgo确定的拓扑信息。
在一些可能的设计中,所述第二网络切片的网络层拓扑信息包括内部网关协议IGP拓扑信息,所述IGP拓扑信息包括IP地址、链路开销COST值、时延、TE metric、亲和属性以及SRLG中的一个或多个。
在一些可能的设计中,所述第一链路层拓扑信息还包括所述第一网络切片的标识和所述第一网络切片的带宽信息中的一个或多个;所述第二链路层拓扑信息还包括所述第二网络切片的标识和所述第二网络切片的带宽信息中的一个或多个。
在一些可能的设计中,还包括发送单元;所述获取单元,还用于获取所述第二网络切片的算路需求;所述处理单元,还用于根据所述第二链路层拓扑信息和所述第二网络切片的网络层拓扑信息进行算路,得到算路结果;所述发送单元,还用于向所述第二网络设备发送所述算路结果,所述算路结果用于指示所述第二网络设备创建承载业务的隧道。
在一些可能的设计中,所述算路结果包括RSVP隧道的算路结果、SR TE隧道的算路结果以及SRv6隧道的算路结果中的一个或多个。
本申请第三方面提供一种网络设备,该网络设备包括:处理器、存储器;存储器用于 存储指令;处理器用于执行存储器中的指令,使得网络设备执行如前述第一方面中任一项的方法。
本申请第四方面提供一种计算机存储介质,该计算机存储介质可以是非易失性的;该计算机存储介质中存储有计算机可读指令,当该计算机可读指令被处理器执行时实现第一方面中任一项的方法。
本申请第五方面提供一种包含指令的计算机程序产品,当其在计算机上运行时,使得计算机执行如第一方面中任一项的方法。
从以上技术方案可以看出,本申请实施例具有以下优点:
本申请提供了一种通信方法及相关装置,第一网络设备在根据获取到的链路层拓扑信息确定第二网络切片的拓扑包含于第一网络切片的拓扑时,第一网络设备可以根据第二网络切片的链路层拓扑信息和第一网络切片的网络层拓扑信息,确定第二网络切片的网络层拓扑信息,即实现一个网络切片的网络层拓扑信息在多个网络切片上复用,减少网络设备通告网络层拓扑信息的路由数量,降低资源开销。
附图说明
图1为本申请实施例提供的一种通信方法的应用架构示意图;
图2为本申请实施例提供的一种通信方法200的流程示意图;
图3为本申请实施例提供的另一种通信方法的应用架构示意图;
图4为本申请实施例提供的另一种通信方法的应用架构示意图;
图5为本申请实施例提供的另一种通信方法的应用架构示意图;
图6为本申请实施例提供的一种网络设备600的结构示意图。
具体实施方式
为了使本申请的目的、技术方案及优点更加清楚明白,下面结合附图,对本申请的实施例进行描述,显然,所描述的实施例仅仅是本申请一部分的实施例,而不是全部的实施例。本领域普通技术人员可知,随着新应用场景的出现,本申请实施例提供的技术方案对于类似的技术问题,同样适用。
本申请的说明书和权利要求书及上述附图中的术语“第一”、“第二”等是用于区别类似的对象,而不必用于描述特定的顺序或先后次序。应该理解这样使用的数据在适当情况下可以互换,以便这里描述的实施例能够以除了在这里图示或描述的内容以外的顺序实施。此外,术语“包括”和“具有”以及他们的任何变形,意图在于覆盖不排他的包含,例如,包含了一系列步骤或模块的过程、方法、系统、产品或设备不必限于清楚地列出的那些步骤或模块,而是可包括没有清楚地列出的或对于这些过程、方法、产品或设备固有的其它步骤或模块。在本申请中出现的对步骤进行的命名或者编号,并不意味着必须按照命名或者编号所指示的时间/逻辑先后顺序执行方法流程中的步骤,已经命名或者编号的流程步骤可以根据要实现的技术目的变更执行次序,只要能达到相同或者相类似的技术效果即可。本申请中所出现的单元的划分,是一种逻辑上的划分,实际应用中实现时可以有 另外的划分方式,例如多个单元可以结合成或集成在另一个系统中,或一些特征可以忽略,或不执行,另外,所显示的或讨论的相互之间的耦合或直接耦合或通信连接可以是通过一些接口,单元之间的间接耦合或通信连接可以是电性或其他类似的形式,本申请中均不作限定。并且,作为分离部件说明的单元或子单元可以是也可以不是物理上的分离,可以是也可以不是物理单元,或者可以分布到多个电路单元中,可以根据实际的需要选择其中的部分或全部单元来实现本申请方案的目的。
在5G网络中,多样化的业务需求对网络在速度、性能、安全、可靠性、时延等方面的需求各不相同。例如,增强移动宽带(enhanced mobile broadband,eMBB)场景(例如虚拟现实,增强现实等场景),对带宽要求较高,需要xGbps级的带宽。再例如,海量机器类通信(massive machine type communication,mMTC)场景(例如可穿戴场景,智能电网等场景),需要支持海量的设备接入,例如需要支持数亿或数十亿的设备接入。再例如,超可靠低时延(ultrareliable and low latency communications,uRLLC)场景(例如自动驾驶,远程手术,工业控制等场景),需要支持1ms的超低时延。面对不同的场景、不同的要求以及极致体验的需求,网络切片应运而生,它可以基于不同的场景和需求灵活构建不同特征的网络。
网络切片,是指在物理或者虚拟的网络基础设施上,根据不同的业务需求而定制的逻辑网络。网络切片可以是一个包括了接入网、传输网、核心网以及应用服务器的完整的端到端网络,能够提供完整的通信服务,具有一定网络能力。网络切片也可以是接入网、传输网、核心网和应用服务器的任意组合。
网络切片通常可以用于5G网络中,5G网络可以通过网络切片实现一网多用,满足不同业务的服务等级协议(Service-LevelAgreement,SLA)的要求。一个网络切片通常提供一类具有相同服务需求保证的网络。这样的网络结构允许运营商将网络作为一种服务提供给用户,并可以根据速率、容量、覆盖性、延迟、可靠性、安全性和可用性等指标对实体网络进行自由组合,从而满足不同用户的要求。
现有的网络切片部署方案中,在对一个物理接口进行细粒度分片时,需要将物理接口分成多个网络切片对应的逻辑接口。并且,每个逻辑接口都需要配置相应的IGP,以形成各个网络切片的网络层拓扑信息。
由于网络中的每个网络切片都需要单独配置IGP来形成网络层拓扑信息,使得网络设备上需要通告每个网络切片上的网络层拓扑信息。由于IGP消息为发布为组播协议,在需要通告每个网络切片上的网络层拓扑信息的情况下,会造成用于通告网络层拓扑信息的路由的数量较多,造成网络设备的资源开销大。
有鉴于此,本申请实施例提供了一种通信方法,第一网络设备在根据获取到的链路层拓扑信息确定第二网络切片的链路层拓扑包含于第一网络切片的链路层拓扑时,网络设备可以根据第二网络切片的链路层拓扑信息和第一网络切片的网络层拓扑信息,确定第二网络切片的网络层拓扑信息,即实现一个网络切片的网络层拓扑信息在多个网络切片上复用,减少网络设备通告网络层拓扑信息的路由数量,降低资源开销。
可以参阅图1,图1为本申请实施例提供的一种通信方法的应用架构示意图。如图1所示,该应用架构包括:网络设备1、网络设备2和网络设备3。其中,网络设备1分别与网络设备2以及网络设备3连接,网络设备2与网络设备3连接。在网络设备2和网络设备3上部署有网络切片0和网络切片1,且网络切片1的拓扑包含于网络切片0的拓扑中。网络设备1可以接收到网络设备2发送的网络切片0和网络切片1的链路层拓扑信息,且根据该链路层拓扑信息确定网络切片1的拓扑包含于网络切片0的拓扑中。这样,网络设备1在获取到网络切片0的网络层拓扑信息时,网络设备1可以根据网络切片1的链路层拓扑信息和网络切片0的网络层拓扑信息确定网络切片1的网络层拓扑信息。
可以理解的是,网络设备1可以为一个子网中具有集中管理功能的控制器,能够对网络设备2和网络设备3进行管理,例如可以为网络切片子网管理功能(Network Slice Subnet Management Function,NSSMF)。网络设备2和网络设备3可以为交换机、路由器或网关等可实现流量转发的物理设备(即转发器),也可以是支持流量转发的虚拟设备。
可以参阅图2,图2为本申请实施例提供的一种通信方法200的流程示意图。如图2所示,本申请实施例提供的通信方法200,包括以下步骤:
步骤201、第一网络设备获取第一网络切片对应的第一链路层拓扑信息。
本实施例中,第一网络设备可以通过接收第二网络设备发送的消息,来获取第一网络切片对应的第一链路层拓扑信息。示例性地,在第二网络设备上可以使能Netconf协议,第二网络设备在获取到第一网络切片对应的第一链路层拓扑信息之后,可以通过Netconf消息向第一网络设备发送第一网络切片对应的第一链路层拓扑信息。
在一个可能的实施例中,第一网络切片可以包括一个或多个网络设备,第二网络设备可以为第一网络切片中的其中一个网络设备。第二网络设备可以通过使能链路层发现协议(Link Layer Discovery Protocol,LLDP)来获取第一网络切片对应的第一链路层拓扑信息。LLDP提供了一种标准的链路层发现方式,可以将本端设备的主要能力、管理地址、设备标识以及接口标识等信息封装到LLDP报文中来传递给邻居设备。邻居设备在接收到这些信息后,可以将这些信息保存起来,供网络管理系统(Network Management System,NMS)查询及判断链路的通信状况。基于LLDP,能够获取到网络中的链路层拓扑信息,例如网络中的设备附带有哪些接口以及设备之间相互连接的具体信息。
示例性地,第二网络设备通过LLDP获取到的第一链路层拓扑信息可以包括第一网络切片对应的N个接口标识、第一网络切片的标识以及第一网络切片的带宽等信息。其中,该N个接口标识可以是第一网络切片中的一个或多个网络设备与其邻居设备通信的接口的标识,N可以是大于或等于1的整数。
本实施例中,第一网络设备可以为一个子网中具有集中管理功能的控制器,能够对第二网络设备进行管理。第二网络设备可以为交换机、路由器或网关等可实现流量转发的物理设备(即转发器),也可以是支持流量转发的虚拟设备。
步骤202、所述第一网络设备获取第二网络切片对应的第二链路层拓扑信息。
本实施例中,第一网络设备可以通过接收第二网络设备发送的消息,例如第二网络设 备发送的Netconf消息,来获取第二网络切片对应的第二链路层拓扑信息。可以理解的是,第一网络设备也可以是通过接收其他的网络设备发送的消息,来获取第二网络切片对应的第二链路层拓扑信息。
第二网络切片也可以包括一个或多个网络设备,第二网络设备可以为第二网络切片中的其中一个网络设备。第二网络设备获取第二网络切片对应的第二链路层拓扑信息的方式与其获取第一链路层拓扑信息的方式类似,具体可以参考步骤201,在此不再赘述。
示例性地,第二链路层拓扑信息可以包括第二网络切片对应的M个接口标识、第二网络切片的标识以及第二网络切片的带宽等信息。其中,该M个接口标识可以是第二网络切片中的网络设备与其邻居设备通信的接口的标识,M可以是大于或等于1的整数。
步骤203、所述第一网络设备根据所述第一链路层拓扑信息和所述第二链路层拓扑信息,确定所述第二网络切片的链路层拓扑包含于所述第一网络切片的链路层拓扑中。
本实施例中,第二网络切片的链路层拓扑包含于第一网络切片的链路层拓扑中可以是指:第一网络切片的链路层拓扑中包含有第二网络切片的链路层拓扑,例如第一网络切片的链路层拓扑与第二网络切片的链路层拓扑相同(即第一网络切片的链路层拓扑刚好包括了第二网络切片的链路层拓扑),或者第二网络切片的链路层拓扑为第一网络切片的链路层拓扑中的一部分(即第一网络切片的链路层拓扑中除了包括有第二网络切片的链路层拓扑,还包括有其他的拓扑)。
示例性地,可以参阅图3,图3为本申请实施例提供的另一种通信方法的应用架构示意图。如图3所示:
网络切片0包括网络设备2、网络设备3以及网络设备4。
网络切片1包括网络设备2、网络设备3以及网络设备4。
网络切片2包括网络设备2以及网络设备3。
也就是说,网络切片0对应的拓扑为“网络设备2--网络设备3--网络设备4”,网络切片1对应的拓扑为“网络设备2--网络设备3--网络设备4”;网络切片2对应的拓扑为“网络设备2--网络设备3”。
其中,网络切片1的拓扑与网络切片0的拓扑相同,网络切片1的拓扑可以认为是包含于网络切片0的拓扑中。网络切片0的拓扑中除了包括网络切片2的拓扑,还包括了“网络设备3—网络设备4”的拓扑,网络切片2的拓扑也可以认为是包含于网络切片0的拓扑中。
可以理解的是,第二网络切片的链路层拓扑包含于第一网络切片的链路层拓扑中是指第一网络切片的链路层拓扑中包含有第二网络切片的全部拓扑。如果第一网络切片中仅包含第二网络切片的部分拓扑,则可以认为第二网络切片的链路层拓扑并非是包含于第一网络切片的链路层拓扑中。
例如,假设网络切片0包括网络设备2、网络设备3以及网络设备4;网络切片3包括网络设备3、网络设备4以及网络设备5。即网络切片0对应的拓扑为“网络设备2--网络设备3--网络设备4”,网络切片3对应的拓扑为“网络设备3--网络设备4--网络设备5”。网络切片0的拓扑中只包含了网络切片3的部分拓扑(即“网络设备3--网络设备4”),并 没有包含网络切片3的另一部分拓扑(即“网络设备4--网络设备5”)。因此,可以认为网络切片3的拓扑并非是包含于网络切片0的拓扑中。
在一个可能的实施例中,第一网络设备可以通过对比链路层拓扑信息中的接口标识来确定第二网络切片的链路层拓扑是否包含于第一网络切片的链路层拓扑中。
示例性地,在所述第二链路层拓扑的M个接口与所述第一链路层拓扑的M个接口分别位于M个物理接口时,第一网络设备可以确定所述第二网络切片的链路层拓扑包含于所述第一网络切片的链路层拓扑中,其中所述第二链路层拓扑的全部接口的数量为M,所述第一链路层拓扑的全部接口的数量为N,M小于或等于N,且M和N均为正整数。
可以理解的是,所述第二链路层拓扑的M个接口与所述第一链路层拓扑的M个接口分别位于M个物理接口可以是指:第二链路层拓扑的M个接口中的每一个接口均与所述第一链路层拓扑的M个接口中的一个接口位于同一个物理接口上。也就是说,对于前述的M个物理接口来说,每一个物理接口上均包括有一个第二链路层拓扑的接口以及一个第一链路层拓扑的接口。
具体地,可以通过第二链路层拓扑信息中的接口标识和第一链路层拓扑信息的接口标识,来确定第二链路层拓扑的接口与第二链路层拓扑的接口是否位于同一个物理接口上。例如,假设第一链路层拓扑信息中的一个接口标识1为1/0/0,第二链路层拓扑信息中的一个接口标识2为1/0/0.1,则可以认为接口标识2所对应的接口为接口标识1所对应的接口的子接口,两者是位于同一个物理接口的。又例如,假设第一链路层拓扑信息中的一个接口标识3为1/0/0.2,第二链路层拓扑信息中的一个接口标识4为1/0/0.3,则可以认为接口标识3所对应的接口以及接口标识4所对应的接口均为同一个物理接口下的子接口,两者同样是位于同一个物理接口的。
示例性地,可以参阅图4,图4为本申请实施例提供的另一种通信方法的应用架构示意图。如图4所示,网络切片0的链路层拓扑中包括有4个接口,分别为A1、A2、A3和A4;网络切片1的链路层拓扑中包括有4个接口,分别为B1、B2、B3和B4;网络切片2的链路层拓扑中包括有2个接口,分别为C1和C2。
其中,网络切片0、网络切片1以及网络切片2中的接口对应的接口标识可以如表1所示:
表1
Figure PCTCN2021107008-appb-000001
由表1可知,对于网络切片0和网络切片1,接口A1至A4与接口B1至B4分别位于4个物理接口上,即网络切片0中的4个接口与网络切片1中的4个接口位于4个物理接口上,从而可以确定网络切片1的链路层拓扑包含于网络切片0的链路层拓扑中。
对于网络切片0和网络切片2,接口A1与接口C1位于同一个物理接口上,接口A2和接口C2位于同一个物理接口上,即网络切片0中的2个接口与网络切片2中的2个接口位于2个物理接口上,从而可以确定网络切片2的链路层拓扑包含于网络切片0的链路层拓扑中。
示例性地,可以参阅图5,图5为本申请实施例提供的另一种通信方法的应用架构示意图。如图5所示,网络切片0的链路层拓扑中包括有4个接口,分别为A1、A2、A3和A4;网络切片3的链路层拓扑中包括有4个接口,分别为D3、D4、D5和D6。
其中,网络切片0以及网络切片3中的接口对应的接口标识可以如表2所示:
表2
Figure PCTCN2021107008-appb-000002
由表2可知,对于网络切片3,只有接口D3和D4是与网络切片0中的接口A3和A4位于相同的物理接口上,网络切片3的接口D5和D6与网络切片0中的接口A1和A2分别位于不同的物理接口上,即网络切片3中的4个接口与网络切片0中的4个接口并非位于4个物理接口上。在这种情况下,可以确定网络切片3的链路层拓扑并非是包含于网络切片0的链路层拓扑中。
步骤204、所述第一网络设备接收第二网络设备发送的所述第一网络切片的网络层拓扑信息。
本实施例中,所述第一网络切片的网络层拓扑信息可以为互联网协议(Internet Protocol,IP)层拓扑信息,也可以称为三层拓扑信息。网络层拓扑信息例如可以为IGP拓扑信息,在第一网络切片上通过使能IGP,来获取第一网络切片的IGP拓扑信息。例如,第一网络切片上的各个网络设备可以通过IGP消息来相互通告各自对应的网络层拓扑信息。这样,在第二网络设备上可以获取到第一网络切片下的各个网络设备的网络层拓扑信息,即第一网络切片对应的网络层拓扑信息。其中,第一网络切片上使能的IGP可以包括中间系统到中间系统(Intermediate System to Intermediate System,IS-IS)协议或开放最短路径优先(Open Shortest Path First,OSPF)协议,这两种协议均为基于链路状态的协议。
第二网络设备在获取到第一网络切片的网络层拓扑信息之后,第二网络设备可以通过边界网关协议连接状态(Border Gateway Protocol Link-state,BGP-LS)向第一网络设备发送第一网络切片的网络层拓扑信息。其中,BGP-LS是收集网络拓扑的一种方式,能够汇总通过IGP所收集的拓扑信息上送给上层控制器。
示例性地,第一网络切片的网络层拓扑信息可以包括IP地址、链路开销COST值、时 延、流量工程度量值(Traffic Engineering metric,TE metric)、亲和属性以及共享风险链路组(Shared Risk Link Group,SRLG)中的一个或多个。
可以理解的是,第一网络设备所接收到的第一链路层拓扑信息、第二链路层拓扑信息以及网络层拓扑信息可以是由同一个网络设备(例如上述的第二网络设备)发送的,也可以是由不同的网络设备所发送的,例如由第三网络设备向第一网络设备发送第一链路层拓扑信息和第二链路层拓扑信息,由第二网络设备向第一网络设备发送网络层拓扑信息。本实施例并不对第一网络设备从何处获取链路层拓扑信息以及网络层拓扑信息做具体的限定。
步骤205、所述第一网络设备根据所述第二链路层拓扑信息和所述第一网络切片的网络层拓扑信息,确定所述第二网络切片的网络层拓扑信息。
本实施例中,由于第二网络切片的链路层拓扑包含于第一网络切片的链路层拓扑中,因此,第二网络切片的网络层属性(例如链路开销值、时延、TE metric等属性信息)是与第一网络切片相近的,第二网络切片可以复用第一网络切片的网络层拓扑信息。
示例性地,在所述第二网络切片的链路层拓扑与所述第一网络切片的链路层拓扑相同时,所述第一网络设备可以在第二网络切片的第二链路层拓扑信息的基础上,复用第一网络切片的网络层拓扑信息,从而得到第二网络切片的网络层拓扑信息。
在所述第二网络切片的链路层拓扑为所述第一网络切片的链路层拓扑中的部分拓扑时,所述第一网络设备可以先确定第一链路层拓扑,所述第一链路层拓扑为所述第一网络切片的链路层拓扑中与所述第二网络切片的链路层拓扑相同的拓扑;所述第一网络设备再根据所述第一链路层拓扑和所述第一网络切片的网络层拓扑信息,确定所述第二网络切片的网络层拓扑信息,所述第二网络切片的网络层拓扑信息为所述第一网络切片的网络层拓扑信息中与所述第一链路层拓扑对应的部分。简单来说,第一网络设备可以先确定第一网络切片的链路层拓扑中与所述第二网络切片的链路层拓扑相同的部分,然后基于这部分拓扑确定第二网络切片上要复用的网络层拓扑信息,从而得到第二网络切片的网络层拓扑信息。
第一网络设备在根据获取到的链路层拓扑信息确定第二网络切片的链路层拓扑包含于第一网络切片的链路层拓扑时,网络设备可以根据第二网络切片的链路层拓扑信息和第一网络切片的网络层拓扑信息,确定第二网络切片的网络层拓扑信息,即实现一个网络切片的网络层拓扑信息在多个网络切片上复用,减少网络设备通告网络层拓扑信息的路由数量,降低资源开销。另外,在网络层拓扑信息中还包括有IP地址的情况下,通过将一个网络切片的IP地址在其他的多个网络切片上复用,还可以减少IP地址的分配,节省IP地址资源。
在一个可能的实施例中,所述第一网络设备可以根据所述第二网络切片的链路层拓扑,对所述第二链路层拓扑信息和所述第一网络切片的网络层拓扑信息进行叠加,得到所述第二网络切片的全局拓扑信息。具体地,对于第二网络切片中的网络设备,可以对第二网络切片在该网络设备上的链路层拓扑信息以及第一网络切片在该网络设备上的网络层拓扑信息进行叠加,从而得到第二网络切片在该网络设备上的网络层拓扑信息。
为了便于理解,以下将结合具体的例子来详细描述第一网络设备确定所述第二网络切片的网络层拓扑信息的过程。
仍然以图3所示的网络结构为例,网络设备1可以通过接收网络设备2发送的消息获取到网络切片0的链路层拓扑信息、网络切片1的链路层拓扑信息以及网络切片0的网络层拓扑信息。其中,网络切片1的链路层拓扑信息如表3所示:
表3
  接口标识 网络切片标识 网络切片带宽
网络设备2 1/0/0.1 1 1兆比特/秒(Mb/s)
网络设备3 1/1/0.1、1/2/0.1 1 1Mb/s
网络设备4 1/3/0.1 1 1Mb/s
网络切片0的网络层拓扑信息如表4所示:
表4
  IP地址 链路开销值 时延
网络设备2 1.1.1.1 2 10ms
网络设备3 2.2.2.2 2 10ms
网络设备4 3.3.3.3 2 10ms
由于网络切片0的链路层拓扑与网络切片1的链路层拓扑相同,因此可以通过直接复用网络切片0的网络层拓扑,得到网络切片1的网络层拓扑,即网络切片1的网络层拓扑与网络切片0的网络层拓扑相同。
此外,网络设备1通过在网络切片1的链路层拓扑信息的基础上,叠加网络切片0的网络层拓扑信息,可以得到网络切片1的全局拓扑信息。具体地,网络切片1的全局拓扑信息如表5所示:
表5
Figure PCTCN2021107008-appb-000003
由表5可知,第一网络设备是在网络切片1的链路层拓扑信息的基础上,叠加了网络切片0的网络层拓扑信息,从而得到网络切片1的全局拓扑信息。
此外,网络设备1还可以通过接收网络设备2发送的消息获取到网络切片2的链路层拓扑信息。网络切片2的链路层拓扑信息如表6所示:
表6
  接口标识 网络切片标识 网络切片带宽
网络设备2 1/0/0.2 2 2Mb/s
网络设备3 1/1/0.2 2 2Mb/s
网络设备1根据网络切片2的链路层拓扑,可以确定网络切片1中与网络切片2的链路层拓扑相同的部分(即网络设备2和网络设备3),从而确定网络切片2的网络层拓扑。
具体地,网络切片2的网络层拓扑信息如表7所示:
表7
Figure PCTCN2021107008-appb-000004
在网络切片2的链路层拓扑信息的基础上,叠加网络切片0上相应的网络层拓扑信息,可以得到网络切片2的全局拓扑信息。具体地,网络切片2的网络层拓扑信息如表8所示:
表8
Figure PCTCN2021107008-appb-000005
在一个可能的实施例中,除了在第一网络切片上通过使能IGP来配置相应的网络层拓扑信息之外,还可以在其他网络切片上配置相应的网络层拓扑信息,且第二网络切片的链路层拓扑同样是包含于前述的其他网络切片的链路层拓扑中。这样,对于第二网络切片而言,第一网络设备可以在第一网络切片以及前述的其他网络切片中选择任意一个网络切片,并且复用该选择好的网络切片的网络层拓扑信息。
示例性地,本实施例提供的通信方法200还可以包括:所述第一网络设备根据所述第二链路层拓扑信息和所述第一网络切片的网络层拓扑信息,确定所述第二网络切片的网络层拓扑信息之前,所述方法还包括:所述第一网络设备获取第三网络切片对应的第三链路层拓扑信息;所述第一网络设备根据所述第三链路层拓扑信息和所述第二链路层拓扑信息,确定所述第二网络切片的链路层拓扑包含于所述第三网络切片的链路层拓扑中;所述第一网络设备接收第二网络设备发送的所述第三网络切片的网络层拓扑信息;基于所述第三网络切片的网络层拓扑信息和所述第一网络切片的网络层拓扑信息,所述第一网络设备确定采用所述第一网络切片的网络层拓扑信息来确定所述第二网络切片的网络层拓扑信息。
也就是说,在第一网络设备确定第二网络切片的链路层拓扑既包含于第一网络切片的链路层拓扑中,又包含于第三网络切片的链路层拓扑中时,第一网络设备可以在所述第一网络切片的网络层拓扑信息以及所述第三网络切片的网络层拓扑信息中,选择其中一个网 络切片的网络层拓扑信息。然后,第一网络设备可以根据所述第二网络切片的第二链路层拓扑信息以及选择好的网络切片的网络层拓扑信息,确定得到所述第二网络切片的网络层拓扑信息。
在一个可能的实施例中,在同一个网络切片上配置有一个或多个灵活算法(FlexAlgo)的情况下,该网络切片上可以在常规的网络层拓扑的基础上,基于该一个或多个FlexAlgo配置得到一个或多个FlexAlgo拓扑。也就是说,该网络切片上可以包括有常规的网络层拓扑信息以及一个或多个FlexAlgo拓扑信息。在这种情况下,其他未配置有网络层拓扑的网络切片可以选择复用该网络切片对应的网络层拓扑信息,或者其中的一个FlexAlgo拓扑信息。其中,所述常规的网络层拓扑信息例如可以为基于最短路径算法所确定的拓扑信息。
也就是说,第一网络设备所接收到的第一网络切片的网络层拓扑信息可以包括基于最短路径算法确定的拓扑信息以及一个或多个基于FlexAlgo确定的拓扑信息,第一网络设备在确定第二网络切片的网络层拓扑之前,可以先在接收到的第一网络切片的网络层拓扑信息中选择其中的一个网络层拓扑信息,例如选择最短路径算法确定的拓扑信息或者基于灵活算法FlexAlgo确定的拓扑信息。然后,第一网络设备再根据选择好的第一网络切片上的一个网络层拓扑信息,确定第二网络切片的网络层拓扑信息。
示例性地,在网络切片0配置有FlexAlgo1和FlexAlgo2两种算法的情况下,网络切片0可以生成基于最短路径算法的拓扑信息0、基于FlexAlgo1的拓扑信息1以及基于FlexAlgo2的拓扑信息2。也就是说,第一网络设备接收到的网络切片0对应的网络层拓扑信息包括拓扑信息0、拓扑信息1以及拓扑信息2。第一网络设备可以在拓扑信息0、拓扑信息1以及拓扑信息2中选择任意一个拓扑信息来确定网络切片1的网络层拓扑信息。
可以理解的是,在本实施例中,在所述第一网络设备确定了第二网络切片的网络层拓扑信息之后,第一网络设备可以根据所述第二网络切片的网络层拓扑信息计算所述第二网络切片上的隧道路径。
示例性地,本实施例提供的通信方法200还可以包括:所述第一网络设备获取所述第二网络切片的算路需求;所述第一网络设备根据所述第二链路层拓扑信息和所述第二网络切片的网络层拓扑信息进行算路,得到算路结果;所述第一网络设备向所述第二网络设备发送所述算路结果,所述算路结果用于指示所述第二网络设备创建承载业务的隧道。
在一个可能的实施例中,所述算路结果可以包括资源预留协议(Resource ReSerVation Protocol,RSVP)隧道的算路结果、分段路由流量工程(Segment Routing Traffic Engineering,SR TE)隧道的算路结果以及基于互联网协议第6版的分段路由(Segment Routing Internet Protocol Version 6,SRv6)隧道的算路结果中的一个或多个。也就是说,本实施例所提供的通信方法200可以应用于不同的网络下,以基于第二网络切片的网络层拓扑信息计算得到不同类型的隧道。
示例性地,在本实施例中的通信方法200应用于IPv4网络的情况下,可以基于所述第二网络切片的网络层拓扑信息进行RSVP隧道算路,得到RSVP隧道的算路结果;或者,基 于所述第二网络切片的网络层拓扑信息进行SR TE隧道算路,得到SR TE隧道的算路结果。在本实施例中的通信方法200应用于IPv6网络的情况下,可以基于所述第二网络切片的网络层拓扑信息进行SRv6隧道算路,得到SRv6隧道的算路结果。
为了实现上述实施例,本申请还提供了一种网络设备。可以参阅图6,图6为本申请实施例提供的一种网络设备600的结构示意图。
图6所示的网络设备600尽管示出了某些特定特征,但是本领域的技术人员将从本申请实施例中意识到,为了简洁起见,图6未示出各种其他特征,以免混淆本申请实施例所公开的实施方式的更多相关方面。为此,作为示例,在一些实现方式中,网络设备600包括一个或多个处理器601,例如中央处理器(CPU),网络接口602、编程接口603、存储器604和一个或多个通信总线605,用于将各种组件互连。在另一些实现方式中,网络设备600也可以在上述示例基础上省略或增加部分功能部件或单元。
在一些实施方式中,网络接口602可以是固定网络接口,例如RJ45接口,也可以是无线网络接口,例如WIFI接口或者蜂窝网络接口。
在一些实施方式中,编程接口603可以是物理接口,例如可编程串行接口或可编程并行接口,也可以是虚拟接口,例如应用程序编程接口。
在一些实现方式中,网络接口602除其他用途外,用于在网络系统中和一个或多个其他的网络设备/服务器连接。在一些实现方式中,通信总线605包括互连和控制系统组件之间的通信的电路。存储器604可以包括非易失性存储器,例如,只读存储器(read-only memory,ROM)、可编程只读存储器(programmable ROM,PROM)、可擦除可编程只读存储器(erasable PROM,EPROM)、电可擦除可编程只读存储器(electrically EPROM,EEPROM)或闪存。存储器604也可以包括易失性存储器,易失性存储器可以是随机存取存储器(random access memory,RAM),其用作外部高速缓存。
在一些实现中,存储器604或存储器604的非暂时性计算机可读存储介质存储以下程序、模块和数据结构,或其子集,具体包括接收单元(图中未示出)、发送单元(图中未示出)、获取单元6041和处理单元6042。
在一个可能的实施例中,该网络设备600中例如可以包括:获取单元6041、处理单元6042和接收单元;所述获取单元6041,用于获取第一网络切片对应的第一链路层拓扑信息;所述获取单元6041,还用于获取第二网络切片对应的第二链路层拓扑信息;所述处理单元6042,用于根据所述第一链路层拓扑信息和所述第二链路层拓扑信息,确定所述第二网络切片的链路层拓扑包含于所述第一网络切片的链路层拓扑中;所述接收单元,用于接收第二网络设备发送的所述第一网络切片的网络层拓扑信息;所述处理单元6042,还用于根据所述第二链路层拓扑信息和所述第一网络切片的网络层拓扑信息,确定所述第二网络切片的网络层拓扑信息。获取单元6041和处理单元6042是存储在存储器604中的计算机可执行程序,他们的功能或能力是通过被处理器601执行而实现的。
在一种可能的实现方式中,所述处理单元6042,还用于根据所述第二网络切片的网络层拓扑信息计算所述第二网络切片上的隧道路径。
在一种可能的实现方式中,所述处理单元6042,还用于在所述第二链路层拓扑的M个接口与所述第一链路层拓扑的M个接口分别位于M个物理接口时,确定所述第二网络切片的链路层拓扑包含于所述第一网络切片的链路层拓扑中,其中所述第二链路层拓扑的全部接口的数量为M,所述第一链路层拓扑的全部接口的数量为N,M小于或等于N,且M和N均为正整数。
在一种可能的实现方式中,所述处理单元6042还用于在根据所述第二链路层拓扑信息,确定所述第二网络切片的链路层拓扑为所述第一网络切片的链路层拓扑中的部分拓扑时,确定第一链路层拓扑,所述第一链路层拓扑为所述第一网络切片的链路层拓扑中与所述第二网络切片的链路层拓扑相同的拓扑;根据所述第一链路层拓扑和所述第一网络切片的网络层拓扑信息,确定所述第二网络切片的网络层拓扑信息,所述第二网络切片的网络层拓扑信息为所述第一网络切片的网络层拓扑信息中与所述第一链路层拓扑对应的部分。
在一种可能的实现方式中,所述获取单元6041,还用于获取第三网络切片对应的第三链路层拓扑信息;所述处理单元6042,还用于根据所述第三链路层拓扑信息和所述第二链路层拓扑信息,确定所述第二网络切片的链路层拓扑包含于所述第三网络切片的链路层拓扑中;所述接收单元,还用于接收第二网络设备发送的所述第三网络切片的网络层拓扑信息;所述处理单元6042,还用于基于所述第三网络切片的网络层拓扑信息和所述第一网络切片的网络层拓扑信息,确定采用所述第一网络切片的网络层拓扑信息来确定所述第二网络切片的网络层拓扑信息。
在一种可能的实现方式中,所述第一网络切片的网络层拓扑信息包括基于最短路径算法确定的拓扑信息或基于FlexAlgo确定的拓扑信息。
在一种可能的实现方式中,所述第二网络切片的网络层拓扑信息包括内部网关协议IGP拓扑信息,所述IGP拓扑信息包括IP地址、链路开销COST值、时延、TE metric、亲和属性以及SRLG中的一个或多个。
在一种可能的实现方式中,所述第一链路层拓扑信息还包括所述第一网络切片的标识和所述第一网络切片的带宽信息中的一个或多个;所述第二链路层拓扑信息还包括所述第二网络切片的标识和所述第二网络切片的带宽信息中的一个或多个。
在一种可能的实现方式中,还包括发送单元;所述获取单元6041,还用于获取所述第二网络切片的算路需求;所述处理单元6042,还用于根据所述第二链路层拓扑信息和所述第二网络切片的网络层拓扑信息进行算路,得到算路结果;所述发送单元,还用于向所述第二网络设备发送所述算路结果,所述算路结果用于指示所述第二网络设备创建承载业务的隧道。
在一种可能的实现方式中,所述算路结果包括RSVP隧道的算路结果、SR TE隧道的算路结果以及SRv6隧道的算路结果中的一个或多个。
可以理解的是,以上所述的接收单元和发送的功能可以是由处理器调用存储器中的程序代码来实现,并在需要时配合网络接口602;也可以是由网络设备600上的网络接口602来完成数据的收发操作。
在各种实现中,网络设备600用于执行本申请实施例提供的通信方法,例如处理器601 通过执行存储器604中的计算机可执行指令,使网络设备600执行上述图2-5对应的实施例包括通信方法。
以上对本申请实施例进行了详细介绍,本申请实施例方法中的步骤可以根据实际需要进行顺序调度、合并或删减;本申请实施例装置中的模块可以根据实际需要进行划分、合并或删减。
应理解,说明书通篇中提到的“一个实施例”或“一实施例”意味着与实施例有关的特定特征、结构或特性包括在本申请的至少一个实施例中。因此,在整个说明书各处出现的“在一个实施例中”或“在一实施例中”未必一定指相同的实施例。此外,这些特定的特征、结构或特性可以任意适合的方式结合在一个或多个实施例中。应理解,在本申请的各种实施例中,上述各过程的序号的大小并不意味着执行顺序的先后,各过程的执行顺序应以其功能和内在逻辑确定,而不应对本申请实施例的实施过程构成任何限定。
本文中术语“和/或”,仅仅是一种描述关联对象的关联关系,表示可以存在三种关系,例如,A和/或B,可以表示:单独存在A,同时存在A和B,单独存在B这三种情况。另外,本文中字符“/”,一般表示前后关联对象是一种“或”的关系。
应理解,在本申请实施例中,“与A相应的B”表示B与A相关联,根据A可以确定B。但还应理解,根据A确定B并不意味着仅仅根据A确定B,还可以根据A和/或其它信息确定B。
本领域普通技术人员可以意识到,结合本文中所公开的实施例描述的各示例的单元及算法步骤,能够以电子硬件、计算机软件或者二者的结合来实现,为了清楚地说明硬件和软件的可互换性,在上述说明中已经按照功能一般性地描述了各示例的组成及步骤。这些功能究竟以硬件还是软件方式来执行,取决于技术方案的特定应用和设计约束条件。专业技术人员可以对每个特定的应用来使用不同方法来实现所描述的功能,但是这种实现不应认为超出本申请的范围。
所属领域的技术人员可以清楚地了解到,为描述的方便和简洁,上述描述的系统,装置和单元的具体工作过程,可以参考前述方法实施例中的对应过程,在此不再赘述。
在本申请所提供的几个实施例中,应该理解到,所揭露的系统,装置和方法,可以通过其它的方式实现。例如,以上所描述的装置实施例仅仅是示意性的,例如,所述单元的划分,仅仅为一种逻辑功能划分,实际实现时可以有另外的划分方式,例如多个单元或组件可以结合或者可以集成到另一个系统,或一些特征可以忽略,或不执行。另一点,所显示或讨论的相互之间的耦合或直接耦合或通信连接可以是通过一些接口,装置或单元的间接耦合或通信连接,可以是电性,机械或其它的形式。
所述作为分离部件说明的单元可以是或者也可以不是物理上分开的,作为单元显示的部件可以是或者也可以不是物理单元,即可以位于一个地方,或者也可以分布到多个网络单元上。可以根据实际的需要选择其中的部分或者全部单元来实现本实施例方案的目的。
另外,在本申请各个实施例中的各功能单元可以集成在一个处理单元中,也可以是各个单元单独物理存在,也可以两个或两个以上单元集成在一个单元中。上述集成的单元既可以采用硬件的形式实现,也可以采用软件功能单元的形式实现。
所述集成的单元如果以软件功能单元的形式实现并作为独立的产品销售或使用时,可以存储在一个计算机可读取存储介质中。基于这样的理解,本申请的技术方案本质上或者说对现有技术做出贡献的部分或者该技术方案的全部或部分可以以软件产品的形式体现出来,该计算机软件产品存储在一个存储介质中,包括若干指令用以使得一台计算机设备(可以是个人计算机,服务器,或者网络设备/服务器等)执行本申请各个实施例所述方法的全部或部分步骤。而前述的存储介质包括:U盘、移动硬盘、只读存储器、随机存取存储器、磁碟或者光盘等各种可以存储程序代码的介质。

Claims (22)

  1. 一种通信方法,其特征在于,包括:
    第一网络设备获取第一网络切片对应的第一链路层拓扑信息;
    所述第一网络设备获取第二网络切片对应的第二链路层拓扑信息;
    所述第一网络设备根据所述第一链路层拓扑信息和所述第二链路层拓扑信息,确定所述第二网络切片的链路层拓扑包含于所述第一网络切片的链路层拓扑中;
    所述第一网络设备接收第二网络设备发送的所述第一网络切片的网络层拓扑信息;
    所述第一网络设备根据所述第二链路层拓扑信息和所述第一网络切片的网络层拓扑信息,确定所述第二网络切片的网络层拓扑信息。
  2. 根据权利要求1所述的通信方法,其特征在于,所述方法还包括:
    第一网络设备根据所述第二网络切片的网络层拓扑信息计算所述第二网络切片上的隧道路径。
  3. 根据权利要求1或2所述的通信方法,其特征在于,
    所述第一网络设备根据所述第一链路层拓扑信息和所述第二链路层拓扑信息,确定所述第二网络切片的链路层拓扑包含于所述第一网络切片的链路层拓扑中,包括:
    在所述第二链路层拓扑的M个接口与所述第一链路层拓扑的M个接口分别位于M个物理接口时,所述第二网络切片的链路层拓扑包含于所述第一网络切片的链路层拓扑中,其中所述第二链路层拓扑的全部接口的数量为M,所述第一链路层拓扑的全部接口的数量为N,M小于或等于N,且M和N均为正整数。
  4. 根据权利要求1至3任意一项所述的通信方法,其特征在于,所述第一网络设备根据所述第二链路层拓扑信息和所述第一网络切片的网络层拓扑信息,确定所述第二网络切片的网络层拓扑信息,包括:
    在所述第一网络设备根据所述第二链路层拓扑信息,确定所述第二网络切片的链路层拓扑为所述第一网络切片的链路层拓扑中的部分拓扑时,所述第一网络设备确定第一链路层拓扑,所述第一链路层拓扑为所述第一网络切片的链路层拓扑中与所述第二网络切片的链路层拓扑相同的拓扑;
    所述第一网络设备根据所述第一链路层拓扑和所述第一网络切片的网络层拓扑信息,确定所述第二网络切片的网络层拓扑信息,所述第二网络切片的网络层拓扑信息为所述第一网络切片的网络层拓扑信息中与所述第一链路层拓扑对应的部分。
  5. 根据权利要求1至4任意一项所述的通信方法,其特征在于,所述第一网络设备根据所述第二链路层拓扑信息和所述第一网络切片的网络层拓扑信息,确定所述第二网络切片的网络层拓扑信息之前,所述方法还包括:
    所述第一网络设备获取第三网络切片对应的第三链路层拓扑信息;
    所述第一网络设备根据所述第三链路层拓扑信息和所述第二链路层拓扑信息,确定所述第二网络切片的链路层拓扑包含于所述第三网络切片的链路层拓扑中;
    所述第一网络设备接收第二网络设备发送的所述第三网络切片的网络层拓扑信息;
    基于所述第三网络切片的网络层拓扑信息和所述第一网络切片的网络层拓扑信息,所述第一网络设备确定采用所述第一网络切片的网络层拓扑信息来确定所述第二网络切片的网络层拓扑信息。
  6. 根据权利要求1至4任意一项所述的通信方法,其特征在于,所述第一网络切片的网络层拓扑信息包括基于最短路径算法确定的拓扑信息或基于灵活算法FlexAlgo确定的拓扑信息。
  7. 根据权利要求1至6任意一项所述的通信方法,其特征在于,所述第二网络切片的网络层拓扑信息包括内部网关协议IGP拓扑信息,所述IGP拓扑信息包括IP地址、链路开销COST值、时延、流量工程度量值TE metric、亲和属性以及共享风险链路组SRLG中的一个或多个。
  8. 根据权利要求1至7任意一项所述的通信方法,其特征在于,所述第一链路层拓扑信息还包括所述第一网络切片的标识和所述第一网络切片的带宽信息中的一个或多个;
    所述第二链路层拓扑信息还包括所述第二网络切片的标识和所述第二网络切片的带宽信息中的一个或多个。
  9. 根据权利要求1至8任意一项所述的通信方法,其特征在于,所述方法还包括:
    所述第一网络设备获取所述第二网络切片的算路需求;
    所述第一网络设备根据所述第二链路层拓扑信息和所述第二网络切片的网络层拓扑信息进行算路,得到算路结果;
    所述第一网络设备向所述第二网络设备发送所述算路结果,所述算路结果用于指示所述第二网络设备创建承载业务的隧道。
  10. 根据权利要求9所述的通信方法,其特征在于,所述算路结果包括资源预留协议RSVP隧道的算路结果、分段路由流量工程SR TE隧道的算路结果以及基于互联网协议第6版的分段路由SRv6隧道的算路结果中的一个或多个。
  11. 一种网络设备,包括:
    获取单元,用于获取第一网络切片对应的第一链路层拓扑信息;
    所述获取单元,还用于获取第二网络切片对应的第二链路层拓扑信息;
    处理单元,用于根据所述第一链路层拓扑信息和所述第二链路层拓扑信息,确定所述第二网络切片的链路层拓扑包含于所述第一网络切片的链路层拓扑中;
    接收单元,用于接收第二网络设备发送的所述第一网络切片的网络层拓扑信息;
    所述处理单元,还用于根据所述第二链路层拓扑信息和所述第一网络切片的网络层拓扑信息,确定所述第二网络切片的网络层拓扑信息。
  12. 根据权利要求11所述的网络设备,其特征在于,所述处理单元,还用于根据所述第二网络切片的网络层拓扑信息计算所述第二网络切片上的隧道路径。
  13. 根据权利要求11或12所述的网络设备,其特征在于,所述处理单元,还用于:
    在所述第二链路层拓扑的M个接口与所述第一链路层拓扑的M个接口分别位于M个物理接口时,确定所述第二网络切片的链路层拓扑包含于所述第一网络切片的链路层拓扑中,其中所述第二链路层拓扑的全部接口的数量为M,所述第一链路层拓扑的全部接口的数量为N,M小于或等于N,且M和N均为正整数。
  14. 根据权利要求11至13任意一项所述的网络设备,其特征在于,所述处理单元还用于:
    在根据所述第二链路层拓扑信息,确定所述第二网络切片的链路层拓扑为所述第一网络切片的链路层拓扑中的部分拓扑时,确定第一链路层拓扑,所述第一链路层拓扑为所述第一网络切片的链路层拓扑中与所述第二网络切片的链路层拓扑相同的拓扑;
    根据所述第一链路层拓扑和所述第一网络切片的网络层拓扑信息,确定所述第二网络切片的网络层拓扑信息,所述第二网络切片的网络层拓扑信息为所述第一网络切片的网络层拓扑信息中与所述第一链路层拓扑对应的部分。
  15. 根据权利要求11至14任意一项所述的网络设备,其特征在于,
    所述获取单元,还用于获取第三网络切片对应的第三链路层拓扑信息;
    所述处理单元,还用于根据所述第三链路层拓扑信息和所述第二链路层拓扑信息,确定所述第二网络切片的链路层拓扑包含于所述第三网络切片的链路层拓扑中;
    所述接收单元,还用于接收第二网络设备发送的所述第三网络切片的网络层拓扑信息;
    所述处理单元,还用于基于所述第三网络切片的网络层拓扑信息和所述第一网络切片的网络层拓扑信息,确定采用所述第一网络切片的网络层拓扑信息来确定所述第二网络切片的网络层拓扑信息。
  16. 根据权利要求11至14任意一项所述的网络设备,其特征在于,所述第一网络切片的网络层拓扑信息包括基于最短路径算法确定的拓扑信息或基于FlexAlgo确定的拓扑信息。
  17. 根据权利要求11至16任意一项所述的网络设备,其特征在于,所述第二网络切片的网络层拓扑信息包括内部网关协议IGP拓扑信息,所述IGP拓扑信息包括IP地址、链路 开销COST值、时延、TE metric、亲和属性以及SRLG中的一个或多个。
  18. 根据权利要求11至17任意一项所述的网络设备,其特征在于,所述第一链路层拓扑信息还包括所述第一网络切片的标识和所述第一网络切片的带宽信息中的一个或多个;所述第二链路层拓扑信息还包括所述第二网络切片的标识和所述第二网络切片的带宽信息中的一个或多个。
  19. 根据权利要求11至18任意一项所述的网络设备,其特征在于,还包括发送单元;
    所述获取单元,还用于获取所述第二网络切片的算路需求;
    所述处理单元,还用于根据所述第二链路层拓扑信息和所述第二网络切片的网络层拓扑信息进行算路,得到算路结果;
    所述发送单元,还用于向所述第二网络设备发送所述算路结果,所述算路结果用于指示所述第二网络设备创建承载业务的隧道。
  20. 根据权利要求19所述的网络设备,其特征在于,所述算路结果包括RSVP隧道的算路结果、SR TE隧道的算路结果以及SRv6隧道的算路结果中的一个或多个。
  21. 一种网络设备,其特征在于,包括:处理器、存储器;存储器用于存储指令;处理器用于执行存储器中的指令,使得所述网络设备执行如权利要求1至10任意一项所述的方法。
  22. 一种计算机可读存储介质,其特征在于,所述计算机存储介质中存储有计算机可读指令,当该计算机可读指令被处理器执行时实现如权利要求1至10任意一项所述的方法。
PCT/CN2021/107008 2020-08-26 2021-07-19 一种通信方法及相关装置 WO2022042133A1 (zh)

Priority Applications (5)

Application Number Priority Date Filing Date Title
EP21859973.6A EP4195595A4 (en) 2020-08-26 2021-07-19 COMMUNICATION METHOD AND ASSOCIATED DEVICE
JP2023513327A JP2023538688A (ja) 2020-08-26 2021-07-19 通信方法および関連装置
KR1020237007818A KR20230048528A (ko) 2020-08-26 2021-07-19 통신 방법과 관련 장치
CA3192013A CA3192013A1 (en) 2020-08-26 2021-07-19 Communication method and related apparatus
US18/175,402 US20230208722A1 (en) 2020-08-26 2023-02-27 Communication method and related apparatus

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN202010870809.5A CN114125876A (zh) 2020-08-26 2020-08-26 一种通信方法及相关装置
CN202010870809.5 2020-08-26

Related Child Applications (1)

Application Number Title Priority Date Filing Date
US18/175,402 Continuation US20230208722A1 (en) 2020-08-26 2023-02-27 Communication method and related apparatus

Publications (1)

Publication Number Publication Date
WO2022042133A1 true WO2022042133A1 (zh) 2022-03-03

Family

ID=80352614

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2021/107008 WO2022042133A1 (zh) 2020-08-26 2021-07-19 一种通信方法及相关装置

Country Status (7)

Country Link
US (1) US20230208722A1 (zh)
EP (1) EP4195595A4 (zh)
JP (1) JP2023538688A (zh)
KR (1) KR20230048528A (zh)
CN (1) CN114125876A (zh)
CA (1) CA3192013A1 (zh)
WO (1) WO2022042133A1 (zh)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN117544514B (zh) * 2024-01-09 2024-05-17 上海卫星互联网研究院有限公司 网络切片方法、装置

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110012475A (zh) * 2019-04-15 2019-07-12 鹰视云(深圳)科技有限公司 一种ad-hoc自组织网络的切片化架构及其构建方法
CN111049859A (zh) * 2019-12-27 2020-04-21 东南大学 一种基于拓扑分析的攻击流量分流和阻断方法
CN111224802A (zh) * 2018-11-23 2020-06-02 北京国基科技股份有限公司 基于snmp的数据链路层网络拓扑发现方法及装置
WO2020164229A1 (zh) * 2019-02-13 2020-08-20 烽火通信科技股份有限公司 用于sdn控制器的灵活以太网网络拓扑抽象方法及系统

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US10757576B2 (en) * 2016-08-05 2020-08-25 Nxgen Partners Ip, Llc SDR-based massive MIMO with V-RAN cloud architecture and SDN-based network slicing

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111224802A (zh) * 2018-11-23 2020-06-02 北京国基科技股份有限公司 基于snmp的数据链路层网络拓扑发现方法及装置
WO2020164229A1 (zh) * 2019-02-13 2020-08-20 烽火通信科技股份有限公司 用于sdn控制器的灵活以太网网络拓扑抽象方法及系统
CN110012475A (zh) * 2019-04-15 2019-07-12 鹰视云(深圳)科技有限公司 一种ad-hoc自组织网络的切片化架构及其构建方法
CN111049859A (zh) * 2019-12-27 2020-04-21 东南大学 一种基于拓扑分析的攻击流量分流和阻断方法

Non-Patent Citations (2)

* Cited by examiner, † Cited by third party
Title
HUAWEI, HISILICON: "TS 23.501: Network topology consideration", 3GPP DRAFT; S2-173135_23.501_NETWORK TOPOLOGY CONSIDERATION_V1.1, vol. SA WG2, 9 May 2017 (2017-05-09), Hangzhou, China, pages 1 - 11, XP051268602 *
See also references of EP4195595A4

Also Published As

Publication number Publication date
EP4195595A4 (en) 2024-01-03
JP2023538688A (ja) 2023-09-08
US20230208722A1 (en) 2023-06-29
CA3192013A1 (en) 2022-03-03
CN114125876A (zh) 2022-03-01
EP4195595A1 (en) 2023-06-14
KR20230048528A (ko) 2023-04-11

Similar Documents

Publication Publication Date Title
CN111541613B (zh) 一种基于SRv6的数据处理方法及相关设备
US10003531B2 (en) Method for establishing tunnel, method for allocating label, device and network system
CN102055665B (zh) 广播上或nbma上的ospf点到多点模式
CN111510378A (zh) Evpn报文处理方法、设备及系统
CN110324159B (zh) 链路配置方法、控制器和存储介质
EP3716529B1 (en) Tunneling inter-domain stateless internet protocol multicast packets
EP3054634A1 (en) Scheme for performing one-pass tunnel forwarding function on two-layer network structure
CN114095305A (zh) Bier报文转发的方法、设备以及系统
CN114465946B (zh) 获取转发表项的方法、装置以及系统
CN111355661B (zh) 一种vpn的处理方法和pe设备以及系统
CN113206787B (zh) 分段标识的处理方法及设备
WO2018058639A1 (zh) 伪线负载分担的方法和设备
CN113973082A (zh) 一种报文处理方法及网络设备
WO2023045871A1 (zh) 报文处理方法、网络设备及系统
WO2022042133A1 (zh) 一种通信方法及相关装置
EP4250649A1 (en) Packet forwarding method and apparatus, and network system
WO2022007702A1 (zh) 一种报文处理方法及网络设备
CN104158756B (zh) 一种集群系统对报文进行负载分担的方法和系统
US10164795B1 (en) Forming a multi-device layer 2 switched fabric using internet protocol (IP)-router / switched networks
WO2022166465A1 (zh) 一种报文处理方法及相关装置
CN117478503A (zh) 一种组播配置方法及装置
CN108259336B (zh) 数据中心互联方法和装置
CN114520762A (zh) BIERv6报文的发送方法以及第一网络设备
CN105991447A (zh) 分段路由标识sid的处理方法及装置
WO2023236880A1 (zh) 一种报文控制方法以及相关装置

Legal Events

Date Code Title Description
ENP Entry into the national phase

Ref document number: 3192013

Country of ref document: CA

ENP Entry into the national phase

Ref document number: 2023513327

Country of ref document: JP

Kind code of ref document: A

ENP Entry into the national phase

Ref document number: 20237007818

Country of ref document: KR

Kind code of ref document: A

ENP Entry into the national phase

Ref document number: 2021859973

Country of ref document: EP

Effective date: 20230307

NENP Non-entry into the national phase

Ref country code: DE

121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 21859973

Country of ref document: EP

Kind code of ref document: A1