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
sff
hop address
grader
Prior art date
Legal status (The legal status 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 status listed.)
Withdrawn
Application number
CN201610035804.4A
Other languages
Chinese (zh)
Inventor
敖婷
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
ZTE Corp
Original Assignee
ZTE Corp
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 ZTE Corp filed Critical ZTE Corp
Priority to CN201610035804.4A priority Critical patent/CN106982134A/en
Priority to PCT/CN2016/090191 priority patent/WO2017124712A1/en
Publication of CN106982134A publication Critical patent/CN106982134A/en
Withdrawn legal-status Critical Current

Links

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

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

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 Withdrawn CN106982134A (en)

Priority Applications (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

Applications Claiming Priority (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

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 Withdrawn 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 (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108512758A (en) * 2018-03-07 2018-09-07 华为技术有限公司 Message processing method, controller and forwarding unit
CN108933787A (en) * 2018-07-02 2018-12-04 深圳市风云实业有限公司 Message forming method and device
CN111490902A (en) * 2020-04-12 2020-08-04 上海兰鹤航空科技有限公司 664 network message construction algorithm

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1474563A (en) * 2002-08-06 2004-02-11 ��Ϊ�������޹�˾ Repeating method for multi-broadcast message in network communication
CN103001778A (en) * 2011-09-14 2013-03-27 华为技术有限公司 Multicast packet transporting method, station device and service set system
CN103841083A (en) * 2012-11-22 2014-06-04 华为技术有限公司 Method and apparatus for enhancing message identification capability
CN104954245A (en) * 2014-03-27 2015-09-30 中兴通讯股份有限公司 Service function chaining (SFC) processing method and device

Family Cites Families (3)

* 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
CN102511152B (en) * 2011-08-31 2014-12-31 华为技术有限公司 Method for realizing multicast in shared network, system and device thereof

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1474563A (en) * 2002-08-06 2004-02-11 ��Ϊ�������޹�˾ Repeating method for multi-broadcast message in network communication
CN103001778A (en) * 2011-09-14 2013-03-27 华为技术有限公司 Multicast packet transporting method, station device and service set system
CN103841083A (en) * 2012-11-22 2014-06-04 华为技术有限公司 Method and apparatus for enhancing message identification capability
CN104954245A (en) * 2014-03-27 2015-09-30 中兴通讯股份有限公司 Service function chaining (SFC) processing method and device

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108512758A (en) * 2018-03-07 2018-09-07 华为技术有限公司 Message processing method, controller and forwarding unit
WO2019170083A1 (en) * 2018-03-07 2019-09-12 华为技术有限公司 Message processing method, controller, and forwarding device
US11546255B2 (en) 2018-03-07 2023-01-03 Huawei Technologies Co., Ltd. Packet processing method, controller, and forwarding device
CN108933787A (en) * 2018-07-02 2018-12-04 深圳市风云实业有限公司 Message forming method and device
CN111490902A (en) * 2020-04-12 2020-08-04 上海兰鹤航空科技有限公司 664 network message construction algorithm
CN111490902B (en) * 2020-04-12 2024-05-14 上海兰鹤航空科技有限公司 664 Network message construction algorithm

Also Published As

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

Similar Documents

Publication Publication Date Title
CN112751826B (en) Method and device for forwarding flow of computing force application
JP6470838B2 (en) Data transfer method, apparatus, and system in software-defined networking
CN101764752B (en) Method and system for managing remote concentrated image
CN102315961B (en) Performing path-orientated systems management
CN102075438B (en) unicast data frame transmission method and device
CN103650436A (en) Service path distribution method, router and service execution entity
CN110324159B (en) Link configuration method, controller and storage medium
CN104038417A (en) Service Instance Applied To Mpls Networks
US6683857B2 (en) Network management method, apparatus of same and network systems
CN107579838A (en) Data processing method and device
CN101911600A (en) Mapless global traffic load balancing via anycast
CN110401599A (en) The processing method and processing device of data packet, storage medium, electronic device
CN106487537A (en) Business chain implementation method and policy control platform
CN103428088A (en) Tree root allocation and message processing method and routing network bridge
CN106254235A (en) A kind of method of load sharing and equipment thereof
CN107580079A (en) A kind of message transmitting method and device
CN106982134A (en) Message forming method, message forwarding method and device
CN107294859B (en) Information transmission method, device and system
CN105376292A (en) Explicit strategy feedback in name-based forwarding
CN1906902B (en) Method for transferring packets in networks comprising a plurality of linked intermediate networks
CN114205282B (en) SRv6 Policy scheduling method, system, router and controller
CN117118886A (en) Message forwarding method, head-end equipment, controller, equipment and storage medium
CN106572016A (en) Path calculation method and device
CN107528781A (en) Retransmission method and device, the router of multicast message
CN107979535B (en) Message forwarding method and device

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
WW01 Invention patent application withdrawn after publication
WW01 Invention patent application withdrawn after publication

Application publication date: 20170725