CN110391997A - A kind of message forwarding method and device - Google Patents

A kind of message forwarding method and device Download PDF

Info

Publication number
CN110391997A
CN110391997A CN201910683356.2A CN201910683356A CN110391997A CN 110391997 A CN110391997 A CN 110391997A CN 201910683356 A CN201910683356 A CN 201910683356A CN 110391997 A CN110391997 A CN 110391997A
Authority
CN
China
Prior art keywords
application attribute
matched
message
tunnel
forwarding
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
CN201910683356.2A
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.)
Hangzhou H3C Technologies Co Ltd
Original Assignee
New H3C Technologies Co Ltd Hefei Branch
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 New H3C Technologies Co Ltd Hefei Branch filed Critical New H3C Technologies Co Ltd Hefei Branch
Priority to CN201910683356.2A priority Critical patent/CN110391997A/en
Publication of CN110391997A publication Critical patent/CN110391997A/en
Priority to PCT/CN2020/103108 priority patent/WO2021017930A1/en
Withdrawn legal-status Critical Current

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L47/00Traffic control in data switching networks
    • H04L47/10Flow control; Congestion control
    • H04L47/20Traffic policing
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L47/00Traffic control in data switching networks
    • H04L47/10Flow control; Congestion control
    • H04L47/24Traffic characterised by specific attributes, e.g. priority or QoS
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L47/00Traffic control in data switching networks
    • H04L47/70Admission control; Resource allocation
    • H04L47/82Miscellaneous aspects
    • H04L47/825Involving tunnels, e.g. MPLS

Landscapes

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

Abstract

The present invention provides a kind of message forwarding method and device, this method comprises: identifying the application attribute of the service message when receiving service message from user side;Tunnel encapsulation is carried out to the service message, obtains tunnel packet, the tunnel packet includes marking with matched first application attribute of the application attribute;According to the forwarding strategy with the first application attribute indicia matched, the tunnel packet for including first application attribute label is forwarded, so that each forwarding device is forwarded the tunnel packet for including first application attribute label according to the forwarding strategy with the first application attribute indicia matched in forward-path.It may be implemented to control for the forwarding of application attribute using the embodiment of the present invention, improve the otherness that the strategy of the different business of same tunnel carrying has ensured.

Description

A kind of message forwarding method and device
Technical field
The present invention relates to network communication technology field more particularly to a kind of message forwarding methods and device.
Background technique
Software defined network (English: Software Defined Network, referred to as: SDN) it is a kind of new network wound New architecture, core concept are to separate the control plane of the network equipment with forwarding plane, to realize to the flexible of network flow Control, provides good platform for the innovation of core network and application.
Using Openflow agreement (a kind of communication protocol) as control layer and forwarding between controller and interchanger Signalling path, controller generally use transport layer security protocol (English by the channel configuration and management Openflow interchanger Text: Transport Layer Security, referred to as: TLS) encryption is safe to guarantee transmission, but also supports simple transmission control Agreement (English: Transmission Control Protocol, abbreviation: TCP) processed is directly transmitted.Openflow flow table is supported Head matching (English: Header Match) and pipeline matching (English: Pipeline Match), wherein Header Match is used Media access control (English: Media Access Control, abbreviation: MAC)/Internet protocol in matching message head (English: Internet Protocol, referred to as: IP)/TCP/ User Datagram Protocol (English: User Datagram Protocol, referred to as: UDP) field information, it can uniquely identify a data flow;Pipeline Match is for matching report Text processing engine in characteristic attribute, such as inbound port, Tunnel Identifier (English abbreviation: ID), metadata (English: METEDATA) and type of message, these Match contents can identify most of application streams.
Current SDN network becomes increasingly complex with scene, and the application attribute in network is also more and more various, in SDN net In network, the Business Stream that often will appear different application attribute carries the case where transmitting by same tunnel.But it is held by same tunnel The outer layer tunnel header information of the different business stream of load is identical, can different business stream need to provide different transmission strategies for it (for example, bandwidth, time delay etc. require), existing Openflow interchanger can not be only by traditional five-tuple to different business streams It distinguishes.Therefore, it is impossible to realize that the Business Stream of the different application attribute to the carrying of same tunnel provides differentiation strategy guarantee.
Summary of the invention
In view of this, the present invention provides a kind of message forwarding method and device, with solve in existing SDN networking controller without Method provides the problem of differentiation strategy ensures for the different business that same tunnel carries.
According to a first aspect of the embodiments of the present invention, a kind of message forwarding method is provided, applied to the access in SDN networking Equipment, which comprises
When receiving message from user side, the application attribute of the service message is identified;
Tunnel encapsulation is carried out to the message according to the destination address of the service message, obtains tunnel packet, the tunnel Road message includes marking with matched first application attribute of the application attribute;
According to the forwarding strategy with the first application attribute indicia matched, to including first application attribute label Tunnel packet is forwarded, so that each forwarding device is according to the forwarding with the first application attribute indicia matched in forward-path Strategy is forwarded the tunnel packet for including first application attribute label.
According to a second aspect of the embodiments of the present invention, a kind of apparatus for forwarding message is provided, applied to the access in SDN networking Equipment is deployed with intelligent engine plate on the access device, and described device includes:
Receiving unit, for receiving message;
Recognition unit, for identifying the service message when the receiving unit receives service message from user side Application attribute;
Message process unit obtains tunnel packet, the tunnel packet for carrying out tunnel encapsulation to the service message Including being marked with matched first application attribute of the application attribute;
Transmission unit, for the forwarding strategy of basis and the first application attribute indicia matched, to including described first Application attribute label tunnel packet be forwarded so that in forward-path each forwarding device according to first application attribute The forwarding strategy of indicia matched is forwarded the tunnel packet for including first application attribute label.
The service message is identified when receiving service message from user side using technical solution disclosed by the invention Application attribute, and tunnel encapsulation is carried out to message according to the destination address of message, obtain include and the application attribute matched the The tunnel packet of one application attribute label, in turn, according to the forwarding strategy with the first application attribute indicia matched, to including first The tunnel packet of application attribute label is forwarded, so that each forwarding device is marked according to the first application attribute in forward-path Matched forwarding strategy is forwarded the tunnel packet for including the first application attribute label, realizes for application attribute Forwarding control improves the otherness that the strategy of the different business of same tunnel carrying has ensured.
Detailed description of the invention
Fig. 1 is a kind of flow diagram of message forwarding method provided in an embodiment of the present invention;
Fig. 2 is the structural schematic diagram of the IP Option Code after a kind of extension provided in an embodiment of the present invention;
Fig. 3 is a kind of configuration diagram of concrete application scene provided in an embodiment of the present invention;
Fig. 4 is a kind of structural schematic diagram of apparatus for forwarding message provided in an embodiment of the present invention;
Fig. 5 is the structural schematic diagram of another apparatus for forwarding message provided in an embodiment of the present invention;
Fig. 6 is the structural schematic diagram of another apparatus for forwarding message provided in an embodiment of the present invention;
Fig. 7 is a kind of hardware structural diagram of apparatus for forwarding message provided in an embodiment of the present invention.
Specific embodiment
Technical solution in embodiment in order to enable those skilled in the art to better understand the present invention, and make of the invention real The above objects, features, and advantages for applying example can be more obvious and easy to understand, with reference to the accompanying drawing to technical side in the embodiment of the present invention Case is described in further detail.
It referring to Figure 1, is a kind of flow diagram of message forwarding method provided in an embodiment of the present invention, wherein the party Method can be applied to any access device (hereinafter referred to target access device) in SDN networking, as shown in Figure 1, the message Retransmission method may comprise steps of:
Step 101, when receiving service message from user side, identify the application attribute of the service message.
In the embodiment of the present invention, when target access device receives service message from user side, target access device can To identify the application attribute of message.
Wherein, application attribute is the type applied, and be can include but is not limited to: hypertext transfer protocol (English: Hyper Text Transfer Protocol, referred to as: HTTP), Simple Mail Transfer protocol (English: Simple Mail Transfer Protocol, referred to as: SMTP)/Post Office Protocol,Version 3 (English: Post Office Protocol-Version 3, abbreviation POP3), File Transfer Protocol (English: File Transfer Protocol, referred to as: FTP), privately owned instant messaging association View, privately owned Secure Payment Protocol etc..
It in one example, can be in the middle part of access device for not having the access device of application attribute recognition capability Intelligent engine plate is affixed one's name to, and identifies the application attribute of service message by the intelligent engine version.
Step 102 carries out tunnel encapsulation to message, obtains tunnel packet, includes in the tunnel packet and the application attribute Matched first application attribute label.
In the embodiment of the present invention, target access device is identified after the application attribute of service message, on the one hand, according to business The local forwarding-table item of the destination address inquiry of message, to determine the corresponding tunnel encapsulation information of the service message;On the other hand, It is determining to mark (referred to herein as the first application attribute label) with the service message matched application attribute of application attribute.
Target access device carries out tunnel encapsulation to the service message according to the tunnel encapsulation information of the message inquired, obtains It include that the first application attribute is marked to tunnel packet, in the tunnel packet.
The forwarding strategy of step 103, basis and the first application attribute indicia matched, to including the first application attribute label Tunnel packet is forwarded, so that each forwarding device is according to the forwarding plan with the first application attribute indicia matched in forward-path Slightly, the tunnel packet for including the first application attribute label is forwarded.
In the embodiment of the present invention, the application attribute for the service message that target access device has been determined and received matched It, can be according to the matched forwarding strategy of the first application attribute tag query, and according to inquiring after one application attribute label Forwarding strategy to obtained in step 102 include the first application attribute label tunnel packet be forwarded.
In the embodiment of the present invention, in forward-path each forwarding device receive it is above-mentioned include the first application attribute label tunnel When road message, turn according to the first matched forwarding strategy of application attribute tag query for including in message, and according to what is inquired Hair strategy is forwarded the tunnel packet for including the first application attribute label, implements hereinafter in conjunction with specific Example is illustrated, and this will not be repeated here for the embodiment of the present invention.
As it can be seen that identifying answering for the service message received from user side by access device in method flow shown in Fig. 1 With attribute, will include with the matched application attribute label of the application attribute in messages, and according to application attribute label The forwarding strategy matched is forwarded the message, and in turn, each forwarding device can include according in message in forward-path Application attribute label, the determining forwarding strategy with the application attribute indicia matched, and according to the application attribute indicia matched Forwarding strategy carries out message forwarding, realizes the forwarding control for application attribute, improves the not of the same trade or business of same tunnel carrying The otherness that the strategy of business has ensured.
Optionally, the present invention in one embodiment, after the application attribute of above-mentioned identification message, can also wrap It includes:
Determine whether the message for receiving the application attribute for the first time;
If so, the application attribute is sent to controller, so that controller each equipment into SDN networking issues and applies category Property matched application attribute label, and with the matched forwarding strategy of the application attribute;
Otherwise, tunnel encapsulation is carried out to the service message.
In this embodiment, marked with the matched application attribute of application attribute, and with the matched forwarding plan of application attribute Each equipment in SDN networking is slightly handed down to by controller.
Correspondingly, when target access device receives service message from user side, and the application of the service message is identified After attribute, target access device may determine whether to receive the message of the application attribute for the first time.
Illustratively, for any application attribute, target access device can recorde the application whether had been received The service message of attribute.Correspondingly, when target access device receives service message from user side, and the service message is identified Application attribute after, target access device can inquire above-mentioned record, to determine whether to receive the industry of the application attribute Business message;If so, being determined as the non-service message for receiving the application attribute for the first time;Otherwise, it determines to receive this for the first time The service message of application attribute.
In this embodiment, if target access device determines the service message for receiving the application attribute for the first time, target Access device can send the application attribute to controller.
When controller receives the application attribute of target access device transmission, application attribute can be distributed for the application attribute Label, and the application attribute is marked, and is handed down in SDN networking with the forwarding strategy of the application attribute indicia matched and is respectively set It is standby.
If target access device is determined as the non-service message for receiving the application attribute for the first time, target access device can To be marked in local search and the matched application attribute of the application attribute, and the forwarding plan with the application attribute indicia matched Slightly, and message forwarding is carried out according to mode described in step 102~step 103.
Optionally, in another embodiment, it after the application attribute of the above-mentioned identification service message, also wraps It includes:
Determine that local whether recorded marks with the matched application attribute of the application attribute;
If so, carrying out tunnel encapsulation to the service message;
Otherwise, the application attribute is sent to controller, so that each equipment of the controller into SDN networking issues and the application The application attribute of attributes match marks, and the forwarding strategy with the application attribute indicia matched.
In this embodiment, marked with the matched application attribute of application attribute, and with the matched forwarding plan of application attribute Each equipment in SDN networking is slightly handed down to by controller.
Correspondingly, when target access device receives service message from user side, and the application of the service message is identified After attribute, target access device can inquire local whether recorded to be marked with the matched application attribute of the application attribute.
In this embodiment, if target access device determines that local record has and the matched application attribute mark of the application attribute Note, then target access device can carry out message forwarding according to mode described in step 102~step 103.
If target access device determines that local do not record marks with the matched application attribute of the application attribute, target access Equipment sends the application attribute to controller.
When controller receives the application attribute of target access device transmission, application attribute can be distributed for the application attribute Label, and the application attribute is marked, and is handed down in SDN networking with the forwarding strategy of the application attribute indicia matched and is respectively set It is standby.
For example, to the controller in SDN networking and Openflow change planes between flow table matching way be extended, Enable to identify application attribute representated by a data stream.
When access switch receives service message from user side, advanced row data flow characteristics interception and analysis, identification should Business belonging to service message, the application attribute of a service message is marked to it, and the application attribute is reported to controller.
Controller sends to access switch and marks with the matched application attribute of the application attribute, and with the application attribute The forwarding strategy of indicia matched.
For example, access switch identifies that the application attribute of service message is video conference using intelligent engine plate, need Illustrate, in order to meet the needs of video conference business, usually the requirement of video conference business has a fixation available Bandwidth and low time delay, after sending the application attribute to controller, controller each equipment can issue and application category into SDN networking Property matched application attribute label, and the forwarding strategy with the application attribute indicia matched encapsulated using same tunnel in turn Business Stream have very much, but the forwarding plan only can be matched to by the Business Stream that intelligent engine plate is identified as video conference Slightly, the bandwidth and differentiated services code points (English of the Business Stream distribution for video conference that include for application attribute in the forwarding strategy be Text: Differentiated Services Code Point, referred to as: DSCP) value, it is ensured that it does not pass through packet loss, low time delay Each switching equipment in forward-path, entire forward-path can guarantee the transmission service to bandwidth and low time delay.
Assuming that it is 10G bandwidth that the corresponding forwarding strategy of Business Stream that application attribute is video conference, which is bandwidth, DSCP value is 4 (DSCP value it is higher, priority is higher, and assumes 4) the DSCP value of the Business Stream of remaining application attribute is below, then works as access When interchanger identifies that the application attribute of the service message received is video conference, determine that the DSCP value of the service message is 4, It and is preferably Business Stream distribution 10G outlet bandwidth.
As it can be seen that the application attribute of the service message is passed through application when access device receives service message from user side Attribute label is carried in public network, and the mapping relations between application attribute and application attribute label are carried out according to the strategy of controller Unified setting;In addition, controller issues the forwarding strategy for application attribute label, middle node in each equipment of SDN networking Point can execute identical forwarding strategy as long as it can identify the application attribute label in tunnel packet, reach data flow complete trails Policy control.
It should be noted that in embodiments of the present invention, marked with the matched application attribute of application attribute, or/and, and it answers With the forwarding strategy of attribute indicia matched, in addition to can in the manner described above by controller be handed down in SDN networking each equipment it Outside, it can also be pre-configured in each equipment of SDN networking, specific implementation does not repeat them here herein.
Optionally, the present invention in one embodiment, above-mentioned application attribute label can be carried in tunnel packet In tunnel head.
In one example, the matched tunnel-like first application attribute label and be used for transmission service message of application attribute Type corresponds.
Illustratively, it is contemplated that in SDN networking, the data flow of interaction may be turned by different tunnels between access device Hair, such as ether Virtual Private Network (English: Ethernet Virtual Private Network, abbreviation: EVPN) tunnel or more Protocol label exchange (English: Multi-Protocol Label Switching, referred to as: MPLS) tunnel, and different tunnels Tunnel encapsulation format is different, and therefore, when tunnel type difference, the corresponding application attribute label of same application attribute can not Together.
Wherein, the tunnel EVPN refers to the tunnel for being used for data interaction in EVPN networking between access device, may include But be not limited to virtual expansible local area network (English: Virtual Extensible Local Area Network, referred to as: VXLAN) tunnel;The tunnel MPLS refers in MPLS networking the tunnel that data interaction is used between access device, may include but It is not limited to traffic engineering (English: Traffic Engineering, abbreviation: TE) tunnel.
For example, for the tunnel EVPN, tunnel header is IPv4 type, can be increased in the head IP in tunnel Option field carries application attribute using the type of Option extension and marks.
For the tunnel MPLS, tunnel header is MPLS type, can increase an application attribute label behind the tunnel MPLS, The application attribute marks between tunnel label and user's load, is distributed unitedly by controller, all devices are all identical.For For intermediate node, according in tunnel header address and outer layer label carry out message forwarding, according to the application in tunnel header Attribute label distribution forwarding strategy and loss priority.
Illustratively, for the application of payment etc on line, it is to be ensured that zero packet loss and low time delay;For answering for web page browsing With guaranteeing certain time delay thresholding;For the file and mail applications of SMTP/POP3 and FTP, allow a certain range of prolong When.
For example, the application attribute label in the tunnel MPLS can be the label of a MPLS format, by unified point of controller Match, the access device (being properly termed as source access device) by receiving message from user side is sealed according to the application attribute of message Dress.
As shown in Fig. 2, the Number of the existing IP Option Code (option code) of extension can be passed through for IP tunnel (option number) field, increase Number are 16 (binary digit 10000) types, and the Code of the type is represented behind IP tunnel User Data (user data) belonging to application attribute, Length (length) field be 4, show Data length be 4 bytes, Data field is that application attribute label shows IP that is, when the value of the Number field of IP Option Code is 10000 The Data field of Option Code is application attribute label.
Optionally, the present invention in one embodiment, above-mentioned message forwarding method can also include:
When receiving the tunnel packet for carrying the second application attribute label from network side, determining and the second application attribute mark Remember matched forwarding strategy;
According to the forwarding strategy with the second application attribute indicia matched, to releasing tunnel encapsulation and the second application attribute is deleted The message of label is forwarded.
In this embodiment, application attribute label is carried (referred to herein as when target access device is received from network side Second application attribute label) tunnel packet when, target access device is marked according to second application attribute, inquires local forwarding Strategy, with the determining forwarding strategy with the second application attribute indicia matched.
The tunnel packet that target access device marks second application attribute of carrying carries out releasing tunnel encapsulation processing, and The second application attribute label is deleted, and according to the forwarding strategy with the second application attribute indicia matched, to holding in the tunnel packet The original message of load is forwarded.
In order to make those skilled in the art more fully understand technical solution provided in an embodiment of the present invention, below with reference to specific Application scenarios are illustrated technical solution provided in an embodiment of the present invention.
Fig. 3 is referred to, is a kind of structural schematic diagram of concrete application scene provided in an embodiment of the present invention, as shown in figure 3, In the application scenarios, in SDN data center network, Underlay network is EVPN network.Host is subscriber's main station, is transported thereon The a large amount of application program of row, leaf (English: Leaf) node are the access device for deploying intelligent engine version, backbone (English: Spine) node is convergence layer equipment, the convergence of responsible access switch, rack interchanger (English: Top of Rack, referred to as: TOR it is) core router, is responsible for the route reflection of whole net.Wherein Leaf equipment, TOR equipment are to receive tube apparatus, controller and There are Openflow and Netconf (network configuration) signaling protocol between equipment, Spine equipment be it is non-receive tube apparatus, controller There is only SNMP network management protocols between equipment.
Below based on application scenarios shown in Fig. 3, to of the invention real by taking the Business Stream interaction between Host10 and Host as an example The message forwarding method for applying example offer is illustrated.
There are a large amount of Business Streams between the Host10 of access Leaf1 and the Host40 for accessing Leaf4, and these Business Streams Between by ssl tunneling encrypt.For example, including priority and the higher privately owned Instant Messenger of reliability between Host10 to Host40 Believe HTTP data, the FTP data etc. of protocol data and common grade.The intelligent engine plate that Leaf1 and Leaf4 respectively include It is able to carry out application attribute identification.Controller has formulated application attribute (privately owned instant messaging agreement, HTTP, FTP etc.) and application The mapping relations of attribute label, and the forwarding strategy with application attribute indicia matched, and application attribute indicia matched is turned Send out policy distribution armamentarium into SDN data center network.Wherein, for receiving tube apparatus (such as Leaf equipment, TOR equipment Deng), controller passes through issuing for the forwarding strategy of Netconf signaling progress application attribute indicia matched;For non-tube apparatus of receiving (such as Spine equipment), controller are issued by the forwarding strategy that snmp protocol carries out application attribute indicia matched.
Firstly, the application attribute for the service message that Leaf1 is sent using the intelligent engine plate identification side Host10, application attribute It include: privately owned instant messaging protocol streams, HTTP stream or ftp flow.For any application attribute, when Leaf1 determination receives for the first time When the service message of the application attribute, Leaf1 sends the application attribute to controller.
Controller receives the application attribute of Leaf1 transmission, and the application attribute pre-established is inquired according to the application attribute With the mapping relations of application attribute label, and the forwarding strategy with application attribute indicia matched, determination is answered with what Leaf1 was sent With the application attribute label of attributes match and the forwarding strategy of the application attribute indicia matched.Controller is by the application attribute Label and the forwarding strategy of application attribute indicia matched are handed down to each equipment in networking.
Illustratively, with application attribute it is bandwidth in the corresponding forwarding strategy of HTTP stream/Business Stream of ftp flow and preferentially Grade is compared, and application attribute is that bandwidth and priority is more in the corresponding forwarding strategy of Business Stream of privately owned instant messaging protocol data It is high.
Leaf1 receives the application attribute label that controller issues, and the forwarding plan with the application attribute indicia matched When slightly, tunnel encapsulation is carried out to the service message, obtain include application attribute label tunnel packet, and based on the forwarding plan Slightly and the outer layer destination address of tunnel packet is forwarded (for being transmitted to TOR1).
In this embodiment, application attribute label carries in the IP Option Code of the tunnel header of tunnel packet.
When TOR1 receives the tunnel packet including application attribute label, according to the matched forwarding of application attribute tag query Strategy, determines the priority of the tunnel packet based on forwarding strategy, and is the tunnel packet bandwidth allocation, in turn, according to really Tunnel packet is transmitted to Spine1 by the outer layer destination address of fixed priority, the bandwidth and tunnel packet distributed.
When Spine1 receives the tunnel packet including application attribute label, according to matched turn of application attribute tag query Hair strategy is determined the priority of the tunnel packet based on forwarding strategy, and is the tunnel packet bandwidth allocation, in turn, according to institute Tunnel packet is transmitted to Spine2 by the outer layer destination address of determining priority, the bandwidth and tunnel packet distributed.
When Spine2 receives the tunnel packet including application attribute label, according to matched turn of application attribute tag query Hair strategy is determined the priority of the tunnel packet based on forwarding strategy, and is the tunnel packet bandwidth allocation, in turn, according to institute The outer layer destination address of determining priority, the bandwidth and tunnel packet distributed is forwarded (is to be transmitted to TOR3 Example).
When TOR3 receives the tunnel packet including application attribute label, according to the matched forwarding of application attribute tag query Strategy, determines the priority of the tunnel packet based on forwarding strategy, and is the tunnel packet bandwidth allocation, in turn, according to really Tunnel packet is transmitted to Leaf4 by the outer layer destination address of fixed priority, the bandwidth and tunnel packet distributed.
Leaf4 receives the tunnel packet including application attribute label, according to the matched forwarding of application attribute tag query Strategy releases the tunnel encapsulation of tunnel packet, the internal layer message after the tunnel decapsulation is determined based on the forwarding strategy it is preferential Grade, and be the internal layer message bandwidth allocation, in turn, according to identified priority, the bandwidth distributed and internal layer message Internal layer message is transmitted to Host40 by destination address.
By above description as can be seen that being received in technical solution provided in an embodiment of the present invention when from user side When service message, the application attribute of the service message is identified, and tunnel envelope is carried out to message according to the destination address of service message Dress obtains including that the tunnel packet with the matched first application attribute label of the application attribute belongs to according to the first application in turn Property indicia matched forwarding strategy, to include the first application attribute label tunnel packet be forwarded so that in forward-path Each forwarding device is according to the forwarding strategy with the first application attribute indicia matched, to the tunnel report for including the first application attribute label Text is forwarded, and realizes the forwarding control for application attribute, and the strategy for improving the different business of same tunnel carrying is protected The otherness hindered.
Fig. 4 is referred to, is a kind of structural schematic diagram of apparatus for forwarding message provided in an embodiment of the present invention, wherein the report Text forwarding can apply the target access device in above method embodiment, as shown in figure 4, the apparatus may include:
Receiving unit 410, for receiving message;
Recognition unit 420, for identifying the business when 410 user side of receiving unit receives service message The application attribute of message;
Message process unit 430 obtains tunnel packet, the tunnel for carrying out tunnel encapsulation to the service message Message includes marking with matched first application attribute of the application attribute;
Transmission unit 440, for according to and the first application attribute indicia matched forwarding strategy, to including described the The tunnel packet of one application attribute label is forwarded, so that each forwarding device belongs to according to first application in forward-path Property indicia matched forwarding strategy, to include first application attribute label tunnel packet be forwarded.
Such as scheme please also refer to Fig. 5 for the structural schematic diagram of another apparatus for forwarding message provided in an embodiment of the present invention Shown in 5, on the basis of apparatus for forwarding message shown in Fig. 4, apparatus for forwarding message shown in Fig. 4 can also include:
First determination unit 450, for determining whether the receiving unit 410 is to receive the application attribute for the first time Service message;
The transmission unit 440, if being also used to the business report that the receiving unit 410 receives the application attribute for the first time Text sends the application attribute to controller, so that each equipment of the controller into the SDN networking is issued and answered with described It is marked with the application attribute of attributes match, and the forwarding strategy with the application attribute indicia matched;
The message process unit 430, if receiving the application attribute for the first time specifically for the receiving unit 410 is non- Service message, then to the service message carry out tunnel encapsulation.
Such as scheme please also refer to Fig. 6 for the structural schematic diagram of another apparatus for forwarding message provided in an embodiment of the present invention Shown in 6, on the basis of apparatus for forwarding message shown in Fig. 4, apparatus for forwarding message shown in Fig. 6 can also include:
Second determination unit 460, for determining that local whether recorded marks with the matched application attribute of the application attribute;
The message process unit 430, if having and the matched application attribute mark of the application attribute specifically for local record Note then carries out tunnel encapsulation to the service message;
The transmission unit 440, if being also used to be specifically used for local do not recorded and the matched application category of the application attribute Property label, Xiang Suoshu controller sends the application attribute, so that each equipment of the controller into the SDN networking issues It is marked with the matched application attribute of the application attribute, and the forwarding strategy with the application attribute indicia matched.
In an alternative embodiment, matched first application attribute of the application attribute marks and is used for transmission the business report The tunnel type of text corresponds.
In an alternative embodiment, the message process unit 430 is also used to receive when the receiving unit from network side When carrying the tunnel packet of the second application attribute label, the determining forwarding strategy with the second application attribute indicia matched;
The transmission unit 440 is also used to according to the forwarding strategy with the second application attribute indicia matched, to releasing The service message of tunnel encapsulation and deletion the second application attribute label is forwarded
Fig. 7 is referred to, is a kind of hardware structural diagram of apparatus for forwarding message provided in an embodiment of the present invention.The message Retransmission unit may include processor 701, the machine readable storage medium 702 for being stored with machine-executable instruction.Processor 701 It can be communicated via system bus 703 with machine readable storage medium 702.Also, by reading and executing machine readable storage Jie Above-described message forwarding side can be performed in machine-executable instruction corresponding with message forwarding logic in matter 702, processor 701 Method.
Machine readable storage medium 702 referred to herein can be any electronics, magnetism, optics or other physical stores Device may include or store information, such as executable instruction, data, etc..For example, machine readable storage medium can be easily Lose memory, nonvolatile memory or similar storage medium.Specifically, machine readable storage medium 702 can be RAM (Radom Access Memory, random access memory), flash memory, memory driver (such as hard disk drive), solid state hard disk, Any kind of storage dish (such as CD, DVD) perhaps similar storage medium or their combination.
The embodiment of the invention also provides a kind of machine readable storage mediums including machine-executable instruction, such as Fig. 7 In machine readable storage medium 702, the machine-executable instruction can by the processor 701 in apparatus for forwarding message execute with Realize message forwarding method described above.
The function of each unit and the realization process of effect are specifically detailed in the above method and correspond to step in above-mentioned apparatus Realization process, details are not described herein.
For device embodiment, since it corresponds essentially to embodiment of the method, so related place is referring to method reality Apply the part explanation of example.The apparatus embodiments described above are merely exemplary, wherein described be used as separation unit The unit of explanation may or may not be physically separated, and component shown as a unit can be or can also be with It is not physical unit, it can it is in one place, or may be distributed over multiple network units.It can be according to actual The purpose for needing to select some or all of the modules therein to realize the present invention program.Those of ordinary skill in the art are not paying Out in the case where creative work, it can understand and implement.
As seen from the above-described embodiment, when receiving service message from user side, the application attribute of service message is identified, and According to the destination address of message to message carry out tunnel encapsulation, obtain include and the matched first application attribute mark of the application attribute The tunnel packet of note according to the forwarding strategy with the first application attribute indicia matched, marks in turn to including the first application attribute Tunnel packet be forwarded so that each forwarding device is according to the forwarding plan with the first application attribute indicia matched in forward-path Slightly, the tunnel packet for including the first application attribute label is forwarded, realizes the forwarding control for application attribute, improves The otherness that the strategy of the different business of same tunnel carrying has ensured.
Those skilled in the art after considering the specification and implementing the invention disclosed here, will readily occur to of the invention its Its embodiment.This application is intended to cover any variations, uses, or adaptations of the invention, these modifications, purposes or Person's adaptive change follows general principle of the invention and including the undocumented common knowledge in the art of the present invention Or conventional techniques.The description and examples are only to be considered as illustrative, and true scope and spirit of the invention are by following Claim is pointed out.
It should be understood that the present invention is not limited to the precise structure already described above and shown in the accompanying drawings, and And various modifications and changes may be made without departing from the scope thereof.The scope of the present invention is limited only by the attached claims.

Claims (10)

1. a kind of message forwarding method, which is characterized in that described applied to the access device in software defined network SDN networking Method includes:
When receiving service message from user side, the application attribute of the service message is identified;
Tunnel encapsulation is carried out to the service message, obtains tunnel packet, the tunnel packet includes and the application attribute The the first application attribute label matched;
According to the forwarding strategy with the first application attribute indicia matched, to the tunnel for including first application attribute label Message is forwarded, so that each forwarding device is according to the forwarding plan with the first application attribute indicia matched in forward-path Slightly, the tunnel packet for including first application attribute label is forwarded.
2. the method according to claim 1, wherein also being wrapped after the application attribute of the identification message It includes:
Determine whether to receive the service message of the application attribute for the first time;
If so, the application attribute is sent to controller, so that each equipment of the controller into the SDN networking issues It is marked with the matched application attribute of the application attribute, and the forwarding strategy with the application attribute indicia matched;
Otherwise, tunnel encapsulation is carried out to the service message.
3. the method according to claim 1, wherein also being wrapped after the application attribute of the identification message It includes:
Determine that local whether recorded marks with the matched application attribute of the application attribute;
If so, carrying out tunnel encapsulation to the service message;
Otherwise, Xiang Suoshu controller sends the application attribute, so that under each equipment of the controller into the SDN networking Hair is marked with the matched application attribute of the application attribute, and the forwarding strategy with the application attribute indicia matched.
4. according to the method in claim 2 or 3, which is characterized in that the matched first application attribute mark of application attribute The tunnel type remembered and be used for transmission the service message corresponds.
5. the method according to claim 1, wherein the method also includes:
When receiving the tunnel packet for carrying the second application attribute label from network side, determining and the second application attribute mark Remember matched forwarding strategy;
According to the forwarding strategy with the second application attribute indicia matched, applied to releasing tunnel encapsulation and deleting described second The service message of attribute label is forwarded.
6. a kind of apparatus for forwarding message, which is characterized in that described applied to the access device in software defined network SDN networking Device includes:
Receiving unit, for receiving message;
Recognition unit, for identifying answering for the service message when the receiving unit receives service message from user side Use attribute;
Message process unit obtains tunnel packet, the tunnel packet includes for carrying out tunnel encapsulation to the service message It is marked with matched first application attribute of the application attribute;
Transmission unit, for being applied to including described first according to the forwarding strategy with the first application attribute indicia matched The tunnel packet of attribute label is forwarded, so that each forwarding device is marked according to first application attribute in forward-path Matched forwarding strategy is forwarded the tunnel packet for including first application attribute label.
7. device according to claim 6, which is characterized in that described device further include:
First determination unit, for determining whether the receiving unit is the service message for receiving the application attribute for the first time;
The transmission unit, if being also used to the service message that the receiving unit receives the application attribute for the first time, to control Device sends the application attribute, so that each equipment of the controller into the SDN networking issues and the application attribute The application attribute label matched, and the forwarding strategy with the application attribute indicia matched;
The message process unit, if specifically for the non-business report for receiving the application attribute for the first time of the receiving unit Text then carries out tunnel encapsulation to the service message.
8. device according to claim 6, which is characterized in that described device further include:
Second determination unit, for determining that local whether recorded marks with the matched application attribute of the application attribute;
The message process unit marks if having specifically for local record with the matched application attribute of the application attribute, right The service message carries out tunnel encapsulation;
The transmission unit marks if being also used to be specifically used for local do not recorded with the matched application attribute of the application attribute, Send the application attribute to the controller so that each equipment of the controller into the SDN networking issue with it is described The matched application attribute label of application attribute, and the forwarding strategy with the application attribute indicia matched.
9. device according to claim 7 or 8, which is characterized in that the matched first application attribute mark of application attribute The tunnel type remembered and be used for transmission the service message corresponds.
10. device according to claim 6, which is characterized in that
The message process unit is also used to carry what the second application attribute marked when the receiving unit is received from network side When tunnel packet, the determining forwarding strategy with the second application attribute indicia matched;
The transmission unit is also used to be sealed according to the forwarding strategy with the second application attribute indicia matched to tunnel is released It fills and the service message for deleting the second application attribute label is forwarded.
CN201910683356.2A 2019-07-26 2019-07-26 A kind of message forwarding method and device Withdrawn CN110391997A (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
CN201910683356.2A CN110391997A (en) 2019-07-26 2019-07-26 A kind of message forwarding method and device
PCT/CN2020/103108 WO2021017930A1 (en) 2019-07-26 2020-07-20 Message forwarding

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201910683356.2A CN110391997A (en) 2019-07-26 2019-07-26 A kind of message forwarding method and device

Publications (1)

Publication Number Publication Date
CN110391997A true CN110391997A (en) 2019-10-29

Family

ID=68287779

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201910683356.2A Withdrawn CN110391997A (en) 2019-07-26 2019-07-26 A kind of message forwarding method and device

Country Status (2)

Country Link
CN (1) CN110391997A (en)
WO (1) WO2021017930A1 (en)

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111835661A (en) * 2020-06-17 2020-10-27 许继集团有限公司 Transformer substation service safety transmission system and method based on subscription and release mode
WO2021017930A1 (en) * 2019-07-26 2021-02-04 新华三技术有限公司 Message forwarding
WO2021103744A1 (en) * 2019-11-25 2021-06-03 中兴通讯股份有限公司 Heterogeneous network communication method and system, and controller
CN114679350A (en) * 2022-05-30 2022-06-28 南凌科技股份有限公司 SD-WAN-based link selection method, device and storage medium

Families Citing this family (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114285794B (en) * 2021-12-22 2023-08-18 网宿科技股份有限公司 Message forwarding control method, message transmission network, electronic equipment and storage medium
US11799923B2 (en) 2022-01-12 2023-10-24 Zoom Video Communications, Inc. Displaying a message within a graphical interface of a conference
US11838337B2 (en) 2022-01-12 2023-12-05 Zoom Video Communications, Inc. Transmitting a message for display within a graphical interface of a conference

Family Cites Families (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP2957080B1 (en) * 2013-02-12 2020-06-10 Hewlett-Packard Enterprise Development LP Network control using software defined flow mapping and virtualized network functions
CN104468384B (en) * 2014-12-22 2018-01-30 武汉绿色网络信息服务有限责任公司 A kind of system and method for realizing multi-priority services
CN104954186B (en) * 2015-06-19 2018-01-30 云南电网有限责任公司信息中心 A kind of application oriented SDN policy control method
CN110768884B (en) * 2018-07-25 2021-10-15 华为技术有限公司 VXLAN message encapsulation and policy execution method, equipment and system
CN110391997A (en) * 2019-07-26 2019-10-29 新华三技术有限公司合肥分公司 A kind of message forwarding method and device

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2021017930A1 (en) * 2019-07-26 2021-02-04 新华三技术有限公司 Message forwarding
WO2021103744A1 (en) * 2019-11-25 2021-06-03 中兴通讯股份有限公司 Heterogeneous network communication method and system, and controller
CN111835661A (en) * 2020-06-17 2020-10-27 许继集团有限公司 Transformer substation service safety transmission system and method based on subscription and release mode
CN114679350A (en) * 2022-05-30 2022-06-28 南凌科技股份有限公司 SD-WAN-based link selection method, device and storage medium
CN114679350B (en) * 2022-05-30 2022-09-06 南凌科技股份有限公司 SD-WAN-based link selection method, device and storage medium

Also Published As

Publication number Publication date
WO2021017930A1 (en) 2021-02-04

Similar Documents

Publication Publication Date Title
CN110391997A (en) A kind of message forwarding method and device
US20220078114A1 (en) Method and Apparatus for Providing Service for Traffic Flow
US9130859B1 (en) Methods and apparatus for inter-virtual local area network multicast services
CN109936629B (en) Hybrid cloud network interconnection method and system
US7839847B2 (en) Methods and apparatus providing VPN traffic matrix construction
US8416787B2 (en) Method, system and apparatus for implementing L2VPN between autonomous systems
US10958481B2 (en) Transforming a service packet from a first domain to a second domain
US8125926B1 (en) Inter-autonomous system (AS) virtual private local area network service (VPLS)
CN107018059B (en) A kind of message forwarding method and device
US20150188802A1 (en) System for supporting multi-tenant based on private ip address in virtual private cloud networks and operating method thereof
CN110198345B (en) Data request method, system and device and storage medium
WO2011150701A1 (en) Method, network device and network system for data service processing
TW201519621A (en) Management server and management method thereof for managing cloud appliances in virtual local area networks
CN110224934A (en) A kind of method and device carrying out Message processing using unified SR label stack
CN101110746B (en) Edge equipment of operators, city Ethernet access network and its data processing method
WO2022184169A1 (en) Packet forwarding method and system, storage medium, and electronic device
RU2013118214A (en) CONTROL DEVICE, COMMUNICATION SYSTEM, COMMUNICATION METHOD AND RECORDING MEDIA CONTAINING THE COMMUNICATION PROGRAM RECORDED ON IT
CN112637237B (en) Service encryption method, system, equipment and storage medium based on SRoU
WO2021190009A1 (en) Performance measurement method and apparatus, device, and storage medium
CN108199968A (en) Route processing method and device
CN108259298A (en) A kind of message forwarding method and device
US9608897B2 (en) Method and device for transferring bootstrap message
JP2010088080A (en) Communication apparatus and communication method
CN101729422B (en) Method and device for realizing QoS (Quality of Service) by utilizing BGP (Border Gateway Protocol)
CN101753366B (en) Method, equipment and system for realizing stream statistics of virtual private 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
TA01 Transfer of patent application right

Effective date of registration: 20200630

Address after: 310052 Binjiang District Changhe Road, Zhejiang, China, No. 466, No.

Applicant after: HANGZHOU H3C TECHNOLOGIES Co.,Ltd.

Address before: 230000 the 5-9 floor of block J1, A two, two new industrial park, 2800 innovation Avenue, Hefei High-tech Zone, Anhui.

Applicant before: XINHUASAN TECHNOLOGY Co.,Ltd. HEFEI BRANCH

TA01 Transfer of patent application right
WW01 Invention patent application withdrawn after publication

Application publication date: 20191029

WW01 Invention patent application withdrawn after publication