TWI644540B - Flow meter flexible cutting system for virtual network in multi-tenant software-defined network - Google Patents
Flow meter flexible cutting system for virtual network in multi-tenant software-defined network Download PDFInfo
- Publication number
- TWI644540B TWI644540B TW106106075A TW106106075A TWI644540B TW I644540 B TWI644540 B TW I644540B TW 106106075 A TW106106075 A TW 106106075A TW 106106075 A TW106106075 A TW 106106075A TW I644540 B TWI644540 B TW I644540B
- Authority
- TW
- Taiwan
- Prior art keywords
- tenant
- space
- controller
- usage
- resources
- Prior art date
Links
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L41/00—Arrangements for maintenance, administration or management of data switching networks, e.g. of packet switching networks
- H04L41/08—Configuration management of networks or network elements
- H04L41/0893—Assignment of logical groups to network elements
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L41/00—Arrangements for maintenance, administration or management of data switching networks, e.g. of packet switching networks
- H04L41/08—Configuration management of networks or network elements
- H04L41/0896—Bandwidth or capacity management, i.e. automatically increasing or decreasing capacities
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L41/00—Arrangements for maintenance, administration or management of data switching networks, e.g. of packet switching networks
- H04L41/50—Network service management, e.g. ensuring proper service fulfilment according to agreements
- H04L41/5041—Network service management, e.g. ensuring proper service fulfilment according to agreements characterised by the time relationship between creation and deployment of a service
- H04L41/5051—Service on demand, e.g. definition and deployment of services in real time
Landscapes
- Engineering & Computer Science (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Data Exchanges In Wide-Area Networks (AREA)
Abstract
一種多租戶軟體定義網路中虛擬網路之流表彈性切割系統,其主要是在多租戶SDN環境下管理流表資源,SPRM(Soft Partitioning Resource Manager,軟分割資源管理器)主要由下列三種解決方法進行管理:(1)混合模式:SPRM在管理的流程上使用兩種模式作混合處理:監督流程在中介控制器下流量條之前就先做檢查處理,而側錄流程則先下流量條之後在進行後續釋放的處理用以減少管理上的延遲時間。(2)LRU-PTR(Least recently used-Partial Timeout Reset,最近最少使用-部分超時復位演算法)實施模組:SPRM利用切割流量條的方式讓交換器主動回報流量條的閒置狀態,用以選擇需要被替換的目標。(3)配置租戶資源動態上限模組:SPRM設定每個租戶都有一個使用量的動態上限值。 A flexible flow table cutting system for a virtual network in a multi-tenant software-defined network. It mainly manages flow table resources in a multi-tenant SDN environment. SPRM (Soft Partitioning Resource Manager) is mainly solved by the following three types: Methods for management: (1) Mixed mode: SPRM uses two modes for mixed processing in the management process: the supervision process checks and processes the flow bar before the intermediary controller loads it, and the side recording process loads the flow bar first. Subsequent release processes are used to reduce management delays. (2) LRU-PTR (Least recently used-Partial Timeout Reset) implementation module: SPRM uses the method of cutting the flow bar to let the switch actively report the idle state of the flow bar to Select the target that needs to be replaced. (3) Configure the tenant resource dynamic cap module: SPRM sets a dynamic cap value for each tenant.
Description
本發明係關於一種可減少大量packet_in封包並且提升資源利用率,也不會有資源搶奪問題的多租戶軟體定義網路中虛擬網路之流表彈性切割系統。 The invention relates to a flow table elastic cutting system for a virtual network in a multi-tenant software-defined network that can reduce a large number of packet_in packets and improve resource utilization, without the problem of resource snatch.
SDN(Software-defined networking,軟體定義網路)是近年來的新興網路架構。它的概念是將網路的控制層(control-plane)功能與資料層(data-plane)功能分離,在資料層中封包如何轉送都會透過對應符合條件的流量條來進行相對應的動作,而流表(flow table)資源有限,若不對流表資源做切割管理,會造成資源搶奪的問題,進而產生大量的packet_in event(packet_in事件)造成大量的網路延遲。若以硬切割方式管理流表資源則會造成資源浪費的問題,使得流表使用率下降,並進而產生大量的packet_in event造成大量網路延遲。 SDN (Software-defined networking, software-defined networking) is an emerging network architecture in recent years. Its concept is to separate the control-plane function of the network from the data-plane function. In the data layer, how packets are forwarded will perform corresponding actions through the corresponding flow bar, and Flow table resources are limited. If the flow table resources are not cut and managed, it will cause the problem of resource grabbing, and then generate a lot of packet_in events (packet_in events) and cause a lot of network delays. If the flow table resources are managed in a hard cut manner, the problem of resource waste will be caused, which will reduce the flow table usage, and then generate a large number of packet_in events and cause a lot of network delays.
而先前應用於普通SDN網路環境大都以多個應用程式使用流表的狀況做管理,在下列先前的專利技術中有提及類似的概念:US 9065724(Managing a flow table)。另一方面在多租戶SDN環境中的資源管理,大多都是對網路流量或是頻寬資源做管理控制,若是有對流表做管理的方法,也都常以硬切割的方式處理,但是以硬切割方式管理會有資源浪費的問題。 However, most of the previous applications in the ordinary SDN network environment are managed by the use of flow tables by multiple applications. Similar concepts are mentioned in the following previous patented technologies: US 9065724 (Managing a flow table). On the other hand, most of the resource management in the multi-tenant SDN environment is to manage and control network traffic or bandwidth resources. If there is a method to manage the flow table, it is often handled in a hard cut way, but There is a problem of waste of resources in hard cutting management.
由此可見,上述習用方式仍有諸多缺失,實非一良善之設計,而亟待加以改良。 It can be seen that there are still many shortcomings in the above-mentioned customary methods. It is not a good design, and it needs to be improved.
本案發明人鑑於上述習用方式所衍生的各項缺點,乃亟思加以改良創新,並經多年苦心孤詣潛心研究後,終於成功研發完成本件應用於Multi-tenant(多租戶)SDN資源彈性管理機制。 In view of the various shortcomings derived from the above-mentioned conventional methods, the inventor of this case has been eager to improve and innovate. After years of painstaking and meticulous research, he has finally successfully developed and applied this multi-tenant (multi-tenant) SDN resource elastic management mechanism.
本發明之目的即在於針對Multi-tenant SDN網路環境中設計一種資源管理方法,在這樣的環境中,多個租戶共享同一個實體資源,若有多個用戶欲設置流量條則需經過中介控制器進行設置,在實體資源流表大小有限,若流表滿載,則接下來的需求都會遭到中介控制器拒絕,此時發出此需求的用戶會因為無法設置流量條而產生大量的packet_in,進而造成租戶控制器的大量負擔並且產生大量網路延遲。若因為共用不切割資源且造成流表滿載的原因是因為某個用戶的大量使用,我們稱為資源霸佔,若因為利用硬切割方法讓有大量需求的用戶使用不到空著的資源則會造成資源浪費,因此,透過本發明租戶軟體定義網路中虛擬網路之流表彈性切割系統可有效解決上述問題。 The purpose of the present invention is to design a resource management method for a Multi-tenant SDN network environment. In such an environment, multiple tenants share the same physical resource. If multiple users want to set a traffic bar, they need to go through an intermediary control. If the size of the physical resource flow table is limited, if the flow table is full, the following requirements will be rejected by the intermediary controller. At this time, users who issue this request will generate a large number of packet_in because they cannot set the flow bar. Causes a lot of burden on the tenant controller and creates a lot of network latency. If the reason that the uncut resources are shared and the flow table is full is due to the heavy use of a user, we call it resource seizure. If the hard cutting method is used, a large number of users cannot use the empty resources. Resources are wasted. Therefore, the above-mentioned problem can be effectively solved by the flow table flexible cutting system of the virtual network in the tenant software-defined network of the present invention.
為達成上述發明目的,本發明租戶軟體定義網路中虛擬網路之流表彈性切割系統,係在中介控制器設置租戶控制器需求前,將需求轉送至檢查模組做檢驗,隨著租戶使用流量條的用量狀況以及現有資源利用率,選擇對應的處理方式。經過此管理機制的檢查之後,將相對應的處理動作集合成為命令,再將此命令交給中介控制器執行至實體資源中。 In order to achieve the above-mentioned object of the invention, the present invention provides a flexible flow table cutting system for a virtual network in a tenant software-defined network of the present invention. Before the intermediary controller sets the requirements for the tenant controller, the requirements are transferred to the inspection module for inspection. Select the corresponding processing method for the usage status of the flow bar and the existing resource utilization. After checking by this management mechanism, the corresponding processing action set is turned into a command, and then this command is given to the intermediary controller for execution into the physical resource.
本發明主要包括三大模組:(1)混合模式切換模組:SPRM(Soft Partitioning Resource Manager,軟分割資源管理器)在管理的流程上使用兩種模式作混合處理:監督流程在中介控制器下流量條之前就先做檢查處理,而側錄流程則先下流量條之後再進行後續釋放的處理用以減少管理上的延遲時間。(2)LRU-PTR(Least recently used-Partial Timeout Reset,最近最少使用-部分超時復位演算法)實施模組:SPRM利用切割流量條的方式讓交換器主動回報flow entry的閒置狀態,用以選擇需要被替換的目標。(3)配置租戶資源動態上限模組:SPRM設定每個租戶都有一個使用量的動態上限值。 The present invention mainly includes three modules: (1) a hybrid mode switching module: SPRM (Soft Partitioning Resource Manager) uses two modes for hybrid processing in the management process: the supervision process is in the intermediary controller Before the flow bar is checked, the inspection process is performed first, and the profile recording process is performed after the flow bar is lowered and then the subsequent release process is performed to reduce the management delay time. (2) LRU-PTR (Least recently used-Partial Timeout Reset) implementation module: SPRM uses a flow bar to cut the flow bar to allow the switch to actively report the idle state of the flow entry. Select the target that needs to be replaced. (3) Configure the tenant resource dynamic cap module: SPRM sets a dynamic cap value for each tenant.
10‧‧‧管理層 10‧‧‧ Management
20‧‧‧SPRM管理模組 20‧‧‧SPRM Management Module
30‧‧‧租戶控制器 30‧‧‧Tenant Controller
40‧‧‧中介控制器 40‧‧‧ intermediate controller
50‧‧‧實體資源 50‧‧‧ physical resources
60‧‧‧混合模式切換模組 60‧‧‧Mixed mode switching module
70‧‧‧配置租戶資源動態上限模組 70‧‧‧Configure tenant resource dynamic cap module
80‧‧‧LRU-PTR實施模組 80‧‧‧LRU-PTR Implementation Module
101‧‧‧租戶管理介面 101‧‧‧Tenant Management Interface
102‧‧‧Root管理介面 102‧‧‧Root Management Interface
201‧‧‧剩餘資源比較 201‧‧‧ Comparison of remaining resources
202‧‧‧租戶用量與可用資源比較 202‧‧‧Comparison of Tenant Usage and Available Resources
203‧‧‧超用彈性空間比較 203‧‧‧Comparison of Flexible Space
204‧‧‧被取代空間用戶設定 204‧‧‧ has been replaced by space user settings
205‧‧‧傳送移除流量條命令 205‧‧‧ send remove flow bar command
206‧‧‧傳送設定流量條命令 206‧‧‧ Send Set Flow Bar Command
601‧‧‧監督流程 601‧‧‧ supervision process
602‧‧‧側錄流程 602‧‧‧Side recording process
6011‧‧‧租戶控制器需求 6011‧‧‧Tenant controller requirements
6012‧‧‧轉送需求 6012‧‧‧Forwarding demand
6013‧‧‧結果通知 6013‧‧‧Notice of results
6014‧‧‧傳送命令 6014‧‧‧Transfer order
6015‧‧‧執行命令 6015‧‧‧ execute order
6021‧‧‧租戶控制器需求 6021‧‧‧Tenant controller requirements
6022‧‧‧轉送需求 6022‧‧‧Forwarding demand
6023‧‧‧執行租戶需求 6023‧‧‧Implement tenant demand
6024‧‧‧結果通知 6024‧‧‧Notice of results
6025‧‧‧傳送命令 6025‧‧‧Transfer order
6026‧‧‧執行命令 6026‧‧‧ execute order
701‧‧‧預留租戶空間計算 701‧‧‧ Reserve tenant space calculation
702‧‧‧剩餘空間計算 702‧‧‧Remaining space calculation
703‧‧‧彈性上限值設定 703‧‧‧Flexible upper limit setting
7011‧‧‧租戶目前用量與可用資源比較 7011‧‧‧Comparison of Tenant's Current Usage and Available Resources
7012‧‧‧租戶目前用量與平均用量比較 7012‧‧‧Comparison of Tenant's Current Usage and Average Usage
7013‧‧‧租戶平均用量與可用資源比較 7013‧‧‧ Average Tenant Usage vs. Available Resources
7014‧‧‧預留空間合理性比較 7014‧‧‧ Reasonable comparison of reserved space
801‧‧‧流量條閒置判斷 801‧‧‧ Traffic bar idle judgment
802‧‧‧總閒置時間與原需求比較 802‧‧‧ Total idle time compared with original demand
803‧‧‧選擇最大閒置時間之流量條 803‧‧‧Select the flow bar for maximum idle time
圖一為本發明應用於多租戶SDN資源彈性管理機制之系統架構圖;圖二為本發明之混合模式切換模組構成圖;圖三為本發明之監督流程之動作流程圖;圖四為本發明之側錄流程之動作流程圖;圖五為本發明之SPRM管理模組之流程圖;圖六為本發明之配置租戶資源動態上限模組流程圖;圖七為本發明之預留租戶空間計算流程圖;圖八為本發明LRU-PTR實施模組之流程圖。 Fig. 1 is a system architecture diagram of the present invention applied to a multi-tenant SDN resource elastic management mechanism; Fig. 2 is a structural diagram of a hybrid mode switching module of the present invention; Fig. 3 is an operation flowchart of a supervision process of the present invention; The operation flow chart of the recording process of the invention; Figure 5 is a flowchart of the SPRM management module of the invention; Figure 6 is a flowchart of the tenant resource dynamic cap module configuration of the invention; and Figure 7 is a reserved tenant space of the invention Calculation flowchart; Figure 8 is a flowchart of the LRU-PTR implementation module of the present invention.
本發明租戶軟體定義網路中虛擬網路之流表彈性切割系統為一種在軟體定義網路(Software Defined Networks)的環境中,提供多租戶虛擬網路(multi-tenant virtual network)服務,以利用OpenFlow交換器(switch)流表資源的切割方法,當租戶控制器發出需求,經由Soft Partitioning Resource Manager(SPRM)管理流表資源的機制決定各個租戶可使用的資源範圍及後續資源釋放歸還處理,以達到資源共享的目的。 The invention provides a flexible flow table cutting system for a virtual network in a tenant software-defined network of the present invention. It provides a multi-tenant virtual network service in a software-defined network (Software Defined Networks) environment to utilize OpenFlow switch (switch) flow table resource cutting method. When the tenant controller issues a request, the mechanism of the flow table resource management through the Soft Partitioning Resource Manager (SPRM) determines the range of resources available to each tenant and the subsequent release and return of resources. To achieve the purpose of resource sharing.
本發明SPRM係以軟切割方式(Soft Partitioning)進行資源管理,經由混合模式切換模組(Hybrid Mode),來判斷環境處於多種狀態中的哪一種,再決定是否使用配置租戶資源動態上限模組及LRU-PTR實施模組。其中混合模式切換模組以根據資源使用狀況從監督流程(In-line mode)或側錄流程(Sniff mode)來決定應行之管理流程。 The SPRM of the present invention performs resource management in a Soft Partitioning mode, and determines whether the environment is in multiple states through the Hybrid Mode switching module, and then decides whether to use a tenant resource dynamic cap module and LRU-PTR implementation module. The hybrid mode switching module determines the management process to be performed from the monitoring process (In-line mode) or the side recording process (Sniff mode) according to the resource usage status.
其中,監督流程(In-line mode)是從租戶控制器發出的需求會先經由管理層進行檢查,待確定其可用性後再由管理層發出命令通知中介控制器可正確處理租戶控制器的需求,而側錄流程(Sniff mode)是從租戶控制器發出的需求會側錄一份交由管理層檢查,若檢查出不合法,管理層再發出命令通知中介控制器做事後彌補的動作。 Among them, the supervision process (In-line mode) is that the requirements issued by the tenant controller will be checked by the management layer, and after the availability is determined, the management layer will issue an order to inform the intermediary controller that it can correctly handle the requirements of the tenant controller. The sniff mode is a request from the tenant controller to be recorded by the management for inspection. If it is found to be illegal, the management then issues an order to notify the intermediary controller to make up after action.
上述混合模式切換模組(Hybrid Mode)判斷環境處於多種狀態中的哪一種,其多種狀態包括:a. 租戶正常使用且實體資源充足,則以側錄流程作為管理流程並且租戶可正常使用,管理層也不需要做彌補動作;b. 租戶欲超用且實體資源充足,則採用側錄流程並配置租戶資源動態上限值,若租戶使用量超過上限值則以自己為被替換租戶使用替換空間 方法處理,再經由管理層發出命令請中介控制器進行處理,否則正常使用;c. 租戶正常使用但實體資源不足,則使用監督流程並選擇目前最大超用比例之租戶為被替換租戶使用替換空間方法處理;以及d. 租戶欲超用但實體資源不足,則使用監督流程並以自己做為被替換租戶使用替換空間方法處理。 The above Hybrid Mode module determines which of the various states the environment is in. The various states include: a. If the tenant is in normal use and the physical resources are sufficient, the profile recording process is used as the management process and the tenant can use it normally. The layer also does not need to make up actions; b. If the tenant wants to overuse and the physical resources are sufficient, the profile recording process is adopted and the dynamic upper limit of the tenant resource is configured; if the tenant usage exceeds the upper limit, the tenant is replaced by himself. The space method is processed, and then the management controller issues an order to request the intermediary controller to handle it, otherwise it will be used normally; c. If the tenant is normally used but the physical resources are insufficient, use the supervision process and select the tenant with the current maximum overuse ratio to be replaced by the replaced tenant Space method processing; and d. If the tenant wants to overuse but the physical resources are insufficient, use the supervision process and use the replacement space method as the replaced tenant.
本發明配置租戶資源動態上限值的方式以動態變動的方式做設定,以多種租戶資訊決定超用比例做為租戶使用資源的上限值。其多種租戶資訊包含:a. 租戶過去的平均使用狀況;b. 可用資源下限值;以及c. 目前資源使用量。 The method for configuring the dynamic upper limit value of the tenant resource in the present invention is set in a dynamically changing manner, and a variety of tenant information is used to determine the over-use ratio as the upper limit value for the tenant's resource use. Its various tenant information includes: a. The average past tenant's usage; b. The lower limit of available resources; and c. The current resource usage.
本發明之替換空間方法,利用演算法決定被替換之流量條,再將此流量條刪除。其決定被替換之流量條的演算法,名為Least Recently Used-Partial Timeout Reset(LRU-PTR)包含計算每個流量條的閒置時間,再選擇最大閒置時間的流量條作為被替換的流量條。而計算每個流量條的閒置時間,係包含切割idle_timeout value(空閒超時值)及利用flag(旗標)使交換器自動回報流量條狀態等方法。 The replacement space method of the present invention uses an algorithm to determine the flow bar to be replaced, and then deletes this flow bar. The algorithm for determining the flow bar to be replaced, called Least Recently Used-Partial Timeout Reset (LRU-PTR), includes calculating the idle time of each flow bar, and then selecting the flow bar with the maximum idle time as the flow bar to be replaced. And calculating the idle time of each flow bar includes methods such as cutting idle_timeout value and using the flag to make the switch automatically report the status of the flow bar.
請參閱圖一所示,為本發明之系統架構圖,其主要包括管理層10、SPRM管理模組20、租戶控制器30、中介控制器40以及實體資源50、混合模式切換模組60。 Please refer to FIG. 1, which is a system architecture diagram of the present invention, which mainly includes a management layer 10, an SPRM management module 20, a tenant controller 30, an intermediary controller 40, a physical resource 50, and a mixed mode switching module 60.
管理層10,主要做為管理資源之層級,其中包含:租戶管理介面101、Root(根)管理介面102以及SPRM管理模組20;SPRM管理模組20,主要作為檢查資源是否可利用的管理流程模組,其中包含:配置租戶資源動態上限模組70以及LRU-PTR實施模組80;租戶控制器30,主要作為軟體定義網路環境中,每個租戶各自擁有的控制器,以控制自己的軟體定義網路環境;中介控制器40,主要作為多租戶軟體定義網路環境中的網路虛擬化中介層,負責將底下實體資源50做虛擬化提供上層租戶控制器30一個或多個虛擬的軟體定義網路環境;實體資源50,主要作為實體的網路資源,這裡通指OpenFlow交換器;混合模式切換模組60,主要作為判斷該使用哪一種管理流程的模組。 Management layer 10 is mainly used as a level of management resources, including: tenant management interface 101, Root management interface 102, and SPRM management module 20; SPRM management module 20 is mainly used as a management process to check whether resources are available Modules, which include: the configuration of the tenant resource dynamic cap module 70 and the LRU-PTR implementation module 80; the tenant controller 30 is mainly used as a controller owned by each tenant in a software-defined network environment to control its own Software-defined network environment; the intermediary controller 40 is mainly used as a network virtualization intermediary layer in a multi-tenant software-defined network environment. It is responsible for virtualizing the underlying physical resources 50 to provide one or more virtual tenant controllers 30. Software-defined network environment; the physical resource 50 is mainly used as the physical network resource, which is generally referred to as the OpenFlow switch; the mixed mode switching module 60 is mainly used as a module to determine which management process to use.
請參閱圖二所示,混合模式切換模組60係由監督流程601以及側錄流程602所組成,其中監督流程601,在資源利用率過高的情況下,使用監督流程601較為安全,由租戶控制器30發出需求再經由監督流程601的管理後,實際完成需求至實體資源50中;以及側錄流程602,在資源利用率較低時,使用側錄流程602以減少需求延遲時間,由租戶控制器30發出需求後,經由側錄流程602完成管理檢查後再執行至實體資源50中。 Please refer to Figure 2. The mixed mode switching module 60 is composed of a supervision process 601 and a side recording process 602. The supervision process 601 is more secure when the resource utilization rate is too high. After the controller 30 issues the demand and then manages it through the supervision process 601, it actually completes the demand into the physical resource 50; and the side recording process 602. When the resource utilization rate is low, the side recording process 602 is used to reduce the demand delay time. After the controller 30 issues a request, the controller 30 executes the management check through the profile recording process 602 and then executes the management check to the physical resource 50.
請參閱圖三所示,為本發明應用於多租戶SDN資源彈性管理機制之監督流程601之動作流程圖,係由租戶控制器需求6011、轉送需求6012、結果通知6013、傳送命令6014以及執行命令6015所組成,其中租戶控制器需求6011係由租戶控制器發出需求給中介控制器40,再經由混合模式切換模組60判斷是否進行監督流程601;若混合模式切換模組確認進行監督流程601,則轉送需求6012,將租戶控制器需求轉送給SPRM管理模組20做檢查;結果通知6013,用以將檢查結果通知租戶管理介面101並同時傳送命令6014至中介控制器40;以及最後執行命令6015,在中介控制器40接收命令後將所需執行動作執行至實體資源50。 Please refer to FIG. 3, which is an operation flowchart of the supervision process 601 applied to the multi-tenant SDN resource elastic management mechanism according to the present invention. 6015 is composed of the tenant controller requirements 6011. The tenant controller requests 6011 to the intermediary controller 40, and then determines whether to perform the supervision process 601 through the hybrid mode switching module 60. If the hybrid mode switching module confirms the supervision process 601, Then, it forwards the demand 6012 and the tenant controller needs to the SPRM management module 20 for inspection; the result notification 6013 is used to notify the tenant management interface 101 of the inspection result and send the command 6014 to the intermediary controller 40 at the same time; and finally execute the command 6015 After receiving the command, the intermediary controller 40 executes a required execution action to the physical resource 50.
請參閱圖四所示,為本發明應用於多租戶SDN資源彈性管理機制之側錄流程602之動作流程圖,係由租戶控制器需求6021、轉送需求6022、執行租戶需求6023、結果通知6024、傳送命令6025以及執行命令6026所組成,其中租戶控制器需求6021係由租戶控制器發出需求給中介控制器40,再經由混合模式切換模組60判斷是否進行側錄流程602;若混合模式切換模組確認進行側錄流程602,則轉送需求6022,將需求轉送至SPRM管理模組20做檢查並同時將租戶控制器需求6021經由執行租戶需求6023執行至實體資源50;結果通知6024,用以將檢查結果通知租戶管理介面101,並同時將所須彌補動作經由傳送命令6025送至中介控制器40;以及 執行命令6026,用以作為側錄流程602之最後彌補動作,多為刪除流量條之命令,若不需做任何彌補則無執行命令6026之過程。 Please refer to FIG. 4, which is an operation flowchart of the side recording process 602 applied to the multi-tenant SDN resource elastic management mechanism according to the present invention, which is performed by the tenant controller request 6021, the transfer request 6022, the execution of the tenant request 6023, the result notification 6024, It is composed of sending command 6025 and executing command 6026. The tenant controller requirement 6021 is issued by the tenant controller to the intermediary controller 40, and then the mixed mode switching module 60 is used to determine whether to perform the side recording process 602. The group confirms that the side recording process 602 is performed, and then the requirement 6022 is forwarded to the SPRM management module 20 for inspection and the tenant controller requirement 6021 is executed to the physical resource 50 by executing the tenant requirement 6023; the result notification 6024 is used to transfer The inspection result informs the tenant management interface 101, and at the same time, the necessary remedial actions are sent to the intermediary controller 40 via the transmission command 6025; and the execution command 6026 is used as the final remedial action of the side recording process 602, which is mostly a command to delete the traffic bar If there is no need to make up for it, there is no process of executing order 6026.
請參閱圖五所示,為本發明應用於多租戶SDN資源彈性管理機制之SPRM管理模組20之流程圖,係由剩餘資源比較201、租戶用量與可用資源比較202、超用彈性空間比較203、被取代空間用戶設定204、傳送移除流量條命令205、傳送設定流量條命令206、配置租戶資源動態上限模組70以及LRU-PTR實施模組80所組成,其中:剩餘資源比較201,用以檢查是否有剩餘實體資源再做後續處理,若是則代表實體資源50尚有大量剩餘資源可供使用,若否則代表剩餘資源不足;租戶用量與可用資源比較202,用以檢查租戶是否超過可用資源之下限值,若是則租戶視為超用狀態,否則是為未超用。 Please refer to FIG. 5, which is a flowchart of the SPRM management module 20 applied to the multi-tenant SDN resource elastic management mechanism according to the present invention. The remaining resources are compared 201, the usage of tenants is compared with the available resources 202, and the flexible space is compared 203. , Replaced by space user setting 204, transmitting remove flow bar command 205, transmitting set flow bar command 206, configuring tenant resource dynamic cap module 70 and LRU-PTR implementation module 80, among which: remaining resource comparison 201, using To check whether there are remaining physical resources and then perform subsequent processing, if so, it means that there is still a large amount of remaining resources available for the physical resource 50; otherwise, it means that the remaining resources are insufficient; the tenant usage is compared with the available resources 202 to check whether the tenant exceeds the available resources Lower limit, if it is, the tenant is considered as overused, otherwise it is not overused.
超用彈性空間比較203,用以檢查租戶是否超用可用資源之彈性上限值,若是則將被取代空間用戶設定204為用戶本身,並執行LRU-PTR實施模組80,再傳送移除流量條命令205至中介控制器40,若否,則不做任何處理;配置租戶資源動態上限模組70,用以計算可配置彈性用量給予租戶暫時資源,只有在剩餘資源比較201判斷為是時,並在判斷租戶用量與可用資源比較202判斷為超用狀態時才需使用;以及LRU-PTR實施模組80,用以在判斷需要替換空間時使用,目的是判斷閒置過久之流量條,接著再做傳送移除流量條命令205將空間釋放,再視情況將目前需求利用傳送設定流量條命令206通知中介控制器40將租戶需求流量條設置在釋放的空間中。 The over-used flexible space comparison 203 is used to check whether the tenant has over-used the upper limit of the available resources. If so, the replaced space user is set to 204 as the user, and the LRU-PTR implementation module 80 is executed, and then the removal traffic is transmitted. Command 205 to the intermediary controller 40, if not, do nothing; configure the tenant resource dynamic cap module 70 to calculate the configurable flexible usage to give the tenant temporary resources, only when the remaining resource comparison 201 judges to be yes, It is used only when the usage of the tenant is compared with the available resources. 202 It is judged that it is overused; and the LRU-PTR implementation module 80 is used when it is determined that the space needs to be replaced. The purpose is to determine the traffic bar that has been idle for too long, and then Do the transfer to remove the flow bar command 205 to release the space, and if necessary, use the transfer setting flow bar command 206 to notify the intermediary controller 40 to set the tenant demand flow bar in the released space.
請參閱圖六所示,本發明應用於多租戶SDN資源彈性管理機制之配置租戶資源動態上限模組70流程圖,係由預留租戶空間計算701、剩餘空間計算702以及彈性上限值設定703所組成,其中預留租戶空間計算701,用以幫其他租戶保留一小部分空間,以保障其他租戶的使用權益,並減少之後使用替換空間方法之負擔;剩餘空間計算702,將預留租戶空間701幫各個租戶保留之空間加總,並用系統剩餘資源扣除加總的預留空間,則為可配置空間;以及彈性上限值設定703,用以配置剩餘空間計算702的結果,將此值加上租戶下限值做為彈性上限值。 Please refer to FIG. 6. The flowchart for configuring the tenant resource dynamic cap module 70 of the present invention applied to the multi-tenant SDN resource elastic management mechanism is based on the reserved tenant space calculation 701, the remaining space calculation 702, and the elastic upper limit setting 703. It consists of the reserved tenant space calculation 701 to help other tenants reserve a small amount of space to protect the use rights of other tenants and reduce the burden of using space replacement methods later; the remaining space calculation 702 will reserve tenant space 701 adds up the space reserved by each tenant, and uses the remaining resources of the system to deduct the total reserved space, which is configurable space; and the flexible upper limit setting 703, which is used to configure the result of the remaining space calculation 702, and adds this value The upper tenant lower limit is used as the flexible upper limit.
本發明主要使用於當租戶欲超用且資源充足時,為了避免資源浪費,便設定彈性上限值給予欲超用的租戶做為使用。此一彈性上限值在每次租戶發出需求都會因應目前系統狀態做變動,並提高資源利用率。 The present invention is mainly used when the tenant wants to overuse and the resources are sufficient. In order to avoid waste of resources, an elastic upper limit is set for the tenant who wants to overuse for use. This flexible upper limit value changes every time the tenant sends out a demand in accordance with the current system status and improves resource utilization.
請參閱圖七所示,本發明應用於多租戶SDN資源彈性管理機制之配置彈性資源上限值的預留租戶空間計算701方法,其方法步驟包括: Referring to FIG. 7, the present invention is applied to a multi-tenant SDN resource elasticity management mechanism configured with an elastic resource upper limit for the reserved tenant space calculation method 701. The method steps include:
a. 租戶目前用量與可用資源比較7011步驟,當租戶的目前用量超過其可用資源時代表此租戶目前為超用狀態,則不保留任何空間,反之則進入步驟b; a. The current usage of the tenant is compared with the available resources in step 7011. When the current usage of the tenant exceeds its available resources, it means that this tenant is currently in an over-used state, and no space is reserved. Otherwise, it proceeds to step b;
b. 租戶目前用量與平均用量比較7012步驟,若a.步驟的結果為否,則比較目前用量與平均用量,若目前用量已超過平均用量,我們則認定此租戶未來會有空間需求,並作d.步驟預留空間合理性7014之比較,反之,我們則進入c.步驟繼續做平均用量與可用資源比較7013步驟; b. Compare the current usage and average usage of the tenant to step 7012. If the result of step a is NO, compare the current usage with the average usage. If the current usage has exceeded the average usage, we consider that this tenant will have space requirements in the future and make d. The comparison of the reasonableness of the reserved space in step 7014, otherwise, we enter c. step and continue to compare the average usage with the available resources in step 7013;
c. 租戶平均用量與可用資源比較7013步驟,若步驟b.之結果為否,則已確定目前用量小於可用資源及平均用量,此時便比較平均用量與可用資源,若平均用量小於可用資源則將預留空間設定為平均用量減去當前用量,反之則設定為可用資源量減去目前資源量。 c. The average usage of the tenant is compared with the available resources in step 7013. If the result of step b. is no, it is determined that the current usage is less than the available resources and average usage. At this time, the average usage and available resources are compared. If the average usage is less than the available resources, then Set the reserved space to the average usage minus the current usage, otherwise set to the available resource minus the current resource.
d. 預留空間合理性比較7014步驟,若步驟b.之結果為是,則已確定目前用量小於可用資源及目前用量大於平均用量,此時若分配預留空間為目前用量減去平均用量,則有可能會超過原先可用資源之用量則為不合理,所以此處做合理性的比較,若結果為是(超過原先可用資源)則預留可用資源減去目前使用量,反之則預留目前用量減去平均用量。 d. The reasonableness of the reserved space is compared with step 7014. If the result of step b. is yes, it is determined that the current usage is less than the available resources and the current usage is greater than the average usage. At this time, if the allocation of reserved space is the current usage minus the average usage, It may be unreasonable to exceed the amount of the original available resources, so a reasonable comparison is made here. If the result is yes (exceeds the original available resources), the available resources are subtracted from the current usage, otherwise the current resources are reserved. Dosage minus average.
請參閱圖八所示,為本發明應用於多租戶SDN資源彈性管理機制之LRU-PTR實施模組80之流程圖,包括,其中a. 流量條閒置判斷801步驟,當中介控制器40收到實體資源中流量條移除之訊息則立即記錄現在時間戳記;若現在時間戳記減去上次更新時間戳記大於片段閒置時間移除設定值,則判定此流量條曾經被使用過,則標記為是,並將更新時間戳記設定為現在時間戳記及閒置時間設定為片段閒置時間設定值;反之,則將更新時間戳記設定為現在時間戳記、總閒置時間再加上片段閒置時間設定值並將移除次數加一,並進入下一個步驟;b. 總閒置時間與原需求比較802步驟,將步驟a.之移除次數乘上片段閒置時間移除設定值與原閒置時間移除設定值比較,若大於或等於原閒置時間移除設定值,則判定此流量條已達到原閒置時間,則移除此流量條,反之,則將次流量條重新設定至實體資源上; c. 選擇最大閒置時間之流量條803步驟,將整份資料表中選取最大閒置時間之流量條做為需被替換之流量條,此處則體現LRU演算法之精神,將閒置最久的流量條予以替換。 Please refer to FIG. 8, which is a flowchart of the LRU-PTR implementation module 80 applied to the multi-tenant SDN resource elasticity management mechanism according to the present invention, including, a. Step 801 for determining the idleness of the traffic bar, and the intermediate controller 40 receives The current timestamp is immediately recorded when the flow bar is removed from the physical resource. If the current timestamp minus the last update timestamp is greater than the fragment idle time removal setting, it is determined that the flow bar has been used, and it is marked as yes. And set the update timestamp to the current timestamp and the idle time to the fragment idle time setting; otherwise, set the update timestamp to the current timestamp, the total idle time plus the fragment idle time setting and remove Increase the number of times by one and proceed to the next step; b. Compare the total idle time with the original demand in step 802, multiply the number of removals in step a. By the fragment idle time removal setting value and compare the original idle time removal setting value, if Greater than or equal to the original idle time to remove the set value, it is determined that this flow bar has reached the original idle time, then this flow bar is removed, otherwise, the secondary flow Reset the real-time resource to the physical resource; c. Select the flow bar with the maximum idle time in step 803, and select the flow bar with the maximum idle time in the entire data table as the flow bar that needs to be replaced. This reflects the LRU algorithm. Spirit, replace the longest idle traffic bar.
先前應用於管理多租戶軟體定義網路之技術,大多是針對頻寬管理或是以硬切割的方式做分配,並沒有考慮硬切割再處理管理流表的部分會有浪費資源之影響,進而影響租戶網路效能。本發明所提供針對Multi-tenant SDN管理機制,與其他習用技術相互比較時,更具備下列優點: The technologies that were previously applied to manage multi-tenant software-defined networks are mostly for bandwidth management or hard cutting. It does not consider that hard cutting and reprocessing the management flow table will have a waste of resources and affect Tenant network performance. Compared with other conventional technologies, the multi-tenant SDN management mechanism provided by the present invention has the following advantages:
1. 本發明利用混合模式切換模組,可減少大量需求執行的延遲。 1. The present invention utilizes a hybrid mode switching module, which can reduce the delay in executing a large number of requirements.
2. 本發明利用配置租戶資源動態上限模組,可增加流表的資源利用率。 2. The present invention can increase the resource utilization rate of the flow table by using a dynamic cap module for configuring tenant resources.
3. 本發明利用LRU-PTR實施模組,可租戶需求被拒絕的數量,大量減少網路延遲。 3. The present invention utilizes the LRU-PTR implementation module, which can reduce the number of tenants' demands and greatly reduce network delay.
上列詳細說明乃針對本發明之一可行實施例進行具體說明,惟該實施例並非用以限制本發明之專利範圍,凡未脫離本發明技藝精神所為之等效實施或變更,均應包含於本案之專利範圍中。 The above detailed description is a specific description of a feasible embodiment of the present invention, but this embodiment is not intended to limit the patent scope of the present invention. Any equivalent implementation or change that does not depart from the technical spirit of the present invention should be included in Within the scope of the patent in this case.
綜上所述,本案不僅於技術思想上確屬創新,並具備習用之傳統方法所不及之上述多項功效,已充分符合新穎性及進步性之法定發明專利要件,爰依法提出申請,懇請 貴局核准本件發明專利申請案,以勵發明,至感德便。 To sum up, this case is not only innovative in terms of technical ideas, but also has many of the above-mentioned effects that are not used by traditional methods. It has fully met the requirements of statutory invention patents that are novel and progressive. To approve this invention patent application, to encourage invention, to the utmost convenience.
Claims (8)
Priority Applications (3)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
TW106106075A TWI644540B (en) | 2017-02-23 | 2017-02-23 | Flow meter flexible cutting system for virtual network in multi-tenant software-defined network |
CN201810101951.6A CN108471354B (en) | 2017-02-23 | 2018-02-01 | System and method for flexibly cutting virtual network flow table in multi-tenant software defined network |
JP2018026660A JP6574500B2 (en) | 2017-02-23 | 2018-02-19 | System and method for dynamically dividing a flow table of a virtual network in a multi-tenant software-defined network |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
TW106106075A TWI644540B (en) | 2017-02-23 | 2017-02-23 | Flow meter flexible cutting system for virtual network in multi-tenant software-defined network |
Publications (2)
Publication Number | Publication Date |
---|---|
TW201832523A TW201832523A (en) | 2018-09-01 |
TWI644540B true TWI644540B (en) | 2018-12-11 |
Family
ID=63266021
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
TW106106075A TWI644540B (en) | 2017-02-23 | 2017-02-23 | Flow meter flexible cutting system for virtual network in multi-tenant software-defined network |
Country Status (3)
Country | Link |
---|---|
JP (1) | JP6574500B2 (en) |
CN (1) | CN108471354B (en) |
TW (1) | TWI644540B (en) |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
TWI781409B (en) * | 2019-05-29 | 2022-10-21 | 印度商塔塔顧問服務有限公司 | System and method of provisioning, upgrading and tracking solutions in a multi tenanted platform |
Families Citing this family (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN111552714B (en) * | 2020-05-06 | 2023-10-13 | 山东汇贸电子口岸有限公司 | CDN node intelligent dynamic resource storage method and system |
Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US8966035B2 (en) * | 2009-04-01 | 2015-02-24 | Nicira, Inc. | Method and apparatus for implementing and managing distributed virtual switches in several hosts and physical forwarding elements |
US20150350102A1 (en) * | 2014-06-03 | 2015-12-03 | Alberto Leon-Garcia | Method and System for Integrated Management of Converged Heterogeneous Resources in Software-Defined Infrastructure |
US20160080212A1 (en) * | 2014-09-16 | 2016-03-17 | CloudGenix, Inc. | Methods and systems for multi-tenant controller based mapping of device identity to network level identity |
TW201707418A (en) * | 2015-03-13 | 2017-02-16 | 凱為公司 | Protocol independent programmable switch (PIPS) for software defined data center networks |
Family Cites Families (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
EP2824878A4 (en) * | 2012-03-09 | 2015-11-11 | Nec Corp | Controller, communication system, switch control method and program |
CN104871499B (en) * | 2012-12-19 | 2018-10-26 | 日本电气株式会社 | Communication node, control device and the management method for controlling data entries |
CN105074674B (en) * | 2013-05-15 | 2018-09-28 | 株式会社日立制作所 | Computer system and method for managing resource |
WO2015018035A1 (en) * | 2013-08-08 | 2015-02-12 | 华为技术有限公司 | Virtualized network allocation method, controller, device and system |
US9838253B2 (en) * | 2014-04-10 | 2017-12-05 | Fujitsu Limited | Object-oriented network virtualization |
JPWO2016013200A1 (en) * | 2014-07-22 | 2017-04-27 | 日本電気株式会社 | Information processing system and network resource management method |
CN106452842B (en) * | 2016-09-14 | 2019-09-24 | 上海海事大学 | Network system based on network function virtualization intermediary system architecture |
-
2017
- 2017-02-23 TW TW106106075A patent/TWI644540B/en active
-
2018
- 2018-02-01 CN CN201810101951.6A patent/CN108471354B/en active Active
- 2018-02-19 JP JP2018026660A patent/JP6574500B2/en active Active
Patent Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US8966035B2 (en) * | 2009-04-01 | 2015-02-24 | Nicira, Inc. | Method and apparatus for implementing and managing distributed virtual switches in several hosts and physical forwarding elements |
US20150350102A1 (en) * | 2014-06-03 | 2015-12-03 | Alberto Leon-Garcia | Method and System for Integrated Management of Converged Heterogeneous Resources in Software-Defined Infrastructure |
US20160080212A1 (en) * | 2014-09-16 | 2016-03-17 | CloudGenix, Inc. | Methods and systems for multi-tenant controller based mapping of device identity to network level identity |
TW201618499A (en) * | 2014-09-16 | 2016-05-16 | 科勞簡尼克斯股份有限公司 | Flexibly defined communication network controller based control, operations and management of networks |
TW201707418A (en) * | 2015-03-13 | 2017-02-16 | 凱為公司 | Protocol independent programmable switch (PIPS) for software defined data center networks |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
TWI781409B (en) * | 2019-05-29 | 2022-10-21 | 印度商塔塔顧問服務有限公司 | System and method of provisioning, upgrading and tracking solutions in a multi tenanted platform |
Also Published As
Publication number | Publication date |
---|---|
CN108471354B (en) | 2021-05-28 |
TW201832523A (en) | 2018-09-01 |
JP6574500B2 (en) | 2019-09-11 |
JP2018137746A (en) | 2018-08-30 |
CN108471354A (en) | 2018-08-31 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
WO2021213004A1 (en) | Micro-service management system and deployment method, and related device | |
US9307017B2 (en) | Member-oriented hybrid cloud operating system architecture and communication method thereof | |
WO2016029726A1 (en) | Energy-saving control method, management server and network device | |
WO2017214932A1 (en) | Network-slice resource management method and apparatus | |
US9600319B2 (en) | Computer-readable medium, apparatus, and method for offloading processing from a virtual switch to a physical switch | |
US20150052254A1 (en) | Virtual Machine Live Migration Method, Virtual Machine Deployment Method, Server, and Cluster System | |
CN105554102A (en) | Elastic expansion method based on container cluster and application system thereof | |
CN105306622B (en) | A kind of cloud net fusion domain name analysis system and its DNS service method | |
CN108989352B (en) | Firewall implementation method and device, computer equipment and storage medium | |
WO2011100900A2 (en) | Method for adjusting resources dynamically and scheduling device | |
WO2018220708A1 (en) | Resource allocation system, management device, method, and program | |
WO2016155360A1 (en) | Method, related apparatus and system for processing service request | |
CN102473118A (en) | Information processing system | |
CN104468407A (en) | Method and device for performing service platform resource elastic allocation | |
CN108984266A (en) | A kind of management method of virtual machine, apparatus and system | |
WO2014190523A1 (en) | Scheduling method, apparatus and system | |
TWI644540B (en) | Flow meter flexible cutting system for virtual network in multi-tenant software-defined network | |
CN110647392A (en) | Intelligent elastic expansion method based on container cluster | |
KR101371068B1 (en) | Method and System on Triggering Using Monitoring Metric for Cloud Computing Resource Management | |
EP2996382B1 (en) | Physical resource adjustment method, device and controller | |
CN107071045A (en) | A kind of resource scheduling system based on multi-tenant | |
US10963305B2 (en) | Low latency distributed counters for quotas | |
Carrega et al. | Energy-aware consolidation scheme for data center cloud applications | |
CN104202263B (en) | A kind of multi-tenant data midbandwidth resource fairness distribution method | |
CN114675972A (en) | Method and system for flexibly scheduling cloud network resources based on integral algorithm |