CN106982134A - Message forming method, message forwarding method and device - Google Patents

Message forming method, message forwarding method and device Download PDF

Info

Publication number
CN106982134A
CN106982134A CN201610035804.4A CN201610035804A CN106982134A CN 106982134 A CN106982134 A CN 106982134A CN 201610035804 A CN201610035804 A CN 201610035804A CN 106982134 A CN106982134 A CN 106982134A
Authority
CN
China
Prior art keywords
message
next hop
characterised
sff
hop address
Prior art date
Application number
CN201610035804.4A
Other languages
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 中兴通讯股份有限公司
Priority to CN201610035804.4A priority Critical patent/CN106982134A/en
Publication of CN106982134A publication Critical patent/CN106982134A/en

Links

Classifications

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

Abstract

The invention provides a kind of message forming method, message forwarding method and device.Wherein, this method includes:Grader receives message;Grader adds predetermined mark in messages, wherein, predetermined mark is used to indicate whether message is multicast message.By the present invention, the problem of differentiated business is handled can not be made to the multicast message of different destination addresses by solving, and realize the differentiated service processing to the multicast message of different destination addresses.

Description

Message forming method, message forwarding method and device

Technical field

The present invention relates to the communications field, in particular to a kind of message forming method, message forwarding method and device.

Background technology

In the prior art, data will access substantial amounts of value-added service equipment when entering network, such as anti-virus equipment plus Fast equipment, firewall box and network address translation (Network Address Translation, referred to as NAT) are set It is standby etc..Flow does not have the differentiation of differentiation must be once by these business devices, and it is unnecessary to be caused to these equipment Burden, limits the optimization of Service Source, and configuration is complicated, is difficult to realize the quick change of service configuration.

In view of the above-mentioned problems, proposing the mode of business chain in correlation technique:Business function chain (Service Function Chain, referred to as SFC), i.e., all service business are integrated, fictionalize business temporary layer (Service overlay), The formation services topology of oneself, and bottom-layer network are decoupling, are no longer influenced by the limitation of bottom-layer network structure, framework such as Fig. 1 It is shown.The business to be passed through of flow is determined by SFC.SFC is by increasing to every business function path (Service Function Path, referred to as SFP) mark (SFP Identifier, referred to as SFPID), and message is divided Level, the different SFP of assignment of traffic to different stage.Forwarding unit is then forwarded to message according to SFP mark. So as to realize for different flows, it is possible to implement different business chain processing, differentiated demand is realized.

As shown in figure 1, business function (Service Function, referred to as SF) is shown in figure, business function forwarding Device (Service Function Follower, referred to as SFF).Wherein, SFF is according to the SFPID selections carried in message Different SF or SFF are forwarded to message, i.e., the message received from grader (Classifier) or SFF, SFF The SF for belonging to this business chain path can be forwarded to according to the SFPID of message;The message received from SF, SFF can foundation The SFPID of message selects next-hop, and then message is sent on next SFF according to the address of next-hop.

Current business chain is all the linear structure of point-to-point, and this linear structure is applied to the unicast that destination address is one Message, but be multiple multicast messages for destination address, then the multicast message of different destination addresses can not be gone on business The business processing of alienation.

The content of the invention

The invention provides a kind of message forming method, message forwarding method and device, so that at least solve can not be to different mesh The multicast message of address make the problem of differentiated business is handled.

According to an aspect of the invention, there is provided a kind of message forming method, including:Grader receives message;It is described Grader adds predetermined mark in the message, wherein, predetermined identify is used to indicate whether the message is multicast Message.

Alternatively, the grader adds the predetermined mark in the message and included:The grader is in the message Business function chain SFC heads add the predetermined mark.

Alternatively, the grader adds the predetermined mark in the message and included:The grader is in the message Business function chain SFC heads addition business function ID of trace route path SFPID, wherein, carried in the SFPID State predetermined mark.

Alternatively, before the grader adds predetermined mark in the message, methods described also includes:Described point Class device receives the forwarding strategy that controller is issued, wherein, the forwarding strategy is according to the message by the controller Message content generation, the forwarding strategy includes the predetermined mark.

Alternatively, the message content includes at least one of:The address information on the head of the message;Using to institute State the business processing demand information of message.

Alternatively, before the grader adds the predetermined mark in the message, methods described also includes:Sentence Whether the message that breaks is multicast message;The grader adds the predetermined mark in the message to be included:Described In the case that message is multicast message, by the predetermined mark set;In the case where the message is not multicast message, The predetermined mark is reset.

Alternatively, after the grader adds the predetermined mark in the message, methods described also includes:Institute State grader according to it is described it is predetermined mark inquiry and the corresponding forwarding strategy of the predetermined mark, and by the message send to The next hop address inquired from the forwarding strategy.

Alternatively, in the case where the next hop address inquired is multiple, the grader sends the message Include to the next hop address:The message is copied into many parts by the grader;The grader will be copied into many parts The message send to multiple next hop address.

According to an aspect of the invention, there is provided a kind of message forwarding method, including:Business function transponder SFF Receive message;The SFF judges that the predetermined of business function chain SFC heads identifies whether set in the message, wherein, It is used to indicate that the message is multicast message during the predetermined mark set;In the case where the judgment result is yes, it is described SFF inquires about the next hop address of the message;The SFF sends the message to the next hop address.

Alternatively, the SFF judges that the described of SFC heads makes a reservation for identify whether that set includes in the message:It is described SFF parses the business function chain SFC heads of the message, obtains business function ID of trace route path SFPID;The SFF Judge in the SFPID described predetermined identifies whether set.

Alternatively, the next hop address of the SFF inquiries message includes:The SFF is according to the message Business function ID of trace route path SFPID, inquire about the next hop address of the message.

Alternatively, in the case where the next hop address is multiple, the SFF sends the message to described next Jumping address includes:The message is copied into many parts by the SFF;The SFF sends out the message for being copied into many parts Deliver to multiple next hop address.

Alternatively, before the SFF inquires about the next hop address of the message, methods described also includes:It is described SFF receives the next hop address and/or the business function path SFP of the message for the message that controller is issued, Wherein, the next hop address and/or the SFP are the destination address and business according to the message by the controller Functional chain SFC topology information generation.

According to an aspect of the invention, there is provided a kind of message generating means, applied to grader, including:First connects Module is received, for receiving message;Add module, for adding predetermined mark in the message, wherein, it is described predetermined Identify for indicating whether the message is multicast message.

Alternatively, the add module is used for:The pre- calibration is added on the business function chain SFC heads of the message Know.

Alternatively, the add module is used for:On the business function chain SFC heads addition business function road of the message Footpath identifies SFPID, wherein, the predetermined mark is carried in the SFPID.

Alternatively, described device also includes:Second receiving module, for receiving the forwarding strategy that controller is issued, wherein, The forwarding strategy is to be generated by the controller according to the message content of the message, and the forwarding strategy includes described Predetermined mark.

Alternatively, described device also includes:First enquiry module, for making a reservation for according to the predetermined mark inquiry with described Identify corresponding forwarding strategy;First sending module, for the message to be sent to inquiring from the forwarding strategy Next hop address.

Alternatively, first sending module includes:First copied cells, in the next hop address inquired In the case of multiple, the message is copied into many parts;First transmitting element, for many parts of the report will to be copied into Text is sent to multiple next hop address.

According to an aspect of the invention, there is provided a kind of apparatus for forwarding message, applied to business function transponder SFF, Including:3rd receiving module, for receiving message;Judge module, for judging business function chain SFC in the message The predetermined of head identifies whether set, wherein, it is used to indicate that the message is multicast message during the predetermined mark set; Second enquiry module, in the case where the judgment result is yes, inquiring about the next hop address of the message;Second sends Module, for the message to be sent to the next hop address.

Alternatively, the judge module includes:Resolution unit, the business function chain SFC heads for parsing the message Portion, obtains business function ID of trace route path SFPID;Judging unit, for judging the predetermined mark in the SFPID Whether set.

Alternatively, second enquiry module is used for:According to the business function ID of trace route path SFPID of the message, inquiry The next hop address of the message.

Alternatively, second sending module includes:Second copied cells, in the next hop address inquired In the case of multiple, the message is copied into many parts;Second transmitting element, for many parts of the report will to be copied into Text is sent to multiple next hop address.

Alternatively, described device also includes:4th receiving module, for receiving described in the message that controller is issued The business function path SFP of next hop address and/or the message, wherein, the next hop address and/or the SFP It is to be generated by the controller according to the destination address of the message and business function chain SFC topology information.

By the present invention, message is received using grader;Grader judges whether message is multicast message;Grader is in report Predetermined mark is added in text, wherein, predetermined mark be used to indicating message whether be multicast message mode, solving can not The problem of differentiated business is handled is made to the multicast message of different destination addresses, the group to different destination addresses is realized Report the differentiated service processing of text.

Brief description of the drawings

Accompanying drawing described herein is used for providing a further understanding of the present invention, constitutes the part of the application, the present invention Schematic description and description be used for explain the present invention, do not constitute inappropriate limitation of the present invention.In the accompanying drawings:

Fig. 1 is the schematic diagram forwarded according to the message of correlation technique;

Fig. 2 is the flow chart of message forming method according to embodiments of the present invention;

Fig. 3 is the flow chart of message forwarding method according to embodiments of the present invention;

Fig. 4 is the structured flowchart of message generating means according to embodiments of the present invention;

Fig. 5 is the alternative construction block diagram one of message generating means according to embodiments of the present invention;

Fig. 6 is the alternative construction block diagram two of message generating means according to embodiments of the present invention;

Fig. 7 is the alternative construction block diagram three of message generating means according to embodiments of the present invention;

Fig. 8 is the structured flowchart of apparatus for forwarding message according to embodiments of the present invention;

Fig. 9 is the alternative construction block diagram one of apparatus for forwarding message according to embodiments of the present invention;

Figure 10 is the alternative construction block diagram two of apparatus for forwarding message according to embodiments of the present invention;

Figure 11 is the alternative construction block diagram three of apparatus for forwarding message according to embodiments of the present invention;

Figure 12 is the schematic diagram one forwarded according to the message of alternative embodiment of the present invention;

Figure 13 is the schematic diagram two forwarded according to the message of alternative embodiment of the present invention.

Embodiment

Describe the present invention in detail below with reference to accompanying drawing and in conjunction with the embodiments.It should be noted that in the feelings not conflicted Under condition, the feature in embodiment and embodiment in the application can be mutually combined.

It should be noted that term " first ", " second " in description and claims of this specification and above-mentioned accompanying drawing Etc. being for distinguishing similar object, without for describing specific order or precedence.

A kind of message forming method is provided in the present embodiment, and Fig. 2 is message forming method according to embodiments of the present invention Flow chart, as shown in Fig. 2 the flow comprises the following steps:

Step S202, grader receives message;

Step S204, grader adds predetermined mark in messages, wherein, predetermined mark be used to indicating message whether be Multicast message.

By above-mentioned steps, predetermined mark progress area is with the addition of needing to be sent in the multicast message of at least two destinations Not so that the message can be identified in repeating process, so as to carry out differentiated business processing.For example, In correlation technique, either destination address is the message of one or destination address is multiple messages, and the flow of execution is Identical:In grader or business function transponder, even if inquiring message has two next hop address, also only One of next hop address that can be in the two next hop address is forwarded, and another next hop address may It is only intended to indicate Protection path or other purposes.After being identified using above-mentioned steps to message, for mark When being forwarded for the message of at least two destinations, then differentiated business processing can be carried out.For example, can inquire about Default next-hop mapping table (can be the same or different with the next-hop mapping table of unicast message), it is many inquiring In the case of individual next hop address, message can be forwarded from this multiple next hop address respectively simultaneously.

It can be seen that, by above-mentioned steps, solving can not make at differentiated business to the multicast message of different destination addresses The problem of reason, realize the differentiated service processing to the multicast message of different destination addresses.

The multicast message has following features:

A. the destination host (i.e. destination address) of multicast message is located at heterogeneous networks, their some business functions processing It is that (i.e. the SFP of multicast message is the SFP of point-to-multipoint (PtMP), and the SFC can be linear in respective network SFC, but the SFP of multicast message is the SFP of bifurcated);

B. the different destination host of multicast message needs to carry out different business functions processing that (i.e. the SFC is bifurcated SFC)。

Alternatively, predetermined mark can be added on defined position in messages, for example, being added in SFC heads pre- Calibration is known.Alternatively, grader adds SFPID in the SFC heads of message, wherein, carried in SFPID predetermined Mark.SFPID is used for the SFP for indicating message.

Alternatively, it can be pre-set according to the feature of message that whether a message, which needs to be sent at least two destinations, , can also controller be respectively configured as needed.Generated in controller and after the forwarding strategy of downward message, Grader receives the forwarding strategy that controller is issued, wherein, forwarding strategy is to be given birth to by controller according to the message content of message Into, the forwarding strategy includes the predetermined mark of set or clearing.By this way, it is possible to achieve to special packet Configuration, so as to realize the multicast mode forwarding of special packet.

Above-mentioned forwarding strategy is to be generated by controller according to the message content of message.Message content includes:The head of message The address information in portion;Using the business processing demand information to message.

Alternatively, before step S204, controller can be in advance by the next hop address of message and/or the SFP of message It is sent to controller and SFF.Wherein, grader receives the next hop address of message that controller issues and/or message SFP, wherein, next hop address and/or SFP are according to the destination address of message and SFC topology information by controller Generation.The next hop address and/or the SFP of message that are received from controller are the foundations that grader is forwarded to message.

When E-Packeting, the next hop address of the message can be inquired according to the SFPID of message;Or according to message SFP inquire the SFP of the message, and next hop address is inquired according to the SFP, so as to realize the forwarding of message. Alternatively, after grader adds predetermined mark in messages, the next hop address of grader query message;Grader Message is sent to next hop address.Wherein, grader is according to the SFPID of message, the next hop address of query message.

Add in messages before predetermined mark, can judge whether message is multicast by message content or forwarding strategy Message.When adding predetermined mark into message, in the case where message is multicast message, by predetermined mark set; In the case that message is not multicast message, predetermined mark is reset.

Alternatively, in the case where the next hop address inquired is multiple, message is copied into many parts by grader;Classification Device sends the message for being copied into many parts to multiple next hop address.By this way, realize by a message send to Multiple next hop address, and then send to multiple destination addresses.

Because grader is the business function with message grading function, meanwhile, grader will also realize the forwarding work(of message Can, equivalent to the repertoire that grader can also realize business function transponder.

A kind of message forwarding method is additionally provided in the present embodiment, and the message forwarding method can be applied in SFF.Figure 3 be the flow chart of message forwarding method according to embodiments of the present invention, as shown in figure 3, the flow comprises the following steps:

Step S302, SFF receive message;

Step S304, SFF judge that the predetermined of SFC heads identifies whether set in message, wherein, make a reservation for mark set When be used for indicate message be multicast message;

Step S306, in the case where the judgment result is yes, the next hop address of SFF query messages;

Step S308, SFF send message to next hop address.

By above-mentioned steps, due to carrying predetermined mark in messages, so as to be entered according to the predetermined mark to message The processing of row differentiated business, for example, the next hop address (next hop address determined according to predetermined mark) of query message, And send message from one or more next hop address.Relative in correlation technique, due to cannot be distinguished by message Whether need to be sent at least two destinations, be one hence for destination address and destination address be multiple messages all The mode of same treatment is carried out, above-mentioned steps are solved can not make the industry of differentiation to the multicast message of different destination addresses The problem of business processing, realize the differentiated service processing to the multicast message of different destination addresses.

Alternatively, in the case where predetermined mark is carried in SFPID, SFF can with the SFC heads of analytic message, Obtain SFPID, and judge in SFPID predetermined identify whether set.

Alternatively, before the next hop address of SFF query messages, SFF receives the next-hop for the message that controller is issued Address and/or the SFP of message, wherein, next hop address and/or SFP be by controller according to the destination address of message and SFC topology information generation.Alternatively, the next hop address of SFF query messages includes:SFF is according to message SFPID, the next hop address of query message.

Alternatively, in the case where next hop address is multiple, message can be copied into many parts by SFF;SFF will be replicated Sent into many parts of messages to multiple next hop address.

Through the above description of the embodiments, those skilled in the art can be understood that according to above-described embodiment Method the mode of required general hardware platform can be added to realize by software, naturally it is also possible to by hardware, but a lot In the case of the former be more preferably embodiment.Understood based on such, technical scheme is substantially in other words to existing The part for having technology to contribute can be embodied in the form of software product, and the computer software product is stored in one In storage medium (such as ROM/RAM, magnetic disc, CD), including some instructions are make it that a station terminal equipment (can To be mobile phone, computer, server, or network equipment etc.) method that performs each embodiment of the invention.

A kind of message generating means are additionally provided in the present embodiment, and applied to grader, the device is used to realize above-mentioned reality Example and preferred embodiment are applied, repeating no more for explanation had been carried out.As used below, term " module " can With the combination of the software and/or hardware of realizing predetermined function.Although the device described by following examples is preferably with software To realize, but hardware, or the realization of the combination of software and hardware is also that may and be contemplated.

Fig. 4 is the structured flowchart of message generating means according to embodiments of the present invention, as shown in figure 4, the device includes: First receiving module 42, add module 46, wherein, the first receiving module 42, for receiving message;Add module 46, coupled to the first receiving module 42, for adding predetermined mark in messages, wherein, predetermined mark is used to indicate Whether message is multicast message.

Alternatively, add module 46 is used for:Predetermined mark is added in the SFC heads of message.

Alternatively, add module 46 is used for:SFPID is added in the SFC heads of message, wherein, taken in SFPID With predetermined mark.

Fig. 5 is the alternative construction block diagram one of message generating means according to embodiments of the present invention, as shown in figure 5, alternatively, Device also includes:Second receiving module 52, coupled to add module 46, for receiving the forwarding strategy that controller is issued, Wherein, forwarding strategy is to be generated by controller according to the message content of message, and forwarding strategy includes predetermined mark.

Fig. 6 is the alternative construction block diagram two of message generating means according to embodiments of the present invention, as shown in fig. 6, alternatively, Device also includes:First enquiry module 62, coupled to add module 46, for according to predetermined mark inquiry and pre- calibration Know corresponding forwarding strategy;First sending module 64, coupled to the first enquiry module 62, for by message send to from The next hop address inquired in the forwarding strategy.

Fig. 7 is the alternative construction block diagram three of message generating means according to embodiments of the present invention, as shown in fig. 7, alternatively, First sending module 64 includes:First copied cells 642, in the case of being multiple in the next hop address inquired, Message is copied into many parts;First transmitting element 644, coupled to the first copied cells 642, for many parts will to be copied into Message send to multiple next hop address.

A kind of apparatus for forwarding message is additionally provided in the present embodiment, and applied to SFF, the device is used to realize above-mentioned implementation Example and preferred embodiment, had carried out repeating no more for explanation.As used below, term " module " can be with Realize the combination of the software and/or hardware of predetermined function.Although the device described by following examples is preferably come with software Realize, but hardware, or the realization of the combination of software and hardware is also that may and be contemplated.

Fig. 8 is the structured flowchart of apparatus for forwarding message according to embodiments of the present invention, as shown in figure 8, the device includes: 3rd receiving module 82, judge module 84, the second enquiry module 86 and the second sending module 88, wherein, the 3rd receives Module 82, for receiving message;Judge module 84, coupled to the 3rd receiving module 82, for judging SFC in message The predetermined of head identifies whether set, wherein, it is used to indicate that message is multicast message during predetermined mark set;Second inquiry Module 86, coupled to judge module 84, in the case where the judgment result is yes, the next hop address of query message; Second sending module 88, coupled to the second enquiry module 86, for message to be sent to next hop address.

Fig. 9 is the alternative construction schematic diagram one of apparatus for forwarding message according to embodiments of the present invention, as shown in figure 9, optional Ground, judge module 84 includes:Resolution unit 842, for the SFC heads of analytic message, obtains SFPID;Judge Unit 844, coupled to resolution unit 842, predetermined set is identified whether for judge in SFPID.

Alternatively, the second enquiry module 86 is used for:According to the SFPID of message, the next hop address of query message.

Figure 10 is the alternative construction schematic diagram two of apparatus for forwarding message according to embodiments of the present invention, as shown in Figure 10, can Selection of land, the second sending module 88 includes:Second copied cells 882, for being multiple in the next hop address inquired In the case of, message is copied into many parts;Second transmitting element 884, coupled to the second copied cells 882, for by again The message for being made many parts is sent to multiple next hop address.

Figure 11 is the alternative construction schematic diagram three of apparatus for forwarding message according to embodiments of the present invention, as shown in figure 11, can Selection of land, device also includes:4th receiving module 112, coupled to the second enquiry module 86, is issued for receiving controller Message next hop address and/or the SFP of message, wherein, next hop address and/or SFP are according to report by controller The topology information generation of the destination address and SFC of text.

It should be noted that above-mentioned modules can be by software or hardware to realize, for the latter, Ke Yitong Cross in the following manner realization, but not limited to this:Above-mentioned module is respectively positioned in same processor;Or, above-mentioned module distinguishes position In multiple processors.

Embodiments of the invention additionally provide a kind of software, and the software is used to perform in above-described embodiment and preferred embodiment The technical scheme of description.

Embodiments of the invention additionally provide a kind of storage medium.In the present embodiment, above-mentioned storage medium can be set To store the program code for being used for performing following steps:

Step S202, grader receives message;

Step S204, grader adds predetermined mark in messages, wherein, predetermined mark be used to indicating message whether be Multicast message.

Embodiments of the invention additionally provide a kind of storage medium.In the present embodiment, above-mentioned storage medium can be set To store the program code for being used for performing following steps:

Step S302, SFF receive message;

Step S304, SFF judge that the predetermined of SFC heads in message identifies whether set, wherein, predetermined mark is put It is used to indicate that message is multicast message during position;

Step S306, in the case where the judgment result is yes, the next hop address of SFF query messages;

Step S308, SFF send message to next hop address.

Alternatively, in the present embodiment, above-mentioned storage medium can include but is not limited to:USB flash disk, read-only storage (Read-Only Memory, referred to as ROM), random access memory (Random Access Memory, referred to as For RAM), mobile hard disk, magnetic disc or CD etc. are various can be with the medium of store program codes.

Alternatively, the specific example in the present embodiment may be referred to showing described in above-described embodiment and optional embodiment Example, the present embodiment will not be repeated here.

In order that the description of the embodiment of the present invention is clearer, it is described and illustrates with reference to alternative embodiment.

Alternative embodiment of the present invention provides the method and system that one kind realizes the fork service chain of point-to-multipoint (PtMP), To realize the support to multicast message, various multicast messages are realized with differentiated business is handled.

A kind of point-to-multipoint bifurcation structure SFC is provided in alternative embodiment of the present invention.If bifurcation structure SFC by Dry business function node composition.In general the business function that multicast message needs arranges link by linear precedence.At least exist Business chain needs bifurcated in the case of following two:

A. the destination host of multicast message is located at heterogeneous networks, and their some business functions are handled in respective network (linear SFC but be bifurcated SFP);

B. the different destination host of multicast message needs to carry out different business function processing (SFC of bifurcated).

Classifying equipoment (i.e. grader, Classifier) to multicast message when being classified, if the message is multicast report Text, then distribute a bifurcated SFC head to the multicast message;If unicast message, then distributed to the unicast message One linear SFC head.

The SFC heads of message set a bifurcated flag bit (equivalent to above-mentioned predetermined mark), for representing this SFC Being one is used for the bifurcated SFC of multicast.

Classifying equipoment or SFF when parsing addressing to SFC heads, can also be inquired about when being forwarded to SFC messages Bifurcated flag bit, if bifurcated flag bit set, and inquiry would have multiple next-hops (having multiple exit ports), then SFF Message is replicated corresponding many parts, respectively from multiple exit ports, multiple next-hops are issued.Otherwise, directly forward the packet To the next-hop inquired.

For chain of command, controller is according to the situation of the member of multicast address (for example, positional information, business processing are needed Seek information etc.), according to information such as the topologys of business function entity being collected into, on demand (for example, meeting a, b situation) Define the tactful and corresponding SFP of the corresponding fork service functional chain of the flux of multicast.Policy distribution is set to classification Standby, classifying equipoment is message distribution SFC heads according to the strategy;The forwarding information in path be issued to corresponding SFF or Person's classifying equipoment.Wherein, for the SFF of bifurcation, the forwarding information that controller is issued contains multiple next hop informations. SFF is according to forwarding-table item (could be arranged to just inquire about the forwarding-table item in the case of carrying crossing sign position in messages) Message is forwarded.

By such scheme, a kind of dichotomous SFC solutions suitable for multicast are introduced, it is possible to achieve one Business function chain realizes a kind of processing mode of differentiation in processing multicast message, improves the flexibility of business function chain And scalability.

Alternative embodiment of the present invention is described and illustrated below in conjunction with the accompanying drawings.

As shown in figure 12, source device S sends flux of multicast to purpose equipment D1 and equipment D2, and the flux of multicast needs It is application gateway (AppFW) → Border Gateway (EdgeFW) → based on cable television system by business function chain LAN (WLAN over CATV System, referred to as WOC), but because two destinations D1 and D2 are separated by Farther out, or different network is belonged to, it is necessary to use different WOC (being respectively labeled as WOC1 and WOC2), Therefore this SFC is set to a point-to-multipoint business function path SFP by controller, i.e.,:

AppFW→EdgeFW→WOC1

|→WOC2

Controller sets up such business function path and distributes SPFID according to strategy, gives these business function entity institutes The SFF of connection issues the corresponding SFPID of bifurcated SFP, and the SFPID carries bifurcated mark, and this SFPID pairs The information such as the next-hop answered.Wherein, according to business function entity topology, for bifurcated SFP bifurcation EdgeFW The SFF of connection, it is necessary to be multiple next-hops to the SFF next hop informations issued, i.e., behind two WOC being connected Address.

Flow is after S websites are sent, and the strategy before classifying equipoment Classifier foundations is contained to the assignment of traffic SFPID SFC heads, the SPFID carries bifurcated mark.

A series of SFF below search next-hop according to the SFPID for carrying bifurcated mark, in AppFW connections On SFF, due to the list item only one of which next-hop that controller is issued, so the SFF is transmitted to EdgeFW connections SFF。

The SFF of EdgeFW connections also can inquire about next after EdgeFW processing is forwarded the message to according to SFPID Jump.The next-hop that the SFF is checked out is two, it is therefore desirable to will replicate many parts of messages, to each next-hop forwarding one Part.

As shown in figure 13, destination host different under the scene, it is necessary to business function entity be different, i.e. industry Functional chain of being engaged in is bifurcated, the corresponding inevitable bifurcated in its corresponding business function path.In fig. 13, source device S is arrived The business function entity that destination D1 and destination D2 flux of multicast are passed through has difference, and S to D1 is needed at The business of reason has AppFW → EdgeFW → WOC, and S to D2 need treated business have AppFW → EdgeFW → ADC → MON, and S to D1 and D2 flow is same flux of multicast.

Controller is established as this kind of flux of multicast according to strategy and sets up such business function chain and distribute SPFID, to this The SFF that a little business function entities are connected issues the corresponding SFPID of bifurcated SFP, and the SFPID carries bifurcated mark, And the information such as corresponding next-hops of the SFPID.Wherein, according to business function entity topology, for bifurcated SFP Bifurcation EdgeFW connections SFF, it is necessary to be multiple next-hops, i.e., one to the SFF next hop informations issued Next-hop is WOC address, and another is ADC address.

Flow is after S websites are sent, and the strategy before classifying equipoment Classifier foundations is contained to the assignment of traffic SFPID SFC heads, the SPFID carries bifurcated mark.

A series of SFF below search next-hop according to the SFPID for carrying bifurcated mark, in AppFW connections On SFF, due to the list item only one of which next-hop that controller is issued, so the SFF is transmitted to EdgeFW connections SFF。

The SFF of EdgeFW connections also can inquire about next after EdgeFW processing is forwarded the message to according to SFPID Jump.The next-hop that the SFF is checked out is two, it is therefore desirable to will replicate two parts of messages, and portion issues WOC connections SFF, another is sent to the SFF of ADC connections.

Obviously, those skilled in the art should be understood that above-mentioned each module of the invention or each step can be with general Computing device realizes that they can be concentrated on single computing device, or is distributed in multiple computing devices and is constituted Network on, alternatively, the program code that they can be can perform with computing device be realized, it is thus possible to by they Storage is performed by computing device in the storage device, and in some cases, can be to be held different from order herein They, are either fabricated to each integrated circuit modules or will be many in them by the shown or described step of row respectively Individual module or step are fabricated to single integrated circuit module to realize.So, the present invention is not restricted to any specific hardware Combined with software.

The preferred embodiments of the present invention are the foregoing is only, are not intended to limit the invention, for the technology of this area For personnel, the present invention can have various modifications and variations.Within the spirit and principles of the invention, that is made is any Modification, equivalent substitution, improvement etc., should be included in the scope of the protection.

Claims (24)

1. a kind of message forming method, it is characterised in that including:
Grader receives message;
The grader adds predetermined mark in the message, wherein, predetermined identify is used to indicate the report Whether text is multicast message.
2. according to the method described in claim 1, it is characterised in that the grader adds described predetermined in the message Mark includes:
The grader adds the predetermined mark on the business function chain SFC heads of the message.
3. according to the method described in claim 1, it is characterised in that the grader adds described predetermined in the message Mark includes:
The grader adds business function ID of trace route path SFPID on the business function chain SFC heads of the message, Wherein, the predetermined mark is carried in the SFPID.
4. according to the method described in claim 1, it is characterised in that pre- calibration is added in the message in the grader Before knowledge, methods described also includes:
The grader receives the forwarding strategy that controller is issued, wherein, the forwarding strategy is by the controller Generated according to the message content of the message, the forwarding strategy includes the predetermined mark.
5. method according to claim 4, it is characterised in that the message content includes at least one of:
The address information on the head of the message;
Using the business processing demand information to the message.
6. according to the method described in claim 1, it is characterised in that
Before the grader adds the predetermined mark in the message, methods described also includes:Judge institute Whether state message is multicast message;
The grader adds the predetermined mark in the message to be included:In the feelings that the message is multicast message Under condition, by the predetermined mark set;In the case where the message is not multicast message, by the predetermined mark Reset.
7. method according to any one of claim 1 to 6, it is characterised in that in the grader in the message After the middle addition predetermined mark, methods described also includes:
The grader is inquired about and the corresponding forwarding strategy of the predetermined mark according to the predetermined mark, and will be described Message is sent to the next hop address inquired from the forwarding strategy.
8. method according to claim 7, it is characterised in that in the next hop address inquired be multiple feelings Under condition, the grader, which sends the message to the next hop address, to be included:
The message is copied into many parts by the grader;
The grader sends the message for being copied into many parts to multiple next hop address.
9. a kind of message forwarding method, it is characterised in that including:
Business function transponder SFF receives message;
The SFF judges that the predetermined of business function chain SFC heads identifies whether set in the message, wherein, institute It is used to indicate that the message is multicast message when stating predetermined mark set;
In the case where the judgment result is yes, the SFF inquires about the next hop address of the message;
The SFF sends the message to the next hop address.
10. method according to claim 9, it is characterised in that the SFF judges the institute on SFC heads in the message State and make a reservation for identify whether that set includes:
The SFF parses the business function chain SFC heads of the message, obtains business function ID of trace route path SFPID;
What the SFF judged in the SFPID described predetermined identifies whether set.
11. method according to claim 9, it is characterised in that the SFF is with inquiring about the next-hop of the message Location includes:
The SFF inquires about the described next of the message according to the business function ID of trace route path SFPID of the message Jump address.
12. method according to claim 9, it is characterised in that in the case where the next hop address is multiple, institute Stating SFF and sending the message to the next hop address includes:
The message is copied into many parts by the SFF;
The SFF sends the message for being copied into many parts to multiple next hop address.
13. the method according to any one of claim 9 to 12, it is characterised in that inquire about the report in the SFF Before the next hop address of text, methods described also includes:
The SFF receives the next hop address and/or the business of the message for the message that controller is issued Feature path SFP, wherein, the next hop address and/or the SFP are according to the message by the controller Destination address and business function chain SFC topology information generation.
14. a kind of message generating means, applied to grader, it is characterised in that including:
First receiving module, for receiving message;
Add module, for adding predetermined mark in the message, wherein, predetermined identify is used to indicate institute Whether state message is multicast message.
15. device according to claim 14, it is characterised in that the add module is used for:In the industry of the message Business functional chain SFC adds the predetermined mark in head.
16. device according to claim 14, it is characterised in that the add module is used for:In the industry of the message Be engaged in functional chain SFC heads addition business function ID of trace route path SFPID, wherein, carried in the SFPID described Predetermined mark.
17. device according to claim 14, it is characterised in that described device also includes:
Second receiving module, for receiving the forwarding strategy that controller is issued, wherein, the forwarding strategy is by institute State what controller was generated according to the message content of the message, the forwarding strategy includes the predetermined mark.
18. the device according to any one of claim 14 to 17, it is characterised in that described device also includes:
First enquiry module, for according to the predetermined mark inquiry and the corresponding forwarding strategy of the predetermined mark;
First sending module, for the message to be sent to the next hop address inquired from the forwarding strategy.
19. device according to claim 18, it is characterised in that first sending module includes:
First copied cells, in the case of being multiple in the next hop address inquired, by the message It is copied into many parts;
First transmitting element, for the message for being copied into many parts to be sent to multiple next hop address.
20. a kind of apparatus for forwarding message, applied to business function transponder SFF, it is characterised in that including:
3rd receiving module, for receiving message;
Judge module, for judging that the predetermined of business function chain SFC heads identifies whether set in the message, its In, it is used to indicate that the message is multicast message during the predetermined mark set;
Second enquiry module, in the case where the judgment result is yes, inquiring about the next hop address of the message;
Second sending module, for the message to be sent to the next hop address.
21. device according to claim 20, it is characterised in that the judge module includes:
Resolution unit, the business function chain SFC heads for parsing the message, obtains business function ID of trace route path SFPID;
Judging unit, described predetermined set is identified whether for judge in the SFPID.
22. device according to claim 20, it is characterised in that second enquiry module is used for:According to the report The business function ID of trace route path SFPID of text, inquires about the next hop address of the message.
23. device according to claim 20, it is characterised in that second sending module includes:
Second copied cells, in the case of being multiple in the next hop address inquired, by the message It is copied into many parts;
Second transmitting element, for the message for being copied into many parts to be sent to multiple next hop address.
24. the device according to any one of claim 20 to 23, it is characterised in that described device also includes:
4th receiving module, for receiving the next hop address of the message that controller is issued and/or described The business function path SFP of message, wherein, the next hop address and/or the SFP are by the controller root Generated according to the destination address of the message and business function chain SFC topology information.
CN201610035804.4A 2016-01-18 2016-01-18 Message forming method, message forwarding method and device CN106982134A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201610035804.4A CN106982134A (en) 2016-01-18 2016-01-18 Message forming method, message forwarding method and device

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201610035804.4A CN106982134A (en) 2016-01-18 2016-01-18 Message forming method, message forwarding method and device
PCT/CN2016/090191 WO2017124712A1 (en) 2016-01-18 2016-07-15 Message generating method, message forwarding method and device

Publications (1)

Publication Number Publication Date
CN106982134A true CN106982134A (en) 2017-07-25

Family

ID=59341374

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201610035804.4A CN106982134A (en) 2016-01-18 2016-01-18 Message forming method, message forwarding method and device

Country Status (2)

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

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2019170083A1 (en) * 2018-03-07 2019-09-12 华为技术有限公司 Message processing method, controller, and forwarding device

Family Cites Families (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101272324B (en) * 2008-04-30 2011-02-02 华为技术有限公司 Service quality control method and network appliance
CN101873250A (en) * 2009-04-27 2010-10-27 中兴通讯股份有限公司 Data retransmission method and device
EP2739076B1 (en) * 2011-08-31 2016-08-03 Huawei Technologies Co., Ltd. Method, system and device for implementing multicast in shared network
CN103001778B (en) * 2011-09-14 2016-04-13 华为技术有限公司 A kind of multicast packets transfer approach, site device and services set system
CN103841083B (en) * 2012-11-22 2017-07-21 华为技术有限公司 Strengthen the method and device of message recognition capability

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2019170083A1 (en) * 2018-03-07 2019-09-12 华为技术有限公司 Message processing method, controller, and forwarding device

Also Published As

Publication number Publication date
WO2017124712A1 (en) 2017-07-27

Similar Documents

Publication Publication Date Title
US8681658B2 (en) System and method to provision an MPLS/VPN network
CN106105115B (en) Method, medium and the device of service chaining for being originated by service node
EP0599764B1 (en) Distributed processing of route selection across networks and subnetworks
US7697556B2 (en) MAC (media access control) tunneling and control and method
CN102334111B (en) Providing logical networking functionality for managed computer networks
KR100613053B1 (en) Scalable resource discovery reconfiguration for distributed computer networks
CN104350467B (en) Elasticity for the cloud security using SDN carries out layer
Pietzuch et al. Peer-to-peer overlay broker networks in an event-based middleware
CN100433630C (en) Packet for warding equipment
DE60108404T2 (en) Apparatus and method for aligning the multiple data traffic in an Ethernet MAN
RU2541940C2 (en) Method of applying service instance to mpls network (versions) and mpls network
US20080177896A1 (en) Service insertion architecture
US20070286093A1 (en) Method of routing multicast traffic
KR102065075B1 (en) Method for controlling software defined networking network and apparatus for performing the same
JP3964871B2 (en) System, method and data structure for multimedia communication
JP2007500960A (en) Dynamic and traffic-driven optimization of message routing for geographical addresses
CN102986170B (en) For providing in DIAMETER network dynamically based on method, system and equipment that the routed keyword of starting point is registered
JP2004507159A (en) Method of high performance addressing and routing of data packets with semantic descriptive labels in computer networks
US20040223465A1 (en) Method and apparatus for tunneling service of explicit multicast in mobile IP network
US20040215722A1 (en) Communications systems and methods
WO2002039307A1 (en) Content based routing devices and methods
CN103168445A (en) Control mechanism for reliability and availability setting in virtual networks
CN104219127A (en) Creation method and device of virtual network instance
JP4382528B2 (en) Multicast network device, multicast network system, and multicast method
PT1423945E (en) Method and arrangement in an ip network

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination