WO2017206565A1 - Apparatus management method, device, and controller - Google Patents

Apparatus management method, device, and controller Download PDF

Info

Publication number
WO2017206565A1
WO2017206565A1 PCT/CN2017/076492 CN2017076492W WO2017206565A1 WO 2017206565 A1 WO2017206565 A1 WO 2017206565A1 CN 2017076492 W CN2017076492 W CN 2017076492W WO 2017206565 A1 WO2017206565 A1 WO 2017206565A1
Authority
WO
WIPO (PCT)
Prior art keywords
controller
type
topology
service
information
Prior art date
Application number
PCT/CN2017/076492
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 WO2017206565A1 publication Critical patent/WO2017206565A1/en

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L41/00Arrangements for maintenance, administration or management of data switching networks, e.g. of packet switching networks
    • H04L41/04Network management architectures or arrangements
    • H04L41/044Network management architectures or arrangements comprising hierarchical management structures
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L41/00Arrangements for maintenance, administration or management of data switching networks, e.g. of packet switching networks
    • H04L41/12Discovery or management of network topologies

Definitions

  • the present invention relates to the field of communications, and in particular to a device processing method, apparatus, and controller.
  • the network scale is getting larger and larger, more and more devices are in the network, and the network structure is more and more complicated, which makes network management more and more difficult, and business deployment becomes more and more difficult.
  • the related art has a problem that the operator network management and maintenance and service deployment are highly complex.
  • the embodiments of the present invention provide a device processing method, a device, and a controller, so as to at least solve the problem that the carrier network management maintenance and service deployment complexity in the related art are high.
  • a device processing method including: determining a controller type of a controller for performing a service processing, wherein the controller type includes: controlling a network device in a separate domain a first type of controller, a second type of controller that controls one or more of the first type of controllers, the separate domain being a domain obtained by dividing a network architecture of a predetermined network; And processing the service of the predetermined network.
  • processing the service of the predetermined network according to the determined controller type includes: collecting, by using a southbound interface The first type of controller controls the original topology information of the network device in the domain, where the original topology information includes connection information between the network devices in the first type of controller control domain; and according to the collected original topology information, The first type of controller controls topology information of the network device in the domain; and processes the service of the predetermined network according to the determined topology information.
  • determining, according to the collected original topology information, the topology information of the network device in the control domain of the first type controller includes: removing intermediate node information in the connection information; saving the information of the intermediate node after removing The connection information is obtained, and the topology information of the network device in the control domain of the first type controller is obtained.
  • processing the service of the predetermined network according to the determined topology information including: receiving service deployment information delivered by a second type controller to which the first type of controller belongs, according to the received service Deployment information, and the topology information, for service deployment.
  • processing the service of the predetermined network according to the determined controller type includes: receiving one or more of the foregoing Corresponding to the topology information of the network device in the control domain, where the received topology information includes one or more connection information between the network devices in the control domain corresponding to the first type controller; And the topology information obtained by the second type controller is used to determine the total topology information of the network device in the control domain; and the service of the predetermined network is processed according to the total topology information.
  • determining, according to the received topology information, the total topology information of the network device in the control domain of the second type of controller includes: establishing, according to the received topology information, one or more of the foregoing A sub-topology table corresponding to a type of controller; establishing a total topology table of network devices in the control domain of the second type controller according to the established sub-topology table.
  • processing the service of the predetermined network according to the total topology information includes: querying a total topology table of the second type controller according to the service deployed in the received user configuration request, and determining a source by the source a path from the node to the target node; determining, according to the determined path, and the sub-topology table, a first type of controller to which one or more nodes on the path belong; deploying according to the received user configuration request The service is delivered to the first type controller that is determined by the one or more nodes to perform service deployment.
  • a device processing apparatus comprising: a first determining module configured to determine a controller type of a controller for performing a business process, wherein the controller type comprises: a first type of controller that is controlled by a network device in a separate domain, a second type of controller that controls one or more of the first type of controllers, the separate domain is a domain obtained by dividing a network architecture of a predetermined network; and the processing module is configured to determine the type of the controller according to the determined Processing the service of the predetermined network.
  • the processing module includes: a collecting unit, configured to collect, by using a southbound interface, the first type of controller in a control domain, where the controller for performing service processing is a first type of controller
  • the original topology information of the network device where the original topology information includes the connection information between the network devices in the first type of controller control domain
  • the first determining unit is configured to determine, according to the collected original topology information,
  • the first type of controller controls topology information of the network device in the domain
  • the first processing unit is configured to process the service of the predetermined network according to the determined topology information.
  • the first determining unit includes: a removing subunit, configured to remove intermediate node information in the connection information; and saving the subunit, configured to save connection information after removing the intermediate node information, to obtain a
  • the first type of controller controls topology information of network devices in the domain.
  • the first processing unit includes: a receiving subunit, configured to receive service deployment information delivered by a second type controller to which the first type controller belongs; and a deployment subunit, configured to receive according to the received The service deployment information and the topology information are used for service deployment.
  • the processing module includes: a receiving unit, configured to receive one or more reports sent by the first type controller if the controller for performing service processing is a second type controller Corresponding to the topology information of the network device in the control domain, where the received topology information includes one or more connection information between the network devices in the control domain corresponding to the first type controller; and the second determining unit is configured to receive according to the And the second topology unit is configured to process the service of the predetermined network according to the total topology information.
  • the second determining unit includes: a first establishing subunit, configured to respectively establish a sub-topology table corresponding to one or more of the first type controllers according to the received topology information; And establishing a subunit, configured to establish, according to the established sub-topology table, a total topology table of network devices in the control domain of the second type controller.
  • the second processing unit includes: a first determining subunit, configured to query a total topology table of the second type controller according to the service deployed in the received user configuration request, and determine a source node to a path of the target node, the second determining subunit, configured to determine, according to the determined path, and the sub-topology table, a first type of controller to which one or more nodes on the path belong; And configuring, according to the received service configured in the user configuration request, to send configuration information to the first type controller that is determined by the one or more nodes to perform service deployment.
  • a controller is also provided.
  • the controller includes the device processing apparatus of any of the foregoing.
  • a storage medium is also provided.
  • the storage medium is configured to store program code for performing a step of determining a controller type of a controller for performing a business process, wherein the controller type comprises: a first type that controls network devices within a separate domain a controller, a second type controller that controls one or more of the first type controllers, where the individual domain is a domain obtained by dividing a network architecture of a predetermined network; according to the determined controller type, The business of the predetermined network is processed.
  • the storage medium is further configured to store program code for performing the following steps: in case the controller for performing business processing is a first type controller, according to the determined controller type,
  • the processing of the service of the predetermined network includes: collecting, by the southbound interface, original topology information of the network device in the first type of controller control domain, where the original topology information includes the first type of controller between the network devices in the control domain
  • the connection information is determined, according to the collected original topology information, the topology information of the network device in the control domain of the first type controller is determined; and the service of the predetermined network is processed according to the determined topology information.
  • the storage medium is further configured to store program code for performing the following steps: determining, according to the collected original topology information, the topology information of the network device in the first type controller control domain includes: removing the connection The intermediate node information in the information; the connection information after the information of the intermediate node is removed is saved, and the topology information of the network device in the control domain of the first type controller is obtained.
  • the storage medium is further configured to store program code for performing the following steps: processing the service of the predetermined network according to the determined topology information comprises: receiving a second type to which the first type controller belongs Service deployment information delivered by the controller; performing service deployment according to the received service deployment information and the topology information.
  • the storage medium is further configured to store program code for performing the following steps: in case the controller for performing business processing is a second type controller, according to the determined controller type,
  • the processing of the service of the predetermined network includes: receiving one or more topology information of the network device in the corresponding control domain reported by the first type controller, where the received topology information includes one or more of the first types Corresponding to the connection information between the network devices in the control domain; determining the total topology information of the network devices in the control domain of the second type controller according to the received topology information; and determining the predetermined topology information according to the total topology information
  • the business of the network is processed.
  • the storage medium is further configured to store program code for performing the following steps: determining, according to the received topology information, the total topology information of the network device in the control domain of the second type controller comprises: according to the received The topology information is respectively configured to establish a sub-topology table corresponding to one or more of the first type of controllers; and according to the established sub-topology table, establish a total topology table of network devices in the control domain of the second type controller .
  • the network is hierarchically managed by using the controller: the first type controller is used to control the individual domain, and the second type controller controls the plurality of first type controllers to control the multiple domains. And processing the services in the network according to the type of controller, Therefore, the problem of high complexity of network management and maintenance and service deployment of the carrier in the related art can be solved, and the effect of reducing the complexity of network management and maintenance and service deployment can be achieved.
  • FIG. 1 is a block diagram showing the hardware structure of a controller of a device processing method according to an embodiment of the present invention
  • FIG. 2 is a schematic diagram of a network architecture of a device processing method according to an embodiment of the present invention
  • FIG. 3 is a flowchart of a device processing method according to an embodiment of the present invention.
  • FIG. 4 is a schematic diagram showing the overall internal structure of a controller of a device processing method according to a preferred embodiment of the present invention.
  • FIG. 5 is a schematic diagram showing the internal structure of a topology management module 44 of a device processing method according to a preferred embodiment of the present invention.
  • FIG. 6 is a flow chart of a method of processing a device in accordance with a preferred embodiment of the present invention.
  • FIG. 7 is a schematic diagram of an abstract topology on a D controller of a device processing method in accordance with a preferred embodiment of the present invention.
  • FIG. 8 is a schematic diagram of sub-topology partitioning on a D1 controller of a device processing method according to a preferred embodiment of the present invention.
  • FIG. 9 is a schematic diagram of an abstract topology on an H controller of a device processing method according to a preferred embodiment of the present invention.
  • FIG. 10 is a schematic diagram of a sub-topology on an H controller of a device processing method according to a preferred embodiment of the present invention.
  • FIG. 11 is a block diagram showing the structure of a device processing apparatus according to an embodiment of the present invention.
  • FIG. 12 is a structural block diagram 1 of a processing module 114 in a device processing apparatus according to an embodiment of the present invention.
  • FIG. 13 is a structural block diagram of a first determining unit 124 in a device processing apparatus according to an embodiment of the present invention.
  • FIG. 14 is a structural block diagram of a first processing unit 126 in a device processing apparatus according to an embodiment of the present invention.
  • 15 is a structural block diagram 2 of a processing module 114 in a device processing apparatus according to an embodiment of the present invention.
  • FIG. 16 is a structural block diagram of a second determining unit 154 in a device processing apparatus according to an embodiment of the present invention.
  • FIG. 17 is a structural block diagram of a second processing unit 156 in a device processing apparatus according to an embodiment of the present invention.
  • Figure 18 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 controller of the device processing method according to the embodiment of the present invention.
  • controller 10 may include one or more (only one shown) processor 102 (processor 102 may include, but is not limited to, a processing device such as a microprocessor MCU or a programmable logic device FPGA)
  • processor 102 may include, but is not limited to, a processing device such as a microprocessor MCU or a programmable logic device FPGA)
  • a memory 104 for storing data
  • a transmission device 106 for communication functions.
  • controller 10 may also include more or fewer components than shown in Figure 1, or have A different configuration than that shown in FIG.
  • the memory 104 can be used to store corresponding data and software programs and modules of the application software, such as program instructions/modules corresponding to the device processing method in the embodiment of the present invention, and the processor 102 runs the software program and the module stored in the memory 104, thereby The above methods are implemented by performing various functional applications and data processing.
  • Memory 104 may include high speed random access memory, and may also include non-volatile memory such as one or more magnetic storage devices, flash memory, or other non-volatile solid state memory.
  • memory 104 may further include memory remotely located relative to processor 102, which may be coupled to controller 10 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.
  • Transmission device 106 is for receiving or transmitting data via a network.
  • the network specific examples described above may include a wireless network provided by a communication provider of the controller 10.
  • the 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 transmission device 106 can be a Radio Frequency (RF) module for communicating with the Internet wirelessly.
  • NIC Network Interface Controller
  • RF Radio Frequency
  • FIG. 2 is a schematic diagram of a network architecture of a device processing method according to an embodiment of the present invention.
  • the network architecture of the network is divided into an access domain, a convergence domain, and a core domain, and the left and right are symmetric.
  • the network includes the access device ACC, the aggregation device AGG, the homebrew system border device ASBR, and the device P in each domain.
  • a Software Defined Network (SDN) controller is used to manage the network, and the separation between the control plane and the forwarding plane can be achieved.
  • the SDN controller is divided into two layers. Each domain is managed by a single domain controller, that is, a D controller. On the D controller, a multi-domain controller, that is, an H controller, is used to centrally manage the entire network. That is, in the hierarchical network architecture, each domain is separately managed using the D controller, and the entire network is managed using the H controller.
  • the D controller and the H controller of each domain can have two controllers in active and standby, and the D controller is connected to at least two devices in the domain (D controller general and intra-domain boundaries) The device is connected).
  • a hierarchical controller can be more than two layers, depending on the size of the network.
  • the carrier network may also include more or less domains than those shown in FIG. 3 (the access domain and the aggregation domain are divided according to actual conditions, and are not limited to two or the same number or both, and the core domain is not It is limited to two), or has a different network architecture than that shown in Figure 2 (access domain, aggregation domain, and symmetric domain left and right asymmetric, or divided into different domain types than Figure 2).
  • other types of controllers that can control network devices in separate domains and second type controllers that can control one or more first types of controllers , can achieve the purpose of hierarchical management of the network.
  • FIG. 3 is a flowchart of a device processing method according to an embodiment of the present invention. As shown in FIG. 3, the process includes the following steps:
  • Step S302 determining a controller type of a controller for performing service processing, where the controller type includes: a first type controller that controls network devices in a separate domain, and controls one or more first types a second type of controller that controls the domain, and the separate domain is a domain obtained by dividing a network architecture of a predetermined network;
  • Step S304 processing the service of the predetermined network according to the determined controller type.
  • the network is hierarchically managed by using the controller: the first type controller is used to control the individual domain, and the second type controller controls the plurality of first type controllers to control the multiple domains, and
  • the service of the network is processed according to the controller type, which solves the problem of high complexity of network management and maintenance and service deployment of the carrier in the related technologies, and reduces the complexity of network management and maintenance and service deployment.
  • Step S304 may further include: collecting, by the southbound interface, original topology information of the network device in the first type controller control domain, where the original topology information includes connection information between the network devices in the first type controller control domain; and the original topology information according to the collected And determining, by the first type of controller, topology information of the network device in the control domain, and processing the service of the predetermined network according to the determined topology information.
  • the controller for performing service processing is the first type controller, that is, the determined controller type is a first type controller that controls network devices in a separate domain, and the first type controller can pass SNMP.
  • the southbound interface such as NETCONFIG and BGP-LS, collects the original topology information of the network device in the controlled domain.
  • the original topology information here may be the connection information between the nodes in the control domain of the first type controller.
  • Based on the collected original topology information it may be determined that the first type of controller controls topology information between network devices in the domain.
  • the connection information between the network devices in the control domain of the first type controller may be determined by the topology information between the network devices. Therefore, the topology information of the network devices in the domain may be controlled according to the determined first type controller.
  • the business of the network is processed.
  • the controller for performing the service processing is the first type controller, determining the topology information of the network device in the control domain of the first type controller according to the collected original topology information. And processing the business according to the topology, reducing the complexity of business processing.
  • determining, according to the collected original topology information, the topology information of the network device in the control domain of the first type of controller may be in multiple manners, for example, according to the connection relationship between the network devices in the original topology information, A type of controller controls the topology information of the connection relationship between all devices in the domain. For example, based on the collected original topology information, the role and the location topology of the device in the network may be abstracted according to the location of the device, and the boundary node and the service in the control domain of the first type controller may be reserved.
  • the key nodes of the deployment (such as ACC, AGG, and ASBR nodes in the network) filter out intermediate nodes and/or non-critical nodes (such as P nodes) to determine the topology information of the network devices in the first type of controller control domain.
  • the method determines the topology information of the network device in the control domain of the first type of the controller, for example, the topology information may be determined by using the foregoing manner of establishing topology information, and, for example, may also be based on an internal gateway protocol run by the first type of controller ( The Interior Gateway Protocol (IGP) performs sub-topology division on the confirmed topology information, and the divided sub-topology corresponds to the number of access rings included in the first type controller.
  • IGP Interior Gateway Protocol
  • the topology information of the first type controller When the topology information of the first type controller is determined, the information about the intermediate nodes included in the connection information in the original topology information is removed, which reduces the complexity of the topology information and improves the efficiency of the service processing. .
  • the service of the service of the predetermined network may be processed according to the determined topology information, for example, the service deployment information delivered by the second type controller to which the received first type controller belongs, and the The first type of controller controls the topology information of the network device in the domain, and performs service deployment.
  • the service configuration may include delivering a corresponding border gateway protocol (BGP) to the node related to the service in the control domain of the first type of controller. And configuring, for example, adding, changing, deleting, etc., the service-related nodes in the control domain of the first type controller according to the determined topology information.
  • BGP border gateway protocol
  • the first type of controller performs service deployment and service according to the service deployment information delivered by the controller of the second type of the controller and the topology information of the network device in the domain controller of the first type controller.
  • the deployment is automatically completed through the interaction between controllers, which reduces user operations and reduces the complexity of service deployment.
  • the step S304 may further include: receiving the topology information of the network device in the corresponding control domain reported by the one or more first type controllers.
  • the received topology information includes one or more first type controllers corresponding to the connection information between the network devices in the control domain; and according to the received topology information, determining the total topology information of the network devices in the second type controller control domain
  • the service of the predetermined network is processed according to the total topology information.
  • the second type controller receives the topology information of the network device in the corresponding control domain reported by each first type controller controlled by the controller, and determines the network configuration in the control domain according to the received topology information.
  • the total topology information of the backup device performs processing of the predetermined network service according to the determined total topology information. Since the second type controller has the total topology information of the network devices in its control domain, the service processing entry is single, and only the second type controller can be operated.
  • the service processing of the total topology information of the network device in the domain is controlled according to the second type of controller, which reduces the complexity of network management maintenance and service processing.
  • determining, according to the received topology information, the total topology information of the network device in the control domain of the second type of controller may be in multiple manners, for example, establishing, according to the received topology information, respectively, corresponding to the first type of controller.
  • the sub-topology table that is, the first type controller and the sub-topology table are in one-to-one correspondence, and the total topology table of the network devices in the second type controller is controlled according to the established sub-topology table, and, for example, according to the received topology information.
  • establishing a sub-topology table corresponding to the first type of controller and a total topology table corresponding to the second type of controller are respectively establishing.
  • a sub-topology table corresponding to the first type of controller is established according to the received topology information, and a total topology table of the network device in the second type controller is controlled according to the sub-topology table,
  • a hierarchical topology table By establishing a hierarchical topology table, the complexity of network management maintenance and service processing is reduced.
  • the service of the predetermined network may be processed in multiple manners, for example, according to the service deployed in the received user configuration request, querying the total topology table of the second type controller, and determining a The path from the source node to the target node determines, according to the determined path and the sub-topology table, the first type of controller to which one or more nodes on the path belong, according to the service deployed in the received user configuration request, to the determined one Or the first type of controller to which multiple nodes belong to deliver configuration information for service deployment.
  • the configuration request is sent to the second type controller.
  • the second type controller queries its total topology table based on the deployed services to calculate an end-to-end path and each sub-topology.
  • the table finds which first type of controller each node on the path belongs to.
  • the deployed services are decomposed and delivered to each first type of controller. If there are higher requirements on the reliability and service quality of the business, you can calculate the road.
  • the path is calculated, the multiple paths that meet the requirements are calculated. On this basis, the active/standby path protection of the service or traffic sharing is implemented.
  • the calculations here include both the calculations on the second type of controller and the calculations on the first type of controller.
  • the path corresponding to the service request is decomposed according to the service deployed in the received user configuration request, the total topology table of the second type controller, and the sub-topology table, and is delivered to the corresponding
  • the first type of controller has a single service deployment portal, and only needs to operate on the second type of controller, which reduces the complexity of network management maintenance and service processing.
  • a device processing method in which the first type controller is a D controller,
  • the second type of controller is described by taking an H controller as an example.
  • the device processing method of the preferred embodiment implements topology collection, topology abstraction, and sub-topology division to implement hierarchical management by using a layered SDN controller, which reduces the complexity of network management maintenance and service deployment, and improves deployment service flexibility. Sex.
  • each D controller manages transactions in respective domains, and only stores and manages topology data in the local domain. And each D controller also calculates an abstract topology based on the original topology information managed and sends it to the H controller. If the domain managed by the D controller includes multiple subnets, the sub-topology can be further divided; the H controller is responsible for processing the entire network transaction, storing and managing the abstract topology of the entire network, and according to the source of the topology information. Sub-topology division; after the network topology is collected, you can start service deployment and use the H controller as a unified portal.
  • the H controller queries its own abstract topology data according to the deployed service, calculates an end-to-end path, and finds out which D controller each node on the path belongs to. After obtaining the information, the H-deployed service is deployed. Decomposition and delivery to each D controller, each D controller is responsible for the deployment of services within the domain, thus enabling network-wide service deployment.
  • the service deployment portal is single, and only the H controller needs to be operated, which reduces the complexity of service deployment.
  • the specific business logic can be flexibly implemented by software in the H controller and the D controller according to user requirements, which improves flexibility and can even be customized according to user requirements.
  • the device processing method of the preferred embodiment will be described below in conjunction with a specific processing networking structure and an internal structure of the controller.
  • FIG. 4 is a schematic diagram showing the overall internal structure of a controller of a device processing method according to a preferred embodiment of the present invention, which may be a D controller or an H controller. As shown in FIG. 4, the controller includes a southbound interface 42, a topology management module 44, a calculation module 46, a service deployment module 48, and a northbound interface 410. The controller will be described below.
  • the southbound interface 42 is configured to interact with devices in the controller management domain (control domain); the topology management module 44 is coupled to the southbound interface 42 and configured to manage devices related to devices of the controller management domain
  • the information processing module 46 is connected to the topology management module 44, and is configured to perform path calculation according to related information of the service deployment; the service deployment module 48, the southbound interface 42 and the calculation module 46 are set to be based on the user.
  • the service configuration request and/or the service deployment information sent by the upper controller performs the service configuration related operation;
  • the northbound interface 410 is connected to the topology management module 44 and the service deployment module 48, and is mainly configured to complete with the user and/or The interaction between the superior controllers.
  • the topology management module 44 can also perform functions such as topology collection, topology storage, topology abstraction, sub-topology, and topology query.
  • FIG. 5 is a schematic diagram showing the internal structure of a topology management module 44 of a device processing method according to a preferred embodiment of the present invention. As shown in FIG. 5, the topology management module 44 includes a topology collection unit 52, a topology storage unit 54, a topology abstraction unit 56, a sub-topology division unit 58, and a topology query unit 510. The topology management module 44 will be described below.
  • the topology collection unit 52 is configured to collect original topology information of the network device in the controller control domain;
  • the topology storage unit 54 is connected to the topology collection unit 52, and is configured to store the collected original topology information;
  • the topology abstraction unit 56 is connected to the foregoing Topology storage unit 54, setting The topology is abstracted according to the stored original topology information to generate an abstract topology.
  • the sub-topology dividing unit 58 is connected to the topology storage unit 54 and configured to perform the storage of the original topology information when multiple rings are included in the controller management domain.
  • the topological query unit 510 is connected to the topology storage unit 54 and configured to perform topology query on the controller management domain.
  • FIG. 6 is a flow chart of a method of processing a device in accordance with a preferred embodiment of the present invention. As shown in Figure 6, the process includes the following steps:
  • Step S602 completing the basic configuration of the network.
  • the basic configuration of the network is as follows: The corresponding IP addresses are planned and configured for each interface of each network device and device. The devices are correctly connected to each other and the IGP routes are opened in each domain. It mainly includes assigning and configuring an IP address to each interface of each network device and device, and correctly connecting the devices to each other, and the IGP routes in each domain are opened.
  • step S604 the managed D controller device is added to the H controller, and a channel for information transmission is established between H and D.
  • the established information delivery channels can be RESTCONF and WEBSOCKET channels.
  • Step S606 adding the network device managed by the D controller, assigning a role to each device, and collecting topology information in the managed domain through the southbound interface.
  • the role assigned by the D controller to each device may be one of ACC, AGG, P, and ASBR.
  • the role assigned to the device can be determined according to the location of the device when the network is deployed.
  • the devices managed by the D1 and D5 controllers include the access device ACC, the intermediate device P, and the aggregation device AGG; the devices managed by the D2 and D4 controllers include the aggregation device AGG, and the intermediate device.
  • P the self-made system boundary device ASBR;
  • the device managed by the D3 controller includes the intermediate device P, and the self-made system boundary device ASBR.
  • the D controller can collect the original topology information in the managed domain through the southbound interface 42 such as SNMP, NETCONFIG, BGP-LS, and the like.
  • the original topology information here mainly refers to the connection information between nodes in the managed domain.
  • the path is directional, conversely, there is a path AGG1 -> P1 -> ACC1 from AGG1 to ACC1.
  • This path corresponds to two sides: AGG1 -> P1, P1 -> ACC1.
  • Each edge uses four attributes of the source device name and the source destination interface IP address as key value information. Of course, each side also has some other attributes, including bandwidth, METRIC values, and so on.
  • step S608 the D controller abstracts the topology according to the role set by the device, generates an abstract topology, and reports the generated abstract topology to the H controller.
  • the service key nodes and boundary nodes can be reserved according to the roles set by the device, and the intermediate nodes and non-critical nodes are filtered out, mainly referring to the P nodes.
  • the D controller is processed by the topology abstraction unit 56 to abstract the topology according to the role set by the device and the location of the device in the network.
  • the boundary nodes in the domain and the key nodes of the service deployment are reserved.
  • the ACC, AGG, and ASBR nodes in the network are mainly referred to. Filter out intermediate nodes and non-critical nodes, mainly referring to P nodes.
  • the path ACC1->P1->AGG1 in step S606 after abstract processing, forms an abstract topology of ACC1->AGG1.
  • the abstract topology formed by the abstraction process of its reverse path AGG1->P1->ACC1 is AGG1->ACC1.
  • an abstract topology as shown in Fig. 7 is formed, which includes the case of each D controller.
  • the rules of topology abstraction can be:
  • the source device takes the source device of the corresponding path; the destination device takes the destination device of the corresponding path; the source IP address takes the source interface IP address of the corresponding path; and the destination IP address takes the destination interface IP of the corresponding path.
  • sub-topology partitioning can also be used.
  • the domain managed by the D1 controller includes two access rings, which can be further divided into two sub-topologies.
  • the sub-topology of the sub-topology is as shown in FIG. 8. Shown. This is done by sub-topology partitioning according to the IGPs running in the D1 domain belonging to different IGP instances. For example, if you use the Open Shortest Path First (OSPF) protocol, different access rings are configured with different OSPF domains. If you use the Intermediate System to Intermediate System (ISIS) protocol, different accesses are used. The ring can be configured with different ISIS system-ids, and so on. If this is the case, it is necessary to plan in detail when performing step S402. Depending on the needs of the service, different rings may need to communicate with each other or may not require interworking. By default, it is not interoperable, and the topology needs to be isolated.
  • OSPF Open Shortest Path First
  • ISIS Intermediate System to Intermediate System
  • the D controller reports the generated abstract topology to the H controller, which can be implemented by the channel between the H controller and the D controller established in step S404.
  • the D controller When the network topology changes, such as the node uplink and downlink, interface UP/DOWN, the D controller should be able to respond to changes in time, modify its original topology information, and recalculate the abstract topology and / or sub-topology, and the latest calculation results Re-report to the H controller.
  • the network topology changes such as the node uplink and downlink, interface UP/DOWN
  • the D controller should be able to respond to changes in time, modify its original topology information, and recalculate the abstract topology and / or sub-topology, and the latest calculation results Re-report to the H controller.
  • Step S6010 After receiving the topology reported by each D controller, the H controller forms an abstract topology of the entire network, and according to the source of the topology information, the topology reported by each D controller is divided into a sub-topology.
  • the H controller After receiving the topology reported by each D controller, the H controller forms an abstract topology of the entire network, as shown in FIG. 9. According to the source of the topology information, the topology reported by each D is divided into a sub-topology, as shown in FIG. The eight sides shown in the solid line in Figure 9 are ASBR1->ASBR3, ASBR3->ASBR1, ASBR2->ASBR4, ASBR4->ASBR2, ASBR5->ASBR7, ASBR7->ASBR5, ASBR6->ASBR8, ASBR8- >ASBR6, which belongs to the connection between the boundaries of the homebrew system.
  • the corresponding topology information may not be collected automatically due to network deployment. At this point, the controller needs to support the function of manually entering topology information.
  • the H controller can have the ability to process topology addition, deletion, and update reported by the D controller.
  • Each controller (H controller and D controller) can provide topology query capabilities.
  • step S6012 the configuration request of the user is sent to the H controller, and the H controller queries its own global abstract topology data according to the deployed service, calculates an end-to-end path, and finds the path in each sub-topology. Which D controller belongs to each node, which is deployed The business is decomposed and distributed to each D controller.
  • the H controller can query the global abstract topology data and the sub-topology according to the deployed service, and decompose the deployed services to each D controller. For example, after the H controller receives the L3VPN service configuration request from the user, the service deployment module 48 triggers the calculation module 46 to perform the calculation, and the calculation module 48 queries the H controller's own abstract topology to calculate an end-to-end path. And in the sub-topology, it is found out which D controller each device node on the path belongs to. After the D controller corresponding to the device node machine is obtained, the deployed service is decomposed and delivered to each D controller.
  • an end-to-end path calculated on the H controller is: ACC1 ⁇ ->AGG1 ⁇ ->ASBR1 ⁇ ->ASBR3 ⁇ ->ASBR5 ⁇ ->ASBR7 ⁇ ->AGG3 ⁇ ->ACC4 ( ⁇ -> here refers to the bidirectional path of the forward and the direction).
  • the D controllers where each node is located are queried and grouped.
  • the packet information is as follows: ACC1 and AGG1, AGG1 and ASBR1, ASBR1 and ASBR3, ASBR3 and ASBR5, ASBR5 and ASBR7, ASBR7 and AGG3, AGG3 and ACC4.
  • the packets ACC1 and AGG1, AGG1 and ASBR1, ASBR3 and ASBR5, ASBR7 and AGG3, AGG3 and ACC4 respectively correspond to the domains managed by the D1, D2, D3, D4, and D5 controllers, and the packet information and service configuration information are respectively Send to each D controller.
  • the ASBR1 and the ASBR3, the ASBR5, and the ASBR7 are connected to each other.
  • the EBGP is configured and the SEND-LABLE capability is enabled to implement seamless MPLS service deployment.
  • the H controller can identify this and specify the corresponding D controller to deliver the corresponding BGP configuration, which refers to the D2, D3, and D4 controllers.
  • each D controller is responsible for service deployment in the local area, and completes network-wide service deployment.
  • each D controller After receiving the service deployment information sent by the H controller, each D controller is responsible for service deployment in the local area. For example, the D1 controller receives the packet information and the L3VPN configuration information of the ACC1 and the AGG1.
  • the BGP protocol is configured between the ACC1 and the AGG1 to deliver the virtual private network (VPN Virtual Private Network).
  • VPN virtual private network
  • VPN routing information also need to query local topology information to get a two-way road between ACC1 and AGG1
  • the path ACC1 ⁇ ->P ⁇ ->AGG1 opens the Label Switched Path (LSP) path in the domain. For example, you can configure a bidirectional TUNNEL tunnel or a Label Distribution Protocol (LDP), both of which can carry L3VPN services, depending on specific service requirements.
  • LSP Label Switched Path
  • the calculations here include both the calculations on the H controller and the calculations on the D controller.
  • the service deployment is performed on multiple rings of the same D controller control domain. For example, deploying services between ACC1 and ACC3. As shown in Figure 8, by default, the two rings in the D1 controller are not interworking. Therefore, if you configure services, you need to clear the routes between the two rings. After the H controller receives the service configuration information, it is found that both the ACC1 and the ACC3 are in the domain managed by the D1 controller. Therefore, only the service deployment information is sent to the D1 controller.
  • the D1 controller After receiving the configuration information sent by the H, the D1 controller calculates a path in the original topology information as ACC1 ⁇ ->P1 ⁇ ->AGG1 ⁇ ->P2 ⁇ ->ACC3. After querying the sub-topology, ACC1 and P1 belong to ring 1, and P2 and ACC3 belong to ring 2.
  • AGG1 belongs to the boundary device of the two rings, as shown in Figure 8. In this case, in addition to configuring BGP to open the inbound loop between ACC1 and AGG1, AGG1, and ACC3, you need to open routes between different rings. You can use BGP community attributes to achieve this.
  • the D1 controller can calculate multiple paths that meet the requirements when calculating the path. On this basis, the active/standby path protection of the service or traffic sharing is implemented.
  • the SDN controller is used to abstract and divide the network topology, and the SDN controller is used for layering. Management and rapid deployment of services based on this can effectively reduce the complexity of carrier network management and improve the efficiency and flexibility of deploying services.
  • the method according to the above embodiment can be implemented by means of software plus a necessary general hardware platform, and of course, by hardware, but in many cases, the former is A better implementation.
  • the technical solution of the present invention which is essential or contributes to the prior art, may be embodied in the form of a software product stored in a storage medium (such as ROM/RAM, disk,
  • the optical disc includes a number of instructions for causing a terminal device (which may be a cell phone, a computer, a server, or a network device, etc.) to perform the methods described in various embodiments of the present invention.
  • a device processing device is also provided, which is used to implement the above-mentioned embodiments and preferred embodiments, and has not been described again.
  • the term "module” may implement a combination of software and/or hardware of a predetermined function.
  • the apparatus described in the following embodiments is preferably implemented in software, hardware, or a combination of software and hardware, is also possible and contemplated.
  • FIG. 11 is a structural block diagram of a device processing apparatus according to an embodiment of the present invention. As shown in FIG. 11, the apparatus includes a determining module 112 and a processing module 114, which will be described below.
  • the determining module 112 is configured to determine a controller type of a controller for performing a business process, wherein the controller type comprises: a first type controller that controls network devices in a separate domain, and one or more first types a second type controller controlled by the controller, the separate domain is a domain obtained by dividing a network architecture of the predetermined network; the processing module 114 is connected to the above
  • the determining module 112 is configured to process the services of the predetermined network according to the determined controller type.
  • FIG. 12 is a structural block diagram of a processing module 114 in a device processing apparatus according to an embodiment of the present invention. As shown in FIG. 12, the processing module 114 includes a collecting unit 122, a first determining unit 124, and a first processing unit 126. The processing module 114 will be described below.
  • the collecting unit 122 is configured to collect the original topology information of the network device in the first type controller control domain through the southbound interface, where the controller for performing the service processing is the first type controller, where the original topology information includes
  • the first type of controller controls the connection information between the network devices in the domain;
  • the first determining unit 124 is connected to the collecting unit 122, and is configured to determine, according to the collected original topology information, topology information of the network device in the control domain of the first type controller.
  • the first processing unit 126 is connected to the first determining unit 124, and is configured to process the service of the predetermined network according to the determined topology information.
  • FIG. 13 is a structural block diagram of a first determining unit 124 in a device processing apparatus according to an embodiment of the present invention. As shown in FIG. 13, the first determining unit 124 includes a removing subunit 132 and a saving subunit 134. The first determining unit 124 will be described below.
  • the removing sub-unit 132 is configured to remove the intermediate node information in the connection information; the saving sub-unit 134 is connected to the removing sub-unit 132, and is configured to save the connection information after removing the information of the intermediate node to obtain the first type of control. Controls the topology information of network devices in the domain.
  • FIG. 14 is a structural block diagram of a first processing unit 126 in a device processing apparatus according to an embodiment of the present invention. As shown in FIG. 14, the first processing unit 126 includes a receiving subunit 142 and a deployment subunit 144. The first processing unit 126 will be described below.
  • the receiving sub-unit 142 is configured to receive the service deployment information delivered by the second type controller to which the first type of controller belongs; the deployment sub-unit 144 is connected to the receiving sub-unit 142, and is configured to be configured according to the received service, and Topology information for service deployment.
  • FIG. 15 is a block diagram showing the structure of the processing module 114 in the device processing apparatus according to the embodiment of the present invention. As shown in FIG. 15, the processing module 114 includes a receiving unit 152, a second determining unit 154, and a second processing unit 156. The processing module 114 will be described below.
  • the receiving unit 152 is configured to receive topology information of the network device in the corresponding control domain reported by the one or more first type controllers, where the controller for performing the service processing is the second type controller, where
  • the topology information includes one or more first type controllers corresponding to the connection information between the network devices in the control domain;
  • the second determining unit 154 is connected to the receiving unit 152, and is configured to determine the second type according to the received topology information.
  • the controller controls the total topology information of the network device in the domain;
  • the second processing unit 156 is connected to the second determining unit 154, and is configured to process the service of the predetermined network according to the total topology information.
  • FIG. 16 is a structural block diagram of a second determining unit 154 in a device processing apparatus according to an embodiment of the present invention. As shown in FIG. 16, the second determining unit 154 includes a first establishing subunit 162 and a second establishing subunit 164. The second determining unit 154 will be described below.
  • the first establishing subunit 162 is configured to respectively establish a sub-topology table corresponding to the one or more first type controllers according to the received topology information; the second establishing subunit 164 is connected to the first establishing subunit 162. And being set to establish a total topology table of network devices in the second type controller control domain according to the established sub-topology table.
  • FIG. 17 is a structural block diagram of a second processing unit 156 in a device processing apparatus according to an embodiment of the present invention. As shown in FIG. 17, the second processing unit 156 includes a first determining subunit 172, a second determining subunit 174, and a lower Hair unit 176. The second processing unit 156 will be described below.
  • the first determining sub-unit 172 is configured to query the total topology table of the second type controller according to the service deployed in the received user configuration request, determine a path from the source node to the target node, and determine the second determining sub-unit 174. Up to the first determining subunit 172, configured to determine, according to the determined path, and the sub-topology table, a first type controller to which one or more nodes on the path belong; the sending subunit 176, connected to the second determining The sub-unit 174 is configured to deliver configuration information to the first type controller to which the determined one or more nodes belong according to the service deployed in the received user configuration request, and perform service deployment.
  • FIG. 18 is a structural block diagram of a controller according to an embodiment of the present invention. As shown in FIG. 18, the controller includes the device processing in the above embodiment. Device 182.
  • 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:
  • a controller type of a controller for performing service processing where the controller type includes: a first type controller that controls network devices in a separate domain, and controls one or more first type controllers a second type of controller, the separate domain is a domain obtained by dividing a network architecture of a predetermined network;
  • the service of the predetermined network is processed according to the determined controller type.
  • the storage medium is further arranged to store program code for performing the following steps:
  • processing the service of the predetermined network according to the determined controller type includes:
  • the original topology information of the network device in the control domain of the first type is collected by the southbound interface, where the original topology information includes the connection information between the network devices in the domain of the first type controller;
  • the storage medium is further arranged to store program code for performing the following steps:
  • the topology information of the network device in the control domain of the first type controller is determined according to the collected original topology information, including:
  • connection information after the information of the intermediate node is removed is saved, and the topology information of the network device in the control domain of the first type controller is obtained.
  • the storage medium is further arranged to store program code for performing the following steps:
  • Processing the service of the predetermined network according to the determined topology information includes:
  • S2 Perform service deployment according to the received service deployment information and topology information.
  • the storage medium is further arranged to store program code for performing the following steps:
  • processing the service of the predetermined network according to the determined controller type includes:
  • S3 Process the service of the predetermined network according to the total topology information.
  • the storage medium is further arranged to store program code for performing the following steps:
  • the total topology information of the network device in the control domain of the second type controller is determined according to the received topology information, including:
  • S1 according to the received topology information, respectively establish a sub-topology table corresponding to one or more first type controllers;
  • the storage medium is further arranged to store program code for performing the following steps:
  • processing the services of the predetermined network includes:
  • 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, the controller type of the controller for performing the service processing, where the controller type includes: the network device in the separate domain a first type controller for controlling, a second type controller for controlling one or more first type controllers, and a separate domain is a domain obtained by dividing a network architecture of a predetermined network; according to the determined controller type, The business of the predetermined network is processed.
  • the processor executes according to the stored program code in the storage medium: in a case where the controller for performing the service processing is the first type controller, according to the determined controller type,
  • the processing of the service of the predetermined network includes: collecting the original topology information of the network device in the control domain of the first type by using the southbound interface, where the original topology information includes the connection information between the network devices in the domain of the first type controller;
  • the original topology information determines the topology information of the network device in the first type controller control domain; and processes the service of the predetermined network according to the determined topology information.
  • the processor performs, according to the stored program code in the storage medium, determining, according to the collected original topology information, the topology information of the network device in the control domain of the first type controller, including: removing the connection information.
  • the intermediate node information is saved; the connection information after the information of the intermediate node is removed is saved, and the topology information of the network device in the control domain of the first type controller is obtained.
  • the processor performs, according to the stored program code in the storage medium, processing the service of the predetermined network according to the determined topology information, including: receiving the second type controller to which the first type controller belongs Service deployment information; service deployment based on received service deployment information and topology information.
  • the processor executes according to the stored program code in the storage medium: in a case where the controller for performing the service processing is the second type controller, according to the determined controller type,
  • the processing of the service of the predetermined network includes: receiving topology information of the network device in the corresponding control domain reported by the one or more first type controllers, where the received topology information includes one or more networks of the first type controller corresponding to the control domain
  • the connection information between the devices is determined according to the received topology information, and the total topology information of the network devices in the control domain of the second type controller is determined; and the services of the predetermined network are processed according to the total topology information.
  • the processor performs, according to the stored program code in the storage medium, determining, according to the received topology information, that the total topology information of the network device in the control domain of the second type controller comprises: according to the received The topology information is respectively configured to establish a sub-topology table corresponding to one or more first type controllers; and according to the established sub-topology table, a total topology table of network devices in the second type controller control domain is established.
  • the processor performs, according to the stored program code in the storage medium, processing, according to the total topology information, the service of the predetermined network, according to the service deployed in the received user configuration request, querying the first a total topology table of the second type controller, determining a path from the source node to the target node; determining, according to the determined path and the sub-topology table, a first type of controller to which one or more nodes on the path belong; according to the received
  • the service deployed in the user configuration request delivers configuration information to the first type of controller to which the determined one or more nodes belong to perform service deployment.
  • modules or steps of the present invention described above can be implemented by a general-purpose computing device that can be centralized on a single computing device or distributed across a network of multiple computing devices. Alternatively, they may be implemented by program code executable by the computing device such that they may be stored in the storage device by the computing device and, in some cases, may be different from the order herein. Perform the steps shown or described, or separate them into individual integrated circuit modules, or multiple of them Blocks or steps are made in a single integrated circuit module. Thus, the invention is not limited to any specific combination of hardware and software.
  • the controller is used to hierarchically manage the network: the first type controller is used to control the individual domain, and the second type controller is used to control multiple domains.
  • a type of controller performs control to control multiple domains and processes services in the network according to the type of the controller. Therefore, the problem of high complexity of network management and maintenance and service deployment of the carrier in the related technologies can be solved. Reduce the complexity of network management maintenance and business deployment.

Landscapes

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

Abstract

The invention provides an apparatus management method, device, and controller. The method comprises: determining a controller type of a controller performing a service process, wherein the controller type comprises a first type of controllers controlling a network apparatus in a single domain, and a second type of controllers controlling one or more first type of controllers, and the single domain is a domain obtained by dividing a network structure of a preconfigured network; and processing, according to the determined type of the controller, a service of the preconfigured network. The embodiment of the invention resolves a problem in the prior art of highly complicated network management, maintenance, and service deployment operated by a network operator, thereby achieving the goal of reducing complexity of network management, maintenance, and service deployment.

Description

设备处理方法、装置及控制器Device processing method, device and controller 技术领域Technical field
本发明涉及通信领域,具体而言,涉及一种设备处理方法、装置及控制器。The present invention relates to the field of communications, and in particular to a device processing method, apparatus, and controller.
背景技术Background technique
目前,随着通讯网络发展,网络规模越来越大,网络中的设备越来越多,网络结构越来越复杂,导致网络管理越来越难,业务部署越来越难。At present, with the development of communication networks, the network scale is getting larger and larger, more and more devices are in the network, and the network structure is more and more complicated, which makes network management more and more difficult, and business deployment becomes more and more difficult.
因此,相关技术中存在运营商网络管理维护和业务部署复杂度高的问题。Therefore, the related art has a problem that the operator network management and maintenance and service deployment are highly complex.
发明内容Summary of the invention
本发明实施例提供了一种设备处理方法、装置及控制器,以至少解决相关技术中运营商网络管理维护和业务部署复杂度高的问题。The embodiments of the present invention provide a device processing method, a device, and a controller, so as to at least solve the problem that the carrier network management maintenance and service deployment complexity in the related art are high.
根据本发明的一个实施例,提供了一种设备处理方法,包括:确定用于进行业务处理的控制器的控制器类型,其中,所述控制器类型包括:对单独域内的网络设备进行控制的第一类型控制器,对一个或者多个所述第一类型控制器进行控制的第二类型控制器,所述单独域为对预定网络的网络架构进行划分获得的域;依据确定的控制器类型,对所述预定网络的业务进行处理。According to an embodiment of the present invention, a device processing method is provided, including: determining a controller type of a controller for performing a service processing, wherein the controller type includes: controlling a network device in a separate domain a first type of controller, a second type of controller that controls one or more of the first type of controllers, the separate domain being a domain obtained by dividing a network architecture of a predetermined network; And processing the service of the predetermined network.
可选地,在所述用于进行业务处理的控制器为第一类型控制器的情况下,根据确定的控制器类型,对所述预定网络的业务进行处理包括:通过南向接口收集所述第一类型控制器控制域内网络设备的原始拓扑信息,其中,所述原始拓扑信息包括所述第一类型控制器控制域内网络设备之间的连接信息;根据收集的所述原始拓扑信息,确定所述第一类型控制器控制域内网络设备的拓扑信息;根据确定的所述拓扑信息对所述预定网络的业务进行处理。 Optionally, in the case that the controller for performing service processing is a first type controller, processing the service of the predetermined network according to the determined controller type includes: collecting, by using a southbound interface The first type of controller controls the original topology information of the network device in the domain, where the original topology information includes connection information between the network devices in the first type of controller control domain; and according to the collected original topology information, The first type of controller controls topology information of the network device in the domain; and processes the service of the predetermined network according to the determined topology information.
可选地,根据收集的所述原始拓扑信息,确定所述第一类型控制器控制域内网络设备的拓扑信息包括:移除所述连接信息中的中间节点信息;保存移除中间节点信息后的连接信息,得到所述第一类型控制器控制域内网络设备的拓扑信息。Optionally, determining, according to the collected original topology information, the topology information of the network device in the control domain of the first type controller includes: removing intermediate node information in the connection information; saving the information of the intermediate node after removing The connection information is obtained, and the topology information of the network device in the control domain of the first type controller is obtained.
可选地,根据确定的所述拓扑信息对所述预定网络的业务进行处理包括:接收所述第一类型控制器所属的第二类型控制器下发的业务部署信息;根据接收的所述业务部署信息,以及所述拓扑信息,进行业务部署。Optionally, processing the service of the predetermined network according to the determined topology information, including: receiving service deployment information delivered by a second type controller to which the first type of controller belongs, according to the received service Deployment information, and the topology information, for service deployment.
可选地,在所述用于进行业务处理的控制器为第二类型控制器的情况下,根据确定的控制器类型,对所述预定网络的业务进行处理包括:接收一个或多个所述第一类型控制器上报的对应控制域内网络设备的拓扑信息,其中,接收到的所述拓扑信息包括一个或多个所述第一类型控制器对应控制域内网络设备之间的连接信息;根据接收到的所述拓扑信息,确定所述第二类型控制器控制域内网络设备的总拓扑信息;根据所述总拓扑信息,对所述预定网络的业务进行处理。Optionally, in the case that the controller for performing service processing is a second type controller, processing the service of the predetermined network according to the determined controller type includes: receiving one or more of the foregoing Corresponding to the topology information of the network device in the control domain, where the received topology information includes one or more connection information between the network devices in the control domain corresponding to the first type controller; And the topology information obtained by the second type controller is used to determine the total topology information of the network device in the control domain; and the service of the predetermined network is processed according to the total topology information.
可选地,根据收到的所述拓扑信息,确定所述第二类型控制器控制域内网络设备的总拓扑信息包括:根据接收到的所述拓扑信息,分别建立与一个或多个所述第一类型控制器对应的子拓扑表;根据建立的所述子拓扑表,建立所述第二类型控制器控制域内网络设备的总拓扑表。Optionally, determining, according to the received topology information, the total topology information of the network device in the control domain of the second type of controller includes: establishing, according to the received topology information, one or more of the foregoing A sub-topology table corresponding to a type of controller; establishing a total topology table of network devices in the control domain of the second type controller according to the established sub-topology table.
可选地,根据所述总拓扑信息,对所述预定网络的业务进行处理包括:根据接收的用户配置请求中部署的业务,查询所述第二类型控制器的总拓扑表,确定一条由源节点至目标节点的路径;根据确定的所述路径,以及所述子拓扑表,确定所述路径上的一个或多个节点所属的第一类型控制器;根据接收的所述用户配置请求中部署的业务,向确定的所述一个或多个节点所属的第一类型控制器下发配置信息,进行业务部署。Optionally, processing the service of the predetermined network according to the total topology information includes: querying a total topology table of the second type controller according to the service deployed in the received user configuration request, and determining a source by the source a path from the node to the target node; determining, according to the determined path, and the sub-topology table, a first type of controller to which one or more nodes on the path belong; deploying according to the received user configuration request The service is delivered to the first type controller that is determined by the one or more nodes to perform service deployment.
根据本发明的另一个实施例,提供了一种设备处理装置,包括:第一确定模块,设置为确定用于进行业务处理的控制器的控制器类型,其中,所述控制器类型包括:对单独域内的网络设备进行控制的第一类型控制器, 对一个或者多个所述第一类型控制器进行控制的第二类型控制器,所述单独域为对预定网络的网络架构进行划分获得的域;处理模块,设置为依据确定的控制器类型,对所述预定网络的业务进行处理。According to another embodiment of the present invention, there is provided a device processing apparatus, comprising: a first determining module configured to determine a controller type of a controller for performing a business process, wherein the controller type comprises: a first type of controller that is controlled by a network device in a separate domain, a second type of controller that controls one or more of the first type of controllers, the separate domain is a domain obtained by dividing a network architecture of a predetermined network; and the processing module is configured to determine the type of the controller according to the determined Processing the service of the predetermined network.
可选地,所述处理模块包括:收集单元,设置为在所述用于进行业务处理的控制器为第一类型控制器的情况下,通过南向接口收集所述第一类型控制器控制域内网络设备的原始拓扑信息,其中,所述原始拓扑信息包括所述第一类型控制器控制域内网络设备之间的连接信息;第一确定单元,用于根据收集的所述原始拓扑信息,确定所述第一类型控制器控制域内网络设备的拓扑信息;第一处理单元,设置为根据确定的所述拓扑信息对所述预定网络的业务进行处理。Optionally, the processing module includes: a collecting unit, configured to collect, by using a southbound interface, the first type of controller in a control domain, where the controller for performing service processing is a first type of controller The original topology information of the network device, where the original topology information includes the connection information between the network devices in the first type of controller control domain; the first determining unit is configured to determine, according to the collected original topology information, The first type of controller controls topology information of the network device in the domain; the first processing unit is configured to process the service of the predetermined network according to the determined topology information.
可选地,所述第一确定单元包括:移除子单元,设置为移除所述连接信息中的中间节点信息;保存子单元,设置为保存移除中间节点信息后的连接信息,得到所述第一类型控制器控制域内网络设备的拓扑信息。Optionally, the first determining unit includes: a removing subunit, configured to remove intermediate node information in the connection information; and saving the subunit, configured to save connection information after removing the intermediate node information, to obtain a The first type of controller controls topology information of network devices in the domain.
可选地,所述第一处理单元包括:接收子单元,设置为接收所述第一类型控制器所属的第二类型控制器下发的业务部署信息;部署子单元,设置为根据接收的所述业务部署信息,以及所述拓扑信息,进行业务部署。Optionally, the first processing unit includes: a receiving subunit, configured to receive service deployment information delivered by a second type controller to which the first type controller belongs; and a deployment subunit, configured to receive according to the received The service deployment information and the topology information are used for service deployment.
可选地,所述处理模块包括:接收单元,设置为在所述用于进行业务处理的控制器为第二类型控制器的情况下,接收一个或多个所述第一类型控制器上报的对应控制域内网络设备的拓扑信息,其中,接收到的所述拓扑信息包括一个或多个所述第一类型控制器对应控制域内网络设备之间的连接信息;第二确定单元,设置为根据接收到的所述拓扑信息,确定所述第二类型控制器控制域内网络设备的总拓扑信息;第二处理单元,设置为根据所述总拓扑信息,对所述预定网络的业务进行处理。Optionally, the processing module includes: a receiving unit, configured to receive one or more reports sent by the first type controller if the controller for performing service processing is a second type controller Corresponding to the topology information of the network device in the control domain, where the received topology information includes one or more connection information between the network devices in the control domain corresponding to the first type controller; and the second determining unit is configured to receive according to the And the second topology unit is configured to process the service of the predetermined network according to the total topology information.
可选地,所述第二确定单元包括:第一建立子单元,设置为根据接收到的所述拓扑信息,分别建立与一个或多个所述第一类型控制器对应的子拓扑表;第二建立子单元,设置为根据建立的所述子拓扑表,建立所述第二类型控制器控制域内网络设备的总拓扑表。 Optionally, the second determining unit includes: a first establishing subunit, configured to respectively establish a sub-topology table corresponding to one or more of the first type controllers according to the received topology information; And establishing a subunit, configured to establish, according to the established sub-topology table, a total topology table of network devices in the control domain of the second type controller.
可选地,所述第二处理单元包括:第一确定子单元,设置为根据接收的用户配置请求中部署的业务,查询所述第二类型控制器的总拓扑表,确定一条由源节点至目标节点的路径;第二确定子单元,设置为根据确定的所述路径,以及所述子拓扑表,确定所述路径上的一个或多个节点所属的第一类型控制器;下发子单元,设置为根据接收的所述用户配置请求中部署的业务,向确定的所述一个或多个节点所属的第一类型控制器下发配置信息,进行业务部署。Optionally, the second processing unit includes: a first determining subunit, configured to query a total topology table of the second type controller according to the service deployed in the received user configuration request, and determine a source node to a path of the target node, the second determining subunit, configured to determine, according to the determined path, and the sub-topology table, a first type of controller to which one or more nodes on the path belong; And configuring, according to the received service configured in the user configuration request, to send configuration information to the first type controller that is determined by the one or more nodes to perform service deployment.
根据本发明的又一个实施例,还提供了一种控制器。该控制器包括前述任一项所述设备处理装置。According to still another embodiment of the present invention, a controller is also provided. The controller includes the device processing apparatus of any of the foregoing.
根据本发明的又一个实施例,还提供了一种存储介质。该存储介质设置为存储用于执行以下步骤的程序代码:确定用于进行业务处理的控制器的控制器类型,其中,所述控制器类型包括:对单独域内的网络设备进行控制的第一类型控制器,对一个或者多个所述第一类型控制器进行控制的第二类型控制器,所述单独域为对预定网络的网络架构进行划分获得的域;依据确定的控制器类型,对所述预定网络的业务进行处理。According to still another embodiment of the present invention, a storage medium is also provided. The storage medium is configured to store program code for performing a step of determining a controller type of a controller for performing a business process, wherein the controller type comprises: a first type that controls network devices within a separate domain a controller, a second type controller that controls one or more of the first type controllers, where the individual domain is a domain obtained by dividing a network architecture of a predetermined network; according to the determined controller type, The business of the predetermined network is processed.
可选地,存储介质还设置为存储用于执行以下步骤的程序代码:在所述用于进行业务处理的控制器为第一类型控制器的情况下,根据确定的控制器类型,对所述预定网络的业务进行处理包括:通过南向接口收集所述第一类型控制器控制域内网络设备的原始拓扑信息,其中,所述原始拓扑信息包括所述第一类型控制器控制域内网络设备之间的连接信息;根据收集的所述原始拓扑信息,确定所述第一类型控制器控制域内网络设备的拓扑信息;根据确定的所述拓扑信息对所述预定网络的业务进行处理。Optionally, the storage medium is further configured to store program code for performing the following steps: in case the controller for performing business processing is a first type controller, according to the determined controller type, The processing of the service of the predetermined network includes: collecting, by the southbound interface, original topology information of the network device in the first type of controller control domain, where the original topology information includes the first type of controller between the network devices in the control domain The connection information is determined, according to the collected original topology information, the topology information of the network device in the control domain of the first type controller is determined; and the service of the predetermined network is processed according to the determined topology information.
可选地,存储介质还设置为存储用于执行以下步骤的程序代码:根据收集的所述原始拓扑信息,确定所述第一类型控制器控制域内网络设备的拓扑信息包括:移除所述连接信息中的中间节点信息;保存移除中间节点信息后的连接信息,得到所述第一类型控制器控制域内网络设备的拓扑信息。 Optionally, the storage medium is further configured to store program code for performing the following steps: determining, according to the collected original topology information, the topology information of the network device in the first type controller control domain includes: removing the connection The intermediate node information in the information; the connection information after the information of the intermediate node is removed is saved, and the topology information of the network device in the control domain of the first type controller is obtained.
可选地,存储介质还设置为存储用于执行以下步骤的程序代码:根据确定的所述拓扑信息对所述预定网络的业务进行处理包括:接收所述第一类型控制器所属的第二类型控制器下发的业务部署信息;根据接收的所述业务部署信息,以及所述拓扑信息,进行业务部署。Optionally, the storage medium is further configured to store program code for performing the following steps: processing the service of the predetermined network according to the determined topology information comprises: receiving a second type to which the first type controller belongs Service deployment information delivered by the controller; performing service deployment according to the received service deployment information and the topology information.
可选地,存储介质还设置为存储用于执行以下步骤的程序代码:在所述用于进行业务处理的控制器为第二类型控制器的情况下,根据确定的控制器类型,对所述预定网络的业务进行处理包括:接收一个或多个所述第一类型控制器上报的对应控制域内网络设备的拓扑信息,其中,接收到的所述拓扑信息包括一个或多个所述第一类型控制器对应控制域内网络设备之间的连接信息;根据接收到的所述拓扑信息,确定所述第二类型控制器控制域内网络设备的总拓扑信息;根据所述总拓扑信息,对所述预定网络的业务进行处理。Optionally, the storage medium is further configured to store program code for performing the following steps: in case the controller for performing business processing is a second type controller, according to the determined controller type, The processing of the service of the predetermined network includes: receiving one or more topology information of the network device in the corresponding control domain reported by the first type controller, where the received topology information includes one or more of the first types Corresponding to the connection information between the network devices in the control domain; determining the total topology information of the network devices in the control domain of the second type controller according to the received topology information; and determining the predetermined topology information according to the total topology information The business of the network is processed.
可选地,存储介质还设置为存储用于执行以下步骤的程序代码:根据收到的所述拓扑信息,确定所述第二类型控制器控制域内网络设备的总拓扑信息包括:根据接收到的所述拓扑信息,分别建立与一个或多个所述第一类型控制器对应的子拓扑表;根据建立的所述子拓扑表,建立所述第二类型控制器控制域内网络设备的总拓扑表。Optionally, the storage medium is further configured to store program code for performing the following steps: determining, according to the received topology information, the total topology information of the network device in the control domain of the second type controller comprises: according to the received The topology information is respectively configured to establish a sub-topology table corresponding to one or more of the first type of controllers; and according to the established sub-topology table, establish a total topology table of network devices in the control domain of the second type controller .
可选地,存储介质还设置为存储用于执行以下步骤的程序代码:根据所述总拓扑信息,对所述预定网络的业务进行处理包括:根据接收的用户配置请求中部署的业务,查询所述第二类型控制器的总拓扑表,确定一条由源节点至目标节点的路径;根据确定的所述路径,以及所述子拓扑表,确定所述路径上的一个或多个节点所属的第一类型控制器;根据接收的所述用户配置请求中部署的业务,向确定的所述一个或多个节点所属的第一类型控制器下发配置信息,进行业务部署。Optionally, the storage medium is further configured to store program code for performing the following steps: processing the service of the predetermined network according to the total topology information comprises: querying the service according to the service deployed in the received user configuration request Determining a path from the source node to the target node according to the total topology table of the second type controller; determining, according to the determined path and the sub-topology table, a node to which one or more nodes on the path belong A type of controller sends configuration information to the first type of controller to which the one or more nodes belong to perform service deployment according to the received service in the user configuration request.
通过本发明实施例,由于使用控制器对网络进行分层管理:采用第一类型控制器对单独域进行控制,第二类型控制器对多个第一类型控制器进行控制,从而控制多个域,并根据控制器类型对网络中的业务进行处理, 因此,可以解决相关技术中存在的运营商网络管理维护和业务部署复杂度高的问题,达到降低网络管理维护和业务部署的复杂度的效果。Through the embodiment of the present invention, the network is hierarchically managed by using the controller: the first type controller is used to control the individual domain, and the second type controller controls the plurality of first type controllers to control the multiple domains. And processing the services in the network according to the type of controller, Therefore, the problem of high complexity of network management and maintenance and service deployment of the carrier in the related art can be solved, and the effect of reducing the complexity of network management and maintenance and service deployment can be achieved.
附图说明DRAWINGS
此处所说明的附图用来提供对本发明的进一步理解,构成本申请的一部分,本发明的示意性实施例及其说明用于解释本发明,并不构成对本发明的不当限定。在附图中:The drawings described herein are intended to provide a further understanding of the invention, and are intended to be a part of the invention. In the drawing:
图1是本发明实施例的设备处理方法的控制器的硬件结构框图;1 is a block diagram showing the hardware structure of a controller of a device processing method according to an embodiment of the present invention;
图2为本发明实施例的设备处理方法的网络架构示意图;2 is a schematic diagram of a network architecture of a device processing method according to an embodiment of the present invention;
图3是根据本发明实施例的设备处理方法的流程图;3 is a flowchart of a device processing method according to an embodiment of the present invention;
图4是根据本发明优选实施例的设备处理方法的控制器的内部总体结构示意图;4 is a schematic diagram showing the overall internal structure of a controller of a device processing method according to a preferred embodiment of the present invention;
图5是根据本发明优选实施例的设备处理方法的拓扑管理模块44的内部结构示意图;FIG. 5 is a schematic diagram showing the internal structure of a topology management module 44 of a device processing method according to a preferred embodiment of the present invention; FIG.
图6是根据本发明优选实施例的设备处理方法的流程图;6 is a flow chart of a method of processing a device in accordance with a preferred embodiment of the present invention;
图7是根据本发明优选实施例的设备处理方法的D控制器上的抽象拓扑示意图;7 is a schematic diagram of an abstract topology on a D controller of a device processing method in accordance with a preferred embodiment of the present invention;
图8是根据本发明优选实施例的设备处理方法的D1控制器上的子拓扑划分示意图;8 is a schematic diagram of sub-topology partitioning on a D1 controller of a device processing method according to a preferred embodiment of the present invention;
图9是根据本发明优选实施例的设备处理方法的H控制器上的抽象拓扑示意图;9 is a schematic diagram of an abstract topology on an H controller of a device processing method according to a preferred embodiment of the present invention;
图10是根据本发明优选实施例的设备处理方法的H控制器上的子拓扑示意图;10 is a schematic diagram of a sub-topology on an H controller of a device processing method according to a preferred embodiment of the present invention;
图11是根据本发明实施例的设备处理装置的结构框图;11 is a block diagram showing the structure of a device processing apparatus according to an embodiment of the present invention;
图12是根据本发明实施例的设备处理装置中处理模块114的结构框图一; FIG. 12 is a structural block diagram 1 of a processing module 114 in a device processing apparatus according to an embodiment of the present invention;
图13是根据本发明实施例的设备处理装置中第一确定单元124的结构框图;FIG. 13 is a structural block diagram of a first determining unit 124 in a device processing apparatus according to an embodiment of the present invention;
图14是根据本发明实施例的设备处理装置中第一处理单元126的结构框图;FIG. 14 is a structural block diagram of a first processing unit 126 in a device processing apparatus according to an embodiment of the present invention;
图15是根据本发明实施例的设备处理装置中处理模块114的结构框图二;15 is a structural block diagram 2 of a processing module 114 in a device processing apparatus according to an embodiment of the present invention;
图16是根据本发明实施例的设备处理装置中第二确定单元154的结构框图;FIG. 16 is a structural block diagram of a second determining unit 154 in a device processing apparatus according to an embodiment of the present invention;
图17是根据本发明实施例的设备处理装置中第二处理单元156的结构框图;FIG. 17 is a structural block diagram of a second processing unit 156 in a device processing apparatus according to an embodiment of the present invention;
图18是根据本发明实施例的控制器的结构框图。Figure 18 is a block diagram showing the structure of a controller in accordance with an embodiment of the present invention.
具体实施方式detailed description
下文中将参考附图并结合实施例来详细说明本发明。需要说明的是,在不冲突的情况下,本申请中的实施例及实施例中的特征可以相互组合。The invention will be described in detail below with reference to the drawings in conjunction with the embodiments. It should be noted that the embodiments in the present application and the features in the embodiments may be combined with each other without conflict.
需要说明的是,本发明的说明书和权利要求书及上述附图中的术语“第一”、“第二”等是用于区别类似的对象,而不必用于描述特定的顺序或先后次序。It is to be understood that the terms "first", "second" and the like in the specification and claims of the present invention are used to distinguish similar objects, and are not necessarily used to describe a particular order or order.
实施例1Example 1
本申请实施例一所提供的方法实施例可以在控制器或者类似的运算装置中执行。以运行在控制器上为例,图1是本发明实施例的设备处理方法的控制器的硬件结构框图。如图1所示,控制器10可以包括一个或多个(图中仅示出一个)处理器102(处理器102可以包括但不限于微处理器MCU或可编程逻辑器件FPGA等的处理装置)、用于存储数据的存储器104、以及用于通信功能的传输装置106。本领域普通技术人员可以理解,图1所示的结构仅为示意,其并不对上述电子装置的结构造成限定。例如,控制器10还可包括比图1中所示更多或者更少的组件,或者具有 与图1所示不同的配置。The method embodiment provided in Embodiment 1 of the present application can be executed in a controller or the like. Taking the operation on the controller as an example, FIG. 1 is a hardware structural block diagram of a controller of the device processing method according to the embodiment of the present invention. As shown in FIG. 1, controller 10 may include one or more (only one shown) processor 102 (processor 102 may include, but is not limited to, a processing device such as a microprocessor MCU or a programmable logic device FPGA) A memory 104 for storing data, and a transmission device 106 for communication functions. 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, controller 10 may also include more or fewer components than shown in Figure 1, or have A different configuration than that shown in FIG.
存储器104可用于存储相应数据以及应用软件的软件程序以及模块,如本发明实施例中的设备处理方法对应的程序指令/模块,处理器102通过运行存储在存储器104内的软件程序以及模块,从而执行各种功能应用以及数据处理,即实现上述的方法。存储器104可包括高速随机存储器,还可包括非易失性存储器,如一个或者多个磁性存储装置、闪存、或者其他非易失性固态存储器。在一些实例中,存储器104可进一步包括相对于处理器102远程设置的存储器,这些远程存储器可以通过网络连接至控制器10。上述网络的实例包括但不限于互联网、企业内部网、局域网、移动通信网及其组合。The memory 104 can be used to store corresponding data and software programs and modules of the application software, such as program instructions/modules corresponding to the device processing method in the embodiment of the present invention, and the processor 102 runs the software program and the module stored in the memory 104, thereby The above methods are implemented by performing various functional applications and data processing. Memory 104 may include high speed random access memory, and may 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, memory 104 may further include memory remotely located relative to processor 102, which may be coupled to controller 10 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.
传输装置106用于经由一个网络接收或者发送数据。上述的网络具体实例可包括控制器10的通信供应商提供的无线网络。在一个实例中,传输装置106包括一个网络适配器(Network Interface Controller,NIC),其可通过基站与其他网络设备相连从而可与互联网进行通讯。在一个实例中,传输装置106可以为射频(Radio Frequency,RF)模块,其用于通过无线方式与互联网进行通讯。Transmission device 106 is for receiving or transmitting data via a network. The network specific examples described above may include a wireless network provided by a communication provider of the controller 10. In one example, the 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 transmission device 106 can be a Radio Frequency (RF) module for communicating with the Internet wirelessly.
本申请实施例可以运行于图2所示的网络架构上,图2为本发明实施例的设备处理方法的网络架构示意图。如图2所示,该网络的网络架构划分为接入域、汇聚域和核心域,并且左右呈对称型。网络中包括接入设备ACC,汇聚设备AGG,自制系统边界设备ASBR,以及各个域内部的设备P。The embodiment of the present application can be run on the network architecture shown in FIG. 2, where FIG. 2 is a schematic diagram of a network architecture of a device processing method according to an embodiment of the present invention. As shown in FIG. 2, the network architecture of the network is divided into an access domain, a convergence domain, and a core domain, and the left and right are symmetric. The network includes the access device ACC, the aggregation device AGG, the homebrew system border device ASBR, and the device P in each domain.
如图2所示,针对上述网络架构,使用软件定义网络(Software Defined Network,SDN)控制器对网络进行管理,可以达到控制面和转发面分离的效果。SDN控制器分为两层,每个域用一个单域控制器,即D控制器进行管理,在D控制器之上,使用多域控制器,即H控制器对整个网络进行集中管理。即,在该分层网络架构中,使用D控制器分别管理各个域,使用H控制器管理整个网络。 As shown in FIG. 2, for the above network architecture, a Software Defined Network (SDN) controller is used to manage the network, and the separation between the control plane and the forwarding plane can be achieved. The SDN controller is divided into two layers. Each domain is managed by a single domain controller, that is, a D controller. On the D controller, a multi-domain controller, that is, an H controller, is used to centrally manage the entire network. That is, in the hierarchical network architecture, each domain is separately managed using the D controller, and the entire network is managed using the H controller.
为了保证网络的可靠性,每个域的D控制器以及H控制器都可以有主备两个控制器,并且D控制器至少和域内的两台设备有连接(D控制器一般和域内的边界设备相连)。In order to ensure the reliability of the network, the D controller and the H controller of each domain can have two controllers in active and standby, and the D controller is connected to at least two devices in the domain (D controller general and intra-domain boundaries) The device is connected).
本领域普通技术人员可以理解,图2所示采用两层控制器的网络架构仅为示意,其并不对上述网络的结构造成限定。例如,分层控制器可以超过两层,根据网络规模而定。运营商网络还可包括比图3中所示更多或者更少的域(接入域、汇聚域根据实际情况进行划分,并不限定为两个或者两者数目相同或者,而核心域也不限定为两个),或者具有与图2所示不同的网络架构(接入域、汇聚域和对称域左右对不对称,或者划分为与图2不同的域类型)。另外,除了上述D控制器和H控制器以外,其他的可以对单独域内的网络设备进行控制的第一类型控制器以及可以对一个或者多个第一类型控制器进行控制的第二类型控制器,均可以实现对网络进行分层管理目的。It will be understood by those skilled in the art that the network architecture using the two-layer controller shown in FIG. 2 is merely illustrative, and does not limit the structure of the foregoing network. For example, a hierarchical controller can be more than two layers, depending on the size of the network. The carrier network may also include more or less domains than those shown in FIG. 3 (the access domain and the aggregation domain are divided according to actual conditions, and are not limited to two or the same number or both, and the core domain is not It is limited to two), or has a different network architecture than that shown in Figure 2 (access domain, aggregation domain, and symmetric domain left and right asymmetric, or divided into different domain types than Figure 2). In addition, in addition to the D controller and the H controller described above, other types of controllers that can control network devices in separate domains and second type controllers that can control one or more first types of controllers , can achieve the purpose of hierarchical management of the network.
在本实施例中提供了一种运行于上述控制器或网络架构的设备处理方法,图3是根据本发明实施例的设备处理方法的流程图,如图3所示,该流程包括如下步骤:In this embodiment, a device processing method running on the controller or the network architecture is provided. FIG. 3 is a flowchart of a device processing method according to an embodiment of the present invention. As shown in FIG. 3, the process includes the following steps:
步骤S302,确定用于进行业务处理的控制器的控制器类型,其中,所述控制器类型包括:对单独域内的网络设备进行控制的第一类型控制器,对一个或者多个第一类型控制器进行控制的第二类型控制器,单独域为对预定网络的网络架构进行划分获得的域;Step S302, determining a controller type of a controller for performing service processing, where the controller type includes: a first type controller that controls network devices in a separate domain, and controls one or more first types a second type of controller that controls the domain, and the separate domain is a domain obtained by dividing a network architecture of a predetermined network;
步骤S304,根据确定的控制器类型,对预定网络的业务进行处理。Step S304, processing the service of the predetermined network according to the determined controller type.
通过上述步骤,由于使用控制器对网络进行分层管理:采用第一类型控制器对单独域进行控制,第二类型控制器对多个第一类型控制器进行控制,从而控制多个域,并根据控制器类型对网络中的业务进行处理,解决了解决相关技术中存在的运营商网络管理维护和业务部署复杂度高的问题,降低了网络管理维护和业务部署的复杂度。Through the above steps, the network is hierarchically managed by using the controller: the first type controller is used to control the individual domain, and the second type controller controls the plurality of first type controllers to control the multiple domains, and The service of the network is processed according to the controller type, which solves the problem of high complexity of network management and maintenance and service deployment of the carrier in the related technologies, and reduces the complexity of network management and maintenance and service deployment.
可选地,在用于进行业务处理的控制器为第一类型控制器的情况下, 步骤S304还可以包括:通过南向接口收集第一类型控制器控制域内网络设备的原始拓扑信息,原始拓扑信息包括第一类型控制器控制域内网络设备之间的连接信息;根据收集的原始拓扑信息,确定第一类型控制器控制域内网络设备的拓扑信息,根据确定的拓扑信息对预定网络的业务进行处理。Optionally, in the case that the controller for performing business processing is the first type controller, Step S304 may further include: collecting, by the southbound interface, original topology information of the network device in the first type controller control domain, where the original topology information includes connection information between the network devices in the first type controller control domain; and the original topology information according to the collected And determining, by the first type of controller, topology information of the network device in the control domain, and processing the service of the predetermined network according to the determined topology information.
在用于进行业务处理的控制器为第一类型控制器的情况下,即确定的控制器类型为对单独域内的网络设备进行控制的第一类型控制器,该第一类型控制器可以通过SNMP、NETCONFIG、BGP-LS等南向接口收集所控制域内网络设备的原始拓扑信息,这里的原始拓扑信息可以是该第一类型控制器的控制域内节点之间的连接信息。根据收集的原始拓扑信息,可以确定该第一类型控制器控制域内网络设备之间的拓扑信息。由网络设备之间的拓扑信息,可以确定该第一类型控制器控制域内各网络设备之间的连接关系,因此,可以根据确定的该第一类型控制器控制域内网络设备的拓扑信息,对预定网络的业务进行处理。In the case that the controller for performing service processing is the first type controller, that is, the determined controller type is a first type controller that controls network devices in a separate domain, and the first type controller can pass SNMP. The southbound interface, such as NETCONFIG and BGP-LS, collects the original topology information of the network device in the controlled domain. The original topology information here may be the connection information between the nodes in the control domain of the first type controller. Based on the collected original topology information, it may be determined that the first type of controller controls topology information between network devices in the domain. The connection information between the network devices in the control domain of the first type controller may be determined by the topology information between the network devices. Therefore, the topology information of the network devices in the domain may be controlled according to the determined first type controller. The business of the network is processed.
通过本发明实施例的上述技术方案,在用于进行业务处理的控制器为第一类型控制器的情况下,根据收集到的原始拓扑信息确定该第一类型控制器控制域内网络设备的拓扑信息,并根据拓扑对业务进行处理,降低了业务处理的复杂。According to the foregoing technical solution of the embodiment of the present invention, in the case that the controller for performing the service processing is the first type controller, determining the topology information of the network device in the control domain of the first type controller according to the collected original topology information. And processing the business according to the topology, reducing the complexity of business processing.
可选地,根据收集的原始拓扑信息,确定第一类型控制器控制域内网络设备的拓扑信息可以采用多种方式,例如,可以根据原始拓扑信息中网络设备之间的连接关系,建立基于该第一类型控制器控制域内所有设备之间连接关系的拓扑信息。又例如,可以在收集到的原始拓扑信息的基础上,根据设备所设定的角色和设备在网络中所处的位置拓扑进行抽象,保留该第一类型控制器控制域中的边界节点和业务部署的关键节点(如网络中的ACC、AGG、ASBR节点),过滤掉中间节点和/或非关键节点(如P节点),从而确定第一类型控制器控制域内网络设备的拓扑信息。Optionally, determining, according to the collected original topology information, the topology information of the network device in the control domain of the first type of controller may be in multiple manners, for example, according to the connection relationship between the network devices in the original topology information, A type of controller controls the topology information of the connection relationship between all devices in the domain. For example, based on the collected original topology information, the role and the location topology of the device in the network may be abstracted according to the location of the device, and the boundary node and the service in the control domain of the first type controller may be reserved. The key nodes of the deployment (such as ACC, AGG, and ASBR nodes in the network) filter out intermediate nodes and/or non-critical nodes (such as P nodes) to determine the topology information of the network devices in the first type of controller control domain.
对于同一第一类型控制器控制域内包含多个环的情况,可以采用多种 方式确定该第一类型控制器控制域中网络设备的拓扑信息,例如,可以采用前述建立拓扑信息的方式确定拓扑信息,又例如,还可以根据该第一类型控制器所运行的内部网关协议(Interior Gateway Protocol,IGP),对确认的拓扑信息进行子拓扑的划分,划分的子拓扑与该第一类型控制器包括的接入环个数对应。For the case where multiple loops are included in the same first type controller domain, multiple types can be used. The method determines the topology information of the network device in the control domain of the first type of the controller, for example, the topology information may be determined by using the foregoing manner of establishing topology information, and, for example, may also be based on an internal gateway protocol run by the first type of controller ( The Interior Gateway Protocol (IGP) performs sub-topology division on the confirmed topology information, and the divided sub-topology corresponds to the number of access rings included in the first type controller.
通过本发明实施例的上述技术方案,确定第一类型控制器的拓扑信息时,移除原始拓扑信息中连接信息所包含的中间节点信息,降低了拓扑信息的复杂度,提高了业务处理的效率。When the topology information of the first type controller is determined, the information about the intermediate nodes included in the connection information in the original topology information is removed, which reduces the complexity of the topology information and improves the efficiency of the service processing. .
可选地,根据确定的拓扑信息对预定网络的业务进行处理可以采用多种方式,例如,可以根据接收到的第一类型控制器所属的第二类型控制器下发的业务部署信息,以及该第一类型控制器控制域中网络设备的拓扑信息,进行业务部署,进行的业务配置可以包括向该第一类型控制器控制域内业务相关的节点下发相应的边界网关协议(Border Gateway Protocol,BGP)配置;又例如,可以根据确定的拓扑信息,对该第一类型控制器控制域内业务相关节点的添加、更改、删除等。Optionally, the service of the service of the predetermined network may be processed according to the determined topology information, for example, the service deployment information delivered by the second type controller to which the received first type controller belongs, and the The first type of controller controls the topology information of the network device in the domain, and performs service deployment. The service configuration may include delivering a corresponding border gateway protocol (BGP) to the node related to the service in the control domain of the first type of controller. And configuring, for example, adding, changing, deleting, etc., the service-related nodes in the control domain of the first type controller according to the determined topology information.
通过本发明实施例的上述技术方案,第一类型控制器根据所属的第二类型控制器下发的业务部署信息以及该第一类型控制器控制域中网络设备的拓扑信息,进行业务部署,业务部署通过控制器间的交互自动完成,减少了用户的操作,降低了业务部署的复杂度。With the foregoing technical solution of the embodiment of the present invention, the first type of controller performs service deployment and service according to the service deployment information delivered by the controller of the second type of the controller and the topology information of the network device in the domain controller of the first type controller. The deployment is automatically completed through the interaction between controllers, which reduces user operations and reduces the complexity of service deployment.
可选地,在用于进行业务处理的控制器为第二类型控制器的情况下,上述步骤S304还可以包括:接收一个或多个第一类型控制器上报的对应控制域内网络设备的拓扑信息,其中,接收到的拓扑信息包括一个或多个第一类型控制器对应控制域内网络设备之间的连接信息;根据接收到的拓扑信息,确定第二类型控制器控制域内网络设备的总拓扑信息;根据总拓扑信息,对预定网络的业务进行处理。Optionally, in the case that the controller for performing the service processing is the second type of controller, the step S304 may further include: receiving the topology information of the network device in the corresponding control domain reported by the one or more first type controllers. The received topology information includes one or more first type controllers corresponding to the connection information between the network devices in the control domain; and according to the received topology information, determining the total topology information of the network devices in the second type controller control domain The service of the predetermined network is processed according to the total topology information.
第二类型控制器接收其控制的各第一类型控制器上报的对应控制域中网络设备的拓扑信息,并依据接收到的拓扑信息确定其控制域内网络设 备的总拓扑信息,根据确定的总拓扑信息进行预定网络业务的处理。由于第二类型控制器中有其控制域内网络设备的总拓扑信息,因此,业务处理的入口单一,可以只需对第二类型控制器进行操作即可。The second type controller receives the topology information of the network device in the corresponding control domain reported by each first type controller controlled by the controller, and determines the network configuration in the control domain according to the received topology information. The total topology information of the backup device performs processing of the predetermined network service according to the determined total topology information. Since the second type controller has the total topology information of the network devices in its control domain, the service processing entry is single, and only the second type controller can be operated.
通过本发明实施例的上述技术方案,根据第二类型控制器控制域内网络设备的总拓扑信息的进行业务处理,降低了网络管理维护与业务处理的复杂度。According to the foregoing technical solution of the embodiment of the present invention, the service processing of the total topology information of the network device in the domain is controlled according to the second type of controller, which reduces the complexity of network management maintenance and service processing.
可选地,根据收到的拓扑信息,确定第二类型控制器控制域内网络设备的总拓扑信息可以采用多种方式,例如,根据接收到的拓扑信息,分别建立与第一类型控制器对应的子拓扑表,即第一类型控制器与子拓扑表一一对应,根据建立的子拓扑表,建立第二类型控制器控制域内网络设备的总拓扑表,又例如,可以根据接收到的拓扑信息,分别建立与第一类型控制器对应的子拓扑表以及与第二类性控制器对应的总拓扑表。Optionally, determining, according to the received topology information, the total topology information of the network device in the control domain of the second type of controller may be in multiple manners, for example, establishing, according to the received topology information, respectively, corresponding to the first type of controller. The sub-topology table, that is, the first type controller and the sub-topology table are in one-to-one correspondence, and the total topology table of the network devices in the second type controller is controlled according to the established sub-topology table, and, for example, according to the received topology information. And respectively establishing a sub-topology table corresponding to the first type of controller and a total topology table corresponding to the second type of controller.
通过本发明实施例的上述技术方案,根据接收到的拓扑信息建立与第一类型控制器对应的子拓扑表,并根据上述子拓扑表建立第二类型控制器控制域内网络设备的总拓扑表,通过建立层次化的拓扑表,降低了网络管理维护与业务处理的复杂度。According to the foregoing technical solution of the embodiment of the present invention, a sub-topology table corresponding to the first type of controller is established according to the received topology information, and a total topology table of the network device in the second type controller is controlled according to the sub-topology table, By establishing a hierarchical topology table, the complexity of network management maintenance and service processing is reduced.
可选地,根据总拓扑信息,对所预定网络的业务进行处理可以采用多种方式,例如,根据接收的用户配置请求中部署的业务,查询第二类型控制器的总拓扑表,确定一条由源节点至目标节点的路径,根据确定的路径,以及子拓扑表,确定路径上的一个或多个节点所属的第一类型控制器,根据接收的用户配置请求中部署的业务,向确定的一个或多个节点所属的第一类型控制器下发配置信息,进行业务部署。Optionally, according to the total topology information, the service of the predetermined network may be processed in multiple manners, for example, according to the service deployed in the received user configuration request, querying the total topology table of the second type controller, and determining a The path from the source node to the target node determines, according to the determined path and the sub-topology table, the first type of controller to which one or more nodes on the path belong, according to the service deployed in the received user configuration request, to the determined one Or the first type of controller to which multiple nodes belong to deliver configuration information for service deployment.
进行业务部署时,用户的配置请求下发到第二类型控制器上,第二类型控制器根据所部署的业务,查询自己的总拓扑表,计算出一条端到端的路径,并在各个子拓扑表中查出该路径上的每一个节点属于哪个第一类型控制器。获得这些信息之后,把所部署的业务进行分解,下发到各第一类型控制器。如果对业务的可靠性和服务质量有更高要求,可以在算路(计 算路径)时计算出满足要求的多条路径,在此基础上实现业务的主备路径保护或者是流量分担。这里的算路既包括第二类型控制器上的算路,也包括第一类型控制器上的算路。When the service is deployed, the configuration request is sent to the second type controller. The second type controller queries its total topology table based on the deployed services to calculate an end-to-end path and each sub-topology. The table finds which first type of controller each node on the path belongs to. After obtaining the information, the deployed services are decomposed and delivered to each first type of controller. If there are higher requirements on the reliability and service quality of the business, you can calculate the road. When the path is calculated, the multiple paths that meet the requirements are calculated. On this basis, the active/standby path protection of the service or traffic sharing is implemented. The calculations here include both the calculations on the second type of controller and the calculations on the first type of controller.
通过本发明实施例的上述技术方案,根据接收的用户配置请求中部署的业务、第二类型控制器的总拓扑表以及子拓扑表,对业务请求对应的路径进行分解,并下发到对应的第一类型控制器,该技术方案的业务部署入口单一,只需要对第二类型控制器进行操作即可,降低了网络管理维护与业务处理的复杂度。According to the foregoing technical solution of the embodiment of the present invention, the path corresponding to the service request is decomposed according to the service deployed in the received user configuration request, the total topology table of the second type controller, and the sub-topology table, and is delivered to the corresponding The first type of controller has a single service deployment portal, and only needs to operate on the second type of controller, which reduces the complexity of network management maintenance and service processing.
通过使用分层的SDN控制器对拓扑信息进行抽象和子拓扑划分,达到降低网络管理维护和业务部署的复杂度,提高部署业务灵活性的效果。By using a layered SDN controller to abstract and sub-topology topology information, the complexity of network management maintenance and service deployment is reduced, and the flexibility of deploying services is improved.
基于上述实施例及优选实施方式,为说明方案的整个流程交互,在本优选实施例中,提供了一种设备处理方法,在该设备处理方法中,以第一类型控制器以D控制器、第二类型控制器以H控制器为例进行说明。本优选实施例的设备处理方法,通过使用分层的SDN控制器实现拓扑收集,拓扑抽象、子拓扑划分,实现层次化管理,降低了网络管理维护和业务部署的复杂度,提高了部署业务灵活性。Based on the foregoing embodiments and preferred embodiments, in order to explain the entire process interaction of the solution, in the preferred embodiment, a device processing method is provided, in which the first type controller is a D controller, The second type of controller is described by taking an H controller as an example. The device processing method of the preferred embodiment implements topology collection, topology abstraction, and sub-topology division to implement hierarchical management by using a layered SDN controller, which reduces the complexity of network management maintenance and service deployment, and improves deployment service flexibility. Sex.
本优选实施例的设备处理方法,各个D控制器管理各自域内的事务,只存储和管理本域内的拓扑数据。并且各个D控制器还要在所管理的原始拓扑信息的基础上,计算出抽象拓扑,并发送给H控制器。如果D控制器所管理的域内包括多个子网,还可以进一步进行子拓扑的划分;H控制器负责全网事务的处理,存储和管理着整个网络的抽象拓扑,并根据拓扑信息的来源,进行子拓扑划分;全网拓扑收集完毕之后,就可以开始进行业务部署,并由H控制器作为统一的入口。H控制器根据所部署的业务,查询自己的抽象拓扑数据,计算出一条端到端的路径,并查出该路径上的每一个节点属于哪个D控制器,获得这些信息之后,把所部署的业务进行分解,下发到各个D控制器,由各个D控制器负责本域内的业务部署,从而实现全网业务部署。 In the device processing method of the preferred embodiment, each D controller manages transactions in respective domains, and only stores and manages topology data in the local domain. And each D controller also calculates an abstract topology based on the original topology information managed and sends it to the H controller. If the domain managed by the D controller includes multiple subnets, the sub-topology can be further divided; the H controller is responsible for processing the entire network transaction, storing and managing the abstract topology of the entire network, and according to the source of the topology information. Sub-topology division; after the network topology is collected, you can start service deployment and use the H controller as a unified portal. The H controller queries its own abstract topology data according to the deployed service, calculates an end-to-end path, and finds out which D controller each node on the path belongs to. After obtaining the information, the H-deployed service is deployed. Decomposition and delivery to each D controller, each D controller is responsible for the deployment of services within the domain, thus enabling network-wide service deployment.
通过本优选实施例的设备处理方法,业务部署入口单一,只需要对H控制器进行操作即可,降低了业务部署的复杂度。具体业务逻辑,可以在H控制器和D控制器中按照用户需求用软件来灵活地实现,提高了灵活性,甚至可以做到按照用户需求定制。With the device processing method of the preferred embodiment, the service deployment portal is single, and only the H controller needs to be operated, which reduces the complexity of service deployment. The specific business logic can be flexibly implemented by software in the H controller and the D controller according to user requirements, which improves flexibility and can even be customized according to user requirements.
下面结合具体的处理组网结构、控制器的内部结构对本优选实施例的设备处理方法进行说明。The device processing method of the preferred embodiment will be described below in conjunction with a specific processing networking structure and an internal structure of the controller.
图4是根据本发明优选实施例的设备处理方法的控制器的内部总体结构示意图,该控制器可以为D控制器或者H控制器。如图4,该控制器包括南向接口42、拓扑管理模块44、算路模块46、业务部署模块48、北向接口410。下面对该控制器进行说明。4 is a schematic diagram showing the overall internal structure of a controller of a device processing method according to a preferred embodiment of the present invention, which may be a D controller or an H controller. As shown in FIG. 4, the controller includes a southbound interface 42, a topology management module 44, a calculation module 46, a service deployment module 48, and a northbound interface 410. The controller will be described below.
南向接口42,设置为与该控制器管理域(控制域)内的设备进行交互;拓扑管理模块44,与上述南向接口42相连,设置为管理与该控制器管理域的设备有关的拓扑信息;算路模块46,与上述拓扑管理模块44相连,设置为根据业务部署的相关信息进行路径的计算;业务部署模块48,与上述南向接口42以及上述算路模块46,设置为根据用户的业务配置请求和/或上级控制器下发的业务部署信息,进行业务配置相关操作;北向接口410,与上述拓扑管理模块44以及上述业务部署模块48相连,主要设置为完成与用户和/或上级控制器之间的交互。The southbound interface 42 is configured to interact with devices in the controller management domain (control domain); the topology management module 44 is coupled to the southbound interface 42 and configured to manage devices related to devices of the controller management domain The information processing module 46 is connected to the topology management module 44, and is configured to perform path calculation according to related information of the service deployment; the service deployment module 48, the southbound interface 42 and the calculation module 46 are set to be based on the user. The service configuration request and/or the service deployment information sent by the upper controller performs the service configuration related operation; the northbound interface 410 is connected to the topology management module 44 and the service deployment module 48, and is mainly configured to complete with the user and/or The interaction between the superior controllers.
其中,上述拓扑管理模块44还可以完成拓扑收集、拓扑存储、拓扑抽象、子拓扑划分以及拓扑查询等功能。图5是根据本发明优选实施例的设备处理方法的拓扑管理模块44的内部结构示意图。如图5所示,该拓扑管理模块44包括拓扑收集单元52、拓扑存储单元54、拓扑抽象单元56、子拓扑划分单元58、拓扑查询单元510。下面对该拓扑管理模块44进行说明。The topology management module 44 can also perform functions such as topology collection, topology storage, topology abstraction, sub-topology, and topology query. FIG. 5 is a schematic diagram showing the internal structure of a topology management module 44 of a device processing method according to a preferred embodiment of the present invention. As shown in FIG. 5, the topology management module 44 includes a topology collection unit 52, a topology storage unit 54, a topology abstraction unit 56, a sub-topology division unit 58, and a topology query unit 510. The topology management module 44 will be described below.
拓扑收集单元52,设置为收集控制器控制域内网络设备的原始拓扑信息;拓扑存储单元54,与上述拓扑收集单元52相连,设置为存储收集到的原始拓扑信息;拓扑抽象单元56,连接至上述拓扑存储单元54,设置 为根据存储的原始拓扑信息进行拓扑抽象,生成抽象拓扑;子拓扑划分单元58,连接至上述拓扑存储单元54,设置为在控制器管理域内包括多个环时,对存储的原始拓扑信息进行子拓扑划分;拓扑查询单元510,连接至上述拓扑存储单元54,设置为对控制器管理域进行拓扑查询。The topology collection unit 52 is configured to collect original topology information of the network device in the controller control domain; the topology storage unit 54 is connected to the topology collection unit 52, and is configured to store the collected original topology information; the topology abstraction unit 56 is connected to the foregoing Topology storage unit 54, setting The topology is abstracted according to the stored original topology information to generate an abstract topology. The sub-topology dividing unit 58 is connected to the topology storage unit 54 and configured to perform the storage of the original topology information when multiple rings are included in the controller management domain. The topological query unit 510 is connected to the topology storage unit 54 and configured to perform topology query on the controller management domain.
下面结合图2所示的组网结构、图4所示的控制器的内部总体结构以及图5所示的拓扑管理模块44的内部结构对本优选实施例的设备处理方法进行说明。图6是根据本发明优选实施例的设备处理方法的流程图。如图6所示,该流程包括以下步骤:The device processing method of the preferred embodiment will be described below with reference to the networking structure shown in FIG. 2, the internal overall structure of the controller shown in FIG. 4, and the internal structure of the topology management module 44 shown in FIG. 5. 6 is a flow chart of a method of processing a device in accordance with a preferred embodiment of the present invention. As shown in Figure 6, the process includes the following steps:
步骤S602,完成网络的基础配置。Step S602, completing the basic configuration of the network.
完成网络的基本配置主要包括给各个网络设备和设备的各个接口规划并配置对应的IP地址,各个设备之间正确连线,各个域内,IGP路由打通。主要包括给各个网络设备和设备的各个接口分配并配置好IP地址,各个设备之间正确连线,各个域内IGP路由打通。The basic configuration of the network is as follows: The corresponding IP addresses are planned and configured for each interface of each network device and device. The devices are correctly connected to each other and the IGP routes are opened in each domain. It mainly includes assigning and configuring an IP address to each interface of each network device and device, and correctly connecting the devices to each other, and the IGP routes in each domain are opened.
步骤S604,H控制器上添加所管理的D控制器设备,并在H和D之间建立信息传递的通道。In step S604, the managed D controller device is added to the H controller, and a channel for information transmission is established between H and D.
建立的信息传递通道可以为RESTCONF和WEBSOCKET通道。The established information delivery channels can be RESTCONF and WEBSOCKET channels.
步骤S606,在D控制器上添加其所管理的网络设备,给每个设备赋予一个角色,并通过南向接口收集所管理域内的拓扑信息。Step S606, adding the network device managed by the D controller, assigning a role to each device, and collecting topology information in the managed domain through the southbound interface.
D控制器为每个设备赋予的角色可以为ACC、AGG、P、ASBR中的一种。具体为设备赋予的角色可以根据组网时设备所处的位置确定。例如,在图2所示的组网结构中,D1和D5控制器管理的设备包括接入设备ACC,中间设备P,汇聚设备AGG;D2和D4控制器管理的设备包括汇聚设备AGG,中间设备P,自制系统边界设备ASBR;D3控制器管理的设备包括中间设备P,自制系统边界设备ASBR。The role assigned by the D controller to each device may be one of ACC, AGG, P, and ASBR. The role assigned to the device can be determined according to the location of the device when the network is deployed. For example, in the networking structure shown in FIG. 2, the devices managed by the D1 and D5 controllers include the access device ACC, the intermediate device P, and the aggregation device AGG; the devices managed by the D2 and D4 controllers include the aggregation device AGG, and the intermediate device. P, the self-made system boundary device ASBR; the device managed by the D3 controller includes the intermediate device P, and the self-made system boundary device ASBR.
D控制器添加完设备之后,D控制器可以通过SNMP、NETCONFIG、BGP-LS等南向接口42收集所管理域内的原始拓扑信息。这里的原始拓扑信息,主要指所管理域内节点之间的连接信息。比如在D1域中,从ACC1 到AGG1存在一条路径ACC1->P1->AGG1,那么这条路径就对应两条边,即ACC1->P1,P1->AGG1。考虑到路径是有方向的,反过来,从AGG1到ACC1存在一条路径AGG1->P1->ACC1,这条路径对应两条边:AGG1->P1,P1->ACC1。每条边使用源目的设备的名称和源目的接口的IP地址共四个属性作为键值信息。当然,每条边还具有一些其他属性,包括带宽,METRIC值等。After the D controller adds the device, the D controller can collect the original topology information in the managed domain through the southbound interface 42 such as SNMP, NETCONFIG, BGP-LS, and the like. The original topology information here mainly refers to the connection information between nodes in the managed domain. Such as in the D1 domain, from ACC1 A path to AGG1 exists ACC1->P1->AGG1, then this path corresponds to two sides, namely ACC1->P1, P1->AGG1. Considering that the path is directional, conversely, there is a path AGG1 -> P1 -> ACC1 from AGG1 to ACC1. This path corresponds to two sides: AGG1 -> P1, P1 -> ACC1. Each edge uses four attributes of the source device name and the source destination interface IP address as key value information. Of course, each side also has some other attributes, including bandwidth, METRIC values, and so on.
步骤S608,D控制器在所收集的原始拓扑信息基础上,根据设备所设定的角色,对拓扑进行抽象,生成抽象拓扑,并把生成的抽象拓扑上报给H控制器。In step S608, the D controller abstracts the topology according to the role set by the device, generates an abstract topology, and reports the generated abstract topology to the H controller.
在对拓扑进行抽象时,可以根据设备所设定的角色,保留业务关键节点和边界节点,过滤掉中间节点和非关键节点,主要指P节点。When abstracting the topology, the service key nodes and boundary nodes can be reserved according to the roles set by the device, and the intermediate nodes and non-critical nodes are filtered out, mainly referring to the P nodes.
D控制器在所收集的原始拓扑信息基础上,经过拓扑抽象单元56的处理,根据设备所设定的角色和设备在网络中所处的位置,对拓扑进行抽象。保留域中的边界节点和业务部署的关键节点,这里主要指网络中的ACC、AGG、ASBR节点。过滤掉中间节点和非关键节点,主要指P节点。比如步骤S606中的路径ACC1->P1->AGG1,经过抽象处理后,形成的抽象拓扑是ACC1->AGG1。其反向路径AGG1->P1->ACC1经过抽象处理后形成的抽象拓扑是AGG1->ACC1。最终形成如图7所示的抽象拓扑,图中包括了各个D控制器的情况。Based on the collected original topology information, the D controller is processed by the topology abstraction unit 56 to abstract the topology according to the role set by the device and the location of the device in the network. The boundary nodes in the domain and the key nodes of the service deployment are reserved. Here, the ACC, AGG, and ASBR nodes in the network are mainly referred to. Filter out intermediate nodes and non-critical nodes, mainly referring to P nodes. For example, the path ACC1->P1->AGG1 in step S606, after abstract processing, forms an abstract topology of ACC1->AGG1. The abstract topology formed by the abstraction process of its reverse path AGG1->P1->ACC1 is AGG1->ACC1. Finally, an abstract topology as shown in Fig. 7 is formed, which includes the case of each D controller.
拓扑抽象的规则可以是:The rules of topology abstraction can be:
一条抽象拓扑的边,其源设备取对应路径的源设备;其目的设备取对应路径的目的设备;其源IP地址取对应路径的源接口IP地址;其目的IP地址取对应路径的目的接口IP地址;其带宽取对应路径上所有带宽中最小的一个;其METRIC值取对应路径上所有METRIC值之和。An edge of an abstract topology, the source device takes the source device of the corresponding path; the destination device takes the destination device of the corresponding path; the source IP address takes the source interface IP address of the corresponding path; and the destination IP address takes the destination interface IP of the corresponding path. Address; its bandwidth is the smallest of all bandwidths on the corresponding path; its METRIC value is the sum of all METRIC values on the corresponding path.
如果D控制器下的拓扑还可以进一步划分,还可以使用子拓扑划分。如图2所示,D1控制器所管理的域,包括两个接入环,从而可以进一步划分为两个子拓扑,经过子拓扑单元58处理后,划分的子拓扑情况如图8 所示。这以根据D1域中所运行的IGP属于不同的IGP实例,从而进行子拓扑划分。比如,如果使用开放最短路径优先(Open Shortest Path First,OSPF)协议,不同的接入环配置不同的OSPF域;如果使用链路状态路由(Intermediate system to Intermediate system,ISIS)协议,不同的接入环可以配置不同的ISIS system-id等。如果存在此种情况,在执行步骤S402时,需要详细地规划好。不同的环之间,根据业务的不同需要,有可能需要互通,也可能要求不互通。默认是不可以互通的,拓扑需要隔离。If the topology under the D controller can be further divided, sub-topology partitioning can also be used. As shown in FIG. 2, the domain managed by the D1 controller includes two access rings, which can be further divided into two sub-topologies. After being processed by the sub-topology unit 58, the sub-topology of the sub-topology is as shown in FIG. 8. Shown. This is done by sub-topology partitioning according to the IGPs running in the D1 domain belonging to different IGP instances. For example, if you use the Open Shortest Path First (OSPF) protocol, different access rings are configured with different OSPF domains. If you use the Intermediate System to Intermediate System (ISIS) protocol, different accesses are used. The ring can be configured with different ISIS system-ids, and so on. If this is the case, it is necessary to plan in detail when performing step S402. Depending on the needs of the service, different rings may need to communicate with each other or may not require interworking. By default, it is not interoperable, and the topology needs to be isolated.
D控制器把生成的抽象拓扑上报给H控制器,这个可以通过步骤S404中所建立的H控制器和D控制器之间的通道实现。The D controller reports the generated abstract topology to the H controller, which can be implemented by the channel between the H controller and the D controller established in step S404.
当网络拓扑发生变化时,比如节点上下线、接口UP/DOWN,D控制器要能及时响应变化,修改自己的原始拓扑信息,并重新计算抽象拓扑和/或子拓扑,并把最新的计算结果重新上报给H控制器。When the network topology changes, such as the node uplink and downlink, interface UP/DOWN, the D controller should be able to respond to changes in time, modify its original topology information, and recalculate the abstract topology and / or sub-topology, and the latest calculation results Re-report to the H controller.
步骤S6010,H控制器收到各个D控制器上报的拓扑后,形成全网的抽象拓扑,并根据拓扑信息的来源,每个D控制器上报的拓扑划分在一个子拓扑中。Step S6010: After receiving the topology reported by each D controller, the H controller forms an abstract topology of the entire network, and according to the source of the topology information, the topology reported by each D controller is divided into a sub-topology.
H控制器收到各个D控制器上报的拓扑后,形成全网的抽象拓扑,如图9所示。并根据拓扑信息的来源,每个D上报的拓扑划分在一个子拓扑中,如图10所示。图9中实线所示的8条边,即ASBR1->ASBR3、ASBR3->ASBR1、ASBR2->ASBR4、ASBR4->ASBR2、ASBR5->ASBR7、ASBR7->ASBR5、ASBR6->ASBR8、ASBR8->ASBR6,属于自制系统边界之间的连接,可能由于网络部署的原因,对应的拓扑信息不能自动收集。此时控制器需要支持手工录入拓扑信息的功能。After receiving the topology reported by each D controller, the H controller forms an abstract topology of the entire network, as shown in FIG. 9. According to the source of the topology information, the topology reported by each D is divided into a sub-topology, as shown in FIG. The eight sides shown in the solid line in Figure 9 are ASBR1->ASBR3, ASBR3->ASBR1, ASBR2->ASBR4, ASBR4->ASBR2, ASBR5->ASBR7, ASBR7->ASBR5, ASBR6->ASBR8, ASBR8- >ASBR6, which belongs to the connection between the boundaries of the homebrew system. The corresponding topology information may not be collected automatically due to network deployment. At this point, the controller needs to support the function of manually entering topology information.
H控制器可以具备处理D控制器上报的拓扑添加、删除、更新等能力。各个控制器(H控制器和D控制器)可以提供拓扑查询能力。The H controller can have the ability to process topology addition, deletion, and update reported by the D controller. Each controller (H controller and D controller) can provide topology query capabilities.
步骤S6012,用户的配置请求下发到H控制器上,H控制器根据所部署的业务,查询自己的全局抽象拓扑数据,计算出一条端到端的路径,并在各个子拓扑中查出该路径上的每一个节点属于哪个D控制器,把所部署 的业务进行分解,下发到各个D控制器。In step S6012, the configuration request of the user is sent to the H controller, and the H controller queries its own global abstract topology data according to the deployed service, calculates an end-to-end path, and finds the path in each sub-topology. Which D controller belongs to each node, which is deployed The business is decomposed and distributed to each D controller.
业务部署时,H控制器可以根据所部署的业务查询全局抽象拓扑数据以及子拓扑,将所部署的业务进行分解,下发到各个D控制器上。例如,H控制器收到用户的L3VPN业务配置请求后,由业务部署模块48触发算路模块46进行算路,算路模块48查询H控制器自己的抽象拓扑,计算出一条端到端的路径,并在子拓扑中查出该路径上的每一个设备节点属于哪个D控制器。获得到设备节点机对应的D控制器其之后,把所部署的业务进行分解,下发到各个D控制器。例如,从ACC1到ACC4需要部署L3VPN业务,H控制器上计算出的一条端到端的路径是:ACC1<->AGG1<->ASBR1<->ASBR3<->ASBR5<->ASBR7<->AGG3<->ACC4(这里使用<->是指正向和方向的双向路径)。再根据H控制器上的各个子拓扑信息,查询各个节点所在的D控制器,并进行分组。针对这个L3VPN业务,分组信息如下:ACC1和AGG1、AGG1和ASBR1、ASBR1和ASBR3、ASBR3和ASBR5、ASBR5和ASBR7、ASBR7和AGG3、AGG3和ACC4。其中分组ACC1和AGG1、AGG1和ASBR1、ASBR3和ASBR5、ASBR7和AGG3、AGG3和ACC4分别对应D1、D2、D3、D4、D5控制器各自管理的域,这些分组信息将和业务配置信息,分别下发到各个D控制器。而ASBR1和ASBR3、ASBR5和ASBR7这两个分组,属于自制系统边界之间的连接,可以配置EBGP,并且使能SEND-LABLE能力,以实现无缝MPLS业务部署。H控制器可以对此加以识别,并指定相应的D控制器下发相应的BGP配置,这里涉及到D2、D3、D4控制器。During the service deployment, the H controller can query the global abstract topology data and the sub-topology according to the deployed service, and decompose the deployed services to each D controller. For example, after the H controller receives the L3VPN service configuration request from the user, the service deployment module 48 triggers the calculation module 46 to perform the calculation, and the calculation module 48 queries the H controller's own abstract topology to calculate an end-to-end path. And in the sub-topology, it is found out which D controller each device node on the path belongs to. After the D controller corresponding to the device node machine is obtained, the deployed service is decomposed and delivered to each D controller. For example, to configure L3VPN services from ACC1 to ACC4, an end-to-end path calculated on the H controller is: ACC1<->AGG1<->ASBR1<->ASBR3<->ASBR5<->ASBR7<->AGG3 <->ACC4 (<-> here refers to the bidirectional path of the forward and the direction). Then, according to each sub-topology information on the H controller, the D controllers where each node is located are queried and grouped. For this L3VPN service, the packet information is as follows: ACC1 and AGG1, AGG1 and ASBR1, ASBR1 and ASBR3, ASBR3 and ASBR5, ASBR5 and ASBR7, ASBR7 and AGG3, AGG3 and ACC4. The packets ACC1 and AGG1, AGG1 and ASBR1, ASBR3 and ASBR5, ASBR7 and AGG3, AGG3 and ACC4 respectively correspond to the domains managed by the D1, D2, D3, D4, and D5 controllers, and the packet information and service configuration information are respectively Send to each D controller. The ASBR1 and the ASBR3, the ASBR5, and the ASBR7 are connected to each other. The EBGP is configured and the SEND-LABLE capability is enabled to implement seamless MPLS service deployment. The H controller can identify this and specify the corresponding D controller to deliver the corresponding BGP configuration, which refers to the D2, D3, and D4 controllers.
步骤S6014,由各个D控制器负责本域内的业务部署,完成全网业务部署。In step S6014, each D controller is responsible for service deployment in the local area, and completes network-wide service deployment.
各个D控制器收到H控制器下发的业务部署信息后,负责本域内的业务部署。例如,D1控制器收到ACC1和AGG1这个分组信息和L3VPN配置信息,除了需要在接入设备ACC1上配置VPN信息,在ACC1和AGG1之间配置BGP协议,以传递虚拟专用网(VPN Virtual Private Network,VPN)路由信息,还需要查询本地拓扑信息,得到ACC1和AGG1之间的双向路 径ACC1<->P<->AGG1,根据此信息打通域内标签交换路径(Label Switched Path,LSP)路径。比如可以配置双向TUNNEL隧道,也可以使用标记分发协议(Label Distribution Protocol,LDP),两者都可以承载L3VPN业务,视具体业务需求而定。After receiving the service deployment information sent by the H controller, each D controller is responsible for service deployment in the local area. For example, the D1 controller receives the packet information and the L3VPN configuration information of the ACC1 and the AGG1. In addition to configuring the VPN information on the access device ACC1, the BGP protocol is configured between the ACC1 and the AGG1 to deliver the virtual private network (VPN Virtual Private Network). , VPN) routing information, also need to query local topology information to get a two-way road between ACC1 and AGG1 The path ACC1<->P<->AGG1, according to this information, opens the Label Switched Path (LSP) path in the domain. For example, you can configure a bidirectional TUNNEL tunnel or a Label Distribution Protocol (LDP), both of which can carry L3VPN services, depending on specific service requirements.
如果对业务的可靠性和服务质量有更高要求,可以在算路时计算出满足要求的多条路径,在此基础上实现业务的主备路径保护或者是流量分担。这里的算路既包括H控制器上的算路,也包括D控制器上的算路。If the reliability of the service and the quality of service are higher, you can calculate multiple paths that meet the requirements when calculating the route. On this basis, you can implement active/standby path protection or traffic sharing. The calculations here include both the calculations on the H controller and the calculations on the D controller.
对于另外一种业务部署情况,即,业务部署是在同一D控制器控制域的多个环上进行的。例如,在ACC1和ACC3之间部署业务。如图8所示,默认情况下D1控制器下的两个环是不互通的,因此如果配置业务的话,需要把两个环之间的路由打通。当H控制器收到这种业务配置信息后,发现ACC1和ACC3都在D1控制器所管理的域,因此只下发业务部署信息给D1控制器。For another service deployment scenario, that is, the service deployment is performed on multiple rings of the same D controller control domain. For example, deploying services between ACC1 and ACC3. As shown in Figure 8, by default, the two rings in the D1 controller are not interworking. Therefore, if you configure services, you need to clear the routes between the two rings. After the H controller receives the service configuration information, it is found that both the ACC1 and the ACC3 are in the domain managed by the D1 controller. Therefore, only the service deployment information is sent to the D1 controller.
D1控制器收到H下发的配置信息后,先在原始拓扑信息中计算得到一条路径是ACC1<->P1<->AGG1<->P2<->ACC3。再通过查询子拓扑后发现,ACC1和P1属于环1,P2和ACC3属于环2,AGG1属于两个环的边界设备,如图8所示。此时,除了需要在ACC1和AGG1、AGG1和ACC3之间配置BGP分别打通环内路由之外,还需要打通不同环之间的路由,可以使用BGP的团体属性达到这个目的。After receiving the configuration information sent by the H, the D1 controller calculates a path in the original topology information as ACC1<->P1<->AGG1<->P2<->ACC3. After querying the sub-topology, ACC1 and P1 belong to ring 1, and P2 and ACC3 belong to ring 2. AGG1 belongs to the boundary device of the two rings, as shown in Figure 8. In this case, in addition to configuring BGP to open the inbound loop between ACC1 and AGG1, AGG1, and ACC3, you need to open routes between different rings. You can use BGP community attributes to achieve this.
如果对业务的可靠性和服务质量有更高要求,D1控制器可以在算路时计算出满足要求的多条路径,在此基础上实现业务的主备路径保护或者是流量分担。If the reliability of the service and the quality of service are higher, the D1 controller can calculate multiple paths that meet the requirements when calculating the path. On this basis, the active/standby path protection of the service or traffic sharing is implemented.
当所有的D控制器都完成本域内的业务部署之后,端到端的业务即可打通。After all the D controllers complete the service deployment in the domain, the end-to-end service can be opened.
通过上述使用层次化的SDN控制器管理网络,只需对数量很少的SDN控制器进行操作,对H控制器发出业务请求之后,所有的业务部署都将由控制器自动完成,各个控制器可以收集到所需要的网络拓扑信息, 其中,D控制器需要搜集到所管理域的详细拓扑信息,H控制器需要搜集到全网的概要拓扑信息即可。Through the above-mentioned hierarchical SDN controller management network, only a small number of SDN controllers need to be operated. After the service request is sent to the H controller, all service deployments are automatically completed by the controller, and each controller can collect Go to the required network topology information, The D controller needs to collect detailed topology information of the managed domain, and the H controller needs to collect the summary topology information of the entire network.
通过本发明实施例的上述技术方案,根据网络设备在网络中所承担的职责,所处的位置,和实际组网情况,使用SDN控制器对网络拓扑进行抽象和划分,并用SDN控制器进行层次化管理,以及在此基础上实现业务的快速部署,能够有效降低运营商网络管理的复杂度,提高部署业务的效率和灵活性。According to the foregoing technical solution of the embodiment of the present invention, according to the responsibilities, locations, and actual networking conditions of the network device in the network, the SDN controller is used to abstract and divide the network topology, and the SDN controller is used for layering. Management and rapid deployment of services based on this can effectively reduce the complexity of carrier network management and improve the efficiency and flexibility of deploying services.
通过以上的实施方式的描述,本领域的技术人员可以清楚地了解到根据上述实施例的方法可借助软件加必需的通用硬件平台的方式来实现,当然也可以通过硬件,但很多情况下前者是更佳的实施方式。基于这样的理解,本发明的技术方案本质上或者说对现有技术做出贡献的部分可以以软件产品的形式体现出来,该计算机软件产品存储在一个存储介质(如ROM/RAM、磁碟、光盘)中,包括若干指令用以使得一台终端设备(可以是手机,计算机,服务器,或者网络设备等)执行本发明各个实施例所述的方法。Through the description of the above embodiments, those skilled in the art can clearly understand that the method according to the above embodiment can be implemented by means of software plus a necessary general hardware platform, and of course, by hardware, but in many cases, the former is A better implementation. Based on such understanding, the technical solution of the present invention, which is essential or contributes to the prior art, may be embodied in the form of a software product stored in a storage medium (such as ROM/RAM, disk, The optical disc includes a number of instructions for causing a terminal device (which may be a cell phone, a computer, a server, or a network device, etc.) to perform the methods described in various embodiments of the present invention.
实施例2Example 2
在本实施例中还提供了一种设备处理装置,该装置用于实现上述实施例及优选实施方式,已经进行过说明的不再赘述。如以下所使用的,术语“模块”可以实现预定功能的软件和/或硬件的组合。尽管以下实施例所描述的装置较佳地以软件来实现,但是硬件,或者软件和硬件的组合的实现也是可能并被构想的。In the embodiment, a device processing device is also provided, which is used to implement the above-mentioned embodiments and preferred embodiments, and has not been described again. As used below, the term "module" may implement a combination of software and/or hardware of a predetermined function. Although the apparatus described in the following embodiments is preferably implemented in software, hardware, or a combination of software and hardware, is also possible and contemplated.
图11是根据本发明实施例的设备处理装置的结构框图,如图11所示,该装置包括确定模块112、处理模块114,下面对该装置进行说明。FIG. 11 is a structural block diagram of a device processing apparatus according to an embodiment of the present invention. As shown in FIG. 11, the apparatus includes a determining module 112 and a processing module 114, which will be described below.
确定模块112,设置为确定用于进行业务处理的控制器的控制器类型,其中,控制器类型包括:对单独域内的网络设备进行控制的第一类型控制器,对一个或者多个第一类型控制器进行控制的第二类型控制器,单独域为对预定网络的网络架构进行划分获得的域;处理模块114,连接至上述 确定模块112,设置为依据确定的控制器类型,对预定网络的业务进行处理。The determining module 112 is configured to determine a controller type of a controller for performing a business process, wherein the controller type comprises: a first type controller that controls network devices in a separate domain, and one or more first types a second type controller controlled by the controller, the separate domain is a domain obtained by dividing a network architecture of the predetermined network; the processing module 114 is connected to the above The determining module 112 is configured to process the services of the predetermined network according to the determined controller type.
图12是根据本发明实施例的设备处理装置中处理模块114的结构框图一,如图12所示,该处理模块114包括收集单元122、第一确定单元124、第一处理单元126。下面对该处理模块114进行说明。FIG. 12 is a structural block diagram of a processing module 114 in a device processing apparatus according to an embodiment of the present invention. As shown in FIG. 12, the processing module 114 includes a collecting unit 122, a first determining unit 124, and a first processing unit 126. The processing module 114 will be described below.
收集单元122,设置为在用于进行业务处理的控制器为第一类型控制器的情况下,通过南向接口收集第一类型控制器控制域内网络设备的原始拓扑信息,其中,原始拓扑信息包括第一类型控制器控制域内网络设备之间的连接信息;第一确定单元124,连接至上述收集单元122,设置为根据收集的原始拓扑信息,确定第一类型控制器控制域内网络设备的拓扑信息;第一处理单元126,连接至上述第一确定单元124,设置为根据确定的拓扑信息对预定网络的业务进行处理。The collecting unit 122 is configured to collect the original topology information of the network device in the first type controller control domain through the southbound interface, where the controller for performing the service processing is the first type controller, where the original topology information includes The first type of controller controls the connection information between the network devices in the domain; the first determining unit 124 is connected to the collecting unit 122, and is configured to determine, according to the collected original topology information, topology information of the network device in the control domain of the first type controller. The first processing unit 126 is connected to the first determining unit 124, and is configured to process the service of the predetermined network according to the determined topology information.
图13是根据本发明实施例的设备处理装置中第一确定单元124的结构框图,如图13所示,该第一确定单元124包括移除子单元132、保存子单元134。下面对该第一确定单元124进行说明。FIG. 13 is a structural block diagram of a first determining unit 124 in a device processing apparatus according to an embodiment of the present invention. As shown in FIG. 13, the first determining unit 124 includes a removing subunit 132 and a saving subunit 134. The first determining unit 124 will be described below.
移除子单元132,设置为移除连接信息中的中间节点信息;保存子单元134,连接至上述移除子单元132,设置为保存移除中间节点信息后的连接信息,得到第一类型控制器控制域内网络设备的拓扑信息。The removing sub-unit 132 is configured to remove the intermediate node information in the connection information; the saving sub-unit 134 is connected to the removing sub-unit 132, and is configured to save the connection information after removing the information of the intermediate node to obtain the first type of control. Controls the topology information of network devices in the domain.
图14是根据本发明实施例的设备处理装置中第一处理单元126的结构框图,如图14所示,该第一处理单元126包括接收子单元142、部署子单元144。下面对该第一处理单元126进行说明。FIG. 14 is a structural block diagram of a first processing unit 126 in a device processing apparatus according to an embodiment of the present invention. As shown in FIG. 14, the first processing unit 126 includes a receiving subunit 142 and a deployment subunit 144. The first processing unit 126 will be described below.
接收子单元142,设置为接收第一类型控制器所属的第二类型控制器下发的业务部署信息;部署子单元144,连接至上述接收子单元142,设置为根据接收的业务部署信息,以及拓扑信息,进行业务部署。The receiving sub-unit 142 is configured to receive the service deployment information delivered by the second type controller to which the first type of controller belongs; the deployment sub-unit 144 is connected to the receiving sub-unit 142, and is configured to be configured according to the received service, and Topology information for service deployment.
图15是根据本发明实施例的设备处理装置中处理模块114的结构框图二,如图15所示,该处理模块114包括接收单元152、第二确定单元154、第二处理单元156。下面对该处理模块114进行说明。 FIG. 15 is a block diagram showing the structure of the processing module 114 in the device processing apparatus according to the embodiment of the present invention. As shown in FIG. 15, the processing module 114 includes a receiving unit 152, a second determining unit 154, and a second processing unit 156. The processing module 114 will be described below.
接收单元152,设置为在用于进行业务处理的控制器为第二类型控制器的情况下,接收一个或多个第一类型控制器上报的对应控制域内网络设备的拓扑信息,其中,接收到的拓扑信息包括一个或多个第一类型控制器对应控制域内网络设备之间的连接信息;第二确定单元154,连接至上述接收单元152,设置为根据接收到的拓扑信息,确定第二类型控制器控制域内网络设备的总拓扑信息;第二处理单元156,连接至上述第二确定单元154,设置为根据总拓扑信息,对预定网络的业务进行处理。The receiving unit 152 is configured to receive topology information of the network device in the corresponding control domain reported by the one or more first type controllers, where the controller for performing the service processing is the second type controller, where The topology information includes one or more first type controllers corresponding to the connection information between the network devices in the control domain; the second determining unit 154 is connected to the receiving unit 152, and is configured to determine the second type according to the received topology information. The controller controls the total topology information of the network device in the domain; the second processing unit 156 is connected to the second determining unit 154, and is configured to process the service of the predetermined network according to the total topology information.
图16是根据本发明实施例的设备处理装置中第二确定单元154的结构框图,如图16所示,该第二确定单元154包括第一建立子单元162、第二建立子单元164。下面对该第二确定单元154进行说明。FIG. 16 is a structural block diagram of a second determining unit 154 in a device processing apparatus according to an embodiment of the present invention. As shown in FIG. 16, the second determining unit 154 includes a first establishing subunit 162 and a second establishing subunit 164. The second determining unit 154 will be described below.
第一建立子单元162,设置为根据接收到的拓扑信息,分别建立与一个或多个第一类型控制器对应的子拓扑表;第二建立子单元164,连接至上述第一建立子单元162,设置为根据建立的子拓扑表,建立第二类型控制器控制域内网络设备的总拓扑表。The first establishing subunit 162 is configured to respectively establish a sub-topology table corresponding to the one or more first type controllers according to the received topology information; the second establishing subunit 164 is connected to the first establishing subunit 162. And being set to establish a total topology table of network devices in the second type controller control domain according to the established sub-topology table.
图17是根据本发明实施例的设备处理装置中第二处理单元156的结构框图,如图17所示,该第二处理单元156包括第一确定子单元172、第二确定子单元174、下发子单元176。下面对该第二处理单元156进行说明。FIG. 17 is a structural block diagram of a second processing unit 156 in a device processing apparatus according to an embodiment of the present invention. As shown in FIG. 17, the second processing unit 156 includes a first determining subunit 172, a second determining subunit 174, and a lower Hair unit 176. The second processing unit 156 will be described below.
第一确定子单元172,设置为根据接收的用户配置请求中部署的业务,查询第二类型控制器的总拓扑表,确定一条由源节点至目标节点的路径;第二确定子单元174,连接至上述第一确定子单元172,设置为根据确定的路径,以及子拓扑表,确定路径上的一个或多个节点所属的第一类型控制器;下发子单元176,连接至上述第二确定子单元174,设置为根据接收的用户配置请求中部署的业务,向确定的一个或多个节点所属的第一类型控制器下发配置信息,进行业务部署。The first determining sub-unit 172 is configured to query the total topology table of the second type controller according to the service deployed in the received user configuration request, determine a path from the source node to the target node, and determine the second determining sub-unit 174. Up to the first determining subunit 172, configured to determine, according to the determined path, and the sub-topology table, a first type controller to which one or more nodes on the path belong; the sending subunit 176, connected to the second determining The sub-unit 174 is configured to deliver configuration information to the first type controller to which the determined one or more nodes belong according to the service deployed in the received user configuration request, and perform service deployment.
在本实施例中还提供了一种控制器,图18是根据本发明实施例的控制器的结构框图,如图18所示,该控制器包括上述实施例中的设备处理 装置182。A controller is also provided in this embodiment. FIG. 18 is a structural block diagram of a controller according to an embodiment of the present invention. As shown in FIG. 18, the controller includes the device processing in the above embodiment. Device 182.
实施例3Example 3
本发明的实施例还提供了一种存储介质。可选地,在本实施例中,上述存储介质可以被设置为存储用于执行以下步骤的程序代码: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. Determine a controller type of a controller for performing service processing, where the controller type includes: a first type controller that controls network devices in a separate domain, and controls one or more first type controllers a second type of controller, the separate domain is a domain obtained by dividing a network architecture of a predetermined network;
根据确定的控制器类型,对预定网络的业务进行处理。The service of the predetermined network is processed according to the determined controller type.
可选地,存储介质还被设置为存储用于执行以下步骤的程序代码:Optionally, the storage medium is further arranged to store program code for performing the following steps:
在用于进行业务处理的控制器为第一类型控制器的情况下,根据确定的控制器类型,对预定网络的业务进行处理包括:In the case that the controller for performing the service processing is the first type of controller, processing the service of the predetermined network according to the determined controller type includes:
S1,通过南向接口收集第一类型控制器控制域内网络设备的原始拓扑信息,其中,原始拓扑信息包括第一类型控制器控制域内网络设备之间的连接信息;S1, the original topology information of the network device in the control domain of the first type is collected by the southbound interface, where the original topology information includes the connection information between the network devices in the domain of the first type controller;
S2,根据收集的原始拓扑信息,确定第一类型控制器控制域内网络设备的拓扑信息;S2. Determine, according to the collected original topology information, topology information of the network device in the control domain of the first type controller;
S3,根据确定的拓扑信息对预定网络的业务进行处理。S3. Process the service of the predetermined network according to the determined topology information.
可选地,存储介质还被设置为存储用于执行以下步骤的程序代码:Optionally, the storage medium is further arranged to store program code for performing the following steps:
根据收集的原始拓扑信息,确定第一类型控制器控制域内网络设备的拓扑信息包括:The topology information of the network device in the control domain of the first type controller is determined according to the collected original topology information, including:
S1,移除连接信息中的中间节点信息;S1, removing intermediate node information in the connection information;
S2,保存移除中间节点信息后的连接信息,得到第一类型控制器控制域内网络设备的拓扑信息。S2. The connection information after the information of the intermediate node is removed is saved, and the topology information of the network device in the control domain of the first type controller is obtained.
可选地,存储介质还被设置为存储用于执行以下步骤的程序代码: Optionally, the storage medium is further arranged to store program code for performing the following steps:
根据确定的拓扑信息对预定网络的业务进行处理包括:Processing the service of the predetermined network according to the determined topology information includes:
S1,接收第一类型控制器所属的第二类型控制器下发的业务部署信息;S1. Receive service deployment information delivered by a controller of a second type to which the controller of the first type belongs.
S2,根据接收的业务部署信息,以及拓扑信息,进行业务部署。S2: Perform service deployment according to the received service deployment information and topology information.
可选地,存储介质还被设置为存储用于执行以下步骤的程序代码:Optionally, the storage medium is further arranged to store program code for performing the following steps:
在用于进行业务处理的控制器为第二类型控制器的情况下,根据确定的控制器类型,对预定网络的业务进行处理包括:In the case that the controller for performing the service processing is the second type controller, processing the service of the predetermined network according to the determined controller type includes:
S1,接收一个或多个第一类型控制器上报的对应控制域内网络设备的拓扑信息,其中,接收到的拓扑信息包括一个或多个第一类型控制器对应控制域内网络设备之间的连接信息;S1. Receive topology information of a network device in a corresponding control domain reported by one or more controllers of the first type, where the received topology information includes connection information between network devices in the control domain corresponding to one or more first type controllers. ;
S2,根据接收到的拓扑信息,确定第二类型控制器控制域内网络设备的总拓扑信息;S2. Determine, according to the received topology information, total topology information of the network device in the control domain of the second type controller;
S3,根据总拓扑信息,对预定网络的业务进行处理。S3: Process the service of the predetermined network according to the total topology information.
可选地,存储介质还被设置为存储用于执行以下步骤的程序代码:Optionally, the storage medium is further arranged to store program code for performing the following steps:
根据收到的拓扑信息,确定第二类型控制器控制域内网络设备的总拓扑信息包括:The total topology information of the network device in the control domain of the second type controller is determined according to the received topology information, including:
S1,根据接收到的拓扑信息,分别建立与一个或多个第一类型控制器对应的子拓扑表;S1, according to the received topology information, respectively establish a sub-topology table corresponding to one or more first type controllers;
S2,根据建立的子拓扑表,建立第二类型控制器控制域内网络设备的总拓扑表。S2. Establish a total topology table of network devices in the second type controller control domain according to the established sub-topology table.
可选地,存储介质还被设置为存储用于执行以下步骤的程序代码:Optionally, the storage medium is further arranged to store program code for performing the following steps:
根据总拓扑信息,对预定网络的业务进行处理包括:According to the total topology information, processing the services of the predetermined network includes:
S1,根据接收的用户配置请求中部署的业务,查询第二类型控制器的总拓扑表,确定一条由源节点至目标节点的路径;S1. Query a total topology table of the second type controller according to the service deployed in the received user configuration request, and determine a path from the source node to the target node.
S2,根据确定的路径,以及子拓扑表,确定路径上的一个或多个节点所属的第一类型控制器; S2. Determine, according to the determined path, and the sub-topology table, a first type of controller to which one or more nodes on the path belong;
S3,根据接收的用户配置请求中部署的业务,向确定的一个或多个节点所属的第一类型控制器下发配置信息,进行业务部署。S3, according to the service deployed in the received user configuration request, deliver configuration information to the first type controller to which the determined one or more nodes belong, and perform service deployment.
可选地,在本实施例中,上述存储介质可以包括但不限于: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, the controller type of the controller for performing the service processing, where the controller type includes: the network device in the separate domain a first type controller for controlling, a second type controller for controlling one or more first type controllers, and a separate domain is a domain obtained by dividing a network architecture of a predetermined network; according to the determined controller type, The business of the predetermined network is processed.
可选地,在本实施例中,处理器根据存储介质中已存储的程序代码执行:在用于进行业务处理的控制器为第一类型控制器的情况下,根据确定的控制器类型,对预定网络的业务进行处理包括:通过南向接口收集第一类型控制器控制域内网络设备的原始拓扑信息,其中,原始拓扑信息包括第一类型控制器控制域内网络设备之间的连接信息;根据收集的原始拓扑信息,确定第一类型控制器控制域内网络设备的拓扑信息;根据确定的拓扑信息对预定网络的业务进行处理。Optionally, in this embodiment, the processor executes according to the stored program code in the storage medium: in a case where the controller for performing the service processing is the first type controller, according to the determined controller type, The processing of the service of the predetermined network includes: collecting the original topology information of the network device in the control domain of the first type by using the southbound interface, where the original topology information includes the connection information between the network devices in the domain of the first type controller; The original topology information determines the topology information of the network device in the first type controller control domain; and processes the service of the predetermined network according to the determined topology information.
可选地,在本实施例中,处理器根据存储介质中已存储的程序代码执行:根据收集的原始拓扑信息,确定第一类型控制器控制域内网络设备的拓扑信息包括:移除连接信息中的中间节点信息;保存移除中间节点信息后的连接信息,得到第一类型控制器控制域内网络设备的拓扑信息。Optionally, in this embodiment, the processor performs, according to the stored program code in the storage medium, determining, according to the collected original topology information, the topology information of the network device in the control domain of the first type controller, including: removing the connection information. The intermediate node information is saved; the connection information after the information of the intermediate node is removed is saved, and the topology information of the network device in the control domain of the first type controller is obtained.
可选地,在本实施例中,处理器根据存储介质中已存储的程序代码执行:根据确定的拓扑信息对预定网络的业务进行处理包括:接收第一类型控制器所属的第二类型控制器下发的业务部署信息;根据接收的业务部署信息,以及拓扑信息,进行业务部署。 Optionally, in this embodiment, the processor performs, according to the stored program code in the storage medium, processing the service of the predetermined network according to the determined topology information, including: receiving the second type controller to which the first type controller belongs Service deployment information; service deployment based on received service deployment information and topology information.
可选地,在本实施例中,处理器根据存储介质中已存储的程序代码执行:在用于进行业务处理的控制器为第二类型控制器的情况下,根据确定的控制器类型,对预定网络的业务进行处理包括:接收一个或多个第一类型控制器上报的对应控制域内网络设备的拓扑信息,其中,接收到的拓扑信息包括一个或多个第一类型控制器对应控制域内网络设备之间的连接信息;根据接收到的拓扑信息,确定第二类型控制器控制域内网络设备的总拓扑信息;根据总拓扑信息,对预定网络的业务进行处理。Optionally, in this embodiment, the processor executes according to the stored program code in the storage medium: in a case where the controller for performing the service processing is the second type controller, according to the determined controller type, The processing of the service of the predetermined network includes: receiving topology information of the network device in the corresponding control domain reported by the one or more first type controllers, where the received topology information includes one or more networks of the first type controller corresponding to the control domain The connection information between the devices is determined according to the received topology information, and the total topology information of the network devices in the control domain of the second type controller is determined; and the services of the predetermined network are processed according to the total topology information.
可选地,在本实施例中,处理器根据存储介质中已存储的程序代码执行:根据收到的拓扑信息,确定第二类型控制器控制域内网络设备的总拓扑信息包括:根据接收到的拓扑信息,分别建立与一个或多个第一类型控制器对应的子拓扑表;根据建立的子拓扑表,建立第二类型控制器控制域内网络设备的总拓扑表。Optionally, in this embodiment, the processor performs, according to the stored program code in the storage medium, determining, according to the received topology information, that the total topology information of the network device in the control domain of the second type controller comprises: according to the received The topology information is respectively configured to establish a sub-topology table corresponding to one or more first type controllers; and according to the established sub-topology table, a total topology table of network devices in the second type controller control domain is established.
可选地,在本实施例中,处理器根据存储介质中已存储的程序代码执行:根据总拓扑信息,对预定网络的业务进行处理包括:根据接收的用户配置请求中部署的业务,查询第二类型控制器的总拓扑表,确定一条由源节点至目标节点的路径;根据确定的路径,以及子拓扑表,确定路径上的一个或多个节点所属的第一类型控制器;根据接收的用户配置请求中部署的业务,向确定的一个或多个节点所属的第一类型控制器下发配置信息,进行业务部署。Optionally, in this embodiment, the processor performs, according to the stored program code in the storage medium, processing, according to the total topology information, the service of the predetermined network, according to the service deployed in the received user configuration request, querying the first a total topology table of the second type controller, determining a path from the source node to the target node; determining, according to the determined path and the sub-topology table, a first type of controller to which one or more nodes on the path belong; according to the received The service deployed in the user configuration request delivers configuration information to the first type of controller to which the determined one or more nodes belong to perform service deployment.
可选地,本实施例中的具体示例可以参考上述实施例及可选实施方式中所描述的示例,本实施例在此不再赘述。For example, the specific 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.
显然,本领域的技术人员应该明白,上述的本发明的各模块或各步骤可以用通用的计算装置来实现,它们可以集中在单个的计算装置上,或者分布在多个计算装置所组成的网络上,可选地,它们可以用计算装置可执行的程序代码来实现,从而,可以将它们存储在存储装置中由计算装置来执行,并且在某些情况下,可以以不同于此处的顺序执行所示出或描述的步骤,或者将它们分别制作成各个集成电路模块,或者将它们中的多个模 块或步骤制作成单个集成电路模块来实现。这样,本发明不限制于任何特定的硬件和软件结合。It will be apparent to those skilled in the art that the various modules or steps of the present invention described above can be implemented by a general-purpose computing device that can be centralized on a single computing device or distributed across a network of multiple computing devices. Alternatively, they may be implemented by program code executable by the computing device such that they may be stored in the storage device by the computing device and, in some cases, may be different from the order herein. Perform the steps shown or described, or separate them into individual integrated circuit modules, or multiple of them Blocks or steps are made in a single integrated circuit module. Thus, the invention is not limited to any specific combination of hardware and software.
以上所述仅为本发明的优选实施例而已,并不用于限制本发明,对于本领域的技术人员来说,本发明可以有各种更改和变化。凡在本发明的精神和原则之内,所作的任何修改、等同替换、改进等,均应包含在本发明的保护范围之内。The above description is only the preferred embodiment of the present invention, and is not intended to limit the present invention, and various modifications and changes can be made to the present invention. Any modifications, equivalent substitutions, improvements, etc. made within the spirit and scope of the present invention are intended to be included within the scope of the present invention.
工业实用性Industrial applicability
本发明实施例提供的上述技术方案,可以应用于设备处理过程中,由于使用控制器对网络进行分层管理:采用第一类型控制器对单独域进行控制,第二类型控制器对多个第一类型控制器进行控制,从而控制多个域,并根据控制器类型对网络中的业务进行处理,因此,可以解决相关技术中存在的运营商网络管理维护和业务部署复杂度高的问题,达到降低网络管理维护和业务部署的复杂度的效果。 The foregoing technical solution provided by the embodiment of the present invention can be applied to the device processing process, because the controller is used to hierarchically manage the network: the first type controller is used to control the individual domain, and the second type controller is used to control multiple domains. A type of controller performs control to control multiple domains and processes services in the network according to the type of the controller. Therefore, the problem of high complexity of network management and maintenance and service deployment of the carrier in the related technologies can be solved. Reduce the complexity of network management maintenance and business deployment.

Claims (15)

  1. 一种设备处理方法,包括:A device processing method includes:
    确定用于进行业务处理的控制器的控制器类型,其中,所述控制器类型包括:对单独域内的网络设备进行控制的第一类型控制器,对一个或者多个所述第一类型控制器进行控制的第二类型控制器,所述单独域为对预定网络的网络架构进行划分获得的域;Determining a controller type of a controller for performing business processing, wherein the controller type comprises: a first type of controller that controls network devices within a separate domain, and one or more of the first type of controllers a second type of controller for controlling, the separate domain being a domain obtained by dividing a network architecture of a predetermined network;
    根据确定的控制器类型,对所述预定网络的业务进行处理。The service of the predetermined network is processed according to the determined controller type.
  2. 根据权利要求1所述的方法,其中,在所述用于进行业务处理的控制器为第一类型控制器的情况下,根据确定的控制器类型,对所述预定网络的业务进行处理包括:The method according to claim 1, wherein, in the case that the controller for performing service processing is a first type controller, processing the service of the predetermined network according to the determined controller type comprises:
    通过南向接口收集所述第一类型控制器控制域内网络设备的原始拓扑信息,其中,所述原始拓扑信息包括所述第一类型控制器控制域内网络设备之间的连接信息;The original topology information of the network device in the first type controller is controlled by the southbound interface, where the original topology information includes connection information between network devices in the first type controller control domain;
    根据收集的所述原始拓扑信息,确定所述第一类型控制器控制域内网络设备的拓扑信息;Determining, according to the collected original topology information, topology information of the network device in the control domain of the first type of controller;
    根据确定的所述拓扑信息对所述预定网络的业务进行处理。Processing the service of the predetermined network according to the determined topology information.
  3. 根据权利要求2所述的方法,根据收集的所述原始拓扑信息,确定所述第一类型控制器控制域内网络设备的拓扑信息包括:The method according to claim 2, determining the topology information of the network device in the control domain of the first type controller according to the collected original topology information, including:
    移除所述连接信息中的中间节点信息;Removing intermediate node information in the connection information;
    保存移除中间节点信息后的连接信息,得到所述第一类型控制器控制域内网络设备的拓扑信息。The connection information after the information of the intermediate node is removed is saved, and the topology information of the network device in the control domain of the first type controller is obtained.
  4. 根据权利要求2或3所述的方法,其中,根据确定的所述拓扑信息对所述预定网络的业务进行处理包括:The method according to claim 2 or 3, wherein processing the service of the predetermined network according to the determined topology information comprises:
    接收所述第一类型控制器所属的第二类型控制器下发的业务部 署信息;Receiving a service department delivered by a second type controller to which the first type controller belongs Information
    根据接收的所述业务部署信息,以及所述拓扑信息,进行业务部署。Perform service deployment according to the received service deployment information and the topology information.
  5. 根据权利要求1所述的方法,其中,在所述用于进行业务处理的控制器为第二类型控制器的情况下,根据确定的控制器类型,对所述预定网络的业务进行处理包括:The method according to claim 1, wherein, in the case that the controller for performing service processing is a second type controller, processing the service of the predetermined network according to the determined controller type comprises:
    接收一个或多个所述第一类型控制器上报的对应控制域内网络设备的拓扑信息,其中,接收到的所述拓扑信息包括一个或多个所述第一类型控制器对应控制域内网络设备之间的连接信息;Receiving one or more topology information of the network device in the corresponding control domain reported by the first type controller, where the received topology information includes one or more network devices in the control domain corresponding to the first type controller Connection information between;
    根据接收到的所述拓扑信息,确定所述第二类型控制器控制域内网络设备的总拓扑信息;Determining, according to the received topology information, total topology information of the network device in the second type controller control domain;
    根据所述总拓扑信息,对所述预定网络的业务进行处理。Processing the service of the predetermined network according to the total topology information.
  6. 根据权利要求5所述的方法,其中,根据收到的所述拓扑信息,确定所述第二类型控制器控制域内网络设备的总拓扑信息包括:The method according to claim 5, wherein determining the total topology information of the network device in the control domain of the second type controller according to the received topology information comprises:
    根据接收到的所述拓扑信息,分别建立与一个或多个所述第一类型控制器对应的子拓扑表;Establishing, according to the received topology information, a sub-topology table corresponding to one or more of the first type controllers;
    根据建立的所述子拓扑表,建立所述第二类型控制器控制域内网络设备的总拓扑表。And establishing, according to the established sub-topology table, a total topology table of network devices in the second type controller control domain.
  7. 根据权利要求6所述的方法,其中,根据所述总拓扑信息,对所述预定网络的业务进行处理包括:The method according to claim 6, wherein processing the service of the predetermined network according to the total topology information comprises:
    根据接收的用户配置请求中部署的业务,查询所述第二类型控制器的总拓扑表,确定一条由源节点至目标节点的路径; Querying a total topology table of the second type controller according to the service deployed in the received user configuration request, and determining a path from the source node to the target node;
    根据确定的所述路径,以及所述子拓扑表,确定所述路径上的一个或多个节点所属的第一类型控制器;Determining, according to the determined path, and the sub-topology table, a first type of controller to which one or more nodes on the path belong;
    根据接收的所述用户配置请求中部署的业务,向确定的所述一个或多个节点所属的第一类型控制器下发配置信息,进行业务部署。The configuration information is delivered to the first type controller to which the one or more nodes belong to perform service deployment according to the received service in the user configuration request.
  8. 一种设备处理装置,包括:A device processing device comprising:
    确定模块,设置为确定用于进行业务处理的控制器的控制器类型,其中,所述控制器类型包括:对单独域内的网络设备进行控制的第一类型控制器,对一个或者多个所述第一类型控制器进行控制的第二类型控制器,所述单独域为对预定网络的网络架构进行划分获得的域;a determining module, configured to determine a controller type of a controller for performing a business process, wherein the controller type comprises: a first type of controller that controls network devices within a separate domain, for one or more of a second type of controller that is controlled by the first type of controller, where the separate domain is a domain obtained by dividing a network architecture of a predetermined network;
    处理模块,设置为依据确定的控制器类型,对所述预定网络的业务进行处理。The processing module is configured to process the service of the predetermined network according to the determined controller type.
  9. 根据权利要求8所述的装置,其中,所述处理模块包括:The apparatus of claim 8 wherein said processing module comprises:
    收集单元,设置为在所述用于进行业务处理的控制器为第一类型控制器的情况下,通过南向接口收集所述第一类型控制器控制域内网络设备的原始拓扑信息,其中,所述原始拓扑信息包括所述第一类型控制器控制域内网络设备之间的连接信息;a collecting unit, configured to collect original topology information of the network device in the control domain of the first type controller by using a southbound interface, where the controller for performing the service processing is the first type of controller, where The original topology information includes connection information between network devices in the first type controller control domain;
    第一确定单元,设置为根据收集的所述原始拓扑信息,确定所述第一类型控制器控制域内网络设备的拓扑信息;a first determining unit, configured to determine topology information of the network device in the control domain of the first type controller according to the collected original topology information;
    第一处理单元,设置为根据确定的所述拓扑信息对所述预定网络的业务进行处理。The first processing unit is configured to process the service of the predetermined network according to the determined topology information.
  10. 根据权利要求9所述的装置,其中,所述第一确定单元包括:The apparatus of claim 9, wherein the first determining unit comprises:
    移除子单元,设置为移除所述连接信息中的中间节点信息;Removing the subunit, and setting to remove the intermediate node information in the connection information;
    保存子单元,设置为保存移除中间节点信息后的连接信息,得到 所述第一类型控制器控制域内网络设备的拓扑信息。Save the subunit, set to save the connection information after removing the information of the intermediate node, and get The first type of controller controls topology information of network devices in the domain.
  11. 根据权利要求9或10所述的装置,其中,所述第一处理单元包括:The apparatus of claim 9 or 10, wherein the first processing unit comprises:
    接收子单元,设置为接收所述第一类型控制器所属的第二类型控制器下发的业务部署信息;a receiving subunit, configured to receive service deployment information delivered by a controller of a second type to which the first type of controller belongs;
    部署子单元,设置为根据接收的所述业务部署信息,以及所述拓扑信息,进行业务部署。The deployment sub-unit is configured to perform service deployment according to the received service deployment information and the topology information.
  12. 根据权利要求8所述的装置,其中,所述处理模块包括:The apparatus of claim 8 wherein said processing module comprises:
    接收单元,设置为在所述用于进行业务处理的控制器为第二类型控制器的情况下,接收一个或多个所述第一类型控制器上报的对应控制域内网络设备的拓扑信息,其中,接收到的所述拓扑信息包括一个或多个所述第一类型控制器对应控制域内网络设备之间的连接信息;a receiving unit, configured to: when the controller for performing the service processing is a second type of controller, receive one or more topology information of the network device in the corresponding control domain reported by the first type controller, where The received topology information includes one or more connection information between the network devices in the control domain corresponding to the first type of controllers;
    第二确定单元,设置为根据接收到的所述拓扑信息,确定所述第二类型控制器控制域内网络设备的总拓扑信息;a second determining unit, configured to determine, according to the received topology information, total topology information of the network device in the second type controller control domain;
    第二处理单元,设置为根据所述总拓扑信息,对所述预定网络的业务进行处理。The second processing unit is configured to process the service of the predetermined network according to the total topology information.
  13. 根据权利要求12所述的装置,其中,所述第二确定单元包括:The apparatus of claim 12, wherein the second determining unit comprises:
    第一建立子单元,设置为根据接收到的所述拓扑信息,分别建立与一个或多个所述第一类型控制器对应的子拓扑表;a first establishing subunit, configured to respectively establish a sub-topology table corresponding to one or more of the first type controllers according to the received topology information;
    第二建立子单元,设置为根据建立的所述子拓扑表,建立所述第二类型控制器控制域内网络设备的总拓扑表。 And a second establishing subunit, configured to establish, according to the established sub-topology table, a total topology table of network devices in the second type controller control domain.
  14. 根据权利要求13所述的装置,其中,所述第二处理单元包括:The apparatus of claim 13 wherein said second processing unit comprises:
    第一确定子单元,设置为根据接收的用户配置请求中部署的业务,查询所述第二类型控制器的总拓扑表,确定一条由源节点至目标节点的路径;a first determining subunit, configured to query a total topology table of the second type controller according to the service deployed in the received user configuration request, and determine a path from the source node to the target node;
    第二确定子单元,设置为根据确定的所述路径,以及所述子拓扑表,确定所述路径上的一个或多个节点所属的第一类型控制器;a second determining subunit, configured to determine, according to the determined path, and the sub-topology table, a first type of controller to which one or more nodes on the path belong;
    下发子单元,设置为根据接收的所述用户配置请求中部署的业务,向确定的所述一个或多个节点所属的第一类型控制器下发配置信息,进行业务部署。And sending a sub-unit, configured to deliver configuration information to the first type controller corresponding to the one or more nodes to perform service deployment according to the service deployed in the received user configuration request.
  15. 一种控制器,包括权利要求8至14任一项所述的装置。 A controller comprising the apparatus of any one of claims 8 to 14.
PCT/CN2017/076492 2016-05-31 2017-03-13 Apparatus management method, device, and controller WO2017206565A1 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201610378527.7 2016-05-31
CN201610378527.7A CN107453887A (en) 2016-05-31 2016-05-31 Equipment processing method, device and controller

Publications (1)

Publication Number Publication Date
WO2017206565A1 true WO2017206565A1 (en) 2017-12-07

Family

ID=60478453

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2017/076492 WO2017206565A1 (en) 2016-05-31 2017-03-13 Apparatus management method, device, and controller

Country Status (2)

Country Link
CN (1) CN107453887A (en)
WO (1) WO2017206565A1 (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113778620A (en) * 2021-08-12 2021-12-10 桂林电子科技大学 Large-scale cluster storage system architecture based on cooperation of multiple SDN controllers and software and hardware
CN115297157A (en) * 2022-08-01 2022-11-04 中国电信股份有限公司 Service processing method, device, system, medium and electronic equipment

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20130333029A1 (en) * 2012-06-11 2013-12-12 Radware, Ltd. Techniques for traffic diversion in software defined networks for mitigating denial of service attacks
CN104065585A (en) * 2014-07-16 2014-09-24 福州大学 Method for dynamically adjusting load of controller in software-defined network
CN105099995A (en) * 2014-04-29 2015-11-25 华为技术有限公司 SDN network system, controller and control method
CN105337904A (en) * 2014-08-05 2016-02-17 杭州华三通信技术有限公司 Controller cluster upgrading method and device

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20130333029A1 (en) * 2012-06-11 2013-12-12 Radware, Ltd. Techniques for traffic diversion in software defined networks for mitigating denial of service attacks
CN105099995A (en) * 2014-04-29 2015-11-25 华为技术有限公司 SDN network system, controller and control method
CN104065585A (en) * 2014-07-16 2014-09-24 福州大学 Method for dynamically adjusting load of controller in software-defined network
CN105337904A (en) * 2014-08-05 2016-02-17 杭州华三通信技术有限公司 Controller cluster upgrading method and device

Also Published As

Publication number Publication date
CN107453887A (en) 2017-12-08

Similar Documents

Publication Publication Date Title
US11368862B2 (en) Point-to-multipoint or multipoint-to-multipoint mesh self-organized network over WIGIG standards with new MAC layer
US10757008B2 (en) Flow specification protocol-based communications method, device, and system
CN105577502B (en) Service transmission method and device
CN109660442B (en) Method and device for multicast replication in Overlay network
CN111130980B (en) Method and apparatus for implementing a combined virtual private network VPN
CN107634842A (en) Method for discovering network topology and device
CN107733795B (en) Ethernet virtual private network EVPN and public network intercommunication method and device
CN107592270A (en) The treating method and apparatus and system of FlowSpec message
US10708083B2 (en) Traffic engineering service mapping
CN107800623A (en) Heterogeneous network communication method and system and SDN controllers
US11716250B2 (en) Network scale emulator
CN107959611B (en) Method, device and system for forwarding message
WO2017206565A1 (en) Apparatus management method, device, and controller
CN111682968B (en) Network access management method and system for communication equipment
US20190334814A1 (en) Path establishment method and device, and network node
US11824763B2 (en) Filtering topologies for path computation in massively scaled networks
CN107295038B (en) Method and device for establishing interface group
CN108173771B (en) Management method, device and system of communication equipment
Bano et al. A comparative analysis of hybrid routing schemes for SDN based wireless mesh networks
US11252085B2 (en) Link resource transmission method and apparatus
CN109688062A (en) A kind of method for routing and routing device
CN105991436B (en) Transmission processing method and device for end-to-end service

Legal Events

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

Ref country code: DE

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

Ref document number: 17805510

Country of ref document: EP

Kind code of ref document: A1

122 Ep: pct application non-entry in european phase

Ref document number: 17805510

Country of ref document: EP

Kind code of ref document: A1