WO2014179925A1 - 控制规则的处理方法及装置 - Google Patents

控制规则的处理方法及装置 Download PDF

Info

Publication number
WO2014179925A1
WO2014179925A1 PCT/CN2013/075201 CN2013075201W WO2014179925A1 WO 2014179925 A1 WO2014179925 A1 WO 2014179925A1 CN 2013075201 W CN2013075201 W CN 2013075201W WO 2014179925 A1 WO2014179925 A1 WO 2014179925A1
Authority
WO
WIPO (PCT)
Prior art keywords
node
forwarding plane
central control
control
plane node
Prior art date
Application number
PCT/CN2013/075201
Other languages
English (en)
French (fr)
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 PCT/CN2013/075201 priority Critical patent/WO2014179925A1/zh
Priority to CN201380034020.4A priority patent/CN104662860B/zh
Publication of WO2014179925A1 publication Critical patent/WO2014179925A1/zh

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/50Network services
    • H04L67/60Scheduling or organising the servicing of application requests, e.g. requests for application data transmissions using the analysis and optimisation of the required network resources

Definitions

  • the present invention relates to the field of network information technologies, and in particular, to a method and apparatus for processing control rules. Background technique
  • SDN software-defined network
  • SDN controller SDN controller
  • the SDN controller is located in the network device and Between applications, any application and network device communication must be configured by the SDN controller 0 SDN controller to configure the network device and select the optimal network forwarding path for the application.
  • the OpenF low switch can control the forwarding of the switch through a unified flow table mechanism.
  • the OpenFlow controller (controller) sends a multi-level flow table (flow table) to the switch, and the switch matches the data packet with the flow table.
  • the control rules process the packets. For routers, because all routers in the network have the same function, the control rules that the OpenFlow controller distributes to one router also apply to other routers in the network. Therefore, the flow table flow table mechanism of the OpenFlow switch is applicable to all routers and switches.
  • the control rules can be uniformly issued for each switch through the OpenFlow controller.
  • the SDN network includes forwarding node nodes of different node types, and the control rules corresponding to the forwarding plane nodes of different node types are different, if the SDN Controller uses the unified delivery control rule, the forwarding planes of different node types are used.
  • the node assigns the control rule, that is, the same control rule is assigned to the forwarding plane nodes of different node types, which may cause the problem that the assigned control rule does not match the node type of the forwarding plane node. Therefore, the manner in which the control rule is uniformly delivered does not apply to The SDN network performs the bootstrapping process. Summary of the invention
  • the embodiment of the invention provides a method and a device for processing a control rule, which solves the problem that when the control rule is allocated by the method of uniformly issuing the control rule, the control rule of the delivery does not match the node type of the forwarding plane node. .
  • a method for processing a control rule including:
  • the central control node establishes a communication connection with the forwarding plane node
  • the central control node acquires a node type of the forwarding plane node, and generates a control rule set corresponding to the node type;
  • the acquiring, by the central control node, the node type of the forwarding plane node includes:
  • the central control node acquires, from the first database, a node type of the forwarding plane node, where the first database includes topology location information and node type information corresponding to each forwarding plane node served by the central control node, Each of the forwarding plane nodes includes the forwarding plane node; or
  • the central control node receives the node type sent by the forwarding plane node.
  • the establishing, by the central control node, the communication connection with the forwarding plane node includes: the central After acquiring the IP address of the forwarding plane node according to the topology location information in the first database, the control node establishes a communication connection with the forwarding plane node.
  • the generating The control rule set corresponding to the node type includes: the central control node acquires, from the second database, a basic function set corresponding to the node type, and according to the basic a control rule corresponding to the basic function in the function set, generating a control rule set; wherein, the second database includes a basic function set corresponding to at least one node type, and a control corresponding to the basic function in the basic function set A rule, the node type is included in the at least one node type.
  • the central control node The establishing, by the forwarding plane node, the communication connection comprises: after receiving the connection establishment request information sent by the forwarding plane node, the central control node establishes a communication connection with the forwarding plane node.
  • the method further includes: if the central control node is a slave central control node, The slave central control node acquires, according to a pre-configured period, a control rule applied by the forwarding plane node served by the slave central control node and status information of the forwarding plane node.
  • the forwarding plane node establishes a communication connection with the central control node
  • the forwarding plane node receives a control rule set sent by the central control node, where the control rule set is generated by the central control node, and corresponds to a node type of the forwarding plane node;
  • the forwarding plane node configures a control rule in the control rule set on the forwarding plane node.
  • the method before the forwarding plane node receives the control rule set sent by the central control node, the method further includes: the forwarding plane node sending the forwarding plane node to the central control node a node type for causing the central control node to generate a control rule set corresponding to the node type.
  • the method before the forwarding plane node sends the node type of the forwarding plane node to the central control node, the method further includes: the forwarding plane node according to the pre-configured address of the central control node Information, obtaining an IP address of the central control node;
  • the establishing a communication connection between the forwarding plane node and the central control node includes:
  • the forwarding plane node establishes a communication connection with the central control node according to an IP address of the central control node.
  • the central control node includes a primary central control node and a secondary central control node;
  • the forwarding plane node acquires an IP address of the slave central control node according to the pre-configured address information of the slave central control node, and establishes a communication connection with the slave central control node according to the IP address;
  • the forwarding plane node acquires, from the primary central control node, a control rule applied by the forwarding plane node and status information of the forwarding plane node;
  • the forwarding plane node sends the control rule and the status information to the slave central control node.
  • a processing device for controlling a rule including:
  • An obtaining unit configured to obtain a node type of the forwarding plane node after the establishing unit establishes a communication connection with the forwarding plane node;
  • a generating unit configured to generate a control rule sending unit corresponding to the node type acquired by the acquiring unit, configured to send, to the forwarding plane node, a control rule set generated by the generating unit, so that the forwarding plane node
  • the control rules in the control rule set are configured on the forwarding plane node.
  • the device further includes: a storage unit, For storing the first database, the first database includes topology location information and node type information respectively corresponding to each forwarding plane node served by the central control node, where each forwarding plane node includes the forwarding plane node;
  • the acquiring unit is specifically configured to acquire, from the first database stored by the storage unit, a node type of the forwarding plane node; or
  • the obtaining unit is specifically configured to acquire, from the first database outside the processing device of the control rule, a node type of the forwarding plane node.
  • the establishing unit is specifically configured to: according to a topology location in the first database After obtaining the IP address of the forwarding plane node, the information establishes a communication connection with the forwarding plane node.
  • the device further includes: a receiving unit, configured to receive the sending by the forwarding plane node The node type;
  • the generating unit is specifically configured to generate a control rule set corresponding to the node type received by the receiving unit.
  • the storage unit is further And a second database, where the second database includes a basic function set corresponding to at least one node type, and a control rule corresponding to the basic function in the basic function set, where the at least one node type includes
  • the generating unit is configured to obtain, from the second database stored in the storage unit, a basic function set corresponding to the node type, and corresponding to a basic function in the basic function set. Control rules, generating a set of control rules; or
  • the generating unit is specifically configured to acquire, from the second database outside the processing device of the control rule, a basic function set corresponding to the node type, and a corresponding control according to a basic function in the basic function set Rules, generate a collection of control rules.
  • the establishing unit is specifically configured to: according to a topology location in the first database After obtaining the IP address of the forwarding plane node, the information establishes a communication connection with the forwarding plane node.
  • a processing apparatus for providing another control rule includes:
  • a receiving unit configured to: after the establishing unit establishes a communication connection with the central control node, receive a control rule set sent by the central control node, where the control rule set is generated by the central control node, and The node type of the forwarding plane node corresponds to;
  • a configuration unit configured to configure, in the control rule set received by the receiving unit, a control rule on the forwarding plane node.
  • the device further includes:
  • a sending unit configured to send, to the central control node, a node type of the forwarding plane node, before the receiving unit receives the control rule set sent by the central control node, to enable the central control node A set of control rules corresponding to the node type is generated.
  • the device further includes:
  • a storage unit configured to store pre-configured address information of the central control node
  • an acquiring unit configured to acquire an IP of the central control node according to the pre-configured address information of the central control node stored by the storage unit The IP address of the address; establishes a communication connection with the central control node.
  • the central control node includes a primary central control node and a secondary central control node;
  • the obtaining unit is further configured to use the pre-configured slaves stored according to the storage unit
  • the address information of the central control node acquires an IP address of the subordinate central control node; the central control node establishes a communication connection;
  • the obtaining unit is further configured to acquire, from the primary central control node, a control rule of the forwarding plane node application and state information of the forwarding plane node;
  • the sending unit is further configured to send the control rule and the status information acquired by the acquiring unit to the slave central control node.
  • the fifth aspect provides a central control node, including:
  • a processor configured to establish a communication connection with the forwarding plane node, acquire a node type corresponding to the node, and generate a control rule set corresponding to the node type;
  • a transmitter configured to send, to the forwarding plane node, the control rule set generated by the processor, so that the forwarding plane node configures a control rule in the control rule set on the forwarding plane node.
  • the central control node further includes: a memory, configured to store a first database, where the first database includes each forwarding plane node served by the central control node respectively The topology location information and the node type information, where each forwarding plane node includes the forwarding plane node; wherein the processor is specifically configured to obtain the forwarding from the first database stored in the memory The node type of the polygon node; or
  • the processor is specifically configured to obtain, from the first database outside the central control node, a node type of the forwarding plane node.
  • the processor is further configured to be used in the first database that is stored according to the memory. After obtaining the IP address of the forwarding plane node, the topology location information establishes a communication connection with the forwarding plane node.
  • the central control node further includes: a receiver, configured to receive the node type sent by the forwarding plane node;
  • the processor is specifically configured to generate a control rule set corresponding to a node type received by the receiver.
  • the memory is further used And storing, in the second database, a basic function set corresponding to at least one node type, and a control rule corresponding to the basic function in the basic function set, where the at least one node type includes the a node type, where the processor is specifically configured to acquire, from the second database stored in the memory, a basic function set corresponding to the node type, and a corresponding control according to a basic function in the basic function set Rules, generating a set of control rules; or
  • the processor is specifically configured to obtain, from the second database outside the central control node, a basic function set corresponding to the node type, and a control rule corresponding to a basic function in the basic function set, Generate a collection of control rules.
  • the processor is further configured to receive, at the receiver, the forwarding plane node After the sent connection establishment request information, a communication connection is established with the forwarding plane node.
  • the sixth aspect provides a forwarding plane node, including:
  • a processor configured to establish a communication connection with a central control node
  • a receiver configured to: after the processor establishes a communication connection with the central control node, receive a control rule set sent by the central control node, where the control rule set is generated by the central control node, and Corresponding to the node type of the forwarding plane node;
  • the processor is further configured to configure a control rule in the control rule set received by the receiver on the forwarding plane node.
  • the forwarding plane node further includes: a transmitter, configured to: before the receiver receives the control rule set sent by the central control node, The central control node sends the node type of the forwarding plane node, and is configured to enable the central control node to generate a control rule set corresponding to the node type.
  • the forwarding plane node further includes:
  • a memory configured to store pre-configured address information of the central control node; the processor, configured to acquire, according to the pre-configured address information of the central control node stored in the memory, the central control node An IP address, establishing a communication connection with the central control node according to an IP address of the central control node.
  • the central control node includes a primary central control node and a secondary central control node;
  • the processor is further configured to acquire an IP address of the slave central control node according to the pre-configured address information of the slave central control node that is stored in the memory, and establish, according to the IP address, the slave central control node a communication connection, obtaining, from the main central control node, a control rule of the forwarding plane node application and state information of the forwarding plane node;
  • the transmitter is further configured to send the control rule and the status information acquired by the processor to the slave central control node.
  • the central control node first establishes a communication connection with the forwarding plane node, and then the central control node acquires the node type of the forwarding plane node, and generates a control rule set corresponding to the node type, and finally the central control node forwards to the node.
  • the polygon node sends the control rule set such that the forwarding plane node configures a control rule in the control rule set on the forwarding plane node. Therefore, the corresponding control rules are configured for the forwarding plane nodes of different node types, and the node type of the forwarding control node and the forwarding plane node is not caused when the control rule is allocated by the method of uniformly issuing the control rules. Matching questions. DRAWINGS
  • FIG. 1 is a flowchart of a method for processing a control rule according to an embodiment of the present invention
  • FIG. 2 is a flowchart of another method for processing a control rule according to an embodiment of the present invention
  • FIG. 4 is a schematic structural diagram of another apparatus for processing a control rule according to an embodiment of the present invention
  • FIG. 5 is a schematic structural diagram of a central control node according to an embodiment of the present invention
  • FIG. 6 is a schematic structural diagram of a forwarding plane node according to an embodiment of the present invention. detailed description
  • An embodiment of the present invention provides a method for processing a control rule. As shown in FIG. 1, the method includes:
  • the central control node establishes a communication connection with the forwarding plane node.
  • the central control node establishes a communication connection with the forwarding plane node after obtaining the IP address of the forwarding plane node according to the topology location information in the first database.
  • the central control node After receiving the connection establishment request information sent by the forwarding plane node, the central control node establishes a communication connection with the forwarding plane node. 101.
  • the central control node acquires a node type of the forwarding plane node.
  • the central control node acquires, from the first database, a node type of the forwarding plane node, where the first database includes topology location information and a node corresponding to each forwarding plane node served by the central control node respectively.
  • Type information where each forwarding plane node includes the forwarding plane node, for example, the topology location information corresponding to each forwarding plane node may be IPv4 (Internet Protocol Version 4) of the forwarding plane node, and forwarding IPv6 (Internet Protocol vers ion 6, Internet Protocol version 6), FQDN (Fully Qualified Domain Name) of the forwarding node, etc.
  • Each port of a forwarding plane node corresponds to one port in the multi-port case IP address.
  • the node type information can be AAA (Authentication, Authorization, Accounting, Authentication, Authorization, Accounting), DHCP (Differentiated Services Code Point) Proxy (Agent) / Server (Mr. ), DNS Server (Domain Name System, Domain Name System Server) And the like, not limited in the present embodiment.
  • the central control node receives the node type sent by the forwarding plane node.
  • the central control node generates a control rule set corresponding to the node type.
  • the central control node acquires a basic function set corresponding to the node type from the second database, and generates a control rule set according to a control rule corresponding to the basic function in the basic function set.
  • the second database includes a basic function set corresponding to at least one node type, and a control rule corresponding to the basic function in the basic function set, where the at least one node type includes the node type.
  • a network node is composed of a plurality of basic functions. Therefore, a set of functions corresponding to the node type is a basic function set.
  • some basic functions of the node type of the node type PDN GW Packet Data Network Gateway
  • DHCP Dynamic Host Configuration Protocol (Dynamic Host Configuration)
  • GTP is GPRS (General Packet Radio Service, General Packet Radio
  • the first database and the second database in the embodiment of the present invention may be located in the central control node as a logical entity, or may be located outside the central control node. At this time, the first database and the second database are interconnected with the central control node through an interface. Communication. The central control node needs to periodically update the first database and the second database accordingly. 103.
  • the central control node sends the control rule set to the forwarding plane node. Further, the forwarding plane node is configured to configure a control rule in the control rule set on the forwarding plane node.
  • the security control may be performed between the central control node and the forwarding plane node.
  • the specific authentication method may use a PKI (Public Key Infrastructure Public Key System) mechanism, which is not limited by the embodiment of the present invention.
  • PKI Public Key Infrastructure Public Key System
  • the process of adding security authentication between the central control node and the forwarding plane node can improve the security of the bootstrap process of the SDN network.
  • the central control node receives status information of the forwarding plane node fed back by the forwarding plane node.
  • the status information of the forwarding plane node may be: a port state of the forwarding plane node device, for example, whether the port is normally available, whether it is in a blocked state, or the like; and a load state of the forwarding plane node device, for example, a router, the forwarding plane node device.
  • the load status of the router refers to the cache occupancy rate of the router.
  • the load status of the forwarding plane node device may also include CPU resource usage, memory usage, and the like.
  • the central control node in the embodiment of the present invention may specifically be a Slave SDN Controller or a Master SDN Controller. If the central control node is the slave SDN controller, the slave SDN protocol does not need to send the control rule to the forwarding plane node, and only needs to obtain the current control rule of the forwarding plane node and the state information of the forwarding plane node. It can be obtained from the forwarding plane node or from the Master SDN Controller that controls the forwarding plane node. In particular, when the physical communication distance between the Master SDN Controller and the Slave SDN Cont roler is relatively close, the current control rule of the forwarding plane node and the state information of the forwarding plane node are obtained from the Master SDN Controller that controls the forwarding plane node. The way the effect is better.
  • the embodiment of the invention is not limited.
  • the central control node determines whether the central control node issues a control rule by the forwarding plane node or the central control node actively sends the control rule according to the difference of the SDN management area.
  • the core layer device that is, each forwarding plane node in the core layer. Because the performance requirements are relatively high, the frequency of upgrading and adding devices will be relatively low. Therefore, the central control node can be used to actively send control rules.
  • the forwarding is distributed. The number of surface nodes is large, and there are often new nodes accessing the access layer and the aggregation layer. In this case, the method of requesting the central control node to issue control rules by the forwarding plane node can be used to implement device insertion.
  • the ready-to-use functions enhance the adaptability and scalability of the present invention.
  • the process of actively issuing the control rule by the central control node may include: after the central control node is powered on, establish a communication connection with the corresponding forwarding plane node, and then the central control node slave node topology information Obtaining the node type of the forwarding plane node in the database or reporting the node type to the central control node by the forwarding plane node, the central control node acquiring the basic function set corresponding to the node type from the policy information database, and according to the basic function set
  • the control rule corresponding to the basic function generates a control rule set, and sends the control rule set to the forwarding plane node.
  • the forwarding plane node will configure the control rule in the control rule set to complete, and then feed back the forwarding to the central control node.
  • the control rules and current state information of the surface node application implement the SDN network bootstrapping process.
  • the method may include: after the forwarding plane node is powered on, acquiring the central control node according to the pre-configured address information of the central control node.
  • the node type of the forwarding plane node obtains a control rule set corresponding to the node type from the policy information database, and sends the control rule set to the corresponding forwarding plane node, and the forwarding plane node configures the control rule set after the configuration is completed.
  • the control rule and the status information of the current forwarding plane node are pushed to the central control node, thereby implementing the process of booting the node node bootstrap.
  • the method for processing the control rule provided by the embodiment of the present invention is implemented as an SDN network compared with the manner in which the control rules are uniformly issued by each switch through the OpenFower protocol.
  • the corresponding control rules are configured for the forwarding plane nodes of different node types in the network.
  • the control rules are allocated in the manner of uniformly issuing the control rules, the control rules that are delivered will not match the node types of the forwarding plane nodes. problem.
  • the embodiment of the present invention provides another method for processing a control rule. As shown in FIG. 2, the method includes:
  • the forwarding plane node establishes a communication connection with the central control node.
  • the method further includes: acquiring an IP address of the central control node according to the pre-configured address information of the central control node, and establishing a communication connection with the central control node according to the IP address.
  • the address information may be IPV4/6 or FQDN, which is not limited in this embodiment.
  • the step 200 may further include performing security authentication between the central control node and the forwarding plane node, and the specific authentication manner may use a PK I (Public Key Authentication System) mechanism, and the present invention The embodiment is not limited.
  • PK I Public Key Authentication System
  • the forwarding plane node receives a control rule set sent by the central control node.
  • the forwarding plane node may further send the node type of the forwarding plane node to the central control node, where the central control node generates a control rule set corresponding to the node type.
  • the forwarding plane node configures a control rule in the control rule set on the forwarding plane node.
  • the forwarding plane node sends status information of the forwarding plane node to the central control node.
  • the status information of the forwarding plane node may be: a port state of the forwarding plane node device, for example, whether the port is normally available, whether it is in a blocked state, or the like; and a load state of the forwarding plane node device, for example, a router, the forwarding plane node device
  • the load status of the router refers to the cache occupancy rate of the router; for some smart devices, the load status of the forwarding plane node device may also include CPU resource usage, memory usage, etc.
  • the forwarding plane node in the embodiment of the present invention may have multiple ports. In this case, the port may be distinguished by the IP address corresponding to each port.
  • the central control node in the embodiment of the present invention may specifically be a Slave SDN Controller or a Master SDN Controller. If the central control node is the Slave SDN Controller, the address information of the Slave SDN Controller is also pre-configured in the forwarding plane node. At this time, the forwarding plane node acquires the slave according to the pre-configured address information of the slave central control node.
  • the forwarding plane node Centrally controlling an IP address of the node, and establishing a communication connection with the slave central control node according to the IP address, and then the forwarding plane node acquires, from the primary central control node, a control rule of the forwarding plane node application and the Forwarding the status information of the surface node, and finally the forwarding plane node sends the control rule and the status information to the slave central control node.
  • the central control node issues a control rule by the forwarding plane node or the central control node actively sends the control rule according to the difference of the SDN management area.
  • the core layer device that is, each forwarding plane node in the core layer
  • the central control node can be used to actively deliver control.
  • the way of the rule for the access layer and the aggregation layer, because there are a large number of distributed nodes, and there are often new nodes accessing the access layer and the aggregation layer, then the central node can be requested by the forwarding plane node.
  • the control node issues the control rule, thereby realizing the plug-and-play function of the device, and improving the adaptability and scalability of the present invention.
  • the method for processing another control rule provided by the embodiment of the present invention is compared with the manner in which the control rules are uniformly issued by the OpenFlow Cont roler for each switch.
  • the corresponding control rules are configured for the forwarding plane nodes of different node types in the SDN network, and the node types of the control rules and forwarding plane nodes that are issued when the control rules are allocated by the unified delivery of the control rules are solved. Mismatched issue.
  • the embodiment of the present invention provides a processing device for controlling a rule.
  • the entity of the device may be a central control node, and the device includes: an establishing unit 31, an obtaining unit 32, a generating unit 33, and a sending unit 34. .
  • the establishing unit 31 can be used to establish a communication connection with the forwarding plane node.
  • the obtaining unit 32 may be configured to acquire a node type of the forwarding plane node after the establishing unit 31 establishes a communication connection with the forwarding plane node.
  • the generating unit 33 may be configured to generate a control rule set corresponding to the node type acquired by the obtaining unit 32.
  • the sending unit 34 may be configured to send, to the forwarding plane node, a control rule set generated by the generating unit 33, so that the forwarding plane node configures a control rule in the control rule set on the forwarding plane node. .
  • the apparatus may further include: a storage unit 35.
  • the storage unit 35 may be configured to store the first database, where the first database includes topology location information and node type information respectively corresponding to each forwarding plane node served by the central control node, where each forwarding plane node includes the Forward face node.
  • the obtaining unit 32 may be specifically configured to acquire, from the first database stored by the storage unit 35, a node type of the forwarding plane node; or the first database from outside the processing device of the control rule The node type of the forwarding plane node is obtained.
  • the establishing unit 31 may be configured to establish a communication connection with the forwarding plane node after obtaining the IP address of the forwarding plane node according to the topology location information in the first database.
  • the apparatus may further include: a receiving unit 36.
  • the receiving unit 36 is configured to receive the node type sent by the forwarding plane node.
  • the generating unit 33 may be specifically configured to generate a node type pair received by the receiving unit 36. A collection of control rules that should be.
  • the storage unit 35 is further configured to store a second database, where the second database includes a basic function set corresponding to at least one node type, and a control rule corresponding to the basic function in the basic function set, where the at least The node type is included in a node type.
  • the generating unit 33 may be configured to: obtain, from the second database stored in the storage unit 35, a basic function set corresponding to the node type, and generate according to a control rule corresponding to a basic function in the basic function set. Control rule set; or
  • the generating unit 33 may be further configured to: obtain, from the second database outside the processing device of the control rule, a basic function set corresponding to the node type, and according to basic functions in the basic function set A corresponding control rule generates a set of control rules.
  • the establishing unit 31 may be further configured to: after receiving the connection establishment request information sent by the forwarding plane node, establish a communication connection with the forwarding plane node.
  • the entity of the device may be a central control node, as shown in FIG. 5, including: a processor 51, a transmitter 52, a memory 53, and a receiver 54.
  • the processor 51 is configured to establish a communication connection with the forwarding plane node, obtain a node type corresponding to the node, and generate a control rule set corresponding to the node type.
  • the transmitter 52 may be configured to send, to the forwarding plane node, a control rule set generated by the processor 51, so that the forwarding plane node configures a control rule in the control rule set on the forwarding plane node. .
  • the memory 53 may be configured to store a first database, where the first database includes topology location information and node type information respectively corresponding to each forwarding plane node served by the central control node, where each forwarding plane node includes the forwarding Face node.
  • the processor 51 is specifically configured to obtain, from the first database stored in the memory 53, a node type of the forwarding plane node, or obtain the first database from outside the central control node.
  • the node type of the forwarding plane node is specifically configured to obtain, from the first database stored in the memory 53, a node type of the forwarding plane node, or obtain the first database from outside the central control node.
  • the processor 51 is specifically configured to be used in the first database stored according to the memory. After obtaining the IP address of the forwarding plane node, the Park location information establishes a communication connection with the forwarding plane node.
  • the receiver 54 is configured to receive the node type sent by the forwarding plane node.
  • the processor 51 can also be specifically configured to generate a set of control rules corresponding to the type of node received by the receiver 54.
  • the memory 53 may be further configured to store a second database, where the second database includes a basic function set corresponding to at least one node type, and a control rule corresponding to the basic function in the basic function set, the at least one The node type is included in the node type.
  • the processor 51 may be further configured to: obtain, from the second database stored in the memory 53, a basic function set corresponding to the node type, and generate a control rule according to a basic function in the basic function set. Controlling a rule set; or obtaining a basic function set corresponding to the node type from the second database outside the central control node, and generating a control rule according to a control rule corresponding to a basic function in the basic function set set.
  • the processor 51 may be further configured to establish a communication connection with the forwarding plane node after the receiver 54 receives the connection establishment request information sent by the forwarding plane node.
  • the processing device for controlling the rules provided by the embodiment of the present invention is configured to be configured for different types of forwarding plane nodes, compared with the manner in which the control rules are uniformly issued for each switch by the Open Endower protocol.
  • the control rule solves the problem that when the control rule is allocated in a manner that uniformly distributes the control rule, the control rule that is delivered does not match the node type of the forwarding plane node.
  • the embodiment of the present invention provides another processing device for controlling a rule.
  • the entity of the device may be a forwarding plane node, and the device includes: an establishing unit 41, a receiving unit 42, and a configuration unit 43.
  • the establishing unit 4 1 can be used to establish a communication connection with the central control node.
  • the receiving unit 42 may be configured to: after the establishing unit 41 establishes a communication connection with the central control node, receive a control rule set sent by the central control node, where the control rule set is generated by the central control node And corresponding to the node type of the forwarding plane node.
  • the configuration unit 4 3 may be configured to configure the control rule in the control rule set received by the receiving unit 42 on the forwarding plane node.
  • the apparatus may further include: a transmitting unit 44.
  • the sending unit 44 may be configured to send, before the receiving unit 42 receives the control rule set sent by the central control node, a node type of the forwarding plane node to the central control node, where
  • the device that the central control node generates the control rule corresponding to the node type may further include: a storage unit 45 and an obtaining unit 46.
  • the storage unit 45 can be configured to store pre-configured address information of the central control node.
  • the obtaining unit 46 may be configured to obtain an IP address of the central control node according to the pre-configured address information of the central control node stored by the storage unit 45.
  • the establishing unit 4 1 may be specifically configured to establish a communication connection with the central control node according to the IP address of the central control node acquired by the obtaining unit 46.
  • the obtaining unit 46 may be further configured to acquire an IP address of the slave central control node according to the pre-configured address information of the slave central control node stored by the storage unit 45. It is a central control node to establish a communication connection.
  • the obtaining unit 46 is further configured to acquire, from the primary central control node, a control rule of the forwarding plane node application and state information of the forwarding plane node. The status information is sent to the slave central control node.
  • the entity of the device may be a forwarding plane node.
  • the forwarding plane node includes: a processor 61 and a receiver 62.
  • the processor 61 can be configured to establish a communication connection with the central control node.
  • the receiver 62 may be configured to receive, after the processor 61 establishes a communication connection with the central control node, a control rule set sent by the central control node, where the control rule set is generated by the central control node. And corresponding to the node type of the forwarding plane node.
  • the processor 61 is further configured to configure a control rule in the control rule set received by the receiver 62 on the forwarding plane node.
  • the forwarding plane node may further include: a transmitter 63 and a memory 64.
  • the transmitter 63 may be configured to: before the receiver 62 receives the control rule set sent by the central control node, send a node type of the forwarding plane node to the central control node, where The central control node generates a set of control rules corresponding to the node type.
  • the memory 64 can be used to store address information of the central control node that is pre-configured.
  • the processor 61 may be further configured to obtain an IP address of the central control node according to the pre-configured address information of the central control node stored in the memory 64, according to an IP address of the central control node and the central The control node establishes a communication connection.
  • the processor 61 may be further configured to acquire, according to the pre-configured address information of the slave central control node stored by the memory 64, an IP address of the slave central control node, according to the IP address and the slave central control node. Establishing a communication connection, obtaining, from the main central control node, a control rule of the forwarding plane node application and status information of the forwarding plane node.
  • the transmitter 63 is further configured to send the control rule and the status information acquired by the processor 61 to the slave central control node.
  • OpenF l ow Cont ro 1 l er is a way to control the see] in the same way, and the corresponding control rules are configured for different types of forwarding plane nodes, which solves the problem of unified delivery.
  • the control rule is assigned, which causes the problem that the issued control rule does not match the node type of the forwarding plane node.
  • the processing device of the control rule provided by the embodiment of the present invention may implement the foregoing method embodiment.
  • the processing method and apparatus for the control rules provided by the embodiments of the present invention may be applied to the network information technology field, but are not limited thereto.
  • the storage medium may be a magnetic disk, an optical disk, a read-only memory (ROM), or a random access memory (RAM).

Landscapes

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

Abstract

公开了一种控制规则的处理方法及装置,涉及网络信息技术领域,通过为不同类型的转发面节点配置相对应的控制规则,解决了采用统一下发控制规则的方式进行控制规则分配时,会造成下发的控制规则与转发面节点的节点类型不匹配的问题。所述方法包括:首先中央控制节点与转发面节点建立通信连接(100),然后中央控制节点获取所述转发面节点的节点类型(101),并生成与所述节点类型对应的控制规则集合(102),最后中央控制节点向所述转发面节点发送所述控制规则集合(103),以使得所述转发面节点将所述控制规则集合中的控制规则配置在所述转发面节点上。

Description

控制规则的处理方法及装置
技术领域
本发明涉及网絡信息技术领域,特别涉及一种控制规则的处理方法及 装置。 背景技术
SDN ( software defined network, 软件定义网絡) 是一种新型网絡 架构, 在 SDN网絡架构中, 最核心的部分是中央控制节点, 通常称为 SDN controller (SDN控制器) , SDN control ler位于网絡设备和应用之间, 任 何应用和网络设备之间的通信都要经过 SDN controller0 SDN controller 通过协议来配置网絡设备以及为应用选择最优的网絡转发路径。
目前 OpenF low交换机可以通过统一的流表机制来控制交换机的转发, OpenFlow control ler (控制器)给交换机下发多级 flow table (流表) , 交换机将数据包与流表进行匹配后釆用相应的控制规则对数据包进行处 理。 对于路由器来说, 由于网絡中所有的路由器的功能相同, OpenFlow controller分发给一个路由器的控制规则同时也适用于网絡中其它的路 由器, 因此 OpenFlow交换机的 flow table流表机制适用于所有的路由器和 交换机, 即可以通过 OpenFlow controller为各个交换机统一下发控制规 则。
然而由于 SDN网絡中包括各种不同节点类型的转发面节点, 并且不同 节点类型的转发面节点对应的控制规则不同, 如果 SDN Control ler釆用统 一下发控制规则的方式为不同节点类型的转发面节点分配控制规则,即为 不同节点类型的转发面节点分配相同的控制规则,会造成分配的控制规则 与转发面节点的节点类型不匹配的问题, 因此, 统一下发控制规则的方式 不适用于 SDN网絡进行自举的过程。 发明内容
本发明实施例提供一种控制规则的处理方法及装置,解决了釆用统一 下发控制规则的方式进行控制规则分配时,会造成下发的控制规则与转发 面节点的节点类型不匹配的问题。
第一方面, 提供一种控制规则的处理方法, 包括:
中央控制节点与转发面节点建立通信连接;
所述中央控制节点获取所述转发面节点的节点类型,并生成与所述节 点类型对应的控制规则集合;
所述中央控制节点向所述转发面节点发送所述控制规则集合,以使得 所述转发面节点将所述控制规则集合中的控制规则配置在所述转发面节 点上。
在第一方面的第一种可能的实现方式中,所述中央控制节点获取所述 转发面节点的节点类型包括:
所述中央控制节点从第一数据库中, 获取所述转发面节点的节点类 型,所述第一数据库包括所述中央控制节点服务的各个转发面节点分别对 应的拓朴位置信息和节点类型信息,所述各个转发面节点包括所述转发面 节点; 或者
所述中央控制节点接收所述转发面节点发送的所述节点类型。
结合第一方面或者第一方面的第一种可能的实现方式,在第一方面的 第二种可能的实现方式中,所述中央控制节点与所述转发面节点建立通信 连接包括:所述中央控制节点根据所述第一数据库中的拓朴位置信息获取 到所述转发面节点的 IP地址后, 与所述转发面节点建立通信连接。
结合第一方面或者第一方面的第一种可能的实现方式,或者第一方面 的第二种可能的实现方式, 在第一方面的第三种可能的实现方式中, 所述 生成与所述节点类型对应的控制规则集合包括:所述中央控制节点从第二 数据库中, 获取与所述节点类型对应的基本功能集合, 以及根据所述基本 功能集合中的基本功能对应的控制规则, 生成控制规则集合; 其中,所述第二数据库中包括至少一个节点类型分别对应的基本功能 集合, 以及与所述基本功能集合中的基本功能对应的控制规则, 所述至少 一个节点类型中包含所述节点类型。
结合第一方面或者第一方面的第一种可能的实现方式,或者第一方面 的第三种可能的实现方式, 在第一方面的第四种可能的实现方式中, 所述 中央控制节点与所述转发面节点建立通信连接包括:所述中央控制节点接 收到所述转发面节点发送的连接建立请求信息后,与所述转发面节点建立 通信连接。
结合第一方面或者第一方面的任意一种可能的实现方式,在第一个方 面的第五种可能的实现方式中, 还包括: 若所述中央控制节点为从属中央 控制节点, 则所述从属中央控制节点按照预先配置的周期, 获取所述从属 中央控制节点服务的转发面节点应用的控制规则和所述转发面节点的状 态信息。
第二方面, 提供另一种控制规则的处理方法, 包括:
转发面节点与中央控制节点建立通信连接;
所述转发面节点接收所述中央控制节点发送的控制规则集合, 其中, 所述控制规则集合为所述中央控制节点生成的,并且与所述转发面节点的 节点类型对应;
所述转发面节点将所述控制规则集合中的控制规则配置在所述转发 面节点上。
在第二方面的第一种可能的实现方式中,所述转发面节点接收中央控 制节点发送的控制规则集合之前, 还包括: 所述转发面节点向所述中央控 制节点发送所述转发面节点的节点类型,用于使所述中央控制节点生成与 所述节点类型对应的控制规则集合。
结合第二方面或者第二方面的第一种可能的实现方式,在第二方面的 第二种可能的实现方式中,所述转发面节点向所述中央控制节点发送所述 转发面节点的节点类型之前, 还包括: 所述转发面节点根据预先配置的所 述中央控制节点的地址信息, 获取所述中央控制节点的 I P地址;
所述转发面节点与中央控制节点建立通信连接包括:
所述转发面节点根据所述中央控制节点的 I P地址与所述中央控制节 点建立通信连接。
结合第二方面或者第二方面的任意一种可能的实现方式,在第二方面 的第三种可能的实现方式中,所述中央控制节点包括主中央控制节点和从 属中央控制节点;
所述转发面节点根据预先配置的所述从属中央控制节点的地址信息 获取所述从属中央控制节点的 I P地址 ,并根据所述 I P地址与所述从属中央 控制节点建立通信连接;
所述转发面节点从所述主中央控制节点获取所述转发面节点应用的 控制规则和所述转发面节点的状态信息;
所述转发面节点将所述控制规则和所述状态信息发送给所述从属中 央控制节点。
第三方面, 提供一种控制规则的处理装置, 包括:
建立单元, 用于与转发面节点建立通信连接;
获取单元, 用于所述建立单元与所述转发面节点建立通信连接后, 获 取所述转发面节点的节点类型;
生成单元,用于生成与所述获取单元获取的节点类型对应的控制规则 发送单元,用于向所述转发面节点发送所述生成单元生成的控制规则 集合,以使得所述转发面节点将所述控制规则集合中的控制规则配置在所 述转发面节点上。
在第三方面的第一种可能的实现方式中,所述装置还包括:存储单元, 用于存储第一数据库,所述第一数据库包括所述中央控制节点服务的各个 转发面节点分别对应的拓朴位置信息和节点类型信息,所述各个转发面节 点包括所述转发面节点; 其中, 所述获取单元, 具体用于从所述存储单元 存储的所述第一数据库中, 获取所述转发面节点的节点类型; 或者
所述获取单元,具体用于从所述控制规则的处理装置的外部的所述第 一数据库中, 获取所述转发面节点的节点类型。
结合第三方面或者第三方面的第一种可能的实现方式,在第三方面的 第二种可能的实现方式中, 所述建立单元, 具体用于根据所述第一数据库 中的拓朴位置信息获取到所述转发面节点的 I P地址后,与所述转发面节点 建立通信连接。
结合第三方面或者第三方面的任意一种可能的实现方式,在第三方面 的第三种可能的实现方式中, 所述装置还包括: 接收单元, 用于接收所述 转发面节点发送的所述节点类型;
所述生成单元,具体用于生成与所述接收单元接收的节点类型对应的 控制规则集合。
结合第三方面或者第三方面的第一种可能的实现方式,或者第三方面 的第三种可能的实现方式, 在第三方面的第四种可能的实现方式中, 所述 存储单元, 还用于存储第二数据库, 所述第二数据库中包括至少一个节点 类型分别对应的基本功能集合,以及与所述基本功能集合中的基本功能对 应的控制规则, 所述至少一个节点类型中包含所述节点类型; 其中, 所述 生成单元, 具体用于从所述存储单元存储的所述第二数据库中, 获取与所 述节点类型对应的基本功能集合,以及根据基本功能集合中的基本功能对 应的控制规则, 生成控制规则集合; 或者
所述生成单元,具体用于从所述控制规则的处理装置的外部的所述第 二数据库中, 获取与所述节点类型对应的基本功能集合, 以及根据基本功 能集合中的基本功能对应的控制规则, 生成控制规则集合。 结合第三方面或者第三方面的任意一种可能的实现方式,在第三方面 的第五种可能的实现方式中, 所述建立单元, 具体用于根据所述第一数据 库中的拓朴位置信息获取到所述转发面节点的 I P地址后,与所述转发面节 点建立通信连接。
第四方面, 提供另一种控制规则的处理装置, 包括:
建立单元, 用于与中央控制节点建立通信连接;
接收单元, 用于所述建立单元与所述中央控制节点建立通信连接后, 接收所述中央控制节点发送的控制规则集合, 其中, 所述控制规则集合为 所述中央控制节点生成的, 并且与转发面节点的节点类型对应;
配置单元,用于将所述接收单元接收的控制规则集合中的控制规则配 置在转发面节点上。
在第四方面的第一种可能的实现方式中, 所述装置还包括:
发送单元,用于在所述接收单元接收到所述中央控制节点发送的所述 控制规则集合之前, 向所述中央控制节点发送所述转发面节点的节点类 型, 用于使所述中央控制节点生成与所述节点类型对应的控制规则集合。
结合第四方面或者第四方面的第一种可能的实现方式,在第四方面的 第二种可能的实现方式中, 所述装置还包括:
存储单元, 用于存储预先配置的所述中央控制节点的地址信息; 获取单元,用于根据所述存储单元存储的预先配置的所述中央控制节 点的地址信息, 获取所述中央控制节点的 I P地址; 的 I P地址与所述中央控制节点建立通信连接。
结合第四方面或者第四方面的任意一种可能的实现方式,在第四方面 的第三种可能的实现方式中,述中央控制节点包括主中央控制节点和从属 中央控制节点;
所述获取单元,还用于根据所述存储单元存储的预先配置的所述从属 中央控制节点的地址信息获取所述从属中央控制节点的 I P地址; 央控制节点建立通信连接;
所述获取单元,还用于从所述主中央控制节点获取所述转发面节点应 用的控制规则和所述转发面节点的状态信息;
所述发送单元,还用于将所述获取单元获取的所述控制规则和所述状 态信息发送给所述从属中央控制节点。
第五方面提供一种中央控制节点, 包括:
处理器,用于与转发面节点建立通信连接,获取节点对应的节点类型, 生成与所述节点类型对应的控制规则集合;
发送器, 用于向所述转发面节点发送所述处理器生成的控制规则集 合,以使得所述转发面节点将所述控制规则集合中的控制规则配置在所述 转发面节点上。
在第五方面的第一种可能的实现方式中, 所述中央控制节点还包括: 存储器, 用于存储第一数据库, 所述第一数据库包括所述中央控制节 点服务的各个转发面节点分别对应的拓朴位置信息和节点类型信息,所述 各个转发面节点包括所述转发面节点; 其中, 所述处理器, 具体用于从所 述存储器存储的所述第一数据库中, 获取所述转发面节点的节点类型; 或 者
所述处理器,具体用于从所述中央控制节点的外部的所述第一数据库 中, 获取所述转发面节点的节点类型。
结合第五方面或者第五方面的第一种可能的实现方式,在第五方面的 第二种可能的实现方式中, 所述处理器, 具体还用于根据所述存储器存储 的第一数据库中的拓朴位置信息获取到所述转发面节点的 I P地址后,与所 述转发面节点建立通信连接。
结合第五方面或者第五方面的任意一种可能的实现方式,在第五方面 的第三种可能的实现方式中, 所述中央控制节点还包括: 接收器, 用于接 收所述转发面节点发送的所述节点类型;
所述处理器,具体用于生成与所述接收器接收的节点类型对应的控制 规则集合。
结合第五方面或者第五方面的第一种可能的实现方式,或者第五方面 的第三种可能的实现方式, 在第五方面的第四种可能的实现方式中, 所述 存储器, 还用于存储第二数据库, 所述第二数据库中包括至少一个节点类 型分别对应的基本功能集合,以及与所述基本功能集合中的基本功能对应 的控制规则, 所述至少一个节点类型中包含所述节点类型; 其中, 所述处 理器, 具体用于从所述存储器存储的所述第二数据库中, 获取与所述节点 类型对应的基本功能集合,以及根据基本功能集合中的基本功能对应的控 制规则, 生成控制规则集合; 或者
所述处理器,具体用于从所述中央控制节点的外部的所述第二数据库 中, 获取与所述节点类型对应的基本功能集合, 以及根据基本功能集合中 的基本功能对应的控制规则, 生成控制规则集合。
结合第五方面或者第五方面的任意一种可能的实现方式,在第五方面 的第五种实现方式中, 所述处理器, 具体还用于在所述接收器接收到所述 转发面节点发送的连接建立请求信息后, 与所述转发面节点建立通信连 接。
第六方面提供一种转发面节点, 包括:
处理器, 用于与中央控制节点建立通信连接;
接收器, 用于在所述处理器与所述中央控制节点建立通信连接后, 接 收所述中央控制节点发送的控制规则集合, 其中, 所述控制规则集合为所 述中央控制节点生成的, 并且与转发面节点的节点类型对应;
所述处理器,还用于将所述接收器接收的控制规则集合中的控制规则 配置在转发面节点上。 在第六方面的第一种可能的实现方式中, 所述转发面节点还包括: 发送器,用于在所述接收器接收到所述中央控制节点发送的所述控制 规则集合之前, 向所述中央控制节点发送所述转发面节点的节点类型, 用 于使所述中央控制节点生成与所述节点类型对应的控制规则集合。
结合第六方面或者第六方面的第一种可能的实现方式,在第六方面的 第二种可能的实现方式中, 所述转发面节点还包括:
存储器, 用于存储预先配置的所述中央控制节点的地址信息; 所述处理器,还用于根据所述存储器存储的预先配置的所述中央控制 节点的地址信息, 获取所述中央控制节点的 IP地址, 根据所述中央控制节 点的 I P地址与所述中央控制节点建立通信连接。
结合第六方面或者第六方面的任意一种可能的实现方式,在第六方面 的第三种可能的实现方式中,所述中央控制节点包括主中央控制节点和从 属中央控制节点;
所述处理器,还用于根据所述存储器存储的预先配置的所述从属中央 控制节点的地址信息获取所述从属中央控制节点的 I P地址 , 根据所述 I P 地址与所述从属中央控制节点建立通信连接,从所述主中央控制节点获取 所述转发面节点应用的控制规则和所述转发面节点的状态信息;
所述发送器,还用于将所述处理器获取的所述控制规则和所述状态信 息发送给所述从属中央控制节点。
通过上述方案首先中央控制节点与转发面节点建立通信连接,然后中 央控制节点获取所述转发面节点的节点类型,并生成与所述节点类型对应 的控制规则集合,最后中央控制节点向所述转发面节点发送所述控制规则 集合,以使得所述转发面节点将所述控制规则集合中的控制规则配置在所 述转发面节点上。从而实现了为不同节点类型的转发面节点配置相对应的 控制规则, 解决了釆用统一下发控制规则的方式进行控制规则分配时, 会 造成下发的控制规则与转发面节点的节点类型不匹配的问题。 附图说明
为了更清楚地说明本发明实施例中的技术方案,下面将对实施例或现 有技术描述中所需要使用的附图作简单地介绍, 显而易见地, 下面描述中 的附图仅仅是本发明的一些实施例, 对于本领域普通技术人员来讲, 在不 付出创造性劳动的前提下, 还可以根据这些附图获得其它的附图。
图 1为本发明实施例提供的一种控制规则的处理方法流程图; 图 2为本发明实施例提供的另一种控制规则的处理方法流程图; 图 3为本发明实施例提供的一种控制规则的处理装置结构示意图; 图 4为本发明实施例提供的另一种控制规则的处理装置结构示意图; 图 5为本发明实施例提供的中央控制节点结构示意图;
图 6为本发明实施例提供的转发面节点结构示意图。 具体实施方式
下面将结合本发明实施例中的附图,对本发明实施例中的技术方案进 行清楚、完整地描述,显然,所描述的实施例仅仅是本发明一部分实施例, 而不是全部的实施例。基于本发明中的实施例, 本领域普通技术人员在没 有做出创造性劳动前提下所获得的所有其它实施例,都属于本发明保护的 范围。
为使本发明技术方案的优点更加清楚,下面结合附图和实施例对本发 明作伴细说明。
本发明实施例提供一种控制规则的处理方法, 如图 1所示, 所述方法 包括:
100、 中央控制节点与转发面节点建立通信连接。
具体地,所述中央控制节点根据所述第一数据库中的拓朴位置信息获 取到所述转发面节点的 I P地址后, 与所述转发面节点建立通信连接。
可替换地,所述中央控制节点接收到所述转发面节点发送的连接建立 请求信息后, 与所述转发面节点建立通信连接。 101、 中央控制节点获取转发面节点的节点类型。
具体地, 所述中央控制节点从第一数据库中, 获取所述转发面节点的 节点类型,所述第一数据库包括所述中央控制节点服务的各个转发面节点 分别对应的拓朴位置信息和节点类型信息,所述各个转发面节点包括所述 转发面节点例如,各个转发面节点分别对应的拓朴位置信息具体可以为转 发面节点的 IPv4 (Internet Protocol vers ion 4,网际协议版本 4 )、 转发 面节点的 IPv6 (Internet Protocol vers ion 6,网际协议版本 6 )、 转发面 节点的 FQDN((Fully Qualified Domain Name,完全合格域名)等。 多端口 情况下一个转发面节点的每个端口分别对应一个 IP地址。节点类型信息具 体可以为 AAA ( (Authentication, Authorization, Accounting, 认证、 授权、 计费) , DHCP ( Differentiated Services Code Point , 差分月良务 代码点 )Proxy(代理) /Server(月良务器)、 DNS Server (Domain Name System, 域名系统服务器)等, 本实施例不做限定。
可替换地,所述中央控制节点接收所述转发面节点发送的所述节点类 型。
102、 中央控制节点生成与所述节点类型对应的控制规则集合。
具体地, 所述中央控制节点从第二数据库中, 获取与所述节点类型对 应的基本功能集合,以及根据所述基本功能集合中的基本功能对应的控制 规则, 生成控制规则集合。
其中,所述第二数据库中包括至少一个节点类型分别对应的基本功能 集合, 以及与所述基本功能集合中的基本功能对应的控制规则, 所述至少 一个节点类型中包含所述节点类型。 在 SDN网絡中, 一个网絡节点由多个 基本功能组成,因此,该节点类型对应的功能组成的集合为基本功能集合。 例如,节点类型为 PDN GW(分组数据网网关, Packet Data Network Gateway ) 的节点类型的部分基本功能可以如下表所示: 节点类型 基本功能集合
PDN GW 基于用户的包过滤 >控制规
则 1
合法侦听 >控制规 则 2
上下行传输层数据包的 DSCP标记 ~~ >控制规 则 3
深度包检测 >控制规 则 4
DHCPv4服务器功能 >控制规 则 5
DHCPv4客户端功能 >控制规 则 6
DHCPv6客户端功能 >控制规 则 7
DHCPv6服务器功能 >控制规 则 8
GTP隧道封装功能 >控制规 则 9
上下行业务级别的速率调整 >控制规 则 10
上下行业务级别的门限控制 >控制规 则 11
上下行业务级别计费 >控制规 则 12 其中, 表中 DHCP为动态主机设置协议 ( Dynamic Host Configuration
Protocol ), GTP为 GPRS (通用分组无线业务, General Packet Radio
Service) 隧道协议。 对于本发明实施例中的第一数据库和第二数据库可 以作为逻辑实体位于中央控制节点中, 也可以位于中央控制节点外, 此时 第一数据库和第二数据库与中央控制节点通过接口进行互联与通信。中央 控制节点需要定期对第一数据库和第二数据库进行相应的更新。 103、 所述中央控制节点向所述转发面节点发送所述控制规则集合。 进一步地,以使得所述转发面节点将所述控制规则集合中的控制规贝 'J 配置在所述转发面节点上。
可选地, 步骤 103之前还可以包括中央控制节点与转发面节点之间进 行安全认证, 具体认证方式可以釆用 PKI ( Public Key Infrastructure公 开密钥体系)机制, 本发明实施例不做限定, 通过增加中央控制节点与转 发面节点之间安全认证的过程, 可以提升 SDN网絡自举过程的安全性。
104、 中央控制节点接收转发面节点反馈的转发面节点的状态信息。 其中, 转发面节点的状态信息具体可以为: 转发面节点设备的端口状 态, 例如端口是否正常可用, 是否处于阻塞状态等; 转发面节点设备的负 载状态, 例如对于路由器来说, 转发面节点设备的负载状态是指路由器的 緩存占用率; 对于一些智能设备, 转发面节点设备的负载状态还可以包括 CPU资源使用率, 内存使用率等。
对于本发明 实施例中的 中央控制节点具体可以为 Slave SDN Controller (从属中央控制节点) 或者 Master SDN Controller (主中央 控制节点)。 如果中央控制节点是 Slave SDN Controller时, 则 Slave SDN Con t ro 11 e r不需要为转发面节点下发控制规则,只需要获取转发面节点当 前的控制规则和转发面节点的状态信息,上述信息具体可以从转发面节点 获取, 也可以从控制该转发面节点的 Master SDN Control ler获取。 特别 地, 当 Master SDN Control ler和 Slave SDN Cont ro 1 ler的物理通信距离 较近时, 从控制该转发面节点的 Master SDN Controller, 获取转发面节 点当前的控制规则和转发面节点的状态信息的方式的效果更好。本发明实 施例不做限定。
对于本发明实施例提供的方法, 可以根据 SDN管理区域的不同, 来选 择是由转发面节点请求中央控制节点下发控制规则,还是由中央控制节点 主动下发控制规则。 例如, 核心层设备, 即核心层中的各个转发面节点, 由于对性能要求比较高, 通常部署以后升级和新增设备的频率会相对较 低, 因此可以釆用中央控制节点主动下发控制规则的方式; 而对于接入层 和汇聚层, 由于分布的转发面节点数量较多, 并且经常会有新增节点接入 到接入层和汇聚层,此时则可以釆用由转发面节点请求中央控制节点下发 控制规则的方式, 从而实现了设备即插即用的功能, 提升了本发明的适应 性和可扩展性。
对于上述中央控制节点主动下发控制规则的过程, 即 S D N网絡自举的 过程, 可以包括: 中央控制节点上电以后, 与对应的转发面节点建立通信 连接,然后中央控制节点从节点拓朴信息数据库中获取转发面节点的节点 类型或者也可以由转发面节点向中央控制节点上报节点类型,中央控制节 点从策略信息数据库中获取节点类型对应的基本功能集合,以及根据所述 基本功能集合中的基本功能对应的控制规则, 生成控制规则集合, 并将控 制规则集合下发给转发面节点, 此时, 转发面节点会将控制规则集合中的 控制规则配置完成后,向中央控制节点反馈该转发面节点应用的控制规则 和当前的状态信息, 从而实现了 SDN网絡自举的过程。
对于上述转发面节点请求中央控制节点下发控制规则的过程,即转发 面节点自举的过程, 可以包括: 转发面节点上电以后, 根据预先配置的中 央控制节点的地址信息获取该中央控制节点的 I P地址,并根据该 IP地址与 中央控制节点建立通信连接,然后向中央控制节点发送转发面节点的节点 类型, 并请求中央控制节点下发控制规则; 中央控制节点接收到请求信息 后,根据转发面节点的节点类型从策略信息数据库中获取与该节点类型对 应的控制规则集合, 并将该控制规则集合发送给对应的转发面节点, 转发 面节点将控制规则集合配置完成后,将应用的控制规则和当前转发面节点 的状态信息推送给中央控制节点, 从而实现了转发面节点自举的过程。
本发明实施例提供的一种控制规则的处理方法,与目前通过 OpenF l ow Con t ro l l er为各个交换机统一下发控制规则的方式相比, 实现了为 SDN网 絡中不同节点类型的转发面节点配置相对应的控制规则,解决了釆用统一 下发控制规则的方式进行控制规则分配时,会造成下发的控制规则与转发 面节点的节点类型不匹配的问题。
进一步地, 本发明实施例提供另一种控制规则的处理方法, 如图 2所 示, 所述方法包括:
200、 转发面节点与中央控制节点建立通信连接。
可选地, 步骤 200之前还可以包括根据预先配置的所述中央控制节点 的地址信息获取所述中央控制节点的 I P地址,此时根据所述 I P地址与所述 中央控制节点建立通信连接。
其中, 地址信息具体可以为 IPV4/ 6或者 FQDN , 本实施例不做限定。 可选地, 步骤 200之前还可以包括中央控制节点与转发面节点之间进 行安全认证, 具体认证方式可以釆用 PK I ( Pub l i c Key I nf ra s t ruc ture公 开密钥体系)机制, 本发明实施例不做限定, 通过增加中央控制节点与转 发面节点之间安全认证的过程, 可以提升转发面节点自举过程的安全性。
201、 转发面节点接收中央控制节点发送的控制规则集合。 可选地, 步骤 201之前还可以包括转发面节点向所述中央控制节点发送所述转发面 节点的节点类型,用于使所述中央控制节点生成与所述节点类型对应的控 制规则集合。
202、 转发面节点将所述控制规则集合中的控制规则配置在所述转发 面节点上。
203、 转发面节点向所述中央控制节点发送所述转发面节点的状态信 息。
其中, 转发面节点的状态信息具体可以为: 转发面节点设备的端口状 态, 例如端口是否正常可用, 是否处于阻塞状态等; 转发面节点设备的负 载状态, 例如对于路由器来说, 转发面节点设备的负载状态是指路由器的 緩存占用率; 对于一些智能设备, 转发面节点设备的负载状态还可以包括 CPU资源使用率, 内存使用率等。
对于本发明实施例中的转发面节点可以有多个端口, 此时, 可以通过 每个端口分别对应的 IP地址进行端口的区分。对于本发明实施例中的中央 控制节点具体可以为 Slave SDN Controller (从属中央控制节点) 或者 Master SDN Controller (主中央控制节点)。 如果中央控制节点是 Slave SDN Controller时, Slave SDN Control ler的地址信息也被预先配置在转 发面节点中, 此时, 转发面节点根据预先配置的所述从属中央控制节点的 地址信息获取所述从属中央控制节点的 IP地址,并根据所述 IP地址与所述 从属中央控制节点建立通信连接,然后所述转发面节点从所述主中央控制 节点获取所述转发面节点应用的控制规则和所述转发面节点的状态信息, 最后所述转发面节点将所述控制规则和所述状态信息发送给所述从属中 央控制节点。
对于本发明实施例提供的方法, 可以根据 SDN管理区域的不同, 来选 择是由转发面节点请求中央控制节点下发控制规则,还是由中央控制节点 主动下发控制规则。 例如, 对于核心层设备, 即核心层中的各个转发面节 点, 由于对性能要求比较高, 通常部署以后升级和新增设备的频率会相对 较低, 因此可以釆用中央控制节点主动下发控制规则的方式; 而对于接入 层和汇聚层, 由于分布的节点数量较多, 并且经常会有新增节点接入到接 入层和汇聚层,此时则可以釆用由转发面节点请求中央控制节点下发控制 规则的方式, 从而实现了设备即插即用的功能, 提升了本发明的适应性和 可扩展性。
对于上述中央控制节点主动下发控制规则的过程, 即 S D N网絡的自举 过程或者上述转发面节点请求中央控制节点下发控制规则的过程,即转发 面节点的自举过程, 可以参见图 1中的对应描述, 在此不再赘述。
本发明实施例提供的另一种控制规则的处理方法, 与 目前通过 OpenFlow Cont ro 1 ler为各个交换机统一下发控制规则的方式相比, 实现 了为 SDN网絡中不同节点类型的转发面节点配置相对应的控制规则, 解决 了釆用统一下发控制规则的方式进行控制规则分配时,会造成下发的控制 规则与转发面节点的节点类型不匹配的问题。
本发明实施例提供一种控制规则的处理装置, 如图 3所示, 所述装置 的实体可以为中央控制节点, 所述装置包括: 建立单元 31、 获取单元 32、 生成单元 33、 发送单元 34。
建立单元 31 , 可以用于与转发面节点建立通信连接。
获取单元 32 ,可以用于在所述建立单元 31与所述转发面节点建立通信 连接后, 获取所述转发面节点的节点类型。
生成单元 33 ,可以用于生成与所述获取单元 32获取的节点类型对应的 控制规则集合。
发送单元 34 ,可以用于向所述转发面节点发送所述生成单元 33生成的 控制规则集合,以使得所述转发面节点将所述控制规则集合中的控制规则 配置在所述转发面节点上。
所述装置还可以包括: 存储单元 35。
存储单元 35 , 可以用于存储第一数据库, 所述第一数据库包括所述中 央控制节点服务的各个转发面节点分别对应的拓朴位置信息和节点类型 信息, 所述各个转发面节点包括所述转发面节点。
获取单元 32 ,具体可以用于从所述存储单元 35存储的所述第一数据库 中, 获取所述转发面节点的节点类型; 或者从所述控制规则的处理装置的 外部的所述第一数据库中, 获取所述转发面节点的节点类型。
建立单元 31 ,具体可以用于根据所述第一数据库中的拓朴位置信息获 取到所述转发面节点的 I P地址后, 与所述转发面节点建立通信连接。
所述装置还可以包括: 接收单元 36。
接收单元 36 , 可以用于接收所述转发面节点发送的所述节点类型。 生成单元 33 ,具体可以用于生成与所述接收单元 36接收的节点类型对 应的控制规则集合。
存储单元 35 , 还可以用于存储第二数据库, 所述第二数据库中包括至 少一个节点类型分别对应的基本功能集合,以及与所述基本功能集合中的 基本功能对应的控制规则, 所述至少一个节点类型中包含所述节点类型。
生成单元 33 ,具体可以用于从所述存储单元 35存储的所述第二数据库 中, 获取与所述节点类型对应的基本功能集合, 以及根据基本功能集合中 的基本功能对应的控制规则, 生成控制规则集合; 或者
所述生成单元 33 ,具体还可以用于从所述控制规则的处理装置的外部 的所述第二数据库中, 获取与所述节点类型对应的基本功能集合, 以及根 据基本功能集合中的基本功能对应的控制规则, 生成控制规则集合。
建立单元 31 ,具体还可以用于接收到所述转发面节点发送的连接建立 请求信息后, 与所述转发面节点建立通信连接。
进一步地, 所述装置的实体可以为中央控制节点, 如图 5所示, 包括: 处理器 51、 发送器 52、 存储器 53、 接收器 54。
处理器 51 , 可以用于与转发面节点建立通信连接, 获取节点对应的节 点类型,生成与所述节点类型对应的控制规则集合。
发送器 52 ,可以用于向所述转发面节点发送所述处理器 51生成的控制 规则集合,以使得所述转发面节点将所述控制规则集合中的控制规则配置 在所述转发面节点上。
存储器 53 , 可以用于存储第一数据库, 所述第一数据库包括所述中央 控制节点服务的各个转发面节点分别对应的拓朴位置信息和节点类型信 息, 所述各个转发面节点包括所述转发面节点。
处理器 51 , 具体可以用于从所述存储器 53存储的所述第一数据库中, 获取所述转发面节点的节点类型;或者从所述中央控制节点的外部的所述 第一数据库中, 获取所述转发面节点的节点类型。
处理器 51 ,具体还可以用于根据所述存储器存储的第一数据库中的拓 朴位置信息获取到所述转发面节点的 IP地址后,与所述转发面节点建立通 信连接。
接收器 54 , 可以用于接收所述转发面节点发送的所述节点类型。
处理器 51 ,具体还可以用于生成与所述接收器 54接收的节点类型对应 的控制规则集合。
存储器 53 , 还可以用于存储第二数据库, 所述第二数据库中包括至少 一个节点类型分别对应的基本功能集合,以及与所述基本功能集合中的基 本功能对应的控制规则, 所述至少一个节点类型中包含所述节点类型。
处理器 51 , 具体还可以用于从所述存储器 53存储的所述第二数据库 中, 获取与所述节点类型对应的基本功能集合, 以及根据基本功能集合中 的基本功能对应的控制规则, 生成控制规则集合; 或者从所述中央控制节 点的外部的所述第二数据库中, 获取与所述节点类型对应的基本功能集 合, 以及根据基本功能集合中的基本功能对应的控制规则, 生成控制规则 集合。
处理器 51 ,具体还可以用于在所述接收器 54接收到所述转发面节点发 送的连接建立请求信息后, 与所述转发面节点建立通信连接。
需要说明的是,本发明实施例提供的装置所涉及各功能单元的其他相 应描述, 可以参考图 1中的对应描述, 在此不再赘述。
本发明实施例提供的一种控制规则的处理装置,与目前通过 OpenF l ow Con t ro l l er为各个交换机统一下发控制规则的方式相比,通过为不同类型 的转发面节点配置相对应的控制规则,解决了釆用统一下发控制规则的方 式进行控制规则分配时,会造成下发的控制规则与转发面节点的节点类型 不匹配的问题。
本发明实施例提供另一种控制规则的处理装置, 如图 4所示, 所述装 置的实体可以为转发面节点, 所述装置包括: 建立单元 41、 接收单元 42、 配置单元 43。 建立单元 4 1 , 可以用于与中央控制节点建立通信连接。
接收单元 42 ,可以用于在所述建立单元 41与所述中央控制节点建立通 信连接后, 接收所述中央控制节点发送的控制规则集合, 其中, 所述控制 规则集合为所述中央控制节点生成的, 并且与转发面节点的节点类型对 应。
配置单元 4 3 ,可以用于将所述接收单元 42接收的控制规则集合中的控 制规则配置在转发面节点上。
所述装置还可以包括: 发送单元 44。
发送单元 44 ,可以用于在所述接收单元 42接收到所述中央控制节点发 送的所述控制规则集合之前,向所述中央控制节点发送所述转发面节点的 节点类型,用于使所述中央控制节点生成与所述节点类型对应的控制规则 所述装置还可以包括: 存储单元 45、 获取单元 46。
存储单元 45 , 可以用于存储预先配置的所述中央控制节点的地址信 息。
获取单元 46 ,可以用于根据所述存储单元 45存储的预先配置的所述中 央控制节点的地址信息, 获取所述中央控制节点的 I P地址。
建立单元 4 1 ,具体可以用于根据所述获取单元 46获取的所述中央控制 节点的 I P地址与所述中央控制节点建立通信连接。
获取单元 46 ,还可以用于根据所述存储单元 45存储的预先配置的所述 从属中央控制节点的地址信息获取所述从属中央控制节点的 I P地址。 属中央控制节点建立通信连接。
获取单元 46 ,还可以用于从所述主中央控制节点获取所述转发面节点 应用的控制规则和所述转发面节点的状态信息。 述状态信息发送给所述从属中央控制节点。
进一步地, 所述装置的实体可以为转发面节点, 如图 6所示, 所述转 发面节点包括: 处理器 61、 接收器 62。
处理器 61 , 可以用于与中央控制节点建立通信连接。
接收器 62 ,可以用于在所述处理器 61与所述中央控制节点建立通信连 接后, 接收所述中央控制节点发送的控制规则集合, 其中, 所述控制规则 集合为所述中央控制节点生成的, 并且与转发面节点的节点类型对应。
处理器 61 ,还可以用于将所述接收器 62接收的控制规则集合中的控制 规则配置在转发面节点上。
所述转发面节点还可以包括: 发送器 63、 存储器 64。
发送器 63 ,可以用于在所述接收器 62接收到所述中央控制节点发送的 所述控制规则集合之前,向所述中央控制节点发送所述转发面节点的节点 类型, 用于使所述中央控制节点生成与所述节点类型对应的控制规则集 合。
存储器 64 , 可以用于存储预先配置的所述中央控制节点的地址信息。 处理器 61 ,还可以用于根据所述存储器 64存储的预先配置的所述中央 控制节点的地址信息, 获取所述中央控制节点的 IP地址, 根据所述中央控 制节点的 IP地址与所述中央控制节点建立通信连接。
处理器 61 ,还可以用于根据所述存储器 64存储的预先配置的所述从属 中央控制节点的地址信息获取所述从属中央控制节点的 I P地址 ,根据所述 I P地址与所述从属中央控制节点建立通信连接,从所述主中央控制节点获 取所述转发面节点应用的控制规则和所述转发面节点的状态信息。
发送器 63 ,还可以用于将所述处理器 61获取的所述控制规则和所述状 态信息发送给所述从属中央控制节点。
需要说明的是,本发明实施例提供的装置所涉及各功能单元的其他相 应描述, 可以参考图 2中的对应描述, 在此不再赘述。 本发明实施例提供的另一种控制规则的处理装置, 与 目前通过
OpenF l ow Cont ro 1 l er为 个交 |奐才几统一下 控制见贝']的方式相比, 通 t 为不同类型的转发面节点配置相对应的控制规则,解决了釆用统一下发控 制规则的方式进行控制规则分配时,会造成下发的控制规则与转发面节点 的节点类型不匹配的问题。
本发明实施例提供的控制规则的处理装置可以实现上述提供的方法 实施例, 具体功能实现请参见方法实施例中的说明, 在此不再赘述。 本发 明实施例提供的控制规则的处理方法及装置可以适用于网絡信息技术领 域, 但不仅限于此。
本领域普通技术人员可以理解实现上述实施例方法中的全部或部分 流程, 是可以通过计算机程序来指令相关的硬件来完成, 所述的程序可存 储于一计算机可读取存储介质中, 该程序在执行时, 可包括如上述各方法 的实施例的流程。 其中, 所述的存储介质可为磁碟、 光盘、 只读存储记忆 体 ( Read-Only Memory , ROM ) 或随机存 者 i己忆体 ( Random Access Memory, RAM ) 等。
以上所述, 仅为本发明的具体实施方式, 但本发明的保护范围并不局 限于此, 任何熟悉本技术领域的技术人员在本发明揭露的技术范围内, 可 轻易想到的变化或替换, 都应涵盖在本发明的保护范围之内。 因此, 本发 明的保护范围应该以权利要求的保护范围为准。

Claims

权 利 要 求 书
1、 一种控制规则的处理方法, 其特征在于, 包括:
中央控制节点与转发面节点建立通信连接;
所述中央控制节点获取所述转发面节点的节点类型, 并生成与所述节 点类型对应的控制规则集合;
所述中央控制节点向所述转发面节点发送所述控制规则集合, 以使得 所述转发面节点将所述控制规则集合中的控制规则配置在所述转发面节点 上。
2、 根据权利要求 1所述的控制规则的处理方法, 其特征在于, 所述中 央控制节点获取所述转发面节点的节点类型包括:
所述中央控制节点从第一数据库中,获取所述转发面节点的节点类型, 所述第一数据库包括所述中央控制节点服务的各个转发面节点分别对应的 拓朴位置信息和节点类型信息,所述各个转发面节点包括所述转发面节点; 或者
所述中央控制节点接收所述转发面节点发送的所述节点类型。
3、 根据权利要求 2所述的控制规则的处理方法, 其特征在于, 所述中 央控制节点与所述转发面节点建立通信连接包括:
所述中央控制节点根据所述第一数据库中的拓朴位置信息获取到所述 转发面节点的 I P地址后, 与所述转发面节点建立通信连接。
4、 根据权利要求 1或 2或 3所述的控制规则的处理方法, 其特征在于, 所述生成与所述节点类型对应的控制规则集合包括:
所述中央控制节点从第二数据库中, 获取与所述节点类型对应的基本 功能集合, 以及根据所述基本功能集合中的基本功能对应的控制规则, 生 成控制规则集合;
其中, 所述第二数据库中包括至少一个节点类型分别对应的基本功能 集合, 以及与所述基本功能集合中的基本功能对应的控制规则, 所述至少 一个节点类型中包含所述节点类型。
5、 根据权利要求 1或 2或 4所述的控制规则的处理方法, 其特征在于, 所述中央控制节点与所述转发面节点建立通信连接包括:
所述中央控制节点接收到所述转发面节点发送的连接建立请求信息 后, 与所述转发面节点建立通信连接。
6、 根据权利要求 1-5任一项所述的控制规则的处理方法, 其特征在于, 还包括:
若所述中央控制节点为从属中央控制节点, 则所述从属中央控制节点 按照预先配置的周期, 获取所述从属中央控制节点服务的转发面节点应用 的控制规则和所述转发面节点的状态信息。
7、 一种控制规则的处理方法, 其特征在于, 包括:
转发面节点与中央控制节点建立通信连接;
所述转发面节点接收所述中央控制节点发送的控制规则集合, 其中, 所述控制规则集合为所述中央控制节点生成的, 并且与所述转发面节点的 节点类型对应;
所述转发面节点将所述控制规则集合中的控制规则配置在所述转发面 节点上。
8、 根据权利要求 7所述的控制规则的处理方法, 其特征在于, 所述转 发面节点接收中央控制节点发送的控制规则集合之前, 还包括:
所述转发面节点向所述中央控制节点发送所述转发面节点的节点类 型, 用于使所述中央控制节点生成与所述节点类型对应的控制规则集合。
9、 根据权利要求 7或 8所述的控制规则的处理方法, 其特征在于, 所述 转发面节点向所述中央控制节点发送所述转发面节点的节点类型之前, 还 包括:
所述转发面节点根据预先配置的所述中央控制节点的地址信息, 获取 所述中央控制节点的 I P地址; 所述转发面节点与中央控制节点建立通信连接包括:
所述转发面节点根据所述中央控制节点的 I P地址与所述中央控制节点 建立通信连接。
1 0、根据权利要求 7-9任一项所述的控制规则的处理方法,其特征在于, 所述中央控制节点包括主中央控制节点和从属中央控制节点;
所述转发面节点根据预先配置的所述从属中央控制节点的地址信息获 取所述从属中央控制节点的 I P地址, 并根据所述 I P地址与所述从属中央控 制节点建立通信连接;
所述转发面节点从所述主中央控制节点获取所述转发面节点应用的控 制规则和所述转发面节点的状态信息;
所述转发面节点将所述控制规则和所述状态信息发送给所述从属中央 控制节点。
1 1、 一种控制规则的处理装置, 其特征在于, 包括:
建立单元, 用于与转发面节点建立通信连接;
获取单元, 用于在所述建立单元与所述转发面节点建立通信连接后, 获取所述转发面节点的节点类型;
生成单元, 用于生成与所述获取单元获取的节点类型对应的控制规则 发送单元, 用于向所述转发面节点发送所述生成单元生成的控制规则 集合, 以使得所述转发面节点将所述控制规则集合中的控制规则配置在所 述转发面节点上。
12、 根据权利要求 11所述的控制规则的处理装置, 其特征在于, 所述装置还包括: 存储单元, 用于存储第一数据库, 所述第一数据库 包括所述中央控制节点服务的各个转发面节点分别对应的拓朴位置信息和 节点类型信息, 所述各个转发面节点包括所述转发面节点; 其中, 所述获 取单元, 具体用于从所述存储单元存储的所述第一数据库中, 获取所述转 发面节点的节点类型; 或者
所述获取单元, 具体用于从所述控制规则的处理装置的外部的所述第 一数据库中, 获取所述转发面节点的节点类型。
1 3、 根据权利要求 12所述的控制规则的处理装置, 其特征在于, 所述建立单元, 具体用于根据所述第一数据库中的拓朴位置信息获取 到所述转发面节点的 I P地址后, 与所述转发面节点建立通信连接。
14、 根据权利要求 11或 12或 1 3所述的控制规则的处理装置, 其特征在 于, 所述装置还包括:
接收单元, 用于接收所述转发面节点发送的所述节点类型;
所述生成单元, 具体用于生成与所述接收单元接收的节点类型对应的 控制规则集合。
15、 根据权利要求 11或 12或 14所述的控制规则的处理装置, 其特征在 于,
所述存储单元, 还用于存储第二数据库, 所述第二数据库中包括至少 一个节点类型分别对应的基本功能集合, 以及与所述基本功能集合中的基 本功能对应的控制规则, 所述至少一个节点类型中包含所述节点类型; 其 中, 所述生成单元, 具体用于从所述存储单元存储的所述第二数据库中, 获取与所述节点类型对应的基本功能集合, 以及根据基本功能集合中的基 本功能对应的控制规则, 生成控制规则集合; 或者
所述生成单元, 具体用于从所述控制规则的处理装置的外部的所述第 二数据库中, 获取与所述节点类型对应的基本功能集合, 以及根据基本功 能集合中的基本功能对应的控制规则, 生成控制规则集合。
16、 根据权利要求 11-15任一项所述的控制规则的处理装置, 其特征在 于,
所述建立单元, 具体还用于接收到所述转发面节点发送的连接建立请 求信息后, 与所述转发面节点建立通信连接。
17、 一种控制规则的处理装置, 其特征在于, 包括:
建立单元, 用于与中央控制节点建立通信连接;
接收单元,用于在所述建立单元与所述中央控制节点建立通信连接后, 接收所述中央控制节点发送的控制规则集合, 其中, 所述控制规则集合为 所述中央控制节点生成的, 并且与转发面节点的节点类型对应;
配置单元, 用于将所述接收单元接收的控制规则集合中的控制规则配 置在转发面节点上。
18、 根据权利要求 17所述的控制规则的处理装置, 其特征在于, 所述 装置还包括:
发送单元, 用于在所述接收单元接收到所述中央控制节点发送的所述 控制规则集合之前,向所述中央控制节点发送所述转发面节点的节点类型, 用于使所述中央控制节点生成与所述节点类型对应的控制规则集合。
19、 根据权利要求 17或 18所述的控制规则的处理装置, 其特征在于, 所述装置还包括:
存储单元, 用于存储预先配置的所述中央控制节点的地址信息; 获取单元, 用于根据所述存储单元存储的预先配置的所述中央控制节 点的地址信息, 获取所述中央控制节点的 I P地址;
所述建立单元, 具体用于根据所述获取单元获取的所述中央控制节点 的 I P地址与所述中央控制节点建立通信连接。
20、 根据权利要求 17-19任一项所述的控制规则的处理装置, 其特征在 于, 所述中央控制节点包括主中央控制节点和从属中央控制节点;
所述获取单元, 还用于根据所述存储单元存储的预先配置的所述从属 中央控制节点的地址信息获取所述从属中央控制节点的 I P地址; 央控制节点建立通信连接;
所述获取单元, 还用于从所述主中央控制节点获取所述转发面节点应 用的控制规则和所述转发面节点的状态信息;
所述发送单元, 还用于将所述获取单元获取的所述控制规则和所述状 态信息发送给所述从属中央控制节点。
PCT/CN2013/075201 2013-05-06 2013-05-06 控制规则的处理方法及装置 WO2014179925A1 (zh)

Priority Applications (2)

Application Number Priority Date Filing Date Title
PCT/CN2013/075201 WO2014179925A1 (zh) 2013-05-06 2013-05-06 控制规则的处理方法及装置
CN201380034020.4A CN104662860B (zh) 2013-05-06 2013-05-06 控制规则的处理方法及装置

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
PCT/CN2013/075201 WO2014179925A1 (zh) 2013-05-06 2013-05-06 控制规则的处理方法及装置

Publications (1)

Publication Number Publication Date
WO2014179925A1 true WO2014179925A1 (zh) 2014-11-13

Family

ID=51866596

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2013/075201 WO2014179925A1 (zh) 2013-05-06 2013-05-06 控制规则的处理方法及装置

Country Status (2)

Country Link
CN (1) CN104662860B (zh)
WO (1) WO2014179925A1 (zh)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106815259B (zh) * 2015-12-02 2020-05-01 中国电信股份有限公司 移动缓存业务控制方法、装置以及系统
CN110598413B (zh) * 2019-06-26 2021-06-15 上海云盾信息技术有限公司 一种防攻击平台规则维护的方法、系统及设备

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101069145A (zh) * 2004-09-30 2007-11-07 茨特里克斯系统公司 在提供访问联网内容文件中分配访问控制级的方法和设备
CN102137104A (zh) * 2011-03-11 2011-07-27 华为软件技术有限公司 一种传输控制协议tcp长连接接入控制方法和装置
CN103051629A (zh) * 2012-12-24 2013-04-17 华为技术有限公司 一种基于软件定义网络中数据处理的系统、方法和节点

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20080183618A1 (en) * 2007-01-26 2008-07-31 First Data Corporation Global government sanctions systems and methods
CN101316264B (zh) * 2007-06-02 2011-05-04 华为技术有限公司 业务与承载分离架构下资源控制方法及设备

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101069145A (zh) * 2004-09-30 2007-11-07 茨特里克斯系统公司 在提供访问联网内容文件中分配访问控制级的方法和设备
CN102137104A (zh) * 2011-03-11 2011-07-27 华为软件技术有限公司 一种传输控制协议tcp长连接接入控制方法和装置
CN103051629A (zh) * 2012-12-24 2013-04-17 华为技术有限公司 一种基于软件定义网络中数据处理的系统、方法和节点

Also Published As

Publication number Publication date
CN104662860B (zh) 2017-12-22
CN104662860A (zh) 2015-05-27

Similar Documents

Publication Publication Date Title
US10693983B2 (en) Method for monitoring a status in form of presence and/or absence of a network entity
CN107810627B (zh) 用于建立媒体会话的方法和装置
US9485147B2 (en) Method and device thereof for automatically finding and configuring virtual network
EP3282667B1 (en) Generating a vnf for authorizing service
JP2022550356A (ja) マルチテナントソフトウェア定義ワイドエリアネットワーク(sd-wan)ノードを提供するための方法、システム、およびコンピュータ読取可能媒体
WO2017137008A1 (zh) 一种虚拟网络设备及相关方法
JP2019530376A (ja) IoTデバイスコネクティビティ、ディスカバリ、ネットワーキング
WO2019184752A1 (zh) 网络设备的管理方法、装置及系统
WO2018019299A1 (zh) 一种虚拟宽带接入方法、控制器和系统
KR102059282B1 (ko) 통신 네트워크들에서의 향상된 이웃 발견
WO2015062354A1 (zh) 一种基站数据的配置方法及装置
WO2011140919A1 (zh) 接入业务批发网络的方法、设备、服务器和系统
WO2011144152A1 (zh) 信息提供方法及家庭网关、家庭网络系统
BR102020014994A2 (pt) Método para configuração de um sistema de extensão de cobertura de comunicação sem fio e um sistema de extensão de cobertura de comunicação sem fio que implementa o dito método
WO2015184853A1 (zh) 一种IPv6无状态自动配置的认证方法及装置
WO2009056013A1 (en) A policy control method and system for layer two device
WO2017000443A1 (zh) 管理专线用户的方法、宽带接入服务器及管理服务器
US10742751B2 (en) User based mDNS service discovery
US10439877B2 (en) Systems and methods for enabling wide area multicast domain name system
WO2014179925A1 (zh) 控制规则的处理方法及装置
WO2014169838A1 (zh) 动态主机配置协议服务器、中继的管理方法及装置
CN104683491B (zh) 一种获取虚拟机的因特网协议地址的方法和系统
WO2021190029A1 (zh) 实现运营商级网络地址转换的方法、装置和系统
US11102167B2 (en) Systems and methods for multicast domain name system redundant query suppression
US10382274B2 (en) System and method for wide area zero-configuration network auto configuration

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 13884204

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 13884204

Country of ref document: EP

Kind code of ref document: A1