WO2017197983A1 - 流量处理方法及系统、存储介质、交换机 - Google Patents

流量处理方法及系统、存储介质、交换机 Download PDF

Info

Publication number
WO2017197983A1
WO2017197983A1 PCT/CN2017/078394 CN2017078394W WO2017197983A1 WO 2017197983 A1 WO2017197983 A1 WO 2017197983A1 CN 2017078394 W CN2017078394 W CN 2017078394W WO 2017197983 A1 WO2017197983 A1 WO 2017197983A1
Authority
WO
WIPO (PCT)
Prior art keywords
policy
route
switch
module
configuration
Prior art date
Application number
PCT/CN2017/078394
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 中兴通讯股份有限公司
Publication of WO2017197983A1 publication Critical patent/WO2017197983A1/zh

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L45/00Routing or path finding of packets in data switching networks
    • H04L45/38Flow based routing
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L45/00Routing or path finding of packets in data switching networks
    • H04L45/12Shortest path evaluation
    • H04L45/123Evaluation of link metrics
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L47/00Traffic control in data switching networks
    • H04L47/10Flow control; Congestion control
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L47/00Traffic control in data switching networks
    • H04L47/10Flow control; Congestion control
    • H04L47/12Avoiding congestion; Recovering from congestion
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L47/00Traffic control in data switching networks
    • H04L47/10Flow control; Congestion control
    • H04L47/20Traffic policing

Definitions

  • the present invention relates to the field of data networks and communication technologies, and in particular, to a traffic processing method and system, a storage medium, and a switch.
  • SDN Software Defined Network
  • Solution 1 Block abnormal traffic from the source, detect the traffic that causes the network to be congested on the switch, and then block or discard the traffic from the source.
  • Solution 2 Automatically distribute traffic to different links in a load balancing manner.
  • the traffic of the entire network in the data center is monitored on the controller. When a congested link is found, the traffic is distributed to other links in a load-sharing manner.
  • scenario 1 cannot solve the scenario of normal service burst access, traffic blocked or dropped may be normal service access traffic, which may result in user service failure;
  • scheme 2 requires controller real-time monitoring chain There is a large amount of packet interaction between the switch and the controller. This has high requirements on the processing capability of the controller. Especially in the scenario where the number of switches controlled by the controller is large, the performance of the controller becomes a bottleneck.
  • the embodiments of the present invention provide a traffic processing method and system, a storage medium, and a switch, so as to at least solve the technical problem that the normal service burst access in the related art and the SDN network have high performance requirements on the controller.
  • a traffic processing method including: after a traffic arrives at a switch, the switch forwards the traffic according to a first route sent by the controller of the SDN to the switch, where the first The route carries a policy group index configured to retrieve a configuration policy corresponding to the first route, where the configuration policy includes a configuration relationship between traffic of different services and different links.
  • the controller of the SDN includes a policy processing module, a group management module, and a route delivery module, before the switch forwards the traffic to the first route of the switch according to the SDN controller.
  • the method further includes: the policy processing module acquiring the configuration policy, and notifying the group management module to allocate the policy group index to the configuration policy; and after the group management module allocates the policy group index to the configuration policy, the policy processing The module obtains the foregoing policy group index, and matches the foregoing configuration policy with the first route.
  • the route delivery module carries the policy group index in the first The route is delivered to the switch.
  • the method further includes: the foregoing policy
  • the processing module deletes the foregoing configuration policy, and notifies the group management module to release the policy group index that has been allocated to the configuration policy; after the group management module releases the policy group index that has been allocated to the configuration policy, the policy processing module Matching the default policy and the second route; after the policy processing module matches the default policy and the second route, the routing module sends the second route to the switch, where the default policy includes different services.
  • the controller of the SDN further includes a link state management module, where the method is performed after the routing module sends the policy group index to the switch in the first route.
  • the method further includes: the link state management module notifying the policy processing module after discovering that the link state between the switch and the other switch changes from normal to abnormal; the policy processing module notifying the group management module that the configuration policy is invalid After the above-mentioned group management module sets the above-mentioned configuration policy to be invalid, the policy processing module matches the default policy and the second route; after the policy processing module matches the default policy and the second route, the route delivery module will The second route is sent to the switch, and the default policy includes a default relationship between traffic of different services and different links. After the traffic reaches the switch, the switch sends the above-mentioned route to the above-mentioned route delivery module. The foregoing second route of the switch forwards the foregoing flow .
  • the method further includes: the link state management module discovering between the switch and the other switch. After the link status changes from abnormal to normal, the foregoing policy processing module is notified; the policy processing module notifies the group management module to set the configuration policy to be valid; after the group management module sets the configuration policy to be valid, the policy processing The module obtains the policy group index assigned to the above configuration policy from the group management module; After the policy processing module obtains the policy group index that is allocated to the configuration policy from the group management module, the route delivery module carries the policy group index in the first route and sends the policy group index to the switch.
  • a traffic processing system including: a switch, configured to forward the traffic according to a first route sent by the controller of the SDN to the switch after the traffic reaches the switch, where The first route carries a policy group index for retrieving a configuration policy corresponding to the first route, where the configuration policy includes a configuration relationship between traffic of different services and different links.
  • the system further includes the controller of the SDN, wherein the controller of the SDN includes a policy processing module, a group management module, and a routing delivery module, and the policy processing module is configured to be in the foregoing Before the switch forwards the traffic according to the first route sent by the controller of the SDN to the switch, the switch obtains the foregoing configuration policy, and notifies the group management module to allocate the policy group index to the configuration policy.
  • the policy processing module is further configured to After the group management module allocates the policy group index to the configuration policy, the policy group index is obtained, and the configuration policy and the first route are matched; the route delivery module is configured to match the configuration policy in the policy processing module. After the first route is forwarded, the policy group index is carried in the first route and sent to the switch.
  • the policy processing module is further configured to: after the routing module sends the policy group index to the switch in the first route, delete the configuration policy, and notify the The foregoing group management module releases the foregoing policy group index that has been allocated to the foregoing configuration policy; the policy processing module is further configured to match the default policy and the first policy after the group management module releases the policy group index that has been allocated to the configuration policy.
  • the route is delivered to the switch, and the second route is sent to the switch after the policy processing module matches the default policy and the second route, where the default policy includes traffic of different services.
  • the default relationship with different links where the above traffic After the switch reaches the switch, the switch forwards the traffic according to the second route that is sent by the routing module to the switch.
  • the controller of the SDN further includes: a link state management module, wherein the link state management module is configured to carry the policy group index in the foregoing After the route is sent to the switch, after the link state between the switch and the other switch is changed from normal to abnormal, the policy processing module is notified; the policy processing module is further configured to notify the group management module that the foregoing The configuration policy is set to be invalid; the policy processing module is further configured to: after the group management module sets the configuration policy to be invalid, the default policy and the second route are matched; the routing module is configured to be in the policy processing module.
  • the foregoing second route is sent to the switch, where the default policy includes a default relationship between traffic of different services and different links, where after the traffic reaches the switch,
  • the switch is delivered to the above according to the foregoing routing module.
  • the second routing switch to forward the flow rate.
  • the link state management module is further configured to: after the routing module sends the second route to the switch, discover a chain between the switch and the other switch. After the status of the path changes from abnormal to normal, the policy processing module is notified; the policy processing module is further configured to notify the group management module to set the configuration policy to be valid; and the policy processing module is further configured to be in the group management module. After the configuration policy is set to be valid, the policy group index assigned to the configuration policy is obtained from the group management module; the route delivery module is further configured to obtain, from the group management module, the allocation to the configuration. After the policy group index of the policy is carried, the policy group index is carried in the first route and sent to the switch.
  • a computer storage medium stores computer executable instructions, and the computer executable instructions are configured
  • a flow processing method provided by an embodiment of the present invention is implemented.
  • a switch comprising: a processor and a storage medium configured to store executable instructions, wherein the processor is configured to execute the stored executable instructions, the executable instructions comprising :
  • the traffic is forwarded according to the first route sent by the controller of the SDN to the switch.
  • the first route carries a policy group index for retrieving a configuration policy corresponding to the first route, where the configuration policy includes a configuration relationship between traffic of different services and different links.
  • the traffic in the data center is planned and deployed by using the configuration policy.
  • the switch forwards the traffic according to the first route sent by the controller to the switch according to the SDN controller, where the first The route carries the policy group index for retrieving the configuration policy corresponding to the first route.
  • the configuration policy includes the configuration relationship between the traffic of different services and different links, and at least solves the problem that the normal service burst access in the related technology is not available.
  • the technical problem that the SDN network requires high performance of the controller achieves the technical effect of simply and efficiently solving the congestion of the data center network.
  • FIG. 1 is a flowchart of a traffic processing method according to an embodiment of the present invention.
  • FIG. 2 is a block diagram showing the structure of a traffic processing system according to an embodiment of the present invention.
  • FIG. 3 is a schematic diagram of a typical SDN networking of a data center according to an embodiment of the present invention.
  • FIG. 4 is a block diagram showing the structure of a traffic processing system according to an embodiment of the present invention.
  • FIG. 5 is a schematic structural diagram of a flow processing system according to an embodiment of the present invention.
  • FIG. 1 is a flowchart of a traffic processing method according to an embodiment of the present invention. As shown in FIG. 1 , the process includes the following steps:
  • Step S102 after the traffic arrives at the switch, the switch forwards the traffic according to the first route that is sent to the switch by the controller of the SDN, where the first route carries a policy group index for retrieving the configuration policy corresponding to the first route.
  • the configuration policy includes the configuration relationship between traffic of different services and different links.
  • the controller of the SDN can receive the policy configuration command of the user, generate a corresponding configuration policy, and assign a corresponding policy group index to the configuration policy.
  • Each policy group index corresponds to a policy group in the configuration policy, and each policy group index is carried in a route and sent to the corresponding switch along with the route.
  • the switch forwards traffic, it forwards traffic according to the traffic of different services defined in the corresponding policy group and the configuration relationship of different links.
  • the configuration of the traffic in the data center is planned and deployed. After the traffic reaches the switch, the switch forwards the traffic according to the first route sent by the controller to the switch according to the SDN controller, where the first route is used.
  • the policy group index is used to retrieve the configuration policy corresponding to the first route, and the configuration policy includes the configuration relationship between the traffic of different services and different links, and at least solves the problem that the normal service burst access and the SDN network in the related technologies are related.
  • the technical problem of high performance requirements of the controller achieves the technical effect of simply and efficiently solving the congestion of the data center network.
  • the controller of the SDN includes a policy processing module, group management The module and the routing delivery module, before the switch forwards the traffic to the first route of the switch according to the SDN controller, the method further includes: the policy processing module acquires the configuration policy, and notifies the group management module to allocate the policy group index for the configuration policy. After the group management module assigns a policy group index to the configuration policy, the policy processing module obtains the policy group index and matches the configuration policy with the first route; after the policy processing module matches the configuration policy and the first route, the route delivery module will The policy group index is carried in the first route and sent to the switch.
  • the controller of the SDN can obtain the configuration policy formulated by the user through the policy processing module, and notify the group management module to assign a policy group index to each policy group in the configuration policy, where the group management module is a configuration policy.
  • the policy group index is fed back to the policy processing module.
  • the policy processing module matches the configuration policy and the first route, so that the corresponding policy group index can be carried in the corresponding route.
  • the routing module sends the policy group index to the switch in the first route.
  • the policy processing module is mainly responsible for receiving and processing the policy configuration of the user, notifying the group management module to create a policy group (ie, a policy group), and managing the policy group information; the group management module is responsible for creating and managing the common group (ie, The default group) and the policy group, and provide the query interface.
  • the default relationship between the traffic of different services defined in the default group and the different links that is, the factory configuration relationship, the traffic of different services defined in the policy group, and different links.
  • the configuration relationship that is, the newly specified configuration relationship by the user as needed.
  • the route delivery module is responsible for delivering the route to the switch, and is responsible for integrating the corresponding Group index (ie, the group index) of the route.
  • the policy processing module first queries the group index related to the service (route). If yes, the switch carries the policy group index; if not, the common group index is obtained from the group management module.
  • the SDN network can be continuously exchanged between the controller and each switch in the SDN network by using the manual configuration to pre-configure the related configuration policy. Reduced performance requirements for the controller.
  • the method further includes: the policy processing module deletes the configuration policy, and notifies the group management module to release the allocated The policy group index of the configuration policy; after the group management module releases the policy group index that has been assigned to the configuration policy, the policy processing module matches the default policy and the second route; after the policy processing module matches the default policy and the second route, The route delivery module sends the second route to the switch.
  • the default policy includes the default relationship between the traffic of different services and different links. After the traffic reaches the switch, the switch sends the switch to the switch according to the route delivery module. Two routes forward traffic.
  • the control switch forwards the traffic according to the route carrying the policy group index corresponding to the configuration policy, and after the policy processing module deletes the configuration policy, the control switch forwards the traffic according to the default route.
  • the user can flexibly add/delete the configuration policy, and after adding/removing the configuration policy, in order to ensure normal communication, the switch can be controlled to forward traffic according to the configured route/default route.
  • the controller of the SDN further includes a link state management module, and after the route sending module carries the policy group index in the first route and sends the packet to the switch, the method further includes: The management module notifies the policy processing module after discovering that the link state between the switch and the other switch changes from normal to abnormal; the policy processing module notifies the group management module that the configuration policy is set to be invalid; after the group management module sets the configuration policy to be invalid.
  • the policy processing module matches the default policy and the second route; after the policy processing module matches the default policy and the second route, the route delivery module sends the second route to the switch, and the default policy includes different traffic and different services.
  • the default relationship of the link After the traffic reaches the switch, the switch forwards the traffic according to the second route sent by the routing module to the switch.
  • the link state management module is responsible for maintaining links between switches in the SDN control domain.
  • the UP/DOWN state that is, the link is normal/abnormal.
  • the policy processing module is notified.
  • the policy processing module triggers the route delivery module to re-route.
  • the method further includes: the link state management module detects that the link state between the switch and the other switch changes from abnormal to abnormal After normal, the policy processing module is notified; the policy processing module notifies the group management module to set the configuration policy to be valid; after the group management module sets the configuration policy to be valid, the policy processing module obtains the policy group assigned to the configuration policy from the group management module. After the policy processing module obtains the policy group index assigned to the configuration policy from the group management module, the route delivery module carries the policy group index in the first route and sends it to the switch.
  • the policy management module is used to implement the intervention of the service entry (route), and the SDN controller can properly allocate and schedule the traffic within the domain, thereby effectively avoiding traffic congestion in the SDN domain.
  • the invention can adjust the delivery manner of the routing table according to the state of the link. When the link is faulty, the configured policy is invalid and the common flow table is delivered. When the link is restored, the configuration policy is re-enabled. The policy is used to plan and deploy the traffic inside the data center.
  • the present invention solves the problem that the normal service burst access fails and the performance of the controller in the SDN network is high.
  • the invention provides a simple and efficient solution for solving data center network congestion, which greatly facilitates the daily management of network management personnel.
  • the method according to the embodiment can be implemented by means of software plus a necessary general hardware platform, and of course, by hardware, but in many cases, the former is more Good implementation.
  • the technical solution of the present invention which is essential or contributes to the prior art, can be embodied in the form of a software product stored in a storage medium (such as a read only memory (ROM, Read). -Only Memory)/Random Access Memory (RAM), including several instructions to make a terminal device (can It is a mobile phone, a computer, a server, or a network device, etc.) that performs the methods described in various embodiments of the present invention.
  • a traffic processing system is also provided in this embodiment, which is used to implement the embodiments and the preferred embodiments, and details are not described herein.
  • the term "module” may implement a combination of software and/or hardware of a predetermined function.
  • the systems described in the following embodiments are preferably implemented in software, hardware, or a combination of software and hardware, is also possible and contemplated.
  • the system includes: a switch 202 configured to send a first route to a switch according to an SDN controller 204 after the traffic reaches the switch. Forwarding traffic, where the first route carries a policy group index for retrieving a configuration policy corresponding to the first route, and the configuration policy includes a configuration relationship between traffic of different services and different links.
  • the controller of the SDN can receive the policy configuration command of the user, generate a corresponding configuration policy, and assign a corresponding policy group index to the configuration policy.
  • Each policy group index corresponds to a policy group in the configuration policy, and each policy group index is carried in a route and sent to the corresponding switch along with the route.
  • the switch forwards traffic, it forwards traffic according to the traffic of different services defined in the corresponding policy group and the configuration relationship of different links.
  • the configuration of the traffic in the data center is planned and deployed. After the traffic reaches the switch, the switch forwards the traffic according to the first route sent by the controller to the switch according to the SDN controller, where the first route is used.
  • the policy group index is used to retrieve the configuration policy corresponding to the first route, and the configuration policy includes the configuration relationship between the traffic of different services and different links, and at least solves the problem that the normal service burst access and the SDN network in the related technologies are related.
  • the technical problem of high performance requirements of the controller achieves the technical effect of simply and efficiently solving the congestion of the data center network.
  • the above system further includes a controller of the SDN, wherein the SDN
  • the controller includes a policy processing module, a group management module, a route delivery module, and a policy processing module, configured to acquire a configuration policy and notify the group management before the switch forwards the traffic according to the first route sent to the switch by the SDN controller.
  • the module allocates a policy group index for the configuration policy; the policy processing module is further configured to: after the group management module allocates the policy group index for the configuration policy, obtain the policy group index, and match the configuration policy with the first route; After the policy processing module matches the configuration policy and the first route, the policy group index is carried in the first route and sent to the switch.
  • the policy processing module is further configured to: after the routing module sends the policy group index to the switch in the first route, delete the configuration policy, and notify the group management module to release the allocated
  • the policy grouping module is configured to match the default policy and the second route after the group management module releases the policy group index that has been assigned to the configuration policy; the routing delivery module is also configured to be in the policy.
  • the processing module matches the default policy and the second route, the second route is sent to the switch.
  • the default policy includes the default relationship between traffic of different services and different links. After the traffic reaches the switch, the switch follows the route. The second route sent by the sending module to the switch forwards the traffic.
  • the controller of the SDN further includes: a link state management module, wherein the link state management module is configured to carry the policy group index in the first route in the route delivery module After the switch is sent, after the link state between the switch and the other switch is changed from normal to abnormal, the policy processing module is notified; the policy processing module is further configured to notify the group management module that the configuration policy is set to be invalid; the policy processing module also After the group management module sets the configuration policy to be invalid, the default policy and the second route are matched; the route delivery module is configured to deliver the second route after the policy processing module matches the default policy and the second route.
  • the default policy includes the default relationship between traffic of different services and different links. After the traffic reaches the switch, the switch forwards the traffic according to the second route sent by the routing module to the switch.
  • the link state management module is further configured to: after the route sending module sends the second route to the switch, the link state between the discovery switch and the other switch is changed from abnormal to abnormal After normal, the policy processing module is notified; the policy processing module is further configured to notify the group management module to set the configuration policy to be valid; the policy processing module is further configured to: after the group management module sets the configuration policy to be valid, from the group management module Obtaining a policy group index assigned to the configuration policy; the route delivery module is further configured to: after the policy processing module obtains the policy group index assigned to the configuration policy from the group management module, the policy group index is carried in the first route Give the switch.
  • FIG. 3 is a schematic diagram of a typical SDN networking of a data center according to an embodiment of the present invention.
  • the SDN controller Controller centrally manages multiple switches (eg, s1, s2, s3, s4). Each server will be connected to the server (for example, server 1 is connected to switch s1, and multiple services are provided in server 1). Traffic entering the service enters the data center from a switch (such as s1). Configure a policy on the controller to allocate traffic that enters the switch (such as s1) to the unused link according to service characteristics (for example, s1---s3, s1---s4, s1---s2).
  • the policy processing module senses the change of the configuration policy (including but not limited to the addition/deletion), and triggers the group module (ie, the group module) to create a policy group according to the content of the policy; the policy processing module triggers the route delivery module to re-deliver the route.
  • FIG. 5 is a schematic structural diagram of a flow processing system according to an embodiment of the present invention.
  • the link state change affects the validity of the policy.
  • the link state management module detects the link state change, triggers the route delivery module to re-deliver the route, and re-queries the policy group in the route delivery. Effectiveness.
  • the general policy group index that is, the default policy group index
  • the policy group index is adopted. Configured policy group index).
  • a plurality of services (such as service 1, service 12, and service 3) are provided on the server 1.
  • Traffic is configured on the controller to allocate traffic of different services to different links: S2 is designated as the next hop switch of service 1, S3 is the next hop switch of service 2, and S4 is the next service of service 3.
  • S2 is designated as the next hop switch of service 1
  • S3 is the next hop switch of service 2
  • S4 is the next service of service 3.
  • Step 101 As shown in FIG. 3, a traffic policy is configured on the controller, where S2 is the next hop device of service 1, S3 is the next hop device of service 2, and S4 is the next hop device of service 3.
  • Step 102 As shown in FIG. 4, the policy processing module saves the policy, and notifies the group management module to allocate a policy group index for the policy.
  • Step 103 As shown in FIG. 4, the Group management module allocates a policy Group index and returns the policy Group index to the policy processing module.
  • Step 104 As shown in FIG. 4, when the route delivery module sends a route, the policy group module is first obtained from the policy processing module.
  • Step 105 As shown in FIG. 4, the policy processing module matches the service route and the policy, and returns the corresponding policy group index to the route delivery module.
  • Step 106 As shown in FIG. 4, the route delivery module carries the policy Group index to route the delivery switch.
  • Step 107 As shown in FIG. 4, the switch uses the delivered routing table to perform traffic forwarding. Traffic 1 of service 1 is s1---s2; traffic of service 2 is s1---s3; traffic of service 3 is s1---s4.
  • Step 108 As shown in FIG. 4, the configuration policy is deleted.
  • Step 109 As shown in FIG. 4, the policy processing module deletes the policy and notifies the Group management module. The policy deletes the event and triggers the route delivery module to re-deliver the route.
  • Step 110 As shown in FIG. 4, the group management module deletes the policy group and releases the policy group index.
  • Step 111 As shown in FIG. 4, the routing module sends a route again, and obtains a common group index from the group management module.
  • Step 112 As shown in FIG. 4, the switch uses the newly delivered routing table to perform traffic forwarding, and the traffic scheduling recovery mode is not configured before the policy.
  • Step 201 As shown in FIG. 5, the link state between the switches changes from UP to DOWN, and the link state management module senses the link state and notifies the policy processing module.
  • Step 202 As shown in FIG. 5, the policy processing module notifies the group management module to set the corresponding policy group to be invalid, and triggers the route delivery module to re-deliver the route.
  • Step 203 As shown in FIG. 5, the routing module sends a route again, and obtains a common index from the group management module.
  • Step 204 As shown in FIG. 5, the switch uses the newly delivered routing table to perform traffic forwarding, and the traffic scheduling recovery mode is not configured before the policy.
  • Step 205 As shown in FIG. 5, the link state between the switches changes from DOWN to UP, and the link state management module senses the link state and notifies the policy processing module.
  • Step 206 As shown in FIG. 5, the policy processing module notifies the group management module to set the corresponding policy group to be valid, and triggers the route delivery module to re-route.
  • Step 207 As shown in FIG. 5, the route delivery module re-delivers the route, and obtains the policy group index from the policy management module.
  • Step 208 As shown in FIG. 5, the switch uses the newly delivered routing table to perform traffic forwarding, and the traffic scheduling is performed according to the configuration policy.
  • the present invention provides an SDN traffic processing method and system based on a configuration policy.
  • Pick Use the configuration policy to plan the traffic within the data center to avoid abnormal traffic access.
  • the invention avoids network congestion by reasonably distributing different service flows to different links, and does not require frequent link state message exchange between the switch and the controller, which greatly reduces the pressure of the SDN controller.
  • the invention can automatically detect the UP/DOWN state of the link. When the link is faulty, the configured policy is invalid, and the common delivery process is resumed. When the link is restored, the configuration policy is re-validated and the policy-based delivery mode is adopted.
  • the invention provides a simple and efficient solution for solving data center network congestion, which greatly facilitates the daily management of network management personnel.
  • each of the above modules may be implemented by software or hardware.
  • the foregoing may be implemented by, but not limited to, the foregoing modules are all located in the same processor; or, the modules are located in multiple In the processor.
  • the traffic is forwarded according to the first route sent by the controller of the SDN to the switch, where the first route carries a policy group index for retrieving the configuration policy corresponding to the first route, and the configuration policy includes The configuration relationship between traffic of different services and different links.
  • the controller of the SDN includes a policy processing module, a group management module, and a routing delivery module
  • the storage medium is further configured to store program code configured to perform the following steps:
  • the method further includes: the policy processing module acquires the configuration policy, and notifies the group management module to allocate the policy group index for the configuration policy; and configures the policy in the group management module.
  • the policy processing module obtains the policy group index and matches the configuration policy with the first route.
  • the route delivery module carries the policy group index in the first route. The middle and lower are sent to the switch.
  • the storage medium is further configured to store program code configured to perform the following steps: after the routing delivery module carries the policy group index in the first route and sends the label to the switch, the policy processing module deletes Configure the policy and notify the group management module to release the policy group index that has been assigned to the configuration policy; after the group management module releases the policy group index that has been assigned to the configuration policy, the policy processing module matches the default policy and the second route; After the module matches the default policy and the second route, the route delivery module sends the second route to the switch.
  • the default policy includes the default relationship between traffic of different services and different links. After the traffic reaches the switch, the switch The traffic is forwarded according to the second route sent by the routing module to the switch.
  • the controller of the SDN further includes a link state management module, the storage medium being further configured to store program code configured to perform the following steps: the routing module carries the policy group index at the first After the route is sent to the switch, the link state management module notifies the policy processing module after discovering that the link state between the switch and the other switch changes from normal to abnormal; the policy processing module notifies the group management module that the configuration policy is set to be invalid; After the group management module sets the configuration policy to be invalid, the policy processing module matches the default policy and the second route. After the policy processing module matches the default policy and the second route, the route delivery module sends the second route to the switch.
  • the default policy includes the default relationship between traffic of different services and different links. After the traffic reaches the switch, the switch forwards traffic according to the second route sent by the routing module to the switch.
  • the storage medium is further configured to store program code configured to perform the following steps: after the routing delivery module delivers the second route to the switch, the link state management module discovers the switch and other After the link status between the switches changes from abnormal to normal, the policy processing module is notified; the policy processing module notifies the group management module to set the configuration policy to be valid; after the group management module sets the configuration policy to be valid, the policy processing module selects the group from the group.
  • the management module obtains the policy group index assigned to the configuration policy; in the policy processing module from the group management module After obtaining the policy group index assigned to the configuration policy, the route delivery module carries the policy group index in the first route and sends the packet to the switch.
  • the foregoing storage medium may include, but is not limited to, a U disk, a ROM, a RAM, a mobile hard disk, a magnetic disk, or an optical disk, and the like, which can store program codes.
  • the processor executes according to the stored program code in the storage medium: after the traffic arrives at the switch, the switch forwards the traffic according to the first route sent by the controller of the SDN to the switch, where the first route carries A policy group index used to retrieve a configuration policy corresponding to the first route.
  • the configuration policy includes the configuration relationship between traffic of different services and different links.
  • the controller of the SDN includes a policy processing module, a group management module, and a routing delivery module.
  • the processor executes according to the stored program code in the storage medium: the switch is sent to the switch according to the controller of the SDN according to the switch.
  • the method further includes: the policy processing module acquires the configuration policy, and notifies the group management module to allocate the policy group index to the configuration policy; after the group management module allocates the policy group index to the configuration policy, the policy processing module obtains the policy group index. And matching the configuration policy with the first route; after the policy processing module matches the configuration policy and the first route, the route delivery module carries the policy group index in the first route and sends the policy to the switch.
  • the processor executes according to the stored program code in the storage medium: after the routing module sends the policy group index to the switch in the first route, the policy processing module deletes the configuration policy and notifies the group.
  • the management module releases the policy group index that has been assigned to the configuration policy; after the group management module releases the policy group index that has been assigned to the configuration policy, the policy processing module matches the default policy and the second route; after the policy processing module matches the default policy and After the second route, the route delivery module sends the second route to the switch.
  • the default policy includes the default relationship between traffic of different services and different links. After the traffic reaches the switch, the switch sends the route to the switch. The second route sent to the switch forwards traffic.
  • the controller of the SDN further includes a link state management module, and the processor executes according to the stored program code in the storage medium: the routing module carries the policy group index After being sent to the switch in the first route, the link state management module notifies the policy processing module after discovering that the link state between the switch and the other switch changes from normal to abnormal; the policy processing module notifies the group management module to configure the policy setting. After the group management module sets the configuration policy to be invalid, the policy processing module matches the default policy and the second route; after the policy processing module matches the default policy and the second route, the route delivery module delivers the second route.
  • the default policy includes the default relationship between traffic of different services and different links. After the traffic reaches the switch, the switch forwards the traffic according to the second route sent by the routing module to the switch.
  • the processor executes according to the stored program code in the storage medium: after the routing delivery module sends the second route to the switch, the link state management module discovers the link between the switch and the other switch. After the status changes from abnormal to normal, the policy processing module is notified; the policy processing module notifies the group management module to set the configuration policy to be valid; after the group management module sets the configuration policy to be valid, the policy processing module obtains the allocation from the group management module to The policy group index of the policy is configured. After the policy processing module obtains the policy group index assigned to the configuration policy from the group management module, the route delivery module carries the policy group index in the first route and sends the policy group index to the switch.
  • each module included in the controller of the SDN can be implemented by a processor in the controller of the SDN, and can also be implemented by a logic circuit.
  • the processor can be a central processing unit ( CPU), microprocessor (MPU), digital signal processor (DSP) or field programmable gate array (FPGA).
  • the foregoing traffic processing method is implemented in the form of a software function module and sold or used as a stand-alone product, it may also be stored in a computer readable storage medium.
  • a computer device which may be a personal computer, a server
  • a network device etc.
  • the foregoing storage medium includes various media that can store program codes, such as a USB flash drive, a mobile hard disk, a ROM, a magnetic disk, or an optical disk.
  • embodiments of the invention are not limited to any specific combination of hardware and software.
  • an embodiment of the present invention provides a computer storage medium, where the computer storage medium stores computer executable instructions, and the computer executable instructions are configured to perform a flow processing method provided by an embodiment of the present invention.
  • an embodiment of the present invention provides a switch, including: a processor and a storage medium configured to store executable instructions, where the processor is configured to execute the stored executable instructions, where the executable instructions include:
  • the traffic is forwarded according to the first route sent by the controller of the SDN to the switch.
  • the first route carries a policy group index for retrieving a configuration policy corresponding to the first route, where the configuration policy includes a configuration relationship between traffic of different services and different links.
  • modules or steps of the present invention described above can be implemented by a general-purpose computing device that can be centralized on a single computing device or distributed across a network of multiple computing devices.
  • they may be implemented by program code executable by a computing device such that they may be stored in a storage device for execution by the computing device and, in some cases, may be performed in a different order than
  • the steps shown or described are either made separately into individual integrated circuit modules, or a plurality of modules or steps are fabricated as a single integrated circuit module.
  • the invention is not limited to any specific combination of hardware and software.
  • the switch forwards the traffic according to the first route that is sent to the switch by the controller of the SDN, where the first route carries a policy for retrieving the configuration policy corresponding to the first route.
  • the configuration policy includes the configuration of the traffic of different services and the configuration of different links. In this case, the configuration of the traffic in the data center is planned and deployed. And the technical problem that the SDN network has high performance requirements on the controller achieves the technical effect of simply and efficiently solving the congestion of the data center network.

Abstract

本发明实施例提供了一种流量处理方法及系统、存储介质、交换机,其中,该方法包括:在流量到达交换机后,交换机按照软件定义网络SDN的控制器下发给交换机的第一路由转发流量,其中,第一路由中携带了用于检索与第一路由对应的配置策略的策略组索引,配置策略中包含了不同业务的流量与不同链路的配置关系。

Description

流量处理方法及系统、存储介质、交换机 技术领域
本发明涉及数据网络和通信技术领域,具体而言,涉及一种流量处理方法及系统、存储介质、交换机。
背景技术
随着互联网的高速发展,互联网业务对网络基础设施的要求也不断提高。传统网络存在灵活性差、管控复杂、利用率低等问题,已经无发满足互联网业务快速发展的需要。
软件定义网络(Software Defined Network,SDN)是一种新型网络部署架构,已在数据中心得到广泛应用,其最主要特点是将网络中的控制面与数据面分离,由SDN控制面掌控全局网络资源,提高了网络的灵活性与可控性。
随着数据中心中挂接的服务器数量的增加,以及每个服务器提供服务数量的增加,当服务时间相对集中时,会导致数据中心内部网络流量出现激增,造成链路拥塞,严重时可能造成网络瘫痪。另外,网络拥塞会导致数据中心服务能力下降,影响业务正常进行。
为了解决数据中心内部网络拥塞问题,人们提出了各种方案,主要分为两大类:
方案一、从源头上对异常流量进行阻断,在交换机上检测导致网络拥塞的流量,然后从源头将该流量阻塞或丢弃。
方案二、以负载均衡的方式,将流量自动分配到不同链路上。在控制器上对数据中心整个网络的流量进行监控,当发现拥塞链路时,将流量以负荷分担的方式分配到其他链路上。
这两种方案都存在缺陷:方案一无法解决正常业务突发访问的场景,阻断或丢弃的流量可能是正常的业务访问流量,这就会导致用户业务不通;方案二要求控制器实时监控链路流量,交换机和控制器之间存在大量的报文交互,这对控制器的处理能力有很高要求,特别是控制器控制的交换机数量大的场景下,控制器的性能会成为瓶颈。
发明内容
本发明实施例提供了一种流量处理方法及系统、存储介质、交换机,以至少解决相关技术中正常业务突发访问不通以及SDN网络对控制器性能要求高的技术问题。
根据本发明实施例的一个方面,提供了一种流量处理方法,包括:在流量到达交换机后,上述交换机按照SDN的控制器下发给上述交换机的第一路由转发上述流量,其中,上述第一路由中携带了配置为检索与上述第一路由对应的配置策略的策略组索引,上述配置策略中包含了不同业务的流量与不同链路的配置关系。
在本发明的一种实施例中,上述SDN的控制器包括策略处理模块,组管理模块和路由下发模块,在上述交换机按照SDN的控制器下发给上述交换机的第一路由转发上述流量之前,上述方法还包括:上述策略处理模块获取上述配置策略,并通知上述组管理模块为上述配置策略分配上述策略组索引;在上述组管理模块为上述配置策略分配上述策略组索引之后,上述策略处理模块获取上述策略组索引,并匹配上述配置策略与上述第一路由;在上述策略处理模块匹配完上述配置策略与上述第一路由之后,上述路由下发模块将上述策略组索引携带在上述第一路由中下发给上述交换机。
在本发明的一种实施例中,在上述路由下发模块将上述策略组索引携带在上述第一路由中下发给上述交换机之后,上述方法还包括:上述策略 处理模块删除上述配置策略,并通知上述组管理模块释放已分配给上述配置策略的上述策略组索引;在上述组管理模块释放出已分配给上述配置策略的上述策略组索引之后,上述策略处理模块匹配默认策略与第二路由;在上述策略处理模块匹配完上述默认策略与上述第二路由之后,上述路由下发模块将上述第二路由下发给上述交换机,上述默认策略中包含了不同业务的流量与不同链路的默认关系,其中,在上述流量到达上述交换机后,上述交换机按照上述路由下发模块下发给上述交换机的上述第二路由转发上述流量。
在本发明的一种实施例中,上述SDN的控制器还包括链路状态管理模块,在上述路由下发模块将上述策略组索引携带在上述第一路由中下发给上述交换机之后,上述方法还包括:上述链路状态管理模块在发现上述交换机与其他交换机之间的链路状态由正常变为异常之后,通知上述策略处理模块;上述策略处理模块通知上述组管理模块上述配置策略设置成无效;在上述组管理模块将上述配置策略设置成无效之后,上述策略处理模块匹配默认策略与第二路由;在上述策略处理模块匹配完上述默认策略与上述第二路由之后,上述路由下发模块将上述第二路由下发给上述交换机,上述默认策略中包含了不同业务的流量与不同链路的默认关系,其中,在上述流量到达上述交换机后,上述交换机按照上述路由下发模块下发给上述交换机的上述第二路由转发上述流量。
在本发明的一种实施例中,在上述路由下发模块将上述第二路由下发给上述交换机之后,上述方法还包括:上述链路状态管理模块在发现上述交换机与上述其他交换机之间的链路状态由异常变为正常之后,通知上述策略处理模块;上述策略处理模块通知上述组管理模块将上述配置策略设置成有效;在上述组管理模块将上述配置策略设置成有效之后,上述策略处理模块从上述组管理模块处获取分配给上述配置策略的策略组索引;在 上述策略处理模块从上述组管理模块处获取分配给上述配置策略的策略组索引之后,上述路由下发模块将上述策略组索引携带在上述第一路由中下发给上述交换机。
根据本发明实施例的另一方面,提供了一种流量处理系统,包括:交换机,配置为在流量到达上述交换机后,按照SDN的控制器下发给上述交换机的第一路由转发上述流量,其中,上述第一路由中携带了用于检索与上述第一路由对应的配置策略的策略组索引,上述配置策略中包含了不同业务的流量与不同链路的配置关系。
在本发明的一种实施例中,上述系统还包括上述SDN的控制器,其中,上述SDN的控制器包括策略处理模块,组管理模块和路由下发模块,上述策略处理模块,配置为在上述交换机按照SDN的控制器下发给上述交换机的第一路由转发上述流量之前,获取上述配置策略,并通知上述组管理模块为上述配置策略分配上述策略组索引;上述策略处理模块,还配置为在上述组管理模块为上述配置策略分配上述策略组索引之后,获取上述策略组索引,并匹配上述配置策略与上述第一路由;上述路由下发模块,配置为在上述策略处理模块匹配完上述配置策略与上述第一路由之后,将上述策略组索引携带在上述第一路由中下发给上述交换机。
在本发明的一种实施例中,上述策略处理模块,还配置为在上述路由下发模块将上述策略组索引携带在上述第一路由中下发给上述交换机之后,删除上述配置策略,并通知上述组管理模块释放已分配给上述配置策略的上述策略组索引;上述策略处理模块,还配置为在上述组管理模块释放出已分配给上述配置策略的上述策略组索引之后,匹配默认策略与第二路由;上述路由下发模块,还配置为在上述策略处理模块匹配完上述默认策略与上述第二路由之后,将上述第二路由下发给上述交换机,上述默认策略中包含了不同业务的流量与不同链路的默认关系,其中,在上述流量 到达上述交换机后,上述交换机按照上述路由下发模块下发给上述交换机的上述第二路由转发上述流量。
在本发明的一种实施例中,上述SDN的控制器还包括:链路状态管理模块,其中,上述链路状态管理模块,配置为在上述路由下发模块将上述策略组索引携带在上述第一路由中下发给上述交换机之后,在发现上述交换机与其他交换机之间的链路状态由正常变为异常之后,通知上述策略处理模块;上述策略处理模块,还配置为通知上述组管理模块上述配置策略设置成无效;上述策略处理模块,还配置为在上述组管理模块将上述配置策略设置成无效之后,匹配默认策略与第二路由;上述路由下发模块,还配置为在上述策略处理模块匹配完上述默认策略与上述第二路由之后,将上述第二路由下发给上述交换机,上述默认策略中包含了不同业务的流量与不同链路的默认关系,其中,在上述流量到达上述交换机后,上述交换机按照上述路由下发模块下发给上述交换机的上述第二路由转发上述流量。
在本发明的一种实施例中,上述链路状态管理模块,还配置为在上述路由下发模块将上述第二路由下发给上述交换机之后,在发现上述交换机与上述其他交换机之间的链路状态由异常变为正常之后,通知上述策略处理模块;上述策略处理模块,还配置为通知上述组管理模块将上述配置策略设置成有效;上述策略处理模块,还配置为在上述组管理模块将上述配置策略设置成有效之后,从上述组管理模块处获取分配给上述配置策略的策略组索引;上述路由下发模块,还配置为在上述策略处理模块从上述组管理模块处获取分配给上述配置策略的策略组索引之后,将上述策略组索引携带在上述第一路由中下发给上述交换机。
根据本发明实施例的再一个方面,提供了一种计算机存储介质,所述计算机存储介质中存储有计算机可执行指令,该计算机可执行指令配 置为执行本发明实施例提供的一种流量处理方法。
根据本发明实施例的又一个方面,提供了一种交换机,包括:处理器和配置为存储可执行指令的存储介质,其中,处理器配置为执行存储的可执行指令,所述可执行指令包括:
在流量到达交换机后,按照SDN的控制器下发给所述交换机的第一路由转发所述流量,
其中,所述第一路由中携带了用于检索与所述第一路由对应的配置策略的策略组索引,所述配置策略中包含了不同业务的流量与不同链路的配置关系。
通过本发明实施例,采用配置策略的方式,对数据中心内部的流量进行规划部署,通过在流量到达交换机后,交换机按照SDN的控制器下发给交换机的第一路由转发流量,其中,第一路由中携带了用于检索与第一路由对应的配置策略的策略组索引,配置策略中包含了不同业务的流量与不同链路的配置关系,至少解决了相关技术中正常业务突发访问不通以及SDN网络对控制器性能要求高的技术问题,达到了简单、高效地解决数据中心网络拥塞的技术效果。
附图说明
此处所说明的附图用来提供对本发明的进一步理解,构成本申请的一部分,本发明的示意性实施例及其说明用于解释本发明,并不构成对本发明的不当限定。在附图中:
图1是根据本发明实施例的流量处理方法的流程图;
图2是根据本发明实施例流量处理系统的结构框图;
图3是根据本发明实施例数据中心典型SDN组网的示意图;
图4是根据本发明实施例流量处理系统的结构框图;
图5是根据本发明实施例流量处理系统的结构示意图。
具体实施方式
下文中将参考附图并结合实施例来详细说明本发明。需要说明的是,在不冲突的情况下,本申请中的实施例及实施例中的特征可以相互组合。
需要说明的是,本发明的说明书和权利要求书及上述附图中的术语“第一”、“第二”等是用于区别类似的对象,而不必用于描述特定的顺序或先后次序。
在本实施例中提供了一种流量处理方法,图1是根据本发明实施例的流量处理方法的流程图,如图1所示,该流程包括如下步骤:
步骤S102,在流量到达交换机后,交换机按照SDN的控制器下发给交换机的第一路由转发流量,其中,第一路由中携带了用于检索与第一路由对应的配置策略的策略组索引,配置策略中包含了不同业务的流量与不同链路的配置关系。
也即,SDN的控制器可以接收用户的策略配置指令,生成对应的配置策略,并为配置策略分配对应的策略组索引。其中,每个策略组索引对应配置策略中的一个策略组,每个策略组索引又会携带在一个路由中随路由下发给对应的交换机。该交换机在转发流量时,就会依据对应的策略组中定义的不同业务的流量与不同链路的配置关系进行流量转发。
通过本发明,采用配置策略的方式,对数据中心内部的流量进行规划部署,通过在流量到达交换机后,交换机按照SDN的控制器下发给交换机的第一路由转发流量,其中,第一路由中携带了用于检索与第一路由对应的配置策略的策略组索引,配置策略中包含了不同业务的流量与不同链路的配置关系,至少解决了相关技术中正常业务突发访问不通以及SDN网络对控制器性能要求高的技术问题,达到了简单、高效地解决数据中心网络拥塞的技术效果。
在本发明的其他实施例中,SDN的控制器包括策略处理模块,组管理 模块和路由下发模块,在交换机按照SDN的控制器下发给交换机的第一路由转发流量之前,上述方法还包括:策略处理模块获取配置策略,并通知组管理模块为配置策略分配策略组索引;在组管理模块为配置策略分配策略组索引之后,策略处理模块获取策略组索引,并匹配配置策略与第一路由;在策略处理模块匹配完配置策略与第一路由之后,路由下发模块将策略组索引携带在第一路由中下发给交换机。
也即,实施时,SDN的控制器可以通过策略处理模块获取用户制定的配置策略,并通知组管理模块为配置策略中的各个策略组分配策略组索引,在组管理模块为配置策略中的各个策略组分配策略组索引之后,会将策略组索引反馈给策略处理模块,此时,策略处理模块匹配配置策略与第一路由,这样就可以将对应的策略组索引携带在对应的路由中下发;在策略处理模块匹配完配置策略与第一路由之后,路由下发模块将策略组索引携带在第一路由中下发给交换机。
需要说明的是,策略处理模块主要负责接收并处理用户的策略配置,通知Group管理模块创建策略Group(即策略组),并对策略Group信息进行管理;Group管理模块负责创建并管理普通Group(即默认组)和策略Group,并对外提供查询接口,其中,默认组中定义的不同业务的流量与不同链路的默认关系,即出厂配置关系,策略组中定义的不同业务的流量与不同链路的配置关系,即用户根据需要新指定的配置关系。
路由下发模块负责将路由下发给交换机,负责整合路由相对应的Group索引(即组索引)。下发路由时,先向策略处理模块查询与该业务(路由)相关的Group索引。如果存在,则携带该策略Group索引下发交换机;如果不存在,则从Group管理模块中获取普通Group索引。
通过本发明实施例,通过人工干预以预先配置相关配置策略,可以省去SDN网络中控制器与各交换机之间不断进行报文交互,使得SDN网络 降低了对控制器的性能要求。
在本发明的其他实施例中,在路由下发模块将策略组索引携带在第一路由中下发给交换机之后,上述方法还包括:策略处理模块删除配置策略,并通知组管理模块释放已分配给配置策略的策略组索引;在组管理模块释放出已分配给配置策略的策略组索引之后,策略处理模块匹配默认策略与第二路由;在策略处理模块匹配完默认策略与第二路由之后,路由下发模块将第二路由下发给交换机,默认策略中包含了不同业务的流量与不同链路的默认关系,其中,在流量到达交换机后,交换机按照路由下发模块下发给交换机的第二路由转发流量。
也即,在策略处理模块获取配置策略时,控制交换机依据携带了与配置策略对应的策略组索引的路由来转发流量,而在策略处理模块删除配置策略后,控制交换机依据默认路由来转发流量。
通过本发明实施例,使得用户可以灵活的添加/删除配置策略,并且在添加/删除配置策略后,为了保证通信正常,可以控制交换机分别依据配置路由/默认路由来转发流量。
在本发明的其他实施例中,SDN的控制器还包括链路状态管理模块,在路由下发模块将策略组索引携带在第一路由中下发给交换机之后,上述方法还包括:链路状态管理模块在发现交换机与其他交换机之间的链路状态由正常变为异常之后,通知策略处理模块;策略处理模块通知组管理模块配置策略设置成无效;在组管理模块将配置策略设置成无效之后,策略处理模块匹配默认策略与第二路由;在策略处理模块匹配完默认策略与第二路由之后,路由下发模块将第二路由下发给交换机,默认策略中包含了不同业务的流量与不同链路的默认关系,其中,在流量到达交换机后,交换机按照路由下发模块下发给交换机的第二路由转发流量。
其中,链路状态管理模块负责维护SDN控制域内各交换机间的链路 UP/DOWN状态(即链路正常/异常状态),当链路状态发生变化后,通知策略处理模块,策略处理模块触发路由下发模块重新下发路由。
在本发明的其他实施例中,在路由下发模块将第二路由下发给交换机之后,上述方法还包括:链路状态管理模块在发现交换机与其他交换机之间的链路状态由异常变为正常之后,通知策略处理模块;策略处理模块通知组管理模块将配置策略设置成有效;在组管理模块将配置策略设置成有效之后,策略处理模块从组管理模块处获取分配给配置策略的策略组索引;在策略处理模块从组管理模块处获取分配给配置策略的策略组索引之后,路由下发模块将策略组索引携带在第一路由中下发给交换机。
通过本发明实施例,采用配置策略的方式,通过策略管理模块实现对业务表项(路由)下发的干预,达到SDN控制器对域内流量合理分配调度的目的,有效避免了SDN域内的流量拥塞。该发明能够根据链路的状态,调整路由表的下发方式。链路故障时,配置的策略失效,恢复通用的流表下发流程;链路恢复时,配置策略重新生效,流表下发携带策略Group索引。通过策略的方式,对数据中心内部的流量进行规划部署,本发明解决了正常业务突发访问不通问题和SDN网络中对控制器性能要求高的问题。本发明提供了一种简单、高效的解决数据中心网络拥塞的方案,极大的方便了网络管理人员日常管理。
通过以上的实施方式的描述,本领域的技术人员可以清楚地了解到根据实施例的方法可借助软件加必需的通用硬件平台的方式来实现,当然也可以通过硬件,但很多情况下前者是更佳的实施方式。基于这样的理解,本发明的技术方案本质上或者说对现有技术做出贡献的部分可以以软件产品的形式体现出来,该计算机软件产品存储在一个存储介质(如只读存储器(ROM,Read-Only Memory)/随机存取存储器(RAM,Random Access Memory)、磁碟、光盘)中,包括若干指令用以使得一台终端设备(可以 是手机,计算机,服务器,或者网络设备等)执行本发明各个实施例所述的方法。
在本实施例中还提供了一种流量处理系统,该系统用于实现实施例及优选实施方式,已经进行过说明的不再赘述。如以下所使用的,术语“模块”可以实现预定功能的软件和/或硬件的组合。尽管以下实施例所描述的系统较佳地以软件来实现,但是硬件,或者软件和硬件的组合的实现也是可能并被构想的。
图2是根据本发明实施例流量处理系统的结构框图,如图2所示,该系统包括:交换机202,配置为在流量到达交换机后,按照SDN的控制器204下发给交换机的第一路由转发流量,其中,第一路由中携带了用于检索与第一路由对应的配置策略的策略组索引,配置策略中包含了不同业务的流量与不同链路的配置关系。
也即,SDN的控制器可以接收用户的策略配置指令,生成对应的配置策略,并为配置策略分配对应的策略组索引。其中,每个策略组索引对应配置策略中的一个策略组,每个策略组索引又会携带在一个路由中随路由下发给对应的交换机。该交换机在转发流量时,就会依据对应的策略组中定义的不同业务的流量与不同链路的配置关系进行流量转发。
通过本发明,采用配置策略的方式,对数据中心内部的流量进行规划部署,通过在流量到达交换机后,交换机按照SDN的控制器下发给交换机的第一路由转发流量,其中,第一路由中携带了用于检索与第一路由对应的配置策略的策略组索引,配置策略中包含了不同业务的流量与不同链路的配置关系,至少解决了相关技术中正常业务突发访问不通以及SDN网络对控制器性能要求高的技术问题,达到了简单、高效地解决数据中心网络拥塞的技术效果。
在本发明的其他实施例中,上述系统还包括SDN的控制器,其中,SDN 的控制器包括策略处理模块,组管理模块和路由下发模块,策略处理模块,配置为在交换机按照SDN的控制器下发给交换机的第一路由转发流量之前,获取配置策略,并通知组管理模块为配置策略分配策略组索引;策略处理模块,还配置为在组管理模块为配置策略分配策略组索引之后,获取策略组索引,并匹配配置策略与第一路由;路由下发模块,配置为在策略处理模块匹配完配置策略与第一路由之后,将策略组索引携带在第一路由中下发给交换机。
在本发明的其他实施例中,上述策略处理模块,还配置为在路由下发模块将策略组索引携带在第一路由中下发给交换机之后,删除配置策略,并通知组管理模块释放已分配给配置策略的策略组索引;策略处理模块,还配置为在组管理模块释放出已分配给配置策略的策略组索引之后,匹配默认策略与第二路由;路由下发模块,还配置为在策略处理模块匹配完默认策略与第二路由之后,将第二路由下发给交换机,默认策略中包含了不同业务的流量与不同链路的默认关系,其中,在流量到达交换机后,交换机按照路由下发模块下发给交换机的第二路由转发流量。
在本发明的其他实施例中,上述SDN的控制器还包括:链路状态管理模块,其中,链路状态管理模块,配置为在路由下发模块将策略组索引携带在第一路由中下发给交换机之后,在发现交换机与其他交换机之间的链路状态由正常变为异常之后,通知策略处理模块;策略处理模块,还配置为通知组管理模块配置策略设置成无效;策略处理模块,还配置为在组管理模块将配置策略设置成无效之后,匹配默认策略与第二路由;路由下发模块,还配置为在策略处理模块匹配完默认策略与第二路由之后,将第二路由下发给交换机,默认策略中包含了不同业务的流量与不同链路的默认关系,其中,在流量到达交换机后,交换机按照路由下发模块下发给交换机的第二路由转发流量。
在本发明的其他实施例中,上述链路状态管理模块,还配置为在路由下发模块将第二路由下发给交换机之后,在发现交换机与其他交换机之间的链路状态由异常变为正常之后,通知策略处理模块;策略处理模块,还配置为通知组管理模块将配置策略设置成有效;策略处理模块,还配置为在组管理模块将配置策略设置成有效之后,从组管理模块处获取分配给配置策略的策略组索引;路由下发模块,还配置为在策略处理模块从组管理模块处获取分配给配置策略的策略组索引之后,将策略组索引携带在第一路由中下发给交换机。
需要说明的是,本系统实施例中的具体示例可以参考上述方法实施例及实施方式中所描述的示例,本实施例在此不再赘述。
图3是根据本发明实施例数据中心典型SDN组网的示意图。其中,SDN的控制器Controller集中管理多台交换机(如:s1、s2、s3、s4)。每台交换机下都会下挂服务器(如:交换机s1下挂接服务器1,服务器1中提供多种业务)。访问业务的流量从一台交换机(如s1)进入数据中心。在控制器Controller上配置策略,将进入交换机(如s1)的流量按照业务特性分配到不用链路上(如:s1---s3、s1---s4、s1---s2)。
图4是根据本发明实施例流量处理系统的结构框图。策略处理模块感知配置策略的变化(包括但不限于添加/删除),根据策略的内容触发Group模块(即组模块)创建策略Group;策略处理模块触发路由下发模块重新下发路由。
图5是根据本发明实施例流量处理系统的结构示意图。链路状态变化影响策略的有效性,当SDN域内链路状态发生变化时,链路状态管理模块感知链路状态变化,触发路由下发模块重新下发路由,在路由下发中重新查询策略Group的有效性。当策略Group失效时,采用通用策略Group索引(即默认的策略组索引),当策略Group生效时,采用策略Group索引(即 配置的策略组索引)。
以下结合图3、图4和图5,以两个具体实施例详细阐述本发明:
如图3所示,服务器1上提供多种业务(如:业务1、业务12、业务3)。在控制器上通过配置策略的方式,将不同业务的流量分配到不同的链路上:S2指定为业务1的下一跳交换机,S3为业务2的下一跳交换机,S4为业务3的下一跳交换机。当策略删除或者链路状态由UP变为DOWN时,策略不起作用;当链路状态由DOWN变为UP是,策略重新生效。
实施例1
步骤101:如图3所示,在控制器Controller上配置流量策略,S2为业务1的下一跳设备,S3为业务2的下一跳设备,S4为业务3的下一跳设备。
步骤102:如图4所示,策略处理模块保存策略,并通知Group管理模块为该策略分配策略Group索引。
步骤103:如图4所示,Group管理模块分配策略Group索引,并将策略Group索引返回给策略处理模块。
步骤104:如图4所示,路由下发模块下发路由时,先从策略处理模块获取策略Group索引。
步骤105:如图4所示,策略处理模块匹配业务路由和策略,并将对应生效的策略Group索引返回给路由下发模块。
步骤106:如图4所示,路由下发模块携带策略Group索引将路由下发交换机。
步骤107:如图4所示,交换机采用下发的路由表进行流量转发。业务1的流量走链路s1---s2;业务2的流量走链路s1---s3;业务3的流量走链路s1---s4。
步骤108:如图4所示,配置策略删除。
步骤109:如图4所示,策略处理模块删除策略,通知Group管理模块 策略删除事件,同时触发路由下发模块重新下发路由。
步骤110:如图4所示,Group管理模块删除策略Group并释放策略Group索引。
步骤111:如图4所示,路由下发模块重新下发路由,从Group管理模块获取普通Group索引。
步骤112:如图4所示,交换机采用新下发的路由表进行流量转发,流量调度恢复未配置策略前的方式。
实施例2
步骤201:如图5所示,交换机间的链路状态由UP变为DOWN,链路状态管理模块感知链路状态,并通知策略处理模块。
步骤202:如图5所示,策略处理模块通知Group管理模块将相应的策略Group设置成无效,同时触发路由下发模块重新下发路由。
步骤203:如图5所示,路由下发模块重新下发路由,从Group管理模块获取普通索引。
步骤204:如图5所示,交换机采用新下发的路由表进行流量转发,流量调度恢复未配置策略前的方式。
步骤205:如图5所示,交换机间的链路状态由DOWN变为UP,链路状态管理模块感知链路状态,并通知策略处理模块。
步骤206:如图5所示,策略处理模块通知Group管理模块将相应的策略Group设置成有效,同时触发路由下发模块重新下发路由。
步骤207:如图5所示,路由下发模块重新下发路由,从策略管理模块处获取策略Group索引。
步骤208:如图5所示,交换机采用新下发的路由表进行流量转发,流量调度按照配置策略的方式。
综上,本发明所述一种基于配置策略的SDN流量处理方法和系统。采 用配置策略的方式,将数据中心内部的流量进行合理规划,避免突发业务访问异常。本发明通过将不同业务流量合理分配到不同链路的方式,避免网络拥塞,同时交换机和控制器之间不需要频繁的链路状态报文交换,很好的降低了SDN控制器的压力。该发明能够自动感知链路的UP/DOWN状态,链路故障时,配置的策略失效,恢复通用的下发流程;链路恢复时,配置策略重新生效,采用基于策略的下发方式。本发明提供了一种简单、高效的解决数据中心网络拥塞的方案,极大的方便了网络管理人员日常管理。
需要说明的是,上述各个模块是可以通过软件或硬件来实现的,对于后者,可以通过以下方式实现,但不限于此:上述模块均位于同一处理器中;或者,上述模块分别位于多个处理器中。
本发明的实施例还提供了一种存储介质,存储介质可以被设置为存储配置为执行以下步骤的程序代码:
在流量到达交换机后,按照SDN的控制器下发给交换机的第一路由转发流量,其中,第一路由中携带了用于检索与第一路由对应的配置策略的策略组索引,配置策略中包含了不同业务的流量与不同链路的配置关系。
在本发明的其他实施例中,SDN的控制器包括策略处理模块,组管理模块和路由下发模块,存储介质还被设置为存储配置为执行以下步骤的程序代码:
在交换机按照SDN的控制器下发给交换机的第一路由转发流量之前,方法还包括:策略处理模块获取配置策略,并通知组管理模块为配置策略分配策略组索引;在组管理模块为配置策略分配策略组索引之后,策略处理模块获取策略组索引,并匹配配置策略与第一路由;在策略处理模块匹配完配置策略与第一路由之后,路由下发模块将策略组索引携带在第一路由中下发给交换机。
在本发明的其他实施例中,存储介质还被设置为存储配置为执行以下步骤的程序代码:在路由下发模块将策略组索引携带在第一路由中下发给交换机之后,策略处理模块删除配置策略,并通知组管理模块释放已分配给配置策略的策略组索引;在组管理模块释放出已分配给配置策略的策略组索引之后,策略处理模块匹配默认策略与第二路由;在策略处理模块匹配完默认策略与第二路由之后,路由下发模块将第二路由下发给交换机,默认策略中包含了不同业务的流量与不同链路的默认关系,其中,在流量到达交换机后,交换机按照路由下发模块下发给交换机的第二路由转发流量。
在本发明的其他实施例中,SDN的控制器还包括链路状态管理模块,存储介质还被设置为存储配置为执行以下步骤的程序代码:在路由下发模块将策略组索引携带在第一路由中下发给交换机之后,链路状态管理模块在发现交换机与其他交换机之间的链路状态由正常变为异常之后,通知策略处理模块;策略处理模块通知组管理模块配置策略设置成无效;在组管理模块将配置策略设置成无效之后,策略处理模块匹配默认策略与第二路由;在策略处理模块匹配完默认策略与第二路由之后,路由下发模块将第二路由下发给交换机,默认策略中包含了不同业务的流量与不同链路的默认关系,其中,在流量到达交换机后,交换机按照路由下发模块下发给交换机的第二路由转发流量。
在本发明的其他实施例中,存储介质还被设置为存储配置为执行以下步骤的程序代码:在路由下发模块将第二路由下发给交换机之后,链路状态管理模块在发现交换机与其他交换机之间的链路状态由异常变为正常之后,通知策略处理模块;策略处理模块通知组管理模块将配置策略设置成有效;在组管理模块将配置策略设置成有效之后,策略处理模块从组管理模块处获取分配给配置策略的策略组索引;在策略处理模块从组管理模块 处获取分配给配置策略的策略组索引之后,路由下发模块将策略组索引携带在第一路由中下发给交换机。
在其他实施例中,上述存储介质可以包括但不限于:U盘、ROM、RAM、移动硬盘、磁碟或者光盘等各种可以存储程序代码的介质。
在其他实施例中,处理器根据存储介质中已存储的程序代码执行:在流量到达交换机后,交换机按照SDN的控制器下发给交换机的第一路由转发流量,其中,第一路由中携带了用于检索与第一路由对应的配置策略的策略组索引,配置策略中包含了不同业务的流量与不同链路的配置关系。
在其他实施例中,SDN的控制器包括策略处理模块,组管理模块和路由下发模块,处理器根据存储介质中已存储的程序代码执行:在交换机按照SDN的控制器下发给交换机的第一路由转发流量之前,方法还包括:策略处理模块获取配置策略,并通知组管理模块为配置策略分配策略组索引;在组管理模块为配置策略分配策略组索引之后,策略处理模块获取策略组索引,并匹配配置策略与第一路由;在策略处理模块匹配完配置策略与第一路由之后,路由下发模块将策略组索引携带在第一路由中下发给交换机。
在其他实施例中,处理器根据存储介质中已存储的程序代码执行:在路由下发模块将策略组索引携带在第一路由中下发给交换机之后,策略处理模块删除配置策略,并通知组管理模块释放已分配给配置策略的策略组索引;在组管理模块释放出已分配给配置策略的策略组索引之后,策略处理模块匹配默认策略与第二路由;在策略处理模块匹配完默认策略与第二路由之后,路由下发模块将第二路由下发给交换机,默认策略中包含了不同业务的流量与不同链路的默认关系,其中,在流量到达交换机后,交换机按照路由下发模块下发给交换机的第二路由转发流量。
在其他实施例中,SDN的控制器还包括链路状态管理模块,处理器根据存储介质中已存储的程序代码执行:在路由下发模块将策略组索引携带 在第一路由中下发给交换机之后,链路状态管理模块在发现交换机与其他交换机之间的链路状态由正常变为异常之后,通知策略处理模块;策略处理模块通知组管理模块配置策略设置成无效;在组管理模块将配置策略设置成无效之后,策略处理模块匹配默认策略与第二路由;在策略处理模块匹配完默认策略与第二路由之后,路由下发模块将第二路由下发给交换机,默认策略中包含了不同业务的流量与不同链路的默认关系,其中,在流量到达交换机后,交换机按照路由下发模块下发给交换机的第二路由转发流量。
在其他实施例中,处理器根据存储介质中已存储的程序代码执行:在路由下发模块将第二路由下发给交换机之后,链路状态管理模块在发现交换机与其他交换机之间的链路状态由异常变为正常之后,通知策略处理模块;策略处理模块通知组管理模块将配置策略设置成有效;在组管理模块将配置策略设置成有效之后,策略处理模块从组管理模块处获取分配给配置策略的策略组索引;在策略处理模块从组管理模块处获取分配给配置策略的策略组索引之后,路由下发模块将策略组索引携带在第一路由中下发给交换机。
在其他实施例中的具体示例可以参考上述实施例及实施方式中所描述的示例,本实施例在此不再赘述。
本发明实施例中SDN的控制器所包括的各模块都可以SDN的控制器中的处理器来实现,当然也可通过逻辑电路实现;在实施例的过程中,处理器可以为中央处理器(CPU)、微处理器(MPU)、数字信号处理器(DSP)或现场可编程门阵列(FPGA)等。
需要说明的是,本发明实施例中,如果以软件功能模块的形式实现上述的流量处理方法,并作为独立的产品销售或使用时,也可以存储在一个计算机可读取存储介质中。基于这样的理解,本发明实施例的技术方案本 质上或者说对现有技术做出贡献的部分可以以软件产品的形式体现出来,该计算机软件产品存储在一个存储介质中,包括若干指令用以使得一台计算机设备(可以是个人计算机、服务器、或者网络设备等)执行本发明各个实施例所述方法的全部或部分。而前述的存储介质包括:U盘、移动硬盘、ROM、磁碟或者光盘等各种可以存储程序代码的介质。这样,本发明实施例不限制于任何特定的硬件和软件结合。
对应地,本发明实施例提供一种计算机存储介质,所述计算机存储介质中存储有计算机可执行指令,该计算机可执行指令配置为执行本发明实施例提供的一种流量处理方法。
对应地,本发明实施例提供一种交换机,包括:处理器和配置为存储可执行指令的存储介质,其中,处理器配置为执行存储的可执行指令,所述可执行指令包括:
在流量到达交换机后,按照SDN的控制器下发给所述交换机的第一路由转发所述流量,
其中,所述第一路由中携带了用于检索与所述第一路由对应的配置策略的策略组索引,所述配置策略中包含了不同业务的流量与不同链路的配置关系。
显然,本领域的技术人员应该明白,上述的本发明的各模块或各步骤可以用通用的计算装置来实现,它们可以集中在单个的计算装置上,或者分布在多个计算装置所组成的网络上,例如,它们可以用计算装置可执行的程序代码来实现,从而,可以将它们存储在存储装置中由计算装置来执行,并且在某些情况下,可以以不同于此处的顺序执行所示出或描述的步骤,或者将它们分别制作成各个集成电路模块,或者将它们中的多个模块或步骤制作成单个集成电路模块来实现。这样,本发明不限制于任何特定的硬件和软件结合。
以上所述仅为本发明的优选实施例而已,并不用于限制本发明,对于本领域的技术人员来说,本发明可以有各种更改和变化。凡在本发明的精神和原则之内,所作的任何修改、等同替换、改进等,均应包含在本发明的保护范围之内。
工业实用性
本发明实施例中,在流量到达交换机后,交换机按照SDN的控制器下发给交换机的第一路由转发流量,其中,第一路由中携带了用于检索与第一路由对应的配置策略的策略组索引,配置策略中包含了不同业务的流量与不同链路的配置关系;如此,采用配置策略的方式,对数据中心内部的流量进行规划部署,至少解决了相关技术中正常业务突发访问不通以及SDN网络对控制器性能要求高的技术问题,达到了简单、高效地解决数据中心网络拥塞的技术效果。

Claims (12)

  1. 一种流量处理方法,包括:
    在流量到达交换机后,所述交换机按照软件定义网络SDN的控制器下发给所述交换机的第一路由转发所述流量,
    其中,所述第一路由中携带了用于检索与所述第一路由对应的配置策略的策略组索引,所述配置策略中包含了不同业务的流量与不同链路的配置关系。
  2. 根据权利要求1所述的方法,其中,所述SDN的控制器包括策略处理模块,组管理模块和路由下发模块,在所述交换机按照软件定义网络SDN的控制器下发给所述交换机的第一路由转发所述流量之前,所述方法还包括:
    所述策略处理模块获取所述配置策略,并通知所述组管理模块为所述配置策略分配所述策略组索引;
    在所述组管理模块为所述配置策略分配所述策略组索引之后,所述策略处理模块获取所述策略组索引,并匹配所述配置策略与所述第一路由;
    在所述策略处理模块匹配完所述配置策略与所述第一路由之后,所述路由下发模块将所述策略组索引携带在所述第一路由中下发给所述交换机。
  3. 根据权利要求2所述的方法,其中,在所述路由下发模块将所述策略组索引携带在所述第一路由中下发给所述交换机之后,所述方法还包括:
    所述策略处理模块删除所述配置策略,并通知所述组管理模块释放已分配给所述配置策略的所述策略组索引;
    在所述组管理模块释放出已分配给所述配置策略的所述策略组索引 之后,所述策略处理模块匹配默认策略与第二路由;
    在所述策略处理模块匹配完所述默认策略与所述第二路由之后,所述路由下发模块将所述第二路由下发给所述交换机,所述默认策略中包含了不同业务的流量与不同链路的默认关系,
    其中,在所述流量到达所述交换机后,所述交换机按照所述路由下发模块下发给所述交换机的所述第二路由转发所述流量。
  4. 根据权利要求2所述的方法,其中,所述SDN的控制器还包括链路状态管理模块,在所述路由下发模块将所述策略组索引携带在所述第一路由中下发给所述交换机之后,所述方法还包括:
    所述链路状态管理模块在发现所述交换机与其他交换机之间的链路状态由正常变为异常之后,通知所述策略处理模块;
    所述策略处理模块通知所述组管理模块所述配置策略设置成无效;
    在所述组管理模块将所述配置策略设置成无效之后,所述策略处理模块匹配默认策略与第二路由;
    在所述策略处理模块匹配完所述默认策略与所述第二路由之后,所述路由下发模块将所述第二路由下发给所述交换机,所述默认策略中包含了不同业务的流量与不同链路的默认关系,
    其中,在所述流量到达所述交换机后,所述交换机按照所述路由下发模块下发给所述交换机的所述第二路由转发所述流量。
  5. 根据权利要求4所述的方法,其中,在所述路由下发模块将所述第二路由下发给所述交换机之后,所述方法还包括:
    所述链路状态管理模块在发现所述交换机与所述其他交换机之间的链路状态由异常变为正常之后,通知所述策略处理模块;
    所述策略处理模块通知所述组管理模块将所述配置策略设置成有效;
    在所述组管理模块将所述配置策略设置成有效之后,所述策略处理模块从所述组管理模块处获取分配给所述配置策略的策略组索引;
    在所述策略处理模块从所述组管理模块处获取分配给所述配置策略的策略组索引之后,所述路由下发模块将所述策略组索引携带在所述第一路由中下发给所述交换机。
  6. 一种流量处理系统,包括:
    交换机,配置为在流量到达所述交换机后,按照软件定义网络SDN的控制器下发给所述交换机的第一路由转发所述流量,
    其中,所述第一路由中携带了用于检索与所述第一路由对应的配置策略的策略组索引,所述配置策略中包含了不同业务的流量与不同链路的配置关系。
  7. 根据权利要求6所述的系统,其中,所述系统还包括所述SDN的控制器,其中,所述SDN的控制器包括策略处理模块,组管理模块和路由下发模块,
    所述策略处理模块,配置为在所述交换机按照软件定义网络SDN的控制器下发给所述交换机的第一路由转发所述流量之前,获取所述配置策略,并通知所述组管理模块为所述配置策略分配所述策略组索引;
    所述策略处理模块,还配置为在所述组管理模块为所述配置策略分配所述策略组索引之后,获取所述策略组索引,并匹配所述配置策略与所述第一路由;
    所述路由下发模块,配置为在所述策略处理模块匹配完所述配置策略与所述第一路由之后,将所述策略组索引携带在所述第一路由中下发给所述交换机。
  8. 根据权利要求7所述的系统,其中,
    所述策略处理模块,还配置为在所述路由下发模块将所述策略组索 引携带在所述第一路由中下发给所述交换机之后,删除所述配置策略,并通知所述组管理模块释放已分配给所述配置策略的所述策略组索引;
    所述策略处理模块,还配置为在所述组管理模块释放出已分配给所述配置策略的所述策略组索引之后,匹配默认策略与第二路由;
    所述路由下发模块,还配置为在所述策略处理模块匹配完所述默认策略与所述第二路由之后,将所述第二路由下发给所述交换机,所述默认策略中包含了不同业务的流量与不同链路的默认关系,
    其中,在所述流量到达所述交换机后,所述交换机按照所述路由下发模块下发给所述交换机的所述第二路由转发所述流量。
  9. 根据权利要求7所述的系统,其中,所述SDN的控制器还包括:链路状态管理模块,其中,
    所述链路状态管理模块,配置为在所述路由下发模块将所述策略组索引携带在所述第一路由中下发给所述交换机之后,在发现所述交换机与其他交换机之间的链路状态由正常变为异常之后,通知所述策略处理模块;
    所述策略处理模块,还配置为通知所述组管理模块所述配置策略设置成无效;
    所述策略处理模块,还配置为在所述组管理模块将所述配置策略设置成无效之后,匹配默认策略与第二路由;
    所述路由下发模块,还配置为在所述策略处理模块匹配完所述默认策略与所述第二路由之后,将所述第二路由下发给所述交换机,所述默认策略中包含了不同业务的流量与不同链路的默认关系,
    其中,在所述流量到达所述交换机后,所述交换机按照所述路由下发模块下发给所述交换机的所述第二路由转发所述流量。
  10. 根据权利要求9所述的系统,其中,
    所述链路状态管理模块,还配置为在所述路由下发模块将所述第二路由下发给所述交换机之后,在发现所述交换机与所述其他交换机之间的链路状态由异常变为正常之后,通知所述策略处理模块;
    所述策略处理模块,还配置为通知所述组管理模块将所述配置策略设置成有效;
    所述策略处理模块,还配置为在所述组管理模块将所述配置策略设置成有效之后,从所述组管理模块处获取分配给所述配置策略的策略组索引;
    所述路由下发模块,还配置为在所述策略处理模块从所述组管理模块处获取分配给所述配置策略的策略组索引之后,将所述策略组索引携带在所述第一路由中下发给所述交换机。
  11. 一种计算机存储介质,所述计算机存储介质中存储有计算机可执行指令,该计算机可执行指令配置为执行权利要求1提供的一种流量处理方法。
  12. 一种交换机,包括:处理器和配置为存储可执行指令的存储介质,其中,处理器配置为执行存储的可执行指令,所述可执行指令包括:
    在流量到达交换机后,按照软件定义网络SDN的控制器下发给所述交换机的第一路由转发所述流量,
    其中,所述第一路由中携带了用于检索与所述第一路由对应的配置策略的策略组索引,所述配置策略中包含了不同业务的流量与不同链路的配置关系。
PCT/CN2017/078394 2016-05-19 2017-03-28 流量处理方法及系统、存储介质、交换机 WO2017197983A1 (zh)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201610338832.3 2016-05-19
CN201610338832.3A CN107404442A (zh) 2016-05-19 2016-05-19 流量处理方法及系统

Publications (1)

Publication Number Publication Date
WO2017197983A1 true WO2017197983A1 (zh) 2017-11-23

Family

ID=60324771

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2017/078394 WO2017197983A1 (zh) 2016-05-19 2017-03-28 流量处理方法及系统、存储介质、交换机

Country Status (2)

Country Link
CN (1) CN107404442A (zh)
WO (1) WO2017197983A1 (zh)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108390828A (zh) * 2018-01-17 2018-08-10 新华三技术有限公司 报文转发方法及装置
CN110891035A (zh) * 2019-11-21 2020-03-17 迈普通信技术股份有限公司 一种设备接入管理方法、装置及系统

Families Citing this family (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108965137B (zh) * 2018-07-20 2021-03-19 新华三技术有限公司 一种报文处理方法和装置
CN110380922A (zh) * 2019-05-29 2019-10-25 兴业证券股份有限公司 交易系统的全链路压力测试方法及存储介质
CN114584391B (zh) * 2022-03-22 2024-02-09 恒安嘉新(北京)科技股份公司 异常流量处理策略的生成方法、装置、设备及存储介质

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP2787698A2 (en) * 2013-04-03 2014-10-08 Deutsche Telekom AG A method and device for incremental deployment of software-defined networking into an enterprise network
CN104104718A (zh) * 2014-07-02 2014-10-15 北京邮电大学 一种基于软件定义网络的用户自主路由定制系统和方法
WO2015066878A1 (zh) * 2013-11-07 2015-05-14 华为技术有限公司 Sdn网络中的控制设备和控制方法
CN104780088A (zh) * 2015-03-19 2015-07-15 杭州华三通信技术有限公司 一种业务报文的传输方法和设备
CN105407010A (zh) * 2015-12-31 2016-03-16 重庆邮电大学 基于sdn技术实现软件定义路由的流量发生装置
CN105429886A (zh) * 2015-10-30 2016-03-23 南京优速网络科技有限公司 一种基于sdn的综合统一流量调度系统及其调度方法

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP2787698A2 (en) * 2013-04-03 2014-10-08 Deutsche Telekom AG A method and device for incremental deployment of software-defined networking into an enterprise network
WO2015066878A1 (zh) * 2013-11-07 2015-05-14 华为技术有限公司 Sdn网络中的控制设备和控制方法
CN104104718A (zh) * 2014-07-02 2014-10-15 北京邮电大学 一种基于软件定义网络的用户自主路由定制系统和方法
CN104780088A (zh) * 2015-03-19 2015-07-15 杭州华三通信技术有限公司 一种业务报文的传输方法和设备
CN105429886A (zh) * 2015-10-30 2016-03-23 南京优速网络科技有限公司 一种基于sdn的综合统一流量调度系统及其调度方法
CN105407010A (zh) * 2015-12-31 2016-03-16 重庆邮电大学 基于sdn技术实现软件定义路由的流量发生装置

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108390828A (zh) * 2018-01-17 2018-08-10 新华三技术有限公司 报文转发方法及装置
CN108390828B (zh) * 2018-01-17 2021-12-31 新华三技术有限公司 报文转发方法及装置
CN110891035A (zh) * 2019-11-21 2020-03-17 迈普通信技术股份有限公司 一种设备接入管理方法、装置及系统

Also Published As

Publication number Publication date
CN107404442A (zh) 2017-11-28

Similar Documents

Publication Publication Date Title
WO2017197983A1 (zh) 流量处理方法及系统、存储介质、交换机
US10148492B2 (en) Data center bridging network configuration and management
CN107005462B (zh) 软件定义网络中数据转发的方法、设备和系统
EP3016316B1 (en) Network control method and apparatus
US20210160181A1 (en) Architecture for a network visibility system
US9203762B2 (en) Information handling system data center bridging features with defined application environments
JP2022513083A (ja) 時間依存ネットワーキング通信方法及び装置
WO2015149481A1 (zh) 业务链路由方法及系统、及系统中的设备
US20170085462A1 (en) Network Control Method and Apparatus
CN104954182B (zh) 一种用于配置虚拟服务器集群的方法和装置
JP2021100255A (ja) フレキシブルイーサネットに基づいてサービスフローを送信するための方法および装置、ならびに通信システム
WO2014082538A1 (zh) 一种业务调度方法与装置及融合设备
JP2017528998A (ja) 適合ネットワーク機能チェーン
US10581679B1 (en) Migrating services in data communication networks
CN102724030A (zh) 一种高可靠性的堆叠系统
WO2016194089A1 (ja) 通信ネットワーク、通信ネットワークの管理方法および管理システム
KR20140106235A (ko) 오픈플로우 스위치 및 그 패킷 처리 방법
US20160021005A1 (en) Communication system, control apparatus and communication apparatus
WO2018068588A1 (zh) 提供组播业务的方法和软件定义网络控制器
CN107005479B (zh) 软件定义网络sdn中数据转发的方法、设备和系统
CN106850803B (zh) 一种基于sdn的加权轮询系统及算法
CN111092824B (zh) 流量管理系统、方法、电子终端、及存储介质
CN108271149B (zh) 一种用户数据锚点迁移的方法、设备和系统
CN102480471B (zh) 实现监控RRPP环中QoS处理的方法和网络节点
JP6288633B2 (ja) ネットワーク制御方法

Legal Events

Date Code Title Description
NENP Non-entry into the national phase

Ref country code: DE

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

Ref document number: 17798547

Country of ref document: EP

Kind code of ref document: A1

122 Ep: pct application non-entry in european phase

Ref document number: 17798547

Country of ref document: EP

Kind code of ref document: A1