CN103825767B - The implementation method and bridge of service quality - Google Patents

The implementation method and bridge of service quality Download PDF

Info

Publication number
CN103825767B
CN103825767B CN201410073544.0A CN201410073544A CN103825767B CN 103825767 B CN103825767 B CN 103825767B CN 201410073544 A CN201410073544 A CN 201410073544A CN 103825767 B CN103825767 B CN 103825767B
Authority
CN
China
Prior art keywords
message
terminal station
virtual switch
bridge
run
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.)
Active
Application number
CN201410073544.0A
Other languages
Chinese (zh)
Other versions
CN103825767A (en
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.)
Digital China Networks Beijing Co Ltd
Original Assignee
Digital China Networks Beijing Co Ltd
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 Digital China Networks Beijing Co Ltd filed Critical Digital China Networks Beijing Co Ltd
Priority to CN201410073544.0A priority Critical patent/CN103825767B/en
Publication of CN103825767A publication Critical patent/CN103825767A/en
Application granted granted Critical
Publication of CN103825767B publication Critical patent/CN103825767B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Landscapes

  • Data Exchanges In Wide-Area Networks (AREA)

Abstract

The invention discloses a kind of implementation method of service quality, terminal station and bridge.The implementation method of the service quality includes:The message to be sent of at least one virtual switch that terminal station will be run thereon is sent to bridge by the NIC in the terminal station;After bridge receives the message that the virtual switch run on the terminal station sends, the message according at least one QoS policy rule being pre-configured with to receiving is scheduled.The implementation method of service quality provided in an embodiment of the present invention, terminal station and bridge provide QoS guarantee for the VEPA network equipments so that network manager preferably VEPA network traffics can implement management.

Description

The implementation method and bridge of service quality
Technical field
The present invention relates to technical field of the computer network, more particularly to service quality implementation method and bridge.
Background technology
In manager's cloud computing, in the changing process of server virtualization, data center's switching equipment is also for data center Generation dramatic change.After fictionalizing one or more virtual switch on one physical server, in order to realize virtual switch Between and virtual switch and external network communication, it is proposed that virtual ethernet trunking plays (Virtual Ethernet Port Aggregator,VEPA).The characteristics of VEPA is the ether network packet that need not be sent to virtual switch Do any change and be capable of achieving " hair fastener is curved " forwarding.
The network equipment such as fire wall and IDS/IPS, and accesses control list (ACL), service quality (QoS) and The ripe network switch function such as port monitoring, can be directly used between virtual switch flow and virtual switch Exchange, re-start the demand of the quality judging, test and deployment of costliness to virtual network device so as to reduce or eliminate.Cause This, network management control layer has been given network manager by VEPA again, is all network savvies related to virtual switch Supply, monitoring and trouble shoot provide a single control point.
But, lack in the existing VEPA network equipments to the service quality of flow (Quality of service, QoS) ensure, cause network manager preferably to be managed the flow of the VEPA network equipments.
The content of the invention
In view of this, the present invention proposes the implementation method and bridge of a kind of service quality, and QoS is provided with VEPA networks Ensure.
In a first aspect, the embodiment of the invention provides a kind of implementation method of service quality, methods described includes:
The network that the message to be sent of at least one virtual switch that terminal station will be run thereon passes through the terminal station Interface card is sent to bridge, wherein, the virtual switch be operate in it is virtual on the virtual machine KVM based on linux kernel Interchanger;
After bridge receives the message that the virtual switch run on the terminal station sends, according to being pre-configured with least One QoS policy rule is scheduled to the message for receiving.
Second aspect, the embodiment of the invention provides a kind of bridge, and the bridge includes:
QoS scheduler modules, after the message that the virtual switch for being run on the terminal station is received sends, according to Message of at least one qos policy rule being pre-configured with to receiving is scheduled.
The implementation method and bridge of service quality provided in an embodiment of the present invention, by the virtual friendship that will be run on terminal station The message to be sent changed planes is sent to bridge, and bridge is according to the regular report to receiving of at least one qos policy being pre-configured with Text is scheduled, and realizes the QoS guarantee to the VEPA network equipments.
Brief description of the drawings
By the detailed description made to non-limiting example made with reference to the following drawings of reading, it is of the invention other Feature, objects and advantages will become more apparent upon:
Fig. 1 is the network topology structure figure of the implementation method for implementing service quality provided in an embodiment of the present invention;
Fig. 2 is the flow chart of the implementation method of the service quality that first embodiment of the invention is provided;
Fig. 3 is the flow chart of the implementation method of the service quality that second embodiment of the invention is provided;
Fig. 4 is the stream of the qos policy rule-based scheduling in the implementation method of the service quality that third embodiment of the invention is provided Cheng Tu;
Fig. 5 is the flow chart of the implementation method of the service quality that fourth embodiment of the invention is provided;
Fig. 6 is the structure chart in the terminal station that fifth embodiment of the invention is provided;
Fig. 7 is the structure chart of the bridge that sixth embodiment of the invention is provided.
Specific embodiment
The present invention is described in further detail with reference to the accompanying drawings and examples.It is understood that this place is retouched The specific embodiment stated is only used for explaining the present invention, rather than limitation of the invention.It also should be noted that, for the ease of Description, illustrate only part rather than full content related to the present invention in accompanying drawing.
Fig. 1 is the network topology structure figure of the implementation method for implementing service quality provided in an embodiment of the present invention.Referring to figure 1, the network for implementing the implementation method of service quality provided in an embodiment of the present invention includes:Terminal station 101 and bridge 102.It is described Operation has at least one virtual switch on terminal station 101.The virtual switch is the program composition run on terminal station A kind of software function module.Each virtual switch has the virtual network interface card of its own, by the NIC The virtual switch being capable of individual reception and transmission data, the function of the similar actual interchanger of completion.
The terminal station 101 is joined directly together with bridge 102 and connects.The bridge 102 has multiple network connection ports, and leads to The network connection port for crossing these physics is connected with the terminal station 101 and outer net.By network connection port, the bridge 102 can receive from the terminal station 101 and outer net and send data respectively, so as to complete to bridge in the terminal station 101 Virtual switch and outer net function.
Fig. 2 shows the first embodiment of the present invention.
Fig. 2 is the flow chart of the implementation method of the service quality that first embodiment of the invention is provided.Referring to Fig. 2, the clothes The implementation method of quality of being engaged in includes:
S210, the message to be sent of at least one virtual switch that terminal station will be run thereon is by the terminal station NIC is sent to bridge, wherein, the virtual switch is to operate in the virtual machine (Kernal- based on linux kernel Based virtual machine, KVM) on virtual switch.
The terminal station includes a NIC.The NIC is the NIC of physics.By the net Network interface card, the virtual switch run on the terminal station can be sent to bridge from bridge reception message or by message.
In addition, the virtual switch run on terminal station all has respective medium education (Media access Control, MAC) address.Each virtual switch adds the MAC ground of itself when message is sent, all in the message for sending Location.So, when bridge equipment receives the message that the virtual switch run on the terminal station sends, it is possible to recognize the report Text is sent by which virtual switch on terminal station.
After adding the corresponding MAC Address of virtual switch in each message to be sent, terminal station will be run thereon The message to be sent of at least one virtual switch is sent to bridge by the NIC in the terminal station, no matter the message Destination-address be the virtual switch run on the terminal station, or other outer net equipment.
S220, after bridge receives the message that the virtual switch run on the terminal station sends, according to being pre-configured with At least one QoS policy rule the message that receives is scheduled.
Bridge is the bridging device between the bridge joint terminal station and outer net.The virtual switch run on the terminal station The message of transmission is required for being forwarded by the bridge.Be provided with least one qos policy rule in bridge in advance.
The qos policy rule be based on accesses control list (Access control list, ACL) realize, and with void Intend what the MAC Address of interchanger was associated.The qos policy rule can be associated with multiple MAC Address simultaneously, it is also possible to Only it is associated with a MAC Address.
Qos policy rule is that network manager is configured by configuration order on the bridge equipment, and described is matched somebody with somebody It is the configuration order under global schema to put order, rather than the configuration order under port mode.
Qos policy rule can be common qos policy rule, it is also possible to be specific to the QoS of VEPA network traffics Policing rule.VEPA qos policys rule will be referred to as specifically designed for the qos policy of VEPA network traffics rule.And, for For VEPA qos policys rule, a VEPA qos policys rule can simultaneously associate multiple MAC Address, a MAC Address A VEPA qos policy can only be bound.
It should be noted that when the virtual switch is migrated, that is, virtual switch is from a physical port Migrate to another physical port in same terminal station, or virtual switch is migrated during to other station terminal station, pin Qos policy rule to virtual switch configuration is also automatically migrated to purpose physical port or purpose terminal station.
The message to be sent of at least one virtual switch that the present embodiment will run thereon by using terminal station, bridge Message according still further at least one QoS policy rule being pre-configured with to receiving is scheduled so that network pipe Reason person can implement QoS management to VEPA network traffics, realize the QoS guarantee to the VEPA network equipments.
Fig. 3 shows the second embodiment of the present invention.
Fig. 3 is the flow chart of the implementation method of the service quality that second embodiment of the invention is provided.The service quality Implementation method further, is serviced in bridge based on the above embodiment of the present invention according at least one for being pre-configured with After quality Q oS policing rules are scheduled to the message for receiving, also include:Terminal station receives the message dispatched by bridge When, the MAC Address according to virtual switch transmits it to purpose virtual switch.Specifically, referring to Fig. 3, the Service Quality The implementation method of amount includes:
S310, the message to be sent of at least one virtual switch that terminal station will be run thereon is by the terminal station NIC is sent to bridge, wherein, the virtual switch is operated on the virtual machine KVM based on linux kernel Virtual switch.
S320, after bridge receives the message that the virtual switch run on the terminal station sends, according to being pre-configured with At least one QoS policy rule the message that receives is scheduled.
S330, when terminal station receives the message by bridge scheduling, the MAC Address according to virtual switch is transmitted To purpose virtual switch.
Because the bridge is the bridge coil device between the terminal station and outer net, therefore the bridge can not only connect The message that the terminal station sends is received, also message can be sent to the terminal station.
Include the MAC Address of the purpose virtual switch of the message due to the message that bridge is sent to the terminal station, Therefore terminal station can be according to the MAC Address of purpose virtual switch by the message transmissions to purpose virtual switch.
The present embodiment by terminal station receive bridge send message after, by the message according to different virtual switches MAC Address by the message transmissions to purpose virtual switch, realize the QoS guarantee to the VEPA network equipments.
Fig. 4 shows the third embodiment of the present invention.
Fig. 4 is the stream of the qos policy rule-based scheduling in the implementation method of the service quality that third embodiment of the invention is provided Cheng Tu.Based on first embodiment of the invention, further, bridge receives the end to the implementation method of the service quality After the message that the virtual switch run in end station sends, according at least one QoS policy rule being pre-configured with Message to receiving be scheduled including:
S221, if the message for receiving is purpose address with the virtual switch of operation on the terminal station, bridge is pressed The message is reflected according to the qos policy rule being pre-configured with.
The message that bridge is received be probably with the terminal station run virtual switch destination address message, It is not the virtual switch of the operation with the terminal station as the message of purpose address to be likely to.Both message bridges are all needed QoS guarantee is carried out to them.Therefore, bridge is according to the VEPA QoS for receiving the port of message and being associated with the port Policing rule is processed the message for receiving.
If the message for receiving is the virtual switch of the operation with the terminal station as the message of purpose address, described Bridge is reflected back according to the VEPA qos policy rule being associated with the port for receiving the message, the message that will be received The terminal station.
S222, if virtual switch of the message for receiving not with operation on the terminal station is purpose address, bridge Qos policy rule according to being pre-configured with sends to outer net the message.
If the message that the bridge is received is not that the virtual switch run with the terminal station is purpose address Message, the bridge according to be associated with the port for receiving the message a VEPA qos policy rule, will receive Message transmissions to outer net.
The present embodiment by according to the different destination addresses of message for receiving, to these messages from different on bridge Port forwards, while implement QoS ensureing, the message for sending is ensured there is provided QoS while the function of VEPA is realized.
Fig. 5 shows the fourth embodiment of the present invention.
Fig. 5 is the flow chart of the implementation method of the service quality that fourth embodiment of the invention is provided.The service quality Implementation method based on the first embodiment of the present invention, further, terminal station will run thereon it is at least one virtual The message to be sent of interchanger is sent to before bridge by the NIC in the terminal station, is also included:Bridge learns institute State the MAC Address of at least one virtual switch run on terminal station.Specifically, the implementation method bag of the service quality Include:
S510, bridge learns the MAC Address of at least one virtual switch run on the terminal station.
Each virtual switch run on the terminal station has corresponding virtual network interface card, and each Individual virtual network interface card has unique MAC Address.Therefore, each virtual switch for being run on the terminal station has Unique corresponding MAC Address therewith.In order to message is transmitted to virtual switch according to MAC Address, bridge needs study The MAC Address of the virtual switch run on the terminal station.
The MAC of the virtual switch that bridge can be run on disposable learning terminal station at the moment being connected with terminal station Address, it is also possible to the MAC Address of the virtual switch run on real-time learning terminal station during being communicated with terminal station.
Study of the bridge to the MAC Address of the virtual switch run on terminal station is found by the virtual station interfaces of VEPA With configuration protocol (VSI discovery and configuration protocol, VDP) realization.
S520, the message to be sent of at least one virtual switch that terminal station will be run thereon is by the terminal station NIC is sent to bridge, wherein, the virtual switch is operated on the virtual machine KVM based on linux kernel Virtual switch.
S530, after bridge receives the message that the virtual switch run on the terminal station sends, according to being pre-configured with At least one QoS policy rule the message that receives is scheduled.
The present embodiment is sent to before bridge by by message to be sent, uses the void run on bridge learning terminal station Intend the MAC Address of interchanger so that bridge can know the mac address information of different virtual switches.
Fig. 6 shows the fifth embodiment of the present invention.
Fig. 6 is the structure chart in the terminal station that fifth embodiment of the invention is provided.Referring to Fig. 6, the terminal station includes:Message Transmission processe module 610.
The message transmission processe module 610 is used for the to be sent of at least one virtual switch that will be run on terminal station Message is sent to bridge by the NIC in the terminal station, wherein, the virtual switch is operated in based on Linux Virtual switch on the virtual machine KVM of kernel.
Preferably, the terminal station also includes:Message receiving processing module 620.
The message receiving processing module 620 is used in bridge according at least one service quality QoS plan being pre-configured with After slightly rule is scheduled to the message for receiving, when receiving the message by bridge scheduling, according to the MAC of virtual switch Address transmits it to purpose virtual switch.
The present embodiment is sent by the message to be sent of the virtual switch that will be run on terminal station by NIC To bridge, and when the message by bridge scheduling is received, it is empty that the MAC Address according to virtual switch transmits it to purpose Intend interchanger, realize the QoS guarantee to VEPA network traffics.
Fig. 7 shows the sixth embodiment of the present invention.
Fig. 7 is the structure chart of the bridge that sixth embodiment of the invention is provided.Referring to Fig. 7, the bridge includes:QoS is dispatched Module 720.
The QoS scheduler modules 720 are used for the message that virtual switch sends run on the terminal station is received Afterwards, the message according at least one qos policy rule being pre-configured with to receiving is scheduled.
Preferably, the QoS scheduler modules 720 include:QoS reflector elements 721 and QoS transmitting elements 722.
The QoS reflector elements 721 are used for During destination address, the message is reflected according to the qos policy rule being pre-configured with.
The QoS transmitting elements 722 are used for the virtual switch in the message for receiving not to be run on the terminal station During for purpose address, the message is sent to outer net according to the qos policy rule being pre-configured with.
Preferably, the bridge also includes:MAC address learning module 710.
The MAC address learning module 710 is used for treating at least one virtual switch that will be run thereon in terminal station Send message to be sent to before bridge by the NIC in the terminal station, learn at least run on the terminal station The MAC Address of individual virtual switch.
Preferably, the qos policy rule be based on accesses control list realize, and with the MAC Address of virtual switch Associated.
The present embodiment by the terminal station is received run virtual switch send message after, according to advance At least one qos policy rule of configuration is scheduled to the message for receiving, and realizes and the QoS of VEPA network traffics is protected Card.
The embodiments of the present invention are for illustration only, and the quality of embodiment is not represented.
Will be appreciated by those skilled in the art that above-mentioned of the invention each module or each step can use general meter Calculate device to realize, they can be concentrated on single computing device, or are distributed in the network that multiple computing devices are constituted On, alternatively, they can be realized with the executable program code of computer installation, such that it is able to be stored in storage Performed by computing device in device, or they are fabricated to each integrated circuit modules respectively, or will be many in them Individual module or step are fabricated to single integrated circuit module to realize.So, the present invention be not restricted to any specific hardware and The combination of software.
Each embodiment in this specification is described by the way of progressive, what each embodiment was stressed be with The difference of other embodiment, same or analogous part between each embodiment mutually referring to.
The preferred embodiments of the present invention are the foregoing is only, is not intended to limit the invention, for those skilled in the art For, the present invention can have various changes and change.It is all any modifications made within spirit and principles of the present invention, equivalent Replace, improve etc., should be included within the scope of the present invention.

Claims (7)

1. a kind of implementation method of service quality, it is characterised in that including:
The network interface that the message to be sent of at least one virtual switch that terminal station will be run thereon passes through the terminal station Card is sent to bridge, wherein, the virtual switch is to operate in the virtual switch on the virtual machine KVM based on linux kernel Machine;
After bridge receives the message that the virtual switch run on the terminal station sends, according at least one for being pre-configured with QoS policy rule is scheduled to the message for receiving;
After the bridge receives the message that the virtual switch run on the terminal station sends, according to being pre-configured with least One qos policy rule the message for receiving is scheduled including:
If the message for receiving with the virtual switch run on the terminal station be purpose address, according to for being pre-configured with Bar qos policy rule is reflected the message;
If virtual switch of the message for receiving not with operation on the terminal station is purpose address, according to what is be pre-configured with One qos policy rule sends to outer net the message.
2. method according to claim 1, it is characterised in that in bridge according at least one service quality being pre-configured with After qos policy rule is scheduled to the message for receiving, also include:
When terminal station receives the message by bridge scheduling, it is empty that the MAC Address according to virtual switch transmits it to purpose Intend interchanger.
3. method according to claim 1, it is characterised in that at least one virtual switch that terminal station will be run thereon The message to be sent of machine is sent to before bridge by the NIC in the terminal station, is also included:
Bridge learns the MAC Address of at least one virtual switch run on the terminal station.
4. method according to claim 1, it is characterised in that the qos policy rule is based on accesses control list reality It is existing, and be associated with the MAC Address of virtual switch.
5. a kind of bridge, it is characterised in that including:
QoS scheduler modules, after the message that the virtual switch for being run on terminal station is received sends, according to being pre-configured with At least one qos policy rule the message that receives is scheduled;
The QoS scheduler modules include:
QoS reflector elements, for when the message for receiving is with the virtual switch that runs on the terminal station as purpose address, Qos policy rule according to being pre-configured with is reflected the message;
QoS transmitting elements, are purpose address for the virtual switch in the message for receiving not with operation on the terminal station When, the message is sent to outer net according to the qos policy rule being pre-configured with.
6. bridge according to claim 5, it is characterised in that also include:
MAC address learning module, the message to be sent of at least one virtual switch for will be run thereon in terminal station leads to The NIC for crossing the terminal station is sent to before bridge, learns at least one virtual switch run on the terminal station The MAC Address of machine.
7. bridge according to claim 5, it is characterised in that the qos policy rule is based on accesses control list reality It is existing, and be associated with the MAC Address of virtual switch.
CN201410073544.0A 2014-02-28 2014-02-28 The implementation method and bridge of service quality Active CN103825767B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201410073544.0A CN103825767B (en) 2014-02-28 2014-02-28 The implementation method and bridge of service quality

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201410073544.0A CN103825767B (en) 2014-02-28 2014-02-28 The implementation method and bridge of service quality

Publications (2)

Publication Number Publication Date
CN103825767A CN103825767A (en) 2014-05-28
CN103825767B true CN103825767B (en) 2017-06-06

Family

ID=50760614

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201410073544.0A Active CN103825767B (en) 2014-02-28 2014-02-28 The implementation method and bridge of service quality

Country Status (1)

Country Link
CN (1) CN103825767B (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105577546A (en) * 2015-12-28 2016-05-11 中铁工程装备集团有限公司 Method for actively requesting access based on QoS
EP3977691A1 (en) * 2019-05-30 2022-04-06 Nokia Solutions and Networks Oy Activation of pdu session and qos flows in 3gpp-based ethernet bridges

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102255903A (en) * 2011-07-07 2011-11-23 广州杰赛科技股份有限公司 Safety isolation method for virtual network and physical network of cloud computing
CN102984082A (en) * 2012-11-30 2013-03-20 刘庆国 Network service quality control method and device

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2009023838A1 (en) * 2007-08-15 2009-02-19 Cisco Technology, Inc. Stream reservation protocol for bridged networks

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102255903A (en) * 2011-07-07 2011-11-23 广州杰赛科技股份有限公司 Safety isolation method for virtual network and physical network of cloud computing
CN102984082A (en) * 2012-11-30 2013-03-20 刘庆国 Network service quality control method and device

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
基于MAC层的虚拟平台QoS实现;张曙;《电脑知识与技术》;20121231;第8卷(第34期);8238-8240 *

Also Published As

Publication number Publication date
CN103825767A (en) 2014-05-28

Similar Documents

Publication Publication Date Title
CN107896195B (en) Service chain arranging method and device and service chain topological structure system
CN104320350B (en) Method and system for providing fiduciary flow control
CN107278359A (en) The method of Message processing, main frame and system in cloud computing system
CN106603550B (en) A kind of Network Isolation method and device
US10805390B2 (en) Automated mirroring and remote switch port analyzer (RSPAN) functions using fabric attach (FA) signaling
CN109672708B (en) Communication method, device and system
CN102780635B (en) The method of pretection switch, TOR switch and system is realized based on TRILL network
CN105939291A (en) Message processing unit and network device
CN105743816B (en) A kind of link aggregation method and device
CN102812744A (en) Inter-working of EFM-OAM and CFM-OAM for mobile backhaul networks
CN109088819A (en) A kind of message forwarding method, interchanger and computer readable storage medium
CN106533973A (en) Method and system for distributing service message, and equipment
EP3200398B1 (en) Automated mirroring and remote switch port analyzer (rspan)/encapsulated remote switch port analyzer (erspan) functions using fabric attach (fa) signaling
CN109691031B (en) Service message transmission method and node equipment
CN107547665A (en) A kind of method, equipment and the system of dhcp address distribution
CN101631060B (en) Method and device for managing edge port
CN103795630A (en) Message transmitting method and device of label switching network
CN101692654B (en) Method, system and equipment for HUB-Spoken networking
CN105264837B (en) A kind of Transmission system of data message, transmission method and equipment
CN104144130A (en) Virtual machine system interconnection method and system and access switch
CN110417687A (en) A kind of message sends and receives method and device
CN103825767B (en) The implementation method and bridge of service quality
CN109728926B (en) Communication method and network device
CN103780437A (en) Information synchronization method and device
CN106330492B (en) A kind of method, apparatus and system configuring user equipment forwarding table

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant