[go: up one dir, main page]

CN104780232B - A kind of resource allocation methods, controller and system - Google Patents

A kind of resource allocation methods, controller and system Download PDF

Info

Publication number
CN104780232B
CN104780232B CN201410014512.3A CN201410014512A CN104780232B CN 104780232 B CN104780232 B CN 104780232B CN 201410014512 A CN201410014512 A CN 201410014512A CN 104780232 B CN104780232 B CN 104780232B
Authority
CN
China
Prior art keywords
flow table
resource information
request message
resource
establishment request
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN201410014512.3A
Other languages
Chinese (zh)
Other versions
CN104780232A (en
Inventor
查敏
黄敬
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Huawei Technologies Co Ltd
Original Assignee
Huawei Technologies Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Huawei Technologies Co Ltd filed Critical Huawei Technologies Co Ltd
Priority to CN201410014512.3A priority Critical patent/CN104780232B/en
Priority to PCT/CN2014/093880 priority patent/WO2015103919A1/en
Publication of CN104780232A publication Critical patent/CN104780232A/en
Application granted granted Critical
Publication of CN104780232B publication Critical patent/CN104780232B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • 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

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Data Exchanges In Wide-Area Networks (AREA)

Abstract

本发明提供一种资源分配的方法、控制器及系统,其中一种资源分配方法,包括:控制器Controller接收流表建立请求消息,流表建立请求消息包括为需要建立的流表表项分配的资源申请标识和流表表项标识,资源申请标识用于指示Controller需要分配的资源,流表表项标识为需要建立的流表表项的标识符;根据所述资源申请标识,分配资源信息,以使所述转发设备依据分配的资源信息建立所述流表表项,实现由控制器对各个过渡技术使用的资源的统一分配,这样各个过渡技术可以共用一个地址池,实现资源集中管理,进而在进行资源分配时可以从该共用的地址池中获取资源进行分配,避免每个过渡技术使用独立的地址池导致的资源浪费。

The present invention provides a resource allocation method, controller, and system, wherein a resource allocation method includes: the controller Controller receives a flow table establishment request message, and the flow table establishment request message includes information allocated for the flow table entries that need to be established. A resource application identifier and a flow table entry identifier, the resource application identifier is used to indicate the resources that the Controller needs to allocate, and the flow table entry identifier is the identifier of the flow table entry that needs to be established; according to the resource application identifier, allocate resource information, so that the forwarding device establishes the flow table entry according to the allocated resource information, so as to realize the unified allocation of resources used by the transition technologies by the controller, so that each transition technology can share an address pool to realize centralized management of resources, and then When resource allocation is performed, resources can be obtained from the shared address pool for allocation, avoiding waste of resources caused by using independent address pools for each transition technology.

Description

一种资源分配方法、控制器及系统A resource allocation method, controller and system

技术领域technical field

本发明涉及过渡技术领域,特别涉及一种资源分配方法、控制器及系统。The present invention relates to the field of transition technology, in particular to a resource allocation method, controller and system.

背景技术Background technique

在网际协议版本4(Internet Protocol version4,IPv4)网络向网际协议版本6(Internet Protocol version6,IPv6)网络的演进过程中,存在多种IPv6演进技术,例如轻量级双栈(Dual Stack Lite,DS-lite),IPv4到IPv4的网络地址转换(Network AddressTranslation4to4,NAT44)和轻量级IPv6过渡(Light-weight4over6,LW4over6)等过渡技术。在进行IPv4向IPv6过渡时需要由每个过渡技术的应用程序(Application,APP)独立为其进行地址分配,每个APP运行在对应的服务器上。During the evolution process from Internet Protocol version 4 (Internet Protocol version 4, IPv4) network to Internet Protocol version 6 (Internet Protocol version 6, IPv6) network, there are various IPv6 evolution technologies, such as lightweight dual stack (Dual Stack Lite, DS -lite), IPv4 to IPv4 network address translation (Network AddressTranslation4to4, NAT44) and lightweight IPv6 transition (Light-weight4over6, LW4over6) and other transition technologies. During the transition from IPv4 to IPv6, the application (Application, APP) of each transition technology needs to independently allocate addresses for it, and each APP runs on a corresponding server.

现有技术中,每个过渡技术的APP在生成流表建立请求消息时,从其对应的地址池中获取资源进行分配,如当为NAT44的APP进行资源分配时,需要从NAT44的APP使用的地址池中获取外网源网络之间互连的协议(Internet Protocol,IP)地址和外网源端口;当为LW4over6进行资源分配时,需要从LW4over6的APP使用的地址池中获取外网源IP地址和外网源端口范围。In the prior art, when an APP of each transition technology generates a flow table establishment request message, it obtains resources from its corresponding address pool for allocation. For example, when performing resource allocation for an NAT44 APP, it needs to use the Obtain the Internet Protocol (IP) address and the source port of the external network from the address pool; when allocating resources for LW4over6, it is necessary to obtain the external network source IP from the address pool used by the APP of LW4over6 Address and external network source port range.

由于目前为每个过渡技术APP分配固定的地址段,每个过渡技术APP的地址池彼此独立,这样可能会造成某个过渡技术APP的IP地址不够,而其他过渡技术APP的IP地址空闲的现象,从而造成IP地址的浪费。Since a fixed address segment is currently assigned to each transitional technology APP, the address pools of each transitional technology APP are independent of each other, which may cause a phenomenon that the IP address of a certain transitional technology APP is insufficient, while the IP addresses of other transitional technology APPs are idle. , resulting in a waste of IP addresses.

发明内容Contents of the invention

本发明实施例提供了一种资源分配方法、控制器及系统,用以解决现有资源分配方式导致的IP地址浪费的技术问题。技术方案如下:The embodiment of the present invention provides a resource allocation method, a controller and a system, which are used to solve the technical problem of IP address waste caused by the existing resource allocation mode. The technical solution is as follows:

第一方面,本发明实施例提供一种资源分配方法,适用于控制转发分离网络中,所述方法包括:In the first aspect, an embodiment of the present invention provides a method for resource allocation, which is applicable to a control-forwarding separation network, and the method includes:

控制器(Controller)接收流表建立请求消息,所述流表建立请求消息包括为需要建立的流表表项分配的资源申请标识和流表表项标识,所述资源申请标识用于指示所述Controller需要分配的资源,所述流表表项标识为所述需要建立的流表表项的标识符;The controller (Controller) receives a flow table establishment request message, the flow table establishment request message includes a resource application identifier and a flow table entry identifier allocated for the flow table entry to be established, and the resource application identifier is used to indicate the The controller needs to allocate resources, and the flow table entry identifier is the identifier of the flow table entry that needs to be established;

根据所述资源申请标识,分配资源信息,所述资源信息包括网际协议IP地址,或者,所述资源信息包括IP地址和端口;Allocating resource information according to the resource application identifier, where the resource information includes an Internet Protocol IP address, or, the resource information includes an IP address and a port;

将分配的所述资源信息发送到转发设备,以使所述转发设备依据分配的所述资源信息建立所述流表表项。Sending the allocated resource information to the forwarding device, so that the forwarding device creates the flow table entry according to the allocated resource information.

在第一方面的第一种可行实现方式中,所述接收流表建立请求消息包括:In a first possible implementation manner of the first aspect, the receiving the flow table establishment request message includes:

接收服务器发送的所述流表建立请求消息,所述流表建立请求消息还包括用户属性信息,所述用户属性信息包括用户的内网源IP地址和内网源端口信息。The flow table establishment request message sent by the server is received, and the flow table establishment request message further includes user attribute information, and the user attribute information includes the user's intranet source IP address and intranet source port information.

结合第一方面或第一方面的第一种可行实现方式,所述将分配的所述资源信息发送到转发设备,包括:With reference to the first aspect or the first feasible implementation manner of the first aspect, the sending the allocated resource information to the forwarding device includes:

将所述资源信息添加到所述流表表项标识对应的所述流表建立请求消息中,并将添加了所述资源信息的所述流表建立请求消息转发到转发设备。Adding the resource information to the flow table establishment request message corresponding to the flow table entry identifier, and forwarding the flow table establishment request message added with the resource information to the forwarding device.

在第一方面的第二种可行实现方式中,所述接收流表建立请求消息包括:In a second feasible implementation manner of the first aspect, the receiving the flow table establishment request message includes:

接收所述转发设备发送的所述流表建立请求消息;receiving the flow table establishment request message sent by the forwarding device;

所述将分配的所述资源信息发送到转发设备,包括:The sending the allocated resource information to the forwarding device includes:

发送所述资源信息和所述流表表项标识至所述转发设备,由所述转发设备依据所述资源信息建立所述流表表项。Sending the resource information and the flow table entry identifier to the forwarding device, and the forwarding device creates the flow table entry according to the resource information.

结合第一方面或第一方面的第一种可行实现方式或第一方面的第二种可行实现方式,在第一方面的第三种可行实现方式中,所述流表建立请求消息为填表式流表建立请求消息,所述填表式流表建立请求消息具体为:在所述流表建立请求消息中预先预留用于存放所述资源信息的存储空间,在所述Controller分配所述资源信息后,将所述资源信息填写到对应所述资源信息的存储空间内。In combination with the first aspect or the first possible implementation of the first aspect or the second possible implementation of the first aspect, in the third possible implementation of the first aspect, the flow table creation request message is a form filling flow table establishment request message, the form-filling flow table establishment request message specifically includes: pre-reserving storage space for storing the resource information in the flow table establishment request message, and allocating the After the resource information is obtained, the resource information is filled in the storage space corresponding to the resource information.

结合第一方面或第一方面的第一种可行实现方式或第一方面的第二种可行实现方式,在第一方面的第四种可行实现方式中,所述方法还包括:In combination with the first aspect or the first feasible implementation manner of the first aspect or the second feasible implementation manner of the first aspect, in the fourth feasible implementation manner of the first aspect, the method further includes:

当检测到所述流表表项存活时间超过预设时间阈值时,回收所述分配的所述资源信息,并向所述转发设备发送流表删除消息,以使所述转发设备删除所述流表表项。When it is detected that the survival time of the flow table entry exceeds the preset time threshold, recycle the allocated resource information, and send a flow table deletion message to the forwarding device, so that the forwarding device deletes the flow table entry.

第二方面,本发明实施例提供一种Controller,所述Controller适用于控制转发分离网络中,包括:In the second aspect, the embodiment of the present invention provides a Controller, and the Controller is suitable for a control-forwarding separation network, including:

接收单元,用于接收流表建立请求消息,所述流表建立请求消息包括为需要建立的流表表项分配的资源申请标识和流表表项标识,所述资源申请标识用于指示所述Controller需要分配的资源,所述流表表项标识为所述需要建立的流表表项的标识符;A receiving unit, configured to receive a flow table establishment request message, the flow table establishment request message including a resource application identifier and a flow table entry identifier allocated for the flow table entry to be established, and the resource application identifier is used to indicate the The controller needs to allocate resources, and the flow table entry identifier is the identifier of the flow table entry that needs to be established;

分配单元,用于根据所述资源申请标识,分配资源信息,所述资源信息包括网际协议IP地址,或者,所述资源信息包括IP地址和端口;An allocating unit, configured to allocate resource information according to the resource application identifier, where the resource information includes an Internet Protocol IP address, or, the resource information includes an IP address and a port;

发送单元,用于将分配的所述资源信息发送到转发设备,以使所述转发设备依据分配的所述资源信息建立所述流表表项。A sending unit, configured to send the allocated resource information to a forwarding device, so that the forwarding device creates the flow table entry according to the allocated resource information.

在第二方面的第一种可行实现方式中,所述接收单元具体用于所述接收单元接收流表建立请求消息具体包括:In the first possible implementation manner of the second aspect, the receiving unit is specifically configured to receive the flow table establishment request message by the receiving unit specifically including:

接收服务器发送的所述流表建立请求消息,所述流表建立请求消息还包括用户属性信息,所述用户属性信息包括用户的内网源IP地址和内网源端口信息。The flow table establishment request message sent by the server is received, and the flow table establishment request message further includes user attribute information, and the user attribute information includes the user's intranet source IP address and intranet source port information.

结合第二方面或所述第二方面的第一种可行实现方式,所述发送单元将分配的所述资源信息发送到转发设备,具体包括:With reference to the second aspect or the first feasible implementation manner of the second aspect, the sending unit sends the allocated resource information to the forwarding device, specifically including:

将所述资源信息添加到所述流表表项标识对应的所述流表建立请求消息中,并将添加了所述资源信息的所述流表建立请求消息转发到转发设备。Adding the resource information to the flow table establishment request message corresponding to the flow table entry identifier, and forwarding the flow table establishment request message added with the resource information to the forwarding device.

在第二方面的第二种可行实现方式中,所述接收单元接收流表建立请求消息具体包括;In a second feasible implementation manner of the second aspect, the receiving unit receiving the flow table establishment request message specifically includes;

接收所述转发设备发送的所述流表建立请求消息;receiving the flow table establishment request message sent by the forwarding device;

所述发送单元将分配的所述资源信息发送到转发设备,具体包括:The sending unit sends the allocated resource information to the forwarding device, specifically including:

发送所述资源信息和所述流表表项标识至所述转发设备,由所述转发设备依据所述资源信息建立所述流表表项。Sending the resource information and the flow table entry identifier to the forwarding device, and the forwarding device creates the flow table entry according to the resource information.

结合第二方面或第二方面的第一种可行实现方式或第二方面的第二种可行实现方式,在第二方面的第三种可行实现方式中,所述流表建立请求消息为填表式流表建立请求消息,所述填表式流表建立请求消息具体为:在所述流表建立请求消息中预先预留用于存放所述资源信息的存储空间,在所述Controller将分配的所述资源信息后,将所述资源信息填写到对应的所述资源信息的存储空间内。In combination with the second aspect or the first possible implementation of the second aspect or the second possible implementation of the second aspect, in the third possible implementation of the second aspect, the flow table creation request message is a form filling A flow table establishment request message, the form-filling flow table establishment request message is specifically: the storage space for storing the resource information is pre-reserved in the flow table establishment request message, and the controller will allocate After the resource information, fill in the resource information in the corresponding storage space of the resource information.

结合第二方面或第二方面的第一种可行实现方式或第二方面的第二种可行实现方式,在第二方面的第四种可行实现方式中,所述Controller还包括:In combination with the second aspect or the first feasible implementation manner of the second aspect or the second feasible implementation manner of the second aspect, in the fourth feasible implementation manner of the second aspect, the Controller further includes:

检测单元,用于检测所述流表表项存活时间;a detection unit, configured to detect the survival time of the flow table entry;

回收单元,用于在所述检测单元检测到所述流表表项存活时间超过预设时间阈值时,回收所述分配的所述资源信息;A reclaiming unit, configured to reclaim the allocated resource information when the detecting unit detects that the survival time of the flow table entry exceeds a preset time threshold;

所述发送单元,还用于在所述检测单元检测到所述流表表项存活时间超过所述预设时间阈值时,向所述转发设备发送流表删除消息,以使所述转发设备删除所述流表表项。The sending unit is further configured to send a flow table deletion message to the forwarding device when the detecting unit detects that the survival time of the flow table entry exceeds the preset time threshold, so that the forwarding device deletes the flow table entry. The flow table entry.

第三方面,本发明实施例再提供一种资源分配系统,所述系统包括Controller和转发设备,其中,In the third aspect, the embodiment of the present invention further provides a resource allocation system, the system includes a Controller and a forwarding device, wherein,

所述Controller,用于接收流表建立请求消息,所述流表建立请求消息包括为需要建立的流表表项分配的资源申请标识和流表表项标识,所述资源申请标识用于指示所述Controller需要分配的资源,所述流表表项标识为所述需要建立的流表表项的标识符;根据所述资源申请标识,分配资源信息,所述资源信息包括网际协议IP地址,或者,所述资源信息包括IP地址和端口;将分配的所述资源信息发送到转发设备,以使所述转发设备依据分配的所述资源信息建立所述流表表项;The Controller is configured to receive a flow table establishment request message, where the flow table establishment request message includes a resource application identifier and a flow table entry identifier allocated for the flow table entry to be established, and the resource application identifier is used to indicate the The resource that the Controller needs to allocate, the flow table entry identifier is the identifier of the flow table entry that needs to be established; according to the resource application identifier, resource information is allocated, and the resource information includes an Internet Protocol IP address, or , the resource information includes an IP address and a port; sending the allocated resource information to a forwarding device, so that the forwarding device creates the flow table entry according to the allocated resource information;

所述转发设备,用于接收所述Controller发送的所述资源信息,并根据所述资源信息建立所述流表表项。The forwarding device is configured to receive the resource information sent by the Controller, and create the flow table entry according to the resource information.

在第三方面的第一种可行实现方式中,所述系统还包括:服务器,其中所述服务器用于生成并发送流表建立请求消息;In a first possible implementation manner of the third aspect, the system further includes: a server, where the server is configured to generate and send a flow table establishment request message;

所述服务器用于生成并发送所述流表建立请求消息;The server is configured to generate and send the flow table establishment request message;

所述Controller具体用于,接收所述服务器发送的流表建立请求消息,根据所述资源申请标识,分配资源信息,将所述资源信息添加到所述流表表项标识对应的所述流表建立请求消息中,并将添加了所述资源信息的所述流表建立请求消息转发到所述转发设备,所述流表建立请求消息还包括用户属性信息,所述用户属性信息包括用户的内网源IP地址和内网源端口信息;The Controller is specifically configured to receive the flow table establishment request message sent by the server, allocate resource information according to the resource application identifier, and add the resource information to the flow table corresponding to the flow table entry identifier In the establishment request message, and forward the flow table establishment request message added with the resource information to the forwarding device, the flow table establishment request message also includes user attribute information, and the user attribute information includes user content Network source IP address and intranet source port information;

所述转发设备具体用于,接收所述Controller发送的添加了所述资源信息的所述流表建立请求消息,根据添加了所述资源信息的所述流表建立请求消息建立所述流表表项。The forwarding device is specifically configured to receive the flow table establishment request message added with the resource information sent by the Controller, and establish the flow table according to the flow table establishment request message added with the resource information item.

在第三方面的第二种可行实现方式中,所述系统还包括服务器,所述服务器,用于生成并发送流表建立消息至所述转发设备,所述流表建立消息用于指示建立流表表项,所述流表建立消息包含用户属性信息,所述用户属性信息包括用户的内网源IP地址和内网源端口信息;In a second possible implementation manner of the third aspect, the system further includes a server, the server is configured to generate and send a flow table establishment message to the forwarding device, and the flow table establishment message is used to indicate the establishment of a flow A table entry, the flow table establishment message includes user attribute information, and the user attribute information includes the user's intranet source IP address and intranet source port information;

所述转发设备,还用于接收所述服务器发送的所述流表建立消息,根据所述流表建立消息生成所述流表建立请求消息,并向所述Controller发送所述流表建立请求消息;The forwarding device is further configured to receive the flow table establishment message sent by the server, generate the flow table establishment request message according to the flow table establishment message, and send the flow table establishment request message to the Controller ;

所述Controller具体用于,接收所述转发设备发送的所述流表建立请求消息,根据所述资源申请标识,分配资源信息,并发送所述资源信息和所述流表表项标识至所述转发设备;The Controller is specifically configured to receive the flow table establishment request message sent by the forwarding device, allocate resource information according to the resource application identifier, and send the resource information and the flow table entry identifier to the Forwarding equipment;

所述转发设备具体用于,接收所述Controller发送的资源信息,根据所述资源信息建立所述流表表项。The forwarding device is specifically configured to receive the resource information sent by the Controller, and create the flow table entry according to the resource information.

通过上述技术方案提供的资源分配方法,Controller可以接收流表建立请求消息,并根据流表建立请求消息中的资源申请标识,分配资源信息,实现由控制器对各个过渡技术使用的资源的统一分配,这样各个过渡技术可以共用一个地址池,实现资源集中管理,进而在进行资源分配时可以从该共用的地址池中获取资源进行分配,避免每个过渡技术使用独立的地址池导致的资源浪费。Through the resource allocation method provided by the above technical solution, the Controller can receive the flow table creation request message, and allocate resource information according to the resource application identifier in the flow table creation request message, so as to realize the unified allocation of resources used by the transition technologies by the controller In this way, each transition technology can share one address pool to realize centralized management of resources, and then resources can be obtained from the shared address pool for allocation during resource allocation, avoiding resource waste caused by each transition technology using an independent address pool.

附图说明Description of drawings

为了更清楚地说明本发明实施例中的技术方案,下面将对实施例描述中所需要使用的附图作简单地介绍,显而易见地,下面描述中的附图仅仅是本发明的一些实施例,对于本领域普通技术人员来讲,在不付出创造性劳动性的前提下,还可以根据这些附图获得其他的附图。In order to more clearly illustrate the technical solutions in the embodiments of the present invention, the drawings that need to be used in the description of the embodiments will be briefly introduced below. Obviously, the drawings in the following description are only some embodiments of the present invention. For those skilled in the art, other drawings can also be obtained based on these drawings without any creative effort.

图1是本发明实施例提供的一种资源分配方法流程示意图;FIG. 1 is a schematic flowchart of a resource allocation method provided by an embodiment of the present invention;

图2是本发明实施例提供的一种资源分配系统的框架示意图;FIG. 2 is a schematic framework diagram of a resource allocation system provided by an embodiment of the present invention;

图3是图2所示系统的实现示意图;Fig. 3 is the realization schematic diagram of the system shown in Fig. 2;

图4是基于图3所示系统的资源分配方法流程示意图;FIG. 4 is a schematic flowchart of a resource allocation method based on the system shown in FIG. 3;

图5是本发明实施例提供的一种资源分配方法的实例图;FIG. 5 is an example diagram of a resource allocation method provided by an embodiment of the present invention;

图6是图2所示系统的实现示意图;Fig. 6 is the realization schematic diagram of the system shown in Fig. 2;

图7是基于图3所示系统的资源分配方法流程示意图;FIG. 7 is a schematic flowchart of a resource allocation method based on the system shown in FIG. 3;

图8是本发明实施例提供的一种资源分配方法的实例图;FIG. 8 is an example diagram of a resource allocation method provided by an embodiment of the present invention;

图9是本发明实施例提供的一种资源分配方法的实例图;FIG. 9 is an example diagram of a resource allocation method provided by an embodiment of the present invention;

图10是本发明实施例提供的一种资源分配方法的实例图;FIG. 10 is an example diagram of a resource allocation method provided by an embodiment of the present invention;

图11是本发明实施例提供的一种资源分配方法的流程示意图;FIG. 11 is a schematic flowchart of a resource allocation method provided by an embodiment of the present invention;

图12是本发明实施例提供的一种控制器的结构示意图;Fig. 12 is a schematic structural diagram of a controller provided by an embodiment of the present invention;

图13是本发明实施例提供的一种控制器的结构示意图。Fig. 13 is a schematic structural diagram of a controller provided by an embodiment of the present invention.

具体实施方式Detailed ways

为使本发明实施例的目的、技术方案和优点更加清楚,下面将结合本发明实施例中的附图,对本发明实施例中的技术方案进行清楚地描述,显然,所描述的实施例是本发明一部分实施例,而不是全部的实施例。基于本发明中的实施例,本领域普通技术人员在没有做出创造性劳动前提下所获得的所有其他实施例,都属于本发明保护的范围。In order to make the purpose, technical solutions and advantages of the embodiments of the present invention clearer, the technical solutions in the embodiments of the present invention will be clearly described below in conjunction with the accompanying drawings in the embodiments of the present invention. Obviously, the described embodiments are the Some, but not all, embodiments are invented. Based on the embodiments of the present invention, all other embodiments obtained by persons of ordinary skill in the art without making creative efforts belong to the protection scope of the present invention.

参见图1,本发明实施例提供了一种资源分配方法,其适用于控制转发分离网络中,可以由网络中的控制器Controller来执行所述方法,也可以是其他网络设备来执行所述方法,本发明实施例中以Controller为执行主体为例进行描述,所述方法包括:Referring to Fig. 1, an embodiment of the present invention provides a method for resource allocation, which is applicable to a control-forwarding separation network, and the method may be executed by a controller in the network, or may be executed by other network devices , in the embodiment of the present invention, the Controller is used as an example for description, and the method includes:

101:Controller接收流表建立请求消息,所述流表建立请求消息包括为需要建立的流表表项分配的资源申请标识和流表表项标识,所述资源申请标识用于指示所述Controller需要分配的资源,所述流表表项标识为所述需要建立的流表表项的标识符。101: The Controller receives a flow table establishment request message, the flow table establishment request message includes a resource application identifier and a flow table entry identifier allocated for the flow table entry to be established, and the resource application identifier is used to indicate that the Controller needs to resources allocated, the flow table entry identifier is the identifier of the flow table entry that needs to be established.

在本发明实施例中,流表建立请求消息用于指示转发设备建立流表表项,而在转发设备建立流表表项之前,需要由Controller为流表表项的分配资源信息,因此在本发明实施例中,流表建立请求消息可以包括:为需要建立的流表表项分配的资源申请标识和流表表项标识。In the embodiment of the present invention, the flow table establishment request message is used to instruct the forwarding device to establish a flow table entry, and before the forwarding device establishes a flow table entry, the Controller needs to allocate resource information for the flow table entry, so in this In the embodiment of the invention, the flow table establishment request message may include: a resource application identifier and a flow table entry identifier allocated for the flow table entry to be established.

其中,资源申请标识用于指示Controller需要分配的资源,流表表项标识为需要建立的流表表项的标识符。流表建立请求消息的一种可行报文格式如表1所示。Wherein, the resource application identifier is used to indicate the resource that needs to be allocated by the Controller, and the flow table entry identifier is an identifier of the flow table entry that needs to be established. A possible message format of the flow table establishment request message is shown in Table 1.

表1 流表建立请求消息的报文格式Table 1 The message format of the flow table establishment request message

其中:流表操作类型表示当前对流表的操作:数字0表示请求建立流表操作,数字1表示请求删除流表操作;操作序号为流表表项标识的一种可行方式;流表属性表示操作的流表的类型:数字0表示单向流表,数字1表示双向流表;表项属性表示表项的状态:数字0表示已分配表项,数字1则表示未分配表项。Among them: the flow table operation type indicates the current operation on the flow table: the number 0 indicates a request to establish a flow table operation, and the number 1 indicates a request to delete a flow table operation; the operation sequence number is a feasible way to identify the flow table entry; the flow table attribute indicates the operation The type of the flow table: the number 0 indicates a one-way flow table, and the number 1 indicates a two-way flow table; the item attribute indicates the state of the item: the number 0 indicates an allocated item, and the number 1 indicates an unassigned item.

而表项内容则表示该表项包括的具体内容,可以包括用于指示Controller需要分配资源的资源申请标识,当Controller为不同过渡技术的APP分配资源时,资源申请标识不同,因此不同过渡技术的APP对应的表项内容不同。The content of the entry indicates the specific content included in the entry, which may include the resource application identifier used to indicate that the Controller needs to allocate resources. When the Controller allocates resources for apps with different transition technologies, the resource application identifiers are different, so the resource application identifiers of different transition technologies The contents of the entries corresponding to APP are different.

在一些示例中,资源申请标识可以包括IP地址;在另一些示例中,资源申请标识可以包括IP地址和端口。如在为NAT44过渡技术的APP分配资源时,该表项内容如表2所示,其可以包括:内网源IP地址、内网源端口、外网源IP地址和外网源端口。In some examples, the resource application identifier may include an IP address; in other examples, the resource application identifier may include an IP address and a port. For example, when allocating resources for the APP of the NAT44 transition technology, the content of the entry is as shown in Table 2, which may include: the source IP address of the internal network, the source port of the internal network, the source IP address of the external network and the source port of the external network.

表2 NAT44对应的表项内容Table 2 Contents of entries corresponding to NAT44

内网源IP地址Intranet source IP address 内网源端口Intranet source port 外网源IP地址External network source IP address 外网源端口External network source port 192.168.1.1192.168.1.1 25002500 待分配to be assigned 待分配to be allocated

其中,内网源IP地址和内网源端口为用户属性信息,其已被NAT44的APP所在服务器分配,外网源IP地址和外网源端口为Controller需要分配的资源信息。Among them, the internal network source IP address and internal network source port are user attribute information, which have been allocated by the server where the NAT44 APP is located, and the external network source IP address and external network source port are the resource information that the Controller needs to allocate.

如在为DS-Lite这个过渡技术的APP分配资源时,表项内容可以包括:IPv6源地址、内网源IP地址、内网源端口、外网源IP地址和外网源端口,如表3所示;For example, when allocating resources for DS-Lite, which is a transitional technology app, the table items can include: IPv6 source address, intranet source IP address, intranet source port, external network source IP address, and external network source port, as shown in Table 3 shown;

表3 DS-Lite对应的表项内容Table 3 Contents of entries corresponding to DS-Lite

IPv6源地址IPv6 source address 内网源IP地址Intranet source IP address 内网源端口Intranet source port 外网源IP地址External network source IP address 外网源端口External network source port 2008::12008::1 192.168.1.1192.168.1.1 25002500 待分配to be assigned 待分配to be assigned

其中,IPv6源地址、内网源IP地址和内网源端口为用户属性信息,其已被DS-Lite的APP所在服务器分配,外网源IP地址和外网源端口为Controller需要分配的资源信息。Among them, the IPv6 source address, intranet source IP address and intranet source port are user attribute information, which have been allocated by the server where the DS-Lite APP is located, and the external network source IP address and external network source port are the resource information that the Controller needs to allocate .

同样,在为LW4over6过渡技术的APP分配资源时,表项内容可以包括:IPv6源地址、外网源IP地址和外网源端口段。Similarly, when allocating resources for the APP of the LW4over6 transition technology, the content of the entry may include: IPv6 source address, external network source IP address and external network source port segment.

102:据所述资源申请标识,分配资源信息,所述资源信息包括网际协议IP地址,或者,所述资源信息包括IP地址和端口;102: Allocate resource information according to the resource application identifier, where the resource information includes an Internet Protocol IP address, or, the resource information includes an IP address and a port;

103:将分配的所述资源信息发送到转发设备,以使所述转发设备依据分配的所述资源信息建立所述流表表项。103: Send the allocated resource information to the forwarding device, so that the forwarding device creates the flow table entry according to the allocated resource information.

Controller在接收到流表建立请求消息后,根据资源申请标识分配对应的资源信息,如为NAT44过渡技术的APP分配外网源IP地址和外网源端口。这样转发设备在得到资源信息后可以启动建立流表表项的操作,完成流表表项的建立,其中流表表项相当于一个转发规则,通过查询流表表项可以获取每个数据包的转发目的地,根据流表表项对数据包进行转发。After receiving the flow table creation request message, the Controller allocates the corresponding resource information according to the resource application identifier, such as allocating the external network source IP address and external network source port for the APP of the NAT44 transition technology. In this way, the forwarding device can start the operation of establishing the flow table entry after obtaining the resource information, and complete the establishment of the flow table entry. The flow table entry is equivalent to a forwarding rule, and the information of each data packet can be obtained by querying the flow table entry. The forwarding destination forwards the data packet according to the flow table entry.

在本发明实施例提供的资源分配方法中,Controller可以接收流表建立请求消息,并根据流表建立请求消息中的资源申请标识,分配资源信息,实现由控制器对各个过渡技术使用的资源的统一分配,这样各个过渡技术可以共用一个地址池,实现资源集中管理,进而在进行资源分配时可以从该共用的地址池中获取资源进行分配,避免每个过渡技术使用独立的地址池导致的资源浪费。并且Controller对各个过渡技术使用的资源统一管理,那么各个APP可以不再集成资源分配功能,降低每个APP的编写难度。In the resource allocation method provided by the embodiment of the present invention, the Controller can receive the flow table establishment request message, and allocate resource information according to the resource application identifier in the flow table establishment request message, so as to realize the allocation of resources used by each transition technology by the controller. Unified allocation, so that each transition technology can share one address pool to achieve centralized management of resources, and then resources can be obtained from the shared address pool for allocation during resource allocation, avoiding resources caused by each transition technology using an independent address pool waste. And the Controller manages the resources used by each transition technology in a unified manner, so each APP can no longer integrate the resource allocation function, reducing the difficulty of writing each APP.

参见图2,本发明实施例提供了一种资源分配系统200,该系统包括Controller212和转发设备213,其中,Referring to FIG. 2 , an embodiment of the present invention provides a resource allocation system 200, which includes a Controller 212 and a forwarding device 213, wherein,

所述Controller212,用于接收流表建立请求消息,所述流表建立请求消息包括为需要建立的流表表项分配的资源申请标识和流表表项标识,所述资源申请标识用于指示所述Controller需要分配的资源,所述流表表项标识为所述需要建立的流表表项的标识符;根据所述资源申请标识,分配资源信息,所述资源信息包括网际协议IP地址,或者,所述资源信息包括IP地址和端口;将分配的所述资源信息发送到转发设备,以使所述转发设备依据分配的所述资源信息建立所述流表表项;The Controller 212 is configured to receive a flow table establishment request message, the flow table establishment request message includes a resource application identifier and a flow table entry identifier allocated for the flow table entry to be established, and the resource application identifier is used to indicate the The resource that the Controller needs to allocate, the flow table entry identifier is the identifier of the flow table entry that needs to be established; according to the resource application identifier, resource information is allocated, and the resource information includes an Internet Protocol IP address, or , the resource information includes an IP address and a port; sending the allocated resource information to a forwarding device, so that the forwarding device creates the flow table entry according to the allocated resource information;

所述转发设备213,用于接收所述Controller212发送的所述资源信息,并根据所述资源信息建立所述流表表项。The forwarding device 213 is configured to receive the resource information sent by the Controller 212, and create the flow table entry according to the resource information.

可选地,该系统还包括:Optionally, the system also includes:

第一服务器,用于生成并发送所述流表建立请求消息;The first server is configured to generate and send the flow table establishment request message;

所述Controller212具体用于,接收所述第一服务器发送的流表建立请求消息,根据所述资源申请标识,分配资源信息,将所述资源信息添加到所述流表表项标识对应的所述流表建立请求消息中,并将添加了所述资源信息的所述流表建立请求消息转发到所述转发设备213,所述流表建立请求消息还包括用户属性信息,所述用户属性信息包括用户的内网源IP地址和内网源端口信息;The Controller 212 is specifically configured to receive the flow table establishment request message sent by the first server, allocate resource information according to the resource application identifier, and add the resource information to the flow table entry identifier corresponding to the In the flow table establishment request message, and forward the flow table establishment request message added with the resource information to the forwarding device 213, the flow table establishment request message also includes user attribute information, and the user attribute information includes User's intranet source IP address and intranet source port information;

所述转发设备213具体用于,接收所述Controller212发送的添加了所述资源信息的所述流表建立请求消息,根据添加了所述资源信息的所述流表建立请求消息建立所述流表表项。The forwarding device 213 is specifically configured to receive the flow table establishment request message added with the resource information sent by the Controller 212, and establish the flow table according to the flow table establishment request message added with the resource information entry.

可选地,该系统还包括:Optionally, the system also includes:

第二服务器,用于生成并发送流表建立消息至所述转发设备,所述流表建立消息用于指示建立流表表项,所述流表建立消息包含用户属性信息,所述用户属性信息包括用户的内网源IP地址和内网源端口信息;The second server is configured to generate and send a flow table establishment message to the forwarding device, the flow table establishment message is used to indicate establishment of a flow table entry, the flow table establishment message includes user attribute information, and the user attribute information Including the user's intranet source IP address and intranet source port information;

所述转发设备213,还用于接收所述第二服务器发送的所述流表建立消息,根据所述流表建立消息生成所述流表建立请求消息,并向所述Controller发送所述流表建立请求消息;The forwarding device 213 is further configured to receive the flow table establishment message sent by the second server, generate the flow table establishment request message according to the flow table establishment message, and send the flow table to the Controller Create a request message;

所述Controller212具体用于,接收所述转发设备发送的所述流表建立请求消息,根据所述资源申请标识,分配资源信息,并发送所述资源信息和所述流表表项标识至所述转发设备;The Controller 212 is specifically configured to receive the flow table establishment request message sent by the forwarding device, allocate resource information according to the resource application identifier, and send the resource information and the flow table entry identifier to the Forwarding equipment;

所述转发设备213具体用于,接收所述Controller212发送的资源信息,根据所述资源信息建立所述流表表项.The forwarding device 213 is specifically configured to receive the resource information sent by the Controller 212, and establish the flow table entry according to the resource information.

参见图3,图3为图2所示系统的一种实现示意图。在该系统中包括:服务器311、Controller312和转发设备313,其中服务器311上集成有各种过渡技术的APP,其可以生成并发送流表建立请求消息;Referring to FIG. 3 , FIG. 3 is a schematic diagram of an implementation of the system shown in FIG. 2 . The system includes: a server 311, a Controller 312, and a forwarding device 313, wherein the server 311 is integrated with APPs of various transition technologies, which can generate and send flow table establishment request messages;

Controller312,用于接收服务器311发送的流表建立请求消息,根据流表建立请求消息中的资源申请标识分配对应的资源信息,并将分配的资源信息添加至流表建立请求消息中,并将添加了改资源信息的流表哦建立请求消息发送至转发设备313;Controller 312, configured to receive the flow table establishment request message sent by the server 311, allocate corresponding resource information according to the resource application identifier in the flow table establishment request message, and add the allocated resource information to the flow table establishment request message, and add Change the flow table of the resource information and send the establishment request message to the forwarding device 313;

转发设备313,用于接收所述Controller312发送的添加了资源信息的流表建立请求消息,根据该添加了资源信息的流表建立请求消息建立流表表项。The forwarding device 313 is configured to receive the flow table establishment request message added with resource information sent by the Controller 312, and establish a flow table entry according to the flow table establishment request message added with resource information.

在图3所示的系统框架中,Controller312可以包括地址池管理接口,并存储有地址池,其中地址池中集成有各个过渡技术使用的资源,并且Controller312可以通过地址池管理接口连接运行各个过渡技术APP的服务器311和转发设备313,并且进一步通过地址池管理接口从地址池中获取资源信息。In the system framework shown in Figure 3, Controller 312 may include an address pool management interface and store address pools, wherein resources used by various transition technologies are integrated in the address pool, and Controller 312 may connect and run various transition technologies through the address pool management interface APP server 311 and forwarding device 313, and further obtain resource information from the address pool through the address pool management interface.

当基于图3所示的系统框架,本发明实施例提供的资源分配方法可以参见图4所示,包括以下步骤:When based on the system framework shown in Figure 3, the resource allocation method provided by the embodiment of the present invention can be referred to as shown in Figure 4, including the following steps:

401:接收服务器发送的流表建立请求消息,所述流表建立请求消息包括为需要建立的流表表项分配的资源申请标识和流表表项标识,所述资源申请标识用于指示所述Controller需要分配的资源,所述流表表项标识为所述需要建立的流表表项的标识符。401: Receive a flow table establishment request message sent by the server, the flow table establishment request message includes a resource application identifier and a flow table entry identifier allocated for the flow table entry to be established, and the resource application identifier is used to indicate the The controller needs to allocate resources, and the flow table entry identifier is the identifier of the flow table entry that needs to be established.

在本发明实施例中,流表建立请求消息用于指示转发设备建立流表表项,而在转发设备建立流表表项之前,需要由Controller为流表表项的建立分配资源信息。In the embodiment of the present invention, the flow table establishment request message is used to instruct the forwarding device to establish the flow table entry, and before the forwarding device establishes the flow table entry, the Controller needs to allocate resource information for the establishment of the flow table entry.

其中,该资源申请标识用于指示Controller需要分配的资源,在一些示例中,资源申请标识可以包括IP地址,在另一些示例中,资源申请标识可以包括IP地址和端口。Wherein, the resource application identifier is used to indicate the resource to be allocated by the Controller. In some examples, the resource application identifier may include an IP address, and in other examples, the resource application identifier may include an IP address and a port.

流表表项标识为需要建立的流表表项的标识符,其可以为表1所示的报文格式中的操作序号。用户属性信息包括在流表建立请求消息的表项内容中,表示由过渡技术的APP分配的资源信息。在一些示例中,用户属性信息可以包括内网源IP地址和内网源端口。The flow table entry identifier is the identifier of the flow table entry that needs to be established, which may be the operation sequence number in the message format shown in Table 1. The user attribute information is included in the entry content of the flow table establishment request message, and represents the resource information allocated by the APP of the transition technology. In some examples, the user attribute information may include an intranet source IP address and an intranet source port.

流表建立请求消息的具体格式以及其包括的表项内容的具体格式请参阅表1至表3所示,本发明实施例不再进行列举。Please refer to Table 1 to Table 3 for the specific format of the flow table establishment request message and the specific format of the table item content included therein, which will not be listed in the embodiment of the present invention.

402:根据所述资源申请标识,分配资源信息,所述资源信息包括IP地址,或者,所述资源信息包括IP地址和端口。402: Allocate resource information according to the resource application identifier, where the resource information includes an IP address, or the resource information includes an IP address and a port.

在本发明实施例中,Controller312通过地址池管理接口接收服务器发送的流表建立请求消息,并进一步通过地址池管理接口从地址池中获取资源信息。In the embodiment of the present invention, the Controller 312 receives the flow table establishment request message sent by the server through the address pool management interface, and further obtains resource information from the address pool through the address pool management interface.

403:将所述资源信息添加到所述流表表项标识对应的所述流表建立请求消息中,并将添加了所述资源信息的所述流表建立请求消息转发到转发设备,以使所述转发设备根据添加了所述资源信息的所述流表建立请求消息建立所述流表表项。403: Add the resource information to the flow table establishment request message corresponding to the flow table entry identifier, and forward the flow table establishment request message with the resource information added to the forwarding device, so that The forwarding device establishes the flow table entry according to the flow table establishment request message added with the resource information.

Controller312将添加了资源信息的流表建立请求消息通过地址池管理接口发送至转发设备313中,转发设备313根据添加了资源信息的流表建立请求消息启动流表表项建立操作,开始进行流表表项的建立。Controller 312 sends the flow table creation request message with added resource information to forwarding device 313 through the address pool management interface, and forwarding device 313 starts the flow table entry creation operation according to the flow table creation request message with added resource information, and starts the flow table Table entry creation.

参见图5,本发明实施例提供的一种资源分配方法的示例图,其中Controller接收服务器发送的流表建立请求消息,该服务器上运行NAT44APP,该流表建立请求消息包含用户属性信息,该用户属性信息包括内网源IP地址192.168.1.1和内网源端口2500,流表建立请求消息还包括资源申请标识——待分配的外网源IP地址和待分配的外网源端口。Controller在接收到该流表建立请求消息后,分配对应该资源申请标识的资源信息,该资源信息包括外网源IP地址202.1.1.1和外网源端口5000。Controller将分配的该资源信息添加到流表建立请求消息中,并将添加了该资源信息的流表建立请求消息发送到转发设备,该转发设备根据该流表建立请求消息建立流表转发表项,该流表转发表项包括该用户属性信息和该资源信息。Referring to FIG. 5 , an example diagram of a resource allocation method provided by an embodiment of the present invention, wherein the Controller receives a flow table establishment request message sent by a server, the server runs NAT44APP, and the flow table establishment request message includes user attribute information, and the user The attribute information includes the internal network source IP address 192.168.1.1 and the internal network source port 2500, and the flow table establishment request message also includes the resource application identifier—the external network source IP address to be allocated and the external network source port to be allocated. After receiving the flow table creation request message, the Controller allocates resource information corresponding to the resource application identifier, and the resource information includes the external network source IP address 202.1.1.1 and the external network source port 5000. The Controller adds the allocated resource information to the flow table establishment request message, and sends the flow table establishment request message added with the resource information to the forwarding device, and the forwarding device establishes a flow table forwarding entry according to the flow table establishment request message , the flow table forwarding entry includes the user attribute information and the resource information.

参见图6所示,图6为图3所示系统的一种实现示意图,在该系统中包括:服务器621、控制器Controller622和转发设备623,其中,Referring to FIG. 6, FIG. 6 is a schematic diagram of an implementation of the system shown in FIG. 3, which includes: a server 621, a controller Controller 622, and a forwarding device 623, wherein,

服务器621,用于生成并发送流表建立消息至所述转发设备,所述流表建立消息用于指示建立流表表项,所述流表建立消息包含用户属性信息,所述用户属性信息包括用户的内网源IP地址和内网源端口信息。The server 621 is configured to generate and send a flow table establishment message to the forwarding device, the flow table establishment message is used to indicate establishment of a flow table entry, the flow table establishment message includes user attribute information, and the user attribute information includes User's intranet source IP address and intranet source port information.

转发设备623,用于接收服务器621发送的所述流表建立消息,根据所述流表建立消息生成所述流表建立请求消息,并向所述Controller发送所述流表建立请求消息;The forwarding device 623 is configured to receive the flow table establishment message sent by the server 621, generate the flow table establishment request message according to the flow table establishment message, and send the flow table establishment request message to the Controller;

Controller622,用于接收转发设备623发送的流表建立请求消息,根据该流表建立请求消息中的资源申请标识分配资源信息,并将分配的资源信息发送至转发设备623,由转发设备623依据资源信息建立流表表项。The Controller 622 is configured to receive the flow table establishment request message sent by the forwarding device 623, allocate resource information according to the resource application identifier in the flow table establishment request message, and send the allocated resource information to the forwarding device 623, and the forwarding device 623 according to the resource information to create flow table entries.

在图6所示的系统框架中,Controller622可以包括地址池管理接口,并存储有地址池,其中地址池集成有各个过渡技术使用的资源,并且Controller622可以通过地址池管理接口连接转发设备623,并且进一步通过地址池管理接口调用地址池中的资源。In the system framework shown in FIG. 6, the Controller 622 may include an address pool management interface and store an address pool, where the address pool integrates resources used by various transition technologies, and the Controller 622 may connect to the forwarding device 623 through the address pool management interface, and The resources in the address pool are further invoked through the address pool management interface.

当基于图6所示的系统,本发明实施例提供的资源分配方法可以参见图7所示,可以包括以下步骤:When based on the system shown in FIG. 6, the resource allocation method provided by the embodiment of the present invention can be referred to as shown in FIG. 7, and may include the following steps:

701:接收转发设备发送的流表建立请求消息。701: Receive a flow table establishment request message sent by the forwarding device.

该流表建立请求消息可以由转发设备根据从服务器接收的流表建立消息生成。该流表建立消息用于指示建立流表表项,所述流表建立消息包含用户属性信息,所述用户属性信息包括用户的内网源IP地址和内网源端口信息。该流表建立消息格式可以参见表1至表3所示。转发设备在得到该流表建立消息后,去除除资源申请标识之外的其他信息,生成流表建立请求消息,并将该流表建立请求消息发送至Controller中。The flow table establishment request message may be generated by the forwarding device according to the flow table establishment message received from the server. The flow table establishment message is used to indicate establishment of a flow table entry, and the flow table establishment message includes user attribute information, and the user attribute information includes the user's intranet source IP address and intranet source port information. The format of the flow table establishment message may refer to Table 1 to Table 3. After obtaining the flow table establishment message, the forwarding device removes other information except the resource application identifier, generates a flow table establishment request message, and sends the flow table establishment request message to the Controller.

Controller接收到的流表建立请求消息中资源申请标识用于指示Controller分配的资源信息。The resource application identifier in the flow table establishment request message received by the Controller is used to indicate resource information allocated by the Controller.

702:根据资源申请标识,分配资源信息。702: Allocate resource information according to the resource application identifier.

703:发送资源信息和流表表项标识至转发设备,由转发设备依据资源信息建立流表表项。703: Send the resource information and the identifier of the flow table entry to the forwarding device, and the forwarding device creates a flow table entry according to the resource information.

在该示例中,Controller通过地址池管理接口接收转发设备发送的流表建立请求消息,并进一步通过地址池管理接口从地址池中获取地址池中对应资源申请标识的资源信息,再将该资源信息发送至转发设备,由转发设备依据资源信息以及从流表建立消息中得到的用户属性信息共同建立流表表项。In this example, the Controller receives the flow table creation request message sent by the forwarding device through the address pool management interface, and further obtains the resource information corresponding to the resource application identifier in the address pool from the address pool through the address pool management interface, and then the resource information It is sent to the forwarding device, and the forwarding device jointly builds the flow table entry according to the resource information and the user attribute information obtained from the flow table establishment message.

在基于图6所示的系统框架,应用图7提供的资源分配方法的一种实例可以参阅图8所示,其示出了Controller旁挂在转发设备的情况下,如何为NAT44过渡技术的APP分配资源信息的过程。其中旁挂是指Controller通过地址池管理接口连接转发设备这一连接方式。Based on the system framework shown in Figure 6, an example of applying the resource allocation method provided in Figure 7 can be referred to in Figure 8, which shows how to use the NAT44 transition technology APP when the Controller is bypassed on the forwarding device The process of assigning resource information. The bypass refers to the connection mode that the Controller connects to the forwarding device through the address pool management interface.

在上述提供的实施例中,流表建立请求消息为填表式流表建立请求消息,填表式流表建立请求消息具体为:在流表建立请求消息中预先预留用于存放资源信息的存储空间,Controller将分配的资源信息填写到对应的资源信息的存储空间内。如表2所示,在表2中外网源IP地址和外网源端口为需要分配的资源信息,其在报文中对应的空间即是流表建立请求消息预先预留用于存放这两个信息的存储空间。In the embodiments provided above, the flow table establishment request message is a form-filling flow table establishment request message, and the form-filling flow table establishment request message is specifically: the resource information reserved in advance in the flow table establishment request message Storage space, the Controller fills in the allocated resource information into the storage space of the corresponding resource information. As shown in Table 2, in Table 2, the source IP address of the external network and the source port of the external network are the resource information that needs to be allocated, and the corresponding space in the message is the flow table establishment request message reserved in advance to store these two Information storage space.

在本发明实施例中,Controller可以将分配的资源信息填写到对应的资源信息的存储空间内的方式可以称为填表式的请求分配资源的方式,这种方式在Controller分配资源后可以直接将资源信息添加至流表表项的表项内容,使得转发设备在建立流表表项时,可以直接将用户属性信息和资源信息直接从流表建立请求消息中提取出得到一个流表表项,从而简化流表表项建立过程,提高效率。In the embodiment of the present invention, the way that the Controller can fill in the allocated resource information into the storage space of the corresponding resource information can be called a form-filling way of requesting resource allocation. In this way, after the Controller allocates resources, the The resource information is added to the entry content of the flow table entry, so that when the forwarding device establishes the flow table entry, it can directly extract the user attribute information and resource information from the flow table creation request message to obtain a flow table entry. In this way, the process of establishing flow table entries is simplified and efficiency is improved.

在本发明实施例提供的其他示例中,Controller在分配资源的过程中,还可以进一步对转发设备得到的流表表项进行监控。如图9和图10所示,其中图9示出了Controller在图3所示的系统框架中进行资源分配、流表删除及回收的流程,而图10示出了Controller基于图6所示框架进行资源分配、流表删除及回收的流程。In other examples provided by the embodiments of the present invention, the Controller may further monitor the flow table entries obtained by the forwarding device during the process of allocating resources. As shown in Figures 9 and 10, Figure 9 shows the process of the Controller performing resource allocation, flow table deletion, and recycling in the system framework shown in Figure 3, and Figure 10 shows the Controller's process based on the framework shown in Figure 6 Processes for resource allocation, flow table deletion, and recycling.

相应的,本发明实施例提供的资源分配方法在图1基础上,还可以进一步包括步骤104:Correspondingly, on the basis of Figure 1, the resource allocation method provided by the embodiment of the present invention may further include step 104:

Controller当检测到流表表项存活时间超过预设时间阈值时,回收分配的资源信息,并向转发设备发送流表删除消息,以使转发设备删除流表表项,如图11所示。When the controller detects that the survival time of the flow table entry exceeds the preset time threshold, it reclaims the allocated resource information and sends a flow table deletion message to the forwarding device, so that the forwarding device deletes the flow table entry, as shown in Figure 11.

其中预设时间阈值的设置可以根据不同应用场景而不同,对此本发明实施例不加以限制。Controller通过应用本发明实施提供的资源分配方法通过对流表表项的监控可以将预设时间阈值内未使用的资源信息回收,避免该资源信息长时间未使用导致的资源浪费,进一步提高资源的合理利用。The setting of the preset time threshold may be different according to different application scenarios, which is not limited in this embodiment of the present invention. By applying the resource allocation method provided by the present invention, the controller can reclaim unused resource information within the preset time threshold by monitoring the flow table entries, avoid resource waste caused by long-term unused resource information, and further improve the rationality of resources. use.

参见图12,本发明实施例还提供一种Controller1200,适用于控制转发分离网络中,该Controller1200可以用于执行前述方法实施例中的方法,该Controller1200可以包括:Referring to FIG. 12, the embodiment of the present invention also provides a Controller 1200, which is suitable for a control-forwarding separation network. The Controller 1200 can be used to execute the method in the foregoing method embodiment. The Controller 1200 can include:

接收单元1211、分配单元1212和发送单元1213。其中,A receiving unit 1211 , an allocating unit 1212 and a sending unit 1213 . in,

接收单元1211,用于接收流表建立请求消息,所述流表建立请求消息包括为需要建立的流表表项分配的资源申请标识和流表表项标识,所述资源申请标识用于指示所述Controller1200需要分配的资源,所述流表表项标识为所述需要建立的流表表项的标识符;The receiving unit 1211 is configured to receive a flow table establishment request message, the flow table establishment request message includes a resource application identifier and a flow table entry identifier allocated for the flow table entry to be established, and the resource application identifier is used to indicate the The resource that needs to be allocated by the Controller 1200, the flow table entry identifier is the identifier of the flow table entry that needs to be established;

分配单元1212,用于根据所述资源申请标识,分配资源信息,所述资源信息包括网际协议IP地址,或者,所述资源信息包括IP地址和端口;An allocating unit 1212, configured to allocate resource information according to the resource application identifier, where the resource information includes an Internet Protocol IP address, or the resource information includes an IP address and a port;

发送单元1213,用于将分配的所述资源信息发送到转发设备,以使所述转发设备依据分配的所述资源信息建立所述流表表项。The sending unit 1213 is configured to send the allocated resource information to the forwarding device, so that the forwarding device creates the flow table entry according to the allocated resource information.

可选地,所述接收单元1211接收流表建立请求消息具体包括:Optionally, the receiving unit 1211 receiving the flow table establishment request message specifically includes:

接收服务器发送的所述流表建立请求消息,所述流表建立请求消息还包括用户属性信息,所述用户属性信息包括用户的内网源IP地址和内网源端口信息。其中,流表表项标识为需要建立的流表表项的标识符,资源申请标识用于指示Controller1200需要分配的资源。The flow table establishment request message sent by the server is received, and the flow table establishment request message further includes user attribute information, and the user attribute information includes the user's intranet source IP address and intranet source port information. Wherein, the flow table entry identifier is an identifier of the flow table entry that needs to be established, and the resource application identifier is used to indicate the resource that the Controller 1200 needs to allocate.

所述发送单元1213将分配的所述资源信息发送到转发设备,具体包括:The sending unit 1213 sends the allocated resource information to the forwarding device, specifically including:

将所述资源信息添加到所述流表表项标识对应的所述流表建立请求消息中,并将添加了所述资源信息的所述流表建立请求消息转发到转发设备。Adding the resource information to the flow table establishment request message corresponding to the flow table entry identifier, and forwarding the flow table establishment request message added with the resource information to the forwarding device.

在本发明实施例提供的资源分配方法中,Controller1200可以接收流表建立请求消息,并根据流表建立请求消息中的资源申请标识,分配资源信息,实现由Controller1200对各个过渡技术使用的资源的统一分配,这样各个过渡技术可以共用一个地址池,实现资源集中管理,进而在进行资源分配时可以从该共用的地址池中获取资源进行分配,避免每个过渡技术使用独立的地址池导致的资源浪费。并且Controller1200对各个过渡技术使用的资源统一管理,那么各个APP可以不再集成资源分配功能,降低每个APP的编写难度。In the resource allocation method provided by the embodiment of the present invention, the Controller 1200 can receive the flow table establishment request message, and allocate resource information according to the resource application identifier in the flow table establishment request message, so as to realize the unification of the resources used by the various transition technologies by the Controller 1200 Allocation, so that each transition technology can share one address pool to realize centralized management of resources, and then can obtain resources from the shared address pool for allocation during resource allocation, avoiding resource waste caused by each transition technology using an independent address pool . Moreover, the Controller1200 manages the resources used by each transition technology in a unified manner, so that each APP can no longer integrate the resource allocation function, reducing the difficulty of writing each APP.

可选地,所述接收单元1211接收流表建立请求消息具体包括:Optionally, the receiving unit 1211 receiving the flow table establishment request message specifically includes:

接收所述转发设备发送的所述流表建立请求消息;receiving the flow table establishment request message sent by the forwarding device;

所述发送单元1213将分配的所述资源信息发送到转发设备,具体包括:The sending unit 1213 sends the allocated resource information to the forwarding device, specifically including:

发送所述资源信息和所述流表表项标识至所述转发设备,由所述转发设备依据所述资源信息建立所述流表表项。Sending the resource information and the flow table entry identifier to the forwarding device, and the forwarding device creates the flow table entry according to the resource information.

可选地,所述流表建立请求消息为填表式流表建立请求消息,所述填表式流表建立请求消息具体为:在所述流表建立请求消息中预先预留用于存放所述资源信息的存储空间,在所述Controller1200将分配的所述资源信息后,将所述资源信息填写到对应的所述资源信息的存储空间内。Optionally, the flow table establishment request message is a form-filling flow table establishment request message, and the form-filling flow table establishment request message specifically includes: pre-reserving in the flow table establishment request message for storing The resource information storage space, after the Controller 1200 allocates the resource information, fills the resource information into the corresponding resource information storage space.

可选地,所述Controller1200还包括:Optionally, the Controller1200 also includes:

检测单元,用于检测所述流表表项存活时间;a detection unit, configured to detect the survival time of the flow table entry;

回收单元,用于在所述检测单元检测到所述流表表项存活时间超过预设时间阈值时,回收所述分配的所述资源信息;A reclaiming unit, configured to reclaim the allocated resource information when the detecting unit detects that the survival time of the flow table entry exceeds a preset time threshold;

所述发送单元1213,还用于在所述检测单元检测到所述流表表项存活时间超过所述预设时间阈值时,向所述转发设备发送流表删除消息,以使所述转发设备删除所述流表表项。其中预设时间阈值的设置可以根据不同应用场景而不同,对此本发明实施例不加以限制。控制器Controller通过对流表表项的监控可以将预设时间阈值内未使用的资源信息回收,避免该资源信息长时间未使用导致的资源浪费,进一步提高资源的合理利用。The sending unit 1213 is further configured to send a flow table deletion message to the forwarding device when the detection unit detects that the survival time of the flow table entry exceeds the preset time threshold, so that the forwarding device Delete the flow table entry. The setting of the preset time threshold may be different according to different application scenarios, which is not limited in this embodiment of the present invention. The controller can recycle unused resource information within the preset time threshold by monitoring the flow table entries, avoiding resource waste caused by long-term unused resource information, and further improving the rational utilization of resources.

参见图13,本发明实施例还提供一种Controller1300,适用于控制转发分离网络中,该Controller1300包括:存储器1301、接收器1302和发送器1303,以及分别与存储器1301、接收器1302和发送器1303连接的处理器1304,所述存储器1301用于存储一组程序指令,所述处理器1304用于调用所述存储器1301存储的程序指令执行如下操作:Referring to Fig. 13, the embodiment of the present invention also provides a Controller 1300, which is suitable for a control-forwarding separation network. The Controller 1300 includes: a memory 1301, a receiver 1302, and a transmitter 1303, and a A connected processor 1304, the memory 1301 is used to store a set of program instructions, and the processor 1304 is used to call the program instructions stored in the memory 1301 to perform the following operations:

触发接收器1302接收流表建立请求消息,所述流表建立请求消息包括为需要建立的流表表项分配的资源申请标识和流表表项标识,所述资源申请标识用于指示所述Controller1300需要分配的资源,所述流表表项标识为所述需要建立的流表表项的标识符;The trigger receiver 1302 receives a flow table establishment request message, the flow table establishment request message includes a resource application identifier and a flow table entry identifier allocated for the flow table entry to be established, and the resource application identifier is used to indicate that the Controller 1300 resources that need to be allocated, and the flow table entry identifier is the identifier of the flow table entry that needs to be established;

根据所述资源申请标识,分配资源信息,所述资源信息包括网际协议IP地址,或者,所述资源信息包括IP地址和端口;Allocating resource information according to the resource application identifier, where the resource information includes an Internet Protocol IP address, or, the resource information includes an IP address and a port;

触发所述发送器1303将分配的所述资源信息发送到转发设备,以使所述转发设备依据分配的所述资源信息建立所述流表表项。The sender 1303 is triggered to send the allocated resource information to the forwarding device, so that the forwarding device creates the flow table entry according to the allocated resource information.

可选地,所述接收器1302接收流表建立请求消息包括:Optionally, receiving the flow table establishment request message by the receiver 1302 includes:

接收服务器发送的所述流表建立请求消息,所述流表建立请求消息还包括用户属性信息,所述用户属性信息包括用户的内网源IP地址和内网源端口信息。The flow table establishment request message sent by the server is received, and the flow table establishment request message further includes user attribute information, and the user attribute information includes the user's intranet source IP address and intranet source port information.

可选地,所述发送器1303将分配的所述资源信息发送到转发设备,包括:Optionally, the sender 1303 sends the allocated resource information to the forwarding device, including:

将所述资源信息添加到所述流表表项标识对应的所述流表建立请求消息中,并将添加了所述资源信息的所述流表建立请求消息转发到转发设备。Adding the resource information to the flow table establishment request message corresponding to the flow table entry identifier, and forwarding the flow table establishment request message added with the resource information to the forwarding device.

可选地,所述接收器1302接收流表建立请求消息包括:Optionally, receiving the flow table establishment request message by the receiver 1302 includes:

接收所述转发设备发送的所述流表建立请求消息;receiving the flow table establishment request message sent by the forwarding device;

所述将分配的所述资源信息发送到转发设备,包括:The sending the allocated resource information to the forwarding device includes:

发送所述资源信息和所述流表表项标识至所述转发设备,由所述转发设备依据所述资源信息建立所述流表表项。Sending the resource information and the flow table entry identifier to the forwarding device, and the forwarding device creates the flow table entry according to the resource information.

可选地,所述处理器1304可以为中央处理器(Central Processing Unit,CPU),所述存储器1301可以为随机存取存储器(Random Access Memory,RAM)类型的内部存储器,所述接收器1302和发送器1303可以包含普通物理接口,所述物理接口可以为以太(Ethernet)接口或异步传输模式(Asynchronous Transfer Mode,ATM)接口。所述处理器1304、接收器1302、发送器1303和存储器1301可以集成为一个或多个独立的电路或硬件,如:专用集成电路(Application Specific Integrated Circuit,ASIC)。Optionally, the processor 1304 may be a central processing unit (Central Processing Unit, CPU), the memory 1301 may be an internal memory of a random access memory (Random Access Memory, RAM) type, and the receiver 1302 and The transmitter 1303 may include a common physical interface, and the physical interface may be an Ethernet (Ethernet) interface or an Asynchronous Transfer Mode (Asynchronous Transfer Mode, ATM) interface. The processor 1304, the receiver 1302, the transmitter 1303 and the memory 1301 may be integrated into one or more independent circuits or hardware, such as application specific integrated circuits (Application Specific Integrated Circuit, ASIC).

需要说明的是,本说明书中的各个实施例均采用递进的方式描述,每个实施例重点说明的都是与其他实施例的不同之处,各个实施例之间相同相似的部分互相参见即可。对于装置类实施例而言,由于其与方法实施例基本相似,所以描述的比较简单,相关之处参见方法实施例的部分说明即可。It should be noted that each embodiment in this specification is described in a progressive manner, and each embodiment focuses on the differences from other embodiments. For the same and similar parts in each embodiment, refer to each other, that is, Can. As for the device-type embodiments, since they are basically similar to the method embodiments, the description is relatively simple, and for related parts, please refer to part of the description of the method embodiments.

本领域普通技术人员可以理解:实现上述方法实施例的全部或部分步骤可以通过程序指令相关的硬件来完成,前述程序可以存储于一计算机可读取存储介质中,该程序在执行时,执行包括上述方法实施例的步骤;而前述的存储介质可以是下述介质中的至少一种:只读存储器(Read-Only Memory,简称为ROM)、RAM、磁碟或者光盘等各种可以存储程序代码的介质。Those of ordinary skill in the art can understand that all or part of the steps to realize the above method embodiments can be completed by hardware related to program instructions, and the aforementioned program can be stored in a computer-readable storage medium. When the program is executed, the execution includes: The steps of the above-mentioned method embodiment; and the aforementioned storage medium can be at least one of the following media: read-only memory (Read-Only Memory, referred to as ROM), RAM, magnetic disk or optical disk, etc. can store program codes medium.

最后应说明的是:以上实施例仅用以示例性说明本发明的技术方案,而非对其限制;尽管参照前述实施例对本发明及本发明带来的有益效果进行了详细的说明,本领域的普通技术人员应当理解:其依然可以对前述各实施例所记载的技术方案进行修改,或者对其中部分技术特征进行等同替换;而这些修改或者替换,并不使相应技术方案的本质脱离本发明权利要求的范围。Finally, it should be noted that: the above embodiments are only used to illustrate the technical solutions of the present invention, rather than to limit them; although the present invention and the beneficial effects brought by the present invention have been described in detail with reference to the foregoing embodiments, those skilled in the art Those of ordinary skill in the art should understand that: they can still modify the technical solutions described in the foregoing embodiments, or perform equivalent replacements for some of the technical features; and these modifications or replacements do not make the essence of the corresponding technical solutions deviate from the present invention Scope of Claims.

Claims (15)

1. A resource allocation method, adapted to be used in a control forwarding separation network, the method comprising:
a Controller receives a flow table establishment request message, wherein the flow table establishment request message comprises a resource application identifier and a flow table entry identifier which are allocated for a flow table entry needing to be established, the resource application identifier is used for indicating a resource needing to be allocated by the Controller, and the flow table entry identifier is an identifier of the flow table entry needing to be established;
according to the resource application identification, resource information matched with the resource application identification is distributed from the same address pool corresponding to each transition technology, wherein the resource information comprises an Internet Protocol (IP) address, or the resource information comprises an IP address and a port;
and sending the allocated resource information to forwarding equipment so that the forwarding equipment establishes the flow table entry according to the allocated resource information.
2. The method of claim 1, wherein the receiving the flow table setup request message comprises:
and receiving the flow table establishing request message sent by the server, wherein the flow table establishing request message also comprises user attribute information, and the user attribute information comprises an intranet source IP address and intranet source port information of a user.
3. The method of claim 1, wherein the sending the allocated resource information to a forwarding device comprises:
and adding the resource information into the flow table establishment request message corresponding to the flow table entry identifier, and forwarding the flow table establishment request message added with the resource information to a forwarding device.
4. The method of claim 1, wherein the receiving the flow table setup request message comprises:
receiving the flow table establishment request message sent by the forwarding device;
the sending the allocated resource information to a forwarding device includes:
and sending the resource information and the flow table entry identifier to the forwarding device, and establishing the flow table entry by the forwarding device according to the resource information.
5. The method according to any one of claims 1 to4, wherein the flow table establishment request message is a table-filling flow table establishment request message, and the table-filling flow table establishment request message is specifically: reserving a storage space for storing the resource information in the flow table establishing request message, and filling the resource information into the storage space corresponding to the resource information after the Controller allocates the resource information.
6. The method according to any one of claims 1 to4, further comprising:
when detecting that the survival time of the flow table entry exceeds a preset time threshold, recovering the allocated resource information, and sending a flow table deletion message to the forwarding device, so that the forwarding device deletes the flow table entry.
7. A Controller, wherein the Controller is adapted to control a forwarding splitting network, comprising:
a receiving unit, configured to receive a flow table establishment request message, where the flow table establishment request message includes a resource application identifier and a flow table entry identifier allocated for a flow table entry to be established, the resource application identifier is used to indicate a resource that needs to be allocated by the Controller, and the flow table entry identifier is an identifier of the flow table entry to be established;
the allocation unit is used for allocating resource information matched with the resource application identifier from the same address pool corresponding to each transition technology according to the resource application identifier, wherein the resource information comprises an Internet Protocol (IP) address, or the resource information comprises an IP address and a port;
a sending unit, configured to send the allocated resource information to a forwarding device, so that the forwarding device establishes the flow table entry according to the allocated resource information.
8. The Controller according to claim 7, wherein the receiving, by the receiving unit, the flow table establishment request message specifically includes:
and receiving the flow table establishing request message sent by the server, wherein the flow table establishing request message also comprises user attribute information, and the user attribute information comprises an intranet source IP address and intranet source port information of a user.
9. The Controller according to claim 7, wherein the sending unit sends the allocated resource information to a forwarding device, specifically comprising:
and adding the resource information into the flow table establishment request message corresponding to the flow table entry identifier, and forwarding the flow table establishment request message added with the resource information to a forwarding device.
10. The Controller according to claim 7, wherein the receiving, by the receiving unit, the flow table establishment request message specifically includes:
receiving the flow table establishment request message sent by the forwarding device;
the sending unit sends the allocated resource information to a forwarding device, and specifically includes:
and sending the resource information and the flow table entry identifier to the forwarding device, and establishing the flow table entry by the forwarding device according to the resource information.
11. The Controller according to any one of claims 7 to 10, wherein the flow table establishment request message is a table-filling flow table establishment request message, and the table-filling flow table establishment request message is specifically: and reserving a storage space for storing the resource information in the flow table establishing request message in advance, and filling the resource information into the corresponding storage space of the resource information after the Controller allocates the resource information.
12. The Controller according to any one of claims 7 to 10, wherein the Controller further comprises:
a detecting unit, configured to detect a survival time of an entry of the flow table;
a recovery unit, configured to recover the allocated resource information when the detection unit detects that the survival time of the table entry in the flow table exceeds a preset time threshold;
the sending unit is further configured to send a flow table deletion message to the forwarding device when the detecting unit detects that the survival time of the flow table entry exceeds the preset time threshold, so that the forwarding device deletes the flow table entry.
13. A resource allocation system, characterized in that the system comprises a Controller and a forwarding device, wherein,
the Controller is configured to receive a flow table establishment request message, where the flow table establishment request message includes a resource application identifier and a flow table entry identifier allocated to a flow table entry to be established, the resource application identifier is used to indicate a resource that the Controller needs to allocate, and the flow table entry identifier is an identifier of the flow table entry to be established; according to the resource application identification, resource information matched with the resource application identification is distributed from the same address pool corresponding to each transition technology, wherein the resource information comprises an Internet Protocol (IP) address, or the resource information comprises an IP address and a port; sending the allocated resource information to a forwarding device, so that the forwarding device establishes the flow table entry according to the allocated resource information;
and the forwarding device is configured to receive the resource information sent by the Controller, and establish the flow table entry according to the resource information.
14. The system of claim 13, further comprising: a server that, among other things,
the server is used for generating and sending the flow table establishing request message;
the Controller is specifically configured to receive a flow table establishment request message sent by the server, allocate resource information according to the resource application identifier, add the resource information to the flow table establishment request message corresponding to the flow table entry identifier, and forward the flow table establishment request message to which the resource information is added to the forwarding device, where the flow table establishment request message further includes user attribute information, and the user attribute information includes an intranet source IP address and intranet source port information of a user;
the forwarding device is specifically configured to receive the flow table establishment request message added with the resource information and sent by the Controller, and establish the flow table entry according to the flow table establishment request message added with the resource information.
15. The system of claim 13, further comprising a server, wherein,
the server is configured to generate and send a flow table establishment message to the forwarding device, where the flow table establishment message is used to indicate establishment of a flow table entry, the flow table establishment message includes user attribute information, and the user attribute information includes an intranet source IP address and intranet source port information of the user;
the forwarding device is further configured to receive the flow table establishment message sent by the server, generate the flow table establishment request message according to the flow table establishment message, and send the flow table establishment request message to the Controller;
the Controller is specifically configured to receive the flow table establishment request message sent by the forwarding device, allocate resource information according to the resource application identifier, and send the resource information and the flow table entry identifier to the forwarding device;
the forwarding device is specifically configured to receive the resource information sent by the Controller, and establish the flow table entry according to the resource information.
CN201410014512.3A 2014-01-13 2014-01-13 A kind of resource allocation methods, controller and system Active CN104780232B (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
CN201410014512.3A CN104780232B (en) 2014-01-13 2014-01-13 A kind of resource allocation methods, controller and system
PCT/CN2014/093880 WO2015103919A1 (en) 2014-01-13 2014-12-15 Resource allocation method, controller and system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201410014512.3A CN104780232B (en) 2014-01-13 2014-01-13 A kind of resource allocation methods, controller and system

Publications (2)

Publication Number Publication Date
CN104780232A CN104780232A (en) 2015-07-15
CN104780232B true CN104780232B (en) 2018-07-31

Family

ID=53523530

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201410014512.3A Active CN104780232B (en) 2014-01-13 2014-01-13 A kind of resource allocation methods, controller and system

Country Status (2)

Country Link
CN (1) CN104780232B (en)
WO (1) WO2015103919A1 (en)

Families Citing this family (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107666467B (en) * 2016-07-29 2020-11-06 华为技术有限公司 Resource allocation method, equipment and system
CN109120555B (en) * 2017-06-26 2022-10-14 中兴通讯股份有限公司 A resource allocation method and system
CN109218201B (en) * 2017-06-30 2021-05-18 华为技术有限公司 A method, controller and network device for generating a forwarding entry
CN109495593B (en) * 2017-09-11 2022-03-25 中兴通讯股份有限公司 Address allocation method and system
CN110012118B (en) * 2019-03-08 2022-07-22 平安科技(深圳)有限公司 Method and controller for providing Network Address Translation (NAT) service
CN112214300B (en) * 2020-10-12 2024-05-17 北京泽石科技有限公司 Method and device for processing command timeout and computer readable storage medium
CN114500028A (en) * 2022-01-21 2022-05-13 北京安天网络安全技术有限公司 Network access control method and device and computer equipment
CN117834584A (en) * 2023-12-13 2024-04-05 天翼云科技有限公司 Flow table refreshing method for network address conversion and related equipment

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103326884A (en) * 2013-05-30 2013-09-25 烽火通信科技股份有限公司 Service flow aware system and method combining flow detection and package detection in SDN
CN103369038A (en) * 2013-07-03 2013-10-23 中国联合网络通信集团有限公司 PaaS (platform as a service) management platform and method

Family Cites Families (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR100560737B1 (en) * 2003-02-18 2006-03-13 삼성전자주식회사 IPV4-IPV6 Switching Device and Method Using Dual Stack
JP4345565B2 (en) * 2003-05-13 2009-10-14 パナソニック株式会社 Mobile router, location management server, mobile network management system, and mobile network management method
US8392613B2 (en) * 2008-07-03 2013-03-05 Nokia Corporation Network address assignment

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103326884A (en) * 2013-05-30 2013-09-25 烽火通信科技股份有限公司 Service flow aware system and method combining flow detection and package detection in SDN
CN103369038A (en) * 2013-07-03 2013-10-23 中国联合网络通信集团有限公司 PaaS (platform as a service) management platform and method

Also Published As

Publication number Publication date
CN104780232A (en) 2015-07-15
WO2015103919A1 (en) 2015-07-16

Similar Documents

Publication Publication Date Title
CN104780232B (en) A kind of resource allocation methods, controller and system
CN102685272B (en) Method and device for distributing public network addresses
CN110896371B (en) Virtual network equipment and related method
CN112333298B (en) Message transmission method and device, computer equipment and storage medium
CN102594933A (en) Method, device and system for address allocation of public networks
CN111866064A (en) A method, device and system for load balancing
CN102439949A (en) Method for solving internet protocol address assignment conflict and related device and system
CN108933844B (en) Method and device for providing DHCP service
CN105430110A (en) Container configuration method and network transmission device for a virtual network system
CN102413041B (en) Method, device and system for moving security policy
CN104348928B (en) A kind of method, management equipment, request equipment and the system of distribution address resource
CN105099950A (en) Resource allocation method, message communication method and devices
CN108390956A (en) A kind of method and system for virtual machine configuration internet protocol address
CN112040030A (en) Message transmission method and device, computer equipment and storage medium
CN110445884A (en) A kind of container IP address management method and device
WO2018019216A1 (en) Ap access control
CN104426794B (en) A kind of message forwarding method and device
CN104488240A (en) Session management method, address management method and relevant device
CN111294316B (en) Network isolation method and device based on user-mode protocol stack virtual router
CN103118115B (en) Facing cloud calculates virtual machine management method and the device of user
CN106953849B (en) Data message matching method and device based on IPv6 address
CN104753852A (en) Virtualization platform and security protection method and device
CN104935614B (en) Data transmission method and device
CN108124022B (en) A network address translation management method and device
CN105471927A (en) Method for processing service routing message, and service node

Legal Events

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