WO2015074453A1 - Control method and apparatus for data stream forwarding route - Google Patents

Control method and apparatus for data stream forwarding route Download PDF

Info

Publication number
WO2015074453A1
WO2015074453A1 PCT/CN2014/086276 CN2014086276W WO2015074453A1 WO 2015074453 A1 WO2015074453 A1 WO 2015074453A1 CN 2014086276 W CN2014086276 W CN 2014086276W WO 2015074453 A1 WO2015074453 A1 WO 2015074453A1
Authority
WO
WIPO (PCT)
Prior art keywords
data stream
forwarding
policy
network
dimensional
Prior art date
Application number
PCT/CN2014/086276
Other languages
French (fr)
Chinese (zh)
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 WO2015074453A1 publication Critical patent/WO2015074453A1/en

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/64Routing or path finding of packets in data switching networks using an overlay routing layer
    • 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
    • H04L47/00Traffic control in data switching networks
    • H04L47/70Admission control; Resource allocation
    • H04L47/80Actions related to the user profile or the type of traffic
    • H04L47/808User-type aware

Definitions

  • the present invention relates to the field of communications, and in particular, to a method and an apparatus for controlling data flow forwarding routing.
  • the quintuple includes: a source address, a destination address, a source port, a destination port, and a protocol number of the data stream.
  • the forwarding device in the network uses the quintuple as a routing reference object, and the data flow is calculated hop by hop by the network protocol corresponding to the protocol number, so that the final data flow is forwarded from the source port of the source device indicated by the source address, and is forwarded.
  • the device forwards hop by hop and finally reaches the destination device indicated by the destination address through the destination port.
  • the forwarding method of the data stream is that the forwarding device calculates the forwarding route of the data stream according to the quintuple hop by hop and forwards the data flow, and each forwarding device cannot determine the data flow forwarding route based on the global view of the network, thereby forwarding the route. Determine lack of flexibility and poor network resource utilization.
  • the embodiment of the invention provides a method and a device for controlling data flow forwarding, which can improve the flexibility of forwarding route determination and improve network resource utilization.
  • the first aspect provides a method for controlling a data flow forwarding route, where the method is applied to a first network, where the method further includes:
  • the forwarding policy includes a quintuple of the first data stream and at least one other communication information of the first data stream;
  • the determining, by the parameter information, the forwarding policy of the first data stream includes:
  • the multi-dimensional policy level including at least one sub-level, the multi-dimensional policy level values including values of at least one of the sub-levels;
  • the determining, by the parameter information, the forwarding policy of the first data stream includes:
  • the multi-dimensional policy level including at least one sub-level, the multi-dimensional policy level values including values of at least one of the sub-levels;
  • Each layer forwarding policy of the first data stream is determined layer by layer according to the multi-dimensional policy level value of the first data stream.
  • various forwarding policies and their multi-dimensional policy levels are pre-stored. Values include:
  • Each forwarding policy passed by the validity verification and its multi-dimensional policy level value are stored.
  • the obtaining the parameter information of the first data stream from the parameter information of each data stream that is stored in advance according to the forwarding request includes:
  • determining the first data stream according to a forwarding policy of the first data stream and a logical topology of the first network before forwarding the route in the first network further includes:
  • the establishing a logical topology of the first network includes:
  • a second aspect provides a control device for data flow forwarding, the device being applied to a first network, where the device includes:
  • a receiving unit configured to receive a forwarding request of the first data stream sent by the network device
  • An obtaining unit configured to acquire parameter information of the first data stream from parameter information of each data stream stored in advance according to the forwarding request received by the receiving unit;
  • a policy determining unit configured to determine, according to the parameter information acquired by the acquiring unit, a forwarding policy of the first data stream; the forwarding policy includes a quintuple of the first data stream and the first data stream At least one other communication information;
  • a route determining unit configured to determine, according to a forwarding policy of the first data stream that is determined by the policy determining unit, and a logical topology of the first network, a forwarding route of the first data stream in the network;
  • a sending unit configured to send, to the network device, a forwarding route of the first data stream determined by the route determining unit in the first network.
  • the policy determining unit includes:
  • a first storage subunit configured to pre-store various forwarding policies and multi-dimensional policy level values thereof, where the multi-dimensional policy level includes at least one sub-level, where the multi-dimensional policy level value includes a value of at least one of the sub-levels;
  • a first determining subunit configured to determine, according to the parameter information, a multi-dimensional policy level of the first data stream Don't value
  • a second determining subunit determining at least one forwarding policy corresponding to the multi-dimensional policy level value of the first data stream
  • selecting a subunit configured to select one forwarding policy from the at least one forwarding policy as a forwarding policy of the first data flow.
  • the policy determining unit includes:
  • a first storage subunit configured to pre-store various forwarding policies and multi-dimensional policy level values thereof, where the multi-dimensional policy level includes at least one sub-level, where the multi-dimensional policy level value includes a value of at least one of the sub-levels;
  • a first determining subunit configured to determine a multi-dimensional policy level value of the first data stream according to the parameter information
  • a third determining subunit configured to determine, according to the multi-dimensional policy level value of the first data stream, each layer forwarding policy of the first data stream.
  • the first storage subunit includes:
  • An obtaining module configured to obtain a forwarding policy input by a user
  • a verification module configured to perform validity verification on the forwarding policy
  • a determining module configured to determine a multi-dimensional policy level value of each forwarding policy passed by the verification module validity verification
  • a storage module configured to store each forwarding policy passed by the validity verification and a multi-dimensional policy level value thereof.
  • the acquiring unit is specifically configured to: obtain, according to the forwarding request, packet header information of the first data stream; and according to the packet header information of the first data stream, Obtaining parameter information of the first data stream in the parameter information of the pre-stored data stream.
  • a topology establishing unit configured to establish a logical topology of the first network.
  • the topology establishing unit is specifically configured to:
  • the forwarding request of the first data stream sent by the network device is received; the parameter information of the first data stream is obtained from parameter information of each data stream stored in advance; and the first information is determined according to the parameter information.
  • a forwarding policy of the data stream includes a quintuple of the first data stream and at least one other communication information of the first data stream; a forwarding policy according to the first data stream and a logic of the first network
  • the topology determines a forwarding route of the first data stream in the first network, and sends a forwarding route of the first data stream in the first network to the network device.
  • the forwarding policy according to the controller when determining the forwarding route of the first data stream, includes not only the quintuple of the first data stream but also other communication information of the data stream, and the controller also depends on the logical topology of the network. Therefore, the forwarding route of the first data stream determined by the controller can be more flexible and optimized, thereby improving network resource utilization.
  • FIG. 1 is a schematic diagram of a method for controlling data flow forwarding routing according to an embodiment of the present invention
  • FIG. 2 is a schematic diagram of a second embodiment of a method for controlling data flow forwarding routing according to an embodiment of the present invention
  • 2A is a diagram showing an example of a forwarding policy hierarchy relationship according to an embodiment of the present invention.
  • FIG. 3 is a structural diagram of a control device for data stream forwarding routing according to an embodiment of the present invention.
  • FIG. 4 is a structural diagram of a controller of an embodiment of the present invention.
  • SDN Software Defined Network
  • the functions of the logical control center or the network operating system are apt to be separated into two parts: the network view and the application logic.
  • the network view senses the entire network topology and establishes a logical network, and provides the upper layer application logic to invoke in an interface manner; the application logic can be customized according to network requirements, and correspondingly according to the logical topology and service requirements provided by the network view. Operations, such as calculating the forwarding path of a data stream based on a logical topology, and so on.
  • the controller abstracts the network resources in the network environment using the SDN technology, and based on the global view, combines the communication information such as user requirements, service requirements, and data flow characteristics on the basis of the original quintuple.
  • a multi-dimensional routing and forwarding method based on combining policies and addresses is formed to improve resource utilization while improving forwarding routing flexibility.
  • the embodiments of the present invention are applicable not only to an SDN network, but also to other networks having a controller and a forwarding device.
  • FIG. 1 is a schematic diagram of a first embodiment of a method for controlling data flow forwarding routing according to the present invention, where the method includes:
  • Step 101 The controller receives a forwarding request of the first data stream sent by the network device.
  • the network device may be a switch, or another network entity having a forwarding function, or a host that sends the first data stream.
  • the first data stream is only used to refer to any data stream in the actual application, and does not represent the second data stream, the third data stream, and the like in the embodiment of the present invention.
  • Step 102 The controller acquires parameter information of the first data stream from parameter information of each data stream stored in advance according to the forwarding request.
  • Step 103 The controller determines, according to the parameter information, a forwarding policy of the first data stream, where the forwarding policy includes a quintuple of the first data stream and at least one other communication information of the first data stream.
  • the other communication information of the first data stream refers to communication information of the first data stream except the quintuple
  • Step 104 The controller determines, according to the forwarding policy of the first data stream and the logical topology of the first network, a forwarding route of the first data stream in the network.
  • the first network is a network to which the method in the embodiment of the present invention is applied; the first network is only used to refer to the network to which the method in the embodiment of the present invention is applied, and does not mean that the embodiment of the present invention further has Second network, third network, etc.
  • the first network in the embodiment of the present invention may be any network that includes a controller and a network device, and needs a network device to forward the data stream.
  • the specific network structure and the like are not limited herein.
  • Step 105 The controller sends a forwarding route of the first data stream in the network to the network device.
  • the network device may forward the first data stream according to the forwarding route.
  • the controller determines, according to the parameter information, a forwarding policy of the first data stream; the forwarding policy includes a quintuple of the first data stream and at least one other communication information of the first data stream;
  • the forwarding policy of the first data stream and the logical topology of the first network determine a forwarding route of the first data stream in the first network; forwarding the first data stream in the first network
  • the route is sent to the network device, so that when determining the forwarding route of the first data stream, the forwarding policy according to the controller includes not only the quintuple of the first data stream but also other communication information of the data stream, and controls
  • the device also relies on the logical topology of the first network, so that the forwarding route of the first data stream determined by the controller can be more flexible and optimized, thereby improving network resource utilization.
  • FIG. 2 is a schematic diagram of a second embodiment of a method for controlling data flow forwarding routing according to the present invention.
  • the method includes:
  • Step 201 The controller acquires a forwarding policy input by the user.
  • the controller may provide a user interface for the user to customize the forwarding policy according to the controller's customized forwarding policy input format in the interface.
  • the user can be an individual, a third party plugin or a network administrator, or the like.
  • Step 202 The controller performs validity verification on each of the forwarding policies. If the verification is passed, step 203 is performed; if the verification fails, the process returns to step 201 or the branch processing ends.
  • Step 203 The controller determines a multi-dimensional policy level value of each forwarding policy that the validity verification passes.
  • the multi-dimensional policy level includes at least one sub-level, the multi-dimensional policy level value including the sub- The value of at least one sublevel in the level.
  • the multi-dimensional policy level may include n sub-levels, n being a natural number, and the sub-levels may be a user level, a specified level, a user right, a service category, and the like.
  • the user level may be a level of the user who inputs the forwarding policy, and the user level may be determined by the controller according to the user information, such as the status, the authority, and the priority of the user who inputs the forwarding policy.
  • the specific determining method is not limited herein.
  • the correspondence between the user level and the different user information may be set in advance, and the controller may directly find the corresponding relationship according to the user information of the user, and obtain the user level of the forwarding policy input by the user.
  • the controller may pre-store user information such as status, authority, and priority of each user.
  • the controller receives the forwarding policy, the controller identifies the user through an interface between the device and the controller used by the user, thereby controlling the slave.
  • the user information corresponding to the user who inputs the forwarding policy is obtained from the pre-stored user information, thereby determining the user level.
  • the specified level may be a level specified by the network administrator for the forwarding policy when the user is a network administrator.
  • the user rights may be defined by the system, such as dividing the user rights into multiple levels such as advanced, normal, and low-level.
  • the multi-dimensional policy level values of the data flow do not necessarily have an explicit value for each sub-level;
  • the value of the level corresponding to the level can be the default.
  • How to represent the level of a sub-level in the multi-level policy level value is not limited. For example, suppose the multi-dimensional policy level includes 3 sub-levels, which are sub-level 1, sub-level 2, and sub-level 3. For a certain data stream A, it may only have sub-level 1 with a level value, assuming X1, and The other sub-levels 2 and 3 may not have the value of the level.
  • the multi-dimensional policy level value of the data stream A includes the value X1 of the sub-level 1, and the level corresponding to the sub-levels 2 and 3 defaults.
  • Step 204 The controller stores each forwarding policy passed by the validity verification and its multi-dimensional policy level value.
  • the controller may preset a policy database for storing various forwarding policies and multi-dimensional policy level values. Then, in this step, the controller may store the forwarding policy and its multi-dimensional policy level values into the policy database.
  • the forwarding policy stored in the controller and its multi-dimensional policy level value may be dynamically updated according to changes in network status, user status, etc., and the update may include forwarding policies and more Add, modify, delete, etc. the dimension policy level values.
  • the update may be completed by a network administrator, or may be automatically completed by the controller when the trigger condition is met by a trigger condition set in the controller, such as a life cycle of the forwarding policy, a priority, and the like.
  • the controller can set the life cycle for each forwarding policy, that is, set the usage period of each forwarding policy, and the controller will automatically delete the forwarding policy that exceeds the lifetime.
  • the life cycle of the forwarding policy may be determined according to data flow statistics periodically reported by the network device, user rights, multi-dimensional policy level values, and the like.
  • the data flow statistics of the network device may include the bandwidth usage of the data flow, the total traffic, and the service category to which the data flow belongs.
  • the user rights may be defined by the system, such as dividing the user rights into advanced, normal, and low-level. For example, you can set the life cycle of a forwarding policy based on user rights. You can set a relatively long life cycle for a forwarding policy corresponding to a user with a higher user privilege level. For example, you can define a user with advanced user rights. The lifetime of the corresponding forwarding policy is infinitely long. The lifetime of the forwarding policy corresponding to the user with the user privilege is the lease duration of the user. The lifetime of the forwarding policy corresponding to the user with the lower privilege is fixed. The duration of the forwarding policy, which is defined by the user who defines the user rights of each level.
  • the forwarding policy in the embodiment of the present invention may include various communication information of the data stream, and may not be limited to communication information such as a quintuple of the data stream, and may also include at least one other communication information.
  • the other communication information may include an Access Control List (ACL), a QoS (Quality of Service), a network entity usage right, a security response level requirement, and binding information of a user and a network port and a link.
  • ACL Access Control List
  • QoS Quality of Service
  • the priority information of the service to which the user belongs the user's permission information, the data processing information of the specified port, the service type, the protocol type, the Internet Protocol (IP) layer service type, the next hop, and the shortest path decision.
  • the quintuple may include: a source IP address, a destination IP address, a source access control (MAC) address, a destination MAC address, a source port number, a destination port number, and the like.
  • MAC source access control
  • the QoS may also include: bandwidth related QoS, delay related QoS, jitter related QoS, security related QoS, and the like.
  • a forwarding policy can be set to: users with super user rights can use proprietary links and forwarding devices; or applications with high priority can choose to use links and network entities with high bandwidth guarantee, according to users in SLA The bandwidth occupied in the signed ratio is equal to the guaranteed minimum bandwidth of the user.
  • the other communication information may further include: a specified logical requirement or a specific instruction requirement, etc.; the specified logical requirement may be, for example, that the forwarding from the source IP address to the destination IP address needs to follow the shortest hop requirement, or the transmission chain
  • the bandwidth requirement of the path is up to 10M or the like.
  • the specific command requirement can be: a forwarding from a source IP address to a destination IP address requires a physical link to be taken from a switch. A packet received by a port is designated to be forwarded to another port or the like.
  • Step 205 The controller pre-stores parameter information of each data stream.
  • the parameter information may include, but is not limited to, a user to which the data flow belongs, a user right, a user priority, a data flow priority, a QoS of the data flow, a quintuple of the data flow, an application layer service type of the data flow, and the like. .
  • the parameter information of each data stream may be defined by the user, or may be automatically generated by the controller according to the running state of the data stream, which is not limited herein.
  • the controller can store the parameter information of each data stream by using the information that can uniquely identify the data stream, such as the header information of the data stream, so as to distinguish the parameter information of each data stream, and facilitate subsequent data flow. Retrieval of parameter information.
  • the packet header information of the data stream is used as an index to store parameter information of the data stream as an example.
  • the parameter information of each data stream stored in the controller may be dynamically updated according to changes in network status, user status, and the like, and the update may include adding, modifying, deleting, and the like of parameter information of the data stream.
  • the update may be completed by a network administrator, or may be automatically completed by the controller when the trigger condition is met by a trigger condition set in the controller, such as a life cycle of parameter information of the data stream.
  • the controller may set a life cycle for the parameter information of each data stream, that is, set the life of the parameter information of the data stream, and the controller will automatically delete the parameter information exceeding the life cycle.
  • Step 206 The controller establishes a logical topology of the first network.
  • the logical topology of the first network may include: a physical connection topology of the first network and communication logic;
  • the physical connection topology of the first network refers to a physical connection relationship between devices in the first network
  • the communication logic of the first network is used to describe how the controllers in the first network and the various network devices communicate according to the physical connection relationship.
  • the physical connection topology of the controller establishing the first network may include:
  • the controller periodically sends a topology discovery data packet to each network device; each network device forwards and feeds back a response data packet of the topology discovery data packet to the controller; and the controller determines the first network according to the received response data packet.
  • Physical connection topology For example, in an SDN network, the topology discovery data packet can be implemented by using LLDP packets.
  • the communication logic of the controller establishing the first network may include:
  • the controller acquires communication information of the network device reported by each network device, and communication of each network device
  • the information may include, but is not limited to, status information of the network device, topology information, capability information, version information, current resource usage information, and historical resource usage information;
  • the communication logic of each network device is abstracted according to a predefined unit resource entity, thereby obtaining communication logic of the first network.
  • the network device may carry the communication information of the network device by using the response data packet of the topology discovery data packet sent to the controller, and may also report the communication information of the network device to the controller in other manners, which is not limited herein.
  • the abstraction by the unit resource entity refers to a process in which the controller acquires and abstracts the communication information of the network device.
  • the network device is used as a switch, and the communication information of the network device may include but not limited to: bandwidth.
  • the method for abstracting the unit resource entity is not limited herein.
  • the bandwidth can be abstracted according to Mbps
  • the disk size can be abstracted according to MB/GB/TB or the like.
  • the controller can also perform resource abstraction definitions of different categories according to a predefined allocation level. For example, a certain category can be defined as one virtual CPU, 20 GB disk space, 20 Mbps port, etc., and will not be described here.
  • the execution order between the steps 201 and 206 is not limited, and the steps 201 to 206 are generally preparation steps, and are performed before the data stream is forwarded.
  • Step 207 The controller receives a forwarding request of the first data stream sent by the network device, where the forwarding request may include: packet header information of the first data stream.
  • the first data stream may be any data stream in an actual application.
  • the network device After receiving the first data stream, the network device checks the local forwarding table of the network device, and determines whether the forwarding table includes the forwarding entry corresponding to the first data flow, and if yes, the forwarding rule defined by the forwarding entry. Forwarding the first data stream; if not, the network device sends a forwarding request of the first data stream to the controller.
  • one or more forwarding tables may be set in the network device, and a priority is set for each forwarding table.
  • the network device may first query the forwarding table. If the forwarding table corresponding to the first data stream is included in the forwarding table of the priority, the forwarding table corresponding to the first data stream is not queried, and the forwarding table corresponding to the first data stream is included in the forwarding table of the lower priority. Publish the item.
  • the forwarding table of the same priority may further include two types of forwarding entries: an exact forwarding and a fuzzy matching.
  • Step 208 The controller uses the pre-stored data according to the packet header information of the first data stream.
  • the parameter information of the first data stream is obtained from the parameter information of the stream.
  • the controller has previously stored the parameter information of each data stream by using the packet header information of the data stream as an index. Therefore, in this step, the controller directly searches according to the packet header information of the first data stream.
  • the parameter information corresponding to the header information is pre-stored, and the parameter information corresponding to the header information is the parameter information of the first data stream.
  • Step 209 The controller determines a forwarding policy of the first data stream according to parameter information of the first data stream.
  • the forwarding policy has no hierarchical division, and each forwarding policy corresponds to the sub-level value of the at least one sub-level, and the controller determines the first data flow according to the parameter information of the first data flow.
  • the forwarding strategy can include:
  • the forwarding policy corresponding to the multi-dimensional policy level value of the first data stream may be a forwarding policy with the same multi-dimensional policy level value and the multi-dimensional policy level value of the first data stream.
  • a forwarding policy may be randomly selected as the forwarding policy of the first data stream, or may be forwarded in advance.
  • the forwarding policy in the first place is selected as the forwarding strategy of the first data stream in a preset order; in the actual application, other methods for selecting the forwarding policy may also be used, and no longer Narration.
  • the multi-dimensional policy level value of forwarding policy 1 is user level 1 and service type 1
  • the multi-dimensional policy level value of forwarding policy 2 is user level 1 and service type 2
  • the multi-dimensional policy level value of forwarding policy 3 is user level 2 and service type. 1 and specify level 1, and so on, then,
  • the multi-dimensional policy level value of the first data stream is: user level 1, service type 2, then the forwarding policy corresponding to the multi-dimensional policy level value of the first data stream is forwarding policy 2, then the forwarding policy 2 is selected as the first The forwarding strategy of the data stream.
  • the forwarding policies may have a hierarchical division, for example, including an m-layer forwarding policy, and each forwarding policy of each layer has at least one forwarding policy of the next layer, and forwarding of each layer
  • the policy corresponds to one or more sub-levels, and different forwarding policies of the layer correspond to the one or more sub-categories
  • the different values of the level; the controller determining, according to the parameter information of the first data stream, the forwarding policy of the first data stream may include:
  • Each layer forwarding policy of the first data stream is determined layer by layer according to the multi-dimensional policy level value of the first data stream.
  • the forwarding policy is divided into three layers, and the hierarchical relationship between the forwarding policies is as shown in Figure 2A.
  • the sub-level corresponding to the first-layer forwarding policy is the user level
  • the sub-level corresponding to the second-layer forwarding policy is the service type.
  • the sub-level corresponding to the policy is a specified level. It is assumed that the forwarding policy 1 and the forwarding policy 2 of the first layer correspond to user level 1 and user level 2, respectively, and the forwarding policy 11 and forwarding policy 12 of the second layer respectively correspond to the service type 1.
  • the service type 2, the forwarding policy 21, and the forwarding policy 22 also correspond to the service type 1 and the service type 2, respectively.
  • the forwarding policy 111 and the forwarding policy 112 of the third layer respectively correspond to the specified level 1, the specified level 2, the forwarding policy 121, and the forwarding.
  • the policy 122 corresponds to the specified level 1 and the specified level 2 respectively.
  • the forwarding policies of other Layer 3 are similar, and will not be described one by one;
  • the multi-level policy level value of a certain first data stream is: user level 1, service type 2, and level 2, and then user level 1 can determine that the first layer forwarding policy of the first data stream is forwarding policy 1, and further In the next-layer forwarding policy 11 and the forwarding policy 12 of the forwarding policy 1, the service layer 2 can determine that the second-layer forwarding policy of the first data flow is the forwarding policy 12, and further the forwarding policy 121 of the forwarding layer 12, The forwarding policy 122 determines that the third layer forwarding policy of the first data stream is 122 by specifying the level 2; thereby determining that each layer forwarding policy of the first data stream is: a forwarding policy 1, a forwarding policy 12, and a forwarding policy 122.
  • the forwarding policy of the upper layer in the forwarding policy between the two adjacent layers may be more generalized, and the forwarding policy of the next layer may be relatively more specific, for example, the forwarding policy 1
  • the user can use the public link to forward the service to which the user belongs, occupying a bandwidth ratio of 20 Mbps.
  • the forwarding policy 12 can guarantee that the voice service guarantees 10 Mbps of bandwidth in the 20 Mbps bandwidth to which the voice service belongs, and all other services of the user share the remaining 10 Mbps bandwidth;
  • the forwarding policy of the data stream is defined layer by layer.
  • the sub-levels included in the multi-dimensional policy level of the data flow should be included in the multi-dimensional policy level of the forwarding policy. For example, if the multi-dimensional policy level of the data flow includes sub-levels 1, 2, and 3, then the multi-level policy level of the forwarding policy also needs to include sub-levels 1, 2, and 3, so that the controller can determine the multi-dimensional policy-level value corresponding to the data flow. At least one forwarding strategy.
  • the determination of each sub-level value in the multi-dimensional policy level value of the first data stream may refer to a forwarding policy.
  • a method for determining the value of each sub-level in a slightly multi-dimensional policy level value For example, when the user level is included in the multi-dimensional policy level of the first data stream, the user level may be determined according to the parameter information of the user, the user authority, the user priority, and the like of the first data flow, and the user level determination method of the forwarding policy. determine.
  • Step 210 The controller determines, according to the forwarding policy of the first data stream and the logical topology of the first network, a forwarding route of the first data stream in the first network.
  • the controller determines, according to the forwarding policy of the first data stream and the logical topology of the first network, that the first data stream is in the
  • the forwarding route in the first network may include:
  • the controller selects at least one forwarding route that satisfies the forwarding policy from the logical topology of the first network according to a forwarding policy of the first data flow, and selects one forwarding route as the first data flow in the first a forwarding route in a network;
  • the controller determines, according to the forwarding policy of the first data stream and the logical topology of the first network, that the first data stream is in the first Forwarding routes in the network can include:
  • the controller reduces the selection range of the forwarding route in the logical topology of the first network according to the forwarding policy of each layer, and determines, according to the calibration requirement included in the forwarding policy, the first data stream in the first network. Forward the route.
  • Step 211 The controller sends a forwarding route of the first data stream in the first network to the network device.
  • the controller determines the forwarding route of the first data stream in the first network according to the forwarding policy of the first data stream and the logical topology of the first network, so that the forwarding route is implemented.
  • the determination is more flexible;
  • the forwarding route is determined according to the logical topology of the first network, and the forwarding policy according to the forwarding route determination may be customized by the user, so that the user can focus on the core service in the first network and improve the network resource utilization;
  • the forwarding policy includes not only the traditional quintuple but also at least one other communication information, so that the global optimal forwarding route can be determined as much as possible when determining the forwarding route, so that the present invention can support the dynamic of the whole network.
  • Load balancing provides possible QoS guarantee for data flow forwarding.
  • the embodiment of the present invention further provides a device for controlling data flow forwarding.
  • the device 300 can be applied to a first network, where the device 300 includes:
  • the receiving unit 310 is configured to receive a forwarding request of the first data stream sent by the network device.
  • the obtaining unit 320 is configured to acquire, according to the forwarding request received by the receiving unit 310, parameter information of the first data stream from parameter information of each data stream stored in advance;
  • the policy determining unit 330 is configured to determine, according to the parameter information acquired by the acquiring unit 320, a forwarding policy of the first data stream, where the forwarding policy includes a quintuple of the first data stream and the first At least one other communication information of the data stream;
  • the routing determining unit 340 is configured to determine, according to the forwarding policy of the first data flow determined by the policy determining unit 330 and the logical topology of the first network, a forwarding route of the first data stream in the network;
  • the sending unit 350 is configured to send, to the network device, a forwarding route of the first data stream determined by the route determining unit 340 in the first network.
  • the policy determining unit 330 may include:
  • a first storage subunit configured to pre-store various forwarding policies and multi-dimensional policy level values thereof, where the multi-dimensional policy level includes at least one sub-level, where the multi-dimensional policy level value includes a value of at least one of the sub-levels;
  • a first determining subunit configured to determine a multi-dimensional policy level value of the first data stream according to the parameter information
  • a second determining subunit determining at least one forwarding policy corresponding to the multi-dimensional policy level value of the first data stream
  • selecting a subunit configured to select one forwarding policy from the at least one forwarding policy as a forwarding policy of the first data flow.
  • the policy determining unit 330 may include:
  • a first storage subunit configured to pre-store various forwarding policies and multi-dimensional policy level values thereof, where the multi-dimensional policy level includes at least one sub-level, where the multi-dimensional policy level value includes a value of at least one of the sub-levels;
  • a first determining subunit configured to determine a multi-dimensional policy level value of the first data stream according to the parameter information
  • a third determining subunit configured to determine, according to the multi-dimensional policy level value of the first data stream, each layer forwarding policy of the first data stream.
  • the first storage subunit may include:
  • An obtaining module configured to obtain a forwarding policy input by a user
  • a verification module configured to perform validity verification on the forwarding policy
  • a determining module configured to determine a multi-dimensional policy level value of each forwarding policy passed by the verification module validity verification
  • a storage module configured to store each forwarding policy passed by the validity verification and a multi-dimensional policy level value thereof.
  • the obtaining unit 320 is specifically configured to: obtain, according to the forwarding request, packet header information of the first data stream; and store, according to the packet header information of the first data stream, the pre-storage Obtaining parameter information of the first data stream in parameter information of the data stream.
  • the apparatus 300 may further include:
  • the topology establishing unit is configured to establish a logical topology of the first network, and provide the logical topology to the route determining unit as a determining basis of the forwarding route.
  • the topology establishing unit may be specifically configured to:
  • the unit, the sub-unit, and the module in the device in the embodiment of the present invention may be disposed in the same physical device, or may be disposed in a network formed by multiple physical devices that can communicate with each other, and is not limited herein.
  • the forwarding policy of the first data stream is determined according to the parameter information; the forwarding policy includes a quintuple of the first data stream and other communication information of the first data stream; according to the first data And a logical topology of the first network determines a forwarding route of the first data stream in the first network; and sends a forwarding route of the first data stream in the first network to the The network device, so that when determining the forwarding route of the first data stream, the forwarding policy according to the controller includes not only the quintuple of the first data stream but also other communication information of the data stream, and the controller further A logical topology of the network, so that the forwarding route of the first data stream determined by the controller can be more flexible and optimized, thereby improving network resource utilization.
  • an embodiment of the present invention further provides a controller, where the controller 400 includes: a processor 410, a memory 420, a transceiver 430, and a bus 440.
  • the processor 410, the memory 420, and the transceiver 430 are connected to each other through a bus 440; the bus 440 may be an ISA bus, a PCI bus, or an EISA bus.
  • the bus can be divided into an address bus, a data bus, a control bus, and the like. For ease of representation, only one thick line is shown in Figure 4, but it does not mean that there is only one bus or one type of bus.
  • the memory 420 is configured to store a program.
  • the program can include program code, the program code including computer operating instructions.
  • the memory 420 may include a high speed RAM memory and may also include a non-volatile memory such as at least one disk memory.
  • the transceiver 430 is used to connect other devices and communicate with other devices. Specifically, the transceiver 430 is configured to: receive a forwarding request of the first data stream sent by the network device, send the forwarding request to the processor 410, and further configured to: use the first data stream determined by the processor 410 The forwarding route in the first network is sent to the network device.
  • the processor 410 executes the program code, configured to acquire parameter information of the first data stream from parameter information of each data stream stored in advance according to the forwarding request, and determine the first information according to the parameter information.
  • a forwarding policy of the data stream the forwarding policy includes a quintuple of the first data stream and at least one other communication information of the first data stream; a forwarding policy according to the first data stream and a first network
  • the logical topology determines a forwarding route of the first data stream in the network, and sends the forwarding route to the transceiver 430.
  • the processor 410 may be specifically configured to:
  • the multi-dimensional policy level including at least one sub-level, the multi-dimensional policy level values including values of at least one of the sub-levels;
  • processor 410 may be specifically configured to:
  • the multi-dimensional policy level including at least one sub-level, the multi-dimensional policy level values including values of at least one of the sub-levels;
  • Each layer forwarding policy of the first data stream is determined layer by layer according to the multi-dimensional policy level value of the first data stream.
  • the processor 410 is specifically configured to:
  • the processor 410 is specifically configured to:
  • Each forwarding policy passed by the validity verification and its multi-dimensional policy level value are stored.
  • the processor 410 is specifically configured to: establish a logical topology of the first network.
  • the processor 410 is specifically configured to: send a topology discovery data packet to each network device in the first network; receive a response data packet of the topology discovery data packet fed back by each network device; The data packet determines a physical connection topology of the first network;
  • the controller determines a forwarding policy of the first data stream according to the parameter information; the forwarding policy includes a quintuple of the first data stream and other communication information of the first data stream; a forwarding policy of the data stream and a logical topology of the first network determining a forwarding route of the first data stream in the first network; sending a forwarding route of the first data stream in the first network to The network device, so that when determining the forwarding route of the first data stream, the forwarding policy according to the controller includes not only the quintuple of the first data stream but also other communication information of the data stream, and the controller further relies on
  • the logical topology of the first network is such that the forwarding route of the first data stream determined by the controller can be more flexible and optimized, thereby improving network resource utilization.
  • the techniques in the embodiments of the present invention can be implemented by means of software plus a necessary general hardware platform. Based on such understanding, the technical solution in the embodiments of the present invention may be embodied in the form of a software product in essence or in the form of a software product, which may be stored in a storage medium such as a ROM/RAM. , a disk, an optical disk, etc., including instructions for causing a computer device (which may be a personal computer, server, or network device, etc.) to perform the methods described in various embodiments of the present invention or portions of the embodiments.
  • a computer device which may be a personal computer, server, or network device, etc.

Abstract

Embodiments of the present invention provide a control method and apparatus for the data stream forwarding route. The parameter information of each data stream and the logical topology of a network used by the method are pre-stored. The method also includes: receiving a forwarding request of the first data stream transmitted by a network device; obtaining the parameter information of the first data stream from the pre-stored parameter information of each data stream; determining the forwarding policy of the first data stream according to the parameter information; the forwarding policy including the quintuple and other communication information of the first data stream; determining the forwarding route of the first data stream in the network according to the forwarding policy of the first data stream and the logical topology of the network; transmitting the forwarding route of the first data stream in the network to the network device. The embodiments of the present invention can improve the flexibility of the forwarding route determination and the network resource utilization ratio.

Description

数据流转发路由的控制方法及装置Data stream forwarding route control method and device
本申请要求于2013年11月22日提交中国专利局、申请号为201310596840.4、发明名称为“数据流转发路由的控制方法及装置”的中国专利申请的优先权,其全部内容通过引用结合在本申请中。The present application claims priority to Chinese Patent Application No. 201310596840.4, entitled "Control Method and Apparatus for Data Flow Forwarding Routing", filed on November 22, 2013, the entire contents of which are incorporated herein by reference. In the application.
技术领域Technical field
本发明涉及通信领域,尤其涉及数据流转发路由的控制方法及装置。The present invention relates to the field of communications, and in particular, to a method and an apparatus for controlling data flow forwarding routing.
背景技术Background technique
在对数据流进行转发时,目前一般使用五元组模式的传统路由方案。所述五元组包括:数据流的源地址、目的地址、源端口、目的端口以及协议号。具体的,网络中的转发设备以五元组为路由参照物,通过协议号对应的网络协议逐跳计算数据流的路由,从而最终数据流从源地址指示的源设备的源端口出发,被转发设备逐跳转发,最终通过目的端口到达目的地址指示的目的设备。When forwarding data streams, the traditional routing scheme of the 5-tuple mode is currently generally used. The quintuple includes: a source address, a destination address, a source port, a destination port, and a protocol number of the data stream. Specifically, the forwarding device in the network uses the quintuple as a routing reference object, and the data flow is calculated hop by hop by the network protocol corresponding to the protocol number, so that the final data flow is forwarded from the source port of the source device indicated by the source address, and is forwarded. The device forwards hop by hop and finally reaches the destination device indicated by the destination address through the destination port.
但是,这种数据流的转发方法是转发设备根据五元组逐跳计算数据流的转发路由并进行转发的,各个转发设备无法基于网络的全局视图进行数据流转发路由的确定,从而转发路由的确定缺乏灵活性,且网络资源利用率差。However, the forwarding method of the data stream is that the forwarding device calculates the forwarding route of the data stream according to the quintuple hop by hop and forwards the data flow, and each forwarding device cannot determine the data flow forwarding route based on the global view of the network, thereby forwarding the route. Determine lack of flexibility and poor network resource utilization.
发明内容Summary of the invention
本发明实施例中提供了一种数据流转发路由的控制方法及装置,能够提高转发路由确定的灵活性,并且提高网络资源利用率。The embodiment of the invention provides a method and a device for controlling data flow forwarding, which can improve the flexibility of forwarding route determination and improve network resource utilization.
第一方面,提供一种数据流转发路由的控制方法,所述方法应用于第一网络,所述方法还包括:The first aspect provides a method for controlling a data flow forwarding route, where the method is applied to a first network, where the method further includes:
接收网络设备发送的第一数据流的转发请求;Receiving a forwarding request of the first data stream sent by the network device;
根据所述转发请求从预先存储的各个数据流的参数信息中获取所述第一数据流的参数信息;Obtaining parameter information of the first data stream from parameter information of each data stream stored in advance according to the forwarding request;
根据所述参数信息确定所述第一数据流的转发策略;所述转发策略包括所述第一数据流的五元组以及所述第一数据流的至少一种其他通信信息; Determining, according to the parameter information, a forwarding policy of the first data stream; the forwarding policy includes a quintuple of the first data stream and at least one other communication information of the first data stream;
根据所述第一数据流的转发策略以及第一网络的逻辑拓扑确定所述第一数据流在所述网络中的转发路由;Determining a forwarding route of the first data stream in the network according to a forwarding policy of the first data stream and a logical topology of the first network;
将所述第一数据流在所述第一网络中的转发路由发送给所述网络设备。And transmitting, to the network device, a forwarding route of the first data stream in the first network.
结合第一方面,在第一方面第一种可能的实现方式中,所述根据所述参数信息确定所述第一数据流的转发策略包括:With reference to the first aspect, in a first possible implementation manner of the first aspect, the determining, by the parameter information, the forwarding policy of the first data stream includes:
预先存储各种转发策略及其多维策略级别值,多维策略级别包括至少一个子级别,所述多维策略级别值包括所述子级别中至少一个子级别的取值;Pre-storing various forwarding policies and their multi-dimensional policy level values, the multi-dimensional policy level including at least one sub-level, the multi-dimensional policy level values including values of at least one of the sub-levels;
根据所述参数信息确定所述第一数据流的多维策略级别值;Determining, according to the parameter information, a multi-dimensional policy level value of the first data stream;
确定所述第一数据流的多维策略级别值对应的至少一种转发策略;Determining at least one forwarding policy corresponding to the multi-dimensional policy level value of the first data stream;
从所述至少一种转发策略中选择一种转发策略作为所述第一数据流的转发策略。Selecting one forwarding policy from the at least one forwarding policy as a forwarding policy of the first data flow.
结合第一方面,在第一方面第二种可能的实现方式中,所述根据所述参数信息确定所述第一数据流的转发策略包括:With reference to the first aspect, in a second possible implementation manner of the first aspect, the determining, by the parameter information, the forwarding policy of the first data stream includes:
预先存储各种转发策略及其多维策略级别值,多维策略级别包括至少一个子级别,所述多维策略级别值包括所述子级别中至少一个子级别的取值;Pre-storing various forwarding policies and their multi-dimensional policy level values, the multi-dimensional policy level including at least one sub-level, the multi-dimensional policy level values including values of at least one of the sub-levels;
根据所述参数信息确定第一数据流的多维策略级别值;Determining, according to the parameter information, a multi-dimensional policy level value of the first data stream;
根据第一数据流的多维策略级别值逐层确定第一数据流的每一层转发策略。Each layer forwarding policy of the first data stream is determined layer by layer according to the multi-dimensional policy level value of the first data stream.
结合第一方面第一种可能的实现方式,和/或第一方面第二种可能的实现方式,在第一方面第三种可能的实现方式中,预先存储各种转发策略及其多维策略级别值包括:In combination with the first possible implementation of the first aspect, and/or the second possible implementation of the first aspect, in the third possible implementation manner of the first aspect, various forwarding policies and their multi-dimensional policy levels are pre-stored. Values include:
获取用户输入的转发策略;Obtain the forwarding policy input by the user;
对所述转发策略进行有效性验证;Validating the forwarding policy;
确定有效性验证通过的每一种转发策略的多维策略级别值;Determine the multidimensional policy level value for each type of forwarding policy passed by the validity verification;
存储所述有效性验证通过的每一种转发策略及其多维策略级别值。Each forwarding policy passed by the validity verification and its multi-dimensional policy level value are stored.
结合第一方面,和/或第一方面第一种可能的实现方式,和/或第一方面第二种可能的实现方式,和/或第一方面第三种可能的实现方式,在第一方面第四种可能的实现方式中,根据所述转发请求从预先存储的各个数据流的参数信息中获取所述第一数据流的参数信息包括;In combination with the first aspect, and/or the first possible implementation of the first aspect, and/or the second possible implementation of the first aspect, and/or the third possible implementation of the first aspect, in the first In a fourth possible implementation manner, the obtaining the parameter information of the first data stream from the parameter information of each data stream that is stored in advance according to the forwarding request includes:
从所述转发请求中获取所述第一数据流的报文头信息;Obtaining packet header information of the first data stream from the forwarding request;
根据所述第一数据流的报文头信息从所述预先存储的数据流的参数信息中获取所述第一数据流的参数信息。 Obtaining parameter information of the first data stream from the parameter information of the pre-stored data stream according to the packet header information of the first data stream.
结合第一方面,和/或第一方面第一种可能的实现方式,和/或第一方面第二种可能的实现方式,和/或第一方面第三种可能的实现方式,和/或第一方面第四种可能的实现方式,在第一方面第五种可能的实现方式中,根据所述第一数据流的转发策略以及所述第一网络的逻辑拓扑确定所述第一数据流在所述第一网络中的转发路由之前,还包括:Combining the first aspect, and/or the first possible implementation of the first aspect, and/or the second possible implementation of the first aspect, and/or the third possible implementation of the first aspect, and/or A fourth possible implementation manner of the first aspect, in a fifth possible implementation manner of the first aspect, determining the first data stream according to a forwarding policy of the first data stream and a logical topology of the first network Before forwarding the route in the first network, the method further includes:
建立第一网络的逻辑拓扑。Establish a logical topology of the first network.
结合第一方面第五种可能的实现方式,在第一方面第六种可能的实现方式中,建立第一网络的逻辑拓扑包括:With reference to the fifth possible implementation manner of the first aspect, in the sixth possible implementation manner of the first aspect, the establishing a logical topology of the first network includes:
向第一网络中的各个网络设备发送拓扑发现数据包;接收各个网络设备反馈的所述拓扑发现数据包的响应数据包;根据所述响应数据包确定第一网络的物理连接拓扑;Transmitting a topology discovery data packet to each network device in the first network; receiving a response data packet of the topology discovery data packet fed back by each network device; determining a physical connection topology of the first network according to the response data packet;
并且,接收各个网络设备上报的所述网络设备的通信信息,根据各个网络设备的通信信息按照预先定义的单位资源实体进行抽象,得到网络的通信逻辑。And receiving communication information of the network device reported by each network device, and abstracting according to the communication information of each network device according to a predefined unit resource entity, to obtain communication logic of the network.
第二方面,提供一种数据流转发路由的控制装置,所述装置应用于第一网络,所述装置包括:A second aspect provides a control device for data flow forwarding, the device being applied to a first network, where the device includes:
接收单元,用于接收网络设备发送的第一数据流的转发请求;a receiving unit, configured to receive a forwarding request of the first data stream sent by the network device;
获取单元,用于根据所述接收单元接收的所述转发请求从预先存储的各个数据流的参数信息中获取所述第一数据流的参数信息;An obtaining unit, configured to acquire parameter information of the first data stream from parameter information of each data stream stored in advance according to the forwarding request received by the receiving unit;
策略确定单元,用于根据所述获取单元获取的所述参数信息确定所述第一数据流的转发策略;所述转发策略包括所述第一数据流的五元组以及所述第一数据流的至少一种其他通信信息;a policy determining unit, configured to determine, according to the parameter information acquired by the acquiring unit, a forwarding policy of the first data stream; the forwarding policy includes a quintuple of the first data stream and the first data stream At least one other communication information;
路由确定单元,用于根据所述策略确定单元确定的所述第一数据流的转发策略以及第一网络的逻辑拓扑确定所述第一数据流在所述网络中的转发路由;a route determining unit, configured to determine, according to a forwarding policy of the first data stream that is determined by the policy determining unit, and a logical topology of the first network, a forwarding route of the first data stream in the network;
发送单元,用于将所述路由确定单元确定的所述第一数据流在所述第一网络中的转发路由发送给所述网络设备。And a sending unit, configured to send, to the network device, a forwarding route of the first data stream determined by the route determining unit in the first network.
结合第二方面,在第二方面第一种可能的实现方式中,所述策略确定单元包括:With reference to the second aspect, in a first possible implementation manner of the second aspect, the policy determining unit includes:
第一存储子单元,用于预先存储各种转发策略及其多维策略级别值,多维策略级别包括至少一个子级别,所述多维策略级别值包括所述子级别中至少一个子级别的取值;a first storage subunit, configured to pre-store various forwarding policies and multi-dimensional policy level values thereof, where the multi-dimensional policy level includes at least one sub-level, where the multi-dimensional policy level value includes a value of at least one of the sub-levels;
第一确定子单元,用于根据所述参数信息确定所述第一数据流的多维策略级 别值;a first determining subunit, configured to determine, according to the parameter information, a multi-dimensional policy level of the first data stream Don't value;
第二确定子单元,确定所述第一数据流的多维策略级别值对应的至少一种转发策略;a second determining subunit, determining at least one forwarding policy corresponding to the multi-dimensional policy level value of the first data stream;
选择子单元,用于从所述至少一种转发策略中选择一种转发策略作为所述第一数据流的转发策略。And selecting a subunit, configured to select one forwarding policy from the at least one forwarding policy as a forwarding policy of the first data flow.
结合第二方面,在第二方面第二种可能的实现方式中,所述策略确定单元包括:With reference to the second aspect, in a second possible implementation manner of the second aspect, the policy determining unit includes:
第一存储子单元,用于预先存储各种转发策略及其多维策略级别值,多维策略级别包括至少一个子级别,所述多维策略级别值包括所述子级别中至少一个子级别的取值;a first storage subunit, configured to pre-store various forwarding policies and multi-dimensional policy level values thereof, where the multi-dimensional policy level includes at least one sub-level, where the multi-dimensional policy level value includes a value of at least one of the sub-levels;
第一确定子单元,用于根据所述参数信息确定第一数据流的多维策略级别值;a first determining subunit, configured to determine a multi-dimensional policy level value of the first data stream according to the parameter information;
第三确定子单元,用于根据第一数据流的多维策略级别值逐层确定第一数据流的每一层转发策略。And a third determining subunit, configured to determine, according to the multi-dimensional policy level value of the first data stream, each layer forwarding policy of the first data stream.
结合第二方面第一种可能的实现方式,和/或第二方面第二种可能的实现方式,在第二方面第三种可能的实现方式中,第一存储子单元包括:With reference to the first possible implementation of the second aspect, and/or the second possible implementation of the second aspect, in the third possible implementation manner of the second aspect, the first storage subunit includes:
获取模块,用于获取用户输入的转发策略;An obtaining module, configured to obtain a forwarding policy input by a user;
验证模块,用于对所述转发策略进行有效性验证;a verification module, configured to perform validity verification on the forwarding policy;
确定模块,用于确定验证模块有效性验证通过的每一种转发策略的多维策略级别值;a determining module, configured to determine a multi-dimensional policy level value of each forwarding policy passed by the verification module validity verification;
存储模块,用于存储所述有效性验证通过的每一种转发策略及其多维策略级别值。And a storage module, configured to store each forwarding policy passed by the validity verification and a multi-dimensional policy level value thereof.
结合第二方面,和/或第二方面第一种可能的实现方式,和/或第二方面第二种可能的实现方式,和/或第二方面第三种可能的实现方式,在第二方面第四种可能的实现方式中,所述获取单元具体用于;从所述转发请求中获取所述第一数据流的报文头信息;根据所述第一数据流的报文头信息从所述预先存储的数据流的参数信息中获取所述第一数据流的参数信息。With reference to the second aspect, and/or the first possible implementation of the second aspect, and/or the second possible implementation of the second aspect, and/or the third possible implementation of the second aspect, in the second In a fourth possible implementation manner, the acquiring unit is specifically configured to: obtain, according to the forwarding request, packet header information of the first data stream; and according to the packet header information of the first data stream, Obtaining parameter information of the first data stream in the parameter information of the pre-stored data stream.
结合第二方面,和/或第二方面第一种可能的实现方式,和/或第二方面第二种可能的实现方式,和/或第二方面第三种可能的实现方式,和/或第二方面第四种可能的实现方式,在第二方面第五种可能的实现方式中,还包括:With reference to the second aspect, and/or the first possible implementation of the second aspect, and/or the second possible implementation of the second aspect, and/or the third possible implementation of the second aspect, and/or The fourth possible implementation manner of the second aspect, in the fifth possible implementation manner of the second aspect,
拓扑建立单元,用于建立第一网络的逻辑拓扑。 A topology establishing unit, configured to establish a logical topology of the first network.
结合第二方面第五种可能的实现方式,在第二方面第六种可能的实现方式中,拓扑建立单元具体用于:With reference to the fifth possible implementation manner of the second aspect, in the sixth possible implementation manner of the second aspect, the topology establishing unit is specifically configured to:
向第一网络中的各个网络设备发送拓扑发现数据包;接收各个网络设备反馈的所述拓扑发现数据包的响应数据包;根据所述响应数据包确定第一网络的物理连接拓扑;Transmitting a topology discovery data packet to each network device in the first network; receiving a response data packet of the topology discovery data packet fed back by each network device; determining a physical connection topology of the first network according to the response data packet;
并且,接收各个网络设备上报的所述网络设备的通信信息,根据各个网络设备的通信信息按照预先定义的单位资源实体进行抽象,得到网络的通信逻辑。And receiving communication information of the network device reported by each network device, and abstracting according to the communication information of each network device according to a predefined unit resource entity, to obtain communication logic of the network.
本实施例中,接收网络设备发送的第一数据流的转发请求;从预先存储的各个数据流的参数信息中获取所述第一数据流的参数信息;根据所述参数信息确定所述第一数据流的转发策略;所述转发策略包括第一数据流的五元组以及第一数据流的至少一种其他通信信息;根据所述第一数据流的转发策略以及所述第一网络的逻辑拓扑确定所述第一数据流在所述第一网络中的转发路由;将所述第一数据流在所述第一网络中的转发路由发送给所述网络设备。从而在确定第一数据流的转发路由时,控制器依据的转发策略不仅包括第一数据流的五元组,还结合了数据流的其他通信信息,并且,控制器还依据了网络的逻辑拓扑,从而使得控制器确定的第一数据流的转发路由能够更为灵活、更为优化,从而提高了网络资源利用率。In this embodiment, the forwarding request of the first data stream sent by the network device is received; the parameter information of the first data stream is obtained from parameter information of each data stream stored in advance; and the first information is determined according to the parameter information. a forwarding policy of the data stream; the forwarding policy includes a quintuple of the first data stream and at least one other communication information of the first data stream; a forwarding policy according to the first data stream and a logic of the first network The topology determines a forwarding route of the first data stream in the first network, and sends a forwarding route of the first data stream in the first network to the network device. Therefore, when determining the forwarding route of the first data stream, the forwarding policy according to the controller includes not only the quintuple of the first data stream but also other communication information of the data stream, and the controller also depends on the logical topology of the network. Therefore, the forwarding route of the first data stream determined by the controller can be more flexible and optimized, thereby improving network resource utilization.
附图说明DRAWINGS
为了更清楚地说明本发明实施例或现有技术中的技术方案,下面将对实施例中所需要使用的附图作简单地介绍,显而易见地,下面描述中的附图仅仅是本发明的一些实施例,对于本领域普通技术人员来讲,在不付出创造性劳动的前提下,还可以根据这些附图获得其他的附图。In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings to be used in the embodiments will be briefly described below. Obviously, the drawings in the following description are only some of the present invention. For the embodiments, those skilled in the art can obtain other drawings according to the drawings without any creative work.
图1是本发明实施例一种数据流转发路由的控制方法示意图;1 is a schematic diagram of a method for controlling data flow forwarding routing according to an embodiment of the present invention;
图2是本发明实施例另一种数据流转发路由的控制方法第二实施例示意图;2 is a schematic diagram of a second embodiment of a method for controlling data flow forwarding routing according to an embodiment of the present invention;
图2A是本发明实施例转发策略层级关系示例图;2A is a diagram showing an example of a forwarding policy hierarchy relationship according to an embodiment of the present invention;
图3是本发明实施例数据流转发路由的控制装置结构图;3 is a structural diagram of a control device for data stream forwarding routing according to an embodiment of the present invention;
图4是本发明实施例控制器结构图。4 is a structural diagram of a controller of an embodiment of the present invention.
具体实施方式detailed description
近年来,软件定义网络(SDN,Software defined network)技术发展迅速,在 数据中心、企业网、园区网络等环境下应用SDN技术是目前SDN研究的重点实现场景。随着SDN技术的发展,网络技术由分布式/离散管理逐渐的向着逻辑上集中的方向演进。在应用了SDN技术的网络环境中,逻辑控制中心拥有网络的全局视图,对网络设备、链路状态、用户优先级、业务响应要求、网络负载及时延等均可以动态感知,并基于该动态感知做出最佳决策。上述SDN的优点可以为路由算法带来新的生命力。In recent years, Software Defined Network (SDN) technology has developed rapidly. The application of SDN technology in data center, enterprise network, campus network and other environments is the key implementation scenario of SDN research. With the development of SDN technology, network technology has gradually evolved from a distributed/discrete management direction to a logically concentrated direction. In a network environment where SDN technology is applied, the logical control center has a global view of the network, and can dynamically sense network devices, link states, user priorities, service response requirements, and network load delays, and based on the dynamic perception. Make the best decisions. The advantages of the above SDN can bring new vitality to the routing algorithm.
目前,在SDN网络架构方面,倾向于将逻辑控制中心或网络操作系统(NOS,Network OS)的功能进行剥离,划分为网络视图及应用逻辑两部分。其中,网络视图对全网拓扑进行感知,并建立逻辑网络,以接口的方式提供给上层应用逻辑进行调用;应用逻辑可以按照网络需求进行定制,根据网络视图提供的逻辑拓扑及业务需求进行相应的操作,如根据逻辑拓扑计算数据流的转发路径等等。At present, in the aspect of SDN network architecture, the functions of the logical control center or the network operating system (NOS, Network OS) are apt to be separated into two parts: the network view and the application logic. The network view senses the entire network topology and establishes a logical network, and provides the upper layer application logic to invoke in an interface manner; the application logic can be customized according to network requirements, and correspondingly according to the logical topology and service requirements provided by the network view. Operations, such as calculating the forwarding path of a data stream based on a logical topology, and so on.
本发明实施例中,正是利用应用SDN技术的网络环境下控制器对网络资源的抽象,基于全局视图,在原有五元组的基础上,结合用户需求、业务需求及数据流特征等通信信息,形成基于策略及地址相结合的多维路由转发方式,在提高转发路由灵活性的同时,提高资源利用率。但是,本发明实施例不仅适用于SDN网络,还可以适用于其他具有控制器和转发设备的网络中。In the embodiment of the present invention, the controller abstracts the network resources in the network environment using the SDN technology, and based on the global view, combines the communication information such as user requirements, service requirements, and data flow characteristics on the basis of the original quintuple. A multi-dimensional routing and forwarding method based on combining policies and addresses is formed to improve resource utilization while improving forwarding routing flexibility. However, the embodiments of the present invention are applicable not only to an SDN network, but also to other networks having a controller and a forwarding device.
下面将结合本发明实施例中的附图,对本发明实施例中的技术方案进行清楚、完整的描述,显然,所描述的实施例仅仅是本发明一部分实施例,而不是全部的实施例。基于本发明中的实施例,本领域普通技术人员在没有付出创造性劳动前提下所获得的所有其他实施例,都属于本发明保护的范围。The technical solutions in the embodiments of the present invention are clearly and completely described in the following with reference to the accompanying drawings in the embodiments of the present invention. It is obvious that the described embodiments are only a part of the embodiments of the present invention, but not all embodiments. All other embodiments obtained by a person of ordinary skill in the art based on the embodiments of the present invention without departing from the inventive scope are the scope of the present invention.
参见图1,为本发明数据流转发路由的控制方法第一实施例示意图,该方法包括:1 is a schematic diagram of a first embodiment of a method for controlling data flow forwarding routing according to the present invention, where the method includes:
步骤101:控制器接收网络设备发送的第一数据流的转发请求;Step 101: The controller receives a forwarding request of the first data stream sent by the network device.
其中,所述网络设备可以为交换机,或者其他具有转发功能的网络实体,或者发送所述第一数据流的主机等。The network device may be a switch, or another network entity having a forwarding function, or a host that sends the first data stream.
其中,所述第一数据流仅用于指代实际应用中的任一数据流,并不表示本发明实施例中还具有第二数据流、第三数据流等。The first data stream is only used to refer to any data stream in the actual application, and does not represent the second data stream, the third data stream, and the like in the embodiment of the present invention.
步骤102:控制器根据所述转发请求从预先存储的各个数据流的参数信息中获取所述第一数据流的参数信息;Step 102: The controller acquires parameter information of the first data stream from parameter information of each data stream stored in advance according to the forwarding request.
步骤103:控制器根据所述参数信息确定所述第一数据流的转发策略;所述转发策略包括第一数据流的五元组以及第一数据流的至少一种其他通信信息; Step 103: The controller determines, according to the parameter information, a forwarding policy of the first data stream, where the forwarding policy includes a quintuple of the first data stream and at least one other communication information of the first data stream.
所述第一数据流的其他通信信息是指第一数据流除五元组之外的通信信息;The other communication information of the first data stream refers to communication information of the first data stream except the quintuple;
步骤104:控制器根据所述第一数据流的转发策略以及第一网络的逻辑拓扑确定所述第一数据流在所述网络中的转发路由;Step 104: The controller determines, according to the forwarding policy of the first data stream and the logical topology of the first network, a forwarding route of the first data stream in the network.
其中,所述第一网络是本发明实施例所述方法所应用的网络;第一网络仅用于指代本发明实施例所述方法所应用的网络,并不表示本发明实施例中还具有第二网络、第三网络等。且,本发明实施例中的所述第一网络可以是任意包括控制器和网络设备、需要网络设备对数据流进行转发的网络,具体的网络结构等这里并不限定。The first network is a network to which the method in the embodiment of the present invention is applied; the first network is only used to refer to the network to which the method in the embodiment of the present invention is applied, and does not mean that the embodiment of the present invention further has Second network, third network, etc. The first network in the embodiment of the present invention may be any network that includes a controller and a network device, and needs a network device to forward the data stream. The specific network structure and the like are not limited herein.
步骤105:控制器将所述第一数据流在所述网络中的转发路由发送给所述网络设备。Step 105: The controller sends a forwarding route of the first data stream in the network to the network device.
之后,所述网络设备可以按照所述转发路由来转发所述第一数据流。Thereafter, the network device may forward the first data stream according to the forwarding route.
本实施例中,控制器根据所述参数信息确定所述第一数据流的转发策略;所述转发策略包括第一数据流的五元组以及第一数据流的至少一种其他通信信息;根据所述第一数据流的转发策略以及第一网络的逻辑拓扑确定所述第一数据流在所述第一网络中的转发路由;将所述第一数据流在所述第一网络中的转发路由发送给所述网络设备,从而在确定第一数据流的转发路由时,控制器依据的转发策略不仅包括第一数据流的五元组,还结合了数据流的其他通信信息,并且,控制器还依据了第一网络的逻辑拓扑,从而使得控制器确定的第一数据流的转发路由能够更为灵活、更为优化,从而提高了网络资源利用率。In this embodiment, the controller determines, according to the parameter information, a forwarding policy of the first data stream; the forwarding policy includes a quintuple of the first data stream and at least one other communication information of the first data stream; The forwarding policy of the first data stream and the logical topology of the first network determine a forwarding route of the first data stream in the first network; forwarding the first data stream in the first network The route is sent to the network device, so that when determining the forwarding route of the first data stream, the forwarding policy according to the controller includes not only the quintuple of the first data stream but also other communication information of the data stream, and controls The device also relies on the logical topology of the first network, so that the forwarding route of the first data stream determined by the controller can be more flexible and optimized, thereby improving network resource utilization.
参见图2,为本发明数据流转发路由的控制方法第二实施例示意图,该方法包括:2 is a schematic diagram of a second embodiment of a method for controlling data flow forwarding routing according to the present invention. The method includes:
步骤201:控制器获取用户输入的转发策略;Step 201: The controller acquires a forwarding policy input by the user.
其中,所述控制器可以为用户提供一个用户界面,用于用户在该界面中根据控制器自定义的转发策略输入格式按需定制转发策略。所述用户可以为个人、第三方插件或网络管理人员等。The controller may provide a user interface for the user to customize the forwarding policy according to the controller's customized forwarding policy input format in the interface. The user can be an individual, a third party plugin or a network administrator, or the like.
步骤202:控制器对每一种所述转发策略进行有效性验证,如果验证通过,执行步骤203;如果验证不通过,返回步骤201或者本分支处理过程结束。Step 202: The controller performs validity verification on each of the forwarding policies. If the verification is passed, step 203 is performed; if the verification fails, the process returns to step 201 or the branch processing ends.
步骤203:控制器确定所述有效性验证通过的每一种转发策略的多维策略级别值。Step 203: The controller determines a multi-dimensional policy level value of each forwarding policy that the validity verification passes.
其中,多维策略级别包括至少一个子级别,所述多维策略级别值包括所述子 级别中至少一个子级别的取值。Wherein the multi-dimensional policy level includes at least one sub-level, the multi-dimensional policy level value including the sub- The value of at least one sublevel in the level.
例如,所述多维策略级别可以包括n个子级别,n是自然数,所述子级别可以为用户级别、指定级别、用户权限、业务类别等等。For example, the multi-dimensional policy level may include n sub-levels, n being a natural number, and the sub-levels may be a user level, a specified level, a user right, a service category, and the like.
所述用户级别可以为输入转发策略的用户的级别,所述用户级别可以由控制器根据输入转发策略的用户的状态、权限、优先级等用户信息确定,具体确定方法这里不限定。例如,可以预先设置用户级别与不同用户信息之间的对应关系,则控制器可以直接根据用户的用户信息查找该对应关系,得到所述用户输入的转发策略的用户级别。The user level may be a level of the user who inputs the forwarding policy, and the user level may be determined by the controller according to the user information, such as the status, the authority, and the priority of the user who inputs the forwarding policy. The specific determining method is not limited herein. For example, the correspondence between the user level and the different user information may be set in advance, and the controller may directly find the corresponding relationship according to the user information of the user, and obtain the user level of the forwarding policy input by the user.
一般的,控制器中可以预先存储各个用户的状态、权限、优先级等用户信息,当控制器接收到转发策略时通过用户所使用设备与控制器之间的接口等来识别用户,从而从控制器预先存储的用户信息中获得输入转发策略的用户所对应的用户信息,进而确定所述用户级别。Generally, the controller may pre-store user information such as status, authority, and priority of each user. When the controller receives the forwarding policy, the controller identifies the user through an interface between the device and the controller used by the user, thereby controlling the slave. The user information corresponding to the user who inputs the forwarding policy is obtained from the pre-stored user information, thereby determining the user level.
所述指定级别可以为当用户为网络管理人员时网络管理人员为转发策略指定的级别。The specified level may be a level specified by the network administrator for the forwarding policy when the user is a network administrator.
所述用户权限可以由系统定义,如将用户权限划分为高级、普通级、低级等多个级别等。The user rights may be defined by the system, such as dividing the user rights into multiple levels such as advanced, normal, and low-level.
其中,由于多维策略级别包括1个或多个子级别,对于某一数据流来说,该数据流的多维策略级别值中,并不一定每个子级别均具有明确的取值;此时,该子级别对应的级别取值可以缺省,具体实现中如何表示多维策略级别值中某一子级别的级别取值缺省,这里并不限制。例如,假设多维策略级别包括3个子级别,分别为子级别1、子级别2、子级别3,对于某一数据流A来说,其可能仅仅子级别1具有级别取值,假设为X1,而其他子级别2、3可能不具有级别取值,那么数据流A的多维策略级别值中包括子级别1的取值X1,而子级别2、3对应的级别取值缺省。Wherein, since the multi-dimensional policy level includes one or more sub-levels, for a data flow, the multi-dimensional policy level values of the data flow do not necessarily have an explicit value for each sub-level; The value of the level corresponding to the level can be the default. How to represent the level of a sub-level in the multi-level policy level value is not limited. For example, suppose the multi-dimensional policy level includes 3 sub-levels, which are sub-level 1, sub-level 2, and sub-level 3. For a certain data stream A, it may only have sub-level 1 with a level value, assuming X1, and The other sub-levels 2 and 3 may not have the value of the level. The multi-dimensional policy level value of the data stream A includes the value X1 of the sub-level 1, and the level corresponding to the sub-levels 2 and 3 defaults.
步骤204:控制器存储所述有效性验证通过的每一种转发策略及其多维策略级别值。Step 204: The controller stores each forwarding policy passed by the validity verification and its multi-dimensional policy level value.
其中,控制器可以预先设置策略数据库,用于存储各种转发策略及其多维策略级别值,则,本步骤中控制器可以将所述转发策略及其多维策略级别值存储至该策略数据库中。The controller may preset a policy database for storing various forwarding policies and multi-dimensional policy level values. Then, in this step, the controller may store the forwarding policy and its multi-dimensional policy level values into the policy database.
在实际应用中,控制器中存储的转发策略及其多维策略级别值可以根据网络状态、用户状态等变化情况进行动态更新,所述更新可以包括对转发策略及其多 维策略级别值的添加、修改、删除等。所述更新可以由网络管理人员完成,也可以通过控制器中设置的触发条件例如转发策略的生命周期、优先级等由控制器在满足触发条件时自动完成。例如,控制器可以为每一种转发策略设置生命周期,也即设定每一种转发策略的使用期限,则控制器将自动对超过生命周期的转发策略进行删除处理。其中,转发策略的生命周期可以依据网络设备定期反馈的数据流统计信息、用户的权限、多维策略级别值等来确定。In a practical application, the forwarding policy stored in the controller and its multi-dimensional policy level value may be dynamically updated according to changes in network status, user status, etc., and the update may include forwarding policies and more Add, modify, delete, etc. the dimension policy level values. The update may be completed by a network administrator, or may be automatically completed by the controller when the trigger condition is met by a trigger condition set in the controller, such as a life cycle of the forwarding policy, a priority, and the like. For example, the controller can set the life cycle for each forwarding policy, that is, set the usage period of each forwarding policy, and the controller will automatically delete the forwarding policy that exceeds the lifetime. The life cycle of the forwarding policy may be determined according to data flow statistics periodically reported by the network device, user rights, multi-dimensional policy level values, and the like.
网络设备的数据流统计信息可以包括数据流的带宽占用率、总流量、数据流所属的业务类别等;所述用户权限可以由系统定义,如将用户权限划分为高级、普通级、低级等多个级别等;以根据用户权限来确定转发策略的生命周期为例,可以为用户权限级别越高的用户所对应的转发策略设定相对越长的生命周期,比如可以定义用户权限为高级的用户对应的转发策略的生命周期为无限长,用户权限为普通级的用户所对应的转发策略的生命周期为用户的租用时长,用户权限为低级的用户所对应的转发策略的生命周期为某一固定时长,以此类推分别定义各级别用户权限的用户所对应的转发策略的生命周期。The data flow statistics of the network device may include the bandwidth usage of the data flow, the total traffic, and the service category to which the data flow belongs. The user rights may be defined by the system, such as dividing the user rights into advanced, normal, and low-level. For example, you can set the life cycle of a forwarding policy based on user rights. You can set a relatively long life cycle for a forwarding policy corresponding to a user with a higher user privilege level. For example, you can define a user with advanced user rights. The lifetime of the corresponding forwarding policy is infinitely long. The lifetime of the forwarding policy corresponding to the user with the user privilege is the lease duration of the user. The lifetime of the forwarding policy corresponding to the user with the lower privilege is fixed. The duration of the forwarding policy, which is defined by the user who defines the user rights of each level.
其中,本发明实施例所述转发策略可以包括数据流的各种通信信息,可以不仅局限于数据流的五元组等通信信息,还可以包括至少一种其他通信信息。The forwarding policy in the embodiment of the present invention may include various communication information of the data stream, and may not be limited to communication information such as a quintuple of the data stream, and may also include at least one other communication information.
所述其他通信信息可以包括访问控制列表(ACL,Access Control List)、服务质量(QoS,Quality of Service)、网络实体使用权限、安全响应级别要求、用户和网络端口及链路的绑定信息、用户所属业务的优先级信息、用户的权限信息、指定端口的数据处理信息、业务类别、、协议类型、互联网协议(IP)层业务类型、下一跳、最短路径决策等信息。所述五元组可以包括:源IP地址、目的IP地址、源媒体接入控制(MAC,Media Access Control)地址、目的MAC地址、源端口号、目标端口号等。所述QoS还可以包括:带宽相关的QoS、延迟相关的QoS、抖动相关的QoS、安全性相关的QoS等。例如,某转发策略可设置为:具有超级用户权限的用户可使用专有链路及转发设备;或者,具有高优先级的应用可选择使用带宽保障高的链路及网络实体、按照用户在SLA中签署的带宽占用比保障用户的最低承诺带宽等。The other communication information may include an Access Control List (ACL), a QoS (Quality of Service), a network entity usage right, a security response level requirement, and binding information of a user and a network port and a link. The priority information of the service to which the user belongs, the user's permission information, the data processing information of the specified port, the service type, the protocol type, the Internet Protocol (IP) layer service type, the next hop, and the shortest path decision. The quintuple may include: a source IP address, a destination IP address, a source access control (MAC) address, a destination MAC address, a source port number, a destination port number, and the like. The QoS may also include: bandwidth related QoS, delay related QoS, jitter related QoS, security related QoS, and the like. For example, a forwarding policy can be set to: users with super user rights can use proprietary links and forwarding devices; or applications with high priority can choose to use links and network entities with high bandwidth guarantee, according to users in SLA The bandwidth occupied in the signed ratio is equal to the guaranteed minimum bandwidth of the user.
另外,所述其他通信信息还可以包括:指定的逻辑要求或者具体的指令要求等;指定的逻辑要求例如可以为:从源IP地址到目的IP地址的转发需要遵循最短跳数要求,或者传输链路带宽要求达到10M以上等;具体的指令要求例如可以为:从某源IP地址到某目的IP地址的转发需要走某条物理链路,从某交换机 的某端口接收到的数据包指定转发至另一端口等。In addition, the other communication information may further include: a specified logical requirement or a specific instruction requirement, etc.; the specified logical requirement may be, for example, that the forwarding from the source IP address to the destination IP address needs to follow the shortest hop requirement, or the transmission chain The bandwidth requirement of the path is up to 10M or the like. The specific command requirement can be: a forwarding from a source IP address to a destination IP address requires a physical link to be taken from a switch. A packet received by a port is designated to be forwarded to another port or the like.
步骤205:控制器预先存储各个数据流的参数信息。Step 205: The controller pre-stores parameter information of each data stream.
其中,所述参数信息可以包括但不限于:数据流所属的用户、用户权限、用户优先级、数据流优先级、数据流的QoS、数据流的五元组、数据流的应用层业务类型等。The parameter information may include, but is not limited to, a user to which the data flow belongs, a user right, a user priority, a data flow priority, a QoS of the data flow, a quintuple of the data flow, an application layer service type of the data flow, and the like. .
各个数据流的参数信息可以由用户定义,或者,也可以由控制器根据数据流的运行状态自动生成,这里并不限定。The parameter information of each data stream may be defined by the user, or may be automatically generated by the controller according to the running state of the data stream, which is not limited herein.
其中,控制器存储各个数据流的参数信息时可以以能够唯一标识数据流的信息例如数据流的报文头信息作为索引,以便区别各个数据流的参数信息,并且方便后续进行某一数据流的参数信息的检索。以下步骤中以数据流的报文头信息作为索引存储数据流的参数信息为例进行说明。The controller can store the parameter information of each data stream by using the information that can uniquely identify the data stream, such as the header information of the data stream, so as to distinguish the parameter information of each data stream, and facilitate subsequent data flow. Retrieval of parameter information. In the following steps, the packet header information of the data stream is used as an index to store parameter information of the data stream as an example.
在实际应用中,控制器中存储的各个数据流的参数信息可以根据网络状态、用户状态等变化情况进行动态更新,所述更新可以包括对数据流的参数信息的添加、修改、删除等。所述更新可以由网络管理人员完成,也可以通过控制器中设置的触发条件例如数据流的参数信息的生命周期等由控制器在满足触发条件时自动完成。例如,控制器可以为每一个数据流的参数信息设置生命周期,也即设定该数据流的参数信息的使用期限,则控制器将自动对超过生命周期的参数信息进行删除处理。In an actual application, the parameter information of each data stream stored in the controller may be dynamically updated according to changes in network status, user status, and the like, and the update may include adding, modifying, deleting, and the like of parameter information of the data stream. The update may be completed by a network administrator, or may be automatically completed by the controller when the trigger condition is met by a trigger condition set in the controller, such as a life cycle of parameter information of the data stream. For example, the controller may set a life cycle for the parameter information of each data stream, that is, set the life of the parameter information of the data stream, and the controller will automatically delete the parameter information exceeding the life cycle.
步骤206:控制器建立第一网络的逻辑拓扑。Step 206: The controller establishes a logical topology of the first network.
具体的,第一网络的逻辑拓扑可以包括:第一网络的物理连接拓扑以及通信逻辑;其中,Specifically, the logical topology of the first network may include: a physical connection topology of the first network and communication logic;
第一网络的物理连接拓扑是指第一网络中设备之间的物理连接关系;The physical connection topology of the first network refers to a physical connection relationship between devices in the first network;
第一网络的通信逻辑则用于描述第一网络中的控制器和各个网络设备之间如何根据物理连接关系进行通信。The communication logic of the first network is used to describe how the controllers in the first network and the various network devices communicate according to the physical connection relationship.
其中,控制器建立第一网络的物理连接拓扑可以包括:The physical connection topology of the controller establishing the first network may include:
控制器周期性的向各个网络设备发送拓扑发现数据包;各个网络设备转发并向控制器反馈所述拓扑发现数据包的响应数据包;控制器根据接收到的所述响应数据包确定第一网络的物理连接拓扑。例如在SDN网络中,可以采用LLDP报文实现所述拓扑发现数据包。The controller periodically sends a topology discovery data packet to each network device; each network device forwards and feeds back a response data packet of the topology discovery data packet to the controller; and the controller determines the first network according to the received response data packet. Physical connection topology. For example, in an SDN network, the topology discovery data packet can be implemented by using LLDP packets.
其中,控制器建立第一网络的通信逻辑可以包括:The communication logic of the controller establishing the first network may include:
控制器获取各个网络设备上报的网络设备的通信信息,各个网络设备的通信 信息可以包括但不限于:网络设备的状态信息、拓扑信息、能力信息、版本信息、当前资源使用信息以及历史资源使用信息等;The controller acquires communication information of the network device reported by each network device, and communication of each network device The information may include, but is not limited to, status information of the network device, topology information, capability information, version information, current resource usage information, and historical resource usage information;
根据各个网络设备的通信信息按照预先定义的单位资源实体进行抽象,从而得到第一网络的通信逻辑。The communication logic of each network device is abstracted according to a predefined unit resource entity, thereby obtaining communication logic of the first network.
其中,网络设备可以通过向控制器发送的所述拓扑发现数据包的响应数据包携带所述网络设备的通信信息,也可以通过其他方式向控制器上报网络设备的通信信息,这里并不限定。The network device may carry the communication information of the network device by using the response data packet of the topology discovery data packet sent to the controller, and may also report the communication information of the network device to the controller in other manners, which is not limited herein.
所述按照单位资源实体进行抽象是指控制器获取并抽象网络设备的通信信息的过程;具体的,以所述网络设备为交换机为例,所述网络设备的通信信息可以包括但不限于:带宽、交换机的端口数、链路间的时延、交换机下联服务器的处理器能力及磁盘大小等。对所述单位资源实体进行抽象的方法这里不限定,例如带宽可以按照Mbps来抽象,磁盘大小可以按照MB/GB/TB等来抽象。The abstraction by the unit resource entity refers to a process in which the controller acquires and abstracts the communication information of the network device. Specifically, the network device is used as a switch, and the communication information of the network device may include but not limited to: bandwidth. The number of ports on the switch, the delay between links, the processor capacity of the switch-down server, and the disk size. The method for abstracting the unit resource entity is not limited herein. For example, the bandwidth can be abstracted according to Mbps, and the disk size can be abstracted according to MB/GB/TB or the like.
在抽象结束后,控制器还可以根据预定义的分配级别来进行不同类别的资源抽象定义,如某个类别可以定义为1个虚拟CPU,20GB磁盘空间,20Mbps端口等,这里不赘述。After the abstraction is finished, the controller can also perform resource abstraction definitions of different categories according to a predefined allocation level. For example, a certain category can be defined as one virtual CPU, 20 GB disk space, 20 Mbps port, etc., and will not be described here.
其中,步骤201~步骤206之间的执行顺序不限制,且,步骤201~步骤206一般均为准备步骤,在进行数据流的转发之前执行。The execution order between the steps 201 and 206 is not limited, and the steps 201 to 206 are generally preparation steps, and are performed before the data stream is forwarded.
步骤207:控制器接收网络设备发送的第一数据流的转发请求;其中,所述转发请求可以包括:第一数据流的报文头信息。Step 207: The controller receives a forwarding request of the first data stream sent by the network device, where the forwarding request may include: packet header information of the first data stream.
其中,所述第一数据流可以是实际应用中的任一数据流。The first data stream may be any data stream in an actual application.
一般的,网络设备接收到第一数据流后,查看网络设备本地的转发表,确定转发表中是否包含该第一数据流对应的转发表项,如果包含,则根据转发表项定义的转发规则转发所述第一数据流;如果不包含,则网络设备即发送该第一数据流的转发请求至控制器。Generally, after receiving the first data stream, the network device checks the local forwarding table of the network device, and determines whether the forwarding table includes the forwarding entry corresponding to the first data flow, and if yes, the forwarding rule defined by the forwarding entry. Forwarding the first data stream; if not, the network device sends a forwarding request of the first data stream to the controller.
另外,所述网络设备中可以设置一个或多个转发表,并且为各个转发表设置优先级,则网络设备在确定转发表中是否包含第一数据流对应的转发表项时,可以先查询高优先级的转发表中是否包含第一数据流对应的转发表项,未查询到第一数据流对应的转发表项时,再查询低优先级的转发表中是否包含第一数据流对应的转发表项。另外,同一优先级的转发表还可以包括精确转发和模糊匹配两类转发表项。In addition, one or more forwarding tables may be set in the network device, and a priority is set for each forwarding table. When the network device determines whether the forwarding table includes the forwarding entry corresponding to the first data flow, the network device may first query the forwarding table. If the forwarding table corresponding to the first data stream is included in the forwarding table of the priority, the forwarding table corresponding to the first data stream is not queried, and the forwarding table corresponding to the first data stream is included in the forwarding table of the lower priority. Publish the item. In addition, the forwarding table of the same priority may further include two types of forwarding entries: an exact forwarding and a fuzzy matching.
步骤208:控制器根据所述第一数据流的报文头信息从所述预先存储的数据 流的参数信息中获取所述第一数据流的参数信息。Step 208: The controller uses the pre-stored data according to the packet header information of the first data stream. The parameter information of the first data stream is obtained from the parameter information of the stream.
其中,由于步骤205中控制器已经以数据流的报文头信息为索引预先存储了各个数据流的参数信息,因此,本步骤中控制器直接依照所述第一数据流的报文头信息检索预先存储的参数信息,得到所述报文头信息对应的参数信息即为所述第一数据流的参数信息。In the step 205, the controller has previously stored the parameter information of each data stream by using the packet header information of the data stream as an index. Therefore, in this step, the controller directly searches according to the packet header information of the first data stream. The parameter information corresponding to the header information is pre-stored, and the parameter information corresponding to the header information is the parameter information of the first data stream.
步骤209:控制器根据第一数据流的参数信息确定所述第一数据流的转发策略。Step 209: The controller determines a forwarding policy of the first data stream according to parameter information of the first data stream.
在第一种可能的实现方式中,转发策略之间没有层级划分,每一种转发策略对应着至少一个子级别的子级别值,则控制器根据第一数据流的参数信息确定第一数据流的转发策略可以包括:In a first possible implementation manner, the forwarding policy has no hierarchical division, and each forwarding policy corresponds to the sub-level value of the at least one sub-level, and the controller determines the first data flow according to the parameter information of the first data flow. The forwarding strategy can include:
根据所述参数信息确定第一数据流的多维策略级别值;Determining, according to the parameter information, a multi-dimensional policy level value of the first data stream;
确定第一数据流的多维策略级别值对应的至少一种转发策略;Determining at least one forwarding policy corresponding to the multi-dimensional policy level value of the first data stream;
从所述至少一种转发策略中选择一种转发策略作为所述第一数据流的转发策略。Selecting one forwarding policy from the at least one forwarding policy as a forwarding policy of the first data flow.
第一数据流的多维策略级别值对应的转发策略可以是多维策略级别值与第一数据流的多维策略级别值相同的转发策略。The forwarding policy corresponding to the multi-dimensional policy level value of the first data stream may be a forwarding policy with the same multi-dimensional policy level value and the multi-dimensional policy level value of the first data stream.
其中,所述第一数据流的多维策略级别值对应的转发策略为至少两种转发策略时,可以随机从中选择一种转发策略作为所述第一数据流的转发策略,也可以预先设定转发策略之间的顺序,按照预先设定的顺序选择顺序在第一位的转发策略作为所述第一数据流的转发策略;在实际应用中,还可以使用其他选择转发策略的方法,这里不再赘述。When the forwarding policy corresponding to the multi-dimensional policy level value of the first data stream is at least two forwarding policies, a forwarding policy may be randomly selected as the forwarding policy of the first data stream, or may be forwarded in advance. In the order of the policies, the forwarding policy in the first place is selected as the forwarding strategy of the first data stream in a preset order; in the actual application, other methods for selecting the forwarding policy may also be used, and no longer Narration.
对第一种可能的实现方式举例说明:An example of the first possible implementation:
假设转发策略1的多维策略级别值为用户级别1和业务类型1,转发策略2的多维策略级别值为用户级别1和业务类型2,转发策略3的多维策略级别值为用户级别2、业务类型1和指定级别1,等等,则,Assume that the multi-dimensional policy level value of forwarding policy 1 is user level 1 and service type 1, the multi-dimensional policy level value of forwarding policy 2 is user level 1 and service type 2, and the multi-dimensional policy level value of forwarding policy 3 is user level 2 and service type. 1 and specify level 1, and so on, then,
假设第一数据流的多维策略级别值为:用户级别1、业务类型2,那么第一数据流的多维策略级别值对应的转发策略为转发策略2,那么就选择转发策略2作为所述第一数据流的转发策略。Assume that the multi-dimensional policy level value of the first data stream is: user level 1, service type 2, then the forwarding policy corresponding to the multi-dimensional policy level value of the first data stream is forwarding policy 2, then the forwarding policy 2 is selected as the first The forwarding strategy of the data stream.
在第二种可能的实现方式中,转发策略之间可以具有层级划分,例如包括m层转发策略,每一层的各种转发策略具有至少一种下一层的转发策略,每一层的转发策略对应着一种或多种子级别,该层不同转发策略对应着所述一种或多种子 级别的不同值;则控制器根据第一数据流的参数信息确定第一数据流的转发策略可以包括:In a second possible implementation manner, the forwarding policies may have a hierarchical division, for example, including an m-layer forwarding policy, and each forwarding policy of each layer has at least one forwarding policy of the next layer, and forwarding of each layer The policy corresponds to one or more sub-levels, and different forwarding policies of the layer correspond to the one or more sub-categories The different values of the level; the controller determining, according to the parameter information of the first data stream, the forwarding policy of the first data stream may include:
根据所述参数信息确定第一数据流的多维策略级别值;Determining, according to the parameter information, a multi-dimensional policy level value of the first data stream;
根据第一数据流的多维策略级别值逐层确定第一数据流的每一层转发策略。Each layer forwarding policy of the first data stream is determined layer by layer according to the multi-dimensional policy level value of the first data stream.
举2个例子说明:Give two examples to illustrate:
假设转发策略分成3层,转发策略之间的层级关系如图2A所示,第一层转发策略对应的子级别为用户级别,第二层转发策略对应的子级别为业务类型,第三层转发策略对应的子级别为指定级别,假设第一层的转发策略1、转发策略2分别对应着用户级别1、用户级别2,第二层的转发策略11、转发策略12分别对应着业务类型1、业务类型2,转发策略21、转发策略22也分别对应着业务类型1、业务类型2,第三层的转发策略111、转发策略112分别对应着指定级别1、指定级别2,转发策略121、转发策略122分别对应着指定级别1、指定级别2,其他第三层的转发策略与此类似,不再一一赘述;则,Assume that the forwarding policy is divided into three layers, and the hierarchical relationship between the forwarding policies is as shown in Figure 2A. The sub-level corresponding to the first-layer forwarding policy is the user level, and the sub-level corresponding to the second-layer forwarding policy is the service type. The sub-level corresponding to the policy is a specified level. It is assumed that the forwarding policy 1 and the forwarding policy 2 of the first layer correspond to user level 1 and user level 2, respectively, and the forwarding policy 11 and forwarding policy 12 of the second layer respectively correspond to the service type 1. The service type 2, the forwarding policy 21, and the forwarding policy 22 also correspond to the service type 1 and the service type 2, respectively. The forwarding policy 111 and the forwarding policy 112 of the third layer respectively correspond to the specified level 1, the specified level 2, the forwarding policy 121, and the forwarding. The policy 122 corresponds to the specified level 1 and the specified level 2 respectively. The forwarding policies of other Layer 3 are similar, and will not be described one by one;
假设某一第一数据流的多维策略级别值为:用户级别1、业务类型2、指定级别2,则,通过用户级别1可以确定第一数据流的第一层转发策略为转发策略1,进而在转发策略1的下一层转发策略11、转发策略12中通过业务类型2可以确定第一数据流的第二层转发策略为转发策略12,进而在转发策略12的下一层转发策略121、转发策略122中通过指定级别2可以确定第一数据流的第三层转发策略为122;从而确定第一数据流的每一层转发策略分别为:转发策略1、转发策略12、转发策略122。Assume that the multi-level policy level value of a certain first data stream is: user level 1, service type 2, and level 2, and then user level 1 can determine that the first layer forwarding policy of the first data stream is forwarding policy 1, and further In the next-layer forwarding policy 11 and the forwarding policy 12 of the forwarding policy 1, the service layer 2 can determine that the second-layer forwarding policy of the first data flow is the forwarding policy 12, and further the forwarding policy 121 of the forwarding layer 12, The forwarding policy 122 determines that the third layer forwarding policy of the first data stream is 122 by specifying the level 2; thereby determining that each layer forwarding policy of the first data stream is: a forwarding policy 1, a forwarding policy 12, and a forwarding policy 122.
其中,转发策略之间具有层级划分时,相邻两层之间的转发策略中上一层的转发策略可以较为概括,而下一层的转发策略可以相对更为具体,例如所述转发策略1可以为用户使用公用链路转发其所属业务,占带宽比例为20Mbps,转发策略12可以为语音类业务在其所属的20Mbps带宽中保证10Mbps的带宽,该用户的其他全部业务分享其余10Mbps带宽;从而逐层对数据流的转发策略进行限定。The forwarding policy of the upper layer in the forwarding policy between the two adjacent layers may be more generalized, and the forwarding policy of the next layer may be relatively more specific, for example, the forwarding policy 1 The user can use the public link to forward the service to which the user belongs, occupying a bandwidth ratio of 20 Mbps. The forwarding policy 12 can guarantee that the voice service guarantees 10 Mbps of bandwidth in the 20 Mbps bandwidth to which the voice service belongs, and all other services of the user share the remaining 10 Mbps bandwidth; The forwarding policy of the data stream is defined layer by layer.
其中,数据流的多维策略级别包括的子级别应包括在转发策略的多维策略级别中。例如,数据流的多维策略级别如果包括子级别1、2、3,那么转发策略的多维策略级别中也需要包括子级别1、2、3,以便控制器能够确定数据流的多维策略级别值对应的至少一种转发策略。The sub-levels included in the multi-dimensional policy level of the data flow should be included in the multi-dimensional policy level of the forwarding policy. For example, if the multi-dimensional policy level of the data flow includes sub-levels 1, 2, and 3, then the multi-level policy level of the forwarding policy also needs to include sub-levels 1, 2, and 3, so that the controller can determine the multi-dimensional policy-level value corresponding to the data flow. At least one forwarding strategy.
其中,第一数据流的多维策略级别值中每一子级别值的确定可以参考转发策 略的多维策略级别值中每一子级别值的确定方法。例如,第一数据流的多维策略级别中包括用户级别时,所述用户级别可以根据第一数据流所属的用户、用户权限、用户优先级等参数信息,参考转发策略的用户级别的确定方法进行确定。Wherein, the determination of each sub-level value in the multi-dimensional policy level value of the first data stream may refer to a forwarding policy. A method for determining the value of each sub-level in a slightly multi-dimensional policy level value. For example, when the user level is included in the multi-dimensional policy level of the first data stream, the user level may be determined according to the parameter information of the user, the user authority, the user priority, and the like of the first data flow, and the user level determination method of the forwarding policy. determine.
步骤210:控制器根据所述第一数据流的转发策略以及所述第一网络的逻辑拓扑确定所述第一数据流在所述第一网络中的转发路由。Step 210: The controller determines, according to the forwarding policy of the first data stream and the logical topology of the first network, a forwarding route of the first data stream in the first network.
在实际应用中,当第一数据流的转发策略仅为一种时,控制器根据所述第一数据流的转发策略以及所述第一网络的逻辑拓扑确定所述第一数据流在所述第一网络中的转发路由可以包括:In an actual application, when the forwarding policy of the first data stream is only one type, the controller determines, according to the forwarding policy of the first data stream and the logical topology of the first network, that the first data stream is in the The forwarding route in the first network may include:
控制器根据第一数据流的转发策略从所述第一网络的逻辑拓扑中选择出满足所述转发策略的至少一种转发路由,从中选择一条转发路由作为所述第一数据流在所述第一网络中的转发路由;The controller selects at least one forwarding route that satisfies the forwarding policy from the logical topology of the first network according to a forwarding policy of the first data flow, and selects one forwarding route as the first data flow in the first a forwarding route in a network;
或者,当第一数据流的转发策略包括多层转发策略时,控制器根据所述第一数据流的转发策略以及所述第一网络的逻辑拓扑确定所述第一数据流在所述第一网络中的转发路由可以包括:Or, when the forwarding policy of the first data stream includes a multi-layer forwarding policy, the controller determines, according to the forwarding policy of the first data stream and the logical topology of the first network, that the first data stream is in the first Forwarding routes in the network can include:
控制器按照每一层的转发策略缩小转发路由在所述第一网络的逻辑拓扑中的选择范围,并根据所述转发策略中包含的额定要求确定第一数据流在所述第一网络中的转发路由。The controller reduces the selection range of the forwarding route in the logical topology of the first network according to the forwarding policy of each layer, and determines, according to the calibration requirement included in the forwarding policy, the first data stream in the first network. Forward the route.
步骤211:控制器将所述第一数据流在所述第一网络中的转发路由发送给所述网络设备。Step 211: The controller sends a forwarding route of the first data stream in the first network to the network device.
本发明实施例中,由于控制器根据所述第一数据流的转发策略以及所述第一网络的逻辑拓扑确定所述第一数据流在所述第一网络中的转发路由,从而使得转发路由的确定更为灵活;In the embodiment of the present invention, the controller determines the forwarding route of the first data stream in the first network according to the forwarding policy of the first data stream and the logical topology of the first network, so that the forwarding route is implemented. The determination is more flexible;
而且,根据第一网络的逻辑拓扑进行转发路由的确定,转发路由确定所依据的转发策略可以由用户自定义,从而可以让用户聚焦于其第一网络中的核心业务,提高网络资源利用率;Moreover, the forwarding route is determined according to the logical topology of the first network, and the forwarding policy according to the forwarding route determination may be customized by the user, so that the user can focus on the core service in the first network and improve the network resource utilization;
另外,所述转发策略不仅包括传统的五元组,还包括至少一种其他的通信信息,从而使得确定转发路由时可以尽量确定出全局最优转发路由,从而使得本发明可以支持全网的动态负载均衡,为数据流的转发提供可能的QoS保障。In addition, the forwarding policy includes not only the traditional quintuple but also at least one other communication information, so that the global optimal forwarding route can be determined as much as possible when determining the forwarding route, so that the present invention can support the dynamic of the whole network. Load balancing provides possible QoS guarantee for data flow forwarding.
与上述方法相对应的,本发明实施例还提供一种数据流转发路由的控制装置,参见图3,所述装置300可以应用于第一网络,所述装置300包括: Corresponding to the above method, the embodiment of the present invention further provides a device for controlling data flow forwarding. Referring to FIG. 3, the device 300 can be applied to a first network, where the device 300 includes:
接收单元310,用于接收网络设备发送的第一数据流的转发请求;The receiving unit 310 is configured to receive a forwarding request of the first data stream sent by the network device.
获取单元320,用于根据所述接收单元310接收的所述转发请求从预先存储的各个数据流的参数信息中获取所述第一数据流的参数信息;The obtaining unit 320 is configured to acquire, according to the forwarding request received by the receiving unit 310, parameter information of the first data stream from parameter information of each data stream stored in advance;
策略确定单元330,用于根据所述获取单元320获取的所述参数信息确定所述第一数据流的转发策略;所述转发策略包括所述第一数据流的五元组以及所述第一数据流的至少一种其他通信信息;The policy determining unit 330 is configured to determine, according to the parameter information acquired by the acquiring unit 320, a forwarding policy of the first data stream, where the forwarding policy includes a quintuple of the first data stream and the first At least one other communication information of the data stream;
路由确定单元340,用于根据所述策略确定单元330确定的所述第一数据流的转发策略以及第一网络的逻辑拓扑确定所述第一数据流在所述网络中的转发路由;The routing determining unit 340 is configured to determine, according to the forwarding policy of the first data flow determined by the policy determining unit 330 and the logical topology of the first network, a forwarding route of the first data stream in the network;
发送单元350,用于将所述路由确定单元340确定的所述第一数据流在所述第一网络中的转发路由发送给所述网络设备。The sending unit 350 is configured to send, to the network device, a forwarding route of the first data stream determined by the route determining unit 340 in the first network.
在一种可能的实现方式中,所述策略确定单元330可以包括:In a possible implementation manner, the policy determining unit 330 may include:
第一存储子单元,用于预先存储各种转发策略及其多维策略级别值,多维策略级别包括至少一个子级别,所述多维策略级别值包括所述子级别中至少一个子级别的取值;a first storage subunit, configured to pre-store various forwarding policies and multi-dimensional policy level values thereof, where the multi-dimensional policy level includes at least one sub-level, where the multi-dimensional policy level value includes a value of at least one of the sub-levels;
第一确定子单元,用于根据所述参数信息确定所述第一数据流的多维策略级别值;a first determining subunit, configured to determine a multi-dimensional policy level value of the first data stream according to the parameter information;
第二确定子单元,确定所述第一数据流的多维策略级别值对应的至少一种转发策略;a second determining subunit, determining at least one forwarding policy corresponding to the multi-dimensional policy level value of the first data stream;
选择子单元,用于从所述至少一种转发策略中选择一种转发策略作为所述第一数据流的转发策略。And selecting a subunit, configured to select one forwarding policy from the at least one forwarding policy as a forwarding policy of the first data flow.
在另一种可能的实现方式中,所述策略确定单元330可以包括:In another possible implementation manner, the policy determining unit 330 may include:
第一存储子单元,用于预先存储各种转发策略及其多维策略级别值,多维策略级别包括至少一个子级别,所述多维策略级别值包括所述子级别中至少一个子级别的取值;a first storage subunit, configured to pre-store various forwarding policies and multi-dimensional policy level values thereof, where the multi-dimensional policy level includes at least one sub-level, where the multi-dimensional policy level value includes a value of at least one of the sub-levels;
第一确定子单元,用于根据所述参数信息确定第一数据流的多维策略级别值;a first determining subunit, configured to determine a multi-dimensional policy level value of the first data stream according to the parameter information;
第三确定子单元,用于根据第一数据流的多维策略级别值逐层确定第一数据流的每一层转发策略。And a third determining subunit, configured to determine, according to the multi-dimensional policy level value of the first data stream, each layer forwarding policy of the first data stream.
可选地,所述第一存储子单元可以包括:Optionally, the first storage subunit may include:
获取模块,用于获取用户输入的转发策略; An obtaining module, configured to obtain a forwarding policy input by a user;
验证模块,用于对所述转发策略进行有效性验证;a verification module, configured to perform validity verification on the forwarding policy;
确定模块,用于确定验证模块有效性验证通过的每一种转发策略的多维策略级别值;a determining module, configured to determine a multi-dimensional policy level value of each forwarding policy passed by the verification module validity verification;
存储模块,用于存储所述有效性验证通过的每一种转发策略及其多维策略级别值。And a storage module, configured to store each forwarding policy passed by the validity verification and a multi-dimensional policy level value thereof.
可选地,所述获取单元320具体可以用于;从所述转发请求中获取所述第一数据流的报文头信息;根据所述第一数据流的报文头信息从所述预先存储的数据流的参数信息中获取所述第一数据流的参数信息。Optionally, the obtaining unit 320 is specifically configured to: obtain, according to the forwarding request, packet header information of the first data stream; and store, according to the packet header information of the first data stream, the pre-storage Obtaining parameter information of the first data stream in parameter information of the data stream.
可选地,该装置300还可以包括:Optionally, the apparatus 300 may further include:
拓扑建立单元,用于建立第一网络的逻辑拓扑,将所述逻辑拓扑提供给路由确定单元作为转发路由的确定依据。The topology establishing unit is configured to establish a logical topology of the first network, and provide the logical topology to the route determining unit as a determining basis of the forwarding route.
可选地,拓扑建立单元具体可以用于:Optionally, the topology establishing unit may be specifically configured to:
向第一网络中的各个网络设备发送拓扑发现数据包;接收各个网络设备反馈的所述拓扑发现数据包的响应数据包;根据所述响应数据包确定第一网络的物理连接拓扑;Transmitting a topology discovery data packet to each network device in the first network; receiving a response data packet of the topology discovery data packet fed back by each network device; determining a physical connection topology of the first network according to the response data packet;
并且,接收各个网络设备上报的所述网络设备的通信信息,根据各个网络设备的通信信息按照预先定义的单位资源实体进行抽象,得到网络的通信逻辑。And receiving communication information of the network device reported by each network device, and abstracting according to the communication information of each network device according to a predefined unit resource entity, to obtain communication logic of the network.
其中,本发明实施例所述装置中的各个单元、子单元、模块可以设置于同一实体设备中,也可以设置于多个可以相互通信的实体设备构成的网络中,这里并不限定。The unit, the sub-unit, and the module in the device in the embodiment of the present invention may be disposed in the same physical device, or may be disposed in a network formed by multiple physical devices that can communicate with each other, and is not limited herein.
本实施例中,根据所述参数信息确定所述第一数据流的转发策略;所述转发策略包括第一数据流的五元组以及第一数据流的其他通信信息;根据所述第一数据流的转发策略以及第一网络的逻辑拓扑确定所述第一数据流在所述第一网络中的转发路由;将所述第一数据流在所述第一网络中的转发路由发送给所述网络设备,从而在确定第一数据流的转发路由时,控制器依据的转发策略不仅包括第一数据流的五元组,还结合了数据流的其他通信信息,并且,控制器还依据了第一网络的逻辑拓扑,从而使得控制器确定的第一数据流的转发路由能够更为灵活、更为优化,从而提高了网络资源利用率。In this embodiment, the forwarding policy of the first data stream is determined according to the parameter information; the forwarding policy includes a quintuple of the first data stream and other communication information of the first data stream; according to the first data And a logical topology of the first network determines a forwarding route of the first data stream in the first network; and sends a forwarding route of the first data stream in the first network to the The network device, so that when determining the forwarding route of the first data stream, the forwarding policy according to the controller includes not only the quintuple of the first data stream but also other communication information of the data stream, and the controller further A logical topology of the network, so that the forwarding route of the first data stream determined by the controller can be more flexible and optimized, thereby improving network resource utilization.
参见图4,本发明实施例还提供一种控制器,控制器400包括:处理器410、存储器420、收发器430和总线440; Referring to FIG. 4, an embodiment of the present invention further provides a controller, where the controller 400 includes: a processor 410, a memory 420, a transceiver 430, and a bus 440.
处理器410、存储器420、收发器430通过总线440相互连接;总线440可以是ISA总线、PCI总线或EISA总线等。所述总线可以分为地址总线、数据总线、控制总线等。为便于表示,图4中仅用一条粗线表示,但并不表示仅有一根总线或一种类型的总线。The processor 410, the memory 420, and the transceiver 430 are connected to each other through a bus 440; the bus 440 may be an ISA bus, a PCI bus, or an EISA bus. The bus can be divided into an address bus, a data bus, a control bus, and the like. For ease of representation, only one thick line is shown in Figure 4, but it does not mean that there is only one bus or one type of bus.
存储器420,用于存放程序。具体地,程序可以包括程序代码,所述程序代码包括计算机操作指令。存储器420可能包含高速RAM存储器,也可能还包括非易失性存储器(non-volatile memory),例如至少一个磁盘存储器。The memory 420 is configured to store a program. In particular, the program can include program code, the program code including computer operating instructions. The memory 420 may include a high speed RAM memory and may also include a non-volatile memory such as at least one disk memory.
所述收发器430用于连接其他设备,并与其他设备进行通信。具体的,收发器430用于:接收网络设备发送的第一数据流的转发请求,将所述转发请求发送给处理器410;还用于将处理器410确定的所述第一数据流在所述第一网络中的转发路由发送给所述网络设备。The transceiver 430 is used to connect other devices and communicate with other devices. Specifically, the transceiver 430 is configured to: receive a forwarding request of the first data stream sent by the network device, send the forwarding request to the processor 410, and further configured to: use the first data stream determined by the processor 410 The forwarding route in the first network is sent to the network device.
所述处理器410执行所述程序代码,用于根据所述转发请求从预先存储的各个数据流的参数信息中获取所述第一数据流的参数信息;根据所述参数信息确定所述第一数据流的转发策略;所述转发策略包括所述第一数据流的五元组以及所述第一数据流的至少一种其他通信信息;根据所述第一数据流的转发策略以及第一网络的逻辑拓扑确定所述第一数据流在所述网络中的转发路由,将所述转发路由发送给所述收发器430。The processor 410 executes the program code, configured to acquire parameter information of the first data stream from parameter information of each data stream stored in advance according to the forwarding request, and determine the first information according to the parameter information. a forwarding policy of the data stream; the forwarding policy includes a quintuple of the first data stream and at least one other communication information of the first data stream; a forwarding policy according to the first data stream and a first network The logical topology determines a forwarding route of the first data stream in the network, and sends the forwarding route to the transceiver 430.
在一种可能的实现方式中,所述处理器410具体可以用于:In a possible implementation, the processor 410 may be specifically configured to:
预先存储各种转发策略及其多维策略级别值,多维策略级别包括至少一个子级别,所述多维策略级别值包括所述子级别中至少一个子级别的取值;Pre-storing various forwarding policies and their multi-dimensional policy level values, the multi-dimensional policy level including at least one sub-level, the multi-dimensional policy level values including values of at least one of the sub-levels;
根据所述参数信息确定所述第一数据流的多维策略级别值;Determining, according to the parameter information, a multi-dimensional policy level value of the first data stream;
确定所述第一数据流的多维策略级别值对应的至少一种转发策略;Determining at least one forwarding policy corresponding to the multi-dimensional policy level value of the first data stream;
从所述至少一种转发策略中选择一种转发策略作为所述第一数据流的转发策略。Selecting one forwarding policy from the at least one forwarding policy as a forwarding policy of the first data flow.
在另一种可能的实现方式中,所述处理器410具体可以用于:In another possible implementation, the processor 410 may be specifically configured to:
预先存储各种转发策略及其多维策略级别值,多维策略级别包括至少一个子级别,所述多维策略级别值包括所述子级别中至少一个子级别的取值;Pre-storing various forwarding policies and their multi-dimensional policy level values, the multi-dimensional policy level including at least one sub-level, the multi-dimensional policy level values including values of at least one of the sub-levels;
根据所述参数信息确定第一数据流的多维策略级别值;Determining, according to the parameter information, a multi-dimensional policy level value of the first data stream;
根据第一数据流的多维策略级别值逐层确定第一数据流的每一层转发策略。Each layer forwarding policy of the first data stream is determined layer by layer according to the multi-dimensional policy level value of the first data stream.
可选地,所述处理器410具体可以用于:Optionally, the processor 410 is specifically configured to:
从所述转发请求中获取所述第一数据流的报文头信息; Obtaining packet header information of the first data stream from the forwarding request;
根据所述第一数据流的报文头信息从所述预先存储的数据流的参数信息中获取所述第一数据流的参数信息。Obtaining parameter information of the first data stream from the parameter information of the pre-stored data stream according to the packet header information of the first data stream.
可选地,所述处理器410具体可以用于:Optionally, the processor 410 is specifically configured to:
获取用户输入的转发策略;Obtain the forwarding policy input by the user;
对所述转发策略进行有效性验证;Validating the forwarding policy;
确定有效性验证通过的每一种转发策略的多维策略级别值;Determine the multidimensional policy level value for each type of forwarding policy passed by the validity verification;
存储所述有效性验证通过的每一种转发策略及其多维策略级别值。Each forwarding policy passed by the validity verification and its multi-dimensional policy level value are stored.
可选地,所述处理器410具体可以用于:建立第一网络的逻辑拓扑。Optionally, the processor 410 is specifically configured to: establish a logical topology of the first network.
可选地,所述处理器410具体可以用于:向第一网络中的各个网络设备发送拓扑发现数据包;接收各个网络设备反馈的所述拓扑发现数据包的响应数据包;根据所述响应数据包确定第一网络的物理连接拓扑;Optionally, the processor 410 is specifically configured to: send a topology discovery data packet to each network device in the first network; receive a response data packet of the topology discovery data packet fed back by each network device; The data packet determines a physical connection topology of the first network;
并且,接收各个网络设备上报的所述网络设备的通信信息,根据各个网络设备的通信信息按照预先定义的单位资源实体进行抽象,得到网络的通信逻辑。And receiving communication information of the network device reported by each network device, and abstracting according to the communication information of each network device according to a predefined unit resource entity, to obtain communication logic of the network.
本实施例中,控制器根据所述参数信息确定所述第一数据流的转发策略;所述转发策略包括第一数据流的五元组以及第一数据流的其他通信信息;根据所述第一数据流的转发策略以及第一网络的逻辑拓扑确定所述第一数据流在所述第一网络中的转发路由;将所述第一数据流在所述第一网络中的转发路由发送给所述网络设备,从而在确定第一数据流的转发路由时,控制器依据的转发策略不仅包括第一数据流的五元组,还结合了数据流的其他通信信息,并且,控制器还依据了第一网络的逻辑拓扑,从而使得控制器确定的第一数据流的转发路由能够更为灵活、更为优化,从而提高了网络资源利用率。In this embodiment, the controller determines a forwarding policy of the first data stream according to the parameter information; the forwarding policy includes a quintuple of the first data stream and other communication information of the first data stream; a forwarding policy of the data stream and a logical topology of the first network determining a forwarding route of the first data stream in the first network; sending a forwarding route of the first data stream in the first network to The network device, so that when determining the forwarding route of the first data stream, the forwarding policy according to the controller includes not only the quintuple of the first data stream but also other communication information of the data stream, and the controller further relies on The logical topology of the first network is such that the forwarding route of the first data stream determined by the controller can be more flexible and optimized, thereby improving network resource utilization.
本领域的技术人员可以清楚地了解到本发明实施例中的技术可借助软件加必需的通用硬件平台的方式来实现。基于这样的理解,本发明实施例中的技术方案本质上或者说对现有技术做出贡献的部分可以以软件产品的形式体现出来,该计算机软件产品可以存储在存储介质中,如ROM/RAM、磁碟、光盘等,包括若干指令用以使得一台计算机设备(可以是个人计算机,服务器,或者网络设备等)执行本发明各个实施例或者实施例的某些部分所述的方法。It will be apparent to those skilled in the art that the techniques in the embodiments of the present invention can be implemented by means of software plus a necessary general hardware platform. Based on such understanding, the technical solution in the embodiments of the present invention may be embodied in the form of a software product in essence or in the form of a software product, which may be stored in a storage medium such as a ROM/RAM. , a disk, an optical disk, etc., including instructions for causing a computer device (which may be a personal computer, server, or network device, etc.) to perform the methods described in various embodiments of the present invention or portions of the embodiments.
本说明书中的各个实施例均采用递进的方式描述,各个实施例之间相同相似的部分互相参见即可,每个实施例重点说明的都是与其他实施例的不同之处。尤其,对于系统实施例而言,由于其基本相似于方法实施例,所以描述的比较简单, 相关之处参见方法实施例的部分说明即可。The various embodiments in the specification are described in a progressive manner, and the same or similar parts between the various embodiments may be referred to each other, and each embodiment focuses on the differences from the other embodiments. In particular, for a system embodiment, since it is substantially similar to the method embodiment, the description is relatively simple. For related points, refer to the partial description of the method embodiment.
以上所述的本发明实施方式,并不构成对本发明保护范围的限定。任何在本发明的精神和原则之内所作的修改、等同替换和改进等,均应包含在本发明的保护范围之内。 The embodiments of the invention described above are not intended to limit the scope of the invention. Any modifications, equivalent substitutions and improvements made within the spirit and scope of the invention are intended to be included within the scope of the invention.

Claims (14)

  1. 一种数据流转发路由的控制方法,其特征在于,所述方法应用于第一网络,所述方法还包括:A method for controlling a data flow forwarding route, wherein the method is applied to a first network, the method further comprising:
    接收网络设备发送的第一数据流的转发请求;Receiving a forwarding request of the first data stream sent by the network device;
    根据所述转发请求从预先存储的各个数据流的参数信息中获取所述第一数据流的参数信息;Obtaining parameter information of the first data stream from parameter information of each data stream stored in advance according to the forwarding request;
    根据所述参数信息确定所述第一数据流的转发策略;所述转发策略包括所述第一数据流的五元组以及所述第一数据流的至少一种其他通信信息;Determining, according to the parameter information, a forwarding policy of the first data stream; the forwarding policy includes a quintuple of the first data stream and at least one other communication information of the first data stream;
    根据所述第一数据流的转发策略以及第一网络的逻辑拓扑确定所述第一数据流在所述网络中的转发路由;Determining a forwarding route of the first data stream in the network according to a forwarding policy of the first data stream and a logical topology of the first network;
    将所述第一数据流在所述第一网络中的转发路由发送给所述网络设备。And transmitting, to the network device, a forwarding route of the first data stream in the first network.
  2. 根据权利要求1所述的方法,其特征在于,所述根据所述参数信息确定所述第一数据流的转发策略包括:The method according to claim 1, wherein the determining a forwarding policy of the first data stream according to the parameter information comprises:
    预先存储各种转发策略及其多维策略级别值,多维策略级别包括至少一个子级别,所述多维策略级别值包括所述子级别中至少一个子级别的取值;Pre-storing various forwarding policies and their multi-dimensional policy level values, the multi-dimensional policy level including at least one sub-level, the multi-dimensional policy level values including values of at least one of the sub-levels;
    根据所述参数信息确定所述第一数据流的多维策略级别值;Determining, according to the parameter information, a multi-dimensional policy level value of the first data stream;
    确定所述第一数据流的多维策略级别值对应的至少一种转发策略;Determining at least one forwarding policy corresponding to the multi-dimensional policy level value of the first data stream;
    从所述至少一种转发策略中选择一种转发策略作为所述第一数据流的转发策略。Selecting one forwarding policy from the at least one forwarding policy as a forwarding policy of the first data flow.
  3. 根据权利要求1所述的方法,其特征在于,所述根据所述参数信息确定所述第一数据流的转发策略包括:The method according to claim 1, wherein the determining a forwarding policy of the first data stream according to the parameter information comprises:
    预先存储各种转发策略及其多维策略级别值,多维策略级别包括至少一个子级别,所述多维策略级别值包括所述子级别中至少一个子级别的取值;Pre-storing various forwarding policies and their multi-dimensional policy level values, the multi-dimensional policy level including at least one sub-level, the multi-dimensional policy level values including values of at least one of the sub-levels;
    根据所述参数信息确定第一数据流的多维策略级别值;Determining, according to the parameter information, a multi-dimensional policy level value of the first data stream;
    根据第一数据流的多维策略级别值逐层确定第一数据流的每一层转发策略。Each layer forwarding policy of the first data stream is determined layer by layer according to the multi-dimensional policy level value of the first data stream.
  4. 根据权利要求2或3所述的方法,其特征在于,预先存储各种转发策略及其多维策略级别值包括:The method according to claim 2 or 3, wherein pre-storing various forwarding policies and their multi-dimensional policy level values comprises:
    获取用户输入的转发策略;Obtain the forwarding policy input by the user;
    对所述转发策略进行有效性验证; Validating the forwarding policy;
    确定有效性验证通过的每一种转发策略的多维策略级别值;Determine the multidimensional policy level value for each type of forwarding policy passed by the validity verification;
    存储所述有效性验证通过的每一种转发策略及其多维策略级别值。Each forwarding policy passed by the validity verification and its multi-dimensional policy level value are stored.
  5. 根据权利要求1至4任一项所述的方法,其特征在于,根据所述转发请求从预先存储的各个数据流的参数信息中获取所述第一数据流的参数信息包括;The method according to any one of claims 1 to 4, wherein the obtaining the parameter information of the first data stream from the parameter information of each data stream stored in advance according to the forwarding request comprises:
    从所述转发请求中获取所述第一数据流的报文头信息;Obtaining packet header information of the first data stream from the forwarding request;
    根据所述第一数据流的报文头信息从所述预先存储的数据流的参数信息中获取所述第一数据流的参数信息。Obtaining parameter information of the first data stream from the parameter information of the pre-stored data stream according to the packet header information of the first data stream.
  6. 根据权利要求1至5任一项所述的方法,其特征在于,根据所述第一数据流的转发策略以及所述第一网络的逻辑拓扑确定所述第一数据流在所述第一网络中的转发路由之前,还包括:The method according to any one of claims 1 to 5, wherein the first data stream is determined to be in the first network according to a forwarding policy of the first data stream and a logical topology of the first network Before forwarding routes in, it also includes:
    建立第一网络的逻辑拓扑。Establish a logical topology of the first network.
  7. 根据权利要求6所述的方法,其特征在于,建立第一网络的逻辑拓扑包括:The method according to claim 6, wherein the establishing a logical topology of the first network comprises:
    向第一网络中的各个网络设备发送拓扑发现数据包;接收各个网络设备反馈的所述拓扑发现数据包的响应数据包;根据所述响应数据包确定第一网络的物理连接拓扑;Transmitting a topology discovery data packet to each network device in the first network; receiving a response data packet of the topology discovery data packet fed back by each network device; determining a physical connection topology of the first network according to the response data packet;
    并且,接收各个网络设备上报的所述网络设备的通信信息,根据各个网络设备的通信信息按照预先定义的单位资源实体进行抽象,得到网络的通信逻辑。And receiving communication information of the network device reported by each network device, and abstracting according to the communication information of each network device according to a predefined unit resource entity, to obtain communication logic of the network.
  8. 一种数据流转发路由的控制装置,其特征在于,所述装置应用于第一网络,所述装置包括:A device for controlling data flow forwarding, wherein the device is applied to a first network, and the device includes:
    接收单元,用于接收网络设备发送的第一数据流的转发请求;a receiving unit, configured to receive a forwarding request of the first data stream sent by the network device;
    获取单元,用于根据所述接收单元接收的所述转发请求从预先存储的各个数据流的参数信息中获取所述第一数据流的参数信息;An obtaining unit, configured to acquire parameter information of the first data stream from parameter information of each data stream stored in advance according to the forwarding request received by the receiving unit;
    策略确定单元,用于根据所述获取单元获取的所述参数信息确定所述第一数据流的转发策略;所述转发策略包括所述第一数据流的五元组以及所述第一数据流的至少一种其他通信信息;a policy determining unit, configured to determine, according to the parameter information acquired by the acquiring unit, a forwarding policy of the first data stream; the forwarding policy includes a quintuple of the first data stream and the first data stream At least one other communication information;
    路由确定单元,用于根据所述策略确定单元确定的所述第一数据流的转发策略以及第一网络的逻辑拓扑确定所述第一数据流在所述网络中的转发路由; a route determining unit, configured to determine, according to a forwarding policy of the first data stream that is determined by the policy determining unit, and a logical topology of the first network, a forwarding route of the first data stream in the network;
    发送单元,用于将所述路由确定单元确定的所述第一数据流在所述第一网络中的转发路由发送给所述网络设备。And a sending unit, configured to send, to the network device, a forwarding route of the first data stream determined by the route determining unit in the first network.
  9. 根据权利要求8所述的装置,其特征在于,所述策略确定单元包括:The device according to claim 8, wherein the policy determining unit comprises:
    第一存储子单元,用于预先存储各种转发策略及其多维策略级别值,多维策略级别包括至少一个子级别,所述多维策略级别值包括所述子级别中至少一个子级别的取值;a first storage subunit, configured to pre-store various forwarding policies and multi-dimensional policy level values thereof, where the multi-dimensional policy level includes at least one sub-level, where the multi-dimensional policy level value includes a value of at least one of the sub-levels;
    第一确定子单元,用于根据所述参数信息确定所述第一数据流的多维策略级别值;a first determining subunit, configured to determine a multi-dimensional policy level value of the first data stream according to the parameter information;
    第二确定子单元,确定所述第一数据流的多维策略级别值对应的至少一种转发策略;a second determining subunit, determining at least one forwarding policy corresponding to the multi-dimensional policy level value of the first data stream;
    选择子单元,用于从所述至少一种转发策略中选择一种转发策略作为所述第一数据流的转发策略。And selecting a subunit, configured to select one forwarding policy from the at least one forwarding policy as a forwarding policy of the first data flow.
  10. 根据权利要求8所述的装置,其特征在于,所述策略确定单元包括:The device according to claim 8, wherein the policy determining unit comprises:
    第一存储子单元,用于预先存储各种转发策略及其多维策略级别值,多维策略级别包括至少一个子级别,所述多维策略级别值包括所述子级别中至少一个子级别的取值;a first storage subunit, configured to pre-store various forwarding policies and multi-dimensional policy level values thereof, where the multi-dimensional policy level includes at least one sub-level, where the multi-dimensional policy level value includes a value of at least one of the sub-levels;
    第一确定子单元,用于根据所述参数信息确定第一数据流的多维策略级别值;a first determining subunit, configured to determine a multi-dimensional policy level value of the first data stream according to the parameter information;
    第三确定子单元,用于根据第一数据流的多维策略级别值逐层确定第一数据流的每一层转发策略。And a third determining subunit, configured to determine, according to the multi-dimensional policy level value of the first data stream, each layer forwarding policy of the first data stream.
  11. 根据权利要求9或10所述的装置,其特征在于,第一存储子单元包括:The apparatus according to claim 9 or 10, wherein the first storage subunit comprises:
    获取模块,用于获取用户输入的转发策略;An obtaining module, configured to obtain a forwarding policy input by a user;
    验证模块,用于对所述转发策略进行有效性验证;a verification module, configured to perform validity verification on the forwarding policy;
    确定模块,用于确定验证模块有效性验证通过的每一种转发策略的多维策略级别值;a determining module, configured to determine a multi-dimensional policy level value of each forwarding policy passed by the verification module validity verification;
    存储模块,用于存储所述有效性验证通过的每一种转发策略及其多维策略级别值。And a storage module, configured to store each forwarding policy passed by the validity verification and a multi-dimensional policy level value thereof.
  12. 根据权利要求8至11任一项所述的装置,其特征在于,所述获取单元具体用于;从所述转发请求中获取所述第一数据流的报文头信息;根据所述第一数据流的报文头信息从所述预先存储的数据流的参数信息中获取所述第一数据流的参数信息。 The device according to any one of claims 8 to 11, wherein the acquiring unit is configured to: obtain, according to the forwarding request, packet header information of the first data stream; The packet header information of the data stream acquires parameter information of the first data stream from the parameter information of the pre-stored data stream.
  13. 根据权利要求8至12任一项所述的装置,其特征在于,还包括:The device according to any one of claims 8 to 12, further comprising:
    拓扑建立单元,用于建立第一网络的逻辑拓扑。A topology establishing unit, configured to establish a logical topology of the first network.
  14. 根据权利要求13所述的装置,其特征在于,拓扑建立单元具体用于:The device according to claim 13, wherein the topology establishing unit is specifically configured to:
    向第一网络中的各个网络设备发送拓扑发现数据包;接收各个网络设备反馈的所述拓扑发现数据包的响应数据包;根据所述响应数据包确定第一网络的物理连接拓扑;Transmitting a topology discovery data packet to each network device in the first network; receiving a response data packet of the topology discovery data packet fed back by each network device; determining a physical connection topology of the first network according to the response data packet;
    并且,接收各个网络设备上报的所述网络设备的通信信息,根据各个网络设备的通信信息按照预先定义的单位资源实体进行抽象,得到网络的通信逻辑。 And receiving communication information of the network device reported by each network device, and abstracting according to the communication information of each network device according to a predefined unit resource entity, to obtain communication logic of the network.
PCT/CN2014/086276 2013-11-22 2014-09-11 Control method and apparatus for data stream forwarding route WO2015074453A1 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201310596840.4 2013-11-22
CN201310596840.4A CN104660507B (en) 2013-11-22 2013-11-22 The control method and device of forwarding data flow routing

Publications (1)

Publication Number Publication Date
WO2015074453A1 true WO2015074453A1 (en) 2015-05-28

Family

ID=53178901

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2014/086276 WO2015074453A1 (en) 2013-11-22 2014-09-11 Control method and apparatus for data stream forwarding route

Country Status (2)

Country Link
CN (1) CN104660507B (en)
WO (1) WO2015074453A1 (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113765796A (en) * 2021-10-21 2021-12-07 迈普通信技术股份有限公司 Flow forwarding control method and device
CN115086227A (en) * 2022-07-14 2022-09-20 中国联合网络通信集团有限公司 Method, device and equipment for determining forwarding strategy and storage medium
US11563640B2 (en) 2018-12-13 2023-01-24 At&T Intellectual Property I, L.P. Network data extraction parser-model in SDN

Families Citing this family (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106411820B (en) * 2015-07-29 2019-05-21 中国科学院沈阳自动化研究所 A kind of industrial communication based on SDN framework spreads defeated method of controlling security
CN106712987A (en) * 2015-08-12 2017-05-24 中兴通讯股份有限公司 Network control processing method and device, and software defined network system
EP3799355A1 (en) * 2015-10-22 2021-03-31 Huawei Technologies Co., Ltd. Service processing method, apparatus, and system
CN107770063A (en) * 2016-08-17 2018-03-06 中兴通讯股份有限公司 Message forwarding method and device
CN109039948B (en) * 2017-06-12 2022-10-28 刘昱 Control plane information generation method and device and computer readable storage medium
CN107948286B (en) * 2017-11-24 2020-12-22 铁将军汽车电子股份有限公司 Message delivery method, device, terminal and system
US10841670B2 (en) * 2018-02-13 2020-11-17 Juniper Networks, Inc. Methods and apparatus for consistency check in disaggregated dense wavelength-division multiplexing (DWDM) systems
CN114338516B (en) * 2021-12-28 2023-09-29 中国电信股份有限公司 Traffic forwarding and policy determining method and device

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1466340A (en) * 2002-06-24 2004-01-07 �人��������������ι�˾ Method for forwarding data by strategic stream mode and data forwarding equipment
CN1866922A (en) * 2006-02-10 2006-11-22 华为技术有限公司 Control system and data message transmission method in Ethernet
CN101296169A (en) * 2007-04-26 2008-10-29 华为技术有限公司 Method, system and equipment for establishing user conversation bearer service
CN103346922A (en) * 2013-07-26 2013-10-09 电子科技大学 Controller for determining network state based on SDN (Software Defined Networking) and determination method thereof

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102594689B (en) * 2012-02-22 2015-06-10 中兴通讯股份有限公司 Distributed network control method and device
CN106170024B (en) * 2012-12-24 2019-12-24 华为技术有限公司 System, method and node for data processing in software defined network

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1466340A (en) * 2002-06-24 2004-01-07 �人��������������ι�˾ Method for forwarding data by strategic stream mode and data forwarding equipment
CN1866922A (en) * 2006-02-10 2006-11-22 华为技术有限公司 Control system and data message transmission method in Ethernet
CN101296169A (en) * 2007-04-26 2008-10-29 华为技术有限公司 Method, system and equipment for establishing user conversation bearer service
CN103346922A (en) * 2013-07-26 2013-10-09 电子科技大学 Controller for determining network state based on SDN (Software Defined Networking) and determination method thereof

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US11563640B2 (en) 2018-12-13 2023-01-24 At&T Intellectual Property I, L.P. Network data extraction parser-model in SDN
CN113765796A (en) * 2021-10-21 2021-12-07 迈普通信技术股份有限公司 Flow forwarding control method and device
CN113765796B (en) * 2021-10-21 2023-12-19 迈普通信技术股份有限公司 Flow forwarding control method and device
CN115086227A (en) * 2022-07-14 2022-09-20 中国联合网络通信集团有限公司 Method, device and equipment for determining forwarding strategy and storage medium
CN115086227B (en) * 2022-07-14 2023-10-03 中国联合网络通信集团有限公司 Method, device, equipment and storage medium for determining forwarding strategy

Also Published As

Publication number Publication date
CN104660507A (en) 2015-05-27
CN104660507B (en) 2018-11-16

Similar Documents

Publication Publication Date Title
WO2015074453A1 (en) Control method and apparatus for data stream forwarding route
US10003540B2 (en) Flow forwarding method, device, and system
US9729424B2 (en) Defining data flow paths in software-defined networks with application-layer traffic optimization
US11552841B2 (en) Method and apparatus for configuring service
US10148492B2 (en) Data center bridging network configuration and management
Yeh et al. VIP: A framework for joint dynamic forwarding and caching in named data networks
US9838333B2 (en) Software-defined information centric network (ICN)
WO2020103834A1 (en) Time sensitive networking communication method and apparatus thereof
JP2017135720A (en) Network operating system for managing network and making network safe
US20210226902A1 (en) Time-Sensitive Networking Communication Method and Apparatus
WO2018006653A1 (en) Method for determining forwarding path, and control device
KR101460048B1 (en) Method and apparatus for control of dynamic service chaining by using tagging
WO2015039617A1 (en) Method, system, and device for packet processing
CN108322467A (en) Virtual firewall configuration method, electronic equipment and storage medium based on OVS
Yan et al. A survey of low-latency transmission strategies in software defined networking
WO2012141241A1 (en) Network, data transfer node, communication method, and program
CN108347376A (en) A kind of method, apparatus and system of adjustment forward-path
CN112583636B (en) Construction method of government network slice, electronic equipment and storage medium
CN109274589B (en) Service transmission method and device
WO2021121086A1 (en) Traffic scheduling method, electronic device and storage medium
KR20140050461A (en) Method and apparatus to implement virtual networks using open flow switches and controller
Kamboj et al. A policy based framework for quality of service management in software defined networks
KR20210016802A (en) Method for optimizing flow table for network service based on server-client in software defined networking environment and sdn switch thereofor
US20060153206A1 (en) System and method for dynamic egress routing through a single default gateway in a mesh network
US20080298366A1 (en) Agnostic Network Architecture

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: 14864430

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: 14864430

Country of ref document: EP

Kind code of ref document: A1