WO2018072732A1 - 一种信息处理方法、装置和计算机存储介质 - Google Patents

一种信息处理方法、装置和计算机存储介质 Download PDF

Info

Publication number
WO2018072732A1
WO2018072732A1 PCT/CN2017/106882 CN2017106882W WO2018072732A1 WO 2018072732 A1 WO2018072732 A1 WO 2018072732A1 CN 2017106882 W CN2017106882 W CN 2017106882W WO 2018072732 A1 WO2018072732 A1 WO 2018072732A1
Authority
WO
WIPO (PCT)
Prior art keywords
node
bier
bit string
string length
length information
Prior art date
Application number
PCT/CN2017/106882
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 US16/089,102 priority Critical patent/US10749703B2/en
Priority to EP17861776.7A priority patent/EP3432527B1/en
Publication of WO2018072732A1 publication Critical patent/WO2018072732A1/zh

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L12/00Data switching networks
    • H04L12/02Details
    • H04L12/16Arrangements for providing special services to substations
    • H04L12/18Arrangements for providing special services to substations for broadcast or conference, e.g. multicast
    • H04L12/1886Arrangements for providing special services to substations for broadcast or conference, e.g. multicast with traffic restrictions for efficiency improvement, e.g. involving subnets or subdomains
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L12/00Data switching networks
    • H04L12/02Details
    • H04L12/16Arrangements for providing special services to substations
    • H04L12/18Arrangements for providing special services to substations for broadcast or conference, e.g. multicast
    • H04L12/1863Arrangements for providing special services to substations for broadcast or conference, e.g. multicast comprising mechanisms for improved reliability, e.g. status reports
    • H04L12/1877Measures taken prior to transmission
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L45/00Routing or path finding of packets in data switching networks
    • H04L45/14Routing performance; Theoretical aspects
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L45/00Routing or path finding of packets in data switching networks
    • H04L45/16Multipoint routing
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L47/00Traffic control in data switching networks
    • H04L47/10Flow control; Congestion control
    • H04L47/35Flow control; Congestion control by embedding flow control information in regular packets, e.g. piggybacking
    • 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/80Actions related to the user profile or the type of traffic
    • H04L47/806Broadcast or multicast traffic
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L2212/00Encapsulation of packets
    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02DCLIMATE CHANGE MITIGATION TECHNOLOGIES IN INFORMATION AND COMMUNICATION TECHNOLOGIES [ICT], I.E. INFORMATION AND COMMUNICATION TECHNOLOGIES AIMING AT THE REDUCTION OF THEIR OWN ENERGY USE
    • Y02D30/00Reducing energy consumption in communication networks

Definitions

  • the present disclosure relates to communication technologies, and in particular, to an information processing method and apparatus, and a computer storage medium.
  • Multicast technology plays an increasingly important role in the current Internet.
  • IPTV Internet-based (Net-Meeting), live broadcast, etc. all use multicast technology.
  • the BIER technology is used for multicast forwarding, and the multicast state of the network intermediate node is removed. Only the multicast forwarding can be performed according to the BIER bit string to reach the corresponding destination node, thus greatly simplifying the network control.
  • an embodiment of the present invention provides an information processing method and apparatus.
  • An embodiment of the present invention provides an information processing method, which is applied to a first node, where the method includes:
  • LLDPDU Link Layer Discovery Protocol Data Unit
  • the second node is a neighboring node of the first node
  • the BIER bit string length information of the first node is used for forwarding BIER traffic.
  • the BIER bit string length information of the first node is a type-length-value (TLV, Type-Length-Value) of a new type defined by a Link Layer Discovery Protocol (LLDP). ) Identification.
  • TLV Type-Length-Value
  • LLDP Link Layer Discovery Protocol
  • the value of the BIER bit string length information of the new type of TLV identifier is at least one specific bit string length value.
  • the value of the BIER bit string length information of the new type of TLV identifier is one byte, and each bit in the byte identifies a bit string length value.
  • the value of the BIER bit string length information of the new type of TLV identifier is at least two A byte, each byte or a specific number of bits of the at least two bytes identifies a bit string length value.
  • the method further includes:
  • the BIER bit string length information of the first node is obtained.
  • the method further includes:
  • the BIER bit string length information of the first node is obtained according to the received BIER bit string length information of the first node sent by the controller.
  • An embodiment of the present invention further provides an information processing method, which is applied to a second node, where the method includes:
  • the first node is an adjacent node of the second node.
  • the BIER bit string length information of the first node is identified by a new type of TLV defined by the LLDP.
  • the BIER traffic is forwarded by using the BIER bit string length information of the first node, including:
  • the bit string length information of the BIER header is modified by using the BIER bit string length information of the first node.
  • An embodiment of the present invention further provides an information processing apparatus, including:
  • a packaging unit configured to encapsulate the BIER bit string length information of the first node in the LLDPDU
  • a sending unit configured to send the LLDPDU to a second node; where the second node is a neighboring node of the first node, where
  • the BIER bit string length information of the first node is used for forwarding BIER traffic.
  • the apparatus further includes:
  • an obtaining unit configured to obtain BIER bit string length information of the first node by using configuration information of the first node.
  • the apparatus further includes:
  • an obtaining unit configured to obtain BIER bit string length information of the first node according to the received BIER bit string length information of the first node sent by the controller.
  • An embodiment of the present invention further provides an information processing apparatus, including:
  • a receiving unit configured to receive an LLD PDU sent by the first node
  • a parsing unit configured to parse the LLDPDU to obtain BIER bit string length information of the first node
  • a forwarding unit configured to perform BIER traffic forwarding by using BIER bit string length information of the first node
  • the first node is an adjacent node of the second node.
  • the forwarding unit is specifically configured to:
  • the bit string length information of the BIER header is modified by using the BIER bit string length information of the first node.
  • the embodiment of the invention further provides a computer storage medium, wherein the computer storage medium stores a computer executable One or more programs of a line, the one or more programs being executed by the computer to cause the computer to perform any one of the information processing methods described above or a combination thereof.
  • the first node encapsulates the BIER bit string length information of the first node in the LLD PDU; and sends the LLD PDU to the second node;
  • the second node receives the LLDPDU sent by the first node, parses the LLD PDU, obtains the BIER bit length information of the first node, and performs BIER according to the BIER bit length information of the first node.
  • the forwarding of traffic, the BIER bit string length information of the node is transmitted to the neighboring nodes in the network through the LLDPDU, and the BIER bit string length information of the nodes in the layer 2 network is transmitted, so that the node can accurately know the BIER bit of the adjacent node.
  • the length information of the string is forwarded according to the length information of the BIER bit string of the adjacent node, thereby effectively avoiding the traffic error handling or loss caused by the inconsistent processing capability of the bit string length of the node.
  • FIG. 1 is a schematic diagram of a BIER packet forwarding process in the related art
  • FIG. 2 is a schematic flowchart of an information processing method on a first node side according to an embodiment of the present invention
  • FIG. 3 is a schematic structural diagram of a new type of TLV extended according to an embodiment of the present invention.
  • FIG. 4 is a schematic flowchart of an information processing method on a second node side according to an embodiment of the present invention.
  • FIG. 5 is a schematic flowchart of an information processing method according to an embodiment of the present invention.
  • FIG. 6 is a schematic flowchart of a process of node information transmission according to Embodiment 2 of the present invention.
  • FIG. 7 is a schematic diagram of a process of information transfer of a layer 2 network node shown in FIG. 1 according to Embodiment 3 of the present invention.
  • FIG. 8 is a schematic structural diagram of another extended new type of TLV according to an embodiment of the present invention.
  • FIG. 9 is a schematic structural diagram of an information processing apparatus disposed on a first node according to Embodiment 5 of the present invention.
  • FIG. 10 is a schematic structural diagram of an information processing apparatus disposed on a second node according to Embodiment 5 of the present invention.
  • FIG. 11 is a schematic structural diagram of an information processing system according to Embodiment 5 of the present invention.
  • protocols used by multicast technologies include: PIM, IGMP, and MLD.
  • PIM Packet Identity
  • IGMP IGMP
  • MLD multicast Label Distribution Protocol
  • P2MP TE Point-to-MultiPoint Traffic Engineering
  • BIER Backbone Energy
  • the nodes in the network are represented by only one BIT bit.
  • IP Internet Protocol
  • the form is presented, but a specific header is encapsulated, that is, the BIER header.
  • This header indicates all destination nodes of the multicast stream in the form of BIT bits.
  • the intermediate network routes according to the BIT bit to ensure traffic can be guaranteed. Sent to all destination nodes.
  • the BIER technology is used for multicast forwarding, which removes the multicast status of the intermediate nodes of the network. Only the multicast forwarding can be performed according to the BIER bit string to reach the corresponding destination node, thus greatly simplifying the network control.
  • the BIER bit string information may be a set of BIT bits of an egress node of a specific stream, or may be a set of BIT bits of an intermediate link through which traffic needs to pass.
  • the forwarding nodes participating in the forwarding need to perform bit-by-bit matching according to the bit string and forward it. Because of the different network sizes, the set of BIT bits of the egress node in the BIER header is a variable length, which is called the bit string length (BSL, Bit String Length).
  • 32-bit BIT bits can be used to identify all egress nodes.
  • more BIT bits can be used, such as 512 bits, 1024 bits or even 4096 bits.
  • Export node information Forwarding devices often choose a specific bit string length for multicast forwarding, thereby achieving optimal forwarding efficiency.
  • the BIER technology can bring good optimization effects to the multicast of the Layer 3 network.
  • the BIER technology can also eliminate the node multicast status in the Layer 2 network, which also brings great optimization effects.
  • the BIT bit length support information of each forwarding node does not have an effective means for advertising, so that black holes are likely to occur during forwarding, resulting in traffic loss.
  • two adjacent forwarding nodes are implemented by different vendors or span different types of networks. Therefore, the lengths of BIER header strings supported by the two are inconsistent.
  • One forwarding node uses 256 bits for forwarding, and the other supports only the maximum.
  • Node3 cannot process the packet normally, and the packet cannot be correctly forwarded to the downstream nodes Node5 and Node6. Or, because of the error processing of the Node3, the packet is forwarded only to the downstream node Node5, but cannot be forwarded to the Node6, which causes the loss of traffic. Even due to the error handling of the Node3, the packet is forwarded to the packet that should not be forwarded. node.
  • LLDP is a vendor-independent Layer 2 protocol that allows network devices to advertise their device identification and performance in the local subnet.
  • LLDP provides a standard link layer discovery mode, which can be used to organize the main device, management address, device identifier, and interface identifier of the local device into different TLVs and encapsulate them in LLDPDUs for direct connection with themselves. Neighbors and neighbors receive this information and save it in the form of a Management Information Base (MIB) for the network management system to query and determine the communication status of the link.
  • MIB Management Information Base
  • LLDP is a proximity discovery protocol. It is an Ethernet network device (such as switches, routers, etc.) and A WLAN access point defines a standard method that allows it to advertise its presence to other nodes in the network and to store discovery information for each neighboring device. Details such as device configuration and device identification can be advertised using this protocol. Specifically, LLDP defines a general announcement information set, a protocol for transmitting announcements, and a method for storing received announcement information. A device that advertises its own information may transmit a plurality of pieces of announcement information in a LAN packet, and the transmission form is a TLV domain.
  • the first node encapsulates its own BIER bit string length information in the LLD PDU; and sends the LLD PDU to the second node; the second node is the first a neighboring node of the node; wherein the BIER bit string length information of the first node is identified by a new type of TLV defined by the LLDP; and the second node receives the LLD PDU sent by the first node, parses the LLD PDU, and obtains the first node.
  • the BIER bit string length information is used to forward the BIER traffic according to the BIER bit string length information of the first node.
  • An embodiment of the present invention provides an information processing method, specifically, an information transmission method, and more specifically, a node information transmission method, which is applied to a first node, as shown in FIG. 2, the method includes the following steps. :
  • Step 201 Encapsulate the BIER bit string length information of the first node in the LLDPDU.
  • the BIER bit string length information of the first node may be identified by a new type of TLV defined by the LLDP.
  • the new type of TLV refers to a new type of TLV defined by the LLDP extension on the basis of the current LLDP.
  • the new type of TLV may be a brand new TLV, or may be existing A new TLV is obtained by adding BIER bit string length information to the TLV.
  • the value of the BIER bit string length information of the new type of TLV identifier may be at least one specific bit string length value supported by the first node.
  • bit string length values that the first node would most like to process such as 128.
  • bit string length values supported by the first node such as 128, 256, 512, etc., may also be listed.
  • the value of the BIER bit string length information of the new type of TLV identifier is one byte, and each bit in the byte identifies a bit string length value.
  • the value used to identify the bit string length information in the TLV is 1 byte, and each bit of the byte is used to identify a bit string length, such as from Starting from the rightmost position, the first bit identifies that the BIER bit string supported by the first node is 64 bits; the second bit identifies that the BIER bit string supported by the first node is 128 bits long; the third bit identifies the BIER bit supported by the first node.
  • the string length is 256 bits, and so on.
  • bit length supported by the node is sufficient, it can also be identified by multiple bytes.
  • the value of the BIER bit string length information of the new type of TLV identifier is at least two bytes, and each byte or a specific number of bits of the at least two bytes identifies one bit String length value.
  • the BIER bit string length information of the first node may be directly configured on the first node.
  • the method may further include:
  • the BIER bit string length information of the first node is obtained.
  • the BIER bit string length information of the first node may also be sent by the controller to the first node.
  • the method may further include:
  • the BIER bit string length information of the first node is obtained according to the received BIER bit string length information of the first node sent by the controller.
  • the controller refers to a controller in a layer 2 network, and the embodiment of the present invention does not limit the specific implementation of the controller.
  • Step 202 Send the LLDPDU to the second node.
  • the second node is a neighboring node of the first node.
  • the BIER bit string length information of the first node is used for forwarding BIER traffic.
  • the second node may forward the BIER traffic according to the BIER bit length information of the first node, that is, forward to the first node.
  • the second node In order to implement the transfer of node information and implement the function of the node information, the second node also needs to perform operations corresponding to the existing nodes.
  • an embodiment of the present invention further provides an information processing method, specifically, an information transmission method, and more specifically, a node information transmission method, which is applied to a second node, as shown in FIG. 4,
  • the method includes the following steps:
  • Step 401 Receive an LLDPDU sent by the first node.
  • the first node is a neighboring node of the second node.
  • Step 402 Parse the LLDPDU to obtain BIER bit string length information of the first node.
  • the BIER bit string length information of the first node is identified by a new type of TLV defined by the LLDP.
  • Step 403 Perform BIER traffic forwarding by using BIER bit string length information of the first node.
  • the second node forwards the BIER traffic according to the BIER bit length information of the first node, that is, forwards the BIER packet to the first node.
  • the second node modifies the bit string length information of the BIER header by using the BIER bit string length information of the first node to forward the BIER message to the first node.
  • the second node modifies the egress node bit length information in the BIER header by using the BIER bit string length information of the first node to forward the BIER message to the first node.
  • An embodiment of the present invention further provides an information processing method. As shown in FIG. 5, the method includes the following steps:
  • Step 501 The first node encapsulates its own BIER bit string length information in the LLDPDU.
  • the BIER bit string length information of the first node is identified by a new type of TLV defined by the LLDP.
  • Step 502 Send the LLDPDU to the second node.
  • the second node is a neighboring node of the first node.
  • the number of the second nodes may be at least one according to a network topology relationship.
  • Step 503 The second node receives the LLDPDU sent by the first node.
  • Step 504 The second node parses the LLD PDU to obtain BIER bit string length information of the first node.
  • Step 505 The second node uses the BIER bit string length information of the first node to forward the BIER traffic.
  • the first node encapsulates the BIER bit string length information of the first node in the LLD PDU; and sends the LLD PDU to the second node; the second node is the first node
  • the second node receives the LLDPDU sent by the first node, parses the LLDPDU, obtains the BIER bit length information of the first node, and forwards the BIER traffic according to the BIER bit length information of the first node,
  • the BIER bit string length information of the node is transmitted to the neighboring nodes in the network through the LLDPDU, and the BIER bit string length information of the nodes in the layer 2 network is transmitted, so that the node can accurately know the BIER bit string length information of the adjacent node.
  • the traffic is forwarded according to the length information of the BIER bit string of the adjacent node, thereby effectively avoiding traffic error processing or loss caused by the inconsistent processing capability of the bit string length of the node.
  • This embodiment describes the process of node information transmission in detail on the basis of the first embodiment.
  • the process mainly includes the following steps:
  • Step 600 Extend a new type of TLV in LLDP to identify BIER bit string length information of the first node.
  • the value of the new type of TLV identifying the BIER bit string length information of the node may be a specific bit string length value, or several specific bit string length values, ie, the value may be at least one specific bit string length value.
  • the value may be at least one specific bit string length value. For example, it is possible to list only the bit string length values that the first node wishes to process, such as 128. It is also possible to list a plurality of bit string length values that the first node can support, 128, 256, 512, and the like.
  • the BIER bit string length information of the first node may be directly configured on the first node or may be delivered by the controller.
  • Step 601 The first node advertises an LLDP PDU including a new type of TLV to each neighboring node according to the LLDP.
  • the new type of TLV identifies the BIER bit string length information of the first node.
  • Step 602 Each neighboring node receives the LLDP PDU, and obtains BIER bit string length information of the first node.
  • the neighboring node may perform BIER traffic forwarding according to the length of the BIER bit string supported by the first node, such as modifying the bit string encapsulation length of the BIER header during forwarding.
  • Node3 advertises the supported BIER bit string length information (128 bits) to Node1 through the LLDP extended new type TLV.
  • Node1 performs traffic forwarding
  • the length information of the egress node bit string in the BIER header of the message sent to the Node3 node is modified to a 128-bit bit string length letter. Therefore, Node3 can correctly process the BIER message and correctly complete the forwarding.
  • the solution of the embodiment of the present invention combines the LLDP and BIER technologies, and carries the BIER bit string length information supported by the node through the extended TLV of the LLDP, thereby being transmitted to the adjacent nodes in the network, thereby realizing
  • the transmission of the length information of the node BIER bit string in the layer 2 network avoids the traffic error handling or loss caused by the inconsistent processing capability of the bit string length of the node.
  • the bit string encapsulation of the BIER header can be performed according to the processing capability of the next node, thereby avoiding traffic processing error and loss due to non-uniform support of the bit length of the BIER header.
  • the solution provided by the embodiment of the present invention can greatly improve the application of the BIER technology in the Layer 2 network, and improve the reliability and scalability of the network.
  • This embodiment uses the Layer 2 network shown in FIG. 1 as an example to describe the transmission process of each node information in detail.
  • the LIER is used to extend the BIER bit length information of the advertising node.
  • the Node6 will announce its own supported BIER bit length information (64/32 bits) to Node3.
  • Node3 will announce its own supported BIER bit string length information (128 bits) to Node1.
  • the Node3 and Node6 announcements are only partial examples.
  • each node will interact with each other to support the BIER bit length information, which is not limited to the two nodes. That is to say, the other nodes in FIG. 7 also advertise the BIER bit string length information supported by the neighboring nodes, and thus each node will know the BIER bit string length support of the adjacent node.
  • Node1 When performing traffic forwarding, Node1 adjusts the length of the BIER header string of the transmitted message to 128 bits according to the BIER bit string support condition (128 bits) of Node3. Similarly, Node3 adjusts the length of the BIER header string of the transmitted message to 64 bits according to the BIER bit string support of Node6. As a result, there is no longer a case where the processing error of Node3 and Node6 causes an error stream or a lost stream.
  • This embodiment describes how to use the new type of TLV identifier on the basis of the first, second, and third embodiments.
  • the new type of TLV that identifies the BIER bit string length information of the node may be a brand new TLV, or a new TLV obtained by adding BIER bit string length information to the existing TLV.
  • the value used to identify the bit string length information is 1 byte, and each bit of the byte is used to identify a bit string length, for example, Starting from the rightmost bit, the bit length supported by the first bit identification node is 64 bits; the bit length supported by the second bit identification node is 128 bits; the bit length supported by the third bit identification node is 256 bits. analogy.
  • the device implementation and the application scenario may be different, and the minimum bit string length may start from 32 bits or 16 bits, which is not limited in this embodiment of the present invention.
  • the bit length supported by the node is sufficient, it can be identified by multiple bytes.
  • the supported bit string lengths are listed to And the specific bit string length value.
  • This method is also just an example and is not a complete definition of the format.
  • the embodiment provides an information processing apparatus, specifically, an information transmission apparatus, and more specifically, a node information transmission apparatus, which is disposed on a first node, as shown in the figure.
  • the device includes:
  • the encapsulating unit 91 is configured to encapsulate the BIER bit string length information of the first node in the LLDPDU;
  • a sending unit 92 configured to send the LLDPDU to a second node, where the second node is a neighboring node of the first node, where
  • the BIER bit string length information of the first node is used for forwarding BIER traffic.
  • the BIER bit string length information of the first node may be identified by a new type of TLV defined by the LLDP.
  • the new type of TLV refers to a new type of TLV defined by the LLDP extension on the basis of the current LLDP.
  • the new type of TLV may be a brand new TLV, or may be existing A new TLV is obtained by adding BIER bit string length information to the TLV.
  • the value of the BIER bit string length information of the new type of TLV identifier may be at least one specific bit string length value supported by the first node.
  • bit string length values that the first node would most like to process such as 128.
  • bit string length values supported by the first node such as 128, 256, 512, etc., may also be listed.
  • the value of the BIER bit string length information of the new type of TLV identifier is one byte, and each bit in the byte identifies a bit string length value.
  • the value used to identify the bit string length information in the TLV is 1 byte, and each bit of the byte is used to identify a bit string length, such as from Starting from the rightmost position, the first bit identifies that the BIER bit string supported by the first node is 64 bits; the second bit identifies that the BIER bit string supported by the first node is 128 bits long; the third bit identifies the BIER bit supported by the first node.
  • the string length is 256 bits, and so on.
  • bit length supported by the node is sufficient, it can also be identified by multiple bytes.
  • the value of the BIER bit string length information of the new type of TLV identifier is at least two bytes, and each byte or a specific number of bits of the at least two bytes identifies one bit String length value.
  • the BIER bit string length information of the first node may be directly configured on the first node.
  • the apparatus may further include:
  • an obtaining unit configured to obtain BIER bit string length information of the first node by using configuration information of the first node.
  • the BIER bit string length information of the first node may also be sent by the controller to the first node.
  • the obtaining unit is configured to:
  • the BIER bit string length information of the first node is obtained according to the received BIER bit string length information of the first node sent by the controller.
  • controller refers to a controller in a layer 2 network, and the embodiment of the present invention does not implement the specific implementation of the controller. Line limit.
  • the BIER bit string length information of the first node is used for forwarding BIER traffic.
  • the second node may forward the BIER traffic according to the BIER bit length information of the first node, that is, forward the BIER packet to the first node.
  • the encapsulating unit 91 and the obtaining unit may be a central processing unit (CPU), a micro control unit (MCU), and a digital signal processor (DSP, Digital Signal Processor) in the information processing device. Or implemented by a Field-Programmable Gate Array (FPGA); the transmitting unit 92 can be implemented by a transceiver in the information processing apparatus.
  • CPU central processing unit
  • MCU micro control unit
  • DSP Digital Signal Processor
  • FPGA Field-Programmable Gate Array
  • the transmitting unit 92 can be implemented by a transceiver in the information processing apparatus.
  • the embodiment further provides an information processing apparatus, in particular, an information transmission apparatus, and more specifically, a node information transmission apparatus, which is disposed on the second node.
  • an information processing apparatus in particular, an information transmission apparatus, and more specifically, a node information transmission apparatus, which is disposed on the second node.
  • the device includes:
  • the receiving unit 101 is configured to receive an LLD PDU sent by the first node.
  • the parsing unit 102 is configured to parse the LLDPDU to obtain BIER bit string length information of the first node;
  • the forwarding unit 103 is configured to perform BIER traffic forwarding by using the BIER bit string length information of the first node, where
  • the first node is an adjacent node of the second node.
  • the forwarding unit 103 forwards the BIER traffic according to the BIER bit string length information of the first node, that is, forwards to the first node.
  • the BIER bit string length information of the first node may be identified by a new type of TLV defined by the LLDP.
  • the forwarding unit 103 is specifically configured to:
  • bit string length information of the BIER header is modified to forward the BIER message to the first node.
  • the forwarding unit 103 uses the BIER bit string length information of the first node to modify the egress node bit length information in the BIER header to forward the BIER message to the first node.
  • the receiving unit 101 may be implemented by a transceiver in an information processing apparatus
  • the parsing unit 102 may be implemented by a CPU, an MCU, a DSP, or an FPGA in the information processing apparatus
  • the forwarding unit 103 may be a CPU in the information processing apparatus
  • the MCU, DSP or FPGA is implemented in conjunction with the transceiver.
  • the embodiment further provides an information processing system. As shown in FIG. 11, the system includes:
  • the first node 111 is configured to encapsulate its own BIER bit string length information in the LLD PDU; and send the LLD PDU to the second node 112;
  • a second node 112 configured to receive an LLDPDU sent by the first node 111; parse the LLDPDU, and obtain BIER bit string length information to the first node; and BIER traffic forwarding using the BIER bit string length information of the first node.
  • the second node 112 is an adjacent node of the first node 111.
  • the BIER bit string length information of the first node may be identified by a new type of TLV defined by the LLDP.
  • embodiments of the present invention can be provided as a method, system, or computer program product. Accordingly, the present invention can take the form of a hardware embodiment, a software embodiment, or a combination of software and hardware. Moreover, the invention can take the form of a computer program product embodied on one or more computer-usable storage media (including but not limited to disk storage and optical storage, etc.) including computer usable program code.
  • the computer program instructions can also be stored in a computer readable memory that can direct a computer or other programmable data processing device to operate in a particular manner, such that the instructions stored in the computer readable memory produce an article of manufacture comprising the instruction device.
  • the apparatus implements the functions specified in one or more blocks of a flow or a flow and/or block diagram of the flowchart.
  • These computer program instructions can also be loaded onto a computer or other programmable data processing device such that a series of operational steps are performed on a computer or other programmable device to produce computer-implemented processing for execution on a computer or other programmable device.
  • the instructions provide steps for implementing the functions specified in one or more of the flow or in a block or blocks of a flow diagram.
  • the technical solution provided by the embodiment of the present invention designs a communication technology.
  • the technical solution provided by the embodiment of the present invention implements the BIER bit string length information transmission of the node in the layer 2 network, so that the node can accurately know the BIER bit string length information of the adjacent node, and according to the length of the BIER bit string of the adjacent node.
  • the information is forwarded by traffic, thereby effectively avoiding traffic error handling or loss caused by inconsistent processing capability of the bit string length of the node.

Abstract

本公开涉及一种信息处理方法,包括:将第一节点的位索引显式复制BIER位串长度信息封装在链路层发现协议数据单元(LLDPDU)中;将所述LLDPDU发送给第二节点;所述第二节点为所述第一节点的相邻节点;其中,所述第一节点的BIER位串长度信息用于进行BIER流量的转发。本公开同时还涉及一种信息处理装置。 (图2)

Description

一种信息处理方法、装置和计算机存储介质 技术领域
本公开涉及通信技术,尤其涉及一种信息处理方法及装置和计算机存储介质。
背景技术
组播技术在现在的互联网发挥着越来越重要的作用,交互式网络电视(IPTV,Interactive Personality TV)、网络会议(Net-Meeting)、赛况直播等都使用到了组播技术。
然而,随着技术的发展,现在的发展方向倾向于骨干网络中并不运行传统的组播协议(已有的组播协议,包括:协议无关组播(PIM,Protocol Independent Multicast)、互联网组管理协议(IGMP,Internet Control Message Protocol)、组播侦听发现协议(MLD,Multicast Listener Discovery Protocol)等),而是依靠其他技术来完成组播流量的传输。比较常用的技术包括位索引显式复制(BIER,Bit Indexed Explicit Replication)技术等。
其中,使用BIER技术进行组播转发,去除了网络中间节点的组播状态,仅可根据BIER位串进行组播转发就能达到相对应的目的节点,因此大大简化了网络的控制。
然而,在二层网络中,由于没有有效的手段对各转发节点的BIT位串长度支持信息进行通告,由此在进行组播转发时极可能出现错误处理,甚至造成流量丢失。
发明内容
为解决现有存在的技术问题,本发明实施例提供一种信息处理方法及装置。
本发明实施例的技术方案是这样实现的:
本发明实施例提供了一种信息处理方法,应用于第一节点,所述方法包括:
将第一节点的BIER位串长度信息封装在链路层发现协议数据单元(LLDPDU,Link Layer Discovery Protocol Data Unit)中;
将所述LLDPDU发送给第二节点;所述第二节点为所述第一节点的相邻节点;其中,
所述第一节点的BIER位串长度信息用于进行BIER流量的转发。
根据一个示例性实施例,所述第一节点的BIER位串长度信息由链路层发现协议(LLDP,Link Layer Discovery Protocol)定义的新类型的类型-长度-值(TLV,Type-Length-Value)标识。
根据一个示例性实施例,所述新类型的TLV标识的BIER位串长度信息的值为至少一个特定位串长度数值。
根据一个示例性实施例,所述新类型的TLV标识的BIER位串长度信息的值为一个字节,所述字节中的每一位标识一个位串长度数值。
根据一个示例性实施例,所述新类型的TLV标识的BIER位串长度信息的值为至少两 个字节,每个字节或者所述至少两个字节中的特定数量的位标识一个位串长度数值。
根据一个示例性实施例,所述方法还包括:
利用自身的配置信息,得到所述第一节点的BIER位串长度信息。
根据一个示例性实施例,所述方法还包括:
根据接收的控制器下发的第一节点的BIER位串长度信息,得到所述第一节点的BIER位串长度信息。
本发明实施例还提供了一种信息处理方法,应用于第二节点,所述方法包括:
接收第一节点发送的LLDPDU;
解析所述LLDPDU,得到所述第一节点的BIER位串长度信息;
利用所述第一节点的BIER位串长度信息,进行BIER流量的转发;其中,
所述第一节点为所述第二节点的相邻节点。
根据一个示例性实施例,所述第一节点的BIER位串长度信息由LLDP定义的新类型的TLV标识。
根据一个示例性实施例,利用所述第一节点的BIER位串长度信息,进行BIER流量的转发,包括:
利用所述第一节点的BIER位串长度信息,修改BIER头的位串长度信息。
本发明实施例又提供了一种信息处理装置,包括:
封装单元,用于将第一节点的BIER位串长度信息封装在LLDPDU中;
发送单元,用于将所述LLDPDU发送给第二节点;所述第二节点为所述第一节点的相邻节点;其中,
所述第一节点的BIER位串长度信息用于进行BIER流量的转发。
根据一个示例性实施例,所述装置还包括:
获取单元,用于利用自身的配置信息,得到所述第一节点的BIER位串长度信息。
根据一个示例性实施例,所述装置还包括:
获取单元,用于根据接收的控制器下发的第一节点的BIER位串长度信息,得到所述第一节点的BIER位串长度信息。
本发明实施例还提供了一种信息处理装置,包括:
接收单元,用于接收第一节点发送的LLDPDU;
解析单元,用于解析所述LLDPDU,得到所述第一节点的BIER位串长度信息;
转发单元,用于利用所述第一节点的BIER位串长度信息,进行BIER流量的转发;其中,
所述第一节点为所述第二节点的相邻节点。
根据一个示例性实施例,所述转发单元,具体用于:
利用所述第一节点的BIER位串长度信息,修改BIER头的位串长度信息。
本发明实施例还提供计算机存储介质,所述计算机存储介质中存储有计算机可执 行的一个或多个程序,所述一个或多个程序被所述计算机执行时使所述计算机可以执行上述任意一种信息处理方法或它们的组合。
在本发明实施例提供的信息处理方法及装置中,第一节点将第一节点的BIER位串长度信息封装在LLDPDU中;并将所述LLDPDU发送给第二节点;所述第二节点为所述第一节点的相邻节点;而第二节点接收第一节点发送的LLDPDU,解析所述LLDPDU,得到第一节点的BIER位串长度信息,根据第一节点的BIER位串长度信息,进行BIER流量的转发,通过LLDPDU将节点的BIER位串长度信息传递给网络中的相邻节点,实现了二层网络中节点的BIER位串长度信息的传递,使节点可以准确获知相邻节点的BIER位串长度信息,并根据相邻节点的BIER位串长度信息进行流量转发,从而有效地避免了由于节点的位串长度处理能力不一致而引起的流量错误处理或丢失。
附图说明
在附图(其不一定是按比例绘制的)中,相似的附图标记可在不同的视图中描述相似的部件。具有不同字母后缀的相似附图标记可表示相似部件的不同示例。附图以示例而非限制的方式大体示出了本文中所讨论的各个实施例。
图1为相关技术中BIER报文转发过程示意图;
图2为本发明实施例一第一节点侧的信息处理方法流程示意图;
图3为本发明实施例扩展的新类型的TLV结构示意图;
图4为本发明实施例一第二节点侧的信息处理方法流程示意图;
图5为本发明实施例一信息处理方法流程示意图;
图6为本发明实施例二节点信息传递的过程流程示意图;
图7为本发明实施例三图1所示的二层网络节点信息传递过程示意图;
图8为本发明实施例另一种扩展的新类型的TLV结构示意图;
图9为本发明实施例五设置在第一节点上的信息处理装置结构示意图;
图10为本发明实施例五设置在第二节点上的信息处理装置结构示意图;
图11为本发明实施例五信息处理系统结构示意图。
具体实施方式
下面结合附图及实施例对本发明再作进一步详细的描述。
目前组播技术所使用的协议包括:PIM、IGMP、MLD等。在最初的小型应用场景下,这些组播协议可以满足用户的需求。但随着组播应用越来越广泛,组网形式越来越复杂,这些组播协议直接应用在互联网络中时,往往会由于骨干网络中的组播状态过多而占用了中间节点的大量控制资源及信令交互,并且不能很好地支持现在广泛应用的虚拟专用网络(VPN,Virtual Private Network)技术发展。目前能够解决这些问题的相关技术包括:组播标签分发协议(MLDP,Multicast Label Distribution Protocol)技术、点对多点流量工程 (P2MP TE,Point-to-MultiPoint Traffic Engineering)技术,BIER技术等。
其中,BIER技术的核心思想是:将网络中的节点都只用一个BIT位来表示,组播流量在中间网络传输时,不是以组播网络之间互连的协议(IP,Internet Protocol)包形式呈现,而是封装了一个特定的报文头,即BIER头,这个报文头以BIT位的形式标注了该组播流的所有目的节点,中间网络根据BIT位进行路由,以保障流量能够发送到所有目的节点。
使用BIER技术进行组播转发,去除了网络中间节点的组播状态,仅可根据BIER位串进行组播转发就能达到相对应的目的节点,因此大大简化了网络的控制。这里,BIER位串信息可以是特定流的出口节点BIT位集合,也可以是流量需要经过的中间链路的BIT位集合。参与转发的转发节点都需要根据位串进行逐位的匹配并进行转发。因为网络规模不同,BIER头中的出口节点BIT位集合是可变的长度,该长度称之为位串长度(BSL,Bit String Length)。比如在规模较小的网络中,使用32位BIT位即可标识所有的出口节点,在规模较大的网络中,则可以使用更多的BIT位,比如512位,1024位甚至4096位来标识出口节点信息。转发设备往往会选择特定的位串长度来进行组播转发,从而实现最佳转发效率。
BIER技术对三层网络的组播能够带来很好的优化效果,同样,在二层网络中,BIER技术也能消除二层网络中的节点组播状态,同样带来巨大的优化效果。但在二层网络中,对于各转发节点的BIT位串长度支持信息,并没有有效的手段进行通告,由此在转发时极可能出现黑洞,造成流量丢失。比如,相邻的两个转发节点分属不同厂商实现,或者跨越不同类型的网络,所以二者支持的BIER头位串长度不一致,一个转发节点采用256位进行转发,而另一个最大只能支持128位处理能力,这样在二者一起转发BIER流量时,因为BIER头的位串长度信息不匹配,造成流量处理错误甚至丢失。再详细点说,如图1所示,假设图1所示的二层网络中使用BIER技术进行报文转发,上游节点Node1转发报文时,采用位串长度是256位的BIER头封装方式发送给下游节点Node2和Node3,Node2和Node3处理报文时,由于本地可支持256位的BIER头位串长度,所以Node2可以将报文正常转发到下一节点Node4。但由于本地最大只支持128位的位串长度,所以Node3不能对该报文进行正常处理,导致不能正确转发到下游节点Node5和Node6。或者,也有可能由于Node3的错误处理,造成报文只转发给下游节点Node5,而不能转发给Node6,从而造成了流量的丢失;甚至由于Node3的错误处理,造成报文转发给了不应该转发的节点。
另一方面,LLDP是一个厂商无关的二层协议,它允许网络设备在本地子网中通告自身的设备标识和性能。LLDP提供了一种标准的链路层发现方式,可以将本端设备的主要能力、管理地址、设备标识、接口标识等信息组织成不同的TLV,并封装在LLDPDU中发布给与自身直连的邻居,邻居收到这些信息后将其以标准管理信息库(MIB,Management Information Base)的形式保存起来,以供网络管理系统查询及判断链路的通信状况。
因此,LLDP是一种邻近发现协议。它为以太网网络设备(如交换机、路由器等)和 无线局域网接入点定义了一种标准的方法,使其可以向网络中其他节点公告自身的存在,并保存各个邻近设备的发现信息。例如设备配置和设备识别等详细信息都可以用该协议进行公告。具体来说,LLDP定义了一个通用公告信息集、一个传输公告的协议和一种用来存储所收到的公告信息的方法。要公告自身信息的设备可以将多条公告信息放在一个局域网数据包内传输,传输的形式为TLV域。
基于此,在本发明的各种实施例中:第一节点将自身的BIER位串长度信息封装在LLDPDU中;并将所述LLDPDU发送给第二节点;所述第二节点为所述第一节点的相邻节点;其中,所述第一节点的BIER位串长度信息由LLDP定义的新类型的TLV标识;而第二节点接收第一节点发送的LLDPDU,解析所述LLDPDU,得到第一节点的BIER位串长度信息,根据第一节点的BIER位串长度信息,进行BIER流量的转发。
实施例一
本发明实施例提供一种信息处理方法,具体来说是一种信息传递方法,更具体来说是一种节点信息传递方法,应用于第一节点,如图2所示,该方法包括以下步骤:
步骤201:将第一节点的BIER位串长度信息封装在LLDPDU中;
这里,所述第一节点的BIER位串长度信息可以由LLDP定义的新类型的TLV标识。
其中,实际应用时,所述新类型的TLV是指:在目前LLDP基础上,LLDP扩展定义的一个新类型的TLV,这种新类型的TLV可以是一个全新的TLV,还可以是在已有的TLV中增加了BIER位串长度信息而得到的一个新的TLV。
根据一个示例性实施例,所述新类型的TLV标识的BIER位串长度信息的值可以为所述第一节点支持的至少一个特定位串长度数值。
举个例子来说,可以只列出第一节点最希望处理的位串长度数值,例如128。或者,也可以列出第一节点支持的多个位串长度数值,比如128,256,512等。
根据一个示例性实施例,所述新类型的TLV标识的BIER位串长度信息的值为一个字节,所述字节中的每一位标识一个位串长度数值。
举个例子来说,如图3所示的TLV,该TLV中用于标识位串长度信息的值为1个字节,该字节的每一位用来标识1个位串长度,比如从最右位开始,第一位标识第一节点支持的BIER位串长度为64位;第二位标识第一节点支持的BIER位串长度为128位;第三位标识第一节点支持的BIER位串长度为256位,以此类推。
当然,实际应用时,如果节点支持的位串长度足够多,也可以用多个字节来标识。
根据一个示例性实施例,所述新类型的TLV标识的BIER位串长度信息的值为至少两个字节,每个字节或者所述至少两个字节中的特定数量的位标识一个位串长度数值。
实际应用时,所述第一节点的BIER位串长度信息可以是第一节点上直接配置的。
根据一个示例性实施例,执行本步骤之前,该方法还可以包括:
利用自身的配置信息,得到所述第一节点的BIER位串长度信息。
当然,所述第一节点的BIER位串长度信息还可以是由控制器下发给所述第一节点的。
根据一个示例性实施例,执行本步骤之前,该方法还可以包括:
根据接收的控制器下发的第一节点的BIER位串长度信息,得到所述第一节点的BIER位串长度信息。
这里,所述控制器是指二层网络中的控制器,本发明实施例不对控制器的具体实现进行限定。
步骤202:将所述LLDPDU发送给第二节点。
这里,所述第二节点为所述第一节点的相邻节点。
所述第一节点的BIER位串长度信息用于进行BIER流量的转发。换句话说,在后续进行BIER流量的转发时,所述第二节点可以根据第一节点的BIER位串长度信息进行BIER流量的转发,即转发给所述第一节点。
为了实现节点信息的传递并实现节点信息的功能,第二节点也需要进行与对已节点对应的操作。
基于此,本发明实施例还提供了一种信息处理方法,具体来说是一种信息传递方法,更具体来说是一种节点信息传递方法,应用于第二节点,如图4所示,该方法包括以下步骤:
步骤401:接收第一节点发送的LLDPDU;
这里,所述第一节点为所述第二节点的相邻节点。
步骤402:解析所述LLDPDU,得到所述第一节点的BIER位串长度信息;
这里,所述第一节点的BIER位串长度信息由LLDP定义的新类型的TLV标识。
步骤403:利用所述第一节点的BIER位串长度信息,进行BIER流量的转发。
也就是说,在后续进行BIER流量的转发时,所述第二节点根据第一节点的BIER位串长度信息进行BIER流量的转发,即将BIER报文转发给所述第一节点。
根据一个示例性实施例,所述第二节点利用所述第一节点的BIER位串长度信息,修改BIER头的位串长度信息,以将BIER报文转发给所述第一节点。
根据一个示例性实施例,所述第二节点利用所述第一节点的BIER位串长度信息,修改BIER头中的出口节点位串长度信息,以将BIER报文转发给所述第一节点。
本发明实施例还提供了一种信息处理方法,如图5所示,该方法包括以下步骤:
步骤501:第一节点将自身的BIER位串长度信息封装在LLDPDU中;
这里,所述第一节点的BIER位串长度信息由LLDP定义的新类型的TLV标识。
步骤502:将所述LLDPDU发送给第二节点;
这里,所述第二节点为所述第一节点的相邻节点。
实际应用时,根据网络拓扑关系,所述第二节点的个数可以为至少一个。
步骤503:所述第二节点接收所述第一节点发送的LLDPDU;
步骤504:所述第二节点解析所述LLDPDU,得到所述第一节点的BIER位串长度信息;
步骤505:所述第二节点利用所述第一节点的BIER位串长度信息,进行BIER流量的转发。
这里,需要说明的是:第一节点和第二节点的具体处理过程已在上文详述,这里不再赘述。
本发明实施例提供的信息处理方法,第一节点将第一节点的BIER位串长度信息封装在LLDPDU中;并将所述LLDPDU发送给第二节点;所述第二节点为所述第一节点的相邻节点;而第二节点接收第一节点发送的LLDPDU,解析所述LLDPDU,得到第一节点的BIER位串长度信息,根据第一节点的BIER位串长度信息,进行BIER流量的转发,通过LLDPDU将节点的BIER位串长度信息传递给网络中的相邻节点,实现了二层网络中节点的BIER位串长度信息的传递,使节点可以准确获知相邻节点的BIER位串长度信息,并根据相邻节点的BIER位串长度信息进行流量转发,从而有效地避免了由于节点的位串长度处理能力不一致而引起的流量错误处理或丢失。
实施例二
本实施例在实施例一的基础上,详细描述节点信息传递的过程。
如图6所示,该过程主要包括以下步骤:
步骤600:在LLDP中扩展新类型的TLV来标识第一节点的BIER位串长度信息;
这里,标识节点的BIER位串长度信息的新类型的TLV的值可以为一个特定位串长度数值,或者几个特定位串长度数值,即其值可以为至少一个特定位串长度数值。比如可以只列出第一节点最希望处理的位串长度数值,例如128。也可以列出第一节点可以支持的多个位串长度数值,128,256,512等。
其中,实际应用时,对于第一节点的BIER位串长度信息,可以在第一节点上直接配置,也可以由控制器下发。
步骤601:第一节点根据LLDP,向自身的各相邻节点通告包含新类型TLV的LLDPPDU;
这类,新类型的TLV标识第一节点的BIER位串长度信息。
步骤602:各相邻节点接收LLDPPDU,获得第一节点的BIER位串长度信息。
相邻节点可以根据第一节点所支持的BIER位串长度数值,进行BIER流量转发,如在转发时修改BIER头的位串封装长度。
举个例子来说,针对图1所示的二层网络,Node3通过LLDP扩展的新类型TLV将所支持的BIER位串长度信息(128位)通告到Node1,Node1在进行流量转发时,会将发送给Node3节点的报文的BIER头中的出口节点位串长度信息修改为128位位串长度信 息,由此Node3可以正确处理该BIER报文并正确完成转发。
从上面的描述中可以看出,本发明实施例的方案结合了LLDP和BIER技术,将节点所支持的BIER位串长度信息通过LLDP的扩展TLV携带,从而传递给网络中的相邻节点,实现二层网络中节点BIER位串长度信息的传递,避免了由于节点的位串长度处理能力不一致而引起的流量错误处理或丢失。这样在节点转发BIER头封装的流量时,能够根据下一节点的处理能力进行BIER头的位串封装,从而避免流量因为BIER头的位串长度支持不统一而引起流量处理错误和丢失。
本发明实施例提供的方案,可以极大地改善了BIER技术在二层网络中的应用,提高了网络的可靠性和可扩展性。
实施例三
本实施例在实施例二的基础上,以图1所示的二层网络为例,详细描述各节点信息的传递过程。
如图7所示,节点间使用LLDP扩展通告节点的BIER位串长度信息,比如,如图7中的虚线所示,Node6会通告自身支持的BIER位串长度信息(64/32位)给Node3,Node3会通告自身支持的BIER位串长度信息(128位)给Node1。实际上这里的Node3和Node6通告仅仅是局部示例。实际上各个节点之间都会互相交互其支持的BIER位串长度信息,并非仅限于该两个节点。也就是说,图7中的其它节点也会向相邻节点通告自身支持的BIER位串长度信息,由此各节点都会获知邻接节点的BIER位串长度支持情况。
在进行流量转发时,Node1根据Node3的BIER位串支持情况(128位),调整其发送报文的BIER头位串长度为128位。同样,Node3根据Node6的BIER位串支持情况,调整其发送报文的BIER头位串长度为64位。由此不会再出现由于Node3和Node6的处理错误,导致错误流或者丢失流的情况出现。
实施例四
本实施例在实施例一、二、三的基础上,描述节点信息如何采用新类型的TLV标识。
标识节点的BIER位串长度信息的新类型的TLV可以是一个全新的TLV,也可以是在已有的TLV中增加了BIER位串长度信息而得到的一个新的TLV。在标识节点的BIER位串长度信息时,如图3所示,用于标识位串长度信息的值为1个字节,该字节的每一位用来标识1个位串长度,比如可以从最右位开始,第一位标识节点支持的位串长度为64位;第二位标识节点支持的位串长度为128位;第三位标识节点支持的位串长度为256位,以此类推。当然,实际应用时,由于设备实现和应用场景不同,也可能最少位串长度由32位或者16位开始,本发明实施例对此不做限定。同样,如果节点所支持的位串长度足够多,也可以用多个字节来进行标识。
实际应用时,如图8所示,在其所描述的TLV中,列出所支持的位串长度个数,以 及具体的位串长度值。该方法同样仅仅是示例,并非对格式的完全限定。
实施例五
为实现本发明实施例的方法,本实施例提供一种信息处理装置,具体来说是一种信息传递装置,更具体来说是一种节点信息传递装置,设置在第一节点上,如图9所示,该装置包括:
封装单元91,用于将第一节点的BIER位串长度信息封装在LLDPDU中;
发送单元92,用于将所述LLDPDU发送给第二节点;所述第二节点为所述第一节点的相邻节点;其中,
所述第一节点的BIER位串长度信息用于进行BIER流量的转发。
其中,所述第一节点的BIER位串长度信息可以死由LLDP定义的新类型的TLV标识。
这里,实际应用时,所述新类型的TLV是指:在目前LLDP基础上,LLDP扩展定义的一个新类型的TLV,这种新类型的TLV可以是一个全新的TLV,还可以是在已有的TLV中增加了BIER位串长度信息而得到的一个新的TLV。
根据一个示例性实施例,所述新类型的TLV标识的BIER位串长度信息的值可以为所述第一节点支持的至少一个特定位串长度数值。
举个例子来说,可以只列出第一节点最希望处理的位串长度数值,例如128。或者,也可以列出第一节点支持的多个位串长度数值,比如128,256,512等。
根据一个示例性实施例,所述新类型的TLV标识的BIER位串长度信息的值为一个字节,所述字节中的每一位标识一个位串长度数值。
举个例子来说,如图3所示的TLV,该TLV中用于标识位串长度信息的值为1个字节,该字节的每一位用来标识1个位串长度,比如从最右位开始,第一位标识第一节点支持的BIER位串长度为64位;第二位标识第一节点支持的BIER位串长度为128位;第三位标识第一节点支持的BIER位串长度为256位,以此类推。
当然,实际应用时,如果节点支持的位串长度足够多,也可以用多个字节来标识。
根据一个示例性实施例,所述新类型的TLV标识的BIER位串长度信息的值为至少两个字节,每个字节或者所述至少两个字节中的特定数量的位标识一个位串长度数值。
实际应用时,所述第一节点的BIER位串长度信息可以是第一节点上直接配置的。
根据一个示例性实施例,该装置还可以包括:
获取单元,用于利用自身的配置信息,得到所述第一节点的BIER位串长度信息。
当然,所述第一节点的BIER位串长度信息还可以是由控制器下发给所述第一节点的。
根据一个示例性实施例,所述获取单元,用于:
根据接收的控制器下发的第一节点的BIER位串长度信息,得到所述第一节点的BIER位串长度信息。
这里,所述控制器是指二层网络中的控制器,本发明实施例不对控制器的具体实现进 行限定。
所述第一节点的BIER位串长度信息用于进行BIER流量的转发。换句话说,在后续进行BIER流量的转发时,所述第二节点可以根据第一节点的BIER位串长度信息进行BIER流量的转发,即将BIER报文转发给所述第一节点。
实际应用时,所述封装单元91及获取单元可由信息处理装置中的中央处理器(CPU,Central Processing Unit)、微处理器(MCU,Micro Control Unit)、数字信号处理器(DSP,Digital Signal Processor)或可编程逻辑阵列(FPGA,Field-Programmable Gate Array)实现;所述发送单元92可由信息处理装置中的收发机实现。
为实现本发明实施例的方法,本实施例还提供了一种信息处理装置,具体来说是一种信息传递装置,更具体来说是一种节点信息传递装置,设置在第二节点上,如图10所示,该装置包括:
接收单元101,用于接收第一节点发送的LLDPDU;
解析单元102,用于解析所述LLDPDU,得到所述第一节点的BIER位串长度信息;
转发单元103,用于利用所述第一节点的BIER位串长度信息,进行BIER流量的转发;其中,
所述第一节点为所述第二节点的相邻节点。
也就是说,在后续进行BIER流量的转发时,所述转发单元103根据第一节点的BIER位串长度信息进行BIER流量的转发,即转发给所述第一节点。
这里,实际应用时,所述第一节点的BIER位串长度信息可以由LLDP定义的新类型的TLV标识。
所述转发单元103,具体用于:
利用所述第一节点的BIER位串长度信息,修改BIER头的位串长度信息,以将BIER报文转发给所述第一节点。
更具体地,所述转发单元103利用所述第一节点的BIER位串长度信息,修改BIER头中的出口节点位串长度信息,以将BIER报文转发给所述第一节点。
实际应用时,接收单元101可由信息处理装置中的收发机实现,所述解析单元102可由信息处理装置中的CPU、MCU、DSP或FPGA实现;所述转发单元103可由信息处理装置中的CPU、MCU、DSP或FPGA结合收发机实现。
为实现本发明实施例提供的方法,本实施例还提供了一种信息处理系统,如图11所示,该系统包括:
第一节点111,用于将自身的BIER位串长度信息封装在LLDPDU中;并将所述LLDPDU发送给第二节点112;
第二节点112,用于接收所述第一节点111发送的LLDPDU;解析所述LLDPDU,得 到所述第一节点的BIER位串长度信息;以及利用所述第一节点的BIER位串长度信息,进行BIER流量的转发。
其中,所述第二节点112为所述第一节点111的相邻节点。
这里,所述第一节点的BIER位串长度信息可以由LLDP定义的新类型的TLV标识。
需要说明的是:第一节点111和第二节点112的具体处理过程已在上文详述,这里不再赘述。
还需要说明的是:本发明实施例中的术语“第一”、“第二”等是用于区别类似的对象,而不必用于描述特定的顺序或先后次序。
本领域内的技术人员应明白,本发明的实施例可提供为方法、系统、或计算机程序产品。因此,本发明可采用硬件实施例、软件实施例、或结合软件和硬件方面的实施例的形式。而且,本发明可采用在一个或多个其中包含有计算机可用程序代码的计算机可用存储介质(包括但不限于磁盘存储器和光学存储器等)上实施的计算机程序产品的形式。
本发明是参照根据本发明实施例的方法、设备(系统)、和计算机程序产品的流程图和/或方框图来描述的。应理解可由计算机程序指令实现流程图和/或方框图中的每一流程和/或方框、以及流程图和/或方框图中的流程和/或方框的结合。可提供这些计算机程序指令到通用计算机、专用计算机、嵌入式处理机或其他可编程数据处理设备的处理器以产生一个机器,使得通过计算机或其他可编程数据处理设备的处理器执行的指令产生用于实现在流程图一个流程或多个流程和/或方框图一个方框或多个方框中指定的功能的装置。
这些计算机程序指令也可存储在能引导计算机或其他可编程数据处理设备以特定方式工作的计算机可读存储器中,使得存储在该计算机可读存储器中的指令产生包括指令装置的制造品,该指令装置实现在流程图一个流程或多个流程和/或方框图一个方框或多个方框中指定的功能。
这些计算机程序指令也可装载到计算机或其他可编程数据处理设备上,使得在计算机或其他可编程设备上执行一系列操作步骤以产生计算机实现的处理,从而在计算机或其他可编程设备上执行的指令提供用于实现在流程图一个流程或多个流程和/或方框图一个方框或多个方框中指定的功能的步骤。
以上所述,仅为本发明的较佳实施例而已,并非用于限定本发明的保护范围。
工业实用性
本发明实施例提供的技术方案设计通信技术。采用本发明实施例提供的技术方案实现了二层网络中节点的BIER位串长度信息的传递,使节点可以准确获知相邻节点的BIER位串长度信息,并根据相邻节点的BIER位串长度信息进行流量转发,从而有效地避免了由于节点的位串长度处理能力不一致而引起的流量错误处理或丢失。

Claims (16)

  1. 一种信息处理方法,应用于第一节点,所述方法包括:
    将第一节点的位索引显式复制BIER位串长度信息封装在链路层发现协议数据单元LLDPDU中;
    将所述LLDPDU发送给第二节点;所述第二节点为所述第一节点的相邻节点;其中,
    所述第一节点的BIER位串长度信息用于进行BIER流量的转发。
  2. 根据权利要求1所述的方法,其中,所述第一节点的BIER位串长度信息由链路层发现协议LLDP定义的新类型的类型-长度-值TLV标识。
  3. 根据权利要求2所述的方法,其中,所述新类型的TLV标识的BIER位串长度信息的值为至少一个特定位串长度数值。
  4. 根据权利要求2所述的方法,其中,所述新类型的TLV标识的BIER位串长度信息的值为一个字节,所述字节中的每一位标识一个位串长度数值。
  5. 根据权利要求2所述的方法,其中,所述新类型的TLV标识的BIER位串长度信息的值为至少两个字节,每个字节或者所述至少两个字节中的特定数量的位标识一个位串长度数值。
  6. 根据权利要求1所述的方法,还包括:
    利用自身的配置信息,得到所述第一节点的BIER位串长度信息。
  7. 根据权利要求1所述的方法,还包括:
    根据接收的控制器下发的第一节点的BIER位串长度信息,得到所述第一节点的BIER位串长度信息。
  8. 一种信息处理方法,应用于第二节点,所述方法包括:
    接收第一节点发送的LLDPDU;
    解析所述LLDPDU,得到所述第一节点的BIER位串长度信息;
    利用所述第一节点的BIER位串长度信息,进行BIER流量的转发;其中,
    所述第一节点为所述第二节点的相邻节点。
  9. 根据权利要求8所述的方法,其中,所述第一节点的BIER位串长度信息由LLDP定义的新类型的TLV标识。
  10. 根据权利要求8所述的方法,其中,利用所述第一节点的BIER位串长度信息,进行BIER流量的转发,包括:
    利用所述第一节点的BIER位串长度信息,修改BIER头的位串长度信息。
  11. 一种信息处理装置,包括:
    封装单元,设置为将第一节点的BIER位串长度信息封装在LLDPDU中;
    发送单元,设置为将所述LLDPDU发送给第二节点;所述第二节点为所述第一节点的相邻节点;其中,
    所述第一节点的BIER位串长度信息用于进行BIER流量的转发。
  12. 根据权利要求11所述的装置,还包括:
    获取单元,设置为利用自身的配置信息,得到所述第一节点的BIER位串长度信息。
  13. 根据权利要求11所述的装置,还包括:
    获取单元,设置为根据接收的控制器下发的第一节点的BIER位串长度信息,得到所述第一节点的BIER位串长度信息。
  14. 一种信息处理装置,包括:
    接收单元,设置为接收第一节点发送的LLDPDU;
    解析单元,设置为解析所述LLDPDU,得到所述第一节点的BIER位串长度信息;
    转发单元,设置为利用所述第一节点的BIER位串长度信息,进行BIER流量的转发;其中,
    所述第一节点为所述第二节点的相邻节点。
  15. 根据权利要求14所述的装置,其中,所述转发单元设置为:
    利用所述第一节点的BIER位串长度信息,修改BIER头的位串长度信息。
  16. 一种计算机存储介质,所述计算机存储介质中存储有计算机可执行的一个或多个程序,所述一个或多个程序被所述计算机执行时使所述计算机执行如根据权利要求1-10中任一项所述的信息处理方法。
PCT/CN2017/106882 2016-10-20 2017-10-19 一种信息处理方法、装置和计算机存储介质 WO2018072732A1 (zh)

Priority Applications (2)

Application Number Priority Date Filing Date Title
US16/089,102 US10749703B2 (en) 2016-10-20 2017-10-19 Information processing method and device, and computer storage medium
EP17861776.7A EP3432527B1 (en) 2016-10-20 2017-10-19 Information processing method and device, and computer storage medium

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201610915629.8A CN107968751B (zh) 2016-10-20 2016-10-20 一种信息处理方法及装置
CN201610915629.8 2016-10-20

Publications (1)

Publication Number Publication Date
WO2018072732A1 true WO2018072732A1 (zh) 2018-04-26

Family

ID=61997285

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2017/106882 WO2018072732A1 (zh) 2016-10-20 2017-10-19 一种信息处理方法、装置和计算机存储介质

Country Status (4)

Country Link
US (1) US10749703B2 (zh)
EP (1) EP3432527B1 (zh)
CN (1) CN107968751B (zh)
WO (1) WO2018072732A1 (zh)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114521322A (zh) * 2019-10-10 2022-05-20 思科技术公司 动态发现网络中的服务节点

Families Citing this family (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US11277279B2 (en) * 2016-12-12 2022-03-15 Johnson Controls Tyco IP Holdings LLP Systems and methods for incorporating a single-port ethernet device in a media protocol ring
US10924395B2 (en) * 2019-03-19 2021-02-16 Cisco Technology, Inc. Seamless multipoint label distribution protocol (mLDP) transport over a bit index explicit replication (BIER) core
US11323287B2 (en) * 2019-07-18 2022-05-03 International Business Machines Corporation Link layer method of configuring a bare-metal server in a virtual network
CN112866118B (zh) * 2019-11-12 2022-09-02 北京华为数字技术有限公司 网络设备的端口能力信息的检测方法、装置及存储介质
CN115022241B (zh) * 2022-05-31 2023-06-09 烽火通信科技股份有限公司 一种bier自动配置及管理bsl的方法和装置
CN115001883A (zh) * 2022-07-14 2022-09-02 中国电信股份有限公司 一种报文处理方法及位转发路由器

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105556899A (zh) * 2013-09-17 2016-05-04 思科技术公司 位索引显式复制
CN105812197A (zh) * 2014-12-30 2016-07-27 华为技术有限公司 位转发入口路由器、位转发路由器及操作管理维护检测方法
CN105933228A (zh) * 2015-02-26 2016-09-07 思科技术公司 用于位索引显式复制的流量工程

Family Cites Families (18)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US8140654B2 (en) 2007-04-27 2012-03-20 Futurewei Technologies, Inc. Verifying management virtual local area network identifier provisioning consistency
US8442072B2 (en) 2007-05-25 2013-05-14 Futurewei Technologies, Inc. Method of preventing transport leaks in hybrid switching networks by extension of the link layer discovery protocol (LLDP)
US8824506B2 (en) 2012-01-05 2014-09-02 International Business Machines Corporation Fragmentation of link layer discovery protocol packets
CN103812769B (zh) * 2012-11-07 2017-06-20 华为技术有限公司 Trill网络构建方法、节点及系统
US9100285B1 (en) * 2012-12-18 2015-08-04 Juniper Networks, Inc. Dynamic control channel establishment for software-defined networks having centralized control
CN104009943B (zh) 2013-02-21 2017-06-20 中兴通讯股份有限公司 Lldp报文传输方法及dcb设备
CN104009937B (zh) 2013-02-22 2018-03-02 中兴通讯股份有限公司 一种增强型传输选择标准配置信息传输方法及装置
CN103236941B (zh) * 2013-04-03 2015-09-30 华为技术有限公司 一种链路发现方法和装置
US9806897B2 (en) * 2013-09-17 2017-10-31 Cisco Technology, Inc. Bit indexed explicit replication forwarding optimization
US10218524B2 (en) * 2013-09-17 2019-02-26 Cisco Technology, Inc. Bit indexed explicit replication for layer 2 networking
US9438432B2 (en) 2013-09-17 2016-09-06 Cisco Technology, Inc. Bit indexed explicit replication packet encapsulation
CN104811387B (zh) * 2014-01-24 2018-06-01 思科技术公司 具有位索引显式复制的等价多路径
US9900217B2 (en) * 2014-03-26 2018-02-20 Arista Networks, Inc. Method and system for network topology enforcement
US9743367B2 (en) * 2014-09-18 2017-08-22 Lenovo Enterprise Solutions (Singapore) Pte. Ltd. Link layer discovery protocol (LLDP) on multiple nodes of a distributed fabric
CN105871565B (zh) * 2015-01-20 2019-11-29 华为技术有限公司 用于组播转发的方法及装置
CN106341327A (zh) * 2015-07-08 2017-01-18 中兴通讯股份有限公司 一种bier报文的传输方法及系统
CN104954226A (zh) * 2015-07-28 2015-09-30 上海斐讯数据通信技术有限公司 一种基于SDN的支持QoS的通信隧道建立方法及系统
US10193802B2 (en) * 2016-09-13 2019-01-29 Oracle International Corporation Methods, systems, and computer readable media for processing messages using stateful and stateless decode strategies

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105556899A (zh) * 2013-09-17 2016-05-04 思科技术公司 位索引显式复制
CN105812197A (zh) * 2014-12-30 2016-07-27 华为技术有限公司 位转发入口路由器、位转发路由器及操作管理维护检测方法
CN105933228A (zh) * 2015-02-26 2016-09-07 思科技术公司 用于位索引显式复制的流量工程

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
See also references of EP3432527A4 *

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114521322A (zh) * 2019-10-10 2022-05-20 思科技术公司 动态发现网络中的服务节点
US11799753B2 (en) 2019-10-10 2023-10-24 Cisco Technology, Inc. Dynamic discovery of service nodes in a network

Also Published As

Publication number Publication date
CN107968751B (zh) 2021-01-19
EP3432527B1 (en) 2022-08-24
EP3432527A1 (en) 2019-01-23
CN107968751A (zh) 2018-04-27
US20190132143A1 (en) 2019-05-02
US10749703B2 (en) 2020-08-18
EP3432527A4 (en) 2019-05-08

Similar Documents

Publication Publication Date Title
WO2018072732A1 (zh) 一种信息处理方法、装置和计算机存储介质
CN105763359B (zh) 用于交织结构交换机集群的分布式双向转发检测协议(d-bfd)
WO2018072704A1 (zh) 报文传输方法、装置、节点和计算机存储介质
US11374857B2 (en) Network device management method and apparatus, and system for indicating a network device to perform management operation
US20220078114A1 (en) Method and Apparatus for Providing Service for Traffic Flow
JP5862769B2 (ja) 通信システム、制御装置、通信方法及びプログラム
WO2017059708A1 (zh) Bier信息的发送方法、接收方法及装置
WO2018228490A1 (zh) 组播跨域方法、装置、系统及计算机可读存储介质
CN106603407B (zh) 组播地址的传输方法和装置
WO2018214809A1 (zh) 消息发送方法及装置、存储介质
WO2016131225A1 (zh) 报文转发处理方法、装置、控制器及路由转发设备
US20140348022A1 (en) Efficient multicast topology construction in a routed network
WO2017117956A1 (zh) 一种信息传输方法及装置
WO2018014767A1 (zh) 一种信息确定方法、装置及存储介质
WO2018010658A1 (zh) 一种位索引显式复制信息传递方法及装置
WO2022021818A1 (zh) 数据报文的处理方法及装置、存储介质、电子装置
WO2017015839A1 (zh) 一种基于sdn的arp实现方法及装置
WO2011103759A1 (zh) 关联的双向标签交换路径的创建方法及系统
WO2017177756A1 (zh) 一种信息传递方法、装置及系统
US11522792B2 (en) Method for discovering forwarding path and related device thereof
WO2021057788A1 (zh) 一种反向路径转发rpf检查方法及装置
WO2016197999A1 (zh) 一种bier边界节点标识方法和装置
US9503272B2 (en) Fast convergence with multicast source mobility
WO2017041534A1 (zh) 一种电力线网络通信的方法及装置、计算机存储介质
WO2020147683A1 (zh) 一种连通性检测会话的创建方法、网络设备和系统

Legal Events

Date Code Title Description
WWE Wipo information: entry into national phase

Ref document number: 2017861776

Country of ref document: EP

ENP Entry into the national phase

Ref document number: 2017861776

Country of ref document: EP

Effective date: 20181019

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

Ref document number: 17861776

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE