WO2017124712A1 - Procédé de génération de message, procédé de transfert de message et dispositif - Google Patents

Procédé de génération de message, procédé de transfert de message et dispositif Download PDF

Info

Publication number
WO2017124712A1
WO2017124712A1 PCT/CN2016/090191 CN2016090191W WO2017124712A1 WO 2017124712 A1 WO2017124712 A1 WO 2017124712A1 CN 2016090191 W CN2016090191 W CN 2016090191W WO 2017124712 A1 WO2017124712 A1 WO 2017124712A1
Authority
WO
WIPO (PCT)
Prior art keywords
packet
message
next hop
predetermined identifier
sff
Prior art date
Application number
PCT/CN2016/090191
Other languages
English (en)
Chinese (zh)
Inventor
敖婷
Original Assignee
中兴通讯股份有限公司
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by 中兴通讯股份有限公司 filed Critical 中兴通讯股份有限公司
Publication of WO2017124712A1 publication Critical patent/WO2017124712A1/fr

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L41/00Arrangements for maintenance, administration or management of data switching networks, e.g. of packet switching networks
    • H04L41/08Configuration management of networks or network elements
    • H04L41/0803Configuration setting
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L43/00Arrangements for monitoring or testing data switching networks
    • H04L43/04Processing captured monitoring data, e.g. for logfile generation
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L49/00Packet switching elements
    • H04L49/20Support for services
    • H04L49/201Multicast operation; Broadcast operation

Definitions

  • the present application relates to, but is not limited to, the field of communications, and in particular, to a packet generating method, a packet forwarding method, and an apparatus.
  • data enters a large number of value-added service devices when entering the network, such as an anti-virus device, an acceleration device, a firewall device, and a network address translation (NAT) device.
  • NAT network address translation
  • a service chain mode a service function chain (SFC), that is, integrating all service services, virtualizing a service overlay layer, forming a service topology, and
  • the underlying network is decoupled and is no longer limited by the underlying network structure.
  • the architecture is shown in Figure 1.
  • the traffic to be flowed through is determined by the SFC.
  • the SFC allocates different SFPs to different levels of traffic by adding an SFP Identifier (SFPID) to each service function path (SFP) and classifying the packets.
  • SFPID SFP Identifier
  • SFP service function path
  • the forwarding device forwards the packet according to the identifier of the SFP. Therefore, different service flows can be implemented for different traffic, and differentiated requirements can be realized.
  • the service function (SF) and the Service Function Follower (SFF) are shown in the figure.
  • the SFF forwards the packet according to the SFPID carried in the packet, and the SFF receives the packet from the classifier or the SFF.
  • the SFF forwards the packet to the service according to the SFPID of the packet.
  • SF of the link path the SFF receives the next hop according to the SFPID of the packet, and then sends the message to the next SFF according to the address of the next hop.
  • the current service chain is a point-to-point linear structure. This linear structure is suitable for a unicast packet whose destination address is one. However, for a multicast packet with multiple destination addresses, it is impossible to group different destination addresses. Broadcast messages make differentiated business processes.
  • the present application provides a packet generation method, a message forwarding method, and a device.
  • a packet generation method including: a classifier receiving a message; the classifier adding a predetermined identifier to the packet, wherein the predetermined identifier is used to indicate whether the packet is a group Broadcast message.
  • the adding, by the classifier, the predetermined identifier in the packet includes: adding, by the classifier, the predetermined identifier in a service function chain SFC header of the packet.
  • the adding, by the classifier, the predetermined identifier in the packet includes: adding, by the classifier, a service function path identifier SFPID in a service function chain SFC header of the packet, where the SFPID is Carrying the predetermined identification.
  • the method further includes: the classifier receiving a forwarding policy delivered by the controller, where the forwarding policy is determined by the controller according to the And generating, by the content of the message, the forwarding policy includes the predetermined identifier.
  • the content of the packet includes at least one of the following: address information of a header of the packet; and application processing requirement information for the packet.
  • the method further includes: determining whether the packet is a multicast packet; and the classifier adding the identifier to the packet
  • the predetermined identifier includes: setting the predetermined identifier when the packet is a multicast packet, and clearing the predetermined identifier if the packet is not a multicast packet.
  • the method further includes: the classifier querying a forwarding policy corresponding to the predetermined identifier according to the predetermined identifier, and the report is The text is sent to the next hop address queried from the forwarding policy.
  • the classifier sending the packet to the next hop address includes: the classifier copying the packet In multiple copies; the classifier sends the message copied into multiple copies to a plurality of next hop addresses.
  • a packet forwarding method including: a service function repeater SFF receiving The SFF determines whether the predetermined identifier of the SFC header of the service function chain in the packet is set, where the predetermined identifier is used to indicate that the packet is a multicast packet; In the case of YES, the SFF queries the next hop address of the packet; the SFF sends the packet to the next hop address.
  • the determining, by the SFF, whether the predetermined identifier of the SFC header in the packet is set includes: the SFF parsing a service function chain SFC header of the packet, and obtaining a service function path identifier SFPID; The SFF determines whether the predetermined identifier in the SFPID is set.
  • the SFF querying the next hop address of the packet includes: the SFF querying the next hop address of the packet according to the service function path identifier SFPID of the packet.
  • the sending, by the SFF, the packet to the next hop address includes: the SFF copying the packet into multiple copies; The SFF sends the message copied into multiple copies to a plurality of the next hop addresses.
  • the method further includes: the SFF receiving the next hop address of the packet sent by the controller, and/or the The service function path SFP of the packet, wherein the next hop address and/or the SFP is generated by the controller according to the destination address of the packet and the topology information of the service function chain SFC.
  • a message generating apparatus which is applied to a classifier, comprising: a first receiving module, configured to receive a message; and an adding module, configured to add a predetermined identifier to the message, wherein the The predetermined identifier is used to indicate whether the packet is a multicast packet.
  • the adding module is configured to: add the predetermined identifier in a service function chain SFC header of the packet.
  • the adding module is configured to: add a service function path identifier SFPID in a service function chain SFC header of the packet, where the SFPID carries the predetermined identifier.
  • the method further includes: a second receiving module, configured to receive a forwarding policy that is sent by the controller, where the forwarding policy is generated by the controller according to the packet content of the packet, and the forwarding is performed.
  • the policy includes the predetermined identification.
  • the method further includes: a first querying module, configured to query a forwarding policy corresponding to the predetermined identifier according to the predetermined identifier; and the first sending module is configured to send the packet to the The next hop address queried in the policy.
  • a first querying module configured to query a forwarding policy corresponding to the predetermined identifier according to the predetermined identifier
  • the first sending module is configured to send the packet to the The next hop address queried in the policy.
  • the first sending module includes: a first copying unit, configured to: when the queried next hop address is multiple, copy the packet into multiple copies; And configured to send the message copied into multiple copies to a plurality of next hop addresses.
  • a first copying unit configured to: when the queried next hop address is multiple, copy the packet into multiple copies; And configured to send the message copied into multiple copies to a plurality of next hop addresses.
  • a message forwarding device which is applied to the service function repeater SFF, and includes: a third receiving module configured to receive a message; and a determining module configured to determine a service function chain SFC header in the packet Whether the predetermined identifier of the part is set, wherein the predetermined identifier is used to indicate that the packet is a multicast packet; and the second query module is configured to query the report if the determination result is yes.
  • the next hop address of the text; the second sending module is configured to send the message to the next hop address.
  • the determining module includes: a parsing unit configured to parse the service function chain SFC header of the packet, and obtain a service function path identifier SFPID; and the determining unit is configured to determine the predetermined identifier in the SFPID Whether it is set.
  • the second querying module is configured to: query the next hop address of the packet according to the service function path identifier SFPID of the packet.
  • the second sending module includes: a second copying unit, configured to: when the queried next hop address is multiple, copy the message into multiple copies; And configured to send the message copied into multiple copies to a plurality of the next hop addresses.
  • a second copying unit configured to: when the queried next hop address is multiple, copy the message into multiple copies; And configured to send the message copied into multiple copies to a plurality of the next hop addresses.
  • the method further includes: a fourth receiving module, configured to receive the next hop address of the packet delivered by the controller, and/or a service function path SFP of the packet, where the next The hop address and/or the SFP are generated by the controller according to the destination address of the message and the topology information of the service function chain SFC.
  • a fourth receiving module configured to receive the next hop address of the packet delivered by the controller, and/or a service function path SFP of the packet, where the next The hop address and/or the SFP are generated by the controller according to the destination address of the message and the topology information of the service function chain SFC.
  • a storage medium configured to store program code for performing a step of: a classifier receiving a message; the classifier adding a predetermined identification to the message, wherein the predetermined identification is Indicates whether the packet is a multicast packet.
  • a storage medium configured to store program code for performing the steps of: SFF receiving a message; SFF determining whether a predetermined identification of an SFC header in the message is set, Wherein, when the predetermined identifier is set, it is used to indicate that the packet is a multicast packet; If yes, the SFF queries the next hop address of the message; SFF sends the message to the next hop address.
  • the classifier is used to receive the message; the classifier determines whether the message is a multicast message; the classifier adds a predetermined identifier to the message, where the predetermined identifier is used to indicate whether the message is a multicast message.
  • 1 is a schematic diagram of message forwarding according to the related art
  • FIG. 2 is a flowchart of a message generation method according to an embodiment of the present invention.
  • FIG. 3 is a flowchart of a packet forwarding method according to an embodiment of the present invention.
  • FIG. 4 is a structural block diagram of a message generating apparatus according to an embodiment of the present invention.
  • FIG. 5 is a block diagram 1 of an optional structure of a message generating apparatus according to an embodiment of the present invention.
  • FIG. 6 is a block diagram 2 of an optional structure of a message generating apparatus according to an embodiment of the present invention.
  • FIG. 7 is a block diagram 3 of an optional structure of a message generating apparatus according to an embodiment of the present invention.
  • FIG. 8 is a structural block diagram of a message forwarding apparatus according to an embodiment of the present invention.
  • FIG. 9 is a block diagram 1 of an optional structure of a message forwarding device according to an embodiment of the present invention.
  • FIG. 10 is a block diagram 2 of an optional structure of a message forwarding device according to an embodiment of the present invention.
  • FIG. 11 is a block diagram 3 of an optional structure of a message forwarding device according to an embodiment of the present invention.
  • FIG. 12 is a first schematic diagram of packet forwarding according to an alternative embodiment of the present invention.
  • FIG. 13 is a second schematic diagram of message forwarding according to an alternative embodiment of the present invention.
  • FIG. 2 is a flowchart of a packet generation method according to an embodiment of the present invention. As shown in FIG. 2, the process includes the following steps:
  • Step S202 the classifier receives the message
  • Step S204 The classifier adds a predetermined identifier to the packet, where the predetermined identifier is used to indicate whether the packet is a multicast packet.
  • a predetermined identifier is added to the multicast packet that needs to be sent to the at least two destinations to be differentiated, so that the packet can be identified in the forwarding process, thereby performing differentiated service processing.
  • the execution process is the same: in the classifier or the service function forwarder, even if the query message has two
  • the next hop address will only be forwarded according to one of the two next hop addresses, and the other next hop address may be used only to indicate the protection path or other purposes.
  • differentiated service processing can be performed.
  • the preset next hop mapping table may be queried (the same as or different from the next hop mapping table of the unicast packet). When multiple next hop addresses are queried, the packets may be simultaneously These multiple next hop addresses are forwarded.
  • the destination host (that is, the destination address) of the multicast packet is located on different networks, and some of their service functions are handled in their respective networks (that is, the SFP of the multicast packet is a point-to-multipoint (PtMP) SFP.
  • the SFC can be a linear SFC, but the SFP of the multicast message is a forked SFP);
  • the destination host with different multicast packets needs to perform different service function processing (that is, the SFC is a forked SFC).
  • the predetermined identification may be added at a location specified in the message, for example, by adding a predetermined identification in the SFC header.
  • the classifier adds an SFPID in the SFC header of the packet, where the SFPID carries the predetermined identifier. The SFPID is used to indicate the SFP of the message.
  • whether a message needs to be sent to at least two destinations may be preset according to the characteristics of the message, or the controller may be configured separately according to requirements.
  • the classifier receives the forwarding policy sent by the controller, where the forwarding policy is generated by the controller according to the packet content of the packet, and the forwarding policy includes setting or Cleared reservation mark. In this manner, the configuration of a specific packet can be implemented to implement multicast forwarding of a specific packet.
  • the forwarding policy described above is generated by the controller according to the message content of the packet.
  • the content of the packet includes: the address information of the header of the packet; and the service processing requirement information of the packet is applied.
  • the controller may send the next hop address of the message and/or the SFP of the message to the controller and the SFF in advance.
  • the classifier receives the next hop address of the packet sent by the controller and/or the SFP of the packet, where the next hop address and/or the SFP is determined by the controller according to the destination address of the packet and the topology information of the SFC. Generated.
  • the SFP received from the controller and/or the SFP of the packet are the basis for the classifier to forward the packet.
  • the next hop address of the packet can be queried according to the SFPID of the packet, or the SFP of the packet is queried according to the SFP of the packet, and the next hop address is queried according to the SFP. Forwarding of the message.
  • the classifier adds the predetermined identifier to the packet, the classifier queries the next hop address of the packet; the classifier sends the packet to the next hop address. The classifier queries the next hop address of the packet according to the SFPID of the packet.
  • the predetermined identifier Before adding a predetermined identifier to a packet, you can use the packet content or the forwarding policy to determine whether the packet is a multicast packet. When a predetermined identifier is added to the packet, the predetermined identifier is set when the packet is a multicast packet, and the predetermined identifier is cleared when the packet is not a multicast packet.
  • the classifier copies the message into multiple copies; the classifier sends the multiple copies of the message to multiple next hop addresses. In this way, it is implemented to send a message to multiple next hop addresses, which are then sent to multiple destination addresses.
  • the classifier Since the classifier has the business function of the message grading function, the classifier also implements the message.
  • the forwarding function is equivalent to the classifier and can also implement all the functions of the service function forwarder.
  • FIG. 3 is a flowchart of a packet forwarding method according to an embodiment of the present invention. As shown in FIG. 3, the process includes the following steps:
  • Step S302 the SFF receives the message
  • Step S304 the SFF determines whether the predetermined identifier of the SFC header in the packet is set, where the predetermined identifier is used to indicate that the packet is a multicast packet.
  • Step S306 in the case that the determination result is yes, the SFF queries the next hop address of the message
  • Step S308 the SFF sends the message to the next hop address.
  • the packet carries the predetermined identifier, so that the packet can be differentiated according to the predetermined identifier, for example, the next hop address of the query packet (the next hop address determined according to the predetermined identifier) ) and send the message from one or more next hop addresses.
  • the predetermined identifier for example, the next hop address of the query packet (the next hop address determined according to the predetermined identifier)
  • the above steps can not be different.
  • the problem of differentiated service processing is performed on the multicast packets of the destination address.
  • the differentiated service processing of multicast packets with different destination addresses is implemented.
  • the SFF may parse the SFC header of the packet, obtain the SFPID, and determine whether the predetermined identifier in the SFPID is set.
  • the SFF receives the next hop address of the message sent by the controller and/or the SFP of the packet, where the next hop address and/or the SFP is The controller generates the information based on the destination address of the packet and the topology information of the SFC.
  • the next hop address of the SFF query message includes: the SFF queries the next hop address of the packet according to the SFPID of the packet.
  • the SFF may copy the message into multiple copies; the SFF sends the message copied into multiple copies to multiple next hop addresses.
  • the computer software product is stored in a storage medium (such as ROM/RAM, disk, optical disk), and includes a plurality of instructions for making a terminal device (which may be a mobile phone, a computer, a server, or a network device, etc.) Methods of various embodiments of the invention are performed.
  • a message generating device is further provided, which is applied to a classifier, and the device is used to implement the foregoing embodiments and preferred embodiments, and details are not described herein.
  • the term "module” may implement a combination of software and/or hardware of a predetermined function.
  • the apparatus described in the following embodiments is preferably implemented in software, hardware, or a combination of software and hardware, is also possible and contemplated.
  • FIG. 4 is a structural block diagram of a message generating apparatus according to an embodiment of the present invention.
  • the apparatus includes: a first receiving module 42 and an adding module 46, wherein the first receiving module 42 is configured to receive a message.
  • the adding module 46 is configured to be coupled to the first receiving module 42 and configured to add a predetermined identifier to the packet, wherein the predetermined identifier is used to indicate whether the packet is a multicast packet.
  • the adding module 46 is arranged to add a predetermined identifier in the SFC header of the message.
  • the adding module 46 is configured to: add an SFPID in the SFC header of the message, where the SFPID carries a predetermined identifier.
  • FIG. 5 is a block diagram of an optional structure of a message generating apparatus according to an embodiment of the present invention.
  • the apparatus further includes: a second receiving module 52, configured to be coupled to the adding module 46, configured to The forwarding policy is sent by the controller, where the forwarding policy is generated by the controller according to the content of the packet, and the forwarding policy includes a predetermined identifier.
  • FIG. 6 is a block diagram of an optional structure of a message generating apparatus according to an embodiment of the present invention.
  • the apparatus further includes: a first querying module 62, configured to be coupled to the adding module 46, configured to The forwarding policy corresponding to the predetermined identifier is queried according to the predetermined identifier.
  • the first sending module 64 is configured to be coupled to the first query module 62, and configured to send the packet to the next hop address that is queried from the forwarding policy.
  • FIG. 7 is a block diagram 3 of an optional structure of a message generating apparatus according to an embodiment of the present invention.
  • the first sending module 64 includes: a first copying unit 642, which is set to be queried. If the hop address is multiple, the message is copied into multiple copies; the first sending unit 644 is configured to be coupled to the first copy unit 642, and configured to send the message copied into multiple copies to multiple next hops. address.
  • a message forwarding device is also provided, which is applied to the SFF.
  • the device is used to implement the foregoing embodiments and preferred embodiments, and details are not described herein.
  • the term "module” may implement a combination of software and/or hardware of a predetermined function.
  • the apparatus described in the following embodiments is preferably implemented in software, hardware, or a combination of software and hardware, is also possible and contemplated.
  • FIG. 8 is a structural block diagram of a message forwarding apparatus according to an embodiment of the present invention.
  • the apparatus includes: a third receiving module 82, a determining module 84, a second querying module 86, and a second sending module 88, wherein
  • the third receiving module 82 is configured to receive the message;
  • the determining module 84 is configured to be coupled to the third receiving module 82, and configured to determine whether the predetermined identifier of the SFC header in the message is set, wherein the predetermined identifier is set.
  • the second sending module 88 is configured to indicate that the packet is a multicast packet.
  • the second query module 86 is coupled to the determining module 84, and is configured to query the next hop address of the packet if the determination result is yes. To be coupled to the second query module 86, the message is sent to the next hop address.
  • FIG. 9 is a schematic diagram 1 of an optional structure of a packet forwarding apparatus according to an embodiment of the present invention.
  • the determining module 84 includes: a parsing unit 842, configured to parse an SFC header of a packet, and obtain The SFPID; determination unit 844 is arranged to be coupled to the parsing unit 842 and arranged to determine whether the predetermined identifier in the SFPID is set.
  • the second query module 86 is configured to: query the next hop address of the packet according to the SFPID of the packet.
  • FIG. 10 is a second schematic diagram of an optional structure of a packet forwarding apparatus according to an embodiment of the present invention.
  • the second sending module 88 includes: a second copying unit 882, which is set to be queried. If the hop address is multiple, the message is copied into multiple copies; the second sending unit 884 is configured to be coupled to the second copy unit 882, and configured to send the copied copy into multiple next hops. address.
  • FIG. 11 is a third schematic diagram of an optional structure of a message forwarding device according to an embodiment of the present invention.
  • the device further includes: a fourth receiving module 112 configured to be coupled to the second query module 86. Set to receive the next hop address of the packet sent by the controller and/or the SFP of the packet, where the next hop address and/or SFP is determined by the controller according to the destination address of the packet and the topology information of the SFC. Generated.
  • each of the above modules may be implemented by software or hardware.
  • the foregoing may be implemented by, but not limited to, the foregoing modules are all located in the same processor; or, the modules are located in multiple In the processor.
  • the embodiment of the present invention further provides a software for executing the technical solutions described in the foregoing embodiments and preferred embodiments.
  • the embodiment of the invention further provides a storage medium.
  • the above storage medium may be configured to store program code for performing the following steps:
  • Step S202 the classifier receives the message
  • Step S204 The classifier adds a predetermined identifier to the packet, where the predetermined identifier is used to indicate whether the packet is a multicast packet.
  • Embodiments of the present invention also provide a storage medium.
  • the above storage medium may be configured to store program code for performing the following steps:
  • Step S302 the SFF receives the message
  • Step S304 the SFF determines whether the predetermined identifier of the SFC header in the packet is set, where the predetermined identifier is used to indicate that the packet is a multicast packet.
  • Step S306 in the case that the determination result is yes, the SFF queries the next hop address of the message
  • Step S308 the SFF sends the message to the next hop address.
  • the foregoing storage medium may include, but not limited to, a USB flash drive, a read-only memory (ROM), a random access memory (RAM), a mobile hard disk, and a magnetic
  • ROM read-only memory
  • RAM random access memory
  • mobile hard disk a magnetic
  • magnetic A variety of media that can store program code, such as a disc or a disc.
  • An alternative embodiment of the present invention provides a way to implement a point-to-multipoint (PtMP) forked service chain.
  • the method and system support the support of multicast packets and implement differentiated service processing for various multicast packets.
  • a point-to-multipoint bifurcation structure SFC is provided in an alternative embodiment of the invention.
  • the forked structure SFC is composed of several service function nodes.
  • the business functions required for multicast messages are linked in a linear order.
  • the business chain needs to be forked in at least two cases:
  • the destination hosts of multicast packets are located on different networks, and some of their service functions are handled in their respective networks (linear SFC, but bifurcated SFP);
  • the classifier If the classifier is a multicast packet, the classifier allocates a forked SFC header to the multicast packet. If it is a unicast packet, A linear SFC header is assigned to the unicast message.
  • the SFC header of the message sets a fork flag (corresponding to the predetermined identifier described above) to indicate that the SFC is a forked SFC for multicast.
  • the tiering device or the SFF When the SFC packet is forwarded to the SFC header, the tiering device or the SFF also queries the branching flag bit. If the branching flag is set, the query has multiple next hops (that is, multiple If the port is out, the SFF copies the corresponding packets and sends them to multiple next hops from multiple egress ports. Otherwise, the packet is directly forwarded to the next hop to be queried.
  • the controller From the control plane, the controller according to the member of the multicast address (for example, location information, service processing demand information, etc.), according to the collected topology of the business function entity, etc., as needed (for example, conforming to a, b The case) defines the policy of a forked service function chain corresponding to the multicast traffic and the corresponding SFP.
  • the policy is sent to the grading device.
  • the grading device allocates the SFC header to the packet according to the policy.
  • the forwarding information of the path is sent to the corresponding SFF or tiering device.
  • the forwarding information sent by the controller includes multiple next hop information for the SFF of the bifurcation point.
  • the SFF forwards the packet according to the forwarding entry (which can be set to query the forwarding entry if the packet carries a cross-flag bit).
  • a forked SFC solution for multicast which can implement a differentiated processing method when processing a multicast packet in a service function chain, and improve the processing method. Flexibility and scalability of the business function chain.
  • the source device S sends multicast traffic to the destination device D1 and the device D2, and the multicast traffic needs to pass through the service function chain: an application gateway (AppFW) ⁇ edge gateway (EdgeFW) ⁇ a cable television system-based local area network ( WLAN over CATV System, WOC), but because the two destinations D1 and D2 are far apart, or belong to different networks, different WOCs (marked as WOC1 and WOC2, respectively) are required, so the controller sets the SFC A point-to-multipoint business function path SFP, namely:
  • the controller establishes such a service function path according to the policy and allocates an SPFID, and sends an SFPID corresponding to the SFP to the SFF to which the service function entity is connected, and the SFPID carries the bifurcation identifier and the next hop information corresponding to the SFPID.
  • the next hop information to be sent to the SFF is a plurality of next hops, that is, the addresses of the two WOCs connected later, according to the service function entity topology, for the SFF of the branching edge EdgeFW of the forked SFP. .
  • the classifier classifier assigns the SFC header containing the SFPID to the traffic according to the previous policy, and the SPFID carries the forked identifier.
  • the subsequent SFF searches for the next hop according to the SFPID carrying the bifurcation identifier.
  • the SFF is forwarded to the SFF of the EdgeFW connection because the entry sent by the controller has only one next hop.
  • the next hop is also queried according to the SFPID.
  • the next hop to be queried by the SFF is two. Therefore, it is necessary to copy multiple packets and forward one packet to each next hop.
  • the different service hosts in the scenario have different service function entities, that is, the service function chain is bifurcated, and the corresponding service function path must be forked.
  • the service function entities of the source device S to the destination D1 and the destination D2 are different.
  • the services to be processed from S to D1 are AppFW ⁇ EdgeFW ⁇ WOC, and S to D2 need to go through.
  • the processed business has AppFW ⁇ EdgeFW ⁇ ADC ⁇ MON, and S to D1
  • the traffic with D2 is the same multicast traffic.
  • the controller establishes a service function chain for the multicast traffic according to the policy and allocates the SPFID, and sends the SFPID corresponding to the forked SFP to the SFF connected to the service function entity, where the SFPID carries the forked identifier and the SFPID.
  • the next hop information to be sent to the SFF is multiple next hops, that is, the next hop is the address of the WOC, according to the service function entity topology, for the SFF of the bifurcation SFP.
  • the other is the address of the ADC.
  • the classifier classifier assigns the SFC header containing the SFPID to the traffic according to the previous policy, and the SPFID carries the forked identifier.
  • the subsequent SFF searches for the next hop according to the SFPID carrying the bifurcation identifier.
  • the SFF is forwarded to the SFF of the EdgeFW connection because the entry sent by the controller has only one next hop.
  • the next hop is also queried according to the SFPID.
  • the next hop queried by the SFF is two, so two copies of the message need to be copied, one for the SFF of the WOC connection and the other for the SFF of the ADC connection.
  • modules or steps of the present invention described above can be implemented by a general-purpose computing device that can be centralized on a single computing device or distributed across a network of multiple computing devices. Alternatively, they may be implemented by program code executable by the computing device such that they may be stored in the storage device by the computing device and, in some cases, may be different from the order herein.
  • the steps shown or described are performed, or they are separately fabricated into individual integrated circuit modules, or a plurality of modules or steps thereof are fabricated as a single integrated circuit module.
  • the invention is not limited to any specific combination of hardware and software.
  • An embodiment of the present invention provides a packet generating method and a packet generating apparatus, where the method includes: a classifier receives a packet; and the classifier adds a predetermined identifier to the packet, where the predetermined identifier is used by Indicates whether the packet is a multicast packet.
  • the embodiment of the present invention further provides a packet forwarding method, that is, a packet forwarding device, where the method includes: SFF receiving a packet; and the SFF determining whether a predetermined identifier of a service function chain SFC header in the packet is set The SFF is used to indicate that the packet is a multicast packet when the predetermined identifier is set; if the judgment result is yes, the SFF queries the next hop address of the packet; the SFF will The message is sent to the next hop address.
  • a packet forwarding method that is, a packet forwarding device, where the method includes: SFF receiving a packet; and the SFF determining whether a predetermined identifier of a service function chain SFC header in the packet is set The SFF is used to indicate that the packet is a multicast packet when the predetermined identifier is set; if the judgment result is yes, the SFF queries the next hop address of the packet; the SFF will The message is sent to the next hop address.
  • the classifier is used to receive the message; the classifier determines whether the message is a multicast message; the classifier adds a predetermined identifier to the message, where the predetermined identifier is used to indicate whether the message is a multicast message.

Landscapes

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

Abstract

L'invention concerne un procédé de génération de message, un procédé de transfert de message et un dispositif. Le procédé comprend les étapes suivantes dans lesquelles : un classificateur reçoit un message; le classificateur ajoute un identificateur prédéfini dans le message, l'identificateur prédéfini étant utilisé pour indiquer si le message est un message à plusieurs destinataires. La présente invention résout le problème selon lequel un traitement de service différencié ne peut pas être réalisé sur des messages à plusieurs destinataires ayant différentes adresses de destination, parvenant ainsi à réaliser un traitement de service différencié sur des messages à plusieurs destinataires ayant différentes adresses de destination.
PCT/CN2016/090191 2016-01-18 2016-07-15 Procédé de génération de message, procédé de transfert de message et dispositif WO2017124712A1 (fr)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201610035804.4 2016-01-18
CN201610035804.4A CN106982134A (zh) 2016-01-18 2016-01-18 报文生成方法、报文转发方法及装置

Publications (1)

Publication Number Publication Date
WO2017124712A1 true WO2017124712A1 (fr) 2017-07-27

Family

ID=59341374

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2016/090191 WO2017124712A1 (fr) 2016-01-18 2016-07-15 Procédé de génération de message, procédé de transfert de message et dispositif

Country Status (2)

Country Link
CN (1) CN106982134A (fr)
WO (1) WO2017124712A1 (fr)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112583711A (zh) * 2019-09-27 2021-03-30 华为技术有限公司 一种报文处理方法及装置

Families Citing this family (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108512758B (zh) 2018-03-07 2021-09-14 华为技术有限公司 报文处理方法、控制器以及转发设备
CN108933787B (zh) * 2018-07-02 2021-05-18 深圳市风云实业有限公司 报文生成方法及装置
CN111490902B (zh) * 2020-04-12 2024-05-14 上海兰鹤航空科技有限公司 664网络消息构建算法

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101272324A (zh) * 2008-04-30 2008-09-24 华为技术有限公司 服务质量控制方法及网络设备
CN101873250A (zh) * 2009-04-27 2010-10-27 中兴通讯股份有限公司 数据转发方法及装置
CN102511152A (zh) * 2011-08-31 2012-06-20 华为技术有限公司 在共享网络中实现组播的方法、***及装置
CN103001778A (zh) * 2011-09-14 2013-03-27 华为技术有限公司 一种组播包传送方法、站点装置及服务集***
CN103841083A (zh) * 2012-11-22 2014-06-04 华为技术有限公司 增强报文识别能力的方法及装置

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1232081C (zh) * 2002-08-06 2005-12-14 华为技术有限公司 网络通信中组播报文的转发方法
CN104954245B (zh) * 2014-03-27 2019-07-16 中兴通讯股份有限公司 业务功能链处理方法及装置

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101272324A (zh) * 2008-04-30 2008-09-24 华为技术有限公司 服务质量控制方法及网络设备
CN101873250A (zh) * 2009-04-27 2010-10-27 中兴通讯股份有限公司 数据转发方法及装置
CN102511152A (zh) * 2011-08-31 2012-06-20 华为技术有限公司 在共享网络中实现组播的方法、***及装置
CN103001778A (zh) * 2011-09-14 2013-03-27 华为技术有限公司 一种组播包传送方法、站点装置及服务集***
CN103841083A (zh) * 2012-11-22 2014-06-04 华为技术有限公司 增强报文识别能力的方法及装置

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112583711A (zh) * 2019-09-27 2021-03-30 华为技术有限公司 一种报文处理方法及装置

Also Published As

Publication number Publication date
CN106982134A (zh) 2017-07-25

Similar Documents

Publication Publication Date Title
US10693765B2 (en) Failure protection for traffic-engineered bit indexed explicit replication
US11303470B2 (en) Bridging of non-capable subnetworks in bit indexed explicit replication
US11206148B2 (en) Bit indexed explicit replication
US11240053B2 (en) Overlay signaling for bit indexed explicit replication
US10536324B2 (en) Per-prefix LFA FRR with bit indexed explicit replication
US9860163B2 (en) MPLS traffic engineering for point-to-multipoint label switched paths
US8243643B2 (en) Active multicast information protocol
EP3677013B1 (fr) Réplication avec déploiement de métal dédié dans un nuage
US20170324575A1 (en) Bit Indexed Explicit Replication Forwarding Optimization
US7529199B1 (en) System and method for resolving conflicts in proxy routing information associated with multicast distribution trees
US8817798B2 (en) Constraining topology size and recursively calculating routes in large networks
CN102263646B (zh) 交换机的分布式控制平面内的多播
WO2017124712A1 (fr) Procédé de génération de message, procédé de transfert de message et dispositif
WO2015108106A1 (fr) Dispositif de transfert de paquets, dispositif de commande, système de communication, procédé de communication, et programme
WO2018068588A1 (fr) Procédé et contrôleur de réseautage défini par logiciel (sdn) destinés à fournir un service de multidiffusion
US20140241351A1 (en) Dynamic determination of the root node of an mldp tunnel
US9979698B2 (en) Local internet with quality of service (QoS) egress queuing
EP3542518B1 (fr) Activation de liaison dans un réseau centré sur le contenu
CN113542099A (zh) 数据的传输方法、装置、电子设备、介质和产品
US9577930B2 (en) Method for determining multicast path, method for receiving data packet, and router
CN115051890A (zh) 一种报文处理方法、***、装置、电子设备及存储介质
JP2004328580A (ja) マルチキャスト通信システム、方法およびエッジルータ

Legal Events

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

Ref document number: 16885972

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 16885972

Country of ref document: EP

Kind code of ref document: A1