CN104618234B - Control the method and system of network flow transmission path switching - Google Patents

Control the method and system of network flow transmission path switching Download PDF

Info

Publication number
CN104618234B
CN104618234B CN201510032968.7A CN201510032968A CN104618234B CN 104618234 B CN104618234 B CN 104618234B CN 201510032968 A CN201510032968 A CN 201510032968A CN 104618234 B CN104618234 B CN 104618234B
Authority
CN
China
Prior art keywords
network flow
virtual machine
physical internet
internet ports
attribute information
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
CN201510032968.7A
Other languages
Chinese (zh)
Other versions
CN104618234A (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.)
Huawei Technologies Co Ltd
Original Assignee
Huawei Technologies 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 Huawei Technologies Co Ltd filed Critical Huawei Technologies Co Ltd
Priority to CN201510032968.7A priority Critical patent/CN104618234B/en
Publication of CN104618234A publication Critical patent/CN104618234A/en
Application granted granted Critical
Publication of CN104618234B publication Critical patent/CN104618234B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Landscapes

  • Mobile Radio Communication Systems (AREA)

Abstract

The invention discloses a kind of method and system of control network flow transmission path switching.In the present invention, virtual switch or virtual machine infrastructure management functional entity determine handover decisions according to virtual machine transmission, the changed network flow of transmission quality routing information;Virtual switch switches over network flow transmission path according to the handover decisions.It can be realized the switching that network flow transmission path is carried out according to network flow transmission quality through the invention.

Description

Control the method and system of network flow transmission path switching
Technical field
The present invention relates to field of communication technology more particularly to a kind of method that control network flow transmission path switches and it is System.
Background technique
With the development of cloud, basic technology of the virtualization technology as cloud computing, in enterprise data center, extensive PC cluster field obtains large-scale use.
One computer virtual is more virtual logical computers, i.e. virtual machine (Virtual by virtualization technology Machine, VM).Virtual machine is generally changed using interchanger in Microsoft Loopback Adapter, virtual switch and connection machine frame or frame top cross The server physical internet ports of machine, and are communicated outside server.
In order to guarantee the reliability of transmission, virtual switch generally uses at least two server physical internet ports and server Outside is communicated.At least two server physical internet ports use port trunking technology or port binding technology, and with load The redundant mode shared or the work of active and standby redundant mode.If server physical internet ports break down, virtual switch will go out Network flow on the server physical internet ports of existing failure, is switched to the normal server physical internet ports of state.
It, can not be to network flow source to purpose since virtual switch is the intermediate node in network flow transmission path The overall transfer quality at end is judged, therefore it can only be interrupted in such as server physical internet ports failure, cable or virtual friendship In the case that internal fault of changing planes etc. leads to transmission path chain rupture failure, the switching of above-mentioned network flow transmission path, nothing are realized Method carries out the switching of network flow transmission path in the case where network flow transmission quality exception.
Summary of the invention
The embodiment of the present invention provides a kind of method and system of control network flow transmission path switching, to realize according to net The switching of network flow transmission quality progress network flow transmission path.
In a first aspect, providing a kind of method of control network flow transmission path switching, comprising:
Virtual switch obtains virtual machine transmission, the changed network flow of transmission quality routing information;
Routing information of the virtual switch according to the changed network flow of the transmission quality determines that switching is determined Plan;
The virtual switch switches over network flow transmission path according to the handover decisions.
With reference to first aspect, in the first implementation, the method also includes:
The attribute information of server physical internet ports where the virtual switch obtains the virtual machine;
Routing information of the virtual switch according to the changed network flow of the transmission quality determines that switching is determined Plan, comprising:
Routing information and the void of the virtual switch according to the changed network flow of the transmission quality The attribute information of server physical internet ports, determines handover decisions where quasi- machine.
Second aspect provides a kind of method of control network flow transmission path switching, comprising:
Virtual machine infrastructure management functional entity obtains virtual machine transmission, the changed network flow of transmission quality Routing information;
Road of the virtual machine infrastructure management functional entity according to the changed network flow of the transmission quality Diameter information, determines handover decisions;
The handover decisions are sent to virtual switch by the virtual machine infrastructure management functional entity;
The virtual switch switches over network flow transmission path according to the handover decisions.
In conjunction with second aspect, in the first implementation, the method also includes:
The attribute of server physical internet ports where the virtual machine infrastructure management functional entity obtains the virtual machine The attribute information of the attribute information of interchanger physical internet ports and external switch physical internet ports in information, machine frame;
Road of the virtual machine infrastructure management functional entity according to the changed network flow of the transmission quality Diameter information, determines handover decisions, comprising:
Road of the virtual machine infrastructure management functional entity according to the changed network flow of the transmission quality Diameter information, the attribute information of server physical internet ports where the virtual machine, in machine frame interchanger physical internet ports attribute information And the attribute information of external switch physical internet ports, determine handover decisions.
The third aspect provides a kind of system of control network flow transmission path switching, including virtual machine and virtual switch Machine, wherein
The virtual machine is used for monitoring network flow transmission quality, is monitoring that network flow transmission quality changes In the case where, the routing information of the changed network flow of transmission quality is sent to the virtual switch;
The virtual switch, for obtaining virtual machine transmission, the changed network flow of transmission quality path Information, and the routing information according to the changed network flow of the transmission quality, determine handover decisions, and according to described Handover decisions switch over network flow transmission path.
In conjunction with the third aspect, in the first implementation, the virtual switch is also used to:
The attribute information of server physical internet ports where obtaining the virtual machine;
The virtual switch, specifically for as follows according to the changed network flow of the transmission quality Routing information determines handover decisions:
Routing information and the void of the virtual switch according to the changed network flow of the transmission quality The attribute information of server physical internet ports, determines handover decisions where quasi- machine.
Fourth aspect provides a kind of system of control network flow transmission path switching, including virtual machine, virtual machine basis Facilities management functional entity and virtual switch, wherein
The virtual machine is used for monitoring network flow transmission quality, is monitoring that network flow transmission quality changes In the case where, the routing information of the changed network flow of transmission quality is sent to the virtual machine infrastructure management function It can entity;
The virtual machine infrastructure management functional entity changes for obtaining virtual machine transmits, transmission quality Network flow routing information, and the routing information according to the changed network flow of the transmission quality determines switching Decision, and the handover decisions are sent to the virtual switch;
The virtual switch, the handover decisions for being sent according to the virtual machine infrastructure management functional entity, Network flow transmission path is switched over.
In conjunction with fourth aspect, in the first implementation, the virtual machine infrastructure management functional entity is also used In:
The attribute information of server physical internet ports where obtaining the virtual machine, in machine frame interchanger physical internet ports attribute The attribute information of information and external switch physical internet ports;
The virtual machine infrastructure management functional entity is specifically used for occurring according to the transmission quality as follows The routing information of the network flow of variation, determines handover decisions:
Road of the virtual machine infrastructure management functional entity according to the changed network flow of the transmission quality Diameter information, the attribute information of server physical internet ports where the virtual machine, in machine frame interchanger physical internet ports attribute information And the attribute information of external switch physical internet ports, determine handover decisions.
5th aspect, provides a kind of virtual switch, including communication interface, memory and processor, wherein
Memory, the program code executed for storage processor;
Processor, the program code for calling memory to store execute control network flow described in first aspect and pass Control network flow transmission path described in the method for defeated path switching or any possible implementation of first aspect is cut The method changed.
6th aspect, provides a kind of virtual machine, including monitor, memory, processor and transmitter, wherein
Monitor is used for monitoring network flow transmission quality;
Memory, the program code executed for storage processor;
Processor, the program code for calling memory to store monitor that network flow transmission quality is sent out in monitor In the case where changing, the routing information of the changed network flow of transmission quality is sent to have and determine by control transmitter The functional entity of handover decisions function.
Having the functional entity for determining handover decisions function in the embodiment of the present invention is virtual switch or virtual machine base Infrastructure management function entity.
7th aspect, provides a kind of virtual machine infrastructure management functional entity, including receiver, memory, processor And transmitter, wherein
Memory, the program code executed for storage processor;
Processor, the program code for calling memory to store obtain virtual machine transmission, transmission matter by receiver The routing information for measuring changed network flow, attribute information, machine according to server physical internet ports where the virtual machine The attribute information and the routing information of the attribute information of interchanger physical internet ports, external switch physical internet ports in frame, really Determine handover decisions, and the handover decisions are sent to virtual switch by transmitter.
The method and system of control network flow transmission path switching provided in an embodiment of the present invention, are transmitted according to virtual machine , the routing information of the changed network flow of transmission quality, determination is used to indicate whether handover network flow transmission path Handover decisions network flow transmission path is switched over according to the handover decisions, therefore can be realized according to network flow The switching of transmission quality progress network flow transmission path.
Detailed description of the invention
Fig. 1 is the system architecture of control network flow transmission path switching method application provided in an embodiment of the present invention;
Fig. 2 is that virtual switch provided in an embodiment of the present invention constitutes schematic diagram;
Fig. 3 is Imaginary Mechanism provided in an embodiment of the present invention into schematic diagram;
Fig. 4 is that virtual machine infrastructure management functional entity provided in an embodiment of the present invention constitutes schematic diagram;
Fig. 5 provides the method flow diagram of control network flow transmission path switching for the embodiment of the present invention;
Fig. 6 is the method flow diagram that virtual switch provided in an embodiment of the present invention determines handover decisions;
Fig. 7 is virtual machine monitoring network flow provided in an embodiment of the present invention and the method flow diagram for reporting routing information;
Fig. 8 provides the another method flow chart of control network flow transmission path switching for the embodiment of the present invention;
Fig. 9 provides the method flow that virtual machine infrastructure management functional entity determines handover decisions for the embodiment of the present invention Figure;
Figure 10 is another composition schematic diagram of virtual switch provided in an embodiment of the present invention;
Figure 11 is another composition schematic diagram of virtual machine provided in an embodiment of the present invention;
Figure 12 is another composition schematic diagram of virtual machine infrastructure management functional entity provided in an embodiment of the present invention;
Figure 13 is that the system of control network flow transmission path switching provided in an embodiment of the present invention constitutes schematic diagram;
Figure 14 is another composition schematic diagram of system of control network flow transmission path switching provided in an embodiment of the present invention.
Specific embodiment
Following will be combined with the drawings in the embodiments of the present invention, and technical solution in the embodiment of the present invention carries out clear, complete Site preparation description, it is clear that described embodiments are only a part of the embodiments of the present invention, is not whole embodiments.It is based on Embodiment in the present invention, it is obtained by those of ordinary skill in the art without making creative efforts every other Embodiment shall fall within the protection scope of the present invention.
The method and device of control network flow transmission path switching provided in an embodiment of the present invention, can be applied to Fig. 1 institute The system architecture shown, virtual machine infrastructure management functional entity (Virtualized Infrastructure in Fig. 1 Management, VIM) it to be responsible for managing at least one server, operation has at least one virtual machine and virtual on each server Interchanger.Virtual machine can assess network flow transmission quality in network layer or service protocol layer, lead in the embodiment of the present invention The cooperation for crossing virtual machine and virtual switch realizes that network flow transmits road in the case where network transmission quality changes The switching of diameter.
It should be noted that system architecture shown in FIG. 1 of the embodiment of the present invention is only to be schematically illustrated, actual net Network framework is not limited to structure shown in FIG. 1.
Fig. 2 show the embodiment of the present invention and provides a kind of composition schematic diagram of virtual switch 200, as shown in Fig. 2, the void Quasi- interchanger 200 includes communication interface 201, memory 202 and processor 203.Certainly according to the actual situation, the embodiment of the present invention The virtual switch 200 of middle offer may further include communication bus, and the embodiment of the present invention is without limitation.
Memory 202 in the embodiment of the present invention, the program code executed for storage processor 203.
Processor 203, the program code for calling memory 202 to store, implements function such as:
Determine that handover decisions, the handover decisions are the network flow transmission quality determinations according to virtual machine transmission, and It is used to indicate whether handover network flow transmission path;According to the handover decisions, network flow transmission path is switched over.
In the first implementation, processor 203 is specifically used for determining switching as follows in the embodiment of the present invention Decision:
Virtual machine transmission, the changed network flow of transmission quality routing information is obtained by communication interface 201, The routing information includes the network address and port numbers of source and destination.Then become according to the transmission quality obtained The attribute information of server physical internet ports where the routing information of the network flow of change and the virtual machine determines that switching is determined Plan.The attribute information of stating of server physical internet ports includes redundant mode, network quality, port status, end in the embodiment of the present invention Mouth flow and port bandwidth etc..
In the second implementation, processor 203 is specifically used for determining switching as follows in the embodiment of the present invention Decision:
The handover decisions that virtual machine infrastructure management functional entity is sent, the switching are received by communication interface 201 Decision is attribute letter of the virtual machine infrastructure management functional entity according to server physical internet ports where the virtual machine The attribute information of interchanger physical internet ports, the attribute information of external switch physical internet ports and virtual machine transmission in breath, machine frame , the routing information of the changed network flow of transmission quality determine, then by the virtual machine infrastructure management function The handover decisions that energy entity is sent, are determined as handover decisions.
Routing information described in the embodiment of the present invention includes the network address and port numbers of source and destination, the category Property information includes redundant mode, network quality, port status, port flow and port bandwidth.
Virtual switch 200 provided in an embodiment of the present invention, the network flow transmission quality according to virtual machine transmission determine It is used to indicate whether the handover decisions of handover network flow transmission path, according to the handover decisions, road is transmitted to network flow Diameter switches over, therefore can be realized the switching that network flow transmission path is carried out according to network flow transmission quality.
Fig. 3 show the embodiment of the present invention and provides a kind of composition schematic diagram of virtual machine 300, as shown in figure 3, the virtual machine 300 include monitor 301, memory 302, processor 303 and transmitter 304.Certainly according to the actual situation, the embodiment of the present invention The virtual machine 300 of middle offer may further include communication bus, and the embodiment of the present invention is without limitation.
Monitor 301 in the embodiment of the present invention are used for monitoring network stream for processing apparatus or software with monitoring function Measure transmission quality.
Memory 302 in the embodiment of the present invention, the program code executed for storage processor 303.
Processor 303, the program code for calling memory 302 to store, implements function such as:
In the case where monitor 301 monitors that network flow transmission quality changes, control transmitter 304 will be transmitted The routing information of the changed network flow of quality is sent to the functional entity for determining handover decisions function.
Having the functional entity for determining handover decisions function in the embodiment of the present invention is virtual switch or virtual machine base Infrastructure management function entity.
Virtual machine 300 provided in an embodiment of the present invention can monitor the changed feelings of network flow transmission quality Under condition, the routing information of the changed network flow of transmission quality is sent to the function reality for determining handover decisions function Body enables the functional entity with determining handover decisions function to be used to indicate whether according to the determination of network flow transmission quality The handover decisions of handover network flow transmission path switch over network flow transmission path according to the handover decisions, with Realize the switching that network flow transmission path is carried out according to network flow transmission quality.
Fig. 4 show the embodiment of the present invention and provides a kind of composition signal of virtual machine infrastructure management functional entity 400 Figure, as shown in figure 4, the virtual machine infrastructure management functional entity 400 includes receiver 401, memory 402, processor 403 With transmitter 404.Certainly according to the actual situation, the virtual machine infrastructure management functional entity provided in the embodiment of the present invention 400 may further include communication bus, and the embodiment of the present invention is without limitation.
Memory 402 in the embodiment of the present invention, the program code executed for storage processor 403.
Processor 403, the program code for calling memory 402 to store, implements function such as:
Virtual machine transmission, the changed network flow of transmission quality routing information is obtained by receiver 401;According to According to the attribute information of interchanger physical internet ports, outside in the attribute information of virtual machine place server physical internet ports, machine frame The attribute information of interchanger physical internet ports and the routing information, determine handover decisions;And it is handed over by transmitter 404 to virtual It changes planes and sends the handover decisions.
Virtual machine infrastructure management functional entity 400 provided in an embodiment of the present invention, which can be to have, determines handover decisions The functional entity of function, is also possible to the component with the functional entity for determining handover decisions function, and the embodiment of the present invention is not done It limits.Have in the embodiment of the present invention and determines that the functional entity of handover decisions function for example can be virtual machine infrastructure management Functional entity.
Virtual machine infrastructure management functional entity 400 provided in an embodiment of the present invention, the network according to virtual machine transmission Flow transmission quality determines the handover decisions for being used to indicate whether handover network flow transmission path, by the handover decisions of the determination It is sent to virtual switch, so that virtual switch determines handover decisions according to the handover decisions, and according to determining switching Decision switches over network flow transmission path, can be realized and carries out network flow transmission road according to network flow transmission quality The switching of diameter.
The above-mentioned communication interface being related to of the embodiment of the present invention, receiver and transmitter are logical with other equipment or communication network Letter, such as Ethernet, wireless access network (RAN), WLAN (Wireless Local Area Networks, WLAN) etc..
The above-mentioned memory being related to of the embodiment of the present invention, can be read-only memory (read-only memory, ROM) or The other kinds of static storage device of static information and instruction, random access memory (random access can be stored Memory, RAM) or the other kinds of dynamic memory of information and instruction can be stored, it is also possible to electric erazable programmable Read-only memory (Electrically Erasable Programmable Read-Only Memory, EEPROM), read-only light Disk (Compact Disc Read-Only Memory, CD-ROM) or other optical disc storages, optical disc storage (including compression optical disc, Laser disc, optical disc, Digital Versatile Disc, Blu-ray Disc etc.), magnetic disk storage medium or other magnetic storage apparatus or can For carry or store have instruction or data structure form desired program code and can be by any of computer access Other media, but not limited to this.
The above-mentioned processor being related to of the embodiment of the present invention, can be a general central processor (CPU), microprocessor, Application-specific integrated circuit (application-specific integrated circuit, ASIC), or one or more use In the integrated circuit that control the present invention program program executes.
The method of control network flow transmission path switching is described in detail below the embodiment of the present invention.
Fig. 5 show the method implementation flow chart of control network flow transmission path switching provided in an embodiment of the present invention, The executing subject of method shown in Fig. 5 for example can be virtual switch, the component being also possible to inside virtual switch, the present invention Embodiment is without limitation.As shown in figure 5, this method comprises:
S101: road of the virtual switch according to the changed network flow of network flow transmission quality of virtual machine transmission Diameter information, determines handover decisions.
Virtual machine has the function of assessing network flow transmission quality in the embodiment of the present invention, therefore can in the embodiment of the present invention Network flow transmission quality according to virtual machine transmission determines handover decisions, which is used to indicate whether handover network stream Measure transmission path.
S102: virtual switch switches over network flow transmission path according to determining handover decisions.
In the embodiment of the present invention if it is determined that handover decisions be carry out network flow transmission path switching, then can be to network Flow transmission path switches over.If it is determined that handover decisions be switching without network flow transmission path, then not to net Network flow transmission path switches over.
During being switched in the embodiment of the present invention to network flow transmission path, if server physical internet ports are loads The routing information of the changed network flow of network transmission quality is then switched to specified Physical Network by the redundant mode shared Mouthful.If server physical internet ports are active and standby redundant modes, the data message of whole network flows is switched to spare Physical internet ports are transmitted.
Virtual machine monitors that network flow transmission quality changes in the embodiment of the present invention, can be transmission quality by just Often become reducing, is also possible to become normal from lower transmission quality.Virtual machine monitors network flow in the embodiment of the present invention Amount transmission quality changes, and can send the routing information of the changed network flow of transmission quality to has determining switching The functional entity of decision making function, the functional entity can be virtual switch, be also possible to virtual machine infrastructure management function Entity.
If virtual machine sends the routing information of the changed network flow of transmission quality to void in the embodiment of the present invention Quasi- interchanger, it is determined that mode as shown in FIG. 6 can be used in the process of handover decisions, comprising:
S1011: virtual switch obtains virtual machine transmission, the changed network flow of transmission quality path letter Breath.
The routing information for the changed network flow of transmission quality that virtual machine transmits in the embodiment of the present invention includes source The routing information that the network address and port numbers at end and destination, i.e. virtual switch obtain includes at least transmission quality Source-end networks address, source end port number, destination network address and the destination port numbers of variation.Certain virtual machine can also incite somebody to action Network transmission quality situation between source and destination is sent to virtual switch, preferably to determine handover decisions.
S1012: virtual switch obtains the virtual machine of the routing information of the transmission changed network flow of transmission quality The attribute information of place server physical internet ports.
The attribute information of server physical internet ports includes redundant mode, network matter where virtual machine in the embodiment of the present invention Amount, port status, port flow and port bandwidth.
S1013: routing information, Yi Jixu of the virtual switch according to the changed network flow of transmission quality obtained The attribute information of server physical internet ports, determines handover decisions where quasi- machine.
Virtual switch gets the routing information of the changed network flow of transmission quality in the embodiment of the present invention, sentences Redundant mode, network quality, port status, port flow and the port bandwidth etc. of server physical internet ports where disconnected virtual machine Factor is comprehensively considered, and whether meets the condition switched over the server physical internet ports that determination is current, is carried out if meeting The condition of network flow transmission path switching then can determine that handover decisions are to carry out the switching of network flow transmission path;If no Meet the condition for carrying out the switching of network flow transmission path, then can determine that handover decisions are without network flow transmission path Switching.
In the embodiment of the present invention with the virtual switch and virtual machine on same server, it can be realized to current clothes Network flow transmission path in business device is switched over according to network flow transmission quality.
Fig. 7 show in the embodiment of the present invention to realize and carry out the switching of network flow transmission path according to network transmission quality The operation executed needed for virtual machine in the process, as shown in fig. 7, this method comprises:
S201: virtual machine monitoring network flow transmission quality.
S202: in the case where network flow transmission quality changes, virtual machine is by the changed net of transmission quality The routing information of network flow is sent to the functional entity for determining handover decisions function.
Determine that the functional entity of handover decisions function can be virtual switch or virtual machine base in the embodiment of the present invention Infrastructure management function entity.
In the embodiment of the present invention, if virtual machine sends the routing information of the changed network flow of transmission quality to void Quasi- machine infrastructure management functional entity, then can be determined handover decisions, and will be true by virtual machine infrastructure management functional entity Fixed handover decisions are sent to virtual switch, by virtual switch, switch over to network flow transmission path, realize process Mode as shown in Figure 8 can be used, comprising:
S301: virtual machine infrastructure management functional entity obtains virtual machine transmission, the changed net of transmission quality The routing information of network flow.
The routing information of the changed network flow of transmission quality includes source and destination in the embodiment of the present invention The routing information that network address and port numbers, i.e. virtual machine infrastructure management functional entity obtain includes at least transmission quality Changed source-end networks address, source end port number, destination network address and destination port numbers.Certain virtual machine is also Network transmission quality situation between source and destination can be sent to virtual switch, preferably to determine that switching is determined Plan.
S302: road of the virtual machine infrastructure management functional entity according to the changed network flow of the transmission quality Diameter information, determines handover decisions.
S303: virtual machine infrastructure management functional entity sends the handover decisions to virtual switch.
S304: virtual switch switches over network flow transmission path according to the handover decisions.
Virtual machine infrastructure management functional entity is during determining handover decisions in the embodiment of the present invention, in addition to considering Other than the routing information of the changed network flow of transmission quality, the category of server physical internet ports where further accounting for virtual machine Property information, in machine frame the attribute information of the attribute information of interchanger physical internet ports and external switch physical internet ports (except service The network interface of other network switch other than device), to realize the global state for combining virtual machine management system, it is determined whether carry out The switching of network flow transmission path.
If virtual machine sends the routing information of the changed network flow of transmission quality to void in the embodiment of the present invention Quasi- machine infrastructure management functional entity, then virtual machine infrastructure management functional entity determines that the process of handover decisions can be used Mode as shown in Figure 9, comprising:
S3021a: virtual machine infrastructure management functional entity obtains the changed net of transmission quality of virtual machine transmission The routing information of network flow.
S3021b: the category of server physical internet ports where virtual machine infrastructure management functional entity obtains the virtual machine The attribute information of interchanger physical internet ports and the attribute information of external switch physical internet ports in property information, machine frame.
The attribute information of physical internet ports involved in the embodiment of the present invention mainly includes redundant mode, network quality, port State, port flow and port bandwidth etc..Such as the attribute information of server physical internet ports includes virtual machine where virtual machine The factors such as redundant mode, network quality, port status, port flow and the port bandwidth of place server physical internet ports;Machine The attribute information of interchanger physical internet ports includes physical internet ports redundant mode, topological relation, the network of interchanger in machine frame in frame Flow and network interface state etc.;The attribute information of external switch physical internet ports includes the superfluous of the physical internet ports on external switch Complementary modul formula, topological relation, network flow and network interface state etc..
The routing information includes the network address and port numbers of source and destination, and the attribute information includes redundancy Mode, network quality, port status, port flow and port bandwidth.
S3022: virtual machine infrastructure management functional entity is according to the changed network flow of the transmission quality Routing information, the attribute information of server physical internet ports where the virtual machine, in machine frame interchanger physical internet ports attribute letter The attribute information of breath and external switch physical internet ports, determines handover decisions.
By the virtual machine infrastructure management functional entity with global administration's function according to quasi- machine in the embodiment of the present invention Attribute information, external switch Physical Network of interchanger physical internet ports in the attribute informations of place server physical internet ports, machine frame Attribute information and the virtual machine transmission of mouth, the changed network flow of transmission quality routing information, determines that switching is determined The global state in conjunction with virtual machine management system may be implemented in plan, determines whether to carry out network according to network flow transmission quality The switching of flow transmission path.
The method of control network flow transmission path switching provided in an embodiment of the present invention, virtual machine infrastructure management function Energy entity is used to indicate whether handover network flow transmission path according to the network flow transmission quality determination of virtual machine transmission The handover decisions of the determination are sent to virtual switch by handover decisions, so that virtual switch is true according to the handover decisions Determine handover decisions, and network flow transmission path is switched over according to determining handover decisions, can be realized according to network flow Measure the switching that transmission quality carries out network flow transmission path.
The method of the control network flow transmission path switching provided based on the above embodiment, the embodiment of the present invention also provide A kind of virtual switch 1000, as shown in Figure 10, virtual switch 1000 provided in an embodiment of the present invention include determination unit 1001 and switch unit 1002, wherein
Determination unit 1001, for determining that handover decisions, the handover decisions are the network flows according to virtual machine transmission What transmission quality determined, and it is used to indicate whether handover network flow transmission path;
Switch unit 1002, the handover decisions for being determined according to the determination unit 1001, passes network flow Defeated path switches over.
In the first implementation, the determination unit 1001 is specifically used for determining handover decisions as follows:
Obtain virtual machine transmission, the changed network flow of transmission quality routing information;
Attribute letter according to server physical internet ports where the routing information of the network flow and the virtual machine Breath, determines handover decisions.
In the second implementation, the determination unit 1001 is specifically used for determining handover decisions as follows:
The handover decisions that virtual machine infrastructure management functional entity is sent are received, the handover decisions are the virtual machines Infrastructure management functional entity is according to interchanger object in the attribute informations of server physical internet ports where the virtual machine, machine frame The attribute information of network interface, the attribute information of external switch physical internet ports and virtual machine transmit, transmission quality is managed to become What the routing information of the network flow of change determined;
The handover decisions that will be received, are determined as handover decisions.
Virtual switch 1000 provided in an embodiment of the present invention can be with the functional entity for determining handover decisions function, It is also possible to the component with the functional entity for determining handover decisions function, the embodiment of the present invention is without limitation.The present invention is implemented Have in example and determines that the functional entity of handover decisions function for example can be virtual switch.
Virtual switch 1000 provided in an embodiment of the present invention, the network flow transmission quality according to virtual machine transmission determine It is used to indicate whether the handover decisions of handover network flow transmission path, according to the handover decisions, road is transmitted to network flow Diameter switches over, therefore can be realized the switching that network flow transmission path is carried out according to network flow transmission quality.
The embodiment of the present invention also provides a kind of virtual machine 1100, as shown in figure 11, virtual machine provided in an embodiment of the present invention 1100 include monitoring unit 1101 and transmission unit 1102, in which:
Monitoring unit 1101 is used for monitoring network flow transmission quality.
Transmission unit 1102, for monitoring the changed feelings of network flow transmission quality in the monitoring unit 1101 Under condition, the routing information of the changed network flow of transmission quality is sent to the function reality for determining handover decisions function Body.
Having the functional entity for determining handover decisions function in the embodiment of the present invention is virtual switch or virtual machine base Infrastructure management function entity.
Virtual machine 1100 provided in an embodiment of the present invention can be the functional entity with monitoring network transmission quality function, It is also possible to the component with the functional entity for determining handover decisions function, the embodiment of the present invention is without limitation.The present invention is implemented Functional entity in example with monitoring network transmission quality function for example can be virtual machine.
Virtual machine 1100 provided in an embodiment of the present invention can monitor the changed feelings of network flow transmission quality Under condition, the routing information of the changed network flow of transmission quality is sent to the function reality for determining handover decisions function Body enables the functional entity with determining handover decisions function to be used to indicate whether according to the determination of network flow transmission quality The handover decisions of handover network flow transmission path switch over network flow transmission path according to the handover decisions, with Realize the switching that network flow transmission path is carried out according to network flow transmission quality.
The embodiment of the present invention also provides a kind of virtual machine infrastructure management functional entity 1200, as shown in figure 12, this hair The virtual machine infrastructure management functional entity 1200 that bright embodiment provides includes acquiring unit 1201, determination unit 1202 and hair Send unit 1203, in which:
Acquiring unit 1201, for obtaining virtual machine transmission, the changed network flow of transmission quality path letter Breath.
Determination unit 1202, for according to server physical internet ports where the virtual machine attribute information, hand in machine frame Change planes what the attribute information of physical internet ports, the attribute information of external switch physical internet ports and the acquiring unit 1201 obtained Routing information determines handover decisions;
Transmission unit 1203, for sending the handover decisions that the determination unit 1202 determines to virtual switch.
Virtual machine infrastructure management functional entity 1200 provided in an embodiment of the present invention, which can be to have, determines that switching is determined The functional entity of plan function is also possible to the component with the functional entity for determining handover decisions function, and the embodiment of the present invention is not It limits.Have in the embodiment of the present invention and determines that the functional entity of handover decisions function for example can be virtual machine infrastructure pipe Manage functional entity.
Virtual machine infrastructure management functional entity 1200 provided in an embodiment of the present invention, the network according to virtual machine transmission Flow transmission quality determines the handover decisions for being used to indicate whether handover network flow transmission path, by the handover decisions of the determination It is sent to virtual switch, so that virtual switch determines handover decisions according to the handover decisions, and according to determining switching Decision switches over network flow transmission path, can be realized and carries out network flow transmission road according to network flow transmission quality The switching of diameter.
Virtual switch 1000, virtual machine 1100 and virtual machine infrastructure management function reality provided in an embodiment of the present invention Body 1200, can be used for executing the method for the control network flow transmission path switching that the above embodiment of the present invention is related to, therefore for Virtual switch 1000, virtual machine 1100 and virtual machine infrastructure management functional entity 1200 describe not in the embodiment of the present invention Enough places in detail, see the description of related method embodiment and its attached drawing, details are not described herein.
The method and relevant device of the control network flow transmission path switching provided based on the above embodiment, the present invention are real It applies example and a kind of system 1300 of control network flow transmission path switching is also provided, as shown in figure 13, control network flow transmission The system 1300 of path switching includes virtual machine 1301 and virtual switch 1302, wherein
The virtual machine 1301 is used for monitoring network flow transmission quality, is monitoring the generation of network flow transmission quality In the case where variation, the routing information of the changed network flow of transmission quality is sent to the virtual switch 1302.
The virtual switch 1302, for obtaining the transmission of virtual machine 1301, the changed network flow of transmission quality The routing information of amount, and the routing information according to the changed network flow of the transmission quality, determine handover decisions, and According to the handover decisions, network flow transmission path is switched over.
In the first implementation, the virtual switch 1302, is also used to:
Obtain the attribute information of the 1301 place server physical internet ports of virtual machine;
The virtual switch 1302 is specifically used for as follows according to the changed network flow of the transmission quality The routing information of amount, determines handover decisions:
Routing information, Yi Jisuo of the virtual switch 1302 according to the changed network flow of the transmission quality The attribute information for stating 1301 place server physical internet ports of virtual machine, determines handover decisions.
In the embodiment of the present invention with the virtual switch and virtual machine on same server, it can be realized to current clothes Network flow transmission path in business device is switched over according to network flow transmission quality.
The method and relevant device of the control network flow transmission path switching provided based on the above embodiment, the present invention are real It applies example and a kind of system 1400 of control network flow transmission path switching is also provided, as shown in figure 14, control network flow transmission The system 1400 of path switching, including virtual machine 1401, virtual machine infrastructure management functional entity 1402 and virtual switch 1403, wherein
The virtual machine 1401 is used for monitoring network flow transmission quality, is monitoring the generation of network flow transmission quality In the case where variation, the routing information of the changed network flow of transmission quality is sent to the virtual machine infrastructure pipe Manage functional entity 1402.
The virtual machine infrastructure management functional entity 1402, for obtaining the transmission of virtual machine 1401, transmission quality The routing information of changed network flow, and the routing information according to the changed network flow of the transmission quality, It determines handover decisions, and the handover decisions is sent to the virtual switch 1403.
The virtual switch 1403 is cut for what is sent according to the virtual machine infrastructure management functional entity 1402 Decision is changed, network flow transmission path is switched over.
In the first implementation, the virtual machine infrastructure management functional entity 1402, is also used to:
Obtain the attribute informations of the 1401 place server physical internet ports of virtual machine, interchanger physical internet ports in machine frame The attribute information of attribute information and external switch physical internet ports;
The virtual machine infrastructure management functional entity 1402 is specifically used for as follows according to the transmission quality The routing information of changed network flow, determines handover decisions:
The virtual machine infrastructure management functional entity 1402 is according to the changed network flow of the transmission quality Routing information, the attribute informations of 1401 place server physical internet ports of the virtual machine, interchanger physical internet ports in machine frame The attribute information of attribute information and external switch physical internet ports, determines handover decisions.
The method of control network flow transmission path switching provided in an embodiment of the present invention, virtual machine infrastructure management function Energy entity is used to indicate whether handover network flow transmission path according to the network flow transmission quality determination of virtual machine transmission The handover decisions of the determination are sent to virtual switch by handover decisions, so that virtual switch is true according to the handover decisions Determine handover decisions, and network flow transmission path is switched over according to determining handover decisions, can be realized according to network flow Measure the switching that transmission quality carries out network flow transmission path.
Obviously, various changes and modifications can be made to the invention without departing from essence of the invention by those skilled in the art Mind and range.In this way, if these modifications and changes of the present invention belongs to the range of the claims in the present invention and its equivalent technologies Within, then the present invention is also intended to include these modifications and variations.

Claims (4)

1. a kind of method of control network flow transmission path switching characterized by comprising
Virtual switch obtains virtual machine transmission, the changed network flow of transmission quality routing information and the void The attribute information of server physical internet ports where quasi- machine;
Wherein, the attribute information of server physical internet ports includes redundant mode, network quality, port shape where the virtual machine At least one of state, port flow and port bandwidth or any combination;
Routing information and the virtual machine of the virtual switch according to the changed network flow of the transmission quality The attribute information of place server physical internet ports, determines handover decisions;
The virtual switch switches over network flow transmission path according to the handover decisions.
2. a kind of method of control network flow transmission path switching characterized by comprising
Virtual machine infrastructure management functional entity obtains virtual machine transmission, the changed network flow of transmission quality road Diameter information, the attribute information of server physical internet ports where the virtual machine, in machine frame interchanger physical internet ports attribute information And the attribute information of external switch physical internet ports;
Wherein, the attribute information of server physical internet ports includes redundant mode, network quality, port shape where the virtual machine At least one of state, port flow and port bandwidth or any combination;
The virtual machine infrastructure management functional entity is believed according to the path of the changed network flow of the transmission quality Breath, the attribute information of server physical internet ports where the virtual machine, in machine frame the attribute information of interchanger physical internet ports and The attribute information of external switch physical internet ports, determines handover decisions;
The handover decisions are sent to virtual switch by the virtual machine infrastructure management functional entity;
The virtual switch switches over network flow transmission path according to the handover decisions.
3. a kind of system of control network flow transmission path switching, which is characterized in that including virtual machine and virtual switch, In,
The virtual machine is used for monitoring network flow transmission quality, is monitoring the changed feelings of network flow transmission quality Under condition, the routing information of the changed network flow of transmission quality is sent to the virtual switch;
The virtual switch, for obtaining virtual machine transmission, the changed network flow of transmission quality routing information And the attribute information of server physical internet ports where the virtual machine, and according to the changed network flow of the transmission quality The attribute information of server physical internet ports where the routing information of amount and the virtual machine, determines handover decisions, and according to The handover decisions switch over network flow transmission path, wherein the category of server physical internet ports where the virtual machine Property information include at least one of redundant mode, network quality, port status, port flow and port bandwidth or any Combination.
4. a kind of system of control network flow transmission path switching, which is characterized in that including virtual machine, virtual machine infrastructure Management function entity and virtual switch, wherein
The virtual machine is used for monitoring network flow transmission quality, is monitoring the changed feelings of network flow transmission quality Under condition, it is real that the routing information of the changed network flow of transmission quality is sent to the virtual machine infrastructure management function Body;
The virtual machine infrastructure management functional entity, for obtaining virtual machine transmission, the changed net of transmission quality The routing information of network flow, the attribute information of server physical internet ports where the virtual machine, interchanger physical internet ports in machine frame Attribute information and external switch physical internet ports attribute information, and according to the changed network flow of the transmission quality The routing information of amount, the attribute information of server physical internet ports where the virtual machine, in machine frame interchanger physical internet ports category The attribute information of property information and external switch physical internet ports, determines handover decisions, and the handover decisions are sent to institute State virtual switch;
Wherein, the attribute information of server physical internet ports includes redundant mode, network quality, port shape where the virtual machine At least one of state, port flow and port bandwidth or any combination;
The virtual switch, the handover decisions for being sent according to the virtual machine infrastructure management functional entity, to net Network flow transmission path switches over.
CN201510032968.7A 2015-01-22 2015-01-22 Control the method and system of network flow transmission path switching Active CN104618234B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201510032968.7A CN104618234B (en) 2015-01-22 2015-01-22 Control the method and system of network flow transmission path switching

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201510032968.7A CN104618234B (en) 2015-01-22 2015-01-22 Control the method and system of network flow transmission path switching

Publications (2)

Publication Number Publication Date
CN104618234A CN104618234A (en) 2015-05-13
CN104618234B true CN104618234B (en) 2018-12-07

Family

ID=53152521

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201510032968.7A Active CN104618234B (en) 2015-01-22 2015-01-22 Control the method and system of network flow transmission path switching

Country Status (1)

Country Link
CN (1) CN104618234B (en)

Families Citing this family (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20170279676A1 (en) * 2016-03-22 2017-09-28 Futurewei Technologies, Inc. Topology-based virtual switching model with pluggable flow management protocols
CN108512779B (en) * 2017-02-24 2020-11-27 华为技术有限公司 Control information transmission method, server and system
CN109284172A (en) * 2018-09-20 2019-01-29 贵州华芯通半导体技术有限公司 Access method for managing resource, system and virtual machine manager under virtualized environment

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101159669A (en) * 2007-10-09 2008-04-09 华为技术有限公司 Service flow switching method and apparatus
CN102084340A (en) * 2009-04-28 2011-06-01 思科技术公司 Traffic forwarding for virtual machines
CN102316021A (en) * 2011-07-04 2012-01-11 杭州华三通信技术有限公司 Method for realizing load sharing of switch aggregation port and switch

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101159669A (en) * 2007-10-09 2008-04-09 华为技术有限公司 Service flow switching method and apparatus
CN102084340A (en) * 2009-04-28 2011-06-01 思科技术公司 Traffic forwarding for virtual machines
CN102316021A (en) * 2011-07-04 2012-01-11 杭州华三通信技术有限公司 Method for realizing load sharing of switch aggregation port and switch

Also Published As

Publication number Publication date
CN104618234A (en) 2015-05-13

Similar Documents

Publication Publication Date Title
CN103368768B (en) The method of the auto zoom network coverage, device and equipment in mixed cloud environment
CN105531970B (en) Method and system for the load that maps out the work in a network
EP3053041B1 (en) Method, system, computer program and computer program product for monitoring data packet flows between virtual machines, vms, within a data centre
CN103166870B (en) Load balancing clustered system and method for providing services by using load balancing clustered system
CN105409172B (en) Logical switch
US20130007261A1 (en) Virtual data center monitoring
CN103559075B (en) A kind of data transmission method, device and system and memory device
CN102469023B (en) Based on the dispatching method of cloud computing, unit and system
US9584369B2 (en) Methods of representing software defined networking-based multiple layer network topology views
CN104981788B (en) The control method of storage system and storage system
CN106302574B (en) A kind of service availability management method, device and its network function virtualization architecture
CN109391505A (en) Network example management method and relevant device
CN106020926B (en) A kind of method and device transmitted for data in virtual switch technology
KR20160118708A (en) A system and method for integrated service orchestration in distributed cloud envronment
CN105144110A (en) Automatic configuration of external services based upon network activity
CN109327319B (en) Method, equipment and system for deploying network slice
US11469983B1 (en) Correlating and measuring the effect of adverse network events on specific traffic flows
CN105847237A (en) Safety management method and device based on NFV (Network Function Virtualization)
CN104618234B (en) Control the method and system of network flow transmission path switching
US20130198388A1 (en) Distributed information
CN109964507A (en) Management method, administrative unit and the system of network function
US10791030B2 (en) Policy transmission method and apparatus in NFV system
CN106713378A (en) Method and system for realizing service provision by multiple application servers
CN104283780A (en) Method and device for establishing data transmission route
CN103207801B (en) The methods, devices and systems of virtual machine (vm) migration and fibre channel media

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