WO2018014883A1 - Strategy sending and receiving method, device and controller - Google Patents

Strategy sending and receiving method, device and controller Download PDF

Info

Publication number
WO2018014883A1
WO2018014883A1 PCT/CN2017/094145 CN2017094145W WO2018014883A1 WO 2018014883 A1 WO2018014883 A1 WO 2018014883A1 CN 2017094145 W CN2017094145 W CN 2017094145W WO 2018014883 A1 WO2018014883 A1 WO 2018014883A1
Authority
WO
WIPO (PCT)
Prior art keywords
control
controller
network
policy
sub
Prior art date
Application number
PCT/CN2017/094145
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 WO2018014883A1 publication Critical patent/WO2018014883A1/en

Links

Images

Definitions

  • the present application relates to, but is not limited to, the field of communications, and in particular, to a method for transmitting and receiving a policy, a device, and a controller.
  • SDN Software Defined Network
  • SC Super Controller
  • DC Domain Controller
  • SC and DC are further divided into multiple sub-layers according to their functional characteristics.
  • the functions of each level controller are: resource abstraction, service management, policy management, alarm management, and performance management.
  • Policy management includes: routing constraints, routing policies, protection policies, and so on.
  • Policy management can be used as a sub-module, built into the SDN controller, coupled with other modules of the controller, resulting in lower efficiency of the controller.
  • the embodiment of the invention provides a method for transmitting and receiving a policy, a device and a controller, so as to improve the operating efficiency of the controller.
  • An embodiment of the present invention provides a policy sending method, including: determining, according to network resources in a controller control area, a control policy for controlling, by the controller, a hierarchical network; and sending the determined control policy to the Controller.
  • determining, according to the network resource in the controller control area, the control policy that the controller controls the layer network in which the controller is located includes: the controller is a multi-domain controller In the case of acquiring one or more sub-controls in the control area of the multi-domain controller One or more sub-control strategies of the controller, wherein the one or more sub-control policies are used to separately control the network in which the nodes are located, and the sub-controllers have a one-to-one correspondence with the sub-control policies; The one or more sub-control policies determine a control policy of the multi-domain controller to control the hierarchical network, wherein the one or more sub-controllers are at least one of the following: a single domain controller, and a multi-domain controller.
  • control policy includes at least one of: a network analysis policy for analyzing network resources, a network optimization policy for optimizing network resources, for using the controller The path calculation strategy for calculating the path in the hierarchical network.
  • control policy includes the network analysis policy, determining, according to the network resource in the controller control area, that the controller controls the network in which the layer is located
  • the control policy includes: grouping the network resources according to resource attributes of the network resources in the controller control area to obtain one or more network resource groups; and according to the grouped one or more network resources
  • the policy is at least one of the following: generating an alarm record according to the determined indicator value, a preset indicator value alarm interval, and an alarm level; according to any one of a resource grouping object, the resource attribute, and the analysis indicator or Combining, generating a report; determining, according to the association relationship of the network resources, the control area in the controller Said topology network resources.
  • control policy includes the network optimization policy
  • the control strategy includes: determining a pseudowire for data transmission to be adjusted, or a tunnel, or a pseudowire and a tunnel; respectively determining one or more of the pseudowire, or tunnel, or each of a pseudowire and a tunnel a first bandwidth adjustment value; determining the control policy: the first bandwidth adjustment value according to the determined one or more of the pseudowires, or the tunnel, or each of the pseudowires and the tunnel, the port and one or more Determining one or more of the pseudowires, or tunnels, or pseudowires and tunnels, the associated relationship between the pseudowires, or the tunnels, or each of the pseudowires and the tunnels, and the preset bandwidth adjustment values of the ports a second bandwidth adjustment value of each of the ports; or, determining a set of ports to be adjusted for data transmission; respectively obtaining a port flow rate of each port in the port
  • the preset bandwidth guaranteed bandwidth value and the preset bandwidth utilization; determining the control policy is: preset bandwidth guarantee according to the obtained port flow rate of each port bandwidth in the port set
  • the bandwidth value, and the preset bandwidth utilization determine a bandwidth convergence ratio of each port in the port set.
  • control policy includes the path calculation policy
  • determining, according to the network resource in the controller control area, that the controller controls the network in which the layer is located includes: acquiring network resource data in the hierarchical network where the controller is located, and a service path corresponding to the network resource data; determining the control policy is: determining the hierarchical network in which the controller is located.
  • the calculation reference indicator of the path and the service path corresponding to the network resource data determine a result of the path calculation.
  • the embodiment of the invention further provides a computer readable storage medium storing computer executable instructions, which are implemented when the computer executable instructions are executed.
  • the embodiment of the present invention further provides a policy receiving method, including: receiving a control policy for controlling a network in a hierarchy; and controlling, according to the received control policy, a network in a layer.
  • receiving a control policy for controlling a layered network includes: receiving the plurality of one or more sub-control policies generated according to one or more sub-controllers within a multi-domain controller control region The control policy that the domain controller controls the network in which the layer is located, where the one or more sub-control policies are used to separately control the network in which the layer is located.
  • the sub-controller has a one-to-one correspondence with the sub-control policy, and the one or more sub-controllers are at least one of the following: a single domain controller, a multi-domain controller.
  • the receiving the control policy for controlling the network in which the layer is located includes: receiving, after the plurality of control policies are aggregated, the receiver orchestration obtains the plurality of control policies.
  • the control strategy includes: receiving, after the plurality of control policies are aggregated, the receiver orchestration obtains the plurality of control policies.
  • An embodiment of the present invention further provides a policy sending apparatus, including: a determining module, configured to: determine, according to network resources in a controller control area, a control policy for controlling, by the controller, a hierarchical network; a sending module, setting To: send the determined control policy to the controller.
  • a determining module configured to: determine, according to network resources in a controller control area, a control policy for controlling, by the controller, a hierarchical network
  • a sending module setting To: send the determined control policy to the controller.
  • the determining module includes: an obtaining unit, configured to: acquire one or more sub-controllers in the multi-domain controller control region if the controller is a multi-domain controller One or more sub-control strategies of the controller, wherein the one or more sub-control policies are used to separately control the network in which the layer is located, and the sub-controller has a one-to-one correspondence with the sub-control policies; And being configured to: determine, according to the one or more sub-control policies, a control policy that controls the multi-domain controller to control the hierarchical network, where the one or more sub-controllers are at least one of the following: a single domain controller , multi-domain controller.
  • the embodiment of the present invention further provides a policy receiving apparatus, including: a receiving module, configured to: receive a control policy for controlling a network in which the layer is located; and the control module is configured to: according to the received control policy, Hierarchical network for control.
  • the receiving module includes: a first receiving unit configured to: receive the plurality of generated by one or more sub-control policies of one or more sub-controllers within a multi-domain controller control region The control policy that the domain controller controls the network in which the layer is located, wherein the one or more sub-control policies are used to separately control the network in which the layer is located, and the sub-controller has a one-to-one correspondence with the sub-control policy Relationship, the one or more sub-controllers are at least one of the following: a single domain controller, a multi-domain controller.
  • the receiving module includes: a second receiving unit, configured to: when the control policy is multiple, the receiving orchestration obtains the plurality of control policies after the convergence of the plurality of control policies Control Strategy.
  • the embodiment of the invention further provides a computer readable storage medium, which is stored in a computer executable An instruction that implements the policy receiving method described above when the computer executable instructions are executed.
  • the embodiment of the invention also provides a controller.
  • the system includes the policy receiving device described in any of the preceding clauses.
  • the embodiment of the invention further provides a storage medium.
  • the storage medium is configured to store program code for performing the following steps: determining, according to network resources in the controller control area, a control strategy for controlling the controller to control the hierarchical network; sending the determined control policy to the Controller.
  • the storage medium is further configured to store program code for performing the step of determining, according to the network resource within the controller control region, the controller to control the hierarchical network in which it is located
  • the control strategy includes: acquiring one or more sub-control strategies of one or more sub-controllers within the multi-domain controller control region if the controller is a multi-domain controller, wherein the one or more The sub-control strategy is used to separately control the network in which the layer is located, and the sub-controller has a one-to-one correspondence with the sub-control policy; determining, according to the one or more sub-control policies, the multi-domain controller A control strategy for controlling the network, wherein the one or more sub-controllers are at least one of the following: a single domain controller, a multi-domain controller.
  • the storage medium is further configured to store program code for performing the following steps: the control policy comprises at least one of: a network analysis policy for analyzing network resources, for a network A network optimization strategy optimized for resources, a path calculation strategy for calculating a path in a hierarchical network in which the controller is located.
  • the control policy comprises at least one of: a network analysis policy for analyzing network resources, for a network A network optimization strategy optimized for resources, a path calculation strategy for calculating a path in a hierarchical network in which the controller is located.
  • the storage medium is further configured to store program code for performing the following steps: in the case where the control policy includes the network analysis policy, according to the And determining, by the network resource, the control policy that the controller controls the network in which the network is located, by: grouping the network resources according to resource attributes of the network resources in the controller control area, to obtain one or more Network resource group; the network resource group resource attribute of each network resource group in the grouped one or more network resource groups, the indicator parameter of the analysis indicator used for analyzing the network resource, and the predetermined index calculation formula, Determining an indicator value of the network resource group after the grouping; determining that the control policy is at least one of: generating an alarm record according to the determined indicator value, a preset indicator value alarm interval, and an alarm level; Generating a report, any one or combination of the object, the resource attribute, and the analysis indicator And determining, according to the association relationship of the network resources, a topological relationship of the network resources in the controller control area.
  • the storage medium is further configured to store program code for performing the following steps: in the case where the control policy includes the network optimization policy, according to the a network resource, the determining, by the controller, the control policy for controlling a network in which the layer is located includes: determining a pseudowire, or a tunnel, or a pseudowire and a tunnel for data transmission to be adjusted; respectively determining one or more of the foregoing a first bandwidth adjustment value of each of a pseudowire, or a tunnel, or a pseudowire and a tunnel; determining the control strategy to: according to the determined one or more of the pseudowires, or tunnels, or pseudowires and tunnels The first bandwidth adjustment value of one, the association relationship between the port and one or more of the pseudowires, or the tunnel, or each of the pseudowires and the tunnel, and the preset bandwidth adjustment value of the port, determining one or a second bandwidth adjustment value of each of the plurality of pseudowires, or tunnels, or pseudowires and tunnels; or determining a set
  • the storage medium is further configured to store program code for performing the following steps: in the case where the control policy includes the path calculation policy, according to the control
  • the controlling the policy of the controller to control the hierarchical network includes: acquiring network resource data in the hierarchical network where the controller is located, and corresponding to the network resource data.
  • the service path is determined by: determining a result of the path calculation according to the calculation reference indicator used to determine the path in the hierarchical network where the controller is located, and the service path corresponding to the network resource data.
  • the embodiment of the invention further provides a storage medium.
  • the storage medium is configured to store program code for performing the following steps: receiving a control policy for controlling a network in which the layer is located; and controlling the layer network according to the received control policy.
  • the storage medium is further configured to store program code for performing the step of: receiving the one generated by one or more sub-control policies of one or more sub-controllers within a multi-domain controller control region
  • the control policy of the multi-domain controller for controlling the network in which the layer is located, wherein the one or more sub-control policies are used to separately control the network in which the layer is located, and the sub-controller and the sub-control policy are one by one
  • the one or more sub-controllers are at least one of the following: a single domain controller, a multi-domain controller.
  • the storage medium is further configured to store program code for performing the following steps: receiving a control policy for controlling the network in which the layer is located includes: if the control policy is multiple, Receiving the control strategy obtained after the orchestrator aggregates a plurality of control policies.
  • the controller in the hierarchical network is provided with a control strategy for controlling the network in the hierarchy through the external system. Since the control strategy of the controller is provided by the external system, the policy management is reduced to the controller. The impact of efficiency, therefore, can improve the efficiency of the controller.
  • FIG. 1 is a block diagram showing the hardware structure of a terminal of a policy sending method according to an embodiment of the present invention
  • FIG. 2 is a flowchart of a method for transmitting a policy according to an embodiment of the present invention
  • FIG. 3 is a flow chart of a method for transmitting a policy according to an alternative embodiment of the present invention.
  • FIG. 4(a) is a schematic diagram showing a hierarchical hierarchical network structure of an SDN controller with an external system according to an alternative embodiment of the present invention
  • 4(b) is a schematic diagram showing a hierarchical hierarchical network structure of an SDN controller with an external system according to an alternative embodiment of the present invention
  • 4(c) is a schematic diagram showing a hierarchical hierarchical network structure of an SDN controller with an external system according to an alternative embodiment of the present invention
  • 4(d) is a schematic diagram showing a hierarchical hierarchical network structure of an SDN controller with an external system according to an alternative embodiment of the present invention
  • 4(e) is a schematic diagram showing a hierarchical hierarchical network structure of an SDN controller with an external system according to an alternative embodiment of the present invention
  • FIG. 5 is a schematic structural diagram of an external system in a hierarchical network of an SDN controller according to an alternative embodiment of the present invention.
  • FIG. 6 is a schematic diagram of a communication interaction process between an external system and an SDN controller according to an alternative embodiment of the present invention.
  • FIG. 7 is a schematic structural view of an external system according to an alternative embodiment of the present invention.
  • FIG. 8 is a structural block diagram of a domain optimization module 710 of an external system according to an alternative embodiment of the present invention.
  • FIG. 9 is a block diagram showing the structure of a network analysis unit 82 of an external system according to an alternative embodiment of the present invention.
  • FIG. 10 is a flow chart of a bandwidth optimization algorithm in accordance with an alternative embodiment of the present invention.
  • FIG. 11 is a flowchart of an algorithm for convergence ratio optimization according to an alternative embodiment of the present invention.
  • FIG. 13 is a flowchart of a path computation algorithm in accordance with an alternative embodiment of the present invention.
  • FIG. 14 is a block diagram showing a hardware configuration of a controller of a policy receiving method according to an embodiment of the present invention.
  • FIG. 15 is a flowchart of a method for receiving a policy according to an embodiment of the present invention.
  • 16 is a flowchart of a policy receiving method according to an alternative embodiment of the present invention.
  • FIG. 17 is a structural block diagram of a policy sending apparatus according to an embodiment of the present invention.
  • FIG. 18 is a structural block diagram of a determining module 172 of a policy sending apparatus according to an embodiment of the present invention.
  • FIG. 19 is a structural block diagram of a transmitting module 174 of a policy sending apparatus according to an embodiment of the present invention.
  • FIG. 20 is a structural block diagram of a policy receiving apparatus according to an embodiment of the present invention.
  • FIG. 21 is a structural block diagram 1 of a receiving module 202 of a policy receiving apparatus according to an embodiment of the present invention.
  • FIG. 22 is a second structural diagram of a receiving module 202 of a policy receiving apparatus according to an embodiment of the present invention.
  • FIG. 23 is a block diagram showing the structure of a controller in accordance with an embodiment of the present invention.
  • FIG. 1 is a hardware structural block diagram of a terminal according to a policy sending method according to an embodiment of the present invention.
  • terminal 10 may include one or more (only one shown) first processor 102 (first processor 102 may include, but is not limited to, a microprocessor MCU (Micro Controller Unit) Unit) (Micro Controller Unit) or a programmable device FPGA (Field Programmable Gate Array) processing device, a first memory 104 configured to store data, and a communication device Functional first transmission device 106.
  • first processor 102 may include, but is not limited to, a microprocessor MCU (Micro Controller Unit) Unit) (Micro Controller Unit) or a programmable device FPGA (Field Programmable Gate Array) processing device
  • first memory 104 configured to store data
  • a communication device Functional first transmission device 106 Functional first transmission device
  • terminal 10 may also include more or fewer components than those shown in FIG. 1, or have a different configuration than that shown in FIG.
  • the first memory 104 can be configured as: a software program and a module for storing application software, such as a program instruction/module corresponding to the policy sending method in the embodiment of the present invention, the first processor 102 can be configured to: store in the first memory by running The software program and modules within 104 are executed to perform various functional applications and data processing, that is, to implement the above method.
  • the first memory 104 can include a high speed random access memory and can also include non-volatile memory, such as one or more magnetic storage devices, flash memory, or other non-volatile solid state memory.
  • the first memory 104 can further include memory remotely located relative to the first processor 102, which can be connected to the terminal 10 over a network. Examples of the above networks include, but are not limited to, the Internet, an intranet, a local area network, Mobile communication networks and combinations thereof.
  • the first transmission device 106 can be configured to receive or transmit data via a network.
  • the network instance described above may include a wireless network provided by a communication provider of the terminal 10.
  • the first transmission device 106 includes a Network Interface Controller (NIC) that can be connected to other network devices through a base station to communicate with the Internet.
  • the first transmission device 106 can be a radio frequency (RF) module configured to communicate with the Internet wirelessly.
  • NIC Network Interface Controller
  • RF radio frequency
  • FIG. 2 is a flowchart of a method for sending a policy according to an embodiment of the present invention. As shown in FIG. 2, the process includes the following steps:
  • Step S202 Determine, according to network resources in the controller control area, a control strategy for the controller to control the network in which the layer is located;
  • Step S204 the determined control policy is sent to the controller.
  • the controller in the hierarchical network is provided with a control strategy for controlling the network in the hierarchy through the external system, thereby improving the operating efficiency of the controller.
  • the controller may control the control strategy of the hierarchical network in a plurality of manners.
  • the control strategy for controlling the hierarchical network of the controller may be determined according to network resources in each controller of each controller of the one or more controllers.
  • the controller is a multi-domain controller, one or more sub-control strategies of one or more sub-controllers within the multi-domain controller control region are acquired, wherein one or more sub-control strategies are used for one Or the plurality of sub-controllers respectively control the hierarchical network, and the sub-controller and the sub-control strategy have a one-to-one correspondence; according to the one or more sub-control strategies, determine a control strategy for the multi-domain controller to control the hierarchical network.
  • the one or more sub-controllers are at least one of the following: a single domain controller, a multi-domain controller.
  • controller A is a multi-domain controller
  • controller B and controller C are controllers in controller A sub-layer (controller A can control controller B and controller C)
  • controller B and Controller C can be a single domain controller or a multi-domain controller.
  • the controller A determines the control strategy for controlling the hierarchical network.
  • the multi-domain controller determines the control strategy of the multi-domain controller to control the hierarchical network from a global perspective, avoids the conflict of network resource usage, and improves the benefit of network resources. Use efficiency.
  • the network resource status is considered from a global perspective to determine a control strategy for the multi-domain controller to control the hierarchical network, thereby avoiding the conflict of network resource usage and improving the utilization efficiency of the network resource.
  • the determined control strategy can be sent to the controller in a variety of ways.
  • the determined control policy can be sent directly to the corresponding controller through the corresponding interface.
  • the controller corresponding to the control policy is a multi-domain controller
  • the control policy of the multi-domain controller and the control policy of one or more sub-controllers in the controller control area are sent together through the interface.
  • a multi-domain controller by which the control policy of one or more sub-controllers in its control area is sent to the corresponding sub-controller through an interface.
  • the orchestrator is used to aggregate multiple control policies; and the control policy after the orchestration is aggregated is sent to the corresponding controller.
  • the control policy of the multi-domain controller and the control policy of one or more sub-controllers in the controller control area may be sent to the orchestrator through the interface.
  • the multi-domain controller is sent by the orchestrator to the multi-domain controller through the interface, and the multi-domain controller sends the control policy of one or more sub-controllers in its control area to the corresponding sub-controller through the interface.
  • the control strategy can also be sent to the corresponding controller through the assembler.
  • the above interface may be a physical interface or a logical interface, and the format may be set as needed.
  • the orchestrator in a case where there are multiple control strategies, the orchestrator is used to aggregate multiple control policies, and the control policies are aggregated by the assembler and then sent to the corresponding
  • the controller facilitates the transmission management of the control strategy and improves the transmission efficiency of the control strategy.
  • control policy may include at least one of the following: a network analysis policy for analyzing network resources, a network optimization policy for optimizing network resources, and a path for a network in a hierarchical network where the controller is located. Calculated path calculation strategy.
  • the foregoing control policy may be determined by: resource attributes of network resources (eg, routes, pseudowires, tunnels, ports, etc.) within the control area of the controller ( For example, a relationship between a pseudowire and a tunnel, a related service type, and the like, grouping network resources to obtain one or more network resource groups; Resource attributes of each network resource group in one or more network resource groups, indicator parameters (eg, bandwidth, traffic, bandwidth utilization, etc.) of the analysis indicators used to analyze the network resources, and predetermined indicator calculation formulas ( For example, a formula for characterizing the proportion of different indicator parameters, determining an index value of the network resource group after the grouping; determining that the network analysis policy is at least one of the following: a preset indicator value alarm interval and an alarm level according to the determined indicator value (for example, serious, important, normal, slight, etc.), generating an alarm record; generating a report according to any one or a combination of the resource grouping object, the resource
  • resource attributes of network resources eg, routes, pseudowires
  • the foregoing control policy is determined by determining a pseudowire, or a tunnel, or a pseudowire and a tunnel for data transmission to be adjusted (by setting a screening condition or Determining a pseudowire, or a tunnel, or a pseudowire and a tunnel in a pre-specified manner; determining a first bandwidth adjustment value for each of the one or more pseudowires, or the tunnel, or the pseudowire and the tunnel, respectively; determining that the control strategy is : according to the determined first bandwidth adjustment value of one or more pseudowires, or tunnels, or each of the pseudowires and the tunnel, the port and each of the one or more pseudowires, or tunnels, or pseudowires and tunnels The association relationship, and the preset bandwidth adjustment value of the port, determining a second bandwidth adjustment value of each of the one or more pseudowires, or the tunnel, or the pseudowire and the tunnel; or determining the port to be adjusted for data transmission Sets (the set of ports can be
  • the preset bandwidth utilization determining the foregoing control strategy: determining, according to the port flow rate of each port bandwidth in the obtained port set, the preset bandwidth guaranteed bandwidth value, and the preset bandwidth utilization, determining each port set The bandwidth convergence ratio of the ports; or, the pseudowires, or tunnels, or pseudowires and tunnels for data transmission to be adjusted (the pseudowires, or tunnels, or pseudowires can be determined by setting filter conditions or pre-specified methods) And a tunnel); respectively determining a first bandwidth adjustment value of each of the one or more pseudowires, or the tunnel, or the pseudowire and the tunnel; determining that the control strategy is: according to the determined one or more pseudowires, or tunnels, Or a first bandwidth adjustment value of each of the pseudowires and the tunnel, an association between the port and one or more pseudowires, or a tunnel, or each of the pseudowires and the tunnel, and a preset bandwidth adjustment value of the port, determining one Or a plurality of pseudowires, or a tunnel, or a
  • the foregoing control policy is determined by: acquiring network resource data in the hierarchical network where the controller is located, and a service path corresponding to the network resource data; determining the control policy is: A calculation reference metric used to determine the path in the hierarchical network where the controller is located (eg, the total length of the tunnel path in the hierarchical network, the flow/capacity distribution balance in the hierarchical network, the total traffic/capacity of the ports in the hierarchical network, and the hierarchical network The split tunnel path score), and the service path corresponding to the network resource data, determine the result of the path calculation.
  • a calculation reference metric used to determine the path in the hierarchical network where the controller is located (eg, the total length of the tunnel path in the hierarchical network, the flow/capacity distribution balance in the hierarchical network, the total traffic/capacity of the ports in the hierarchical network, and the hierarchical network The split tunnel path score), and the service path corresponding to the network resource data, determine the result of the path calculation
  • the foregoing policy sending method and optional implementation manners of the embodiments of the present invention provide a control policy determining manner under different control policy types, and improve the reliability of the control strategy for the controller to control network resources in the hierarchical network. .
  • FIG. 3 is a flowchart of a method for sending a policy according to an alternative embodiment of the present invention. As shown in FIG. 3, the process may include the following steps:
  • Step S302 the external system of the SDN controller of the layer provides a policy layer by layer to the external system of the SDN controller of the first layer, and is unified and aggregated by the external system of the SDN controller of the upper level to obtain an optimal strategy.
  • Step S304 the external system of the SDN controller collects, calculates, analyzes, and obtains the optimized data of the data managed by the SDN controller, and provides the optimized strategy to the SDN controller.
  • FIG. 4(a) to FIG. 4(e) are schematic diagrams showing a hierarchical network structure of an SDN controller with an external system according to an alternative embodiment of the present invention.
  • the relationship between the SDN controller and the external system in the network hierarchy is described from the perspective of the SDN controller.
  • the hierarchical network of the SDN controller with the external system will be described below with reference to FIG. 4(a) to FIG. 4(e), respectively.
  • FIG. 4(a) is a schematic diagram showing a hierarchical hierarchical network structure of an SDN controller with an external system according to an alternative embodiment of the present invention, the network structure being an external system and a single controller (DC/SC)
  • the interaction model of the policy module wherein the ESE is an external strategy element unit and the DC/SC is a DC controller/SC controller.
  • External system and single controller strategy Module interaction can include the following steps:
  • Step S1 The external system interacts with the policy module inside the controller to implement communication between the external system and the controller.
  • FIG. 4(b) is a schematic diagram showing a hierarchical hierarchical network structure of an SDN controller with an external system according to an alternative embodiment of the present invention, the network structure being an interaction model between an external system and a policy module of a single orchestrator , where O is an orchestrator.
  • the interaction of the external system with the policy module of a single orchestrator may include the following steps:
  • Step S1 The external system interacts with the policy module inside the orchestrator to implement communication between the external system and the orchestrator.
  • FIG. 4(c) is a schematic diagram showing a hierarchical hierarchical network structure of an SDN controller with an external system according to an alternative embodiment of the present invention, the network structure being an interaction model between an external system, an orchestrator and a single controller.
  • the three systems can communicate with each other.
  • the external system is only responsible for calculating the strategies within the network hierarchy.
  • the external system, the arrangement of the arranger with a single controller can include the following steps:
  • step S1 the external system communicates the acquired strategy with the orchestrator through a separate interface
  • Step S2 the programmer and the controller of the controller communicate with each other;
  • step S3 the external system directly communicates the obtained policy with the associated controller through a separate interface (this step is optional).
  • steps S1 to S3 may be performed, or only steps S1-S2 or only step S3 may be performed.
  • FIG. 4(d) is a schematic diagram showing a hierarchical hierarchical network structure of an SDN controller with an external system according to an alternative embodiment of the present invention, the network structure being a plurality of external systems, an orchestrator and a plurality of controllers
  • the interaction model has a one-to-many relationship between the arranger and the controller. There is a one-to-many relationship between the orchestrator and the external system, and multiple external systems can communicate with each other.
  • the orchestrator interacting with multiple controllers can include the following steps:
  • step S1 a plurality of external systems interact with a policy module of the orchestrator, and a policy module of the orchestrator is responsible for aggregating policies of multiple external systems;
  • Step S2 the policy module of the orchestrator interacts with multiple controllers, and the strategy of the external system is Reported to each of the plurality of controllers;
  • step S3 the external system directly communicates the obtained policy with the associated controller through a separate interface (this step is optional).
  • steps S1 to S3 may be performed, or only steps S1-S2 or only step S3 may be performed.
  • FIG. 4(e) is a schematic diagram showing a fifth hierarchical structure of an SDN controller with an external system according to an alternative embodiment of the present invention, the network structure being a plurality of external systems, an orchestrator, and an SC, DC
  • the interaction model of the controller is a structural model of the complete deployment of the external system on the SC and DC controllers.
  • the interaction of multiple external systems, orchestrator, and SC, DC controller may include the following steps:
  • step S1 the multiple external systems report the respective policies to the upper-layer external system, and the upper-layer external system completes the aggregation and calculation, and obtains the strategy in the local autonomous domain (within the control region);
  • Step S2 the upper layer external system communicates the acquired strategy with the orchestrator through a separate interface
  • step S3 the orchestrator interacts with the policy module of the SC controller, and reports the strategy of the external system to the SC controller.
  • step S4 the SC controller uses the policy reported in step S3 for network resource management in the local autonomous domain.
  • step S5 the external system directly communicates the obtained policy with the DC controller through a separate interface (this step is optional).
  • step S6 the external system directly communicates the acquired policy with the SC controller through a separate interface (this step is optional).
  • the top-level SC controller can obtain the network resource strategy in the network layer where each network level SDN controller is located in the entire network, and consider the network resources from the perspective of the whole network resources. Quality/capacity constraints, get the optimal strategy, and be used for the management of network resources.
  • the SC controller or the DC controller of the remaining layer can obtain a policy for controlling the network resources in the network layer by interacting with the upper layer SC controller, and the obtained strategy may be a policy obtained in the external system, or may be based on the top layer.
  • the optimal strategy obtained by the SC controller (considering the quality/capacity constraints of network resources from the perspective of network resources), and the strategy for controlling the network in which it is located.
  • step S1 to step S6 may be performed, or only step S1 to step S4 may be performed, or only step S1 and step S6 may be performed, or only step S1 and step S5 to step S6 may be performed.
  • FIG. 5 is a schematic structural diagram of an external system in a hierarchical network of an SDN controller according to an alternative embodiment of the present invention, and describes a relationship of an external system in a network hierarchy from the perspective of an external system of the SDN controller.
  • the network structure of the external system of the SDN controller can be abstracted according to the tree structure of the network layer where the SDN controller is located, and is also a tree structure.
  • the steps of constructing the external system network structure may include:
  • Step S1 The external system of the SDN controller on the child node acquires the policy of the network resource in the network layer, and reports the obtained policy to the external system of the SDN controller on the parent node;
  • Step S2 The SDN controller on the parent node obtains the policy of the SDN controller external system on the child node to which it belongs, re-aggregates the data, calculates the policy in the local autonomous domain, and reports the policy to the parent node of the higher-level parent node. .
  • the external system of the top-level SDN controller can acquire the strategy of the external system of each network level controller of the entire network, and provides the top-level controller for the management of the entire network resources.
  • FIG. 6 is a schematic diagram of a communication interaction process between an external system and an SDN controller according to an alternative embodiment of the present invention. As shown in FIG. 6, the implementation steps of the interaction process may include:
  • Step S602 The controller sends a policy request to the external system, where the request parameters of the policy include a policy configuration parameter, a policy transmission configuration parameter, and a policy optimization configuration parameter.
  • Step S604 the external system sends a synchronization response message to the controller.
  • Step S606 the external system executes according to the policy issued by the controller, and obtains the executed policy result
  • Step S608 after obtaining the policy result, the external system asynchronously sends the policy result to the controller;
  • step S6010 the controller obtains the policy result of the external system and uses the network resource management in the network autonomous domain.
  • Figure 7 is an alternative embodiment of the present invention As shown in FIG. 7, the external system may include: a data acquisition module 72, a data calculation module 74, a data analysis module 76, a data display module 78, and a domain optimization module 710. The system will explain.
  • the data collection module 72 is configured to: collect network resource data in a network autonomous domain (network level) where the SDN controller is located;
  • the data calculation module 74 is configured to: aggregate and calculate data of the data collection module 72 in a time dimension (eg, engraving, hour, day, week, month, year), or a resource dimension, or a time dimension and a resource dimension;
  • a time dimension eg, engraving, hour, day, week, month, year
  • the data analysis module 76 is configured to: analyze data of the data calculation module 74 on a time dimension, a resource dimension, and a user-defined dimension;
  • the data display module 78 is configured to: display the data of the data analysis module 76 in a plurality of dimensions by means of a graph, and export the file to a file format, which is editable;
  • the domain optimization module 710 is configured to: optimize the analysis data of the data analysis module 76 on the entire network to obtain an optimization strategy, including network analysis, network optimization, path calculation, and return the optimization result to the SDN corresponding to the external system. Controller.
  • the data display module 78 is an optional module, and is generally used for displaying data (network resource data, control policy data).
  • FIG. 8 is a structural block diagram of a domain optimization module 710 of an optional external system according to the present invention.
  • the domain optimization module 710 may include: a network analysis unit 82, a network optimization unit 84, and a path calculation unit 86.
  • the network analysis unit 82, the network optimization unit 84, and the path calculation unit 86 are separately described below, respectively, to provide a network analysis policy, a network optimization policy, and a path calculation strategy.
  • the network analysis unit 82 will first be described.
  • 9 is a block diagram showing the structure of a network analysis unit 82 of an external system in accordance with an alternative embodiment of the present invention.
  • the network analysis unit 82 may include: a resource grouping subunit 92, an indicator extension definition subunit 94, an alarm analysis subunit 96, a report definition subunit 98, and a topology display subunit 910, which are combined below.
  • the network analysis unit 82 will be described.
  • the resource grouping sub-unit 92 is configured to group network resources according to resource attributes.
  • Resource Attributes can support multiple attributes, and multiple attributes can specify the level of each attribute to form multiple levels of resource grouping.
  • the indicator extension definition sub-unit 94 is configured to: connect with the resource grouping sub-unit 92, and perform definition definition of network resource grouping. According to the time dimension of the indicator, the convergence type, define an index calculation formula, and accurately and reasonably calculate the resource grouping indicator. value.
  • the alarm analysis sub-unit 96 is configured to be connected to the indicator extension definition sub-unit 94, and set an alarm threshold interval and an alarm level for each time dimension of the resource grouping indicator (for example, it can be classified into severe, important, ordinary, and slight four. Level), when the index calculation result exceeds the threshold interval, generate an alarm record, support chart display, and export function.
  • the report definition sub-unit 98 is configured to: select any object and any number of attributes or indicators according to the defined object and attribute indicators of the resource grouping, generate the report task, and support the timing of the report task, which can be generated at one time.
  • the topology display sub-unit 910 is configured to: generate a corresponding topology map according to the relationship of the network resources, and the topology display supports a custom condition query, an enlargement/reduction, an eagle eye, and the like.
  • the network optimization strategy performed by the network optimization unit 84 may include: a bandwidth optimization algorithm, a convergence ratio optimization algorithm, a bandwidth optimization and a convergence ratio optimization joint optimization algorithm. These algorithms are described separately below.
  • FIG. 10 is a flow diagram of a bandwidth optimization algorithm in accordance with an alternate embodiment of the present invention. As shown in FIG. 10, the process may include the following steps:
  • Step S1002 data screening, preparation.
  • the pseudowires to be adjusted can be determined according to the screening conditions or the specified adjustment objects, tunnels, and can be organized into specific data structures as input to the algorithm.
  • step S1004 the optimal adjustment value is calculated.
  • the optimal value calculation strategy may generally be a fixed amplitude method or a interval median method, wherein the fixed amplitude method is to increase or decrease a fixed amplitude based on the current guaranteed bandwidth, and obtain a guaranteed bandwidth value when the utilization rate is optimal;
  • the interval median method selects a reasonable interval of utilization and calculates the guaranteed bandwidth value according to the median value of the utilization interval.
  • an optimal value calculation strategy may be selected to calculate a pseudowire to be adjusted, Or the optimal adjustment value of the tunnel, or pseudowire and tunnel, the optimal adjustment value can be used as an important reference value for the final adjustment value.
  • step S1006 the adjustment packet is divided.
  • the tunnel to be adjusted may be divided into a plurality of tunnel segments to be adjusted according to constraints, such as the service of the pseudowire, the pseudowire protection group, the characteristics of the working tunnel and the protection tunnel.
  • step S1008 the adjustment value of each group is adjusted according to the constraint adjustment.
  • the optimal adjustment value in the tunnel grouping can be adjusted according to the same constraint condition of the same grouping adjustment value, so that the adjustment values are consistent.
  • Step S1010 constructing an optimal adjustment value of the matrix algorithm.
  • the construction method of the A matrix can be: the behavior of the matrix is adjusted by the tunnel on each port, and the column of the matrix is the adjustment value of each tunnel. If the tunnel does not pass a certain port, the adjustment value is filled with 0.
  • step S1012 the result is output.
  • the calculation result calculated in step S1010 can be organized into an output result that meets the user's requirements, and the algorithm flow ends.
  • the convergence ratio can be obtained as follows:
  • the flow rate S in the above formula may include not limited to the following meanings:
  • the values are the mean, peak, and valley values of TopN or LastN.
  • the calculation formula of the convergence ratio and the calculation formula of the convergence ratio derivation formula is in the value interval greater than 0 and not exceeding 1.
  • the convergence ratio can define a minimum value ⁇ min greater than 0 and not exceeding 1. .
  • the full utilization ratio can be a management expectation value, and the manager hopes that the utilization rate achieved by the port in the future to ensure that the bandwidth is fully matched is in an interval [U min , U max ], and the best is the interval median value.
  • the minimum K can be configured as an early warning threshold, denoted as K 0 .
  • ⁇ b Calculated ⁇ according to the calculation formula of the convergence ratio derivation formula, when the full utilization ratio U f is taken as the interval median value.
  • ⁇ 0 Calculated according to the calculation formula of the convergence ratio and the ratio of the remaining guaranteed bandwidth, and takes C x and ⁇ calculated when K is K 0 .
  • FIG. 11 is a flowchart of an algorithm for convergence ratio optimization according to an alternative embodiment of the present invention. As shown in FIG. 11, the process includes the following steps:
  • Step S1102 data acquisition, preparation.
  • the set of ports that meet the requirements can be filtered according to the filtering conditions or specified adjustment objects, and can be organized into specific data structures as input to the algorithm.
  • step S1104 the collected data is aggregated to a long period.
  • the data in step S1102 can be aggregated to a long period.
  • the flow rate polymerization value is obtained within a certain period of time.
  • the granularity of data collection is once every 15 minutes, and the gateway can aggregate the collected data as needed to aggregate into long periods, such as one day, one week, one month, or one year.
  • the cycle time can be set as needed.
  • step S1106 the port convergence ratio is calculated.
  • the guaranteed bandwidth utilization rate V in a certain period of time can be calculated according to the foregoing formula for ensuring the bandwidth C and the flow rate aggregation value obtained in step S1104, and then calculating the bandwidth utilization ratio V in a certain period of time; and then calculating the Nangong city and related by the formula convergence ratio derivation formula
  • the condition calculates the convergence ratio ⁇ , and the method can be:
  • step S1108 the remaining guaranteed bandwidth accounts for the early warning judgment and push.
  • the maximum configurable guaranteed bandwidth C x can be calculated by the calculation formula of the aforementioned convergence ratio; then the remaining guaranteed bandwidth ratio K can be calculated by the formula F.
  • the calculated K is compared with the pre-configured minimum remaining guaranteed bandwidth ratio K 0 (threshold), and the warning is lower than K 0 , and the warning may be presented on the interface or pushed to the designated network terminal/server of the administrator.
  • Step S1110 full utilization utilization warning judgment and push.
  • the warning can be presented on the interface or pushed to the administrator's designated networked terminal/server.
  • step S1112 the result is output.
  • the calculation result calculated in step S1110 can be organized into an output result that meets the user's requirements, and the algorithm flow ends.
  • FIG. 12 is a flowchart of a joint optimization algorithm for bandwidth optimization and convergence ratio optimization according to an alternative embodiment of the present invention. As shown in FIG. 12, the process may include the following steps:
  • Step S1202 data screening, preparation.
  • the pseudo-line, tunnel, and port object set to be adjusted may be determined according to the filtering condition of the joint optimization configuration or the specified adjustment object, and may be organized into a specific data structure as an input of the algorithm.
  • step S1204 steps S1004 to S1010 of the bandwidth optimization algorithm are executed.
  • Steps S1004 to S1010 of the bandwidth optimization algorithm may be executed by taking the pseudowire and the tunnel object set in step S1202 as inputs.
  • Step S1206 outputting a pseudowire and a tunnel adjustment result of the bandwidth algorithm.
  • the port state table corresponding to the output result is obtained according to the bandwidth optimized pseudo line in step S1204, and the port object set to be adjusted prepared by the data in step S1202 is used as an input of the convergence ratio optimization algorithm.
  • step S1208 steps S1104 to S1110 of the convergence ratio optimization algorithm are executed.
  • step S1206 can be performed to perform steps S1104 to S1110 of the convergence ratio optimization algorithm.
  • step S1210 the joint optimization result is output.
  • the bandwidth optimization output result of step S1204 and the convergence ratio optimization result of step S1208 may be organized into a result that meets the user's requirements, and the algorithm flow ends.
  • FIG. 13 is a flowchart of a path calculation algorithm according to an alternative embodiment of the present invention. As shown in FIG. 13, the process may include the following steps:
  • Step S1302 Acquire full network resource data.
  • Obtaining network-wide resource data may include: obtaining links, tunnels, port resources, performance data, and organizing into specific data structures as input to the algorithm.
  • Step S1304 performing dimension reduction processing on the entire network resource data.
  • CSPF Constrained Shortest Path First
  • the node/link/end-to-end traffic/quality/capacity constraint conditions may be used, and the whole network resources are divided into several subgroups in the priority, the working protection tunnel relationship, and the relationship type grouping of the tunnel. To achieve the purpose of reducing the computational dimensions and complexity.
  • step S1306 the path that does not meet the condition is screened out.
  • Screening for paths that do not meet the criteria may include: paths under certain individual tunnel rigid constraints, and tunnel path combinations under full network rigid constraints.
  • step S1308 an indicator is introduced as a path calculation reference.
  • the indicator is introduced as a path calculation reference.
  • the indicators may include: the total length of the entire network tunnel path, the network-wide traffic/capacity distribution balance, the total network port total traffic/capacity, and the entire network individual tunnel path score. Using the index calculation can easily obtain the optimal path among multiple paths of a certain service, and eliminate the trouble of equal-cost path screening.
  • step S1310 an optimal path result is output.
  • step S1308 The optimal path obtained in step S1308 can be organized into a result output that meets the user's requirements, and the algorithm flow ends.
  • Each SDN controller has an independent external system to provide strategies for the SDN controller.
  • the strategy is complete, comprehensive, and has an independent interface with the SDN controller. It is free from external factors and has no dependencies.
  • portions of the embodiments of the present invention that are essential or contributing may be embodied in the form of a software product stored in a storage medium (such as Read-Only Memory (ROM)/random The access memory (RAM, Random Access Memory), the disk, the optical disk, includes a plurality of instructions for causing a terminal device (which may be a mobile phone, a computer, a server, a network device, etc.) to perform the embodiments of the present invention. Policy sending method.
  • a terminal device which may be a mobile phone, a computer, a server, a network device, etc.
  • the embodiment of the invention further provides a computer readable storage medium storing computer executable instructions, which are implemented when the computer executable instructions are executed.
  • FIG. 14 is a hardware block diagram of a controller of the policy receiving method according to an embodiment of the present invention.
  • the controller 140 may include one or more (only one shown in the figure) second processor 1402 (the second processor 1402 may include, but is not limited to, a microprocessor MCU or a programmable logic device FPGA, etc.
  • the processing device the second memory 1404 configured to store data, and the second transmission device 1406 configured as a communication function.
  • the structure shown in FIG. 14 is merely illustrative and does not limit the structure of the above electronic device.
  • the controller 140 may also include more or less components than those shown in FIG. 14, or have a different configuration than that shown in FIG.
  • the second memory 1404 can be configured to: store a software program of the application software and a module, such as a program instruction/module corresponding to the policy sending method in the embodiment of the present invention, and the second processor 1402 can be configured to: store in the second memory by running The software program and module in 1404, thereby performing various functional applications and data processing, that is, implementing the above method.
  • the second memory 1404 can include a high speed random access memory, and can also include a non-volatile memory, such as one or more magnetic storage devices, flash memory, Or other non-volatile solid state memory.
  • the second memory 1404 can further include memory remotely located relative to the second processor 1402, which can be connected to the controller 140 via a network. Examples of such networks include, but are not limited to, the Internet, intranets, local area networks, mobile communication networks, and combinations thereof.
  • the second transmission device 1406 can be configured to receive or transmit data via a network.
  • the network instance described above may include a wireless network provided by a communication provider of the controller 140.
  • the second transmission device 1406 includes a Network Interface Controller (NIC) that can be connected to other network devices through the base station to communicate with the Internet.
  • the second transmission device 1406 can be a radio frequency (RF) module configured to communicate with the Internet wirelessly.
  • NIC Network Interface Controller
  • RF radio frequency
  • FIG. 15 is a flowchart of a method for receiving a policy according to an embodiment of the present invention. As shown in FIG. 15, the process includes the following steps:
  • Step S1502 Receive a control strategy for controlling a network in which the layer is located;
  • Step S1504 Control the network in which the layer is located according to the received control policy.
  • the network at the hierarchical level is controlled, and the operating efficiency of the controller is improved.
  • the received control strategy can take a variety of forms.
  • the received control policy may be a control policy generated according to network resources in the control area of the controller.
  • the received control policy may be a control policy for controlling the hierarchical network generated by the multi-domain controller generated by one or more sub-control policies of one or more sub-controllers in the multi-domain controller, where the one or The plurality of sub-control strategies are used to control the hierarchical network, and the sub-controller and the sub-control strategy have a one-to-one correspondence.
  • the one or more sub-controllers may be at least one of the following: a single domain controller and a multi-domain controller.
  • the control strategy for receiving is a control strategy for controlling the hierarchical network generated by the multi-domain controller generated by one or more sub-control policies respectively controlled by one or more sub-controllers in the multi-domain controller. Because the generated control strategy considers the control strategies of multiple sub-controllers in the multi-domain controller control area, the whole network resources are controlled from a global perspective, which avoids conflicts between different sub-controller resource controls and improves resource allocation. rationality.
  • the sub-controller controls the multi-domain controller generated by one or more sub-control strategies respectively controlled by the hierarchical network to control the hierarchical network, and the generated control strategy considers multiple sub-controls in the multi-domain controller control area
  • the control strategy of the device controls the resources of the whole network from a global perspective, avoids conflicts between resource control of different sub-controllers, and improves the rationality of resource allocation.
  • control strategy for controlling the network in which the hierarchy is located may be received in a variety of manners.
  • multiple controllers may respectively receive, through an interface, a policy that is sent by an external system and that is controlled by the controller according to network resources in the area controlled by the controller.
  • the receiving compiler obtains a control strategy obtained by aggregating a plurality of control policies.
  • the receiving orchestrator obtains the control strategy after converging multiple control policies, which can conveniently manage the control strategy and improve the efficiency of the control strategy.
  • the control controller obtains a control strategy obtained by aggregating a plurality of control policies, and the control strategy is aggregated by the assembler and sent to the corresponding controller, which is convenient for control.
  • the transmission management of the policy improves the transmission efficiency of the control strategy.
  • control policy may include at least one of the following: a network analysis policy for analyzing network resources, a network optimization policy for optimizing network resources, and a path for a network in a hierarchical network where the controller is located. Calculated path calculation strategy.
  • FIG. 16 is a flowchart of a method for receiving a policy according to an alternative embodiment of the present invention. As shown in FIG. 16, the process may include the following steps:
  • Step S1602 Receive a control strategy after the assembler aggregates the multiple control policies.
  • the received control policy may include at least one of the following: a network analysis policy, a network optimization policy, and a path calculation policy.
  • Step S1604 Determine, according to the received control policy, a control strategy for each sub-controller in the control area to control the hierarchical network in which it is located.
  • the SC controller can determine, according to the received control strategy, a control strategy of each sub-controller in the control area of the SC controller for the hierarchical network in which it is located.
  • the SC controller may include: a control strategy for controlling the hierarchical network of the SC controller and the SC controller according to the received control policy.
  • the control strategy of each sub-controller in the control area for its hierarchical network, or the control strategy that the SC controller controls its hierarchical network and the control strategy generated by the SC controller to control the hierarchical network it generates SC control The rules governing the control policy of each sub-controller in the control area.
  • the rules herein can also be determined by the SC controller on the SC controller according to the network resource status in the control area of each sub-controller in its control area.
  • Step S1606 Send the determined control policy of each sub-controller to the corresponding sub-controller.
  • the SC controller may transmit the determined control policy of the sub-controller to the sub-controller.
  • the SC controller may determine the control strategy of the multi-domain controller and the control strategy of one or more sub-controllers within the multi-domain controller control area (or generate The multi-domain controller controls the rules of one or more sub-controllers within the control region to send the sub-controller together.
  • Step S1608 Control the network in which the layer is located according to the received control policy.
  • the control strategy of the SDN controller takes into account the constraints of the whole network, and the optimized strategy is in line with the actual requirements of the existing network.
  • the embodiment of the invention further provides a computer readable storage medium storing computer executable instructions, which are implemented when the computer executable instructions are executed.
  • a policy sending apparatus is also provided, which is configured to implement the foregoing embodiments and optional implementation manners, and has not been described again.
  • the term "module” can implement any one or combination of software and hardware for a predetermined function.
  • the devices described in the following embodiments may be implemented in software, hardware, or a combination of software and hardware, is also possible and contemplated.
  • FIG. 17 is a structural block diagram of a policy sending apparatus according to an embodiment of the present invention. As shown in FIG. 17, the apparatus includes: a determining module 172 and a sending module 174. The device will be described below.
  • the determining module 172 is configured to: determine, according to network resources in the controller control area, a control policy for the controller to control the hierarchical network; the sending module 174 is configured to: connect to the determining module 172, and send the determined control policy. Give the controller.
  • FIG. 18 is a structural block diagram of a determining module 172 of a policy sending apparatus according to an embodiment of the present invention. As shown in FIG. 18, the determining module 172 may include an obtaining unit 182 and a determining unit 184. The determination module 172 will be described below.
  • the obtaining unit 182 is configured to: acquire one or more sub-control policies of one or more sub-controllers in the multi-domain controller control area, where the controller is a multi-domain controller, wherein the one or more sub-controls
  • the policy is used to control the network in the hierarchy, and the sub-controller has a one-to-one correspondence with the sub-control policy.
  • the determining unit 184 is configured to be connected to the acquiring unit 182, and determine the multi-domain according to the one or more sub-control policies.
  • FIG. 19 is a structural block diagram of a sending module 174 of a policy sending apparatus according to an embodiment of the present invention.
  • the sending module 174 may include: a converging unit 192 and a sending unit 194.
  • the transmitting module 174 will be described below.
  • the aggregation unit 192 is configured to: when the control policy is multiple, use the orchestrator to aggregate multiple control policies; and the sending unit 194 is configured to: connect to the aggregation unit 192, and combine the control strategies of the orchestrator Send to the controller.
  • control policy may include at least one of the following: a network analysis policy, and a network optimization Strategy, path calculation strategy.
  • modules may be implemented by software or hardware.
  • the foregoing may be implemented by, but not limited to, the above modules are all located in the same processor; or the above modules are in any combination. They are located in different processors.
  • a policy receiving apparatus is also provided, which is configured to implement the foregoing embodiments and optional implementation manners, and has not been described again.
  • the term "module” can implement any one or combination of software and hardware for a predetermined function.
  • the devices described in the following embodiments may be implemented in software, hardware, or a combination of software and hardware, is also possible and contemplated.
  • FIG. 20 is a structural block diagram of a policy receiving apparatus according to an embodiment of the present invention. As shown in FIG. 20, the apparatus includes: a receiving module 202 and a control module 204. The device will be described below.
  • the receiving module 202 is configured to: receive a control policy for controlling the network in which the layer is located; the control module 204 is configured to: connect to the receiving module 202, and control the layer network according to the received control policy.
  • FIG. 21 is a structural block diagram of a receiving module 202 of a policy receiving apparatus according to an embodiment of the present invention. As shown in FIG. 21, the receiving module 202 may include: a first receiving unit 212. The receiving module 202 will be described below.
  • the first receiving unit 212 is configured to: receive, by the one or more sub-control policies of one or more sub-controllers in the control area of the multi-domain controller, a control policy of the multi-domain controller to control the network in which the layer is located, where One or more sub-control strategies are used to control the network in the hierarchy, and the sub-controller has a one-to-one correspondence with the sub-control policies, and one or more sub-controllers are at least one of the following: a single domain controller, a multi-domain controller .
  • FIG. 22 is a structural block diagram 2 of a receiving module 202 of a policy receiving apparatus according to an embodiment of the present invention. As shown in FIG. 22, the receiving module 202 may include: a second receiving unit 222. The receiving module 202 will be described below.
  • the second receiving unit 222 is configured to: when the control policy is multiple, receive the control policy obtained by the orchestrator after collecting the multiple control policies.
  • modules may be implemented by software or hardware.
  • the foregoing may be implemented by, but not limited to, the above modules are all located in the same processor; or the above modules are in any combination. They are located in different processors.
  • FIG. 23 is a structural block diagram of a controller according to an embodiment of the present invention. As shown in FIG. 23, the controller includes the policy receiving device 232 in the above embodiment.
  • Embodiments of the present invention also provide a storage medium.
  • the foregoing storage medium may be configured to store program code for performing the following steps:
  • S1 determining, according to network resources in the controller control area, a control strategy for the controller to control the network in which the layer is located;
  • the storage medium is further arranged to store program code for performing the following steps:
  • control strategy for determining that the controller controls the network in the hierarchy may include:
  • controller is a multi-domain controller, acquire one or more sub-control policies of one or more sub-controllers in the multi-domain controller control area, where one or more sub-control policies are used for the
  • the network is separately controlled, and the sub-controller and the sub-control strategy have a one-to-one correspondence;
  • S2 Determine, according to the one or more sub-control policies, a control policy for controlling the multi-domain controller to control the hierarchical network, where the one or more sub-controllers are at least one of the following: a single domain controller, and a multi-domain controller.
  • the storage medium is further configured to store program code for performing the following steps: the above control policy comprises at least one of: a network analysis policy for analyzing network resources, a network for optimizing network resources An optimization strategy, a path calculation strategy for calculating a path in a hierarchical network where the controller is located.
  • the above control policy comprises at least one of: a network analysis policy for analyzing network resources, a network for optimizing network resources An optimization strategy, a path calculation strategy for calculating a path in a hierarchical network where the controller is located.
  • the storage medium is further arranged to store program code for performing the following steps:
  • control strategies that determine the controller's control over the network in which it is located include:
  • control policy is at least one of the following: generating an alarm record according to the determined indicator value, the preset indicator value alarm interval, and the alarm level; and according to any one or a combination of the resource grouping object, the resource attribute, and the analysis indicator, Generate a report; determine the topological relationship of network resources in the controller control area according to the association relationship of the network resources.
  • the storage medium is further arranged to store program code for performing the following steps:
  • control strategy for determining the controller to control the hierarchical network includes:
  • S1 determining a pseudowire, or a tunnel, or a pseudowire and a tunnel for data transmission to be adjusted; respectively determining a first bandwidth adjustment value of each of the one or more pseudowires, or the tunnel, or the pseudowire and the tunnel; Determining the above control strategy as: a first bandwidth adjustment value according to the determined one or more pseudowires, or a tunnel, or each of the pseudowires and the tunnel, the port and one or more pseudowires, or tunnels, or pseudowires Determining the relationship between each of the tunnels and the preset bandwidth adjustment value of the port, and determining a second bandwidth adjustment value of each of the one or more pseudowires, or the tunnel, or the pseudowire and the tunnel;
  • S2 determining a set of ports to be adjusted for data transmission; respectively obtaining a port flow rate of each port in the port set, a preset bandwidth guaranteed bandwidth value, and a preset bandwidth utilization; determining the foregoing control strategy is: Obtaining the port flow rate of each port bandwidth in the obtained port set, the preset bandwidth guaranteed bandwidth value, and the preset bandwidth utilization, and determining the bandwidth convergence ratio of each port in the port set;
  • the storage medium is further arranged to store program code for performing the following steps:
  • control strategy for determining the controller to control the hierarchical network includes:
  • the foregoing control strategy is determined to: determine a path calculation result according to a calculation reference indicator used to determine a path in the hierarchical network where the controller is located, and a service path corresponding to the network resource data.
  • the foregoing storage medium may include, but not limited to, a USB flash drive, a Read-Only Memory (ROM), a Random Access Memory (RAM), a mobile hard disk, and a magnetic memory.
  • ROM Read-Only Memory
  • RAM Random Access Memory
  • a mobile hard disk e.g., a hard disk
  • magnetic memory e.g., a hard disk
  • the processor executes, according to the stored program code in the storage medium, determining, according to the network resource in the controller control area, a control strategy for the controller to control the hierarchical network; and determining the determined control The policy is sent to the controller.
  • the processor executes according to the stored program code in the storage medium: acquiring one or more sub-controllers in the multi-domain controller control area if the controller is a multi-domain controller One or more sub-control strategies, wherein one or more sub-control strategies are used to separately control the hierarchical network, and the sub-controller and the sub-control strategy have a one-to-one correspondence; and according to the acquired one or more sub-control strategies, determine A control strategy for controlling a hierarchical network by a multi-domain controller, wherein one or more sub-controllers are at least one of the following: a single domain controller, and a multi-domain controller.
  • the processor is executed according to the stored program code in the storage medium: the control policy includes at least one of the following: a network analysis policy for analyzing the network resource, and is used to optimize the network resource. Network optimization strategy, a path calculation strategy for calculating the path in the hierarchical network where the controller is located.
  • the processor performs, according to the stored program code in the storage medium, in a case that the control policy includes a network analysis policy, determining, according to network resources in the controller control area, the controller pair level
  • the control strategy of the network control includes: grouping network resources according to resource attributes of network resources in the controller control area to obtain one or more network resource groups; according to each of the grouped one or more network resource groups The network resource resource attribute of the network resource group, the indicator parameter of the analysis indicator for analyzing the network resource, and the predetermined index calculation formula, determining the index value of the network resource group after the grouping; determining that the foregoing control strategy is at least A: generating an alarm record according to the determined indicator value, the preset indicator value alarm interval and the alarm level; generating a report according to any one or a combination of the resource grouping object, the resource attribute, and the analysis index; according to the network resource association relationship , determining the topology of the network resources in the controller control area .
  • the processor is executed according to the stored program code in the storage medium: in a case that the control policy includes a network optimization policy, determining, according to network resources in the controller control area, the controller pair level
  • the control strategy of the network control includes: determining a pseudowire for data transmission to be adjusted, or a tunnel, or a pseudowire and a tunnel; respectively determining one or more pseudowires, or tunnels, or each of the pseudowires and the tunnels a first bandwidth adjustment value; determining that the control strategy is: a first bandwidth adjustment value according to the determined one or more pseudowires, or a tunnel, or each of the pseudowires and the tunnel, the port and one or more pseudowires, or a tunnel, or an association relationship between each of the pseudowires and the tunnel, and a preset bandwidth adjustment value of the port, determining a second bandwidth adjustment value of each of the one or more pseudowires, or the tunnel, or the pseudowire and the tunnel; or Determining a set of ports to be adjusted for data transmission; respectively
  • Ratio determine the pseudowire, or tunnel, or pseudowire and tunnel for data transmission to be adjusted; determine one or more pseudowires, or tunnels, or pseudowires and tunnels, respectively. a first bandwidth adjustment value; determining the foregoing control strategy as: a first bandwidth adjustment value according to the determined one or more pseudowires, or a tunnel, or each of the pseudowires and the tunnel, the port and one or more pseudowires Or a tunnel, or an association between each of the pseudowires and the tunnel, and a preset bandwidth adjustment value of the port, determining a second bandwidth adjustment value for each of one or more pseudowires, or tunnels, or pseudowires and tunnels Determining a set of ports to be adjusted for data transmission; respectively obtaining a port flow rate of each port in the port set, a preset bandwidth guaranteed bandwidth value, and a preset bandwidth utilization; determining the above control strategy is: obtaining according to The port flow rate of each port bandwidth in the port set, the preset bandwidth guaranteed bandwidth value, and the preset bandwidth utilization determine
  • the processor performs, according to the stored program code in the storage medium, in a case that the control policy includes a path calculation policy, determining, according to network resources in the controller control area, the controller pair level
  • the control strategy of the network control includes: acquiring network resource data in the hierarchical network where the controller is located, and a service path corresponding to the network resource data; determining the foregoing control strategy is: calculating a reference indicator according to the path used to determine the hierarchical network of the controller And the service path corresponding to the network resource data, and the result of the path calculation is determined.
  • Embodiments of the present invention also provide another storage medium.
  • the foregoing storage medium may be configured to store program code for performing the following steps:
  • the storage medium is further arranged to store program code for performing the following steps:
  • control strategies for receiving control over the network in which they are located include:
  • a control strategy for controlling a hierarchical network by a multi-domain controller generated according to one or more sub-control policies of one or more sub-controllers in a multi-domain controller control area wherein one or more sub-control strategies are used for The hierarchical network is separately controlled, and the sub-controller and the sub-control strategy have a one-to-one correspondence, and one or more sub-controllers are at least one of the following: a single domain controller and a multi-domain controller.
  • the storage medium is further arranged to store program code for performing the following steps:
  • control strategies for receiving control over the network in which they are located include:
  • the receiving controller obtains a control strategy obtained by aggregating a plurality of control policies.
  • the foregoing storage medium may include, but not limited to, a USB flash drive, a Read-Only Memory (ROM), a Random Access Memory (RAM), a mobile hard disk, and a magnetic memory.
  • ROM Read-Only Memory
  • RAM Random Access Memory
  • a mobile hard disk e.g., a hard disk
  • magnetic memory e.g., a hard disk
  • the processor performs, according to the stored program code in the storage medium, receiving a control policy for controlling the network in which the layer is located; and controlling the layer network according to the received control policy.
  • the processor is executed according to the stored program code in the storage medium: receiving a control policy for controlling the network in which the layer is located includes: receiving one or more sub-controllers according to the multi-domain controller A control strategy for controlling a hierarchical network by a multi-domain controller generated by one or more sub-control strategies of the controller, wherein one or more sub-control strategies are used to separately control the hierarchical network, the sub-controller and the sub-control strategy For a one-to-one correspondence, one or more sub-controllers are at least one of the following: a single domain controller, a multi-domain controller.
  • the processor performs, according to the stored program code in the storage medium, the receiving the control policy for controlling the network in which the layer is located includes: receiving the orchestrator in a case where the control policy is multiple A control strategy obtained by converging multiple control strategies.
  • modules or steps can be implemented in a general-purpose computing device, which can be centralized on a single computing device or distributed over a network of multiple computing devices, optionally
  • the program code executable by the computing device can be implemented, such that they can be stored in a storage device for execution by the computing device, and in some cases, the illustrated or described
  • the steps are either made separately into different integrated circuit modules, or a plurality of modules or steps are made into a single integrated circuit module.
  • embodiments of the invention are not limited to any specific combination of hardware and software.
  • all or part of the steps of the above embodiments may also be implemented by using an integrated circuit. These steps may be separately fabricated into individual integrated circuit modules, or multiple modules or steps may be fabricated into a single integrated circuit module. achieve.
  • the devices/function modules/functional units in the above embodiments may be implemented by a general-purpose computing device, which may be centralized on a single computing device or distributed over a network of multiple computing devices.
  • the device/function module/functional unit in the above embodiment When the device/function module/functional unit in the above embodiment is implemented in the form of a software function module and sold or used as a stand-alone product, it can be stored in a computer readable storage medium.
  • the above mentioned computer readable storage medium may be a read only memory, a magnetic disk or an optical disk or the like.
  • the controller in the hierarchical network is provided with a control strategy for controlling the network in the hierarchy through the external system. Since the control strategy of the controller is provided by the external system, the policy management is reduced to the controller. The impact of efficiency, therefore, can improve the efficiency of the controller.

Abstract

A method for sending a strategy comprises: according to network resources in a control area of a controller, determining a control strategy of the controller for controlling the network in a level where the controller is located; and sending the determined control strategy to the controller.

Description

策略发送、接收方法、装置及控制器Policy transmission and reception method, device and controller 技术领域Technical field
本申请涉及但不限于通信领域,尤其是一种策略发送、接收方法、装置及控制器。The present application relates to, but is not limited to, the field of communications, and in particular, to a method for transmitting and receiving a policy, a device, and a controller.
背景技术Background technique
软件定义网络(Software Defined Network,简称为SDN)是一种新型的网络架构,基于软件方式来管理网络硬件。它的网络结构是分层次的,在每个网络层次中都有一个控制器,控制器分为超级控制器(Super Controller,简称为SC)、域控制器(Domain Controller,简称为DC)不同层次。SC、DC按功能特性又分为多个子层次,每个层次控制器的作用是:资源抽象,业务管理,策略管理,告警管理,性能管理。策略管理包括:路由约束,路由策略,保护策略等。Software Defined Network (SDN) is a new type of network architecture that manages network hardware based on software. Its network structure is hierarchical, and there is a controller in each network level. The controller is divided into different levels of super controller (Super Controller, referred to as SC) and domain controller (Domain Controller, DC for short). . SC and DC are further divided into multiple sub-layers according to their functional characteristics. The functions of each level controller are: resource abstraction, service management, policy management, alarm management, and performance management. Policy management includes: routing constraints, routing policies, protection policies, and so on.
发明内容Summary of the invention
以下是对本文详细描述的主题的概述。本概述并非是为了限制权利要求的保护范围。The following is an overview of the topics detailed in this document. This Summary is not intended to limit the scope of the claims.
策略管理可以作为一个子模块,内置于SDN控制器中,与控制器的其他模块存在耦合,导致控制器运行效率较低。Policy management can be used as a sub-module, built into the SDN controller, coupled with other modules of the controller, resulting in lower efficiency of the controller.
本发明实施例提供了一种策略发送、接收方法、装置及控制器,以提高控制器运行效率。The embodiment of the invention provides a method for transmitting and receiving a policy, a device and a controller, so as to improve the operating efficiency of the controller.
本发明实施例提供了一种策略发送方法,包括:根据控制器控制区域内的网络资源,确定所述控制器对所在层次网络进行控制的控制策略;将确定的所述控制策略发送给所述控制器。An embodiment of the present invention provides a policy sending method, including: determining, according to network resources in a controller control area, a control policy for controlling, by the controller, a hierarchical network; and sending the determined control policy to the Controller.
在一种示例性实施方式中,根据控制器控制区域内的所述网络资源,确定所述控制器对所在层次网络进行控制的所述控制策略包括:在所述控制器为多域控制器的情况下,获取所述多域控制器控制区域内的一个或多个子控 制器的一个或多个子控制策略,其中,所述一个或多个子控制策略用于对所在层次网络分别进行控制,所述子控制器与所述子控制策略为一一对应关系;根据所述一个或多个子控制策略,确定所述多域控制器对所在层次网络进行控制的控制策略,其中,所述一个或多个子控制器为以下至少之一:单域控制器、多域控制器。In an exemplary embodiment, determining, according to the network resource in the controller control area, the control policy that the controller controls the layer network in which the controller is located includes: the controller is a multi-domain controller In the case of acquiring one or more sub-controls in the control area of the multi-domain controller One or more sub-control strategies of the controller, wherein the one or more sub-control policies are used to separately control the network in which the nodes are located, and the sub-controllers have a one-to-one correspondence with the sub-control policies; The one or more sub-control policies determine a control policy of the multi-domain controller to control the hierarchical network, wherein the one or more sub-controllers are at least one of the following: a single domain controller, and a multi-domain controller.
在一种示例性实施方式中,所述控制策略包括以下至少之一:用于对网络资源进行分析的网络分析策略、用于对网络资源进行优化的网络优化策略、用于对所述控制器所在层次网络中的路径进行计算的路径计算策略。In an exemplary embodiment, the control policy includes at least one of: a network analysis policy for analyzing network resources, a network optimization policy for optimizing network resources, for using the controller The path calculation strategy for calculating the path in the hierarchical network.
在一种示例性实施方式中,在所述控制策略包括所述网络分析策略的情况下,根据所述控制器控制区域内的所述网络资源,确定所述控制器对所在层次网络进行控制的所述控制策略包括:根据所述控制器控制区域内的所述网络资源的资源属性,对所述网络资源进行分组,得到一个或多个网络资源组;根据分组后的一个或多个网络资源组中每个网络资源组的网络资源资源属性,用于对网络资源进行分析的分析指标的指标参数,以及预定的指标计算公式,确定分组后的该网络资源组的指标值;确定所述控制策略为以下至少之一:根据确定的所述指标值,预置的指标值告警区间以及告警级别,生成告警记录;根据资源分组的对象、所述资源属性和所述分析指标中任意一个或其组合,生成报表;根据所述网络资源的关联关系,确定所述控制器控制区域内的所述网络资源的拓扑关系。In an exemplary embodiment, if the control policy includes the network analysis policy, determining, according to the network resource in the controller control area, that the controller controls the network in which the layer is located The control policy includes: grouping the network resources according to resource attributes of the network resources in the controller control area to obtain one or more network resource groups; and according to the grouped one or more network resources The network resource resource attribute of each network resource group in the group, the indicator parameter of the analysis indicator used for analyzing the network resource, and the predetermined index calculation formula, determining the index value of the network resource group after the grouping; determining the control The policy is at least one of the following: generating an alarm record according to the determined indicator value, a preset indicator value alarm interval, and an alarm level; according to any one of a resource grouping object, the resource attribute, and the analysis indicator or Combining, generating a report; determining, according to the association relationship of the network resources, the control area in the controller Said topology network resources.
在一种示例性实施方式中,在所述控制策略包括所述网络优化策略的情况下,根据所述控制器控制区域内的所述网络资源,确定所述控制器对所在层次网络进行控制的所述控制策略包括:确定待调整的用于数据传输的伪线、或隧道、或伪线和隧道;分别确定一个或多个所述伪线、或隧道、或伪线和隧道中每一个的第一带宽调整值;确定所述控制策略为:根据确定的一个或多个所述伪线、或隧道、或伪线和隧道中每一个的所述第一带宽调整值,端口与一个或多个所述伪线、或隧道、或伪线和隧道中每一个的关联关系,以及所述端口的预置带宽调整值,确定一个或多个所述伪线、或隧道、或伪线和隧道中每一个的第二带宽调整值;或,确定待调整的用于数据传输的端口集合;分别获取所述端口集合中每个端口的端口流速、预置的带宽保证的带 宽值,以及预置的带宽利用率;确定所述控制策略为:根据获取的所述端口集合中每个端口带宽的所述端口流速,预置的带宽保证的所述带宽值,以及预置的所述带宽利用率,确定所述端口集合中每个端口的带宽收敛比;或,确定待调整的用于数据传输的伪线、或隧道、或伪线和隧道;分别确定一个或多个所述伪线、或隧道、或伪线和隧道中每一个的第一带宽调整值;确定所述控制策略为:根据确定的一个或多个所述伪线、或隧道、或伪线和隧道中每一个的所述第一带宽调整值,端口与一个或多个所述伪线、或隧道、或伪线和隧道中每一个的关联关系,以及所述端口的预置带宽调整值,确定一个或多个所述伪线、或隧道、或伪线和隧道中每一个的第二带宽调整值;确定待调整的用于数据传输的端口集合;分别获取所述端口集合中每个端口的端口流速、预置的带宽保证的带宽值,以及预置的带宽利用率;确定所述控制策略为:根据获取的所述端口集合中每个端口带宽的所述端口流速,预置的带宽保证的所述带宽值,以及预置的所述带宽利用率,确定所述端口集合中每个端口的带宽收敛比。In an exemplary embodiment, if the control policy includes the network optimization policy, determining, according to the network resource in the controller control area, that the controller controls the network in which the layer is located The control strategy includes: determining a pseudowire for data transmission to be adjusted, or a tunnel, or a pseudowire and a tunnel; respectively determining one or more of the pseudowire, or tunnel, or each of a pseudowire and a tunnel a first bandwidth adjustment value; determining the control policy: the first bandwidth adjustment value according to the determined one or more of the pseudowires, or the tunnel, or each of the pseudowires and the tunnel, the port and one or more Determining one or more of the pseudowires, or tunnels, or pseudowires and tunnels, the associated relationship between the pseudowires, or the tunnels, or each of the pseudowires and the tunnels, and the preset bandwidth adjustment values of the ports a second bandwidth adjustment value of each of the ports; or, determining a set of ports to be adjusted for data transmission; respectively obtaining a port flow rate of each port in the port set, and a preset bandwidth guarantee band a wide value, and a preset bandwidth utilization; determining the control policy is: the bandwidth value of the preset bandwidth guarantee according to the obtained port flow rate of each port bandwidth in the port set, and a preset The bandwidth utilization, determining a bandwidth convergence ratio of each port in the port set; or determining a pseudowire, or a tunnel, or a pseudowire and a tunnel for data transmission to be adjusted; respectively determining one or more Determining, by the pseudowire, or a tunnel, or a first bandwidth adjustment value of each of the pseudowire and the tunnel; determining the control policy as: determining the one or more of the pseudowires, or tunnels, or pseudowires and tunnels The first bandwidth adjustment value of each of the ports, the association relationship between the port and one or more of the pseudowires, or the tunnel, or each of the pseudowires and the tunnel, and the preset bandwidth adjustment value of the port are determined. a second bandwidth adjustment value of each of the one or more of the pseudowires, or the tunnels, or the pseudowires and the tunnels; determining a set of ports to be adjusted for data transmission; respectively acquiring each port in the set of ports Port flow The preset bandwidth guaranteed bandwidth value and the preset bandwidth utilization; determining the control policy is: preset bandwidth guarantee according to the obtained port flow rate of each port bandwidth in the port set The bandwidth value, and the preset bandwidth utilization, determine a bandwidth convergence ratio of each port in the port set.
在一种示例性实施方式中,在所述控制策略包括所述路径计算策略的情况下,根据所述控制器控制区域内的所述网络资源,确定所述控制器对所在层次网络进行控制的所述控制策略包括:获取所述控制器所在层次网络中的网络资源数据,以及所述网络资源数据对应的业务路径;确定所述控制策略为:根据用于确定所述控制器所在层次网络中路径的计算参考指标,以及所述网络资源数据对应的所述业务路径,确定路径计算的结果。In an exemplary embodiment, if the control policy includes the path calculation policy, determining, according to the network resource in the controller control area, that the controller controls the network in which the layer is located The control policy includes: acquiring network resource data in the hierarchical network where the controller is located, and a service path corresponding to the network resource data; determining the control policy is: determining the hierarchical network in which the controller is located The calculation reference indicator of the path and the service path corresponding to the network resource data determine a result of the path calculation.
本发明实施例还提供了一种计算机可读存储介质,存储有计算机可执行指令,所述计算机可执行指令被执行时实现上述策略发送方法。The embodiment of the invention further provides a computer readable storage medium storing computer executable instructions, which are implemented when the computer executable instructions are executed.
本发明实施例还提供了一种策略接收方法,包括:接收用于对所在层次网络进行控制的控制策略;根据接收的所述控制策略,对所在层次网络进行控制。The embodiment of the present invention further provides a policy receiving method, including: receiving a control policy for controlling a network in a hierarchy; and controlling, according to the received control policy, a network in a layer.
在一种示例性实施方式中,接收用于对所在层次网络进行控制的控制策略包括:接收根据多域控制器控制区域内一个或多个子控制器的一个或多个子控制策略生成的所述多域控制器对所在层次网络进行控制的所述控制策略,其中,所述一个或多个子控制策略用于对所在层次网络分别进行控制, 所述子控制器与所述子控制策略为一一对应关系,所述一个或多个子控制器为以下至少之一:单域控制器、多域控制器。In an exemplary embodiment, receiving a control policy for controlling a layered network includes: receiving the plurality of one or more sub-control policies generated according to one or more sub-controllers within a multi-domain controller control region The control policy that the domain controller controls the network in which the layer is located, where the one or more sub-control policies are used to separately control the network in which the layer is located. The sub-controller has a one-to-one correspondence with the sub-control policy, and the one or more sub-controllers are at least one of the following: a single domain controller, a multi-domain controller.
在一种示例性实施方式中,接收用于对所在层次网络进行控制的所述控制策略包括:在所述控制策略为多个的情况下,接收编排器对多个控制策略进行汇聚后获得的所述控制策略。In an exemplary embodiment, the receiving the control policy for controlling the network in which the layer is located includes: receiving, after the plurality of control policies are aggregated, the receiver orchestration obtains the plurality of control policies. The control strategy.
本发明实施例还提供了一种策略发送装置,包括:确定模块,设置为:根据控制器控制区域内的网络资源,确定所述控制器对所在层次网络进行控制的控制策略;发送模块,设置为:将确定的所述控制策略发送给所述控制器。An embodiment of the present invention further provides a policy sending apparatus, including: a determining module, configured to: determine, according to network resources in a controller control area, a control policy for controlling, by the controller, a hierarchical network; a sending module, setting To: send the determined control policy to the controller.
在一种示例性实施方式中,所述确定模块包括:获取单元,设置为:在所述控制器为多域控制器的情况下,获取所述多域控制器控制区域内的一个或多个子控制器的一个或多个子控制策略,其中,所述一个或多个子控制策略用于对所在层次网络分别进行控制,所述子控制器与所述子控制策略为一一对应关系;确定单元,设置为:根据所述一个或多个子控制策略,确定所述多域控制器对所在层次网络进行控制的控制策略,其中,所述一个或多个子控制器为以下至少之一:单域控制器、多域控制器。In an exemplary embodiment, the determining module includes: an obtaining unit, configured to: acquire one or more sub-controllers in the multi-domain controller control region if the controller is a multi-domain controller One or more sub-control strategies of the controller, wherein the one or more sub-control policies are used to separately control the network in which the layer is located, and the sub-controller has a one-to-one correspondence with the sub-control policies; And being configured to: determine, according to the one or more sub-control policies, a control policy that controls the multi-domain controller to control the hierarchical network, where the one or more sub-controllers are at least one of the following: a single domain controller , multi-domain controller.
本发明实施例还提供了一种策略接收装置,包括:接收模块,设置为:接收用于对所在层次网络进行控制的控制策略;控制模块,设置为:根据接收的所述控制策略,对所在层次网络进行控制。The embodiment of the present invention further provides a policy receiving apparatus, including: a receiving module, configured to: receive a control policy for controlling a network in which the layer is located; and the control module is configured to: according to the received control policy, Hierarchical network for control.
在一种示例性实施方式中,所述接收模块包括:第一接收单元,设置为:接收根据多域控制器控制区域内一个或多个子控制器的一个或多个子控制策略生成的所述多域控制器对所在层次网络进行控制的所述控制策略,其中,所述一个或多个子控制策略用于对所在层次网络分别进行控制,所述子控制器与所述子控制策略为一一对应关系,所述一个或多个子控制器为以下至少之一:单域控制器、多域控制器。In an exemplary embodiment, the receiving module includes: a first receiving unit configured to: receive the plurality of generated by one or more sub-control policies of one or more sub-controllers within a multi-domain controller control region The control policy that the domain controller controls the network in which the layer is located, wherein the one or more sub-control policies are used to separately control the network in which the layer is located, and the sub-controller has a one-to-one correspondence with the sub-control policy Relationship, the one or more sub-controllers are at least one of the following: a single domain controller, a multi-domain controller.
在一种示例性实施方式中,所述接收模块包括:第二接收单元,设置为:在所述控制策略为多个的情况下,接收编排器对多个控制策略进行汇聚后获得的所述控制策略。In an exemplary embodiment, the receiving module includes: a second receiving unit, configured to: when the control policy is multiple, the receiving orchestration obtains the plurality of control policies after the convergence of the plurality of control policies Control Strategy.
本发明实施例还提供了一种计算机可读存储介质,存储有计算机可执行 指令,所述计算机可执行指令被执行时实现上述策略接收方法。The embodiment of the invention further provides a computer readable storage medium, which is stored in a computer executable An instruction that implements the policy receiving method described above when the computer executable instructions are executed.
本发明实施例还提供了一种控制器。该系统包括前述任一项中所述的策略接收装置。The embodiment of the invention also provides a controller. The system includes the policy receiving device described in any of the preceding clauses.
本发明实施例还提供了一种存储介质。该存储介质设置为存储用于执行以下步骤的程序代码:根据控制器控制区域内的网络资源,确定所述控制器对所在层次网络进行控制的控制策略;将确定的所述控制策略发送给所述控制器。The embodiment of the invention further provides a storage medium. The storage medium is configured to store program code for performing the following steps: determining, according to network resources in the controller control area, a control strategy for controlling the controller to control the hierarchical network; sending the determined control policy to the Controller.
在一种示例性实施方式中,存储介质还设置为存储用于执行以下步骤的程序代码:根据控制器控制区域内的所述网络资源,确定所述控制器对所在层次网络进行控制的所述控制策略包括:在所述控制器为多域控制器的情况下,获取所述多域控制器控制区域内的一个或多个子控制器的一个或多个子控制策略,其中,所述一个或多个子控制策略用于对所在层次网络分别进行控制,所述子控制器与所述子控制策略为一一对应关系;根据所述一个或多个子控制策略,确定所述多域控制器对所在层次网络进行控制的控制策略,其中,所述一个或多个子控制器为以下至少之一:单域控制器、多域控制器。In an exemplary embodiment, the storage medium is further configured to store program code for performing the step of determining, according to the network resource within the controller control region, the controller to control the hierarchical network in which it is located The control strategy includes: acquiring one or more sub-control strategies of one or more sub-controllers within the multi-domain controller control region if the controller is a multi-domain controller, wherein the one or more The sub-control strategy is used to separately control the network in which the layer is located, and the sub-controller has a one-to-one correspondence with the sub-control policy; determining, according to the one or more sub-control policies, the multi-domain controller A control strategy for controlling the network, wherein the one or more sub-controllers are at least one of the following: a single domain controller, a multi-domain controller.
在一种示例性实施方式中,存储介质还设置为存储用于执行以下步骤的程序代码:所述控制策略包括以下至少之一:用于对网络资源进行分析的网络分析策略、用于对网络资源进行优化的网络优化策略、用于对所述控制器所在层次网络中的路径进行计算的路径计算策略。In an exemplary embodiment, the storage medium is further configured to store program code for performing the following steps: the control policy comprises at least one of: a network analysis policy for analyzing network resources, for a network A network optimization strategy optimized for resources, a path calculation strategy for calculating a path in a hierarchical network in which the controller is located.
在一种示例性实施方式中,存储介质还设置为存储用于执行以下步骤的程序代码:在所述控制策略包括所述网络分析策略的情况下,根据所述控制器控制区域内的所述网络资源,确定所述控制器对所在层次网络进行控制的所述控制策略包括:根据所述控制器控制区域内的所述网络资源的资源属性,对所述网络资源进行分组,得到一个或多个网络资源组;根据分组后的一个或多个网络资源组中每个网络资源组的网络资源组资源属性,用于对网络资源进行分析的分析指标的指标参数,以及预定的指标计算公式,确定分组后的该网络资源组的指标值;确定所述控制策略为以下至少之一:根据确定的所述指标值,预置的指标值告警区间以及告警级别,生成告警记录;根据资源分组的对象、所述资源属性和所述分析指标中任意一个或其组合,生成报 表;根据所述网络资源的关联关系,确定所述控制器控制区域内的所述网络资源的拓扑关系。In an exemplary embodiment, the storage medium is further configured to store program code for performing the following steps: in the case where the control policy includes the network analysis policy, according to the And determining, by the network resource, the control policy that the controller controls the network in which the network is located, by: grouping the network resources according to resource attributes of the network resources in the controller control area, to obtain one or more Network resource group; the network resource group resource attribute of each network resource group in the grouped one or more network resource groups, the indicator parameter of the analysis indicator used for analyzing the network resource, and the predetermined index calculation formula, Determining an indicator value of the network resource group after the grouping; determining that the control policy is at least one of: generating an alarm record according to the determined indicator value, a preset indicator value alarm interval, and an alarm level; Generating a report, any one or combination of the object, the resource attribute, and the analysis indicator And determining, according to the association relationship of the network resources, a topological relationship of the network resources in the controller control area.
在一种示例性实施方式中,存储介质还设置为存储用于执行以下步骤的程序代码:在所述控制策略包括所述网络优化策略的情况下,根据所述控制器控制区域内的所述网络资源,确定所述控制器对所在层次网络进行控制的所述控制策略包括:确定待调整的用于数据传输的伪线、或隧道、或伪线和隧道;分别确定一个或多个所述伪线、或隧道、或伪线和隧道中每一个的第一带宽调整值;确定所述控制策略为:根据确定的一个或多个所述伪线、或隧道、或伪线和隧道中每一个的所述第一带宽调整值,端口与一个或多个所述伪线、或隧道、或伪线和隧道中每一个的关联关系,以及所述端口的预置带宽调整值,确定一个或多个所述伪线、或隧道、或伪线和隧道中每一个的第二带宽调整值;或,确定待调整的用于数据传输的端口集合;分别获取所述端口集合中每个端口的端口流速、预置的带宽保证的带宽值,以及预置的带宽利用率;确定所述控制策略为:根据获取的所述端口集合中每个端口带宽的所述端口流速,预置的带宽保证的所述带宽值,以及预置的所述带宽利用率,确定所述端口集合中每个端口的带宽收敛比;确定待调整的用于数据传输的伪线、或隧道、或伪线和隧道;分别确定一个或多个所述伪线、或隧道、或伪线和隧道中每一个的第一带宽调整值;确定所述控制策略为:根据确定的一个或多个所述伪线、或隧道、或伪线和隧道中每一个的所述第一带宽调整值,端口与一个或多个所述伪线、或隧道、或伪线和隧道中每一个的关联关系,以及所述端口的预置带宽调整值,确定一个或多个所述伪线、或隧道、或伪线和隧道中每一个的第二带宽调整值;确定待调整的用于数据传输的端口集合;分别获取所述端口集合中每个端口的端口流速、预置的带宽保证的带宽值,以及预置的带宽利用率;确定所述控制策略为:根据获取的所述端口集合中每个端口带宽的所述端口流速,预置的带宽保证的所述带宽值,以及预置的所述带宽利用率,确定所述端口集合中每个端口的带宽收敛比。In an exemplary embodiment, the storage medium is further configured to store program code for performing the following steps: in the case where the control policy includes the network optimization policy, according to the a network resource, the determining, by the controller, the control policy for controlling a network in which the layer is located includes: determining a pseudowire, or a tunnel, or a pseudowire and a tunnel for data transmission to be adjusted; respectively determining one or more of the foregoing a first bandwidth adjustment value of each of a pseudowire, or a tunnel, or a pseudowire and a tunnel; determining the control strategy to: according to the determined one or more of the pseudowires, or tunnels, or pseudowires and tunnels The first bandwidth adjustment value of one, the association relationship between the port and one or more of the pseudowires, or the tunnel, or each of the pseudowires and the tunnel, and the preset bandwidth adjustment value of the port, determining one or a second bandwidth adjustment value of each of the plurality of pseudowires, or tunnels, or pseudowires and tunnels; or determining a set of ports to be adjusted for data transmission; respectively acquiring the port set The port flow rate of each port, the preset bandwidth guaranteed bandwidth value, and the preset bandwidth utilization; determining the control policy is: according to the acquired port flow rate of each port bandwidth in the port set, Determining the bandwidth value of the bandwidth guarantee, and the preset bandwidth utilization, determining a bandwidth convergence ratio of each port in the port set; determining a pseudowire, or a tunnel, or a tunnel for data transmission to be adjusted, or a pseudowire and a tunnel; respectively determining a first bandwidth adjustment value of each of the one or more of the pseudowire, or the tunnel, or the pseudowire and the tunnel; determining the control strategy to be: according to the determined one or more a first line adjustment value of each of a pseudowire, or a tunnel, or a pseudowire and a tunnel, an association of the port with one or more of the pseudowires, or a tunnel, or each of a pseudowire and a tunnel, and a preset bandwidth adjustment value of the port, determining a second bandwidth adjustment value of each of the one or more of the pseudowires, or a tunnel, or a pseudowire and a tunnel; determining a port set to be adjusted for data transmission; Minute Obtaining a port flow rate of each port in the port set, a preset bandwidth guaranteed bandwidth value, and a preset bandwidth utilization; determining the control policy: according to the acquired bandwidth of each port in the port set The port flow rate, the bandwidth value guaranteed by the preset bandwidth, and the preset bandwidth utilization determine a bandwidth convergence ratio of each port in the port set.
在一种示例性实施方式中,存储介质还设置为存储用于执行以下步骤的程序代码:在所述控制策略包括所述路径计算策略的情况下,根据所述控制 器控制区域内的所述网络资源,确定所述控制器对所在层次网络进行控制的所述控制策略包括:获取所述控制器所在层次网络中的网络资源数据,以及所述网络资源数据对应的业务路径;确定所述控制策略为:根据用于确定所述控制器所在层次网络中路径的计算参考指标,以及所述网络资源数据对应的所述业务路径,确定路径计算的结果。In an exemplary embodiment, the storage medium is further configured to store program code for performing the following steps: in the case where the control policy includes the path calculation policy, according to the control The controlling the policy of the controller to control the hierarchical network includes: acquiring network resource data in the hierarchical network where the controller is located, and corresponding to the network resource data. The service path is determined by: determining a result of the path calculation according to the calculation reference indicator used to determine the path in the hierarchical network where the controller is located, and the service path corresponding to the network resource data.
本发明实施例还提供了一种存储介质。该存储介质设置为存储用于执行以下步骤的程序代码:接收用于对所在层次网络进行控制的控制策略;根据接收的所述控制策略,对所在层次网络进行控制。The embodiment of the invention further provides a storage medium. The storage medium is configured to store program code for performing the following steps: receiving a control policy for controlling a network in which the layer is located; and controlling the layer network according to the received control policy.
在一种示例性实施方式中,存储介质还设置为存储用于执行以下步骤的程序代码:接收根据多域控制器控制区域内一个或多个子控制器的一个或多个子控制策略生成的所述多域控制器对所在层次网络进行控制的所述控制策略,其中,所述一个或多个子控制策略用于对所在层次网络分别进行控制,所述子控制器与所述子控制策略为一一对应关系,所述一个或多个子控制器为以下至少之一:单域控制器、多域控制器。In an exemplary embodiment, the storage medium is further configured to store program code for performing the step of: receiving the one generated by one or more sub-control policies of one or more sub-controllers within a multi-domain controller control region The control policy of the multi-domain controller for controlling the network in which the layer is located, wherein the one or more sub-control policies are used to separately control the network in which the layer is located, and the sub-controller and the sub-control policy are one by one Correspondingly, the one or more sub-controllers are at least one of the following: a single domain controller, a multi-domain controller.
在一种示例性实施方式中,存储介质还设置为存储用于执行以下步骤的程序代码:接收用于对所在层次网络进行控制的控制策略包括:在所述控制策略为多个的情况下,接收编排器对多个控制策略进行汇聚后获得的所述控制策略。In an exemplary embodiment, the storage medium is further configured to store program code for performing the following steps: receiving a control policy for controlling the network in which the layer is located includes: if the control policy is multiple, Receiving the control strategy obtained after the orchestrator aggregates a plurality of control policies.
通过本发明实施例,通过外置系统为层次网络中的控制器提供对所在层次网络进行控制的控制策略,由于控制器的控制策略是通过外置系统提供的,减少了策略管理对控制器运行效率的影响,因此,可以提高控制器运行效率。Through the embodiment of the present invention, the controller in the hierarchical network is provided with a control strategy for controlling the network in the hierarchy through the external system. Since the control strategy of the controller is provided by the external system, the policy management is reduced to the controller. The impact of efficiency, therefore, can improve the efficiency of the controller.
在阅读并理解了附图和详细描述后,可以明白其他方面。Other aspects will be apparent upon reading and understanding the drawings and detailed description.
附图概述BRIEF abstract
图1是根据本发明实施例的策略发送方法的终端的硬件结构框图;1 is a block diagram showing the hardware structure of a terminal of a policy sending method according to an embodiment of the present invention;
图2是根据本发明实施例的策略发送方法的流程图;2 is a flowchart of a method for transmitting a policy according to an embodiment of the present invention;
图3是根据本发明可选实施例的策略发送方法的流程图;3 is a flow chart of a method for transmitting a policy according to an alternative embodiment of the present invention;
如图4(a)是根据本发明可选实施例的第一种带有外置系统的SDN控制器分层次网络结构示意图; 4(a) is a schematic diagram showing a hierarchical hierarchical network structure of an SDN controller with an external system according to an alternative embodiment of the present invention;
如图4(b)是根据本发明可选实施例的第二种带有外置系统的SDN控制器分层次网络结构示意图;4(b) is a schematic diagram showing a hierarchical hierarchical network structure of an SDN controller with an external system according to an alternative embodiment of the present invention;
如图4(c)是根据本发明可选实施例的第三种带有外置系统的SDN控制器分层次网络结构示意图;4(c) is a schematic diagram showing a hierarchical hierarchical network structure of an SDN controller with an external system according to an alternative embodiment of the present invention;
如图4(d)是根据本发明可选实施例的第四种带有外置系统的SDN控制器分层次网络结构示意图;4(d) is a schematic diagram showing a hierarchical hierarchical network structure of an SDN controller with an external system according to an alternative embodiment of the present invention;
如图4(e)是根据本发明可选实施例的第五种带有外置系统的SDN控制器分层次网络结构示意图;4(e) is a schematic diagram showing a hierarchical hierarchical network structure of an SDN controller with an external system according to an alternative embodiment of the present invention;
图5为根据本发明可选实施例的外置系统在SDN控制器分层次网络中的结构示意图;5 is a schematic structural diagram of an external system in a hierarchical network of an SDN controller according to an alternative embodiment of the present invention;
图6为根据本发明可选实施例的外置系统与SDN控制器之间通讯交互过程的示意图;6 is a schematic diagram of a communication interaction process between an external system and an SDN controller according to an alternative embodiment of the present invention;
图7是根据本发明可选实施例的外置系统的结构示意图;7 is a schematic structural view of an external system according to an alternative embodiment of the present invention;
图8是根据本发明可选实施例的外置系统的领域优化模块710的结构框图;FIG. 8 is a structural block diagram of a domain optimization module 710 of an external system according to an alternative embodiment of the present invention; FIG.
图9是根据本发明可选实施例的外置系统的网络分析单元82的结构框图;9 is a block diagram showing the structure of a network analysis unit 82 of an external system according to an alternative embodiment of the present invention;
图10是根据本发明可选实施例的带宽优化算法的流程图;10 is a flow chart of a bandwidth optimization algorithm in accordance with an alternative embodiment of the present invention;
图11是根据本发明可选实施例的收敛比优化的算法流程图;11 is a flowchart of an algorithm for convergence ratio optimization according to an alternative embodiment of the present invention;
图12是根据本发明可选实施例的带宽优化与收敛比优化的联合优化算法流程图;12 is a flowchart of a joint optimization algorithm for bandwidth optimization and convergence ratio optimization according to an alternative embodiment of the present invention;
图13是根据本发明可选实施例的路径计算算法的流程图;13 is a flowchart of a path computation algorithm in accordance with an alternative embodiment of the present invention;
图14是根据本发明实施例的策略接收方法的控制器的硬件结构框图;14 is a block diagram showing a hardware configuration of a controller of a policy receiving method according to an embodiment of the present invention;
图15是根据本发明实施例的策略接收方法的流程图;FIG. 15 is a flowchart of a method for receiving a policy according to an embodiment of the present invention; FIG.
图16是根据本发明可选实施例的策略接收方法的流程图;16 is a flowchart of a policy receiving method according to an alternative embodiment of the present invention;
图17是根据本发明实施例的策略发送装置的结构框图;FIG. 17 is a structural block diagram of a policy sending apparatus according to an embodiment of the present invention; FIG.
图18是根据本发明实施例的策略发送装置的确定模块172的结构框图;FIG. 18 is a structural block diagram of a determining module 172 of a policy sending apparatus according to an embodiment of the present invention;
图19是根据本发明实施例的策略发送装置的发送模块174的结构框图;FIG. 19 is a structural block diagram of a transmitting module 174 of a policy sending apparatus according to an embodiment of the present invention;
图20是根据本发明实施例的策略接收装置的结构框图; 20 is a structural block diagram of a policy receiving apparatus according to an embodiment of the present invention;
图21是根据本发明实施例的策略接收装置的接收模块202的结构框图一;FIG. 21 is a structural block diagram 1 of a receiving module 202 of a policy receiving apparatus according to an embodiment of the present invention;
图22是根据本发明实施例的策略接收装置的接收模块202的结构框图二;FIG. 22 is a second structural diagram of a receiving module 202 of a policy receiving apparatus according to an embodiment of the present invention;
图23是根据本发明实施例的控制器的结构框图。23 is a block diagram showing the structure of a controller in accordance with an embodiment of the present invention.
本发明的较佳实施方式Preferred embodiment of the invention
下面结合附图对本发明的实施方式进行描述。Embodiments of the present invention will be described below with reference to the accompanying drawings.
可以说明的是,本文中的术语“第一”、“第二”等是用于区别类似的对象,而不必用于描述特定的顺序或先后次序。It may be noted that the terms "first", "second" and the like are used herein to distinguish similar objects, and are not necessarily used to describe a particular order or order.
本申请实施例提供了一种策略发送方法,该策略发送方法可以在移动终端、计算机终端或者类似的运算装置中执行。以运行在终端上为例,图1是根据本发明实施例的策略发送方法的终端的硬件结构框图。如图1所示,终端10可以包括一个或多个(图中仅示出一个)第一处理器102(第一处理器102可以包括但不限于微处理器MCU(Micro Controller Unit,微控制器单元)(Micro Controller Unit,微控制器单元)或可编程逻辑器件FPGA(Field Programmable Gate Array,现场可编程门阵列)等的处理装置)、设置为存储数据的第一存储器104、以及设置为通信功能的第一传输装置106。本领域普通技术人员可以理解,图1所示的结构仅为示意,其并不对上述电子装置的结构造成限定。例如,终端10还可包括比图1中所示更多或者更少的组件,或者具有与图1所示不同的配置。The embodiment of the present application provides a policy sending method, which can be performed in a mobile terminal, a computer terminal, or the like. Taking the operation on the terminal as an example, FIG. 1 is a hardware structural block diagram of a terminal according to a policy sending method according to an embodiment of the present invention. As shown in FIG. 1, terminal 10 may include one or more (only one shown) first processor 102 (first processor 102 may include, but is not limited to, a microprocessor MCU (Micro Controller Unit) Unit) (Micro Controller Unit) or a programmable device FPGA (Field Programmable Gate Array) processing device, a first memory 104 configured to store data, and a communication device Functional first transmission device 106. It will be understood by those skilled in the art that the structure shown in FIG. 1 is merely illustrative and does not limit the structure of the above electronic device. For example, terminal 10 may also include more or fewer components than those shown in FIG. 1, or have a different configuration than that shown in FIG.
第一存储器104可设置为:存储应用软件的软件程序以及模块,如本发明实施例中的策略发送方法对应的程序指令/模块,第一处理器102可设置为:通过运行存储在第一存储器104内的软件程序以及模块,从而执行各种功能应用以及数据处理,即实现上述的方法。第一存储器104可包括高速随机存储器,还可包括非易失性存储器,如一个或者多个磁性存储装置、闪存、或者其他非易失性固态存储器。在一些实例中,第一存储器104可进一步包括相对于第一处理器102远程设置的存储器,这些远程存储器可以通过网络连接至终端10。上述网络的实例包括但不限于互联网、企业内部网、局域网、 移动通信网及其组合。The first memory 104 can be configured as: a software program and a module for storing application software, such as a program instruction/module corresponding to the policy sending method in the embodiment of the present invention, the first processor 102 can be configured to: store in the first memory by running The software program and modules within 104 are executed to perform various functional applications and data processing, that is, to implement the above method. The first memory 104 can include a high speed random access memory and can also include non-volatile memory, such as one or more magnetic storage devices, flash memory, or other non-volatile solid state memory. In some examples, the first memory 104 can further include memory remotely located relative to the first processor 102, which can be connected to the terminal 10 over a network. Examples of the above networks include, but are not limited to, the Internet, an intranet, a local area network, Mobile communication networks and combinations thereof.
第一传输装置106可设置为:经由一个网络接收或者发送数据。上述的网络实例可包括终端10的通信供应商提供的无线网络。在一个实例中,第一传输装置106包括一个网络适配器(Network Interface Controller,NIC),其可通过基站与其他网络设备相连从而可与互联网进行通讯。在一个实例中,第一传输装置106可以为射频(Radio Frequency,RF)模块,其设置为:通过无线方式与互联网进行通讯。The first transmission device 106 can be configured to receive or transmit data via a network. The network instance described above may include a wireless network provided by a communication provider of the terminal 10. In one example, the first transmission device 106 includes a Network Interface Controller (NIC) that can be connected to other network devices through a base station to communicate with the Internet. In one example, the first transmission device 106 can be a radio frequency (RF) module configured to communicate with the Internet wirelessly.
在本实施例中提供了一种运行于上述终端的策略发送方法,图2是根据本发明实施例的策略发送方法的流程图,如图2所示,该流程包括如下步骤:In this embodiment, a method for sending a policy to the terminal is provided. FIG. 2 is a flowchart of a method for sending a policy according to an embodiment of the present invention. As shown in FIG. 2, the process includes the following steps:
步骤S202,根据控制器控制区域内的网络资源,确定控制器对所在层次网络进行控制的控制策略;Step S202: Determine, according to network resources in the controller control area, a control strategy for the controller to control the network in which the layer is located;
步骤S204,将确定的控制策略发送给控制器。Step S204, the determined control policy is sent to the controller.
通过外置系统为层次网络中的控制器提供对所在层次网络进行控制的控制策略,提高了控制器运行效率。The controller in the hierarchical network is provided with a control strategy for controlling the network in the hierarchy through the external system, thereby improving the operating efficiency of the controller.
可选地,可以采用多种方式确定控制器对所在层次网络进行控制的控制策略。例如,可以分别根据一个或多个控制器中每个控制器控制区域内的网络资源,确定该控制器对所在层次网络进行控制的控制策略。又例如,在控制器为多域控制器的情况下,获取该多域控制器控制区域内的一个或多个子控制器的一个或多个子控制策略,其中,一个或多个子控制策略用于一个或多个子控制器对所在层次网络分别进行控制,子控制器与子控制策略为一一对应关系;根据上述一个或多个子控制策略,确定多域控制器对所在层次网络进行控制的控制策略,其中,一个或多个子控制器为以下至少之一:单域控制器、多域控制器。例如,控制器A为多域控制器,控制器B和控制器C为控制器A子层次中的控制器(控制器A可以对控制器B和控制器C进行控制),控制器器B和控制器C可以是单域控制器,也可以是多域控制器。根据控制器B和控制器C对其所在层次网络进行控制的控制策略,确定控制器A对其所在层次网络进行控制的控制策略。通过多域控制器根据其子控制器的控制策略,从全局角度考虑网络资源状况确定多域控制器对所在层次网络进行控制的控制策略,避免了网络资源使用的冲突,提高了网络资源的利 用效率。Optionally, the controller may control the control strategy of the hierarchical network in a plurality of manners. For example, the control strategy for controlling the hierarchical network of the controller may be determined according to network resources in each controller of each controller of the one or more controllers. For another example, if the controller is a multi-domain controller, one or more sub-control strategies of one or more sub-controllers within the multi-domain controller control region are acquired, wherein one or more sub-control strategies are used for one Or the plurality of sub-controllers respectively control the hierarchical network, and the sub-controller and the sub-control strategy have a one-to-one correspondence; according to the one or more sub-control strategies, determine a control strategy for the multi-domain controller to control the hierarchical network. The one or more sub-controllers are at least one of the following: a single domain controller, a multi-domain controller. For example, controller A is a multi-domain controller, controller B and controller C are controllers in controller A sub-layer (controller A can control controller B and controller C), controller B and Controller C can be a single domain controller or a multi-domain controller. According to the control strategy that controller B and controller C control the hierarchical network, the controller A determines the control strategy for controlling the hierarchical network. According to the control strategy of the sub-controller, the multi-domain controller determines the control strategy of the multi-domain controller to control the hierarchical network from a global perspective, avoids the conflict of network resource usage, and improves the benefit of network resources. Use efficiency.
通过该策略发送方法及可选实施方式,从全局角度考虑网络资源状况确定多域控制器对所在层次网络进行控制的控制策略,避免了网络资源使用的冲突,提高了网络资源的利用效率。Through the policy sending method and the optional implementation manner, the network resource status is considered from a global perspective to determine a control strategy for the multi-domain controller to control the hierarchical network, thereby avoiding the conflict of network resource usage and improving the utilization efficiency of the network resource.
可选地,可以通过多种方式将确定的控制策略发送给控制器。例如,可以直接通过对应的接口将确定的控制策略发送给对应的控制器。又例如,在控制策略对应的控制器为多域控制器的情况下,将该多域控制器的控制策略、该控制器控制区域内的一个或多个子控制器的控制策略通过接口一起发送该多域控制器,由该多域控制器将其控制区域内的一个或多个子控制器的控制策略通过接口发送给对应的子控制器。又例如,对于控制策略为多个情况下,采用编排器对多个控制策略进行汇聚;将编排器汇聚后的控制策略发送给对应的控制器。在控制策略对应的控制器为多域控制器的情况下,可将该多域控制器的控制策略、该控制器控制区域内的一个或多个子控制器的控制策略通过接口一起发送编排器,由编排器在通过接口发送给该多域控制器,由该多域控制器将其控制区域内的一个或多个子控制器的控制策略通过接口发送给对应的子控制器。当然,在控制策略为一个的情况下,也可以通过汇编器将控制策略发送给对应的控制器。上述接口可以是物理接口,也可以是逻辑接口,形式可以根据需要进行设定。Alternatively, the determined control strategy can be sent to the controller in a variety of ways. For example, the determined control policy can be sent directly to the corresponding controller through the corresponding interface. For another example, if the controller corresponding to the control policy is a multi-domain controller, the control policy of the multi-domain controller and the control policy of one or more sub-controllers in the controller control area are sent together through the interface. A multi-domain controller, by which the control policy of one or more sub-controllers in its control area is sent to the corresponding sub-controller through an interface. For another example, for a plurality of control strategies, the orchestrator is used to aggregate multiple control policies; and the control policy after the orchestration is aggregated is sent to the corresponding controller. In the case that the controller corresponding to the control policy is a multi-domain controller, the control policy of the multi-domain controller and the control policy of one or more sub-controllers in the controller control area may be sent to the orchestrator through the interface. The multi-domain controller is sent by the orchestrator to the multi-domain controller through the interface, and the multi-domain controller sends the control policy of one or more sub-controllers in its control area to the corresponding sub-controller through the interface. Of course, in the case where the control strategy is one, the control strategy can also be sent to the corresponding controller through the assembler. The above interface may be a physical interface or a logical interface, and the format may be set as needed.
通过本发明实施例的上述策略发送方法及可选实施方式,在控制策略为多个的情况下,采用编排器对多个控制策略进行汇聚,通过汇编器将控制策略进行汇聚后发送给对应的控制器,便于控制策略的发送管理,提高控制策略的发送效率。According to the foregoing policy sending method and the optional implementation manner of the embodiment of the present invention, in a case where there are multiple control strategies, the orchestrator is used to aggregate multiple control policies, and the control policies are aggregated by the assembler and then sent to the corresponding The controller facilitates the transmission management of the control strategy and improves the transmission efficiency of the control strategy.
可选地,上述控制策略可以包括以下至少之一:用于对网络资源进行分析的网络分析策略、用于对网络资源进行优化的网络优化策略、用于对控制器所在层次网络中的路径进行计算的路径计算策略。Optionally, the foregoing control policy may include at least one of the following: a network analysis policy for analyzing network resources, a network optimization policy for optimizing network resources, and a path for a network in a hierarchical network where the controller is located. Calculated path calculation strategy.
可选地,在控制策略包括网络分析策略的情况下,可以通过如下方式确定上述控制策略:根据控制器控制区域内的网络资源(例如,路由、伪线、隧道、端口等)的资源属性(例如,伪线与隧道的关联关系、相关的业务类型等),对网络资源进行分组,得到一个或多个网络资源组;根据分组后的 一个或多个网络资源组中每个网络资源组的资源属性,用于对网络资源进行分析的分析指标的指标参数(例如,带宽、流量、带宽利用率等),以及预定的指标计算公式(例如,表征不同指标参数占比的公式),确定分组后的该网络资源组的指标值;确定网络分析策略为以下至少之一:根据确定的指标值,预置的指标值告警区间以及告警级别(例如,严重、重要、普通、轻微等),生成告警记录;根据资源分组的对象、资源属性和分析指标中任意一个或其组合,生成报表;根据网络资源的关联关系,确定控制器控制区域内的网络资源的拓扑关系。Optionally, in the case that the control policy includes a network analysis policy, the foregoing control policy may be determined by: resource attributes of network resources (eg, routes, pseudowires, tunnels, ports, etc.) within the control area of the controller ( For example, a relationship between a pseudowire and a tunnel, a related service type, and the like, grouping network resources to obtain one or more network resource groups; Resource attributes of each network resource group in one or more network resource groups, indicator parameters (eg, bandwidth, traffic, bandwidth utilization, etc.) of the analysis indicators used to analyze the network resources, and predetermined indicator calculation formulas ( For example, a formula for characterizing the proportion of different indicator parameters, determining an index value of the network resource group after the grouping; determining that the network analysis policy is at least one of the following: a preset indicator value alarm interval and an alarm level according to the determined indicator value (for example, serious, important, normal, slight, etc.), generating an alarm record; generating a report according to any one or a combination of the resource grouping object, the resource attribute, and the analysis index; determining the controller control area according to the network resource association relationship The topological relationship of network resources within.
可选地,在控制策略包括网络优化策略的情况下,通过如下方式确定上述控制策略:确定待调整的用于数据传输的伪线、或隧道、或伪线和隧道(可以通过设置筛选条件或者预先指定的方式确定伪线、或隧道、或伪线和隧道);分别确定一个或多个伪线、或隧道、或伪线和隧道中每一个的第一带宽调整值;确定上述控制策略为:根据确定的一个或多个伪线、或隧道、或伪线和隧道中每一个的第一带宽调整值,端口与一个或多个伪线、或隧道、或伪线和隧道中每一个的关联关系,以及端口的预置带宽调整值,确定一个或多个伪线、或隧道、或伪线和隧道中每一个的第二带宽调整值;或,确定待调整的用于数据传输的端口集合(可以通过设置筛选条件或者预先指定的方式确定端口集合);分别获取端口集合中每个端口的端口流速、预置的带宽保证的带宽值,以及预置的带宽利用率;确定上述控制策略为:根据获取的端口集合中每个端口带宽的端口流速,预置的带宽保证的带宽值,以及预置的带宽利用率,确定端口集合中每个端口的带宽收敛比;或,确定待调整的用于数据传输的伪线、或隧道、或伪线和隧道(可以通过设置筛选条件或者预先指定的方式确定伪线、或隧道、或伪线和隧道);分别确定一个或多个伪线、或隧道、或伪线和隧道中每一个的第一带宽调整值;确定上述控制策略为:根据确定的一个或多个伪线、或隧道、或伪线和隧道中每一个的第一带宽调整值,端口与一个或多个伪线、或隧道、或伪线和隧道中每一个的关联关系,以及端口的预置带宽调整值,确定一个或多个伪线、或隧道、或伪线和隧道中每一个的第二带宽调整值;确定待调整的用于数据传输的端口集合(可以通过设置筛选条件或者预先指定的方式确定端口集合);分别获取端口集合中每个端口的端口流速、预置的带宽保证的带宽值,以及预置的带宽利用率; 确定上述控制策略为:根据获取的端口集合中每个端口带宽的端口流速,预置的带宽保证的带宽值,以及预置的带宽利用率,确定端口集合中每个端口的带宽收敛比。Optionally, in the case that the control policy includes a network optimization policy, the foregoing control policy is determined by determining a pseudowire, or a tunnel, or a pseudowire and a tunnel for data transmission to be adjusted (by setting a screening condition or Determining a pseudowire, or a tunnel, or a pseudowire and a tunnel in a pre-specified manner; determining a first bandwidth adjustment value for each of the one or more pseudowires, or the tunnel, or the pseudowire and the tunnel, respectively; determining that the control strategy is : according to the determined first bandwidth adjustment value of one or more pseudowires, or tunnels, or each of the pseudowires and the tunnel, the port and each of the one or more pseudowires, or tunnels, or pseudowires and tunnels The association relationship, and the preset bandwidth adjustment value of the port, determining a second bandwidth adjustment value of each of the one or more pseudowires, or the tunnel, or the pseudowire and the tunnel; or determining the port to be adjusted for data transmission Sets (the set of ports can be determined by setting filter conditions or pre-specified methods); obtaining the port flow rate of each port in the port set and the bandwidth value of the preset bandwidth guarantee, respectively. And the preset bandwidth utilization; determining the foregoing control strategy: determining, according to the port flow rate of each port bandwidth in the obtained port set, the preset bandwidth guaranteed bandwidth value, and the preset bandwidth utilization, determining each port set The bandwidth convergence ratio of the ports; or, the pseudowires, or tunnels, or pseudowires and tunnels for data transmission to be adjusted (the pseudowires, or tunnels, or pseudowires can be determined by setting filter conditions or pre-specified methods) And a tunnel); respectively determining a first bandwidth adjustment value of each of the one or more pseudowires, or the tunnel, or the pseudowire and the tunnel; determining that the control strategy is: according to the determined one or more pseudowires, or tunnels, Or a first bandwidth adjustment value of each of the pseudowires and the tunnel, an association between the port and one or more pseudowires, or a tunnel, or each of the pseudowires and the tunnel, and a preset bandwidth adjustment value of the port, determining one Or a plurality of pseudowires, or a tunnel, or a second bandwidth adjustment value of each of the pseudowires and the tunnel; determining a set of ports to be adjusted for data transmission (can be set by filtering conditions) Determined in advance in the manner specified set of ports); obtaining each port set flow rate of each port in the port, the bandwidth value preset guaranteed bandwidth, and a preset bandwidth utilization; The foregoing control strategy is determined by: determining a bandwidth convergence ratio of each port in the port set according to the port flow rate of each port bandwidth in the obtained port set, the preset bandwidth guaranteed bandwidth value, and the preset bandwidth utilization.
可选地,在控制策略包括路径计算策略的情况下,通过如下方式确定上述控制策略:获取控制器所在层次网络中的网络资源数据,以及网络资源数据对应的业务路径;确定控制策略为:根据用于确定控制器所在层次网络中路径的计算参考指标(例如,层次网络中的隧道路径总长度、层次网络中的流量/容量分布均衡度、层次网络中的端口总流量/容量、层次网络中的分体隧道路径评分),以及网络资源数据对应的业务路径,确定路径计算的结果。Optionally, in the case that the control policy includes a path calculation policy, the foregoing control policy is determined by: acquiring network resource data in the hierarchical network where the controller is located, and a service path corresponding to the network resource data; determining the control policy is: A calculation reference metric used to determine the path in the hierarchical network where the controller is located (eg, the total length of the tunnel path in the hierarchical network, the flow/capacity distribution balance in the hierarchical network, the total traffic/capacity of the ports in the hierarchical network, and the hierarchical network The split tunnel path score), and the service path corresponding to the network resource data, determine the result of the path calculation.
通过本发明实施例的上述策略发送方法及可选实施方式,提供了不同的控制策略类型下的控制策略确定方式,提高了控制器对所在层次网络中的网络资源进行控制的控制策略的可靠性。The foregoing policy sending method and optional implementation manners of the embodiments of the present invention provide a control policy determining manner under different control policy types, and improve the reliability of the control strategy for the controller to control network resources in the hierarchical network. .
基于上述实施例及可选实施方式,为说明上述策略发送方法的整个流程交互,在本可选实施例中,提供了一种策略发送方法。图3是根据本发明可选实施例的策略发送方法的流程图,如图3所示,该流程可包括以下步骤:Based on the foregoing embodiment and the optional implementation manners, in order to explain the entire process interaction of the foregoing policy sending method, in the optional embodiment, a policy sending method is provided. FIG. 3 is a flowchart of a method for sending a policy according to an alternative embodiment of the present invention. As shown in FIG. 3, the process may include the following steps:
步骤S302,本层次SDN控制器的外置系统向上一层次SDN控制器的外置系统逐层提供策略,并由上一级的SDN控制器外置系统统一汇聚计算,得到最佳的策略。Step S302, the external system of the SDN controller of the layer provides a policy layer by layer to the external system of the SDN controller of the first layer, and is unified and aggregated by the external system of the SDN controller of the upper level to obtain an optimal strategy.
步骤S304,SDN控制器的外置系统将SDN控制器管理的本层次范围的数据采集,计算,分析,并得到优化后的策略,提供给SDN控制器。Step S304, the external system of the SDN controller collects, calculates, analyzes, and obtains the optimized data of the data managed by the SDN controller, and provides the optimized strategy to the SDN controller.
该方法可以用于为SDN控制器提供策略的外置系统,图4(a)至图4(e)是根据本发明可选实施例的带有外置系统的SDN控制器分层次网络结构示意图,从SDN控制器分层次的角度描述了SDN控制器与外置系统在网络层次中的关系。下面分别结合图4(a)至图4(e)对带有外置系统的SDN控制器分层次网络进行说明。The method can be used for an external system that provides a strategy for an SDN controller, and FIG. 4(a) to FIG. 4(e) are schematic diagrams showing a hierarchical network structure of an SDN controller with an external system according to an alternative embodiment of the present invention. The relationship between the SDN controller and the external system in the network hierarchy is described from the perspective of the SDN controller. The hierarchical network of the SDN controller with the external system will be described below with reference to FIG. 4(a) to FIG. 4(e), respectively.
如图4(a)是根据本发明可选实施例的第一种带有外置系统的SDN控制器分层次网络结构示意图,该网络结构为外置系统与单个控制器(DC/SC)的策略模块的交互模型,其中,ESE为外置策略系统单元(External Strategy Element),DC/SC为DC控制器/SC控制器。外置系统与单个控制器的策略 模块的交互可以包括如下步骤:4(a) is a schematic diagram showing a hierarchical hierarchical network structure of an SDN controller with an external system according to an alternative embodiment of the present invention, the network structure being an external system and a single controller (DC/SC) The interaction model of the policy module, wherein the ESE is an external strategy element unit and the DC/SC is a DC controller/SC controller. External system and single controller strategy Module interaction can include the following steps:
步骤S1:外置系统与控制器内部的策略模块交互,实现外置系统与控制器间策略的通讯。Step S1: The external system interacts with the policy module inside the controller to implement communication between the external system and the controller.
如图4(b)是根据本发明可选实施例的第二种带有外置系统的SDN控制器分层次网络结构示意图,该网络结构是外置系统与单个编排器的策略模块的交互模型,其中,O为编排器(Orchestrator)。外置系统与单个编排器的策略模块的交互可以包括如下步骤:4(b) is a schematic diagram showing a hierarchical hierarchical network structure of an SDN controller with an external system according to an alternative embodiment of the present invention, the network structure being an interaction model between an external system and a policy module of a single orchestrator , where O is an orchestrator. The interaction of the external system with the policy module of a single orchestrator may include the following steps:
步骤S1:外置系统与编排器内部的策略模块交互,实现外置系统与编排器间策略的通讯。Step S1: The external system interacts with the policy module inside the orchestrator to implement communication between the external system and the orchestrator.
如图4(c)是根据本发明可选实施例的第三种带有外置系统的SDN控制器分层次网络结构示意图,该网络结构是外置系统,编排器与单个控制器的交互模型,编排器,控制器与外置系统之间是一对一关系,三者之间可实现互相交互通讯,外置系统只负责计算本网络层次内的策略。外置系统,编排器与单个控制器的交互可以包括如下步骤:4(c) is a schematic diagram showing a hierarchical hierarchical network structure of an SDN controller with an external system according to an alternative embodiment of the present invention, the network structure being an interaction model between an external system, an orchestrator and a single controller. There is a one-to-one relationship between the controller and the external system. The three systems can communicate with each other. The external system is only responsible for calculating the strategies within the network hierarchy. The external system, the arrangement of the arranger with a single controller can include the following steps:
步骤S1,外置系统将获取的策略通过独立接口与编排器通讯;In step S1, the external system communicates the acquired strategy with the orchestrator through a separate interface;
步骤S2,编排器与控制器的策略模块间相互通讯;Step S2, the programmer and the controller of the controller communicate with each other;
步骤S3,外置系统将获取的策略通过独立接口直接与所属控制器通讯(此步骤为可选项)。In step S3, the external system directly communicates the obtained policy with the associated controller through a separate interface (this step is optional).
在一个交互过程中,可以执行步骤S1至S3,也可以仅执行步骤S1-S2或者仅执行步骤S3。In an interaction process, steps S1 to S3 may be performed, or only steps S1-S2 or only step S3 may be performed.
如图4(d)是根据本发明可选实施例的第四种带有外置系统的SDN控制器分层次网络结构示意图,该网络结构是多个外置系统,编排器与多个控制器的交互模型,编排器与控制器之间是一对多关系,编排器与外置系统之间是一对多关系,多个外置系统,三者之间可相互通讯。编排器与多个控制器交互可以包括如下步骤:4(d) is a schematic diagram showing a hierarchical hierarchical network structure of an SDN controller with an external system according to an alternative embodiment of the present invention, the network structure being a plurality of external systems, an orchestrator and a plurality of controllers The interaction model has a one-to-many relationship between the arranger and the controller. There is a one-to-many relationship between the orchestrator and the external system, and multiple external systems can communicate with each other. The orchestrator interacting with multiple controllers can include the following steps:
步骤S1,多个外置系统与编排器的策略模块相互交互,编排器的策略模块负责汇聚多个外置系统的策略;In step S1, a plurality of external systems interact with a policy module of the orchestrator, and a policy module of the orchestrator is responsible for aggregating policies of multiple external systems;
步骤S2,编排器的策略模块与多个控制器相互交互,将外置系统的策略 上报给多个控制器中的每个控制器;Step S2, the policy module of the orchestrator interacts with multiple controllers, and the strategy of the external system is Reported to each of the plurality of controllers;
步骤S3,外置系统将获取的策略通过独立接口直接与所属控制器通讯(此步骤为可选项)。In step S3, the external system directly communicates the obtained policy with the associated controller through a separate interface (this step is optional).
在一个交互过程中,可以执行步骤S1至S3,也可以仅执行步骤S1-S2或者仅执行步骤S3。In an interaction process, steps S1 to S3 may be performed, or only steps S1-S2 or only step S3 may be performed.
如图4(e)是根据本发明可选实施例的第五种带有外置系统的SDN控制器分层次网络结构示意图,该网络结构是多个外置系统,编排器,与SC,DC控制器的交互模型,是在SC,DC控制器上完整部署外置系统的结构模型。多个外置系统,编排器,与SC,DC控制器的交互可以包括如下步骤:4(e) is a schematic diagram showing a fifth hierarchical structure of an SDN controller with an external system according to an alternative embodiment of the present invention, the network structure being a plurality of external systems, an orchestrator, and an SC, DC The interaction model of the controller is a structural model of the complete deployment of the external system on the SC and DC controllers. The interaction of multiple external systems, orchestrator, and SC, DC controller may include the following steps:
步骤S1,多个外置系统将各自策略上报给上层外置系统,并由上层外置系统完成汇聚,计算,得到本网络自治域内(控制区域内)的策略;In step S1, the multiple external systems report the respective policies to the upper-layer external system, and the upper-layer external system completes the aggregation and calculation, and obtains the strategy in the local autonomous domain (within the control region);
步骤S2,上层外置系统将获取的策略通过独立接口与编排器通讯;Step S2, the upper layer external system communicates the acquired strategy with the orchestrator through a separate interface;
步骤S3,编排器与SC控制器的策略模块相互交互,将外置系统的策略上报给SC控制器;In step S3, the orchestrator interacts with the policy module of the SC controller, and reports the strategy of the external system to the SC controller.
步骤S4,SC控制器将步骤S3中上报的策略用于本网络自治域内的网络资源管理。In step S4, the SC controller uses the policy reported in step S3 for network resource management in the local autonomous domain.
步骤S5,外置系统将获取的策略通过独立接口直接与DC控制器通讯(此步骤为可选项)。In step S5, the external system directly communicates the obtained policy with the DC controller through a separate interface (this step is optional).
步骤S6,外置系统将获取的策略通过独立接口直接与SC控制器通讯(此步骤为可选项)。In step S6, the external system directly communicates the acquired policy with the SC controller through a separate interface (this step is optional).
通过这种逐级汇聚,计算的方式,顶层的SC控制器能够获取到全网每个网络层次SDN控制器所在网络层次内网络资源的策略,并从全网资源的角度下,考虑网络资源的质量/容量制约因素,得到最优策略,并用于全网资源的管理。其余层的SC控制器或者DC控制器可以通过与上层SC控制器进行交互获取对所在网络层次内网络资源进行控制的策略,获取的策略可以是外置系统中得到的策略,也可以根据顶层的SC控制器(从全网资源的角度下,考虑网络资源的质量/容量制约因素)得到的最优策略,获取的对所在层次网络进行控制的策略。 Through this level of aggregation and calculation, the top-level SC controller can obtain the network resource strategy in the network layer where each network level SDN controller is located in the entire network, and consider the network resources from the perspective of the whole network resources. Quality/capacity constraints, get the optimal strategy, and be used for the management of network resources. The SC controller or the DC controller of the remaining layer can obtain a policy for controlling the network resources in the network layer by interacting with the upper layer SC controller, and the obtained strategy may be a policy obtained in the external system, or may be based on the top layer. The optimal strategy obtained by the SC controller (considering the quality/capacity constraints of network resources from the perspective of network resources), and the strategy for controlling the network in which it is located.
在一个交互过程中,可以执行步骤S1至步骤S6,也可以仅执行步骤S1至步骤S4,或者仅执行步骤S1和步骤S6,或者仅执行步骤S1和步骤S5至步骤S6。In an interaction process, step S1 to step S6 may be performed, or only step S1 to step S4 may be performed, or only step S1 and step S6 may be performed, or only step S1 and step S5 to step S6 may be performed.
图5为根据本发明可选实施例的外置系统在SDN控制器分层次网络中的结构示意图,从SDN控制器外置系统的角度来描述外置系统在网络层次中的关系。如图5所示,可以根据SDN控制器所在网络层次的树状结构,抽象出SDN控制器外置系统的网络组成结构,也是树状结构。构建外置系统网络结构的步骤可以包括:FIG. 5 is a schematic structural diagram of an external system in a hierarchical network of an SDN controller according to an alternative embodiment of the present invention, and describes a relationship of an external system in a network hierarchy from the perspective of an external system of the SDN controller. As shown in FIG. 5, the network structure of the external system of the SDN controller can be abstracted according to the tree structure of the network layer where the SDN controller is located, and is also a tree structure. The steps of constructing the external system network structure may include:
步骤S1,子节点上SDN控制器的外置系统,获取到所在网络层次内的网络资源的策略,并将获取到的策略上报给父节点上的SDN控制器外置系统;Step S1: The external system of the SDN controller on the child node acquires the policy of the network resource in the network layer, and reports the obtained policy to the external system of the SDN controller on the parent node;
步骤S2,父节点上SDN控制器获取到其所属子节点上SDN控制器外置系统的策略,将其重新汇聚,计算,得到本网络自治域内的策略,向更高一级的父节点上报策略。Step S2: The SDN controller on the parent node obtains the policy of the SDN controller external system on the child node to which it belongs, re-aggregates the data, calculates the policy in the local autonomous domain, and reports the policy to the parent node of the higher-level parent node. .
通过这种逐级汇聚,计算的方式,顶层SDN控制器的外置系统能够获取到全网每个网络层次控制器的外置系统的策略,提供给顶层控制器用于全网资源的管理。Through this step-by-step aggregation and calculation method, the external system of the top-level SDN controller can acquire the strategy of the external system of each network level controller of the entire network, and provides the top-level controller for the management of the entire network resources.
图6为根据本发明可选实施例的外置系统与SDN控制器之间通讯交互过程的示意图,如图6所示,该交互过程的实施步骤可以包括:FIG. 6 is a schematic diagram of a communication interaction process between an external system and an SDN controller according to an alternative embodiment of the present invention. As shown in FIG. 6, the implementation steps of the interaction process may include:
步骤S602,控制器向外置系统下发策略请求,策略的请求参数包含策略配置参数,策略传输配置参数,策略优化配置参数。Step S602: The controller sends a policy request to the external system, where the request parameters of the policy include a policy configuration parameter, a policy transmission configuration parameter, and a policy optimization configuration parameter.
步骤S604,外置系统向控制器发送同步响应消息。Step S604, the external system sends a synchronization response message to the controller.
步骤S606,外置系统按照控制器下发的策略执行,得到执行后的策略结果;Step S606, the external system executes according to the policy issued by the controller, and obtains the executed policy result;
步骤S608,外置系统获得策略结果后,将策略结果异步发送给控制器;Step S608, after obtaining the policy result, the external system asynchronously sends the policy result to the controller;
步骤S6010,控制器将获取到外置系统的策略结果,用于网络自治域内的网络资源管理。In step S6010, the controller obtains the policy result of the external system and uses the network resource management in the network autonomous domain.
下面对SDN控制器的外置系统进行说明。图7是根据本发明可选实施例 的外置系统的结构示意图,如图7所示,该外置系统可以包括:数据采集模块72、数据计算模块74、数据分析模块76、数据展示模块78、领域优化模块710,下面对该系统进行说明。The external system of the SDN controller will be described below. Figure 7 is an alternative embodiment of the present invention As shown in FIG. 7, the external system may include: a data acquisition module 72, a data calculation module 74, a data analysis module 76, a data display module 78, and a domain optimization module 710. The system will explain.
数据采集模块72,设置为:采集SDN控制器所在网络自治域(网络层次)内的网络资源数据;The data collection module 72 is configured to: collect network resource data in a network autonomous domain (network level) where the SDN controller is located;
数据计算模块74,设置为:将数据采集模块72的数据在时间维度(例如,刻,时,天,周,月,年)、或资源维度、或时间维度和资源维度上进行汇聚、计算;The data calculation module 74 is configured to: aggregate and calculate data of the data collection module 72 in a time dimension (eg, engraving, hour, day, week, month, year), or a resource dimension, or a time dimension and a resource dimension;
数据分析模块76,设置为:将数据计算模块74的数据在时间维度,资源维度,用户自定义维度上进行分析;The data analysis module 76 is configured to: analyze data of the data calculation module 74 on a time dimension, a resource dimension, and a user-defined dimension;
数据展示模块78,设置为:将数据分析模块76的数据通过图表方式在多种维度上展示,并导出为文件形式,可编辑;The data display module 78 is configured to: display the data of the data analysis module 76 in a plurality of dimensions by means of a graph, and export the file to a file format, which is editable;
领域优化模块710,设置为:将数据分析模块76的分析数据,在全网上进行优化,得到优化策略,包括网络分析,网络优化,路径计算,并将优化结果返回给外置系统所对应的SDN控制器。The domain optimization module 710 is configured to: optimize the analysis data of the data analysis module 76 on the entire network to obtain an optimization strategy, including network analysis, network optimization, path calculation, and return the optimization result to the SDN corresponding to the external system. Controller.
其中,数据展示模块78为可选模块,大致用于将数据(网络资源数据、控制策略数据)进行展示。The data display module 78 is an optional module, and is generally used for displaying data (network resource data, control policy data).
图8是根据本发明可选的外置系统的领域优化模块710的结构框图,如图8所示,该领域优化模块710可以包括:网络分析单元82、网络优化单元84,路径计算单元86,分别设置为:提供网络分析策略、网络优化策略,路径计算策略,下面分别对网络分析单元82、网络优化单元84,路径计算单元86进行说明。FIG. 8 is a structural block diagram of a domain optimization module 710 of an optional external system according to the present invention. As shown in FIG. 8, the domain optimization module 710 may include: a network analysis unit 82, a network optimization unit 84, and a path calculation unit 86. The network analysis unit 82, the network optimization unit 84, and the path calculation unit 86 are separately described below, respectively, to provide a network analysis policy, a network optimization policy, and a path calculation strategy.
首先对网络分析单元82进行说明。图9是根据本发明可选实施例的外置系统的网络分析单元82的结构框图。如图9所示,该网络分析单元82可以包括:资源分组子单元92、指标扩展定义子单元94、告警分析子单元96、报表定义子单元98、拓扑展示子单元910,下面结合这些子单元对网络分析单元82进行说明。The network analysis unit 82 will first be described. 9 is a block diagram showing the structure of a network analysis unit 82 of an external system in accordance with an alternative embodiment of the present invention. As shown in FIG. 9, the network analysis unit 82 may include: a resource grouping subunit 92, an indicator extension definition subunit 94, an alarm analysis subunit 96, a report definition subunit 98, and a topology display subunit 910, which are combined below. The network analysis unit 82 will be described.
资源分组子单元92,设置为:将网络资源按照资源属性进行分组。资源 属性可以支持多个属性,多个属性可以指定每个属性的级别,从而形成多个级别的资源分组。The resource grouping sub-unit 92 is configured to group network resources according to resource attributes. Resource Attributes can support multiple attributes, and multiple attributes can specify the level of each attribute to form multiple levels of resource grouping.
指标扩展定义子单元94,设置为:与上述资源分组子单元92相连,进行网络资源分组的指标扩展定义,根据指标的时间维度,汇聚类型,定义指标计算公式,准确合理的计算得到资源分组指标值。The indicator extension definition sub-unit 94 is configured to: connect with the resource grouping sub-unit 92, and perform definition definition of network resource grouping. According to the time dimension of the indicator, the convergence type, define an index calculation formula, and accurately and reasonably calculate the resource grouping indicator. value.
告警分析子单元96,设置为:与上述指标扩展定义子单元94相连,为资源分组指标在每个时间维度上设置告警阈值区间和告警级别(例如,可以分为严重,重要,普通,轻微四个级别),当指标计算结果超出阈值区间时,生成告警记录,支持图表展示,导出功能。The alarm analysis sub-unit 96 is configured to be connected to the indicator extension definition sub-unit 94, and set an alarm threshold interval and an alarm level for each time dimension of the resource grouping indicator (for example, it can be classified into severe, important, ordinary, and slight four. Level), when the index calculation result exceeds the threshold interval, generate an alarm record, support chart display, and export function.
报表定义子单元98,设置为:按照资源分组的定义的对象和属性指标,选择任意对象和任意多个属性或指标,生成为报表任务,支持报表任务的定时,可以一次性生成。The report definition sub-unit 98 is configured to: select any object and any number of attributes or indicators according to the defined object and attribute indicators of the resource grouping, generate the report task, and support the timing of the report task, which can be generated at one time.
拓扑展示子单元910,设置为:根据网络资源的关系,生成相应的拓扑图,拓扑展示支持自定义条件查询,放大/缩小,鹰眼等功能。The topology display sub-unit 910 is configured to: generate a corresponding topology map according to the relationship of the network resources, and the topology display supports a custom condition query, an enlargement/reduction, an eagle eye, and the like.
其次对网络优化单元84进行说明。网络优化单元84所进行的网络优化策略,可以包括:带宽优化算法,收敛比优化算法,带宽优化与收敛比优化的联合优化算法。下面分别对这些算法进行说明。Next, the network optimization unit 84 will be described. The network optimization strategy performed by the network optimization unit 84 may include: a bandwidth optimization algorithm, a convergence ratio optimization algorithm, a bandwidth optimization and a convergence ratio optimization joint optimization algorithm. These algorithms are described separately below.
图10是根据本发明可选实施例的带宽优化算法的流程图。如图10所示,该流程可以包括如下步骤:10 is a flow diagram of a bandwidth optimization algorithm in accordance with an alternate embodiment of the present invention. As shown in FIG. 10, the process may include the following steps:
步骤S1002,数据筛选,准备。Step S1002, data screening, preparation.
可以根据筛选条件或者指定调整对象,确定待调整的伪线,隧道,并且可以组织成特定的数据结构作为算法的输入。The pseudowires to be adjusted can be determined according to the screening conditions or the specified adjustment objects, tunnels, and can be organized into specific data structures as input to the algorithm.
步骤S1004,计算最佳调整值。In step S1004, the optimal adjustment value is calculated.
最佳值计算策略,一般可以为固定幅度法或区间中值法,其中,固定幅度法为在当前保证带宽基础上,提高或降低一个固定的幅度,得到利用率最优时的保证带宽值;区间中值法,选取一个利用率的合理区间,根据利用率区间的中值计算出保证带宽值。The optimal value calculation strategy may generally be a fixed amplitude method or a interval median method, wherein the fixed amplitude method is to increase or decrease a fixed amplitude based on the current guaranteed bandwidth, and obtain a guaranteed bandwidth value when the utilization rate is optimal; The interval median method selects a reasonable interval of utilization and calculates the guaranteed bandwidth value according to the median value of the utilization interval.
可以根据上述两种方法,选取一种最佳值计算策略,计算出待调整伪线、 或隧道、或伪线和隧道的最佳调整值,最佳调整值可以作为最终调整值的重要参考值。According to the above two methods, an optimal value calculation strategy may be selected to calculate a pseudowire to be adjusted, Or the optimal adjustment value of the tunnel, or pseudowire and tunnel, the optimal adjustment value can be used as an important reference value for the final adjustment value.
步骤S1006,划分调整分组。In step S1006, the adjustment packet is divided.
可以根据伪线所属业务,所属伪线保护组,工作隧道与保护隧道的特性等约束条件,将待调整隧道划分为若干个符合约束条件的待调整隧道分组。The tunnel to be adjusted may be divided into a plurality of tunnel segments to be adjusted according to constraints, such as the service of the pseudowire, the pseudowire protection group, the characteristics of the working tunnel and the protection tunnel.
步骤S1008,根据约束调整,调整每个分组的调整值。In step S1008, the adjustment value of each group is adjusted according to the constraint adjustment.
在每个隧道分组中,可以按照同一分组调整值相同的约束条件调整隧道分组中的最佳调整值,使其调整值一致。In each tunnel grouping, the optimal adjustment value in the tunnel grouping can be adjusted according to the same constraint condition of the same grouping adjustment value, so that the adjustment values are consistent.
步骤S1010,构造矩阵算法最优调整值。Step S1010, constructing an optimal adjustment value of the matrix algorithm.
可以构造矩阵AX=B,其中,A矩阵为隧道最佳调整值的系数矩阵,B向量为所经过端口的允许调整值,求解X向量,得到每个隧道上的最优调整值。The matrix AX=B can be constructed, wherein the A matrix is the coefficient matrix of the optimal adjustment value of the tunnel, and the B vector is the allowable adjustment value of the passed port, and the X vector is solved to obtain the optimal adjustment value on each tunnel.
A矩阵的构造方法可以为:矩阵的行为每个端口上经过隧道的调整值,矩阵的列为每个隧道的调整值,若隧道不经过某一端口时,此时调整值填0。The construction method of the A matrix can be: the behavior of the matrix is adjusted by the tunnel on each port, and the column of the matrix is the adjustment value of each tunnel. If the tunnel does not pass a certain port, the adjustment value is filled with 0.
步骤S1012,输出结果。In step S1012, the result is output.
可以将步骤S1010中计算得到的计算结果组织成符合用户要求的输出结果,算法流程结束。The calculation result calculated in step S1010 can be organized into an output result that meets the user's requirements, and the algorithm flow ends.
对于收敛比优化算法,首先对收敛比优化的概念介绍。For the convergence ratio optimization algorithm, the concept of convergence ratio optimization is first introduced.
收敛比:定义为端口带宽B与端口下最大可配承诺信息速率Cx(Committed Information Rate,简称为CIR)的比值。即,收敛比α=B/CxConvergence ratio: It is defined as the ratio of the port bandwidth B to the maximum allowable information rate C x (CIR). That is, the convergence ratio α = B / C x .
保证带宽利用率:定义为端口流速S与端口下已配保证带宽C的比值。即,保证带宽利用率V=S/C。Guaranteed bandwidth utilization: defined as the ratio of the port flow rate S to the guaranteed bandwidth C under the port. That is, the bandwidth utilization is guaranteed to be V=S/C.
满配流速:定义为保证带宽利用率与Cx的乘积。即,满配流速Sf=V*CxFull flow rate: defined as the product of guaranteed bandwidth utilization and C x . That is, the full flow rate S f =V*C x .
满配利用率:定义为满配流速Sf与端口带宽B的比值。即,满配利用率Uf=Sf/B。Full utilization: defined as the ratio of the full flow rate S f to the port bandwidth B. That is, the full utilization ratio U f =S f /B.
收敛比推导式:根据上述公式,可以得到收敛比推导式如下:Convergence ratio derivation: According to the above formula, the convergence ratio can be obtained as follows:
收敛比α=S/C*Uf)=V/UfThe convergence ratio α = S / C * U f ) = V / U f .
以上公式中的流速S,可以包括不限于以下几种含义:The flow rate S in the above formula may include not limited to the following meanings:
原始流速;Original flow rate
一定周期内的流速均值、峰值、谷值、中值、加权均值;Average, peak, valley, median, weighted mean of the flow rate over a period of time;
一定周期内,数值在指定阈值以上的流速均值;The average value of the flow rate above the specified threshold for a certain period;
一定周期内,数值为TopN或LastN的流速均值、峰值、谷值。During a certain period, the values are the mean, peak, and valley values of TopN or LastN.
收敛比的计算公式和收敛比推导式的计算公式,收敛比值域在大于0且不超过1的值区间,对于管理者而言,收敛比可定义一个大于0且不超过1的最小值αminThe calculation formula of the convergence ratio and the calculation formula of the convergence ratio derivation formula. The convergence ratio range is in the value interval greater than 0 and not exceeding 1. For the manager, the convergence ratio can define a minimum value α min greater than 0 and not exceeding 1. .
满配利用率可以是一个管理期望值,管理者希望端口将来保证带宽满配后达到的利用率在一个区间[Umin,Umax],最佳是区间中值。The full utilization ratio can be a management expectation value, and the manager hopes that the utilization rate achieved by the port in the future to ensure that the bandwidth is fully matched is in an interval [U min , U max ], and the best is the interval median value.
剩余保证带宽占比:定于为剩余可配保证带宽与端口物理带宽比值。即,剩余保证带宽占比K=(Cx–C)/B。Percentage of guaranteed bandwidth: Set to the ratio of the remaining guaranteed bandwidth to the physical bandwidth of the port. That is, the remaining guaranteed bandwidth ratio K = (Cx - C) / B.
对于管理者,可配置最小K作为预警阈值,记为K0For managers, the minimum K can be configured as an early warning threshold, denoted as K 0 .
基于阐述方便的考虑,几个特殊的收敛比α值定义为:Based on the consideration of convenience, several special convergence ratio α values are defined as:
α1:根据收敛比推导式的计算公式,当取满配利用率Uf为Umax时,计算的α。α 1 : Calculated α according to the calculation formula of the convergence ratio derivation formula, when the full utilization ratio U f is U max .
α2:根据收敛比推导式的计算公式,当取满配利用率Uf为Umin时,计算的α。α 2 : Calculated α according to the calculation formula of the convergence ratio derivation formula when the full utilization ratio U f is U min .
αb:根据收敛比推导式的计算公式,当取满配利用率Uf为区间中值时,计算的α。α b : Calculated α according to the calculation formula of the convergence ratio derivation formula, when the full utilization ratio U f is taken as the interval median value.
α0:根据收敛比的计算公式和剩余保证带宽占比的计算公式,取K为K0时,计算的Cx和α。α 0 : Calculated according to the calculation formula of the convergence ratio and the ratio of the remaining guaranteed bandwidth, and takes C x and α calculated when K is K 0 .
图11是根据本发明可选实施例的收敛比优化的算法流程图,如图11所示,该流程包括如下步骤:11 is a flowchart of an algorithm for convergence ratio optimization according to an alternative embodiment of the present invention. As shown in FIG. 11, the process includes the following steps:
步骤S1102,数据采集,准备。Step S1102, data acquisition, preparation.
可以根据筛选条件或者指定调整对象,筛选出符合要求的端口集合,并且可以组织成特定的数据结构作为算法的输入。 The set of ports that meet the requirements can be filtered according to the filtering conditions or specified adjustment objects, and can be organized into specific data structures as input to the algorithm.
步骤S1104,将采集数据汇聚到长周期。In step S1104, the collected data is aggregated to a long period.
可以将步骤S1102中的数据汇聚到长周期。获得一定时间段内流速聚合值。例如,数据采集的粒度为每15min一次,网关可以根据需要将采集数据进行汇聚,汇聚到长周期,如一天、一个星期、一个月或者一年等。周期时间可以根据需要进行设定。The data in step S1102 can be aggregated to a long period. The flow rate polymerization value is obtained within a certain period of time. For example, the granularity of data collection is once every 15 minutes, and the gateway can aggregate the collected data as needed to aggregate into long periods, such as one day, one week, one month, or one year. The cycle time can be set as needed.
步骤S1106,计算端口收敛比。In step S1106, the port convergence ratio is calculated.
可以通过已配置保证带宽C和步骤S1104获得的流速聚合值,按前述保证带宽利用率的计算公式计算一定时间段内的保证带宽利用率V;然后通过公式收敛比推导式的计算南宫市及相关条件计算收敛比α,方法可以为:The guaranteed bandwidth utilization rate V in a certain period of time can be calculated according to the foregoing formula for ensuring the bandwidth C and the flow rate aggregation value obtained in step S1104, and then calculating the bandwidth utilization ratio V in a certain period of time; and then calculating the Nangong city and related by the formula convergence ratio derivation formula The condition calculates the convergence ratio α, and the method can be:
当α1<=α0时:When α 1 <= α 0 :
1)如区间[α10]和[αmin,1]交集非空,则α取该交集中与αb最靠近的元素值。1) If the intersection [α 1 , α 0 ] and [α min , 1] are not empty, α takes the element value closest to α b in the intersection.
2)如交集为空,则当α0min时,α取αmin;当α1>1时,α取1。2) If the intersection is empty, α is α min when α 0min ; α is 1 when α 1 >1.
当α10时:When α 10 :
1)如区间[α12]和[αmin,1]交集非空,则α取该交集中的最小值。1) If the intersection of intervals [α 1 , α 2 ] and [α min , 1] is not empty, then α takes the minimum value of the intersection.
2)如区间[α12]和[αmin,1]交集为空,则当α2min时,α取αmin;当α1>1时,α取1。2) If the intersection of interval [α 1 , α 2 ] and [α min , 1] is empty, α is α min when α 2min ; α is 1 when α 1 >1.
步骤S1108,剩余保证带宽占比预警判断和推送。In step S1108, the remaining guaranteed bandwidth accounts for the early warning judgment and push.
在预警生成和推送中,α确定后,可以通过前述收敛比的计算公式计算最大可配置保证带宽Cx;然后可以通过公式F计算剩余保证带宽占比K。将计算的K与预配置的最低剩余保证带宽占比K0(阈值)进行比较,低于K0进行预警,可以将预警呈现在界面、或推送到管理者指定联网终端/服务器等位置。In the early warning generation and push, after α is determined, the maximum configurable guaranteed bandwidth C x can be calculated by the calculation formula of the aforementioned convergence ratio; then the remaining guaranteed bandwidth ratio K can be calculated by the formula F. The calculated K is compared with the pre-configured minimum remaining guaranteed bandwidth ratio K 0 (threshold), and the warning is lower than K 0 , and the warning may be presented on the interface or pushed to the designated network terminal/server of the administrator.
步骤S1110,满配利用率预警判断和推送。Step S1110, full utilization utilization warning judgment and push.
在预警生成和推送中,如α不在区间[α1,α2]内,说明满配利用率将大于管理者期望的最大满配利用率Umax,或小于期望的最小满配利用率Umin,可给出满配预警,可以将预警呈现在界面、或推送到管理者指定联网终端/服务 器等位置。In the early warning generation and push, if α is not in the interval [α1, α2], it indicates that the full utilization ratio will be greater than the maximum full utilization U max expected by the manager, or less than the expected minimum full utilization U min . Given the full warning, the warning can be presented on the interface or pushed to the administrator's designated networked terminal/server.
步骤S1112,输出结果。In step S1112, the result is output.
可以将步骤S1110中计算得到的计算结果组织成符合用户要求的输出结果,算法流程结束。The calculation result calculated in step S1110 can be organized into an output result that meets the user's requirements, and the algorithm flow ends.
图12是根据本发明可选实施例的带宽优化与收敛比优化的联合优化算法流程图,如图12所示,该流程可以包括如下步骤:FIG. 12 is a flowchart of a joint optimization algorithm for bandwidth optimization and convergence ratio optimization according to an alternative embodiment of the present invention. As shown in FIG. 12, the process may include the following steps:
步骤S1202,数据筛选,准备。Step S1202, data screening, preparation.
可以根据联合优化配置的筛选条件或者指定调整对象,确定出待调整的伪线,隧道,端口对象集合,并可以组织成特定的数据结构作为算法的输入。The pseudo-line, tunnel, and port object set to be adjusted may be determined according to the filtering condition of the joint optimization configuration or the specified adjustment object, and may be organized into a specific data structure as an input of the algorithm.
步骤S1204,执行带宽优化算法的步骤S1004至步骤S1010。In step S1204, steps S1004 to S1010 of the bandwidth optimization algorithm are executed.
可以将步骤S1202中的伪线,隧道对象集合作为输入,执行带宽优化算法的步骤S1004至步骤S1010。Steps S1004 to S1010 of the bandwidth optimization algorithm may be executed by taking the pseudowire and the tunnel object set in step S1202 as inputs.
步骤S1206,输出带宽算法的伪线、隧道调整结果。Step S1206, outputting a pseudowire and a tunnel adjustment result of the bandwidth algorithm.
可以根据步骤S1204中得到带宽优化的伪线,隧道调整输出结果对应的端口状态表,和步骤S1202中数据准备的待调整端口对象集合作为收敛比优化算法的输入。The port state table corresponding to the output result is obtained according to the bandwidth optimized pseudo line in step S1204, and the port object set to be adjusted prepared by the data in step S1202 is used as an input of the convergence ratio optimization algorithm.
步骤S1208,执行收敛比优化算法的步骤S1104至步骤S1110。In step S1208, steps S1104 to S1110 of the convergence ratio optimization algorithm are executed.
可以将步骤S1206的输入结果,执行收敛比优化算法的步骤S1104至步骤S1110。The input result of step S1206 can be performed to perform steps S1104 to S1110 of the convergence ratio optimization algorithm.
步骤S1210,输出联合优化结果。In step S1210, the joint optimization result is output.
可以将步骤S1204带宽优化输出结果和步骤S1208收敛比优化结果组织成符合用户要求的结果,算法流程结束。The bandwidth optimization output result of step S1204 and the convergence ratio optimization result of step S1208 may be organized into a result that meets the user's requirements, and the algorithm flow ends.
然后对路径计算单元86进行说明。路径计算单元86设置为:提供路径计算策略,包括全网资源下的最佳路径改造方式和引入新的网络资源后的最佳路径方式。图13是根据本发明可选实施例的路径计算算法的流程图,如图13所示,该流程可以包括如下步骤:The path calculation unit 86 will then be described. The path calculation unit 86 is configured to provide a path calculation strategy, including an optimal path modification mode under the entire network resource and an optimal path mode after introducing a new network resource. FIG. 13 is a flowchart of a path calculation algorithm according to an alternative embodiment of the present invention. As shown in FIG. 13, the process may include the following steps:
步骤S1302,获取全网资源数据。 Step S1302: Acquire full network resource data.
获取全网资源数据,可以包括:获取链路,隧道,端口的资源,性能数据,并组织成特定的数据结构作为算法的输入。Obtaining network-wide resource data may include: obtaining links, tunnels, port resources, performance data, and organizing into specific data structures as input to the algorithm.
步骤S1304,对全网资源数据进行降维处理。Step S1304, performing dimension reduction processing on the entire network resource data.
在充分考虑带约束最短路径(Constrained Shortest Path First,简称为CSPF)的缺陷后,可以对全网资源数据降维处理。CSPF只对某一业务的带约束最短路径计算,当做全网业务计算时,存在较大问题;没有充分考虑流量/质量的约束条件。After fully considering the defects of the Constrained Shortest Path First (CSPF), the network resource data can be reduced in dimension. CSPF only calculates the shortest path with constrained for a certain service. When doing network-wide business calculation, there is a big problem; the traffic/quality constraints are not fully considered.
因而本步骤中,可以采用基于节点/链路/端到端的流量/质量/容量约束条件,依次在优先级,工作保护隧道关系,隧道的关系型条件分组上将全网资源划分为若干个子组,从而达到降低计算维度和复杂性的目的。Therefore, in this step, the node/link/end-to-end traffic/quality/capacity constraint conditions may be used, and the whole network resources are divided into several subgroups in the priority, the working protection tunnel relationship, and the relationship type grouping of the tunnel. To achieve the purpose of reducing the computational dimensions and complexity.
步骤S1306,筛除不符合条件的路径。In step S1306, the path that does not meet the condition is screened out.
筛除不符合条件的路径,可以包括:某些个体隧道刚性约束下的路径,全网刚性约束下的隧道路径组合。Screening for paths that do not meet the criteria may include: paths under certain individual tunnel rigid constraints, and tunnel path combinations under full network rigid constraints.
步骤S1308,引入指标作为路径计算参考。In step S1308, an indicator is introduced as a path calculation reference.
引入指标作为路径计算参考,指标可以包括:全网隧道路径总长度,全网流量/容量分布均衡度,全网端口总流量/容量、全网个体隧道路径评分。采用指标计算可方便得到某一业务的多条路径中的最优路径,并且消除了等价路径筛选的困扰。The indicator is introduced as a path calculation reference. The indicators may include: the total length of the entire network tunnel path, the network-wide traffic/capacity distribution balance, the total network port total traffic/capacity, and the entire network individual tunnel path score. Using the index calculation can easily obtain the optimal path among multiple paths of a certain service, and eliminate the trouble of equal-cost path screening.
步骤S1310,输出最优路径结果。In step S1310, an optimal path result is output.
可以将步骤S1308中得到的最优路径,组织成符合用户要求的结果输出,算法流程结束。The optimal path obtained in step S1308 can be organized into a result output that meets the user's requirements, and the algorithm flow ends.
本可选实施例有如下优点:This alternative embodiment has the following advantages:
1)提出一种向SDN控制器的提供策略的独立外置系统;1) propose an independent external system that provides a strategy to the SDN controller;
2)描述SDN控制器外置系统内部模块的组成,功能,以及模块之间的联系;2) Describe the components, functions, and connections between the modules of the external system of the SDN controller;
3)描述SDN控制器外置系统在网络中位置,及装置之间的关系,每个网络层次的外置系统逐层汇聚计算,考虑全网的制约因素,得出的优化策略, 符合现网实际要求;3) Describe the location of the external system of the SDN controller in the network, and the relationship between the devices. The external system of each network level is aggregated layer by layer, considering the constraints of the whole network, and the optimized strategy is obtained. Meet the actual requirements of the live network;
4)每个SDN控制器都有一个独立的外置系统为SDN控制器提供策略,策略完整,全面,系统,与SDN控制器有独立接口,不受外界因素干扰,无依赖关系。4) Each SDN controller has an independent external system to provide strategies for the SDN controller. The strategy is complete, comprehensive, and has an independent interface with the SDN controller. It is free from external factors and has no dependencies.
通过以上的实施方式的描述,本领域的技术人员可以清楚地了解到根据上述实施例的方法可借助软件加必需的通用硬件平台的方式来实现,当然也可以通过硬件。基于这样的理解,本发明实施例本质上或者做出贡献的部分可以以软件产品的形式体现出来,该计算机软件产品存储在一个存储介质(如只读存储器(ROM,Read-Only Memory)/随机存取存储器(RAM,Random Access Memory)、磁碟、光盘)中,包括若干指令用以使得一台终端设备(可以是手机,计算机,服务器,或者网络设备等)执行本发明实施例所述的策略发送方法。Through the description of the above embodiments, those skilled in the art can clearly understand that the method according to the above embodiments can be implemented by means of software plus a necessary general hardware platform, and of course, by hardware. Based on such understanding, portions of the embodiments of the present invention that are essential or contributing may be embodied in the form of a software product stored in a storage medium (such as Read-Only Memory (ROM)/random The access memory (RAM, Random Access Memory), the disk, the optical disk, includes a plurality of instructions for causing a terminal device (which may be a mobile phone, a computer, a server, a network device, etc.) to perform the embodiments of the present invention. Policy sending method.
本发明实施例还提供了一种计算机可读存储介质,存储有计算机可执行指令,所述计算机可执行指令被执行时实现上述策略发送方法。The embodiment of the invention further provides a computer readable storage medium storing computer executable instructions, which are implemented when the computer executable instructions are executed.
本申请实施例还提供了一种策略接收方法,该策略接收方法可以在控制器、终端或者类似的运算装置中执行。以运行在控制器上为例,图14是根据本发明实施例的策略接收方法的控制器的硬件结构框图。如图14所示,控制器140可以包括一个或多个(图中仅示出一个)第二处理器1402(第二处理器1402可以包括但不限于微处理器MCU或可编程逻辑器件FPGA等的处理装置)、设置为存储数据的第二存储器1404、以及设置为通信功能的第二传输装置1406。本领域普通技术人员可以理解,图14所示的结构仅为示意,其并不对上述电子装置的结构造成限定。例如,控制器140还可包括比图14中所示更多或者更少的组件,或者具有与图14所示不同的配置。The embodiment of the present application further provides a policy receiving method, which can be performed in a controller, a terminal, or the like. Taking the operation on the controller as an example, FIG. 14 is a hardware block diagram of a controller of the policy receiving method according to an embodiment of the present invention. As shown in FIG. 14, the controller 140 may include one or more (only one shown in the figure) second processor 1402 (the second processor 1402 may include, but is not limited to, a microprocessor MCU or a programmable logic device FPGA, etc. The processing device), the second memory 1404 configured to store data, and the second transmission device 1406 configured as a communication function. It will be understood by those skilled in the art that the structure shown in FIG. 14 is merely illustrative and does not limit the structure of the above electronic device. For example, the controller 140 may also include more or less components than those shown in FIG. 14, or have a different configuration than that shown in FIG.
第二存储器1404可设置为:存储应用软件的软件程序以及模块,如本发明实施例中的策略发送方法对应的程序指令/模块,第二处理器1402可设置为:通过运行存储在第二存储器1404内的软件程序以及模块,从而执行各种功能应用以及数据处理,即实现上述的方法。第二存储器1404可包括高速随机存储器,还可包括非易失性存储器,如一个或者多个磁性存储装置、闪存、 或者其他非易失性固态存储器。在一些实例中,第二存储器1404可进一步包括相对于第二处理器1402远程设置的存储器,这些远程存储器可以通过网络连接至控制器140。上述网络的实例包括但不限于互联网、企业内部网、局域网、移动通信网及其组合。The second memory 1404 can be configured to: store a software program of the application software and a module, such as a program instruction/module corresponding to the policy sending method in the embodiment of the present invention, and the second processor 1402 can be configured to: store in the second memory by running The software program and module in 1404, thereby performing various functional applications and data processing, that is, implementing the above method. The second memory 1404 can include a high speed random access memory, and can also include a non-volatile memory, such as one or more magnetic storage devices, flash memory, Or other non-volatile solid state memory. In some examples, the second memory 1404 can further include memory remotely located relative to the second processor 1402, which can be connected to the controller 140 via a network. Examples of such networks include, but are not limited to, the Internet, intranets, local area networks, mobile communication networks, and combinations thereof.
第二传输装置1406可设置为:经由一个网络接收或者发送数据。上述的网络实例可包括控制器140的通信供应商提供的无线网络。在一个实例中,第二传输装置1406包括一个网络适配器(Network Interface Controller,NIC),其可通过基站与其他网络设备相连从而可与互联网进行通讯。在一个实例中,第二传输装置1406可以为射频(Radio Frequency,RF)模块,其设置为:通过无线方式与互联网进行通讯。The second transmission device 1406 can be configured to receive or transmit data via a network. The network instance described above may include a wireless network provided by a communication provider of the controller 140. In one example, the second transmission device 1406 includes a Network Interface Controller (NIC) that can be connected to other network devices through the base station to communicate with the Internet. In one example, the second transmission device 1406 can be a radio frequency (RF) module configured to communicate with the Internet wirelessly.
在本实施例中提供了一种运行于上述控制器的策略接收方法,图15是根据本发明实施例的策略接收方法的流程图,如图15所示,该流程包括如下步骤:In this embodiment, a policy receiving method running on the controller is provided. FIG. 15 is a flowchart of a method for receiving a policy according to an embodiment of the present invention. As shown in FIG. 15, the process includes the following steps:
步骤S1502,接收用于对所在层次网络进行控制的控制策略;Step S1502: Receive a control strategy for controlling a network in which the layer is located;
步骤S1504,根据接收的控制策略,对所在层次网络进行控制。Step S1504: Control the network in which the layer is located according to the received control policy.
通过接收外部装置发送的对所在层次网络继续控制的控制策略,对所在层次网络进行控制,提高了控制器运行效率。By receiving the control strategy sent by the external device to continue control of the hierarchical network, the network at the hierarchical level is controlled, and the operating efficiency of the controller is improved.
可选地,接收的控制策略可以有多种形式。例如,接收的控制策略可以是根据本控制器控制区域内网络资源生成的控制策略。又例如,接收的控制策略可以是根据多域控制器内一个或多个子控制器的一个或多个子控制策略生成的该多域控制器对所在层次网络进行控制的控制策略,其中,该一个或多个子控制策略用于对所在层次网络分别进行控制,子控制器与子控制策略为一一对应关系,一个或多个子控制器可以为以下至少之一:单域控制器、多域控制器。对于接收的控制策略是根据多域控制器内一个或多个子控制器对所在层次网络分别进行控制的一个或多个子控制策略生成的该多域控制器对所在层次网络进行控制的控制策略的方式,由于生成的控制策略考虑多域控制器控制区域内多个子控制器的控制策略,从全局角度对全网资源进行控制,避免了不同子控制器资源控制之间的冲突,提高了资源分配的合理性。Alternatively, the received control strategy can take a variety of forms. For example, the received control policy may be a control policy generated according to network resources in the control area of the controller. For another example, the received control policy may be a control policy for controlling the hierarchical network generated by the multi-domain controller generated by one or more sub-control policies of one or more sub-controllers in the multi-domain controller, where the one or The plurality of sub-control strategies are used to control the hierarchical network, and the sub-controller and the sub-control strategy have a one-to-one correspondence. The one or more sub-controllers may be at least one of the following: a single domain controller and a multi-domain controller. The control strategy for receiving is a control strategy for controlling the hierarchical network generated by the multi-domain controller generated by one or more sub-control policies respectively controlled by one or more sub-controllers in the multi-domain controller. Because the generated control strategy considers the control strategies of multiple sub-controllers in the multi-domain controller control area, the whole network resources are controlled from a global perspective, which avoids conflicts between different sub-controller resource controls and improves resource allocation. rationality.
通过该策略接收方法及可选实施方式,接收根据多域控制器内一个或多 个子控制器对所在层次网络分别进行控制的一个或多个子控制策略生成的该多域控制器对所在层次网络进行控制的控制策略,由于生成的控制策略考虑多域控制器控制区域内多个子控制器的控制策略,从全局角度对全网资源进行控制,避免了不同子控制器资源控制之间的冲突,提高了资源分配的合理性。Receiving one or more according to the multi-domain controller by the policy receiving method and the optional implementation manner The sub-controller controls the multi-domain controller generated by one or more sub-control strategies respectively controlled by the hierarchical network to control the hierarchical network, and the generated control strategy considers multiple sub-controls in the multi-domain controller control area The control strategy of the device controls the resources of the whole network from a global perspective, avoids conflicts between resource control of different sub-controllers, and improves the rationality of resource allocation.
可选地,可以采用多种方式接收用于对所在层次网络进行控制的控制策略。例如,多个控制器可以分别通过接口接收外置系统发送的、根据该控制器所控制区域内的网络资源确定的该控制器对所在层次网络进行控制的策略。又例如,在控制策略为多个的情况下,接收编排器对多个控制策略进行汇聚后获得的控制策略。接收编排器对多个控制策略进行汇聚后获得控制策略,可以方便对控制策略进行管理,提高控制策略发送的效率。Optionally, the control strategy for controlling the network in which the hierarchy is located may be received in a variety of manners. For example, multiple controllers may respectively receive, through an interface, a policy that is sent by an external system and that is controlled by the controller according to network resources in the area controlled by the controller. For another example, in a case where there are multiple control strategies, the receiving compiler obtains a control strategy obtained by aggregating a plurality of control policies. The receiving orchestrator obtains the control strategy after converging multiple control policies, which can conveniently manage the control strategy and improve the efficiency of the control strategy.
通过本发明实施例,在控制策略为多个的情况下,接收编排器对多个控制策略进行汇聚后获得的控制策略,通过汇编器将控制策略进行汇聚后发送给对应的控制器,便于控制策略的发送管理,提高控制策略的发送效率。According to the embodiment of the present invention, in a case where there are multiple control strategies, the control controller obtains a control strategy obtained by aggregating a plurality of control policies, and the control strategy is aggregated by the assembler and sent to the corresponding controller, which is convenient for control. The transmission management of the policy improves the transmission efficiency of the control strategy.
可选地,上述控制策略可以包括以下至少之一:用于对网络资源进行分析的网络分析策略、用于对网络资源进行优化的网络优化策略、用于对控制器所在层次网络中的路径进行计算的路径计算策略。Optionally, the foregoing control policy may include at least one of the following: a network analysis policy for analyzing network resources, a network optimization policy for optimizing network resources, and a path for a network in a hierarchical network where the controller is located. Calculated path calculation strategy.
基于上述实施例及可选实施方式,为说明策略接收方法的整个流程交互,在本可选实施例中,提供了一种策略接收方法。图16是根据本发明可选实施例的策略接收方法的流程图,如图16所示,该流程可以包括以下步骤:Based on the foregoing embodiment and the optional implementation manners, in order to illustrate the entire process interaction of the policy receiving method, in the optional embodiment, a policy receiving method is provided. FIG. 16 is a flowchart of a method for receiving a policy according to an alternative embodiment of the present invention. As shown in FIG. 16, the process may include the following steps:
步骤S1602,接收汇编器对多个控制策略进行汇聚后的控制策略。Step S1602: Receive a control strategy after the assembler aggregates the multiple control policies.
接收到的控制策略可以包括以下至少之一:网络分析策略、网络优化策略、路径计算策略。The received control policy may include at least one of the following: a network analysis policy, a network optimization policy, and a path calculation policy.
步骤S1604,根据接收到的控制策略,确定控制区域内每个子控制器对其所在层次网络进行控制的控制策略。Step S1604: Determine, according to the received control policy, a control strategy for each sub-controller in the control area to control the hierarchical network in which it is located.
SC控制器可以根据接收到的控制策略,确定SC控制器控制区域内每个子控制器对其所在层次网络进行的控制策略。SC控制器根据接收到控制策略可以包括:SC控制器对其所在层次网络进行控制的控制策略以及SC控制器 控制区域内每个子控制器对其所在层次网络进行的控制策略,或者,SC控制器对其所在层次网络进行控制的控制策略以及由SC控制器对其所在层次网络进行控制的控制策略生成SC控制器控制区域内每个子控制器对其所在层次网络进行的控制策略的规则。当然,这里的规则也可以在SC控制器上有SC控制器根据其控制区域内每个子控制器的控制区域内网络资源状况进行确定。The SC controller can determine, according to the received control strategy, a control strategy of each sub-controller in the control area of the SC controller for the hierarchical network in which it is located. The SC controller may include: a control strategy for controlling the hierarchical network of the SC controller and the SC controller according to the received control policy. The control strategy of each sub-controller in the control area for its hierarchical network, or the control strategy that the SC controller controls its hierarchical network and the control strategy generated by the SC controller to control the hierarchical network it generates SC control The rules governing the control policy of each sub-controller in the control area. Of course, the rules herein can also be determined by the SC controller on the SC controller according to the network resource status in the control area of each sub-controller in its control area.
步骤S1606,将确定的每个子控制器的控制策略,发送给对应的子控制器。Step S1606: Send the determined control policy of each sub-controller to the corresponding sub-controller.
对于子控制器为单域控制器的情况,SC控制器可以将确定的该子控制器的控制策略发送该子控制器。对于子控制器为多域控制器的情况,SC控制器可以将确定的该多域控制器的控制策略以及该多域控制器控制区域内的一个或多个子控制器的控制策略(或,生成该多域控制器控制区域内的一个或多个子控制器控制策略的规则)一起发送该子控制器。In the case where the sub-controller is a single domain controller, the SC controller may transmit the determined control policy of the sub-controller to the sub-controller. In the case where the sub-controller is a multi-domain controller, the SC controller may determine the control strategy of the multi-domain controller and the control strategy of one or more sub-controllers within the multi-domain controller control area (or generate The multi-domain controller controls the rules of one or more sub-controllers within the control region to send the sub-controller together.
步骤S1608,根据接收到的控制策略,对所在层次网络进行控制。Step S1608: Control the network in which the layer is located according to the received control policy.
本可选实施例有如下优点:This alternative embodiment has the following advantages:
1)由于控制器的控制策略是接收外部接收的,降低了策略管理对控制器系统资源的占用,提高了控制器的运行效率;1) Since the control strategy of the controller is to receive external reception, the resource management of the controller system resources is reduced, and the operating efficiency of the controller is improved;
2)SDN控制器的控制策略考虑了全网的制约因素,得出的优化策略,符合现网实际要求。2) The control strategy of the SDN controller takes into account the constraints of the whole network, and the optimized strategy is in line with the actual requirements of the existing network.
通过以上的实施方式的描述,本领域的技术人员可以清楚地了解到根据上述实施例的方法可借助软件加必需的通用硬件平台的方式来实现,当然也可以通过硬件。基于这样的理解,本发明实施例本质上或者做出贡献的部分可以以软件产品的形式体现出来,该计算机软件产品存储在一个存储介质(如ROM/RAM、磁碟、光盘)中,包括若干指令用以使得一台终端设备(可以是手机,计算机,服务器,或者网络设备等)执行本发明实施例所述的策略接收方法。Through the description of the above embodiments, those skilled in the art can clearly understand that the method according to the above embodiments can be implemented by means of software plus a necessary general hardware platform, and of course, by hardware. Based on such understanding, portions of the embodiments of the present invention that are essential or contributing may be embodied in the form of a software product stored in a storage medium (eg, ROM/RAM, disk, optical disk), including The command is used to enable a terminal device (which may be a mobile phone, a computer, a server, or a network device, etc.) to execute the policy receiving method according to the embodiment of the present invention.
本发明实施例还提供了一种计算机可读存储介质,存储有计算机可执行指令,所述计算机可执行指令被执行时实现上述策略接收方法。 The embodiment of the invention further provides a computer readable storage medium storing computer executable instructions, which are implemented when the computer executable instructions are executed.
在本实施例中还提供了一种策略发送装置,该装置设置为实现上述实施例及可选实施方式,已经进行过说明的不再赘述。如以下所使用的,术语“模块”可以实现预定功能的软件和硬件中任意一个或其组合。尽管以下实施例所描述的装置可以以软件来实现,但是硬件,或者软件和硬件的组合的实现也是可能并被构想的。In this embodiment, a policy sending apparatus is also provided, which is configured to implement the foregoing embodiments and optional implementation manners, and has not been described again. As used hereinafter, the term "module" can implement any one or combination of software and hardware for a predetermined function. Although the devices described in the following embodiments may be implemented in software, hardware, or a combination of software and hardware, is also possible and contemplated.
图17是根据本发明实施例的策略发送装置的结构框图,如图17所示,该装置包括:确定模块172、发送模块174。下面对该装置进行说明。FIG. 17 is a structural block diagram of a policy sending apparatus according to an embodiment of the present invention. As shown in FIG. 17, the apparatus includes: a determining module 172 and a sending module 174. The device will be described below.
确定模块172,设置为:根据控制器控制区域内的网络资源,确定控制器对所在层次网络进行控制的控制策略;发送模块174,设置为:与上述确定模块172相连,将确定的控制策略发送给控制器。The determining module 172 is configured to: determine, according to network resources in the controller control area, a control policy for the controller to control the hierarchical network; the sending module 174 is configured to: connect to the determining module 172, and send the determined control policy. Give the controller.
图18是根据本发明实施例的策略发送装置的确定模块172的结构框图,如图18所示,该确定模块172可以包括:获取单元182、确定单元184。下面对该确定模块172进行说明。FIG. 18 is a structural block diagram of a determining module 172 of a policy sending apparatus according to an embodiment of the present invention. As shown in FIG. 18, the determining module 172 may include an obtaining unit 182 and a determining unit 184. The determination module 172 will be described below.
获取单元182,设置为:在控制器为多域控制器的情况下,获取多域控制器控制区域内的一个或多个子控制器的一个或多个子控制策略,其中,该一个或多个子控制策略用于对所在层次网络分别进行控制,子控制器与子控制策略为一一对应关系;确定单元184,设置为:与上述获取单元182相连,根据上述一个或多个子控制策略,确定多域控制器对所在层次网络进行控制的控制策略,其中,一个或多个子控制器为以下至少之一:单域控制器、多域控制器。The obtaining unit 182 is configured to: acquire one or more sub-control policies of one or more sub-controllers in the multi-domain controller control area, where the controller is a multi-domain controller, wherein the one or more sub-controls The policy is used to control the network in the hierarchy, and the sub-controller has a one-to-one correspondence with the sub-control policy. The determining unit 184 is configured to be connected to the acquiring unit 182, and determine the multi-domain according to the one or more sub-control policies. A control strategy for the controller to control the network in which the layer is located, wherein one or more of the sub-controllers are at least one of the following: a single domain controller, a multi-domain controller.
图19是根据本发明实施例的策略发送装置的发送模块174的结构框图,如图19所示,该发送模块174可以包括:汇聚单元192、发送单元194。下面对发送模块174进行说明。FIG. 19 is a structural block diagram of a sending module 174 of a policy sending apparatus according to an embodiment of the present invention. As shown in FIG. 19, the sending module 174 may include: a converging unit 192 and a sending unit 194. The transmitting module 174 will be described below.
汇聚单元192,设置为:在控制策略为多个的情况下,采用编排器对多个控制策略进行汇聚;发送单元194,设置为:与上述汇聚单元192相连,将编排器汇聚后的控制策略发送给控制器。The aggregation unit 192 is configured to: when the control policy is multiple, use the orchestrator to aggregate multiple control policies; and the sending unit 194 is configured to: connect to the aggregation unit 192, and combine the control strategies of the orchestrator Send to the controller.
可选地,上述控制策略可以包括以下至少之一:网络分析策略、网络优 化策略、路径计算策略。Optionally, the foregoing control policy may include at least one of the following: a network analysis policy, and a network optimization Strategy, path calculation strategy.
可以说明的是,上述模块是可以通过软件或硬件来实现的,对于后者,可以通过以下方式实现,但不限于此:上述模块均位于同一处理器中;或者,上述模块以任意组合的形式分别位于不同的处理器中。It can be noted that the foregoing modules may be implemented by software or hardware. For the latter, the foregoing may be implemented by, but not limited to, the above modules are all located in the same processor; or the above modules are in any combination. They are located in different processors.
在本实施例中还提供了一种策略接收装置,该装置设置为实现上述实施例及可选实施方式,已经进行过说明的不再赘述。如以下所使用的,术语“模块”可以实现预定功能的软件和硬件中任意一个或其组合。尽管以下实施例所描述的装置可以以软件来实现,但是硬件,或者软件和硬件的组合的实现也是可能并被构想的。In this embodiment, a policy receiving apparatus is also provided, which is configured to implement the foregoing embodiments and optional implementation manners, and has not been described again. As used hereinafter, the term "module" can implement any one or combination of software and hardware for a predetermined function. Although the devices described in the following embodiments may be implemented in software, hardware, or a combination of software and hardware, is also possible and contemplated.
图20是根据本发明实施例的策略接收装置的结构框图,如图20所示,该装置包括:接收模块202、控制模块204。下面对该装置进行说明。FIG. 20 is a structural block diagram of a policy receiving apparatus according to an embodiment of the present invention. As shown in FIG. 20, the apparatus includes: a receiving module 202 and a control module 204. The device will be described below.
接收模块202,设置为:接收用于对所在层次网络进行控制的控制策略;控制模块204,设置为:与上述接收模块202相连,根据接收的控制策略,对所在层次网络进行控制。The receiving module 202 is configured to: receive a control policy for controlling the network in which the layer is located; the control module 204 is configured to: connect to the receiving module 202, and control the layer network according to the received control policy.
图21是根据本发明实施例的策略接收装置的接收模块202的结构框图一,如图21所示,该接收模块202可以包括:第一接收单元212。下面对该接收模块202进行说明。FIG. 21 is a structural block diagram of a receiving module 202 of a policy receiving apparatus according to an embodiment of the present invention. As shown in FIG. 21, the receiving module 202 may include: a first receiving unit 212. The receiving module 202 will be described below.
第一接收单元212,设置为:接收根据多域控制器控制区域内一个或多个子控制器的一个或多个子控制策略生成的该多域控制器对所在层次网络进行控制的控制策略,其中,一个或多个子控制策略用于对所在层次网络分别进行控制,子控制器与子控制策略为一一对应关系,一个或多个子控制器为以下至少之一:单域控制器、多域控制器。The first receiving unit 212 is configured to: receive, by the one or more sub-control policies of one or more sub-controllers in the control area of the multi-domain controller, a control policy of the multi-domain controller to control the network in which the layer is located, where One or more sub-control strategies are used to control the network in the hierarchy, and the sub-controller has a one-to-one correspondence with the sub-control policies, and one or more sub-controllers are at least one of the following: a single domain controller, a multi-domain controller .
图22是根据本发明实施例的策略接收装置的接收模块202的结构框图二,如图22所示,该接收模块202可以包括:第二接收单元222。下面对该接收模块202进行说明。FIG. 22 is a structural block diagram 2 of a receiving module 202 of a policy receiving apparatus according to an embodiment of the present invention. As shown in FIG. 22, the receiving module 202 may include: a second receiving unit 222. The receiving module 202 will be described below.
第二接收单元222,设置为:在控制策略为多个的情况下,接收编排器对多个控制策略进行汇聚后获得的控制策略。 The second receiving unit 222 is configured to: when the control policy is multiple, receive the control policy obtained by the orchestrator after collecting the multiple control policies.
可以说明的是,上述模块是可以通过软件或硬件来实现的,对于后者,可以通过以下方式实现,但不限于此:上述模块均位于同一处理器中;或者,上述模块以任意组合的形式分别位于不同的处理器中。It can be noted that the foregoing modules may be implemented by software or hardware. For the latter, the foregoing may be implemented by, but not limited to, the above modules are all located in the same processor; or the above modules are in any combination. They are located in different processors.
在本实施例中还提供了一种控制器,图23是根据本发明实施例的控制器的结构框图,如图23所示,该控制器包括上述实施例中的策略接收装置232。A controller is also provided in this embodiment. FIG. 23 is a structural block diagram of a controller according to an embodiment of the present invention. As shown in FIG. 23, the controller includes the policy receiving device 232 in the above embodiment.
本发明的实施例还提供了一种存储介质。可选地,在本实施例中,上述存储介质可以被设置为存储用于执行以下步骤的程序代码:Embodiments of the present invention also provide a storage medium. Optionally, in the embodiment, the foregoing storage medium may be configured to store program code for performing the following steps:
S1,根据控制器控制区域内的网络资源,确定控制器对所在层次网络进行控制的控制策略;S1: determining, according to network resources in the controller control area, a control strategy for the controller to control the network in which the layer is located;
S2,将确定的控制策略发送给控制器。S2, sending the determined control strategy to the controller.
可选地,存储介质还被设置为存储用于执行以下步骤的程序代码:Optionally, the storage medium is further arranged to store program code for performing the following steps:
根据控制器控制区域内的网络资源,确定控制器对所在层次网络进行控制的控制策略可以包括:According to the network resources in the control area of the controller, the control strategy for determining that the controller controls the network in the hierarchy may include:
S1,在控制器为多域控制器的情况下,获取多域控制器控制区域内的一个或多个子控制器的一个或多个子控制策略,其中,一个或多个子控制策略用于对所在层次网络分别进行控制,子控制器与子控制策略为一一对应关系;S1. If the controller is a multi-domain controller, acquire one or more sub-control policies of one or more sub-controllers in the multi-domain controller control area, where one or more sub-control policies are used for the The network is separately controlled, and the sub-controller and the sub-control strategy have a one-to-one correspondence;
S2,根据上述一个或多个子控制策略,确定多域控制器对所在层次网络进行控制的控制策略,其中,一个或多个子控制器为以下至少之一:单域控制器、多域控制器。S2. Determine, according to the one or more sub-control policies, a control policy for controlling the multi-domain controller to control the hierarchical network, where the one or more sub-controllers are at least one of the following: a single domain controller, and a multi-domain controller.
可选地,存储介质还被设置为存储用于执行以下步骤的程序代码:上述控制策略包括以下至少之一:用于对网络资源进行分析的网络分析策略、用于对网络资源进行优化的网络优化策略、用于对控制器所在层次网络中的路径进行计算的路径计算策略。Optionally, the storage medium is further configured to store program code for performing the following steps: the above control policy comprises at least one of: a network analysis policy for analyzing network resources, a network for optimizing network resources An optimization strategy, a path calculation strategy for calculating a path in a hierarchical network where the controller is located.
可选地,存储介质还被设置为存储用于执行以下步骤的程序代码:Optionally, the storage medium is further arranged to store program code for performing the following steps:
在控制策略包括网络分析策略的情况下,根据控制器控制区域内的网络 资源,确定控制器对所在层次网络进行控制的控制策略包括:In the case where the control strategy includes a network analysis policy, according to the network within the controller control area Resources, control strategies that determine the controller's control over the network in which it is located include:
S1,根据控制器控制区域内的网络资源的资源属性,对网络资源进行分组,得到一个或多个网络资源组;S1. Group, according to resource attributes of network resources in the controller control area, network resources, to obtain one or more network resource groups;
S2,根据分组后的一个或多个网络资源组中每个网络资源组的网络资源资源属性,用于对网络资源进行分析的分析指标的指标参数,以及预定的指标计算公式,确定分组后的该网络资源组的指标值;S2, according to the network resource resource attribute of each network resource group in the grouped one or more network resource groups, the indicator parameter of the analysis indicator used for analyzing the network resource, and the predetermined index calculation formula, determining the grouped The indicator value of the network resource group;
S3,确定控制策略为以下至少之一:根据确定的指标值,预置的指标值告警区间以及告警级别,生成告警记录;根据资源分组的对象、资源属性和分析指标中任意一个或其组合,生成报表;根据网络资源的关联关系,确定控制器控制区域内的网络资源的拓扑关系。S3, determining that the control policy is at least one of the following: generating an alarm record according to the determined indicator value, the preset indicator value alarm interval, and the alarm level; and according to any one or a combination of the resource grouping object, the resource attribute, and the analysis indicator, Generate a report; determine the topological relationship of network resources in the controller control area according to the association relationship of the network resources.
可选地,存储介质还被设置为存储用于执行以下步骤的程序代码:Optionally, the storage medium is further arranged to store program code for performing the following steps:
在控制策略包括网络优化策略的情况下,根据控制器控制区域内的网络资源,确定控制器对所在层次网络进行控制的控制策略包括:In the case that the control strategy includes the network optimization strategy, according to the network resources in the controller control area, the control strategy for determining the controller to control the hierarchical network includes:
S1,确定待调整的用于数据传输的伪线、或隧道、或伪线和隧道;分别确定一个或多个伪线、或隧道、或伪线和隧道中每一个的第一带宽调整值;确定上述控制策略为:根据确定的一个或多个伪线、或隧道、或伪线和隧道中每一个的第一带宽调整值,端口与一个或多个伪线、或隧道、或伪线和隧道中每一个的关联关系,以及端口的预置带宽调整值,确定一个或多个伪线、或隧道、或伪线和隧道中每一个的第二带宽调整值;S1, determining a pseudowire, or a tunnel, or a pseudowire and a tunnel for data transmission to be adjusted; respectively determining a first bandwidth adjustment value of each of the one or more pseudowires, or the tunnel, or the pseudowire and the tunnel; Determining the above control strategy as: a first bandwidth adjustment value according to the determined one or more pseudowires, or a tunnel, or each of the pseudowires and the tunnel, the port and one or more pseudowires, or tunnels, or pseudowires Determining the relationship between each of the tunnels and the preset bandwidth adjustment value of the port, and determining a second bandwidth adjustment value of each of the one or more pseudowires, or the tunnel, or the pseudowire and the tunnel;
或,or,
S2,确定待调整的用于数据传输的端口集合;分别获取端口集合中每个端口的端口流速、预置的带宽保证的带宽值,以及预置的带宽利用率;确定上述控制策略为:根据获取的端口集合中每个端口带宽的端口流速,预置的带宽保证的带宽值,以及预置的带宽利用率,确定端口集合中每个端口的带宽收敛比;S2, determining a set of ports to be adjusted for data transmission; respectively obtaining a port flow rate of each port in the port set, a preset bandwidth guaranteed bandwidth value, and a preset bandwidth utilization; determining the foregoing control strategy is: Obtaining the port flow rate of each port bandwidth in the obtained port set, the preset bandwidth guaranteed bandwidth value, and the preset bandwidth utilization, and determining the bandwidth convergence ratio of each port in the port set;
或,or,
S3,确定待调整的用于数据传输的伪线、或隧道、或伪线和隧道;分别确定一个或多个伪线、或隧道、或伪线和隧道中每一个的第一带宽调整值; 确定上述控制策略为:根据确定的一个或多个伪线、或隧道、或伪线和隧道中每一个的第一带宽调整值,端口与一个或多个伪线、或隧道、或伪线和隧道中每一个的关联关系,以及端口的预置带宽调整值,确定一个或多个伪线、或隧道、或伪线和隧道中每一个的第二带宽调整值;确定待调整的用于数据传输的端口集合;分别获取端口集合中每个端口的端口流速、预置的带宽保证的带宽值,以及预置的带宽利用率;确定上述控制策略为:根据获取的端口集合中每个端口带宽的端口流速,预置的带宽保证的带宽值,以及预置的带宽利用率,确定端口集合中每个端口的带宽收敛比。S3, determining a pseudowire, or a tunnel, or a pseudowire and a tunnel for data transmission to be adjusted; respectively determining a first bandwidth adjustment value of each of the one or more pseudowires, or the tunnel, or the pseudowire and the tunnel; Determining the above control strategy as: a first bandwidth adjustment value according to the determined one or more pseudowires, or a tunnel, or each of the pseudowires and the tunnel, the port and one or more pseudowires, or tunnels, or pseudowires Determining the relationship between each of the tunnels and the preset bandwidth adjustment value of the port, determining a second bandwidth adjustment value of each of the one or more pseudowires, or the tunnel, or the pseudowire and the tunnel; determining the data to be adjusted for the data The set of ports to be transmitted; respectively obtain the port flow rate of each port in the port set, the bandwidth value of the preset bandwidth guarantee, and the preset bandwidth utilization; determine the above control strategy as: according to the bandwidth of each port in the obtained port set The port flow rate, the preset bandwidth guaranteed bandwidth value, and the preset bandwidth utilization determine the bandwidth convergence ratio of each port in the port set.
可选地,存储介质还被设置为存储用于执行以下步骤的程序代码:Optionally, the storage medium is further arranged to store program code for performing the following steps:
在控制策略包括路径计算策略的情况下,根据控制器控制区域内的网络资源,确定控制器对所在层次网络进行控制的控制策略包括:In the case that the control strategy includes the path calculation strategy, according to the network resources in the controller control area, the control strategy for determining the controller to control the hierarchical network includes:
S1,获取控制器所在层次网络中的网络资源数据,以及网络资源数据对应的业务路径;S1, acquiring network resource data in a hierarchical network where the controller is located, and a service path corresponding to the network resource data;
S2,确定上述控制策略为:根据用于确定控制器所在层次网络中路径的计算参考指标,以及网络资源数据对应的业务路径,确定路径计算的结果。S2. The foregoing control strategy is determined to: determine a path calculation result according to a calculation reference indicator used to determine a path in the hierarchical network where the controller is located, and a service path corresponding to the network resource data.
可选地,在本实施例中,上述存储介质可以包括但不限于:U盘、只读存储器(ROM,Read-Only Memory)、随机存取存储器(RAM,Random Access Memory)、移动硬盘、磁碟或者光盘等各种可以存储程序代码的介质。Optionally, in this embodiment, the foregoing storage medium may include, but not limited to, a USB flash drive, a Read-Only Memory (ROM), a Random Access Memory (RAM), a mobile hard disk, and a magnetic memory. A variety of media that can store program code, such as a disc or a disc.
可选地,在本实施例中,处理器根据存储介质中已存储的程序代码执行:根据控制器控制区域内的网络资源,确定控制器对所在层次网络进行控制的控制策略;将确定的控制策略发送给控制器。Optionally, in this embodiment, the processor executes, according to the stored program code in the storage medium, determining, according to the network resource in the controller control area, a control strategy for the controller to control the hierarchical network; and determining the determined control The policy is sent to the controller.
可选地,在本实施例中,处理器根据存储介质中已存储的程序代码执行:在控制器为多域控制器的情况下,获取多域控制器控制区域内的一个或多个子控制器的一个或多个子控制策略,其中,一个或多个子控制策略用于对所在层次网络分别进行控制,子控制器与子控制策略为一一对应关系;根据获取的一个或多个子控制策略,确定多域控制器对所在层次网络进行控制的控制策略,其中,一个或多个子控制器为以下至少之一:单域控制器、多域控制器。 Optionally, in this embodiment, the processor executes according to the stored program code in the storage medium: acquiring one or more sub-controllers in the multi-domain controller control area if the controller is a multi-domain controller One or more sub-control strategies, wherein one or more sub-control strategies are used to separately control the hierarchical network, and the sub-controller and the sub-control strategy have a one-to-one correspondence; and according to the acquired one or more sub-control strategies, determine A control strategy for controlling a hierarchical network by a multi-domain controller, wherein one or more sub-controllers are at least one of the following: a single domain controller, and a multi-domain controller.
可选地,在本实施例中,处理器根据存储介质中已存储的程序代码执行:控制策略包括以下至少之一:用于对网络资源进行分析的网络分析策略、用于对网络资源进行优化的网络优化策略、用于对控制器所在层次网络中的路径进行计算的路径计算策略。Optionally, in this embodiment, the processor is executed according to the stored program code in the storage medium: the control policy includes at least one of the following: a network analysis policy for analyzing the network resource, and is used to optimize the network resource. Network optimization strategy, a path calculation strategy for calculating the path in the hierarchical network where the controller is located.
可选地,在本实施例中,处理器根据存储介质中已存储的程序代码执行:在控制策略包括网络分析策略的情况下,根据控制器控制区域内的网络资源,确定控制器对所在层次网络进行控制的控制策略包括:根据控制器控制区域内的网络资源的资源属性,对网络资源进行分组,得到一个或多个网络资源组;根据分组后的一个或多个网络资源组中每个网络资源组的网络资源资源属性,用于对网络资源进行分析的分析指标的指标参数,以及预定的指标计算公式,确定分组后的该网络资源组的指标值;确定上述控制策略为以下至少之一:根据确定的指标值,预置的指标值告警区间以及告警级别,生成告警记录;根据资源分组的对象、资源属性和分析指标中任意一个或其组合,生成报表;根据网络资源的关联关系,确定控制器控制区域内的网络资源的拓扑关系。Optionally, in this embodiment, the processor performs, according to the stored program code in the storage medium, in a case that the control policy includes a network analysis policy, determining, according to network resources in the controller control area, the controller pair level The control strategy of the network control includes: grouping network resources according to resource attributes of network resources in the controller control area to obtain one or more network resource groups; according to each of the grouped one or more network resource groups The network resource resource attribute of the network resource group, the indicator parameter of the analysis indicator for analyzing the network resource, and the predetermined index calculation formula, determining the index value of the network resource group after the grouping; determining that the foregoing control strategy is at least A: generating an alarm record according to the determined indicator value, the preset indicator value alarm interval and the alarm level; generating a report according to any one or a combination of the resource grouping object, the resource attribute, and the analysis index; according to the network resource association relationship , determining the topology of the network resources in the controller control area .
可选地,在本实施例中,处理器根据存储介质中已存储的程序代码执行:在控制策略包括网络优化策略的情况下,根据控制器控制区域内的网络资源,确定控制器对所在层次网络进行控制的控制策略包括:确定待调整的用于数据传输的伪线、或隧道、或伪线和隧道;分别确定一个或多个伪线、或隧道、或伪线和隧道中每一个的第一带宽调整值;确定上述控制策略为:根据确定的一个或多个伪线、或隧道、或伪线和隧道中每一个的第一带宽调整值,端口与一个或多个伪线、或隧道、或伪线和隧道中每一个的关联关系,以及端口的预置带宽调整值,确定一个或多个伪线、或隧道、或伪线和隧道中每一个的第二带宽调整值;或,确定待调整的用于数据传输的端口集合;分别获取端口集合中每个端口的端口流速、预置的带宽保证的带宽值,以及预置的带宽利用率;确定上述控制策略为:根据获取的端口集合中每个端口带宽的端口流速,预置的带宽保证的带宽值,以及预置的带宽利用率,确定端口集合中每个端口的带宽收敛比;或,确定待调整的用于数据传输的伪线、或隧道、或伪线和隧道;分别确定一个或多个伪线、或隧道、或伪线和隧道中每 一个的第一带宽调整值;确定上述控制策略为:根据确定的一个或多个伪线、或隧道、或伪线和隧道中每一个的第一带宽调整值,端口与一个或多个伪线、或隧道、或伪线和隧道中每一个的关联关系,以及端口的预置带宽调整值,确定一个或多个伪线、或隧道、或伪线和隧道中每一个的第二带宽调整值;确定待调整的用于数据传输的端口集合;分别获取端口集合中每个端口的端口流速、预置的带宽保证的带宽值,以及预置的带宽利用率;确定上述控制策略为:根据获取的端口集合中每个端口带宽的端口流速,预置的带宽保证的带宽值,以及预置的带宽利用率,确定端口集合中每个端口的带宽收敛比。Optionally, in this embodiment, the processor is executed according to the stored program code in the storage medium: in a case that the control policy includes a network optimization policy, determining, according to network resources in the controller control area, the controller pair level The control strategy of the network control includes: determining a pseudowire for data transmission to be adjusted, or a tunnel, or a pseudowire and a tunnel; respectively determining one or more pseudowires, or tunnels, or each of the pseudowires and the tunnels a first bandwidth adjustment value; determining that the control strategy is: a first bandwidth adjustment value according to the determined one or more pseudowires, or a tunnel, or each of the pseudowires and the tunnel, the port and one or more pseudowires, or a tunnel, or an association relationship between each of the pseudowires and the tunnel, and a preset bandwidth adjustment value of the port, determining a second bandwidth adjustment value of each of the one or more pseudowires, or the tunnel, or the pseudowire and the tunnel; or Determining a set of ports to be adjusted for data transmission; respectively obtaining a port flow rate of each port in the port set, a preset bandwidth guaranteed bandwidth value, and a preset bandwidth The usage rate is determined by: determining the bandwidth convergence of each port in the port set according to the port flow rate of each port bandwidth in the obtained port set, the preset bandwidth guaranteed bandwidth value, and the preset bandwidth utilization. Ratio; or, determine the pseudowire, or tunnel, or pseudowire and tunnel for data transmission to be adjusted; determine one or more pseudowires, or tunnels, or pseudowires and tunnels, respectively. a first bandwidth adjustment value; determining the foregoing control strategy as: a first bandwidth adjustment value according to the determined one or more pseudowires, or a tunnel, or each of the pseudowires and the tunnel, the port and one or more pseudowires Or a tunnel, or an association between each of the pseudowires and the tunnel, and a preset bandwidth adjustment value of the port, determining a second bandwidth adjustment value for each of one or more pseudowires, or tunnels, or pseudowires and tunnels Determining a set of ports to be adjusted for data transmission; respectively obtaining a port flow rate of each port in the port set, a preset bandwidth guaranteed bandwidth value, and a preset bandwidth utilization; determining the above control strategy is: obtaining according to The port flow rate of each port bandwidth in the port set, the preset bandwidth guaranteed bandwidth value, and the preset bandwidth utilization determine the bandwidth convergence ratio of each port in the port set.
可选地,在本实施例中,处理器根据存储介质中已存储的程序代码执行:在控制策略包括路径计算策略的情况下,根据控制器控制区域内的网络资源,确定控制器对所在层次网络进行控制的控制策略包括:获取控制器所在层次网络中的网络资源数据,以及网络资源数据对应的业务路径;确定上述控制策略为:根据用于确定控制器所在层次网络中路径的计算参考指标,以及网络资源数据对应的业务路径,确定路径计算的结果。Optionally, in this embodiment, the processor performs, according to the stored program code in the storage medium, in a case that the control policy includes a path calculation policy, determining, according to network resources in the controller control area, the controller pair level The control strategy of the network control includes: acquiring network resource data in the hierarchical network where the controller is located, and a service path corresponding to the network resource data; determining the foregoing control strategy is: calculating a reference indicator according to the path used to determine the hierarchical network of the controller And the service path corresponding to the network resource data, and the result of the path calculation is determined.
可选地,本实施例中的示例可以参考上述实施例及可选实施方式中所描述的示例,本实施例在此不再赘述。For example, the examples in this embodiment may refer to the examples described in the foregoing embodiments and the optional embodiments, and details are not described herein again.
本发明的实施例还提供了另一种存储介质。可选地,在本实施例中,上述存储介质可以被设置为存储用于执行以下步骤的程序代码:Embodiments of the present invention also provide another storage medium. Optionally, in the embodiment, the foregoing storage medium may be configured to store program code for performing the following steps:
S1,接收用于对所在层次网络进行控制的控制策略;S1, receiving a control strategy for controlling a network at a level;
S2,根据接收的控制策略,对所在层次网络进行控制。S2, according to the received control strategy, controls the network at the level.
可选地,存储介质还被设置为存储用于执行以下步骤的程序代码:Optionally, the storage medium is further arranged to store program code for performing the following steps:
接收用于对所在层次网络进行控制的控制策略包括:The control strategies for receiving control over the network in which they are located include:
接收根据多域控制器控制区域内一个或多个子控制器的一个或多个子控制策略生成的多域控制器对所在层次网络进行控制的控制策略,其中,一个或多个子控制策略用于对所在层次网络分别进行控制,子控制器与子控制策略为一一对应关系,一个或多个子控制器为以下至少之一:单域控制器、多域控制器。 Receiving a control strategy for controlling a hierarchical network by a multi-domain controller generated according to one or more sub-control policies of one or more sub-controllers in a multi-domain controller control area, wherein one or more sub-control strategies are used for The hierarchical network is separately controlled, and the sub-controller and the sub-control strategy have a one-to-one correspondence, and one or more sub-controllers are at least one of the following: a single domain controller and a multi-domain controller.
可选地,存储介质还被设置为存储用于执行以下步骤的程序代码:Optionally, the storage medium is further arranged to store program code for performing the following steps:
接收用于对所在层次网络进行控制的控制策略包括:The control strategies for receiving control over the network in which they are located include:
在控制策略为多个的情况下,接收编排器对多个控制策略进行汇聚后获得的控制策略。In the case where there are multiple control strategies, the receiving controller obtains a control strategy obtained by aggregating a plurality of control policies.
可选地,在本实施例中,上述存储介质可以包括但不限于:U盘、只读存储器(ROM,Read-Only Memory)、随机存取存储器(RAM,Random Access Memory)、移动硬盘、磁碟或者光盘等各种可以存储程序代码的介质。Optionally, in this embodiment, the foregoing storage medium may include, but not limited to, a USB flash drive, a Read-Only Memory (ROM), a Random Access Memory (RAM), a mobile hard disk, and a magnetic memory. A variety of media that can store program code, such as a disc or a disc.
可选地,在本实施例中,处理器根据存储介质中已存储的程序代码执行:接收用于对所在层次网络进行控制的控制策略;根据接收的控制策略,对所在层次网络进行控制。Optionally, in this embodiment, the processor performs, according to the stored program code in the storage medium, receiving a control policy for controlling the network in which the layer is located; and controlling the layer network according to the received control policy.
可选地,在本实施例中,处理器根据存储介质中已存储的程序代码执行:接收用于对所在层次网络进行控制的控制策略包括:接收根据多域控制器控制区域内一个或多个子控制器的一个或多个子控制策略生成的多域控制器对所在层次网络进行控制的控制策略,其中,一个或多个子控制策略用于对所在层次网络分别进行控制,子控制器与子控制策略为一一对应关系,一个或多个子控制器为以下至少之一:单域控制器、多域控制器。Optionally, in this embodiment, the processor is executed according to the stored program code in the storage medium: receiving a control policy for controlling the network in which the layer is located includes: receiving one or more sub-controllers according to the multi-domain controller A control strategy for controlling a hierarchical network by a multi-domain controller generated by one or more sub-control strategies of the controller, wherein one or more sub-control strategies are used to separately control the hierarchical network, the sub-controller and the sub-control strategy For a one-to-one correspondence, one or more sub-controllers are at least one of the following: a single domain controller, a multi-domain controller.
可选地,在本实施例中,处理器根据存储介质中已存储的程序代码执行:接收用于对所在层次网络进行控制的控制策略包括:在控制策略为多个的情况下,接收编排器对多个控制策略进行汇聚后获得的控制策略。Optionally, in this embodiment, the processor performs, according to the stored program code in the storage medium, the receiving the control policy for controlling the network in which the layer is located includes: receiving the orchestrator in a case where the control policy is multiple A control strategy obtained by converging multiple control strategies.
可选地,本实施例中的示例可以参考上述实施例及可选实施方式中所描述的示例,本实施例在此不再赘述。For example, the examples in this embodiment may refer to the examples described in the foregoing embodiments and the optional embodiments, and details are not described herein again.
本领域的技术人员可以明白,上述的模块或步骤可以用通用的计算装置来实现,它们可以集中在单个的计算装置上,或者分布在多个计算装置所组成的网络上,可选地,它们可以用计算装置可执行的程序代码来实现,从而,可以将它们存储在存储装置中由计算装置来执行,并且在某些情况下,可以以不同于此处的顺序执行所示出或描述的步骤,或者将它们分别制作成不同集成电路模块,或者将它们中的多个模块或步骤制作成单个集成电路模块来实现。这样,本发明实施例不限制于任何特定的硬件和软件结合。 Those skilled in the art will appreciate that the above-described modules or steps can be implemented in a general-purpose computing device, which can be centralized on a single computing device or distributed over a network of multiple computing devices, optionally The program code executable by the computing device can be implemented, such that they can be stored in a storage device for execution by the computing device, and in some cases, the illustrated or described The steps are either made separately into different integrated circuit modules, or a plurality of modules or steps are made into a single integrated circuit module. Thus, embodiments of the invention are not limited to any specific combination of hardware and software.
本领域普通技术人员可以理解上述实施例的全部或部分步骤可以使用计算机程序流程来实现,所述计算机程序可以存储于一计算机可读存储介质中,所述计算机程序在相应的硬件平台上(如系统、设备、装置、器件、处理器等)执行,在执行时,包括方法实施例的步骤之一或其组合。One of ordinary skill in the art will appreciate that all or a portion of the steps of the above-described embodiments can be implemented using a computer program flow, which can be stored in a computer readable storage medium, such as on a corresponding hardware platform (eg, The system, device, device, device, processor, etc. are executed, and when executed, include one or a combination of the steps of the method embodiments.
可选地,上述实施例的全部或部分步骤也可以使用集成电路来实现,这些步骤可以被分别制作成一个个集成电路模块,或者将它们中的多个模块或步骤制作成单个集成电路模块来实现。Alternatively, all or part of the steps of the above embodiments may also be implemented by using an integrated circuit. These steps may be separately fabricated into individual integrated circuit modules, or multiple modules or steps may be fabricated into a single integrated circuit module. achieve.
上述实施例中的装置/功能模块/功能单元可以采用通用的计算装置来实现,它们可以集中在单个的计算装置上,也可以分布在多个计算装置所组成的网络上。The devices/function modules/functional units in the above embodiments may be implemented by a general-purpose computing device, which may be centralized on a single computing device or distributed over a network of multiple computing devices.
上述实施例中的装置/功能模块/功能单元以软件功能模块的形式实现并作为独立的产品销售或使用时,可以存储在一个计算机可读取存储介质中。上述提到的计算机可读取存储介质可以是只读存储器,磁盘或光盘等。When the device/function module/functional unit in the above embodiment is implemented in the form of a software function module and sold or used as a stand-alone product, it can be stored in a computer readable storage medium. The above mentioned computer readable storage medium may be a read only memory, a magnetic disk or an optical disk or the like.
本领域的普通技术人员可以理解,可以对本申请的技术方案进行修改或者等同替换,而不脱离本申请技术方案的精神和范围。本申请的保护范围以权利要求所定义的范围为准。A person skilled in the art can understand that the technical solutions of the present application can be modified or equivalently replaced without departing from the spirit and scope of the technical solutions of the present application. The scope of protection of this application is defined by the scope defined by the claims.
工业实用性Industrial applicability
通过本发明实施例,通过外置系统为层次网络中的控制器提供对所在层次网络进行控制的控制策略,由于控制器的控制策略是通过外置系统提供的,减少了策略管理对控制器运行效率的影响,因此,可以提高控制器运行效率。 Through the embodiment of the present invention, the controller in the hierarchical network is provided with a control strategy for controlling the network in the hierarchy through the external system. Since the control strategy of the controller is provided by the external system, the policy management is reduced to the controller. The impact of efficiency, therefore, can improve the efficiency of the controller.

Claims (15)

  1. 一种策略发送方法,包括:A method of sending a policy, including:
    根据控制器控制区域内的网络资源,确定所述控制器对所在层次网络进行控制的控制策略;Determining, according to network resources in the controller control area, a control strategy for controlling the controller to control the hierarchical network;
    将确定的所述控制策略发送给所述控制器。The determined control policy is sent to the controller.
  2. 根据权利要求1所述的方法,其中,根据控制器控制区域内的所述网络资源,确定所述控制器对所在层次网络进行控制的所述控制策略包括:The method according to claim 1, wherein the determining, according to the network resource in the controller control area, the control policy that the controller controls the network in which the layer is located includes:
    在所述控制器为多域控制器的情况下,获取所述多域控制器控制区域内的一个或多个子控制器的一个或多个子控制策略,其中,所述一个或多个子控制策略用于对所在层次网络分别进行控制,所述子控制器与所述子控制策略为一一对应关系;Acquiring one or more sub-control policies of one or more sub-controllers within the multi-domain controller control region if the controller is a multi-domain controller, wherein the one or more sub-control policies are Controlling, respectively, the hierarchical network, the sub-controller and the sub-control strategy have a one-to-one correspondence;
    根据所述一个或多个子控制策略,确定所述多域控制器对所在层次网络进行控制的控制策略,其中,所述一个或多个子控制器为以下至少之一:单域控制器、多域控制器。Determining, according to the one or more sub-control policies, a control policy for controlling the multi-domain controller to control the hierarchical network, where the one or more sub-controllers are at least one of the following: a single domain controller, multiple domains Controller.
  3. 根据权利要求1至2中任一项所述的方法,其中,所述控制策略包括以下至少之一:用于对网络资源进行分析的网络分析策略、用于对网络资源进行优化的网络优化策略、用于对所述控制器所在层次网络中的路径进行计算的路径计算策略。The method according to any one of claims 1 to 2, wherein the control policy comprises at least one of: a network analysis strategy for analyzing network resources, and a network optimization strategy for optimizing network resources. a path calculation strategy for calculating a path in the hierarchical network where the controller is located.
  4. 根据权利要求3所述的方法,其中,在所述控制策略包括所述网络分析策略的情况下,根据所述控制器控制区域内的所述网络资源,确定所述控制器对所在层次网络进行控制的所述控制策略包括:The method according to claim 3, wherein, in a case that the control policy includes the network analysis policy, determining, according to the network resource in the controller control area, that the controller performs a hierarchical network on a network The control strategy of the control includes:
    根据所述控制器控制区域内的所述网络资源的资源属性,对所述网络资源进行分组,得到一个或多个网络资源组;And grouping the network resources according to resource attributes of the network resources in the controller control area to obtain one or more network resource groups;
    根据分组后的一个或多个网络资源组中每个网络资源组的网络资源资源属性,用于对网络资源进行分析的分析指标的指标参数,以及预定的指标计算公式,确定分组后的该网络资源组的指标值;Determining the indexed parameter of the analysis indicator used for analyzing the network resource according to the network resource resource attribute of each network resource group in the one or more network resource groups after the grouping, and the predetermined index calculation formula, determining the network after the grouping The indicator value of the resource group;
    确定所述控制策略为以下至少之一:根据确定的所述指标值,预置的指标值告警区间以及告警级别,生成告警记录;根据资源分组的对象、所述资 源属性和所述分析指标中任意一个或其组合,生成报表;根据所述网络资源的关联关系,确定所述控制器控制区域内的所述网络资源的拓扑关系。Determining that the control policy is at least one of: generating an alarm record according to the determined indicator value, a preset indicator value alarm interval, and an alarm level; Generating a report according to any one or a combination of the source attribute and the analysis indicator; determining a topological relationship of the network resource in the controller control area according to the association relationship of the network resource.
  5. 根据权利要求3所述的方法,其中,在所述控制策略包括所述网络优化策略的情况下,根据所述控制器控制区域内的所述网络资源,确定所述控制器对所在层次网络进行控制的所述控制策略包括:The method according to claim 3, wherein, in a case that the control policy includes the network optimization policy, determining, according to the network resource in the controller control area, that the controller performs a hierarchical network on a network The control strategy of the control includes:
    确定待调整的用于数据传输的伪线、或隧道、或伪线和隧道;分别确定一个或多个所述伪线、或隧道、或伪线和隧道中每一个的第一带宽调整值;确定所述控制策略为:根据确定的一个或多个所述伪线、或隧道、或伪线和隧道中每一个的所述第一带宽调整值,端口与一个或多个所述伪线、或隧道、或伪线和隧道中每一个的关联关系,以及所述端口的预置带宽调整值,确定一个或多个所述伪线、或隧道、或伪线和隧道中每一个的第二带宽调整值;Determining a pseudowire, or a tunnel, or a pseudowire and a tunnel for data transmission to be adjusted; determining a first bandwidth adjustment value of each of the one or more of the pseudowire, or the tunnel, or the pseudowire and the tunnel, respectively; Determining the control policy as: according to the determined one or more of the pseudowires, or the tunnel, or the first bandwidth adjustment value of each of the pseudowires and the tunnel, the port and one or more of the pseudowires, Or a tunnel, or an association relationship between each of the pseudowire and the tunnel, and a preset bandwidth adjustment value of the port, determining one or more of the pseudowire, or the tunnel, or the second of each of the pseudowire and the tunnel Bandwidth adjustment value;
    或,or,
    确定待调整的用于数据传输的端口集合;分别获取所述端口集合中每个端口的端口流速、预置的带宽保证的带宽值,以及预置的带宽利用率;确定所述控制策略为:根据获取的所述端口集合中个端口带宽的所述端口流速,预置的带宽保证的所述带宽值,以及预置的所述带宽利用率,确定所述端口集合中每个端口的带宽收敛比;Determining a set of ports for data transmission to be adjusted; respectively obtaining a port flow rate of each port in the port set, a preset bandwidth guaranteed bandwidth value, and a preset bandwidth utilization; determining the control policy as: Determining the bandwidth convergence of each port in the port set according to the obtained port flow rate of the port bandwidth in the port set, the bandwidth value of the preset bandwidth guarantee, and the preset bandwidth utilization rate. ratio;
    或,or,
    确定待调整的用于数据传输的伪线、或隧道、或伪线和隧道;分别确定一个或多个所述伪线、或隧道、或伪线和隧道中每一个的第一带宽调整值;确定所述控制策略为:根据确定的一个或多个所述伪线、或隧道、或伪线和隧道中每一个的所述第一带宽调整值,端口与一个或多个所述伪线、或隧道、或伪线和隧道中每一个的关联关系,以及所述端口的预置带宽调整值,确定一个或多个所述伪线、或隧道、或伪线和隧道中每一个的第二带宽调整值;确定待调整的用于数据传输的端口集合;分别获取所述端口集合中每个端口的端口流速、预置的带宽保证的带宽值,以及预置的带宽利用率;确定所述控制策略为:根据获取的所述端口集合中个端口带宽的所述端口流速,预置的带宽保证的所述带宽值,以及预置的所述带宽利用率,确定所述端口集合中每个端口的带宽收敛比。 Determining a pseudowire, or a tunnel, or a pseudowire and a tunnel for data transmission to be adjusted; determining a first bandwidth adjustment value of each of the one or more of the pseudowire, or the tunnel, or the pseudowire and the tunnel, respectively; Determining the control policy as: according to the determined one or more of the pseudowires, or the tunnel, or the first bandwidth adjustment value of each of the pseudowires and the tunnel, the port and one or more of the pseudowires, Or a tunnel, or an association relationship between each of the pseudowire and the tunnel, and a preset bandwidth adjustment value of the port, determining one or more of the pseudowire, or the tunnel, or the second of each of the pseudowire and the tunnel a bandwidth adjustment value; determining a port set to be adjusted for data transmission; respectively obtaining a port flow rate of each port in the port set, a preset bandwidth guaranteed bandwidth value, and a preset bandwidth utilization; determining the The control strategy is: determining each of the port sets according to the obtained port flow rate of the port bandwidth in the port set, the bandwidth value of the preset bandwidth guarantee, and the preset bandwidth utilization. end Bandwidth convergence ratio.
  6. 根据权利要求3所述的方法,其中,在所述控制策略包括所述路径计算策略的情况下,根据所述控制器控制区域内的所述网络资源,确定所述控制器对所在层次网络进行控制的所述控制策略包括:The method according to claim 3, wherein, in a case that the control policy includes the path calculation policy, determining, according to the network resource in the controller control area, that the controller performs a hierarchical network on a network The control strategy of the control includes:
    获取所述控制器所在层次网络中的网络资源数据,以及所述网络资源数据对应的业务路径;Obtaining network resource data in the hierarchical network where the controller is located, and a service path corresponding to the network resource data;
    确定所述控制策略为:根据用于确定所述控制器所在层次网络中路径的计算参考指标,以及所述网络资源数据对应的所述业务路径,确定路径计算的结果。Determining the control policy is: determining a result of the path calculation according to the calculation reference indicator used to determine the path in the hierarchical network where the controller is located, and the service path corresponding to the network resource data.
  7. 一种策略接收方法,包括:A strategy receiving method includes:
    接收用于对所在层次网络进行控制的控制策略;Receiving a control strategy for controlling the network in which the layer is located;
    根据接收的所述控制策略,对所在层次网络进行控制。Controlling the hierarchical network according to the received control strategy.
  8. 根据权利要求7所述的方法,其中,接收用于对所在层次网络进行控制的控制策略包括:The method of claim 7, wherein receiving a control strategy for controlling the network in which the layer is located comprises:
    接收根据多域控制器控制区域内一个或多个子控制器的一个或多个子控制策略生成的所述多域控制器对所在层次网络进行控制的所述控制策略,其中,所述一个或多个子控制策略用于对所在层次网络分别进行控制,所述子控制器与所述子控制策略为一一对应关系,所述一个或多个子控制器为以下至少之一:单域控制器、多域控制器。Receiving, by the multi-domain controller generated according to one or more sub-control policies of one or more sub-controllers in a multi-domain controller control region, the control policy for controlling a hierarchical network, wherein the one or more sub-controls The control policy is used to separately control the network in which the layer is located, the sub-controller has a one-to-one correspondence with the sub-control policy, and the one or more sub-controllers are at least one of the following: a single domain controller, multiple domains Controller.
  9. 根据权利要求7所述的方法,其中,接收用于对所在层次网络进行控制的所述控制策略包括:The method of claim 7, wherein receiving the control policy for controlling the network in which the layer is located comprises:
    在所述控制策略为多个的情况下,接收编排器对多个控制策略进行汇聚后获得的所述控制策略。In the case that the control strategy is multiple, the control controller obtains the control policy obtained after the multiple control policies are aggregated.
  10. 一种策略发送装置,包括:A policy sending device includes:
    确定模块,设置为:根据控制器控制区域内的网络资源,确定所述控制器对所在层次网络进行控制的控制策略;Determining a module, configured to: determine, according to network resources in the controller control area, a control strategy for the controller to control the hierarchical network;
    发送模块,设置为:将确定的所述控制策略发送给所述控制器。The sending module is configured to: send the determined control policy to the controller.
  11. 根据权利要求10所述的装置,其中,所述确定模块包括: The apparatus of claim 10, wherein the determining module comprises:
    获取单元,设置为:在所述控制器为多域控制器的情况下,获取所述多域控制器控制区域内的一个或多个子控制器的一个或多个子控制策略,其中,所述一个或多个子控制策略用于对所在层次网络分别进行控制,所述子控制器与所述子控制策略为一一对应关系;An obtaining unit, configured to: acquire one or more sub-control policies of one or more sub-controllers in the multi-domain controller control area, where the controller is a multi-domain controller, wherein the one Or a plurality of sub-control policies are used to separately control the network in the hierarchy, and the sub-controller has a one-to-one correspondence with the sub-control policies;
    确定单元,设置为:根据所述一个或多个子控制策略,确定所述多域控制器对所在层次网络进行控制的控制策略,其中,所述一个或多个子控制器为以下至少之一:单域控制器、多域控制器。a determining unit, configured to: determine, according to the one or more sub-control policies, a control policy for controlling the multi-domain controller to control the hierarchical network, where the one or more sub-controllers are at least one of the following: Domain controller, multi-domain controller.
  12. 一种策略接收装置,包括:A policy receiving device includes:
    接收模块,设置为:接收用于对所在层次网络进行控制的控制策略;The receiving module is configured to: receive a control strategy for controlling a network at a level;
    控制模块,设置为:根据接收的所述控制策略,对所在层次网络进行控制。The control module is configured to: control the network at the level according to the received control policy.
  13. 根据权利要求12所述的装置,其中,所述接收模块包括:The apparatus of claim 12, wherein the receiving module comprises:
    第一接收单元,设置为:接收根据多域控制器控制区域内一个或多个子控制器的一个或多个子控制策略生成的所述多域控制器对所在层次网络进行控制的所述控制策略,其中,所述一个或多个子控制策略用于对所在层次网络分别进行控制,所述子控制器与所述子控制策略为一一对应关系,所述一个或多个子控制器为以下至少之一:单域控制器、多域控制器。a first receiving unit, configured to: receive, by the multi-domain controller generated according to one or more sub-control policies of one or more sub-controllers in a multi-domain controller control area, the control policy for controlling a hierarchical network, The one or more sub-control policies are used to control the hierarchical network, the sub-controller has a one-to-one correspondence with the sub-control policies, and the one or more sub-controllers are at least one of the following : Single domain controller, multi-domain controller.
  14. 根据权利要求12所述的装置,其中,所述接收模块包括:The apparatus of claim 12, wherein the receiving module comprises:
    第二接收单元,设置为:在所述控制策略为多个的情况下,接收编排器对多个控制策略进行汇聚后获得的所述控制策略。The second receiving unit is configured to: when the control policy is multiple, receive the control policy obtained after the orchestrator aggregates the multiple control policies.
  15. 一种控制器,包括权利要求12至14中任一项所述的策略接收装置。 A controller comprising the policy receiving device of any one of claims 12 to 14.
PCT/CN2017/094145 2016-07-22 2017-07-24 Strategy sending and receiving method, device and controller WO2018014883A1 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201610587180.7 2016-07-22
CN201610587180.7A CN107645400B (en) 2016-07-22 2016-07-22 Tactful sending, receiving method, device and controller

Publications (1)

Publication Number Publication Date
WO2018014883A1 true WO2018014883A1 (en) 2018-01-25

Family

ID=60992977

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2017/094145 WO2018014883A1 (en) 2016-07-22 2017-07-24 Strategy sending and receiving method, device and controller

Country Status (2)

Country Link
CN (1) CN107645400B (en)
WO (1) WO2018014883A1 (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114826950A (en) * 2022-05-30 2022-07-29 中国联合网络通信集团有限公司 Port number prediction method, device and storage medium

Families Citing this family (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112087376B (en) * 2019-06-14 2023-03-14 中兴通讯股份有限公司 Load sharing method and device
CN112583725B (en) * 2019-09-27 2023-04-18 天翼云科技有限公司 Route determination method and system for SDN (software defined network) and SDN system
CN114265309B (en) * 2021-11-19 2023-09-05 江苏徐工工程机械研究院有限公司 Engineering machinery optimization control strategy recommendation system and method

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104518993A (en) * 2014-12-29 2015-04-15 华为技术有限公司 Allocation method, device and system for communication paths of cloud network
CN104601482A (en) * 2013-10-30 2015-05-06 中兴通讯股份有限公司 Traffic cleaning method and device
CN104796348A (en) * 2015-04-03 2015-07-22 华为技术有限公司 IDC (internet data center) network export flow balancing and adjusting method, equipment and system based on SDN (software-defined networking)
WO2015126507A1 (en) * 2014-02-24 2015-08-27 Hewlett-Packard Development Company, L.P. Providing policy information

Family Cites Families (12)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20020141378A1 (en) * 2001-03-28 2002-10-03 Bays Robert James Methods, apparatuses and systems facilitating deployment, support and configuration of network routing policies
CN102006216B (en) * 2009-09-02 2015-04-01 中兴通讯股份有限公司 Deep packet inspection system and packet processing method
EP2476224B1 (en) * 2009-09-11 2014-10-08 Telefonaktiebolaget L M Ericsson (publ) Method and apparatus for path computation element and routing controller cooperation
CN103051557B (en) * 2012-12-27 2016-07-06 华为技术有限公司 Data flow processing method and system, controller, switching equipment
FI20135058L (en) * 2013-01-21 2014-07-22 Tellabs Oy Method and control system for controlling a software-defined network
JP6191166B2 (en) * 2013-03-01 2017-09-06 日本電気株式会社 SDN network system, controller device, and communication amount reduction method used therefor
CN103746911B (en) * 2014-01-20 2017-06-09 中国联合网络通信集团有限公司 A kind of SDN structure and its communication means
US9454575B2 (en) * 2014-03-28 2016-09-27 Hewlett Packard Enterprise Development Lp Processing a metric of a component of a software-defined network
US20150350102A1 (en) * 2014-06-03 2015-12-03 Alberto Leon-Garcia Method and System for Integrated Management of Converged Heterogeneous Resources in Software-Defined Infrastructure
CN105282043A (en) * 2014-06-20 2016-01-27 中国电信股份有限公司 Global network load balancing system, device and method
CN104320322B (en) * 2014-10-31 2019-03-15 新华三技术有限公司 A kind of message control method and equipment
CN105406992B (en) * 2015-10-28 2018-11-09 浙江工商大学 A kind of business demand conversion and dispositions method towards SDN

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104601482A (en) * 2013-10-30 2015-05-06 中兴通讯股份有限公司 Traffic cleaning method and device
WO2015126507A1 (en) * 2014-02-24 2015-08-27 Hewlett-Packard Development Company, L.P. Providing policy information
CN104518993A (en) * 2014-12-29 2015-04-15 华为技术有限公司 Allocation method, device and system for communication paths of cloud network
CN104796348A (en) * 2015-04-03 2015-07-22 华为技术有限公司 IDC (internet data center) network export flow balancing and adjusting method, equipment and system based on SDN (software-defined networking)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114826950A (en) * 2022-05-30 2022-07-29 中国联合网络通信集团有限公司 Port number prediction method, device and storage medium
CN114826950B (en) * 2022-05-30 2023-06-30 中国联合网络通信集团有限公司 Port number prediction method, device and storage medium

Also Published As

Publication number Publication date
CN107645400B (en) 2019-09-03
CN107645400A (en) 2018-01-30

Similar Documents

Publication Publication Date Title
WO2018014883A1 (en) Strategy sending and receiving method, device and controller
US9825867B2 (en) Supporting software defined networking with application layer traffic optimization
US10700958B2 (en) Network management system with traffic engineering for a software defined network
Yao et al. On fast and coordinated data backup in geo-distributed optical inter-datacenter networks
US10484267B2 (en) Systems and methods for managing multi-layer communication networks
US20140215058A1 (en) Methods and systems for estimating and analyzing flow activity and path performance data in cloud or distributed systems
KR101859302B1 (en) Method and system for virtual network mapping protection and computer storage medium
CN110177054B (en) Port queue scheduling method, device, network controller and storage medium
Huang et al. Software-defined QoS provisioning for fog computing advanced wireless sensor networks
CN110417565A (en) A kind of model update method, apparatus and system
CN105103492A (en) Controlling a topology of a network
CN104660507B (en) The control method and device of forwarding data flow routing
KR20180132126A (en) Virtual Infrastructure
CN111200526B (en) Monitoring system and method of network equipment
CN109743211A (en) Path open system and method are cooperateed with optical-fiber network based on the IP network of SDN
US20230412674A1 (en) Topology-aware load balancing method and apparatus, and computer device
WO2021098824A1 (en) Network slice creation method, basic network controller, system, and storage medium
CN105553855A (en) Method and system for dynamically adjusting topological structures of underlying network spanning trees
CN115632939A (en) Automatic network selection and routing method for achieving multi-target achievement of computational power network
WO2022199089A1 (en) Network management and control method and system, network system, and storage medium
CN103200124B (en) The method of adjustment of a kind of business game and device
US11556100B2 (en) Control method, related device, and system
CN105207905A (en) Route selection method and device
JP6897343B2 (en) Graphical policy interface for network control systems
CN110601897A (en) Network resource configuration method and device

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

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

Country of ref document: EP

Kind code of ref document: A1