CN106453118A - Flow control method and flow control system - Google Patents

Flow control method and flow control system Download PDF

Info

Publication number
CN106453118A
CN106453118A CN201610998107.9A CN201610998107A CN106453118A CN 106453118 A CN106453118 A CN 106453118A CN 201610998107 A CN201610998107 A CN 201610998107A CN 106453118 A CN106453118 A CN 106453118A
Authority
CN
China
Prior art keywords
virtual server
local
flow controller
positional information
respect
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.)
Granted
Application number
CN201610998107.9A
Other languages
Chinese (zh)
Other versions
CN106453118B (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.)
Shenzhen Shenxinfu Electronic Technology Co Ltd
Original Assignee
Shenzhen Shenxinfu Electronic Technology 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 Shenzhen Shenxinfu Electronic Technology Co Ltd filed Critical Shenzhen Shenxinfu Electronic Technology Co Ltd
Priority to CN201610998107.9A priority Critical patent/CN106453118B/en
Publication of CN106453118A publication Critical patent/CN106453118A/en
Application granted granted Critical
Publication of CN106453118B publication Critical patent/CN106453118B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L47/00Traffic control in data switching networks
    • H04L47/10Flow control; Congestion control

Abstract

The invention discloses a flow control method and a flow control system which are used for monitoring position information of a virtual server; a local flow control strategy of a local flow controller is changed according to the position information if the position of the virtual server is changed, and a global flow control strategy is changed by a global flow controller according to information of a local virtual server, thereby improving the flow control effect of a dual-active virtualization data center. The method disclosed by the embodiment of the invention comprises the following steps of monitoring the position information of the virtual server; judging whether the position of the virtual server, which is relative to the local flow controller, is changed according to the position information; if yes, changing the local flow control strategy of the local flow controller according to the position information and obtaining the information of the local virtual server of the local flow controller; and sending the information of the local virtual server to the global flow controller, so that the global flow control strategy can be changed by the global flow controller according to information of the local virtual server.

Description

A kind of flow control methods and flow control system
Technical field
The present invention relates to Internet technical field, more particularly to a kind of flow control methods and flow control system.
Background technology
Visualized data centre is that data center utilizes Intel Virtualization Technology, such as VMware, realize to server, storage and The virtualization of network, forms IT flexible resource pond, shields requirement of the business to bottom hardware, realizes resource Automatic dispatching and pipe Reason.Intel Virtualization Technology manufacturer constantly releases Visualized data centre solution.One technology of most important of which is exactly empty Plan machine migrating technology, virtual machine migration technology is dynamic migration or real-time migration again, i.e., virtual machine preservation/recovering typically will be whole The running status of individual virtual machine is completely preserved, while original hardware platform even different hardware quickly can be returned to On platform, after recovery, virtual machine still smoothness run, user will not perceive any difference.Virtual machine migration technology is permissible So that the computing resource of data center is flexibly allocated, improve the utilization rate of resources of virtual machine further.But thermophoresis Change the network architecture of conventional data centers.After virtual machine (vm) migration, the agreement (Internet of interconnection between the network of server Protocol, IP) address and media access control (Media Access Control, MAC) address be all without change, Yong Huwei The server for allowing after migration directly can be used, and need to build big double layer network environment between dual-active data center, make two The server picture of individual data center will not cause interrupting service because of migration in same LAN, change network configuration manually. Dual-active data center is that Liang Ge data center active and standby each other is central all in operation.Big double layer network is referred to by certain technology Means (such as tunneling technique) constitute a LAN in logic several independent LANs.
But this network architecture of data center changes, and also proposes new requirement to fluidic device.Traditional is local Fluidic device cannot position virtual machine position, then local fluidic device cannot change local stream interface driver, for local data The virtual server at the virtual server at center and remote data center can all send request data, so cause a part of request Data are by the tunnel transmission of building two layers to opposite end, and this component requests data is time-consuming than larger;Due to local fluidic device no Legal position virtual machine position, local fluidic device cannot be the change of virtual server (including the migration between data center, increasing Plus, remove and fault etc.), feed back to global fluidic device, cause global fluidic device to each local fluidic device distribution Strategy is constant always, and therefore, after virtual server change in location, the fluid control effect of data center will be deteriorated.
Content of the invention
The invention provides a kind of flow control methods and flow control system, the position for monitoring virtual server is believed Breath, if the change in location of virtual server, changes the local stream interface driver of local flow controller according to positional information, And cause global traffic controller to change global stream interface driver according to local virtual server info, so as to improve dual-active void The fluid control effect of Ni Hua data center.
First aspect present invention provides a kind of flow control methods, is applied to the flow-control of dual-active Visualized data centre System, the flow control system includes virtual server, local flow controller and global traffic controller, the flow control Method processed includes:
The positional information of the virtual server is monitored, the positional information is comprising the virtual server with respect to described The current location of local flow controller, the virtual server is at least one;
According to the positional information judge the virtual server with respect to the local flow controller position whether Change;
If so, the local stream interface driver of the local flow controller is then changed according to the positional information, and obtains institute State the local virtual server info of local flow controller;
The local virtual server info is sent to the global traffic controller so that the global traffic control Device changes global stream interface driver according to the local virtual server info.
In conjunction with first aspect present invention, in first aspect present invention first embodiment, the monitoring Virtual Service The positional information of device, including:
Detection data is sent to the virtual server so that the virtual server feeds back answer number according to detection data According to;
Receive the reply data of virtual server feedback;
The positional information of the virtual server is obtained according to the reply data, the positional information includes the virtuality Server is with respect to the current location of the local flow controller.
In conjunction with first aspect present invention first embodiment, in first aspect present invention second embodiment, the basis The positional information judges whether the virtual server changes with respect to the position of the local flow controller, including:
Parse the positional information and obtain current location of the virtual server with respect to the local flow controller;
Predeterminated position of the virtual server with respect to the local flow controller is extracted from data base;
Judge whether the current location is consistent with the predeterminated position;
If the current location is consistent with the predeterminated position, the virtual server is with respect to the local flow control The position of device processed does not change;
If the current location is inconsistent with the predeterminated position, the virtual server is with respect to the local flow The change in location of controller.
In conjunction with first aspect present invention second embodiment, in the 3rd embodiment of first aspect present invention, the basis The positional information changes the local stream interface driver of the local flow controller, and obtains the sheet of the local flow controller Ground virtual server information, including:
The virtual server is carried out by classification server according to the positional information, the classification server includes locally Virtual server and distal end virtual server;
According to the local stream interface driver of the virtual machine classification change local flow controller, the local stream control plan Slightly the local flow controller is preferably the local virtual server-assignment flow;
Statistics obtains the corresponding local virtual server info of the local flow controller, the local virtual server Information includes the quantity of the local virtual server.
In conjunction with first aspect present invention, first aspect first embodiment, first aspect second embodiment or first party The 3rd embodiment of face, in the 4th embodiment of first aspect present invention, the flow control methods, also include:
If the virtual server does not change with respect to the position of the local flow controller, the virtual clothes are monitored The positional information of business device.
Second aspect present invention provides a kind of flow control system, is applied to dual-active Visualized data centre, including:
Virtual server, local flow controller and global traffic controller, the local flow controller includes position Watch-dog, judge module, processing module and sending module;
The monitoring position device, for monitoring the positional information of the virtual server, the virtual server is at least One;
The judge module, for judging the virtual server with respect to the local flow according to the positional information Whether the position of controller changes;
The processing module, for when the virtual server is with respect to the change in location of the local flow controller When, the local stream interface driver of the local flow controller is changed according to the positional information, and obtains the local flow control The local virtual server info of device processed;
The sending module, for sending the local virtual server info to the global traffic controller, makes Obtain the global traffic controller and global stream interface driver is changed according to the local virtual server info.
In conjunction with second aspect present invention, in second aspect present invention first embodiment,
The monitoring position device, specifically for sending detection data to the virtual server so that the Virtual Service Device feeds back reply data according to detection data;
The monitoring position device, is additionally operable to receive the reply data of virtual server feedback;
The monitoring position device, is additionally operable to obtain the positional information of the virtual server, institute according to the reply data State positional information and include current location of the virtual server with respect to the local flow controller.
In conjunction with second aspect present invention first embodiment, in second aspect present invention second embodiment,
The judge module, obtains the virtual server specifically for the parsing positional information local with respect to described The current location of flow controller;
The judge module, is additionally operable to extract the virtual server with respect to the local flow-control from data base The predeterminated position of device;
The judge module, is additionally operable to judge whether the current location is consistent with the predeterminated position, if described current Position is consistent with the predeterminated position, then the virtual server does not change with respect to the position of the local flow controller; If the current location is inconsistent with the predeterminated position, the virtual server is with respect to the local flow controller Change in location.
In conjunction with second aspect present invention second embodiment, in the 3rd embodiment of second aspect present invention,
The processing unit, specifically for the virtual server being carried out classification server according to the positional information, The classification server includes local virtual server and distal end virtual server;
The processing unit, the local stream control being additionally operable to according to the virtual machine classification change local flow controller Strategy, the local stream interface driver is preferably the local virtual server-assignment flow for the local flow controller;
The processing unit, is additionally operable to statistics and obtains the corresponding local virtual server letter of the local flow controller Breath, the local virtual server info includes the quantity of the local virtual server.
In conjunction with second aspect present invention, second aspect first embodiment, second aspect second embodiment or second party The 3rd embodiment of face, in the 4th embodiment of second aspect present invention,
The monitoring position device, be additionally operable to when the virtual server with respect to the local flow controller position not During change, the positional information of the virtual server is monitored.
In sum, the embodiment of the present invention has advantages below:
The flow control system of dual-active Visualized data centre monitors the positional information of the virtual server, positional information Comprising virtual server with respect to local flow controller current location, virtual server be at least one;Believed according to position Breath judges whether virtual server changes with respect to the position of local flow controller;If so, then according to positional information change originally The local stream interface driver of ground flow controller, and obtain the local virtual server info of local flow controller;Will be local empty Intend server info to send to global traffic controller so that global traffic controller is changed according to local virtual server info Global stream interface driver.Compared with prior art, the positional information of virtual server can be monitored, if change in location, locally Flow controller can change local stream interface driver according to the positional information of virtual server;And local virtual server is believed Breath feeds back to global traffic controller so that global traffic controller changes global flow control plan according to local virtual server info Slightly, so as to improve the fluid control effect of dual-active Visualized data centre.
Description of the drawings
In order to be illustrated more clearly that embodiment of the present invention technical scheme, below will be to institute in embodiment and description of the prior art The accompanying drawing for using is needed to be briefly described, it should be apparent that, drawings in the following description are only some enforcements of the present invention Example, for those of ordinary skill in the art, on the premise of not paying creative work, can also obtain according to these accompanying drawings Obtain other accompanying drawings.
Fig. 1 is the structural representation of dual-active Visualized data centre of the present invention;
Fig. 2 is one embodiment schematic diagram of inventive flow control method;
Fig. 3 is another embodiment schematic diagram of inventive flow control method;
Fig. 4 is a structural representation of inventive flow control system.
Specific embodiment
The invention provides a kind of flow control methods and flow control system, the position for monitoring virtual server is believed Breath, if the change in location of virtual server, changes the local stream interface driver of local flow controller according to positional information, And cause global traffic controller to change global stream interface driver according to local virtual server info, so as to improve dual-active void The fluid control effect of Ni Hua data center.
In order that those skilled in the art more fully understand the present invention program, below in conjunction with the embodiment of the present invention Accompanying drawing, is clearly and completely described to the technical scheme in the embodiment of the present invention, it is clear that described embodiment is only The embodiment of a present invention part, rather than whole embodiments.Based on the embodiment in the present invention, ordinary skill people The every other embodiment obtained under the premise of creative work is not made by member, should all belong to the model of present invention protection Enclose.
The structural representation of the dual-active Visualized data centre of the present invention is illustrated in figure 1, wherein, active and standby each other data 1 data center 2 of center is central all in operation, and the tunnel 1 that is built using tunnel device between Liang Ge data center is constituted greatly Double layer network environment.Tunneling technique is the side that a kind of infrastructure by using internet transmit data between networks Formula.A tunnel is built between the local flow controller 2 in 1 data center 2 of local flow controller in data center 1 2.Local flow controller 1 and domain controller 1 are connected by LAN netting twine (type such as including VLAN), 2 He of local flow controller Domain controller 2 is connected by LAN netting twine, 1 access of virtual server 1 of domain controller and virtual server 2, and domain controller 2 is accessed Virtual server 3, as long as domain controller is connected multiple equipment access network, can just access shared resource, such as Shared verification etc..
It should be noted that the virtual server in the dual-active Visualized data centre of Fig. 1 offer only has 3, in reality In the case of, the virtual server that potentially includes more.
Bridge joint is done on local flow controller to the network interface in tunnel and LAN generates an exchange mouth.Join on mouth is exchanged Put an IP address that can access virtual server business.By connecting the monitoring position of the exchange mouth of local flow controller Device can just monitor the positional information of virtual server.
Below by embodiment, the flow control methods for being applied to above-mentioned dual-active Visualized data centre are carried out specifically Bright.
Fig. 2 is referred to, in the embodiment of the present invention, one embodiment of flow control methods includes:
201st, the positional information of virtual server is monitored;
In the present embodiment, the real-time positional information of monitoring virtual server, specific mode be by local flow control The position for exchanging mouth access virtual server of device processed, so as to obtain the positional information of virtual server, positional information is exactly empty Intend current location of the server with respect to local flow controller, for example, in Fig. 1, virtual server 1 is with respect to local flow control The current location of device processed 1 is exactly local, and virtual server 1 is exactly distal end with respect to the current location of local flow controller 2.
202nd, judge whether virtual server changes with respect to the position of local flow controller according to positional information, if It is, then execution step 203;
In the present embodiment, due to being known that virtual server working as with respect to local flow controller according to positional information Front position, if virtual server occur migration or delete, according to positional information be known that virtual server with respect to The position of local flow-control there occurs change, for example, the virtual server 1 in Fig. 1 be moved to data from data center 1 Center 2, then execution step 203.
203rd, the local stream interface driver of local flow controller is changed according to positional information, and obtains local flow controller Local virtual server info;
In the present embodiment, after the change in location of virtual server, according to positional information it is known that local flow-control The change of the virtual server of the data center that device is located, so as to change the local stream interface driver of local flow controller, for example, Local flow controller 1 connected virtual server 1 and virtual server 2 originally, and local flow controller 2 connected virtual clothes originally Business device 3;After virtual server 1 is migrated, local flow controller 1 connects virtual server 2, and local flow controller 2 connects Virtual server 3 and virtual server 1.The local original local stream interface driver of flow controller 1 is to adjust data as far as possible Virtual server 1 and virtual server 2 is spent, only when virtual server 1 and virtual server 2 are all busy, it is allowed to stream Amount is dispatched to virtual server 3, and the local stream interface driver after change is that data are dispatched to virtual server 2 as far as possible, When virtual server 2 is busy, it is allowed to flow scheduling to virtual server 1 and virtual server 3.In the same manner, local stream is changed The local stream interface driver of amount controller 2, after it have changed local stream interface driver, collects and obtains the local of local flow controller Virtual server information, for example, the local virtual server info of local flow controller 1 is a virtual server, virtual Server numbering is 2;The local virtual server info of local flow controller 2 is two virtual servers, virtual server Numbering is 1 and 3.
Explanation is needed exist for, if in the request stage of user, virtual server 1 is migrated, then number of request According to the virtual server 1 for needing to be sent to from local flow controller 1 by tunneling technique data center 2.
204th, local virtual server info is sent to global traffic controller.
In the present embodiment, local virtual server info is sent to global traffic controller, global traffic controller energy Enough global stream interface driver is changed according to local virtual server info, for example, global traffic controller is according to local virtual service Device information determines that the data center 1 that local flow controller 1 is located has a virtual server 2,2 institute of local flow controller Data center 2 there are two virtual servers 1 and 3, the ratio according to the virtual server quantity of Liang Ge data center enters The change of row flow scheduling.It should be noted that only carrying out the change of global stream interface driver according to the ratio of virtual server quantity It is a kind of mode, does not specifically limit.
In the embodiment of the present invention, the flow control system of dual-active Visualized data centre monitors the position of the virtual server Confidence ceases, and positional information includes current location of the virtual server with respect to local flow controller, and virtual server is at least One;Judge whether virtual server changes with respect to the position of local flow controller according to positional information;If so, then basis Positional information changes the local stream interface driver of local flow controller, and obtains the local virtual server of local flow controller Information;Local virtual server info is sent to global traffic controller so that global traffic controller is according to local virtual The global stream interface driver of server info change.Compared with prior art, the positional information of virtual server can be monitored, if position Change is put, local flow controller can change local stream interface driver according to the positional information of virtual server;And incite somebody to action this Ground virtual server feedback of the information is to global traffic controller so that global traffic controller is according to local virtual server info The global stream interface driver of change, so as to improve the fluid control effect of dual-active Visualized data centre.
Optionally, the positional information of virtual server, in some embodiments of the present invention, is monitored, including:
Detection data is sent to virtual server so that virtual server feeds back reply data according to detection data;
Receive the reply data of virtual server feedback;
The positional information of virtual server is obtained according to reply data, positional information is comprising virtual server with respect to local The current location of flow controller.
In the embodiment of the present invention, illustrated as a example by monitoring the positional information of virtual server 1, monitor virtual server 1 positional information is specially:By the exchange mouth of local flow controller 1 and local flow controller 2 to known IP address Virtual server 1 sends detection data, and virtual server 1 can feed back reply data after detection data is received, local flow Controller 1 and local flow controller 2 are respectively received reply data, if virtual server 1 is in data center 1, then The reply data that local flow controller 1 is received is sent from domain controller 1, obtains virtual server 1 with respect to this The current location of ground flow controller 1 is in same data center;The reply data that local flow controller 2 is received is Send from tunnel 2, the current location for obtaining virtual server 1 with respect to local flow controller 2 is in different numbers According to center, illustrate the monitoring position of virtual server is that by.
Optionally, in some embodiments of the present invention, judge virtual server with respect to local flow according to positional information Whether the position of controller changes, including:
Parsing positional information obtains current location of the virtual server with respect to local flow controller;
Predeterminated position of the virtual server with respect to local flow controller is extracted from data base;
Judge whether current location is consistent with predeterminated position;
If current location is consistent with predeterminated position, virtual server is unchanged with respect to the position of local flow controller Change;
If current location is inconsistent with predeterminated position, virtual server becomes with respect to the position of local flow controller Change.
In the embodiment of the present invention, illustrate as a example by virtual server 1, the advance position of virtual server 1 is in FIG In data center 1, by the monitoring in upper one embodiment, the positional information of virtual server 1 is obtained, parsing can be obtained To virtual server 1 with respect to local flow controller 1 and the current location of local flow controller 2, if virtual server 1 Same data center is in respect to the current location of local flow controller 1, then represent virtual server 1 with respect to The position of local flow controller 1 and local flow controller 2 does not change;If virtual server 1 is with respect to local flow control The current location of device processed 2 is in same data center, then represent virtual server 1 with respect to local flow controller 1 Change be there occurs with the position of local flow controller 2, whether the position to judging virtual server changes illustrates, be real Now change stream interface driver provides guarantee automatically.
Optionally, the local stream control of local flow controller, in some embodiments of the present invention, is changed according to positional information Strategy, and the local virtual server info of local flow controller is obtained, including:
Virtual server is carried out by classification server according to positional information, classification server include local virtual server and Distal end virtual server;
According to the local stream interface driver of the local flow controller of virtual machine classification change, local stream interface driver is local flow Controller is preferably local virtual server-assignment flow;
Statistics obtains the corresponding local virtual server info of local flow controller, and local virtual server info includes The quantity of local virtual server.
In the embodiment of the present invention, position of the virtual server with respect to local flow controller can be obtained according to positional information Put, so as to virtual server is carried out classification server, for example, in Fig. 1, local flow controller 1 is by virtual server 1 and void Intend server 2 and local virtual server is categorized as, virtual server 3 is categorized as distal end virtual server;Local flow-control Virtual server 1 and virtual server 2 are categorized as distal end virtual server by device 2, and virtual server 3 is categorized as local virtual Server.According to the local stream interface driver of the local flow controller of virtual machine classification change, local stream interface driver is local flow Controller is preferably local virtual server-assignment flow, and statistics obtains the corresponding local virtual server of local flow controller Information, local virtual server info includes the quantity of local virtual server, carries out to how changing local stream interface driver Explanation so that scheme has actual operability.
Optionally, as shown in figure 3, in some embodiments of the present invention, flow control methods also include:
If virtual server does not change, the position letter of virtual server is monitored with respect to the position of local flow controller Breath.
In the embodiment of the present invention, in the embodiment shown in Figure 2, judge virtual server with respect to local in step 202 When the position of flow controller does not change, then step 201 is continued executing with, the positional information of virtual server is monitored, so as to realize Automatically the local stream interface driver of the change in location of monitoring virtual server, and dynamic adjustment and global stream interface driver.
The flow control methods of the present invention are described in above-described embodiment, below by embodiment, flow control system are entered Row is described in detail.
Fig. 4 is referred to, the embodiment of the present invention provides a kind of flow control system, including:
Virtual server 40, local flow controller 41 and global traffic controller 42, local flow controller 41 includes Monitoring position device 411, judge module 412, processing module 413 and sending module 414;
Monitoring position device 411, for monitoring the positional information of virtual server 40, virtual server 40 is at least one;
Judge module 412, for judging virtual server 40 with respect to local flow controller 41 according to positional information Whether position changes;
Processing module 413, for when virtual server 40 is with respect to the change in location of local flow controller 41, according to Positional information changes the local stream interface driver of local flow controller 41, and obtains the local virtual service of local flow controller Device information;
Sending module 414, for sending local virtual server info to global traffic controller 42 so that global flow Amount controller 42 changes global stream interface driver according to local virtual server info.
Optionally, in some embodiments of the present invention,
Monitoring position device 411, specifically for sending detection data to virtual server 40 so that 40 basis of virtual server Detection data feeds back reply data;
Monitoring position device 411, is additionally operable to receive the reply data of the feedback of virtual server 40;
Monitoring position device 411, is additionally operable to obtain the positional information of virtual server 40, positional information bag according to reply data Containing virtual server 40 with respect to local flow controller 41 current location.
Optionally, in some embodiments of the present invention,
Judge module 412, obtains virtual server 40 with respect to local flow controller specifically for parsing positional information 41 current location;
Judge module 412, is additionally operable to extract virtual server 40 with respect to local flow controller 41 from data base Predeterminated position;
Judge module 412, is additionally operable to judge whether current location is consistent with predeterminated position, if current location and predeterminated position Unanimously, then virtual server 40 does not change with respect to the position of local flow controller 41;If current location is with predeterminated position not Unanimously, then virtual server 40 with respect to the change in location of local flow controller 41.
Optionally, in some embodiments of the present invention,
Processing unit 413, specifically for virtual server 40 being carried out classification server according to positional information, server divides Class includes local virtual server and distal end virtual server;
Processing unit 413, the local stream interface driver being additionally operable to according to the local flow controller 41 of virtual machine classification change, this Ground stream interface driver is preferably local virtual server-assignment flow for local flow controller 41;
Processing unit 413, is additionally operable to statistics and obtains the corresponding local virtual server info of local flow controller 41, this Ground virtual server information includes the quantity of local virtual server.
Optionally, in some embodiments of the present invention,
Monitoring position device 411, is additionally operable to not change with respect to the position of local flow controller 41 when virtual server 40 When, monitor the positional information of virtual server 40.
In sum, the monitoring position device 411 in local flow controller 41 can monitor the position of virtual server 40 Information, if change in location, processing module 413 can be according to the local stream control plan of the positional information of virtual server 40 change Slightly;And local virtual server info is fed back to global traffic controller 42 by sending module 414 so that global traffic controls Device 42 changes global stream interface driver according to local virtual server info, so as to improve the stream control of dual-active Visualized data centre Effect.
Those skilled in the art can be understood that, for convenience and simplicity of description, the system of foregoing description, Equipment and the specific work process of unit, may be referred to the corresponding process in preceding method embodiment, will not be described here.
In several embodiments provided herein, it should be understood that disclosed system, apparatus and method are permissible Realize by another way.For example, apparatus embodiments described above are only schematic, for example, the unit Divide, only a kind of division of logic function, can have other dividing mode, such as multiple units or component when actually realizing Can in conjunction with or be desirably integrated into another system, or some features can be ignored, or not execute.Another, shown or The coupling each other for discussing or direct-coupling or communication connection can be the indirect couplings of equipment or unit by some interfaces Close or communicate to connect, can be electrical, mechanical or other forms.
The unit that illustrates as separating component can be or may not be physically separate, aobvious as unit The part for showing can be or may not be physical location, you can be located at a place, or can also be distributed to multiple On NE.Some or all of unit therein can be selected according to the actual needs to realize the mesh of this embodiment scheme 's.
In addition, each functional unit in each embodiment of the present invention can be integrated in a processing unit, it is also possible to It is that unit is individually physically present, it is also possible to which two or more units are integrated in a unit.Above-mentioned integrated list Unit both can be realized in the form of hardware, it would however also be possible to employ the form of SFU software functional unit is realized.
If the integrated unit is realized and as independent production marketing or use using in the form of SFU software functional unit When, can be stored in a computer read/write memory medium.Based on such understanding, technical scheme is substantially The part in other words prior art being contributed or all or part of the technical scheme can be in the form of software products Embody, the computer software product is stored in a storage medium, use so that a computer including some instructions Equipment (can be personal computer, server, or network equipment etc.) executes the complete of each embodiment methods described of the present invention Portion or part steps.And aforesaid storage medium includes:USB flash disk, portable hard drive, read only memory (ROM, Read-Only Memory), random access memory (RAM, Random Access Memory), magnetic disc or CD etc. are various can store journey The medium of sequence code.
The above, above example only in order to technical scheme to be described, rather than a limitation;Although with reference to front State embodiment to be described in detail the present invention, it will be understood by those within the art that:Which still can be to front State the technical scheme described in each embodiment to modify, or equivalent is carried out to which part technical characteristic;And these Modification or replacement, do not make the essence of appropriate technical solution depart from the spirit and scope of various embodiments of the present invention technical scheme.

Claims (10)

1. a kind of flow control methods, are applied to the flow control system of dual-active Visualized data centre, the flow-control system System includes virtual server, local flow controller and global traffic controller, it is characterised in that the flow control methods bag Include:
The positional information of the virtual server is monitored, the positional information is local with respect to described comprising the virtual server The current location of flow controller, the virtual server is at least one;
Judge whether the virtual server changes with respect to the position of the local flow controller according to the positional information;
If so, the local stream interface driver of the local flow controller is then changed according to the positional information, and obtains described The local virtual server info of ground flow controller;
The local virtual server info is sent to the global traffic controller so that the global traffic controller root Global stream interface driver is changed according to the local virtual server info.
2. flow control methods according to claim 1, it is characterised in that the position of the monitoring virtual server Information, including:
Detection data is sent to the virtual server so that the virtual server feeds back reply data according to detection data;
Receive the reply data of virtual server feedback;
The positional information of the virtual server is obtained according to the reply data, the positional information includes the Virtual Service Device is with respect to the current location of the local flow controller.
3. flow control methods according to claim 2, it is characterised in that described according to the positional information judges Whether virtual server changes with respect to the position of the local flow controller, including:
Parse the positional information and obtain current location of the virtual server with respect to the local flow controller;
Predeterminated position of the virtual server with respect to the local flow controller is extracted from data base;
Judge whether the current location is consistent with the predeterminated position;
If the current location is consistent with the predeterminated position, the virtual server is with respect to the local flow controller Position do not change;
If the current location is inconsistent with the predeterminated position, the virtual server is with respect to the local flow-control The change in location of device.
4. flow control methods according to claim 3, it is characterised in that described according to positional information change The local stream interface driver of local flow controller, and obtain the local virtual server info of the local flow controller, bag Include:
The virtual server is carried out by classification server according to the positional information, the classification server includes local virtual Server and distal end virtual server;
According to the local stream interface driver of the virtual machine classification change local flow controller, the local stream interface driver is The local flow controller is preferably the local virtual server-assignment flow;
Statistics obtains the corresponding local virtual server info of the local flow controller, the local virtual server info Quantity including the local virtual server.
5. flow control methods according to any one of claim 1 to 4, it is characterised in that the flow control methods, Also include:
If the virtual server does not change with respect to the position of the local flow controller, the virtual server is monitored Positional information.
6. a kind of flow control system, is applied to dual-active Visualized data centre, it is characterised in that include:
Virtual server, local flow controller and global traffic controller, the local flow controller includes monitoring position Device, judge module, processing module and sending module;
The monitoring position device, for monitoring the positional information of the virtual server, the virtual server is at least one;
The judge module, for judging the virtual server with respect to the local flow-control according to the positional information Whether the position of device changes;
The processing module, for when the virtual server is with respect to the change in location of the local flow controller, root The local stream interface driver of the local flow controller is changed according to the positional information, and obtains the local flow controller Local virtual server info;
The sending module, for sending the local virtual server info to the global traffic controller so that institute State global traffic controller and global stream interface driver is changed according to the local virtual server info.
7. flow control system according to claim 6, it is characterised in that
The monitoring position device, specifically for sending detection data to the virtual server so that the virtual server root Reply data is fed back according to detection data;
The monitoring position device, is additionally operable to receive the reply data of virtual server feedback;
The monitoring position device, is additionally operable to obtain the positional information of the virtual server, institute's rheme according to the reply data Confidence breath includes current location of the virtual server with respect to the local flow controller.
8. flow control system according to claim 7, it is characterised in that
The judge module, obtains the virtual server with respect to the local flow specifically for parsing the positional information The current location of controller;
The judge module, is additionally operable to extract the virtual server with respect to the local flow controller from data base Predeterminated position;
The judge module, is additionally operable to judge whether the current location is consistent with the predeterminated position, if the current location Consistent with the predeterminated position, then the virtual server does not change with respect to the position of the local flow controller;If institute State current location inconsistent with the predeterminated position, then the virtual server is with respect to the position of the local flow controller Change.
9. flow control system according to claim 8, it is characterised in that
The processing unit, specifically for the virtual server being carried out classification server according to the positional information, described Classification server includes local virtual server and distal end virtual server;
The processing unit, the local stream control plan being additionally operable to according to the virtual machine classification change local flow controller Slightly, the local stream interface driver is preferably the local virtual server-assignment flow for the local flow controller;
The processing unit, is additionally operable to statistics and obtains the corresponding local virtual server info of the local flow controller, institute Stating local virtual server info includes the quantity of the local virtual server.
10. the flow control system according to any one of claim 6 to 9, it is characterised in that
The monitoring position device, is additionally operable to not change with respect to the position of the local flow controller when the virtual server When, monitor the positional information of the virtual server.
CN201610998107.9A 2016-11-11 2016-11-11 Flow control method and flow control system Active CN106453118B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201610998107.9A CN106453118B (en) 2016-11-11 2016-11-11 Flow control method and flow control system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201610998107.9A CN106453118B (en) 2016-11-11 2016-11-11 Flow control method and flow control system

Publications (2)

Publication Number Publication Date
CN106453118A true CN106453118A (en) 2017-02-22
CN106453118B CN106453118B (en) 2020-01-07

Family

ID=58208534

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201610998107.9A Active CN106453118B (en) 2016-11-11 2016-11-11 Flow control method and flow control system

Country Status (1)

Country Link
CN (1) CN106453118B (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113300966A (en) * 2020-07-27 2021-08-24 阿里巴巴集团控股有限公司 Flow control method, device and system and electronic equipment
CN115220417A (en) * 2021-12-08 2022-10-21 广州汽车集团股份有限公司 Vehicle-mounted flow acquisition method and device and vehicle-mounted flow acquisition terminal

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102316043A (en) * 2011-09-29 2012-01-11 中国联合网络通信集团有限公司 Port virtualization method, switch and communication system
CN103139039A (en) * 2013-02-25 2013-06-05 汉柏科技有限公司 Virtual network capable of achieving flow isolation control and construction method
CN103152200A (en) * 2013-03-07 2013-06-12 华为技术有限公司 Migration method of virtual machine, switch, network management equipment and network system
CN103207801A (en) * 2012-01-11 2013-07-17 华为技术有限公司 Method, device and system for migrating virtual machine and fiber channel switch
CN105099939A (en) * 2014-04-23 2015-11-25 株式会社日立制作所 Method and device for implementing flow control among different data centers

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102316043A (en) * 2011-09-29 2012-01-11 中国联合网络通信集团有限公司 Port virtualization method, switch and communication system
CN103207801A (en) * 2012-01-11 2013-07-17 华为技术有限公司 Method, device and system for migrating virtual machine and fiber channel switch
CN103139039A (en) * 2013-02-25 2013-06-05 汉柏科技有限公司 Virtual network capable of achieving flow isolation control and construction method
CN103152200A (en) * 2013-03-07 2013-06-12 华为技术有限公司 Migration method of virtual machine, switch, network management equipment and network system
CN105099939A (en) * 2014-04-23 2015-11-25 株式会社日立制作所 Method and device for implementing flow control among different data centers

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113300966A (en) * 2020-07-27 2021-08-24 阿里巴巴集团控股有限公司 Flow control method, device and system and electronic equipment
CN115220417A (en) * 2021-12-08 2022-10-21 广州汽车集团股份有限公司 Vehicle-mounted flow acquisition method and device and vehicle-mounted flow acquisition terminal
CN115220417B (en) * 2021-12-08 2024-01-30 广州汽车集团股份有限公司 Vehicle-mounted flow acquisition method and device and vehicle-mounted flow acquisition terminal

Also Published As

Publication number Publication date
CN106453118B (en) 2020-01-07

Similar Documents

Publication Publication Date Title
CN102845035B (en) The method on identifying purpose ground in virtual environment
CN105681077A (en) Fault processing method, device and system
CN104253767B (en) A kind of implementation method of virtual burst network and a kind of interchanger
CN108055165A (en) The method and equipment patrolling device of equipment routing inspection
CN106506620A (en) A kind of cloud desktop intelligent terminal's management system
CN107819854A (en) Public safety system and construction method based on cloud edge calculations
CN106462450A (en) Notification about virtual machine live migration to VNF manager
CN106850549B (en) Distributed encryption service gateway and implementation method
CN104780146A (en) Resource manage method and device
CN104156255B (en) A kind of virtual machine migration method, virtual machine (vm) migration device and source physical host
CN105791175A (en) Method and equipment for controlling transmission resources in software defined network SDN
CN109669762A (en) Cloud computing resources management method, device, equipment and computer readable storage medium
CN106941516A (en) Isomery field apparatus Control management system based on industry internet operating system
CN106919346A (en) A kind of shared Storage Virtualization implementation method based on CLVM
CN109474449A (en) A kind of method and device of processing network slice example
CN103207965A (en) Method and device for License authentication in virtual environment
CN107547595A (en) cloud resource scheduling system, method and device
CN113301590B (en) Virtual resource management and control system facing 5G access network
CN102929769A (en) Virtual machine internal-data acquisition method based on agency service
CN112698838B (en) Multi-cloud container deployment system and container deployment method thereof
CN106020969A (en) High-performance cloud computing hybrid computing system and method
CN104753707B (en) A kind of system maintenance method and the network switching equipment
CN105190530A (en) Transmitting hardware-rendered graphical data
CN106453118A (en) Flow control method and flow control system
CN106385330A (en) Network function virtualization composer realization method and device

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
CB02 Change of applicant information
CB02 Change of applicant information

Address after: Nanshan District Xueyuan Road in Shenzhen city of Guangdong province 518000 No. 1001 Nanshan Chi Park building A1 layer

Applicant after: SINFOR Polytron Technologies Inc

Address before: Nanshan District Xueyuan Road in Shenzhen city of Guangdong province 518055 No. 1001 Nanshan Chi Park building A1 layer

Applicant before: Shenxinfu Electronics Science and Technology Co., Ltd., Shenzhen

GR01 Patent grant
GR01 Patent grant