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 PDF

Info

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
Application number
TW106106075A
Other languages
Chinese (zh)
Other versions
TW201832523A (en
Inventor
林盈達
陳建豪
劉德隆
賴源正
朱煜煌
王耀駿
劉景豊
Original Assignee
中華電信股份有限公司
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 中華電信股份有限公司 filed Critical 中華電信股份有限公司
Priority to TW106106075A priority Critical patent/TWI644540B/en
Priority to CN201810101951.6A priority patent/CN108471354B/en
Priority to JP2018026660A priority patent/JP6574500B2/en
Publication of TW201832523A publication Critical patent/TW201832523A/en
Application granted granted Critical
Publication of TWI644540B publication Critical patent/TWI644540B/en

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L41/00Arrangements for maintenance, administration or management of data switching networks, e.g. of packet switching networks
    • H04L41/08Configuration management of networks or network elements
    • H04L41/0893Assignment of logical groups to network elements
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L41/00Arrangements for maintenance, administration or management of data switching networks, e.g. of packet switching networks
    • H04L41/08Configuration management of networks or network elements
    • H04L41/0896Bandwidth or capacity management, i.e. automatically increasing or decreasing capacities
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L41/00Arrangements for maintenance, administration or management of data switching networks, e.g. of packet switching networks
    • H04L41/50Network service management, e.g. ensuring proper service fulfilment according to agreements
    • H04L41/5041Network service management, e.g. ensuring proper service fulfilment according to agreements characterised by the time relationship between creation and deployment of a service
    • H04L41/5051Service 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

多租戶軟體定義網路中虛擬網路之流表彈性切割系統    Flow meter flexible cutting system for virtual network in multi-tenant software-defined network   

本發明係關於一種可減少大量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)

一種多租戶軟體定義網路中虛擬網路之流表彈性切割系統,其主要包括:管理層,用以進行資源管理,管理層至少包括租戶管理介面及SPRM(Soft Partitioning Resource Manager,軟分割資源管理器)管理模組,SPRM管理模組主要決定每個租戶可使用的資源範圍及後續資源釋放歸還處理;租戶控制器,作為軟體定義網路環境中,每個租戶各自擁有的控制器,以控制自己的軟體定義網路環境;中介控制器,作為多租戶軟體定義網路環境中的網路虛擬化中介層,負責將底下實體資源做虛擬化提供上層之租戶控制器一個或多個虛擬的軟體定義網路環境;混合模式切換模組,係用以執行監督流程及側錄流程,監督流程係從租戶控制器發出的需求會先經由管理層進行檢查,待確定其內容的正確性後再由管理層發出命令通知中介控制器可正確處理租戶控制器的需求,側錄流程係從租戶控制器發出的需求會側錄一份交由管理層檢查,若檢查出不合法,管理層再發出命令通知中介控制器做事後彌補的動作。A flexible flow table cutting system for a virtual network in a multi-tenant software-defined network. The system mainly includes: a management layer for resource management. The management layer includes at least a tenant management interface and SPRM (Soft Partitioning Resource Manager). Server) management module, the SPRM management module mainly determines the range of resources available to each tenant and subsequent resource release and return processing; the tenant controller, as a software-defined network environment, each tenant has its own controller to control Own software-defined network environment; the intermediary controller, as a network virtualization intermediary layer in a multi-tenant software-defined network environment, is responsible for virtualizing the underlying physical resources and providing the upper-level tenant controller with one or more virtual software Define the network environment; the mixed mode switching module is used to perform the supervision process and the side recording process. The supervision process is the requirement issued by the tenant controller will be checked by the management first, and the correctness of its content will be determined by The management issued an order to inform the intermediary controller that it can correctly handle the needs of the tenant controller, and recorded the process. Skimming demand from tenants controller issued a check handed over to management, if the check out illegal, and then issue a command to inform the agency management controller to make up after work action. 如請求項1所述之多租戶軟體定義網路中虛擬網路之流表彈性切割系統,其中實體資源係作為網路的實體網路資源。The flexible table cutting system for a virtual network in a multi-tenant software-defined network as described in claim 1, wherein the physical resource is the physical network resource of the network. 如請求項1所述之多租戶軟體定義網路中虛擬網路之流表彈性切割系統,其中監督流程係由租戶控制器需求、轉送需求、結果通知、傳送命令以及執行命令所組成,其中租戶控制器需求係由租戶控制器發出需求給中介控制器,再經由混合模式切換模組判斷是否進行監督流程,若混合模式切換模組確認進行監督流程,則轉送需求,將租戶控制器需求轉送給SPRM管理模組做檢查,而結果通知係用以將檢查結果通知租戶管理介面並同時傳送命令至中介控制器,而執行命令係在中介控制器接收命令後將所需執行動作執行至實體資源。The flexible cutting system for the flow table of the virtual network in the multi-tenant software-defined network as described in claim 1, wherein the monitoring process is composed of the requirements of the tenant controller, the transfer requirements, the result notification, the transmission command, and the execution command, of which the tenant The controller request is issued by the tenant controller to the intermediary controller, and then the hybrid mode switching module is used to determine whether to perform the supervision process. If the hybrid mode switching module confirms the supervision process, the request is forwarded to the tenant controller. The SPRM management module performs the inspection, and the result notification is used to notify the tenant management interface of the inspection result and send a command to the intermediary controller at the same time, and the execution command is to execute the required execution action to the physical resource after the intermediary controller receives the command. 如請求項1所述之多租戶軟體定義網路中虛擬網路之流表彈性切割系統,其中側錄流程係由租戶控制器需求、轉送需求、執行租戶需求、結果通知、傳送命令以及執行命令所組成,其中租戶控制器需求係由租戶控制器發出需求給中介控制器,再經由混合模式切換模組判斷是否進行側錄流程,若混合模式切換模組確認進行側錄流程,則轉送需求,將需求轉送至SPRM管理模組做檢查並同時將租戶控制器需求經由執行租戶需求執行至實體資源,而結果通知係用以將檢查結果通知租戶管理介面,並同時將所須彌補動作經由傳送命令送至中介控制器,而執行命令係用以作為側錄流程之最後彌補動作,多為刪除流量條之命令,若不需做任何彌補則無執行命令之過程。The flexible cutting system for the flow table of the virtual network in the multi-tenant software-defined network as described in claim 1, wherein the recording process is performed by the tenant controller request, the transfer request, the execution of the tenant request, the result notification, the transmission command, and the execution command. It consists of the requirements of the tenant controller. The tenant controller sends requirements to the intermediary controller, and then determines whether to perform the side recording process through the mixed mode switching module. If the mixed mode switching module confirms the side recording process, the requirements are forwarded. The requirements are forwarded to the SPRM management module for inspection, and the tenant controller requirements are executed to the physical resources by executing the tenant requirements. The result notification is used to notify the tenant management interface of the inspection results, and at the same time, the necessary remedial actions are transmitted via the command. It is sent to the intermediary controller, and the execution command is used as the final remedial action of the profile recording process. Most of them are commands to delete the flow bar. If there is no need to make any remedy, there is no process of executing the command. 如請求項1所述之多租戶軟體定義網路中虛擬網路之流表彈性切割系統,其中SPRM管理模組係由剩餘資源比較、租戶用量與可用資源比較、超用彈性空間比較、被取代空間用戶設定、傳送移除流量條命令、傳送設定流量條命令、配置租戶資源動態上限模組以及LRU-PTR(Least recently used-Partial Timeout Reset,最近最少使用-部分超時復位演算法)實施模組所組成,其中剩餘資源比較係用以檢查是否有剩餘實體資源再做後續處理,若有剩餘實體資源再做後續處理則代表實體資源尚有大量剩餘資源可供使用,若無剩餘實體資源再做後續處理則代表剩餘資源不足,租戶用量與可用資源比較係用以檢查租戶是否超過可用資源之下限值,若超過可用資源之下限值則租戶視為超用狀態,若未超過可用資源之下限值則是為未超用,超用彈性空間比較係用以檢查租戶是否超用可用資源之彈性上限值,若租戶超用可用資源之彈性上限值則將被取代空間用戶設定為用戶本身,並執行LRU-PTR實施模組,再傳送移除流量條命令至中介控制器,若租戶未超用可用資源之彈性上限值,則不做任何處理,配置租戶資源動態上限模組係用以計算可配置彈性用量給予租戶暫時資源,只有在剩餘資源比較判斷為是時,並在判斷租戶用量與可用資源比較判斷為超用狀態時才需使用,而LRU-PTR實施模組係用以在判斷需要替換空間時使用,目的是判斷閒置過久之流量條,接著再做傳送移除流量條命令將空間釋放,再視情況將目前需求利用傳送設定流量條命令通知中介控制器將租戶需求流量條設置在釋放的空間中。The flexible cutting system for the flow table of the virtual network in the multi-tenant software-defined network as described in claim 1, wherein the SPRM management module is compared with the remaining resources, the tenant usage and the available resources, the super-used flexible space comparison, and is replaced Space user setting, sending remove flow bar command, sending set flow bar command, configuring tenant resource dynamic cap module and LRU-PTR (Least recently used-Partial Timeout Reset, least recently used-partial timeout reset algorithm) implementation model The remaining resource comparison is used to check whether there are remaining physical resources for subsequent processing. If there are remaining physical resources for subsequent processing, it means that there are still a lot of remaining resources available for the physical resources. The follow-up processing means that the remaining resources are insufficient. The comparison of the usage of the tenant with the available resources is used to check whether the tenant exceeds the lower limit of the available resources. If the lower limit of the available resources is exceeded, the tenant is considered to be overused. If the available resources are not exceeded The lower limit is for non-overcommitment. The overcompletion flexible space comparison is used to check whether the tenant is overcommitted. The flexible upper limit value of the source. If the tenant exceeds the flexible upper limit value of the available resources, it will be replaced by the space user as the user itself, and the LRU-PTR implementation module will be executed, and then the remove flow bar command will be sent to the intermediary controller. If the tenant does not exceed the flexible upper limit of the available resources, no processing is performed. The tenant resource dynamic cap module is configured to calculate the configurable flexible usage to give the tenant temporary resources. Only when the remaining resources are judged to be YES, and It is only used when judging the usage of the tenant and the available resources as being over-used. The LRU-PTR implementation module is used when it is determined that the space needs to be replaced. The purpose is to determine the flow bar that has been idle for a long time, and then transfer it. In addition to the free flow bar command, the space is released, and if necessary, the current demand is set to send the set flow bar command to the intermediary controller to set the tenant demand flow bar in the released space. 如請求項5所述之多租戶軟體定義網路中虛擬網路之流表彈性切割系統,其中配置租戶資源動態上限模組係由預留租戶空間計算、剩餘空間計算以及彈性上限值設定所組成,其中預留租戶空間計算係用以幫其他租戶保留一小部分空間,以保障其他租戶的使用權益,並減少之後使用替換空間方法之負擔,剩餘空間計算係將預留租戶空間幫各個租戶保留之空間加總,並用系統剩餘資源扣除加總的預留空間,則為可配置空間,彈性上限值設定係用以配置剩餘空間計算的結果,將此值加上租戶下限值做為彈性上限值。The flexible cutting system for the flow table of the virtual network in the multi-tenant software-defined network as described in claim 5, wherein the configuration of the dynamic resource cap module of the tenant is determined by the reserved tenant space calculation, remaining space calculation, and flexible upper limit setting. Composition, in which the reserved tenant space calculation is used to help other tenants to reserve a small amount of space to protect the use rights of other tenants and reduce the burden of using space replacement methods in the future. The remaining space calculation is to reserve tenant space to help each tenant The reserved space is added up, and the remaining reserved resources are used to deduct the total reserved space, which is configurable space. The elastic upper limit setting is used to configure the calculation result of the remaining space. Add this value to the tenant lower limit value as Upper elastic limit. 如請求項6所述之多租戶軟體定義網路中虛擬網路之流表彈性切割系統,其中預留租戶空間計算,其步驟包括:a.租戶目前用量與可用資源比較步驟,當租戶的目前用量超過其可用資源時代表此租戶目前為超用狀態,則不保留任何空間,反之則進入步驟b;b.租戶目前用量與平均用量比較步驟,若a.步驟的結果為否,則比較目前用量與平均用量,若目前用量已超過平均用量,我們則認定此租戶未來會有空間需求,並作d.步驟預留空間合理性之比較,反之,我們則進入c.步驟繼續做平均用量與可用資源比較步驟;c.租戶平均用量與可用資源比較步驟,若步驟b.之結果為否,則已確定目前用量小於可用資源及平均用量,此時便比較平均用量與可用資源,若平均用量小於可用資源則將預留空間設定為平均用量減去當前用量,反之則設定為可用資源量減去目前資源量;d.預留空間合理性比較步驟,若步驟b.之結果為是,則已確定目前用量小於可用資源及目前用量大於平均用量,此時若分配預留空間為目前用量減去平均用量,則有可能會超過原先可用資源之用量則為不合理,所以此處做合理性的比較,若結果為是超過原先可用資源則預留可用資源減去目前使用量,反之則預留目前用量減去平均用量。The flexible cutting system for the flow table of the multi-tenant software-defined network in the multi-tenant software-defined network as described in the request item 6, wherein the calculation of the reserved tenant space includes the following steps: a. The step of comparing the current usage of the tenant with the available resources. When the usage exceeds its available resources, it means that the tenant is currently in an over-used state, so no space is reserved, otherwise it goes to step b; b. The tenant's current usage is compared with the average usage. If a. The result of the step is no, then the current comparison is compared. Usage and average usage. If the current usage has exceeded the average usage, we determine that the tenant will have space requirements in the future, and make a comparison of the reasonableness of the reserved space in step d. Otherwise, we enter step c. Continue to make the average usage and Available resources comparison step; c. Tenant average usage and available resources comparison step. If the result of step b. Is no, then 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. Less than the available resources, the reserved space is set to the average usage minus the current usage, otherwise it is set to the available resources minus the current resources D. The comparison step of the rationality of the reserved space. If the result of step b. Is yes, then 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 original available resource usage, so a reasonable comparison is made here. If the result is more than the original available resource, the available resource is subtracted from the current usage, otherwise the current usage is reserved. Subtract the average amount. 如請求項5所述之多租戶軟體定義網路中虛擬網路之流表彈性切割系統,其中LRU-PTR實施模組判斷需要替換空間之步驟包括:a.流量條閒置判斷步驟,當中介控制器收到實體資源中流量條移除之訊息則立即記錄現在時間戳記,若現在時間戳記減去上次更新時間戳記大於片段閒置時間移除設定值,則判定此流量條曾經被使用過,則標記為是,並將更新時間戳記設定為現在時間戳記及閒置時間設定為片段閒置時間設定值,反之,則將更新時間戳記設定為現在時間戳記、總閒置時間再加上片段閒置時間設定值並將移除次數加一,並進入下一個步驟;b.總閒置時間與原需求比較步驟,將步驟a.之移除次數乘上片段閒置時間移除設定值與原閒置時間移除設定值比較,若大於或等於原閒置時間移除設定值,則判定此流量條已達到原閒置時間,則移除此流量條,反之,則將次流量條重新設定至實體資源上;c.選擇最大閒置時間之流量條步驟,將整份資料表中選取最大閒置時間之流量條做為需被替換之流量條,將閒置最久的流量條予以替換。The flexible cutting system for the flow meter of the virtual network in the multi-tenant software-defined network as described in claim 5, wherein the steps of the LRU-PTR implementation module to determine the need to replace the space include: a. The flow bar idle determination step, the intermediary control The server immediately records the current timestamp when it receives the message that the traffic 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 this traffic bar has been used. Mark as yes, and set the update timestamp to the current timestamp and the idle time to the fragment idle time setting value; otherwise, set the update timestamp to the current timestamp, the total idle time plus the fragment idle time setting value and Increase the number of removals by one and proceed to the next step; b. Compare the total idle time with the original demand step, multiply the number of removals in step a. By the fragment idle time removal setting value and compare with the original idle time removal setting value , If it is greater than or equal to the original idle time removal setting value, it is determined that this traffic bar has reached the original idle time, then this traffic bar is removed, and vice versa Reset the secondary flow bar to the physical resource; c. Select the flow bar step with the maximum idle time, select the flow bar with the maximum idle time in the entire data table as the flow bar to be replaced, and set the longest idle bar The flow bar is replaced.
TW106106075A 2017-02-23 2017-02-23 Flow meter flexible cutting system for virtual network in multi-tenant software-defined network TWI644540B (en)

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)

* Cited by examiner, † Cited by third party
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)

* Cited by examiner, † Cited by third party
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)

* Cited by examiner, † Cited by third party
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)

* Cited by examiner, † Cited by third party
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

Patent Citations (5)

* Cited by examiner, † Cited by third party
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)

* Cited by examiner, † Cited by third party
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