WO2016177049A1 - Method and device for achieving capacity expansion and reduction of access apparatus - Google Patents

Method and device for achieving capacity expansion and reduction of access apparatus Download PDF

Info

Publication number
WO2016177049A1
WO2016177049A1 PCT/CN2016/075231 CN2016075231W WO2016177049A1 WO 2016177049 A1 WO2016177049 A1 WO 2016177049A1 CN 2016075231 W CN2016075231 W CN 2016075231W WO 2016177049 A1 WO2016177049 A1 WO 2016177049A1
Authority
WO
WIPO (PCT)
Prior art keywords
access device
expansion
member information
network
contraction
Prior art date
Application number
PCT/CN2016/075231
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 WO2016177049A1 publication Critical patent/WO2016177049A1/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/06Management of faults, events, alarms or notifications
    • 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
    • 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/08Configuration management of networks or network elements
    • H04L41/0803Configuration setting
    • H04L41/0813Configuration setting characterised by the conditions triggering a change of settings
    • 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
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L45/00Routing or path finding of packets in data switching networks
    • H04L45/02Topology update or discovery

Definitions

  • This document relates to, but is not limited to, the field of network application technologies, and in particular, to a method and apparatus for implementing expansion and contraction of an access device.
  • IPRAN/PTN IP Radio Access Network/Packet Transport Network
  • the network of the IPRAN/PTN includes an aggregation device, an access device, and a core device.
  • a typical network of IPRAN/PTN is shown, including two B devices (aggregation devices), and several A devices (access devices) form an access layer network.
  • a core aggregation layer network where the B device is connected to the C device (core device).
  • the access layer network involves three levels of management of tunnel/pseudowire (PW)/service (Service), and also includes three levels of operation and maintenance management OAM and quality of service QoS configuration.
  • PW tunnel/pseudowire
  • Service service
  • FIG. 2A shows that a new node, that is, a new access device, needs to be added between the A device and the B device.
  • 2B simply indicates the management operations that maintenance personnel need to plan and configure, such as interface address, IGP protocol, tunnel, OAM, and other basic configurations.
  • the above-mentioned planning and configuration management operations increase the maintenance difficulty and cost of the network, and put forward high requirements for the maintenance personnel's professional capabilities. If the maintenance personnel are not very understanding and familiar with the planning and configuration management operations, it will cause maintenance. The working time is extended.
  • the embodiment of the invention provides a method and a device for realizing the expansion and contraction of an access device, which can automatically complete the operation of updating the VR information in the process of expanding and contracting, configuring the node for expanding and contracting, and the like, thereby reducing network maintenance. Difficulty and cost.
  • the embodiment of the invention provides a method for implementing expansion and contraction of an access device, and the method includes:
  • the virtual router VR information is updated according to the expansion and contraction change
  • the corresponding configuration is performed on the access device corresponding to the expansion and contraction change.
  • the detecting whether the physical topology of the network has undergone expansion and contraction changes comprises at least one of the following manners:
  • a device-related alarm is generated according to the device Trap message, and the physical topology of the network is updated by analyzing the device-related alarms, and the physical topology of the network is updated to know whether the physical topology of the network has undergone expansion and contraction changes.
  • the updating of the VR information according to the expansion and contraction change includes: when the expansion and contraction changes to a capacity change, according to the newly added first
  • the access device confirms that all member information in the VR needs to be added, and updates the member information of the VR according to all the member information.
  • the updating, according to the newly added first access device, all member information that needs to be added to the VR, and updating the member information of the VR according to the all member information includes:
  • the confirmation needs to join all member information in the first VR, and will need to join Adding the access device of the first VR to the list of added updates includes:
  • the method before the updating the member information of the first VR according to the added update list, the method further includes:
  • Performing the corresponding configuration on the access device corresponding to the expansion and contraction change includes:
  • Performing a service management configuration on the access device in the added update list where the service management configuration includes creating a tunnel, operating maintenance management OAM, and quality of service QoS configuration.
  • updating the VR information according to the expansion and contraction change includes: when the expansion and contraction change is a contraction change, according to the deleted.
  • the five access devices confirm all the member information that needs to be deleted from the VR, and update the member information of the VR according to the all member information.
  • the determining, by the fifth access device that is deleted, all the member information that needs to be deleted from the VR, and updating the member information of the VR according to the all member information includes:
  • the confirming needs all member information deleted from the second VR, and adding the access device that needs to be deleted from the second VR to the delete update list includes:
  • each sixth access device is detected, if a sixth access device And the second VR that belongs to the fifth access device, and only the fifth access device can reach the aggregation update device by using the fifth access device, and adding the sixth access device to the deletion update list.
  • the neighboring node of each sixth access device if the access device corresponding to one neighboring node belongs to the second VR corresponding to the fifth access device, and only through the fifth access device
  • the aggregation device of the network adds the access device corresponding to the neighbor node to the deletion update list, and repeats the process until all nodes in the network are traversed.
  • the method before the updating the member information of the second VR according to the deletion update list, the method further includes:
  • Performing the corresponding configuration on the access device corresponding to the expansion and contraction change includes:
  • An embodiment of the present invention provides an apparatus for implementing expansion and contraction of an access device, where the apparatus includes:
  • the topology execution unit is configured to detect whether the physical topology of the network changes in expansion or contraction
  • a data calculation unit configured to: when detecting a change in the physical topology of the network, update the virtual router VR information according to the expansion and contraction change;
  • the service management unit is configured to perform a corresponding configuration on the access device corresponding to the expansion and contraction change.
  • the topology execution unit includes at least one of the following modules:
  • the first topology module is configured to periodically scan the topology information to learn whether the physical topology of the network changes.
  • the second topology module is configured to update the physical topology of the network by analyzing the device-related alarms according to the device-related alarms generated by the device trap message, and adopt the physical topology of the network.
  • the update knows whether the physical topology of the network has undergone expansion and contraction changes.
  • the data calculation unit includes: a capacity expansion module, configured to: when the expansion and contraction change is changed to a capacity change, confirm, according to the newly added first access device, all member information that needs to be added to the VR, and according to the all The member information updates the member information of the VR.
  • a capacity expansion module configured to: when the expansion and contraction change is changed to a capacity change, confirm, according to the newly added first access device, all member information that needs to be added to the VR, and according to the all The member information updates the member information of the VR.
  • the expansion module includes:
  • the first VR acquisition sub-module is configured to acquire a second access device directly connected to the newly added first access device, and obtain a first VR corresponding to the second access device;
  • the capacity expansion VR update submodule is configured to update the member information of the first VR correspondingly according to the added update list.
  • the add update list submodule is set to:
  • the expansion module further includes: a capacity expansion service switching sub-module, configured to detect whether the service path of the first VR is affected by the expansion, and when the service path is affected, the service path of the first VR is Switch to another path;
  • a capacity expansion service switching sub-module configured to detect whether the service path of the first VR is affected by the expansion, and when the service path is affected, the service path of the first VR is Switch to another path;
  • the service management unit is configured to perform service management configuration on the access device in the added update list, where the service management configuration includes creating a tunnel, operating maintenance management OAM, and quality of service QoS configuration.
  • the data calculation unit includes:
  • the volume reduction module is configured to: when the expansion and contraction changes to a contraction change, confirm, according to the deleted fifth access device, all member information that needs to be deleted from the VR, and update the member information of the VR according to the all member information.
  • the volume reduction module includes:
  • timer sub-module set to set a timer
  • Deleting an update list sub-module setting to confirm all member information that needs to be deleted from the second VR corresponding to the fifth access device, and adding an access device that needs to be deleted from the second VR to the delete update list in;
  • the VR update sub-module is configured to delete the information of the access device in the delete update list in the second VR when the timer expires or when receiving the confirmation command, and update the update list according to the deletion Correspondingly updating the member information of the second VR.
  • the delete update list submodule is set to:
  • each sixth access device is detected, if a sixth access device And the second VR that belongs to the fifth access device, and only the fifth access device can reach the aggregation update device by using the fifth access device, and adding the sixth access device to the deletion update list.
  • the neighboring node of each sixth access device if the access device corresponding to one neighboring node belongs to the second VR corresponding to the fifth access device, and only through the fifth access device
  • the aggregation device of the network adds the access device corresponding to the neighbor node to the deletion update list, and repeats the process until all nodes in the network are traversed.
  • the volume reduction module further includes:
  • the service switching sub-module is configured to detect whether the service path of the second VR corresponding to the fifth access device is affected by the shrinkage. When the service path is affected, the service path of the second VR is switched to another path;
  • the service management unit is configured to clear the tunnel on each access device and the OAM configuration for the access device in the delete update list.
  • the embodiment of the invention further provides a computer storage medium, wherein the computer storage medium stores computer executable instructions, and the computer executable instructions are used in the above method.
  • the technical solution provided by the embodiment of the present invention includes: detecting whether a physical topology of the network has undergone expansion and contraction change; and when detecting that the physical topology of the network is changed by the expansion and contraction, according to the expansion and contraction change Update of the VR information; perform corresponding configuration on the node corresponding to the expansion and contraction change.
  • the solution of the embodiment of the present invention can automatically complete the operation of configuring the expansion and contraction of the VR information in the expansion and contraction process, thereby reducing the service capability of the maintenance personnel and reducing the difficulty of network maintenance. cost.
  • FIG. 1 is a schematic diagram of a common IPRAN/PTN network in the related art
  • 2A is a schematic diagram of adding a new node to a network in the related art
  • FIG. 2B is a schematic diagram of management operations that need to be planned and configured by maintenance personnel in the update of FIG. 2A;
  • FIG. 3 is a schematic diagram of an IPRAN/PTN SDN network
  • FIG. 4 is a schematic diagram of a VR in a network
  • FIG. 5A is a schematic diagram of a method for implementing expansion and contraction of an access device according to an embodiment of the present invention.
  • FIG. 5B is a schematic diagram of step 210 in a method for implementing expansion and contraction of an access device according to an embodiment of the present invention
  • 5C is a schematic diagram of step 220 in a method for implementing expansion and contraction of an access device according to an embodiment of the present invention
  • FIG. 6A is a schematic diagram of network composition of Embodiments 1 and 3 of the present invention.
  • FIG. 6B is a schematic diagram of a network component according to Embodiment 2 of the present invention.
  • 6C is a schematic structural diagram of a network according to Embodiment 4 of the present invention.
  • FIG. 7 is a schematic structural diagram of an apparatus for implementing expansion and contraction of an access device according to an embodiment of the present disclosure
  • FIG. 8 is a schematic diagram of a network management system in an access device expansion and contraction device presented to a user according to an embodiment of the present invention.
  • the embodiment of the invention provides a method and a device for realizing the expansion and contraction of an access device, in particular, a method and device for expanding and shrinking an IPRAN/PTN access device based on SDN (SOFT DEFINED NETWORK).
  • the IPRAN/PTN SDN network is briefly introduced.
  • the network in the embodiment of the present invention refers to an IPRAN/PTN SDN network, or an IPRAN/PTN network.
  • IPRAN/PTN SDN network Compared with the traditional IPRAN/PTN network, the SDN network-based switch or router only has the logic of the forwarding plane (data plane), mainly based on the logic of the controller to complete the forwarding, through the Openflow protocol (or other The protocol implements interworking with the SDN controller in the embodiment of the present invention, as shown in FIG. 3, which is a schematic diagram of an IPRAN/PTN SDN network.
  • data plane data plane
  • Openflow protocol or other The protocol implements interworking with the SDN controller in the embodiment of the present invention, as shown in FIG. 3, which is a schematic diagram of an IPRAN/PTN SDN network.
  • the SDN controller (Controller) communicates with the access layer network SDN switch through the Openflow protocol (or other protocol), and manages the access layer network device service information by establishing a number of virtual routers VR (Virtual ROUTER).
  • Each VR includes at least one or two B devices and a plurality of A devices, as shown in FIG. 4, which is a schematic diagram of the VR.
  • the SDN controller is responsible for automatically calculating the device topology and the service data forwarding control information, and updating the maintenance topology and the service data information in real time, and pushing the change to the access device according to the embodiment of the present invention by using the websocket method (or other means). In the device.
  • IPRAN/PTN access layer network topology information With IPRAN/PTN access layer network topology information, it can provide topology information to other systems including SDN controllers.
  • the apparatus for implementing the expansion and contraction of the access device may create a virtual router by using an application layer protocol to invoke the controller interface, or when performing the expansion instruction, the required device information may be provided by other management systems, where other A management system is a system that has topology data for the network, so the management system is optional.
  • an embodiment of the present invention provides a method for implementing expansion and contraction of an access device, where The method is applied to implement an access device expansion and contraction device, and the device includes: a server, a PC, or a virtual machine VM. As shown in FIG. 5A, the method includes:
  • step 100 it is detected whether the physical topology of the network has undergone expansion and contraction changes.
  • step 100 the detecting whether the physical topology of the network has undergone expansion and contraction changes includes at least one of the following manners:
  • the topology data changes are detected by the proprietary protocol, and the change of the topology data is used to know whether the physical topology of the network has undergone expansion and contraction changes.
  • the timing polling topology change can be implemented by two methods. One is: the SDN controller sends an LLDP packet to the device through the Openflow packout, and the device sends the packet to the neighboring device, and the neighboring device transmits the packet to the SDN controller through the packet, and so on.
  • the LLDP neighbors and links of the entire topology are detected, and the topology data of the network is obtained through the foregoing detection process.
  • the other is that the SDN controller polls the LLDP neighbors of the device through the LLDP protocol, discovers a neighbor, and continues to look up the neighbors of the neighbor until the neighbors have no neighbor discovery, and obtains the topology data of the network through the polling process. .
  • the timing polling topology change in the embodiment of the present invention can be implemented by an SDN controller.
  • step 200 when it is detected that the physical topology of the network has undergone expansion and contraction change, the VR information is updated according to the expansion and contraction change.
  • Step 200 includes:
  • Step 210 When the expansion and contraction changes to a capacity change, the VR information is updated according to the newly added first access device.
  • Step 220 When the expansion and contraction changes to a contraction change, the VR information is updated according to the deleted fifth access device.
  • the physical topology detection may be performed according to the expansion and contraction instruction sent by the user or the port change of the access device, and the physical topology of the network is detected.
  • the service protection path is automatically switched, the VR member information is automatically changed, and the original service topology and traffic forwarding path are changed.
  • step 210 when the expansion and contraction change is changed to a capacity change,
  • the update of the VR information by the first access device includes:
  • Step 211 Obtain a second access device that is directly connected to the newly added first access device, where the second access device is an existing access device in the network.
  • Step 212 Acquire a first VR corresponding to the second access device.
  • Step 213 Confirm that all member information in the first VR needs to be added, and add the access device that needs to join the first VR to the added update list.
  • Step 213 includes:
  • Step 2131 Confirm whether the first access device is added to the first VR, and if yes, add the first access device to the add update list, and if no, end the process.
  • Step 2131 includes: detecting whether the first access device corresponds to one VR in the network, and if yes, ending the process, and if not, adding the first access device to the first VR.
  • step 2132 it is confirmed whether one or more third access devices directly connected to the first access device are added to the first VR, and the neighbor nodes of the third access device are continuously determined until all network nodes are traversed, and the network access node needs to join.
  • the access device is added to the list of added updates.
  • one or more third access devices directly connected to the newly added first access device are obtained; wherein the third access device is not an existing access device in the network;
  • each third access device corresponds to one VR, and there is no corresponding VR
  • the third access device joins the add update list, and after detecting all the third access devices, continues to determine the neighbor node of the third access device, and if the neighbor node of the third access device does not correspond to a VR, The neighbor node joins the add update list and repeats the above process until all nodes in the network are traversed.
  • step 214 it is detected whether the service path of the first VR is affected by the expansion. When the service path is affected, the service path of the first VR is switched to another path. Step 214 can also be placed after step 212.
  • Step 215 Update the member information of the first VR according to the added update list. That is, storing information of the access device in the update list in the first VR,
  • the embodiment of the present invention provides a schematic diagram of step 220 in the method for implementing the expansion and contraction of the access device.
  • step 220 when the expansion and contraction change is changed to a volume change, according to the deletion.
  • the fifth update device that performs the update of the VR information includes:
  • step 221 a timer is set.
  • Step 222 It is detected whether the service path of the second VR corresponding to the fifth access device is affected by the shrinkage. When the service path is affected, the service path of the second VR is switched to another path. This step can also be placed after step 223 and before step 224.
  • Step 223, confirm all the member information that needs to be deleted from the second VR, and add the access device that needs to be deleted from the second VR to the delete update list.
  • Step 2231 Add the fifth access device to the delete update list.
  • Step 2232 Check whether the fifth access device is connected to other access devices in the second VR.
  • step 2231 and step 2232 can be replaced.
  • Step 2233 If directly connected to other access devices, perform detection on each sixth access device for one or more sixth access devices directly connected to the fifth access device, if a sixth access The device belongs to the VR corresponding to the fifth access device, and only the fifth access device can reach the aggregation device of the network, and then adds the sixth access device to the deletion update list, and continues to detect each sixth access device.
  • the neighboring node if the access device corresponding to the neighboring node belongs to the VR corresponding to the fifth access device, and only the fifth access device can reach the aggregation device of the network, the access device corresponding to the neighbor node is added to the neighboring node. Delete the update list and repeat the above process Until traversing all the nodes in the network.
  • step 224 when the timer expires or the confirmation command sent by the user is received, the information of the access device in the deletion update list is deleted in the second VR, and the member information of the second VR is updated according to the deletion update list.
  • Step 300 Perform corresponding configuration on the access device corresponding to the expansion and contraction change.
  • the step 300 includes: performing a service management configuration on the access device in the add update list, including: creating, for each access device, an access device in the update list. OAM and QoS configuration of the tunnel and access device of the aggregation device.
  • the service management unit sends the information to the access device through a protocol interface between the access device and the access device.
  • step 300 includes clearing the tunnels on each access device and the OAM configuration for the access devices in the delete update list.
  • the service management unit can be delivered to the access device through a protocol interface between the access device and the access device.
  • the embodiment of the invention provides a method for realizing the expansion and contraction of an access device, in particular, a method for expanding and shrinking an IPRAN/PTN access device based on SDN, and automatically calculating the expansion and contraction by performing topology analysis on the SDN network.
  • This solution can be used to expand and shrink the capacity.
  • the maintenance personnel plugs in and out the interconnection ports of other access devices or sends the expansion and contraction commands through the one-click operation of the network management system APP, the physical topology automatic detection and service protection can be completed. Automatic path switching, automatic change of VR member information, and changes to the original service topology and traffic forwarding path.
  • the whole process and its simplicity greatly simplify the expansion and contraction process, improve the efficiency of operators to maintain IPRAN/PTN access network expansion and shrinkage, and reduce maintenance costs.
  • the embodiment of the invention further provides a computer storage medium, wherein the computer storage medium stores computer executable instructions, and the computer executable instructions are used in the above method.
  • Embodiment 1 An example of a simple expansion process.
  • FIG. 6A is a schematic diagram of a network composition according to Embodiment 1 of the present invention, and an example of a simple capacity expansion process is given in conjunction with FIG. 6A.
  • a method for expanding and shrinking the access device includes the following steps:
  • Step 11 The user connects the A3 to the A1 by using the connection, or the user sends a capacity expansion command through the one-touch operation of the network management system APP to specify the newly added device A3.
  • Step 12 The topology execution unit perceives the change of the physical topology by polling or parsing the device TRAP alarm.
  • Step 13 The data calculation unit detects that the newly added node A3 is directly connected to A1, calculates the VR to which A1 belongs, and detects that A3 does not belong to the VR and other VRs, and is not connected to other devices, and stores A3 device information, and the flowchart is as shown in FIG. 5B.
  • the VR service information is calculated, and if the original service path is affected by the expansion, the service path is switched.
  • Step 14 Update the VR member information to which A1 belongs.
  • Step 15 The service management unit creates a tunnel to the B1B2 device and its OAM and QoS configuration on the A3, and sends the tunnel to the device through the protocol interface between the device and the device.
  • Embodiment 2 An example of a complicated expansion process.
  • FIG. 6B is a schematic diagram of a network composition according to Embodiment 2 of the present invention, and an example of a complex expansion process is shown in FIG. 6B.
  • a devices there may be multiple identical access A devices between A1 and A2, A2 and B2, and A1 and B1.
  • the expansion of the access network can be in A1 and A2, A2 and B2.
  • A1 and B1 are performed.
  • a number of A devices namely A3, A4, and A5, are added to the access network for expansion, including the following steps:
  • Step 21 The user connects the A3 to the A1 by using the connection, or the user sends a capacity expansion command through the one-touch operation of the network management system APP, and specifies the newly added device A3.
  • Step 22 The topology execution unit perceives the change of the physical topology by polling or parsing the device TRAP alarm.
  • Step 23 The data calculation unit detects that the newly added node A3 is directly connected to A1, and calculates A1.
  • the VR detects that A3 is directly connected to A4, A5, and O1 devices, and then continues to detect A4, A5, and O1 devices and their directly connected devices.
  • O1, O2, and O3 belong to other VRs, stop detecting, and store A3, A4, and A5 devices.
  • Information calculate the VR service information, if the original service path is affected by the expansion, switch the service path
  • Step 24 Update the VR member information to which A1 belongs.
  • Step 25 The service management module creates a tunnel to the B1B2 device and its OAM and QoS configuration on the A3, A4, and A5, and sends the tunnel to the device through the protocol interface between the device and the device.
  • Embodiment 3 An example of a simple shrinking process.
  • Embodiment 3 an example of a simple contraction process will be given in conjunction with FIG. 6A.
  • Step 31 The user directly disconnects the connection between the A1A3s, or the user sends a reduction command through the one-touch operation of the network management system APP, and specifies the volume reduction device A3.
  • Step 32 The topology execution unit perceives the change of the physical topology by polling or parsing the device TRAP alarm.
  • Step 33 The topology execution unit detects the shrinkage operation and sets the timer.
  • Step 34 The data calculation unit detects the service of the VR where the contraction node A3 is located, and if the service path is affected by the contraction, switches the service path to the available path.
  • Step 35 The data calculation unit detects that A3 is no longer connected to other devices of the VR in which it is located, and stores data information of the contraction node A3.
  • Step 36 When the timer expires or receives a user confirmation command, the data calculation unit updates the VR member information, and removes the condensed node A3.
  • Step 37 The service management unit sends a command to clear the tunnel and OAM configuration on the condensed node A3.
  • Embodiment 4 An example of a complex contraction process.
  • Embodiment 4 an example of a complex condensing process will be given in conjunction with FIG. 6C.
  • the suffix of the access network can be used to remove any other device except the B.
  • the A3 and other devices directly connected to the A3 are removed.
  • the method in the embodiment of the present invention is applied to the fast implementation.
  • the shrinkage of the access network device includes the following steps:
  • Step 41 The user directly disconnects the connection between A1 and A3, or the user sends a shrinking command through a one-touch operation of the network management system APP, and specifies to perform a shrinking operation on the access device A3.
  • Step 42 The topology execution unit perceives the change of the physical topology by polling or parsing the device TRAP alarm.
  • Step 43 The topology execution unit detects the shrinking operation and sets a timer.
  • Step 44 The data calculation unit detects the service of the VR where the contraction node A3 is located, and if the service path is affected by the contraction, switches the service path to the available path.
  • Step 45 The data calculation unit detects that A3 is directly connected to A4O1, and continues to detect A4O1 and its neighbor nodes. If the node belongs to the VR where A3 is located and the node can only reach the B device by shrinking the node, as shown in A4 in FIG. 6C, then This node information is stored until all node data has been traversed.
  • Step 46 When the timer expires or receives a user confirmation command, the data calculation unit updates the VR member information, and removes the contraction nodes A3 and A4.
  • Step 47 The service management unit sends a command to clear the tunnel and OAM configuration on the condensed nodes A3 and A4.
  • the embodiment of the present invention further provides an apparatus for implementing expansion and contraction of an access device.
  • an implementation of an access device is disclosed. Schematic diagram of the device, the device comprising:
  • the topology execution unit 10 is configured to detect whether a physical topology of the network changes in expansion or contraction;
  • the topology execution unit 10 may detect a change in the physical topology of the network when the user plugs in and disconnects with other access devices or when the user sends an expansion and contraction instruction.
  • the data calculation unit 20 is configured to: when detecting a change in the physical topology of the network, perform update of the virtual router VR information according to the expansion and contraction change;
  • the service management unit 30 is configured to perform a corresponding configuration on the access device corresponding to the expansion and contraction change.
  • the topology execution unit 10 includes at least one of the following modules:
  • the first topology module is configured to periodically scan the topology information to learn whether the physical topology of the network changes.
  • the second topology module is configured to update the physical topology of the network by analyzing the device-related alarms according to the device-related alarms generated by the device trap message, and learn whether the physical topology of the network is expanded or not by updating the physical topology of the network. Change the volume.
  • the data calculation unit 20 includes: an expansion module, configured to confirm that all member information that needs to be added to the VR is added according to the newly added first access device when the expansion and contraction change is changed to a capacity change, and according to The member information updates the member information of the VR.
  • the expansion module includes:
  • the first VR acquisition sub-module is configured to acquire a second access device directly connected to the newly added first access device, and obtain a first VR corresponding to the second access device;
  • the capacity expansion VR update submodule is configured to update the member information of the first VR correspondingly according to the added update list.
  • the adding update list submodule is set to:
  • the expansion module further includes: a capacity expansion service switching sub-module, configured to detect whether the service path of the first VR is affected by the expansion, and when the service path is affected, Switching the service path of the first VR to another path;
  • the service management unit 30 is configured to perform a service management configuration on the access device in the added update list, where the service management configuration includes creating a tunnel, operating maintenance management OAM, and quality of service QoS configuration.
  • the data calculation unit 20 includes:
  • the volume reduction module is configured to: when the expansion and contraction changes to a contraction change, confirm, according to the deleted fifth access device, all member information that needs to be deleted from the VR, and update the member information of the VR according to the all member information.
  • the volume reduction module includes:
  • timer sub-module set to set a timer
  • Deleting an update list sub-module setting to confirm all member information that needs to be deleted from the second VR corresponding to the fifth access device, and adding an access device that needs to be deleted from the second VR to the delete update list in;
  • the VR update sub-module is configured to delete the information of the access device in the delete update list in the second VR when the timer expires or when receiving the confirmation command, and update the update list according to the deletion Correspondingly updating the member information of the second VR.
  • the delete update list submodule is set to:
  • each sixth access device is detected, if a sixth access device And the second VR that belongs to the fifth access device, and only the fifth access device can reach the aggregation update device by using the fifth access device, and adding the sixth access device to the deletion update list.
  • the neighboring node of each sixth access device if the access device corresponding to one neighboring node belongs to the second VR corresponding to the fifth access device, and only through the fifth access device
  • the aggregation device of the network adds the access device corresponding to the neighbor node to the deletion update list, and repeats the process until all nodes in the network are traversed.
  • the volume reduction module further includes:
  • the service switching sub-module is configured to detect whether the service path of the second VR corresponding to the fifth access device is affected by the shrinkage. When the service path is affected, the service path of the second VR is switched to another path;
  • the service management unit 30 is configured to clear the tunnel on each access device and the OAM configuration for the access device in the deletion update list.
  • the method for implementing the expansion and contraction of an access device provided by the embodiment of the present invention can be implemented by using a network management system APP.
  • the network management system APP in the device for implementing the access device expansion and contraction provided by the embodiment of the present invention may be implemented based on the WEB, and invoke an interface provided by the SDN controller through an application layer protocol (such as a REST interface) to obtain an SDN controller management.
  • the network management system APP provided by the embodiment of the present invention invokes the controller interface to create a virtual router by using an application layer protocol, or when the expansion instruction is executed, the required device information may be provided by other management systems, and the system has network topology data.
  • This subsystem is optional.
  • the information such as the physical topology, the service topology, and the data traffic forwarding path after the expansion and contraction is automatically calculated, and the calculated physical topology, service topology, and data traffic forwarding path can be pushed to the APP.
  • the expansion and contraction operation is performed by using the method for realizing the expansion and contraction of the access device provided by the embodiment of the present invention, the maintenance personnel can be plugged and unplugged with other access devices, or operated by the network management system APP under one-touch operation.
  • the automatic expansion of the physical topology, the automatic switching of the service protection path, the automatic change of the VR member information, and the change of the original service topology and the traffic forwarding path can be completed.
  • the whole process and its simplicity greatly simplify the expansion and contraction process, improve the efficiency of operators to maintain IPRAN/PTN access network expansion and shrinkage, and reduce maintenance costs.
  • each module/unit in the above embodiment may be implemented in the form of hardware, for example, by implementing an integrated circuit to implement its corresponding function, or may be implemented in the form of a software function module, for example, executing a program stored in the memory by a processor. / instruction to achieve its corresponding function.
  • the invention is not limited to any specific form of combination of hardware and software.
  • the foregoing technical solution can automatically complete the operation of configuring the expansion and contraction of the VR information in the process of expanding and contracting, reducing the requirement for the maintenance personnel, and reducing the difficulty and cost of network maintenance.

Abstract

A method and device for achieving capacity expansion and reduction of an access apparatuses. The method comprises: detecting whether a capacity expansion or capacity reduction of physical topology of a network has occurred; if so, performing an update on virtual router (VR) information according to a change in the capacity expansion or capacity reduction; and executing a corresponding configuration on an access apparatus corresponding to the change in the capacity expansion or capacity reduction. The above technical solution can automatically complete operations such as an update of VR information and a configuration of nodes in a process of capacity expansion or reduction, thus reducing requirements for service abilities of maintenance staffs and reducing complexity and costs in network maintenance.

Description

一种实现接入设备扩缩容的方法和装置Method and device for realizing expansion and contraction of access equipment 技术领域Technical field
本文涉及但不限于网络应用技术领域,尤指一种实现接入设备扩缩容的方法和装置。This document relates to, but is not limited to, the field of network application technologies, and in particular, to a method and apparatus for implementing expansion and contraction of an access device.
背景技术Background technique
随着网络技术的发展,IPRAN/PTN(IP Radio Access Network/Packet Transport Network,无线接入网IP化/分组传输网)等分组传送技术在运营商网络得到了大量的应用和推广。IPRAN/PTN的网络包括汇聚设备、接入设备、和核心设备。下面结合附图进行说明,如图1所示,示出了一种IPRAN/PTN最典型的网络,包括两个B设备(汇聚设备),若干个A设备(接入设备)组成接入层网络,以及B设备与C设备(核心设备)相连的核心汇聚层网络。接入层网络涉及隧道(Tunnel)/伪线(PW)/业务(Service)三个层次的管理,并且还包括与三个层次相关的操作维护管理OAM、服务质量QoS的配置。With the development of network technology, packet transmission technologies such as IPRAN/PTN (IP Radio Access Network/Packet Transport Network) have been widely applied and promoted in carrier networks. The network of the IPRAN/PTN includes an aggregation device, an access device, and a core device. The following is a description of the accompanying drawings. As shown in FIG. 1 , a typical network of IPRAN/PTN is shown, including two B devices (aggregation devices), and several A devices (access devices) form an access layer network. And a core aggregation layer network where the B device is connected to the C device (core device). The access layer network involves three levels of management of tunnel/pseudowire (PW)/service (Service), and also includes three levels of operation and maintenance management OAM and quality of service QoS configuration.
随着运营商业务规模不断扩展以及新业务不断接入,经常需要在已经承载了业务的接入层网络增加或者减少一个或若干个A设备,或者对多个接入环进行拆分与重组,即实现接入设备的扩缩容。针对这种维护场景,维护人员需要规划配置大量数据,如图2A和图2B所示,其中,图2A中表示在A设备和B设备之间需要增加新节点,即新的接入设备,图2B中简单示意了维护人员需要规划和配置的管理操作,例如接口地址、IGP协议、隧道、OAM等多种基础配置。上述规划和配置的管理操作增加了网络的维护难度和成本,对维护人员的专业能力也提出了很高的要求,如果维护人员对规划和配置的管理操作不是非常的理解和熟悉,将造成维护工作的时间延长。As the service scale of the carrier continues to expand and new services are continuously accessed, it is often necessary to add or reduce one or several A devices or split and reassemble multiple access rings on the access layer network that has already carried the service. That is to achieve the expansion and contraction of the access device. For this maintenance scenario, the maintenance personnel need to plan to configure a large amount of data, as shown in Figure 2A and Figure 2B. Figure 2A shows that a new node, that is, a new access device, needs to be added between the A device and the B device. 2B simply indicates the management operations that maintenance personnel need to plan and configure, such as interface address, IGP protocol, tunnel, OAM, and other basic configurations. The above-mentioned planning and configuration management operations increase the maintenance difficulty and cost of the network, and put forward high requirements for the maintenance personnel's professional capabilities. If the maintenance personnel are not very understanding and familiar with the planning and configuration management operations, it will cause maintenance. The working time is extended.
发明内容Summary of the invention
以下是对本文详细描述的主题的概述。本概述并非是为了限制权利要求 的保护范围。The following is an overview of the topics detailed in this document. This summary is not intended to limit the claims The scope of protection.
本发明实施例提出了一种实现接入设备扩缩容的方法和装置,能够自动完成扩缩容过程中的VR信息的更新、对扩缩容的节点进行配置等操作,降低了网络维护的难度和成本。The embodiment of the invention provides a method and a device for realizing the expansion and contraction of an access device, which can automatically complete the operation of updating the VR information in the process of expanding and contracting, configuring the node for expanding and contracting, and the like, thereby reducing network maintenance. Difficulty and cost.
本发明实施例提出了一种实现接入设备扩缩容的方法,所述方法包括:The embodiment of the invention provides a method for implementing expansion and contraction of an access device, and the method includes:
检测网络的物理拓扑是否发生扩缩容变化;Check whether the physical topology of the network has undergone expansion and contraction changes;
当检测到所述网络的物理拓扑发生扩缩容变化时,根据扩缩容变化进行虚拟路由器VR信息的更新;When it is detected that the physical topology of the network is changed, the virtual router VR information is updated according to the expansion and contraction change;
对扩缩容变化对应的接入设备执行对应的配置。The corresponding configuration is performed on the access device corresponding to the expansion and contraction change.
可选地,所述检测网络的物理拓扑是否发生扩缩容变化包括如下方式中的至少一种:Optionally, the detecting whether the physical topology of the network has undergone expansion and contraction changes comprises at least one of the following manners:
通过定时轮询拓扑信息,获知网络的物理拓扑是否发生扩缩容变化;By periodically polling the topology information, it is learned whether the physical topology of the network has undergone expansion and contraction changes;
根据设备Trap消息生成设备相关告警,通过分析所述设备相关告警完成网络的物理拓扑的更新,通过所述网络的物理拓扑的更新获知网络的物理拓扑是否发生扩缩容变化。A device-related alarm is generated according to the device Trap message, and the physical topology of the network is updated by analyzing the device-related alarms, and the physical topology of the network is updated to know whether the physical topology of the network has undergone expansion and contraction changes.
可选地,所述当检测到所述网络的物理拓扑发生扩缩容变化时,根据扩缩容变化进行VR信息的更新包括:当扩缩容变化为扩容变化时,根据新增的第一接入设备确认需要加入VR中的全部成员信息,并根据所述全部成员信息更新VR的成员信息。Optionally, when detecting that the physical topology of the network is changed by the expansion and contraction, the updating of the VR information according to the expansion and contraction change includes: when the expansion and contraction changes to a capacity change, according to the newly added first The access device confirms that all member information in the VR needs to be added, and updates the member information of the VR according to all the member information.
可选地,所述根据新增的第一接入设备确认需要加入VR中的全部成员信息,并根据所述全部成员信息更新VR的成员信息包括:Optionally, the updating, according to the newly added first access device, all member information that needs to be added to the VR, and updating the member information of the VR according to the all member information includes:
获取与新增的第一接入设备直接相连的第二接入设备,并获取所述第二接入设备对应的第一VR;Obtaining a second access device directly connected to the newly added first access device, and acquiring a first VR corresponding to the second access device;
确认需要加入所述第一VR中的全部成员信息,并将需要加入所述第一VR的接入设备添加到所述添加更新列表中;Confirming that all member information in the first VR needs to be added, and adding an access device that needs to join the first VR to the added update list;
根据所述添加更新列表更新所述第一VR的成员信息。Updating the member information of the first VR according to the added update list.
可选地,所述确认需要加入第一VR中的全部成员信息,并将需要加入 第一VR的接入设备添加到添加更新列表中包括:Optionally, the confirmation needs to join all member information in the first VR, and will need to join Adding the access device of the first VR to the list of added updates includes:
确认是否将所述第一接入设备加入所述第一VR,如果是,将所述第一接入设备添加到所述添加更新列表中;Determining whether the first access device is added to the first VR, and if yes, adding the first access device to the added update list;
确认是否将所述第一接入设备直接相连的一个或多个第三接入设备加入所述第一VR,并继续判断所述一个或多个第三接入设备的邻居节点,直至遍历所有的网络节点,将需要加入的接入设备添加到所述添加更新列表中。Determining whether the one or more third access devices directly connected to the first access device join the first VR, and continue to determine the neighbor nodes of the one or more third access devices until all the devices are traversed Network node that adds the access device that needs to be added to the list of added updates.
可选地,在所述根据所述添加更新列表对应地更新第一VR的成员信息之前,还包括:Optionally, before the updating the member information of the first VR according to the added update list, the method further includes:
检测所述第一VR的业务路径是否受到扩容的影响,当业务路径受到影响时,将所述第一VR的业务路径切换到其他的路径;Detecting whether the service path of the first VR is affected by the expansion, and when the service path is affected, switching the service path of the first VR to another path;
所述对扩缩容变化对应的接入设备执行对应的配置包括:Performing the corresponding configuration on the access device corresponding to the expansion and contraction change includes:
对所述添加更新列表中的接入设备进行业务管理配置;其中,所述业务管理配置包括创建隧道、操作维护管理OAM、服务质量QoS配置。Performing a service management configuration on the access device in the added update list, where the service management configuration includes creating a tunnel, operating maintenance management OAM, and quality of service QoS configuration.
可选地,所述当检测到所述网络的物理拓扑发生扩缩容变化时,根据扩缩容变化进行VR信息的更新包括:当扩缩容变化为缩容变化时,根据删减的第五接入设备确认需要从VR中删除的全部成员信息,并根据所述全部成员信息更新VR的成员信息。Optionally, when detecting the expansion and contraction change of the physical topology of the network, updating the VR information according to the expansion and contraction change includes: when the expansion and contraction change is a contraction change, according to the deleted The five access devices confirm all the member information that needs to be deleted from the VR, and update the member information of the VR according to the all member information.
可选地,所述根据删减的第五接入设备确认需要从VR中删除的全部成员信息,并根据所述全部成员信息更新VR的成员信息包括:Optionally, the determining, by the fifth access device that is deleted, all the member information that needs to be deleted from the VR, and updating the member information of the VR according to the all member information includes:
设定定时器;Set a timer;
确认需要从所述第五接入设备对应的第二VR中删除的全部成员信息,并将需要从所述第二VR中删除的接入设备添加到删除更新列表中;Identifying all member information that needs to be deleted from the second VR corresponding to the fifth access device, and adding the access device that needs to be deleted from the second VR to the delete update list;
在所述定时器到时或接收到确认指令时,在所述第二VR中删除所述删除更新列表中的接入设备的信息,根据所述删除更新列表对应地更新所述第二VR的成员信息。And deleting the information of the access device in the deletion update list in the second VR when the timer expires or receiving the confirmation instruction, and updating the second VR according to the deletion update list. Member information.
可选地,所述确认需要从第二VR中删除的全部成员信息,并将需要从第二VR中删除的接入设备添加到删除更新列表中包括: Optionally, the confirming needs all member information deleted from the second VR, and adding the access device that needs to be deleted from the second VR to the delete update list includes:
将第五接入设备加入所述删除更新列表中;Adding the fifth access device to the deletion update list;
检测所述第五接入设备是否与所述第二VR中的其他的接入设备相连;Detecting whether the fifth access device is connected to other access devices in the second VR;
如果与其他的接入设备直接相连,针对与所述第五接入设备直接相连的一个或多个第六接入设备,对每个第六接入设备进行检测,如果一个第六接入设备属于所述第五接入设备对应的所述第二VR,并且只有通过所述第五接入设备才能到达网络的汇聚设备,则将该第六接入设备添加至所述删除更新列表中,继续检测每个第六接入设备的邻居节点,如果一个邻居节点对应的接入设备属于所述第五接入设备对应的所述第二VR,并且只有通过所述第五接入设备才能到达网络的汇聚设备,则将该邻居节点对应的接入设备添加至所述删除更新列表中,重复上述过程直至遍历网络中所有的节点。If it is directly connected to other access devices, for each of the sixth access devices directly connected to the fifth access device, each sixth access device is detected, if a sixth access device And the second VR that belongs to the fifth access device, and only the fifth access device can reach the aggregation update device by using the fifth access device, and adding the sixth access device to the deletion update list. Continuing to detect the neighboring node of each sixth access device, if the access device corresponding to one neighboring node belongs to the second VR corresponding to the fifth access device, and only through the fifth access device The aggregation device of the network adds the access device corresponding to the neighbor node to the deletion update list, and repeats the process until all nodes in the network are traversed.
可选地,在所述根据所述删除更新列表对应地更新第二VR的成员信息之前,还包括:Optionally, before the updating the member information of the second VR according to the deletion update list, the method further includes:
检测所述第五接入设备对应的第二VR的业务路径是否受到缩容的影响,当业务路径受到影响时,将第二VR的业务路径切换到其他的路径;Detecting whether the service path of the second VR corresponding to the fifth access device is affected by the shrinkage, and when the service path is affected, switching the service path of the second VR to another path;
所述对扩缩容变化对应的接入设备执行对应的配置包括:Performing the corresponding configuration on the access device corresponding to the expansion and contraction change includes:
针对所述删除更新列表中的接入设备,清除每个接入设备上的隧道、以及OAM配置。Clearing the tunnel on each access device and the OAM configuration for the access device in the delete update list.
本发明实施例提出了一种实现接入设备扩缩容的装置,所述装置包括:An embodiment of the present invention provides an apparatus for implementing expansion and contraction of an access device, where the apparatus includes:
拓扑执行单元,设置为检测网络的物理拓扑是否发生扩缩容变化;The topology execution unit is configured to detect whether the physical topology of the network changes in expansion or contraction;
数据计算单元,设置为当检测到所述网络的物理拓扑发生扩缩容变化时,根据扩缩容变化进行虚拟路由器VR信息的更新;a data calculation unit, configured to: when detecting a change in the physical topology of the network, update the virtual router VR information according to the expansion and contraction change;
业务管理单元,设置为对扩缩容变化对应的接入设备执行对应的配置。The service management unit is configured to perform a corresponding configuration on the access device corresponding to the expansion and contraction change.
可选地,所述拓扑执行单元包括如下模块中的至少一个:Optionally, the topology execution unit includes at least one of the following modules:
第一拓扑模块,设置为通过定时轮询拓扑信息,获知网络的物理拓扑是否发生扩缩容变化;The first topology module is configured to periodically scan the topology information to learn whether the physical topology of the network changes.
第二拓扑模块,设置为根据设备Trap消息生成的设备相关告警,通过分析所述设备相关告警完成网络的物理拓扑的更新,通过所述网络的物理拓扑 的更新获知网络的物理拓扑是否发生扩缩容变化。The second topology module is configured to update the physical topology of the network by analyzing the device-related alarms according to the device-related alarms generated by the device trap message, and adopt the physical topology of the network. The update knows whether the physical topology of the network has undergone expansion and contraction changes.
可选地,所述数据计算单元包括:扩容模块,设置为当扩缩容变化为扩容变化时,根据新增的第一接入设备确认需要加入VR中的全部成员信息,并根据所述全部成员信息更新VR的成员信息。Optionally, the data calculation unit includes: a capacity expansion module, configured to: when the expansion and contraction change is changed to a capacity change, confirm, according to the newly added first access device, all member information that needs to be added to the VR, and according to the all The member information updates the member information of the VR.
可选地,所述扩容模块包括:Optionally, the expansion module includes:
第一VR获取子模块,设置为获取与新增的第一接入设备直接相连的第二接入设备,并获取所述第二接入设备对应的第一VR;The first VR acquisition sub-module is configured to acquire a second access device directly connected to the newly added first access device, and obtain a first VR corresponding to the second access device;
添加更新列表子模块,设置为确认需要加入所述第一VR中的全部成员信息,并将需要加入所述第一VR的接入设备添加到所述添加更新列表中;Adding an update list sub-module, setting to confirm that all member information in the first VR needs to be added, and adding an access device that needs to join the first VR to the added update list;
扩容VR更新子模块,设置为根据所述添加更新列表对应地更新所述第一VR的成员信息。The capacity expansion VR update submodule is configured to update the member information of the first VR correspondingly according to the added update list.
可选地,所述添加更新列表子模块是设置为:Optionally, the add update list submodule is set to:
确认是否将所述第一接入设备加入所述第一VR,如果是,将所述第一接入设备添加到所述添加更新列表中;Determining whether the first access device is added to the first VR, and if yes, adding the first access device to the added update list;
确认是否将所述第一接入设备直接相连的一个或多个第三接入设备加入所述第一VR,并继续判断所述一个或多个第三接入设备的邻居节点,直至遍历所有的网络节点,将需要加入的接入设备添加到所述添加更新列表中。Determining whether the one or more third access devices directly connected to the first access device join the first VR, and continue to determine the neighbor nodes of the one or more third access devices until all the devices are traversed Network node that adds the access device that needs to be added to the list of added updates.
可选地,所述扩容模块还包括:扩容业务切换子模块,设置为检测所述第一VR的业务路径是否受到扩容的影响,当业务路径受到影响时,将所述第一VR的业务路径切换到其他的路径;Optionally, the expansion module further includes: a capacity expansion service switching sub-module, configured to detect whether the service path of the first VR is affected by the expansion, and when the service path is affected, the service path of the first VR is Switch to another path;
所述业务管理单元设置为对所述添加更新列表中的接入设备进行业务管理配置;其中,所述业务管理配置包括创建隧道、操作维护管理OAM、服务质量QoS配置。The service management unit is configured to perform service management configuration on the access device in the added update list, where the service management configuration includes creating a tunnel, operating maintenance management OAM, and quality of service QoS configuration.
可选地,所述数据计算单元包括:Optionally, the data calculation unit includes:
缩容模块,设置为当扩缩容变化为缩容变化时,根据删减的第五接入设备确认需要从VR中删除的全部成员信息,并根据所述全部成员信息更新VR的成员信息。 The volume reduction module is configured to: when the expansion and contraction changes to a contraction change, confirm, according to the deleted fifth access device, all member information that needs to be deleted from the VR, and update the member information of the VR according to the all member information.
可选地,所述缩容模块包括:Optionally, the volume reduction module includes:
定时器子模块,设置为设定定时器;a timer sub-module, set to set a timer;
删除更新列表子模块,设置为确认需要从所述第五接入设备对应的第二VR中删除的全部成员信息,并将需要从所述第二VR中删除的接入设备添加到删除更新列表中;Deleting an update list sub-module, setting to confirm all member information that needs to be deleted from the second VR corresponding to the fifth access device, and adding an access device that needs to be deleted from the second VR to the delete update list in;
缩容VR更新子模块,设置为在所述定时器到时或接收到确认指令时,在所述第二VR中删除所述删除更新列表中的接入设备的信息,根据所述删除更新列表对应地更新所述第二VR的成员信息。The VR update sub-module is configured to delete the information of the access device in the delete update list in the second VR when the timer expires or when receiving the confirmation command, and update the update list according to the deletion Correspondingly updating the member information of the second VR.
可选地,所述删除更新列表子模块是设置为:Optionally, the delete update list submodule is set to:
将第五接入设备加入所述删除更新列表中;Adding the fifth access device to the deletion update list;
检测所述第五接入设备是否与所述第二VR中的其他的接入设备相连;Detecting whether the fifth access device is connected to other access devices in the second VR;
如果与其他的接入设备直接相连,针对与所述第五接入设备直接相连的一个或多个第六接入设备,对每个第六接入设备进行检测,如果一个第六接入设备属于所述第五接入设备对应的所述第二VR,并且只有通过所述第五接入设备才能到达网络的汇聚设备,则将该第六接入设备添加至所述删除更新列表中,继续检测每个第六接入设备的邻居节点,如果一个邻居节点对应的接入设备属于所述第五接入设备对应的所述第二VR,并且只有通过所述第五接入设备才能到达网络的汇聚设备,则将该邻居节点对应的接入设备添加至所述删除更新列表中,重复上述过程直至遍历网络中所有的节点。If it is directly connected to other access devices, for each of the sixth access devices directly connected to the fifth access device, each sixth access device is detected, if a sixth access device And the second VR that belongs to the fifth access device, and only the fifth access device can reach the aggregation update device by using the fifth access device, and adding the sixth access device to the deletion update list. Continuing to detect the neighboring node of each sixth access device, if the access device corresponding to one neighboring node belongs to the second VR corresponding to the fifth access device, and only through the fifth access device The aggregation device of the network adds the access device corresponding to the neighbor node to the deletion update list, and repeats the process until all nodes in the network are traversed.
可选地,所述缩容模块还包括:Optionally, the volume reduction module further includes:
缩容业务切换子模块,设置为检测所述第五接入设备对应的第二VR的业务路径是否受到缩容的影响,当业务路径受到影响时,将第二VR的业务路径切换到其他的路径;The service switching sub-module is configured to detect whether the service path of the second VR corresponding to the fifth access device is affected by the shrinkage. When the service path is affected, the service path of the second VR is switched to another path;
所述业务管理单元设置为针对所述删除更新列表中的接入设备,清除每个接入设备上的隧道、以及OAM配置。The service management unit is configured to clear the tunnel on each access device and the OAM configuration for the access device in the delete update list.
本发明实施例还提供了一种计算机存储介质,所述计算机存储介质中存储有计算机可执行指令,所述计算机可执行指令用于上述的方法。 The embodiment of the invention further provides a computer storage medium, wherein the computer storage medium stores computer executable instructions, and the computer executable instructions are used in the above method.
与相关技术相比,本发明实施例提供的技术方案包括:检测网络的物理拓扑是否发生扩缩容变化;当检测到所述网络的物理拓扑发生扩缩容变化时,根据扩缩容变化进行VR信息的更新;对扩缩容变化对应的节点执行对应的配置。通过本发明实施例的方案,能够自动完成扩缩容过程中的VR信息的更新对扩缩容的节点进行配置等操作,降低了对维护人员的业务能力的要求,降低了网络维护的难度和成本。Compared with the related art, the technical solution provided by the embodiment of the present invention includes: detecting whether a physical topology of the network has undergone expansion and contraction change; and when detecting that the physical topology of the network is changed by the expansion and contraction, according to the expansion and contraction change Update of the VR information; perform corresponding configuration on the node corresponding to the expansion and contraction change. The solution of the embodiment of the present invention can automatically complete the operation of configuring the expansion and contraction of the VR information in the expansion and contraction process, thereby reducing the service capability of the maintenance personnel and reducing the difficulty of network maintenance. cost.
在阅读并理解了附图和详细描述后,可以明白其他方面。Other aspects will be apparent upon reading and understanding the drawings and detailed description.
附图概述BRIEF abstract
图1为相关技术中一种常见的IPRAN/PTN网络的示意图;1 is a schematic diagram of a common IPRAN/PTN network in the related art;
图2A为相关技术中在网络增加新节点的示意图;2A is a schematic diagram of adding a new node to a network in the related art;
图2B为图2A的更新中维护人员需要规划和配置的管理操作的示意图;2B is a schematic diagram of management operations that need to be planned and configured by maintenance personnel in the update of FIG. 2A;
图3为IPRAN/PTN SDN网络的示意图;3 is a schematic diagram of an IPRAN/PTN SDN network;
图4为网络中VR的示意图;4 is a schematic diagram of a VR in a network;
图5A为本发明实施例提出的一种实现接入设备扩缩容的方法;FIG. 5A is a schematic diagram of a method for implementing expansion and contraction of an access device according to an embodiment of the present invention;
图5B为本发明实施例提出的一种实现接入设备扩缩容的方法中步骤210的示意图;FIG. 5B is a schematic diagram of step 210 in a method for implementing expansion and contraction of an access device according to an embodiment of the present invention;
图5C为本发明实施例提出的一种实现接入设备扩缩容的方法中步骤220的示意图;5C is a schematic diagram of step 220 in a method for implementing expansion and contraction of an access device according to an embodiment of the present invention;
图6A为本发明实施例1和3的网络组成示意;6A is a schematic diagram of network composition of Embodiments 1 and 3 of the present invention;
图6B为本发明实施例2的网络组成示意;6B is a schematic diagram of a network component according to Embodiment 2 of the present invention;
图6C为本发明实施例4的网络组成示意;6C is a schematic structural diagram of a network according to Embodiment 4 of the present invention;
图7为本发明实施例提供的一种实现接入设备扩缩容的装置的结构示意图;FIG. 7 is a schematic structural diagram of an apparatus for implementing expansion and contraction of an access device according to an embodiment of the present disclosure;
图8为本发明实施例提供的实现接入设备扩缩容装置中的网络管理***呈现给用户的示意图。 FIG. 8 is a schematic diagram of a network management system in an access device expansion and contraction device presented to a user according to an embodiment of the present invention.
本发明的实施方式Embodiments of the invention
为了便于本领域技术人员的理解,下面结合附图对本发明实施例作进一步的描述,并不能用来限制本发明的保护范围。需要说明的是,在不冲突的情况下,本申请中的实施例及实施例中的每种方式可以相互组合。In order to facilitate the understanding of those skilled in the art, the embodiments of the present invention are further described below with reference to the accompanying drawings, and are not intended to limit the scope of the present invention. It should be noted that, in the case of no conflict, each of the embodiments and the embodiments in the present application may be combined with each other.
本发明实施例提出了一种实现接入设备扩缩容的方法和装置,尤其是一种基于SDN(SOFT DEFINED NETWORK,软件定义网络)的IPRAN/PTN接入设备扩缩容的方法和装置。The embodiment of the invention provides a method and a device for realizing the expansion and contraction of an access device, in particular, a method and device for expanding and shrinking an IPRAN/PTN access device based on SDN (SOFT DEFINED NETWORK).
在介绍本发明实施例提出的实现接入设备扩缩容的方法和装置之前,首先对IPRAN/PTN SDN网络进行简单介绍。本发明实施例中的网络指IPRAN/PTN SDN网络,或IPRAN/PTN网络。Before introducing the method and device for implementing the expansion and contraction of the access device proposed by the embodiment of the present invention, the IPRAN/PTN SDN network is briefly introduced. The network in the embodiment of the present invention refers to an IPRAN/PTN SDN network, or an IPRAN/PTN network.
IPRAN/PTN SDN网络:与传统的IPRAN/PTN网络相比,基于SDN网络的交换机或者路由器只存在转发面(数据面)的逻辑,主要是根据控制器的逻辑完成转发,通过Openflow协议(或者其他协议)实现与本发明实施例中的SDN控制器互通,如图3所示,为IPRAN/PTN SDN网络的示意图。IPRAN/PTN SDN network: Compared with the traditional IPRAN/PTN network, the SDN network-based switch or router only has the logic of the forwarding plane (data plane), mainly based on the logic of the controller to complete the forwarding, through the Openflow protocol (or other The protocol implements interworking with the SDN controller in the embodiment of the present invention, as shown in FIG. 3, which is a schematic diagram of an IPRAN/PTN SDN network.
SDN控制器:SDN控制器(Controller)通过Openflow协议(或者其他协议)实现与接入层网络SDN交换机互通,通过建立若干个虚拟路由器VR(Virtual ROUTER,虚拟路由器)管理接入层网络设备业务信息,每个VR包含至少一个或两个B设备和若干个A设备,如图4所示,为VR的示意图。SDN控制器负责自动计算设备拓扑以及业务数据转发控制信息,并且实时更新维护拓扑、业务数据信息,将变更通过websocket方式(或者其他方式)推送到本发明实施例所述的实现接入设备扩缩容的装置中。SDN controller: The SDN controller (Controller) communicates with the access layer network SDN switch through the Openflow protocol (or other protocol), and manages the access layer network device service information by establishing a number of virtual routers VR (Virtual ROUTER). Each VR includes at least one or two B devices and a plurality of A devices, as shown in FIG. 4, which is a schematic diagram of the VR. The SDN controller is responsible for automatically calculating the device topology and the service data forwarding control information, and updating the maintenance topology and the service data information in real time, and pushing the change to the access device according to the embodiment of the present invention by using the websocket method (or other means). In the device.
其他管理***:具有IPRAN/PTN接入层网络拓扑信息,能够向包含SDN控制器在内的其他***提供拓扑信息。Other management systems: With IPRAN/PTN access layer network topology information, it can provide topology information to other systems including SDN controllers.
本发明实施例所述的实现接入设备扩缩容的装置可以通过应用层协议调用控制器接口创建虚拟路由器,或者执行扩容指令的时候,所需的设备信息可以由其他管理***提供,这里其他管理***指具有网络的拓扑数据的***,因此该管理***是可选的。The apparatus for implementing the expansion and contraction of the access device according to the embodiment of the present invention may create a virtual router by using an application layer protocol to invoke the controller interface, or when performing the expansion instruction, the required device information may be provided by other management systems, where other A management system is a system that has topology data for the network, so the management system is optional.
参见图5A,本发明实施例提出了一种实现接入设备扩缩容的方法,所述 方法应用于实现接入设备扩缩容装置中,所述装置包括:服务器、PC机或虚拟机VM,结合图5A所示,所述方法包括:Referring to FIG. 5A, an embodiment of the present invention provides a method for implementing expansion and contraction of an access device, where The method is applied to implement an access device expansion and contraction device, and the device includes: a server, a PC, or a virtual machine VM. As shown in FIG. 5A, the method includes:
步骤100,检测网络的物理拓扑是否发生扩缩容变化。In step 100, it is detected whether the physical topology of the network has undergone expansion and contraction changes.
步骤100中,所述检测网络的物理拓扑是否发生扩缩容变化包括如下方式中的至少一种:In step 100, the detecting whether the physical topology of the network has undergone expansion and contraction changes includes at least one of the following manners:
通过定时轮询拓扑变化,获知网络的物理拓扑是否发生扩缩容变化;By periodically polling the topology changes, it is known whether the physical topology of the network has undergone expansion and contraction changes;
根据设备Trap消息生成设备相关告警,通过分析所述设备相关告警完成网络的物理拓扑的更新,通过所述网络的物理拓扑的更新获知网络的物理拓扑是否发生扩缩容变化;Generating a device-related alarm according to the device Trap message, and completing the update of the physical topology of the network by analyzing the device-related alarms, and determining whether the physical topology of the network has undergone expansion and contraction changes by updating the physical topology of the network;
通过私有协议检测拓扑数据变化,通过拓扑数据的变化来获知网络的物理拓扑是否发生扩缩容变化。The topology data changes are detected by the proprietary protocol, and the change of the topology data is used to know whether the physical topology of the network has undergone expansion and contraction changes.
其中,定时轮询拓扑变化可以通过两种方法实现。一种是:SDN控制器通过Openflow packout将一个LLDP报文发送到设备,设备再将这个报文发送到相邻设备,相邻设备再将这个报文通过packin传送到SDN控制器,如此循环,完成整个拓扑LLDP邻居以及链路的检测,并通过上述检测过程获取网络的拓扑数据。另一种是:SDN控制器通过LLDP协议轮询设备LLDP邻居,发现一个邻居,再继续查找此邻居的邻居,直至每个相邻设备没有邻居发现,并通过上述轮询过程获取网络的拓扑数据。本发明实施例中的定时轮询拓扑变化可以通过SDN控制器实现。The timing polling topology change can be implemented by two methods. One is: the SDN controller sends an LLDP packet to the device through the Openflow packout, and the device sends the packet to the neighboring device, and the neighboring device transmits the packet to the SDN controller through the packet, and so on. The LLDP neighbors and links of the entire topology are detected, and the topology data of the network is obtained through the foregoing detection process. The other is that the SDN controller polls the LLDP neighbors of the device through the LLDP protocol, discovers a neighbor, and continues to look up the neighbors of the neighbor until the neighbors have no neighbor discovery, and obtains the topology data of the network through the polling process. . The timing polling topology change in the embodiment of the present invention can be implemented by an SDN controller.
步骤200,当检测到所述网络的物理拓扑发生扩缩容变化时,根据扩缩容变化进行VR信息的更新。In step 200, when it is detected that the physical topology of the network has undergone expansion and contraction change, the VR information is updated according to the expansion and contraction change.
步骤200包括:Step 200 includes:
步骤210,当扩缩容变化为扩容变化时,根据新增的第一接入设备进行VR信息的更新。Step 210: When the expansion and contraction changes to a capacity change, the VR information is updated according to the newly added first access device.
其中,当扩缩容变化为扩容变化时,根据新增的第一接入设备确认需要加入VR中的全部成员信息,并根据所述全部成员信息更新VR的成员信息。When the expansion and contraction change is changed to the capacity expansion, all the member information that needs to be added to the VR is confirmed according to the newly added first access device, and the member information of the VR is updated according to the all member information.
步骤220,当扩缩容变化为缩容变化时,根据删减的第五接入设备进行VR信息的更新。 Step 220: When the expansion and contraction changes to a contraction change, the VR information is updated according to the deleted fifth access device.
其中,当扩缩容变化为缩容变化时,根据删减的第五接入设备确认需要从VR中删除的全部成员信息,并根据所述全部成员信息更新VR的成员信息。When the expansion and contraction changes to a contraction change, all the member information that needs to be deleted from the VR is confirmed according to the deleted fifth access device, and the member information of the VR is updated according to the all member information.
本发明实施例提供的实现接入设备扩缩容的方法中,可以根据用户发送的扩缩容指令或接入设备的端口变化情况,执行物理拓扑的检测,当检测到所述网络的物理拓扑发生扩缩容变化时,将对应执行业务保护路径自动倒换、VR成员信息自动变更以及原有业务拓扑、流量转发路径的变更。整个流程及其简单,大大简化了扩缩容流程,提高了运营商维护IPRAN/PTN接入网络扩缩容的效率,降低了维护成本。In the method for implementing the expansion and contraction of the access device provided by the embodiment of the present invention, the physical topology detection may be performed according to the expansion and contraction instruction sent by the user or the port change of the access device, and the physical topology of the network is detected. When the expansion and contraction changes occur, the service protection path is automatically switched, the VR member information is automatically changed, and the original service topology and traffic forwarding path are changed. The whole process and its simplicity greatly simplify the expansion and contraction process, improve the efficiency of operators to maintain IPRAN/PTN access network expansion and shrinkage, and reduce maintenance costs.
参见图5B,本发明实施例提出了一种实现接入设备扩缩容的方法中步骤210的示意图,结合图5B,步骤210中,所述当扩缩容变化为扩容变化时,根据新增的第一接入设备进行VR信息的更新包括:Referring to FIG. 5B, the embodiment of the present invention provides a schematic diagram of step 210 in the method for implementing the expansion and contraction of an access device. Referring to FIG. 5B, in step 210, when the expansion and contraction change is changed to a capacity change, The update of the VR information by the first access device includes:
步骤211,获取与新增的第一接入设备直接相连的第二接入设备,其中,第二接入设备为网络中已有的接入设备;Step 211: Obtain a second access device that is directly connected to the newly added first access device, where the second access device is an existing access device in the network.
步骤212,获取第二接入设备对应的第一VR;Step 212: Acquire a first VR corresponding to the second access device.
步骤213,确认需要加入第一VR中的全部成员信息,并将需要加入第一VR的接入设备添加到添加更新列表中。Step 213: Confirm that all member information in the first VR needs to be added, and add the access device that needs to join the first VR to the added update list.
步骤213包括:Step 213 includes:
步骤2131,确认是否将第一接入设备加入第一VR,如果是,将第一接入设备添加到添加更新列表中,如果否,结束流程。Step 2131: Confirm whether the first access device is added to the first VR, and if yes, add the first access device to the add update list, and if no, end the process.
步骤2131包括:检测第一接入设备是否对应网络中的一个VR,如果是,则结束流程,如果否,将第一接入设备加入到第一VR。 Step 2131 includes: detecting whether the first access device corresponds to one VR in the network, and if yes, ending the process, and if not, adding the first access device to the first VR.
步骤2132,确认是否将第一接入设备直接相连的一个或多个第三接入设备加入第一VR,并继续判断第三接入设备的邻居节点,直至遍历所有的网络节点,将需要加入的接入设备添加到添加更新列表中。In step 2132, it is confirmed whether one or more third access devices directly connected to the first access device are added to the first VR, and the neighbor nodes of the third access device are continuously determined until all network nodes are traversed, and the network access node needs to join. The access device is added to the list of added updates.
其中,首先,获取与新增的第一接入设备直接相连的一个或多个第三接入设备;其中,第三接入设备不是网络中已有的接入设备;First, one or more third access devices directly connected to the newly added first access device are obtained; wherein the third access device is not an existing access device in the network;
然后,检测每个第三接入设备是否对应一个VR,并将没有对应一个VR 的第三接入设备加入到添加更新列表中,在检测全部第三接入设备之后,继续判断第三接入设备的邻居节点,如果第三接入设备的邻居节点没有对应一个VR,则将该邻居节点加入到添加更新列表中,重复上述过程直至遍历网络中所有的节点。Then, it is detected whether each third access device corresponds to one VR, and there is no corresponding VR The third access device joins the add update list, and after detecting all the third access devices, continues to determine the neighbor node of the third access device, and if the neighbor node of the third access device does not correspond to a VR, The neighbor node joins the add update list and repeats the above process until all nodes in the network are traversed.
步骤214,检测第一VR的业务路径是否受到扩容的影响,当业务路径受到影响时,将第一VR的业务路径切换到其他的路径。步骤214也可以放在步骤212之后。In step 214, it is detected whether the service path of the first VR is affected by the expansion. When the service path is affected, the service path of the first VR is switched to another path. Step 214 can also be placed after step 212.
步骤215,根据添加更新列表更新第一VR的成员信息。即,在第一VR中存储添加更新列表中接入设备的信息,Step 215: Update the member information of the first VR according to the added update list. That is, storing information of the access device in the update list in the first VR,
参见图5C,本发明实施例提出了一种实现接入设备扩缩容的方法中步骤220的示意图,结合图5C,步骤220中,所述当扩缩容变化为缩容变化时,根据删减的第五接入设备进行VR信息的更新包括:Referring to FIG. 5C, the embodiment of the present invention provides a schematic diagram of step 220 in the method for implementing the expansion and contraction of the access device. In combination with FIG. 5C, in step 220, when the expansion and contraction change is changed to a volume change, according to the deletion. The fifth update device that performs the update of the VR information includes:
步骤221,设定定时器。In step 221, a timer is set.
步骤222,检测第五接入设备对应的第二VR的业务路径是否受到缩容的影响,当业务路径受到影响时,将第二VR的业务路径切换到其他的路径。该步骤也可以放在步骤223之后、步骤224之前。Step 222: It is detected whether the service path of the second VR corresponding to the fifth access device is affected by the shrinkage. When the service path is affected, the service path of the second VR is switched to another path. This step can also be placed after step 223 and before step 224.
步骤223,确认需要从第二VR中删除的全部成员信息,并将需要从第二VR中删除的接入设备添加到删除更新列表中。Step 223, confirm all the member information that needs to be deleted from the second VR, and add the access device that needs to be deleted from the second VR to the delete update list.
步骤2231,将第五接入设备加入删除更新列表中;Step 2231: Add the fifth access device to the delete update list.
步骤2232,检测第五接入设备是否与第二VR中的其他的接入设备相连;Step 2232: Check whether the fifth access device is connected to other access devices in the second VR.
其中,步骤2231和步骤2232的顺序可以更换。The order of step 2231 and step 2232 can be replaced.
步骤2233,如果与其他的接入设备直接相连,针对与第五接入设备直接相连的一个或多个第六接入设备,对每个第六接入设备进行检测,如果一个第六接入设备属于第五接入设备对应的VR,并且只有通过第五接入设备才能到达网络的汇聚设备,则将该第六接入设备添加至删除更新列表中,继续检测每个第六接入设备的邻居节点,如果一个邻居节点对应的接入设备属于第五接入设备对应的VR,并且只有通过第五接入设备才能到达网络的汇聚设备,则将该邻居节点对应的接入设备添加至删除更新列表中,重复上述过程 直至遍历网络中所有的节点。Step 2233: If directly connected to other access devices, perform detection on each sixth access device for one or more sixth access devices directly connected to the fifth access device, if a sixth access The device belongs to the VR corresponding to the fifth access device, and only the fifth access device can reach the aggregation device of the network, and then adds the sixth access device to the deletion update list, and continues to detect each sixth access device. The neighboring node, if the access device corresponding to the neighboring node belongs to the VR corresponding to the fifth access device, and only the fifth access device can reach the aggregation device of the network, the access device corresponding to the neighbor node is added to the neighboring node. Delete the update list and repeat the above process Until traversing all the nodes in the network.
步骤224,在定时器到时或接收到用户发送的确认指令时,在第二VR中删除上述删除更新列表中的接入设备的信息,根据删除更新列表更新第二VR的成员信息。In step 224, when the timer expires or the confirmation command sent by the user is received, the information of the access device in the deletion update list is deleted in the second VR, and the member information of the second VR is updated according to the deletion update list.
步骤300,对扩缩容变化对应的接入设备执行对应的配置。Step 300: Perform corresponding configuration on the access device corresponding to the expansion and contraction change.
可选地,对于扩容操作,步骤300包括:对添加更新列表中的接入设备进行业务管理配置,包括:针对添加更新列表中的接入设备,在所述接入设备上分别创建到每个汇聚设备的隧道及接入设备的OAM和QoS配置。其中,由业务管理单元通过和接入设备之间的协议接口下发到接入设备。Optionally, for the capacity expansion operation, the step 300 includes: performing a service management configuration on the access device in the add update list, including: creating, for each access device, an access device in the update list. OAM and QoS configuration of the tunnel and access device of the aggregation device. The service management unit sends the information to the access device through a protocol interface between the access device and the access device.
对于缩容操作,步骤300包括:针对删除更新列表中的接入设备,清除每个接入设备上的隧道、以及OAM配置。其中,可以由业务管理单元通过和接入设备之间的协议接口下发到接入设备。For the shrinking operation, step 300 includes clearing the tunnels on each access device and the OAM configuration for the access devices in the delete update list. The service management unit can be delivered to the access device through a protocol interface between the access device and the access device.
本发明实施例提供了一种实现接入设备扩缩容的方法,尤其是一种基于SDN的IPRAN/PTN接入设备扩缩容的方法,通过对SDN网络的拓扑分析,自动计算扩缩容之后的物理拓扑、业务拓扑、数据流量转发路径等信息,并且可以通过推送到APP及时呈现变更。使用该方案进行扩缩容操作,只要维护人员插拔和其他接入设备的互联端口或者通过网络管理***APP一键式的操作下发扩缩容指令,即可完成物理拓扑自动检测、业务保护路径自动倒换、VR成员信息自动变更以及原有业务拓扑、流量转发路径的变更。整个流程及其简单,大大简化了扩缩容流程,提高了运营商维护IPRAN/PTN接入网络扩缩容的效率,降低了维护成本。The embodiment of the invention provides a method for realizing the expansion and contraction of an access device, in particular, a method for expanding and shrinking an IPRAN/PTN access device based on SDN, and automatically calculating the expansion and contraction by performing topology analysis on the SDN network. After the physical topology, service topology, data traffic forwarding path and other information, and can be pushed to the APP to present changes in a timely manner. This solution can be used to expand and shrink the capacity. As long as the maintenance personnel plugs in and out the interconnection ports of other access devices or sends the expansion and contraction commands through the one-click operation of the network management system APP, the physical topology automatic detection and service protection can be completed. Automatic path switching, automatic change of VR member information, and changes to the original service topology and traffic forwarding path. The whole process and its simplicity greatly simplify the expansion and contraction process, improve the efficiency of operators to maintain IPRAN/PTN access network expansion and shrinkage, and reduce maintenance costs.
本发明实施例还提供了一种计算机存储介质,所述计算机存储介质中存储有计算机可执行指令,所述计算机可执行指令用于上述的方法。The embodiment of the invention further provides a computer storage medium, wherein the computer storage medium stores computer executable instructions, and the computer executable instructions are used in the above method.
下面结合具体的实施场景进行示例性的说明。An exemplary description will be made below in conjunction with a specific implementation scenario.
实施例1:一个简单扩容过程的示例。Embodiment 1: An example of a simple expansion process.
图6A为本发明实施例1的网络组成示意,结合图6A给出了一个简单扩容过程的示例。 FIG. 6A is a schematic diagram of a network composition according to Embodiment 1 of the present invention, and an example of a simple capacity expansion process is given in conjunction with FIG. 6A.
图中A1和A2、A2和B2、A1和B1之间可以有多个相同的接入A设备,这里简化只显示2个A设备,接入网络的扩容可以在A1和A2、A2和B2、A1和B1之间进行,此实施例在接入网络中新增一个A设备即A3进行扩容,实现接入设备扩缩容的方法包括如下步骤:In the figure, there may be multiple identical access A devices between A1 and A2, A2 and B2, and A1 and B1. Here, only two A devices are displayed. The expansion of the access network can be in A1 and A2, A2 and B2. A method is performed between A1 and B1. In this embodiment, a new A device, that is, A3, is added to the access network to expand the capacity. The method for expanding and shrinking the access device includes the following steps:
步骤11:用户使用连线把A3连接到A1上,或者用户通过网络管理***APP一键式的操作下发扩容指令,指定新增设备A3Step 11: The user connects the A3 to the A1 by using the connection, or the user sends a capacity expansion command through the one-touch operation of the network management system APP to specify the newly added device A3.
步骤12:拓扑执行单元通过轮询或者解析设备TRAP告警感知物理拓扑的变化Step 12: The topology execution unit perceives the change of the physical topology by polling or parsing the device TRAP alarm.
步骤13:数据计算单元检测计算新增节点A3与A1直接相连,计算A1所属VR,检测A3不属于此VR以及其他VR而且没有再与其他设备相连,存储A3设备信息,流程图如图5B所示,计算此VR业务信息,如果原有业务路径受扩容影响,切换该业务路径Step 13: The data calculation unit detects that the newly added node A3 is directly connected to A1, calculates the VR to which A1 belongs, and detects that A3 does not belong to the VR and other VRs, and is not connected to other devices, and stores A3 device information, and the flowchart is as shown in FIG. 5B. The VR service information is calculated, and if the original service path is affected by the expansion, the service path is switched.
步骤14:更新A1所属VR成员信息Step 14: Update the VR member information to which A1 belongs.
步骤15:业务管理单元在A3上分别创建到B1B2设备的隧道及其OAM、QoS配置,通过和设备之间的协议接口下发到设备。Step 15: The service management unit creates a tunnel to the B1B2 device and its OAM and QoS configuration on the A3, and sends the tunnel to the device through the protocol interface between the device and the device.
实施例2:一个复杂扩容过程的示例。Embodiment 2: An example of a complicated expansion process.
图6B为本发明实施例2的网络组成示意,结合图6B给出了一个复杂扩容过程的示例。FIG. 6B is a schematic diagram of a network composition according to Embodiment 2 of the present invention, and an example of a complex expansion process is shown in FIG. 6B.
图中A1和A2、A2和B2、A1和B1之间可以有多个相同的接入A设备,这里简化只显示2个A设备,接入网络的扩容可以在A1和A2、A2和B2、A1和B1之间进行,此实施例在接入网络中新增若干个A设备即A3、A4、A5进行扩容,包括如下步骤:In the figure, there may be multiple identical access A devices between A1 and A2, A2 and B2, and A1 and B1. Here, only two A devices are displayed. The expansion of the access network can be in A1 and A2, A2 and B2. A1 and B1 are performed. In this embodiment, a number of A devices, namely A3, A4, and A5, are added to the access network for expansion, including the following steps:
步骤21:用户使用连线把A3连接到A1上,或者用户通过本网络管理***APP一键式的操作下发扩容指令,指定新增设备A3Step 21: The user connects the A3 to the A1 by using the connection, or the user sends a capacity expansion command through the one-touch operation of the network management system APP, and specifies the newly added device A3.
步骤22:拓扑执行单元通过轮询或者解析设备TRAP告警感知物理拓扑的变化Step 22: The topology execution unit perceives the change of the physical topology by polling or parsing the device TRAP alarm.
步骤23:数据计算单元检测计算新增节点A3与A1直接相连,计算A1 所属VR,检测到A3与A4、A5、O1设备直连,那么继续检测A4、A5、O1设备以及其直连设备,O1、O2、O3属于其他VR,停止检测,存储A3、A4、A5设备信息,计算此VR业务信息,如果原有业务路径受扩容影响,切换该业务路径Step 23: The data calculation unit detects that the newly added node A3 is directly connected to A1, and calculates A1. The VR detects that A3 is directly connected to A4, A5, and O1 devices, and then continues to detect A4, A5, and O1 devices and their directly connected devices. O1, O2, and O3 belong to other VRs, stop detecting, and store A3, A4, and A5 devices. Information, calculate the VR service information, if the original service path is affected by the expansion, switch the service path
步骤24:更新A1所属VR成员信息Step 24: Update the VR member information to which A1 belongs.
步骤25:业务管理模块在A3、A4、A5上分别创建到B1B2设备的隧道及其OAM、QoS配置,通过和设备之间的协议接口下发到设备。Step 25: The service management module creates a tunnel to the B1B2 device and its OAM and QoS configuration on the A3, A4, and A5, and sends the tunnel to the device through the protocol interface between the device and the device.
实施例3:一个简单缩容过程的示例。Embodiment 3: An example of a simple shrinking process.
在实施例3中,将结合图6A给出了一个简单缩容过程的示例。In Embodiment 3, an example of a simple contraction process will be given in conjunction with FIG. 6A.
图中A1和A3、A3和A2、A2和B2、A1和B1之间可以有多个相同的接入A设备,这里简化只显示3个A设备,接入网络的缩容可以去掉B以外的其他任意A设备,本实施例去掉A3,即在接入网络中缩减一个A设备。本发明实施例的方法应用于快速实现接入网络设备的缩容,包括如下步骤:In the figure, there may be multiple identical access A devices between A1 and A3, A3 and A2, A2 and B2, A1 and B1. Here, only three A devices are displayed. The shrinkage of the access network can be removed from B. For any other A device, this embodiment removes A3, that is, reduces an A device in the access network. The method of the embodiment of the present invention is applied to rapidly implement the capacity reduction of the access network device, and includes the following steps:
步骤31:用户直接断掉A1A3之间的连线,或者用户通过网络管理***APP一键式的操作下发缩容指令,指定缩容设备A3Step 31: The user directly disconnects the connection between the A1A3s, or the user sends a reduction command through the one-touch operation of the network management system APP, and specifies the volume reduction device A3.
步骤32:拓扑执行单元通过轮询或者解析设备TRAP告警感知物理拓扑的变化Step 32: The topology execution unit perceives the change of the physical topology by polling or parsing the device TRAP alarm.
步骤33:拓扑执行单元检测到缩容操作,设定定时器Step 33: The topology execution unit detects the shrinkage operation and sets the timer.
步骤34:数据计算单元检测计算缩容节点A3所在VR的业务,如果业务路径受缩容影响,则切换业务路径到可用路径Step 34: The data calculation unit detects the service of the VR where the contraction node A3 is located, and if the service path is affected by the contraction, switches the service path to the available path.
步骤35:数据计算单元检测A3不再与其所在VR的其他设备相连,存储缩容节点A3数据信息Step 35: The data calculation unit detects that A3 is no longer connected to other devices of the VR in which it is located, and stores data information of the contraction node A3.
步骤36:定时器到时或者接收到用户确认指令,数据计算单元更新VR成员信息,去掉缩容节点A3Step 36: When the timer expires or receives a user confirmation command, the data calculation unit updates the VR member information, and removes the condensed node A3.
步骤37:业务管理单元下发命令,清除缩容节点A3上的隧道、OAM配置。 Step 37: The service management unit sends a command to clear the tunnel and OAM configuration on the condensed node A3.
实施例4:一个复杂缩容过程的示例。Embodiment 4: An example of a complex contraction process.
在实施例4中,将结合图6C给出了一个复杂缩容过程的示例。如图6C所示,在接入网络的缩容可以去掉B以外的其他任意A设备,本实施例中缩容去掉A3以及与A3直连的其他设备,本发明实施例的方法应用于快速实现接入网络设备的缩容,包括如下步骤:In Embodiment 4, an example of a complex condensing process will be given in conjunction with FIG. 6C. As shown in FIG. 6C, the suffix of the access network can be used to remove any other device except the B. In this embodiment, the A3 and other devices directly connected to the A3 are removed. The method in the embodiment of the present invention is applied to the fast implementation. The shrinkage of the access network device includes the following steps:
步骤41:用户直接断掉A1和A3之间的连线,或者用户通过网络管理***APP一键式的操作下发缩容指令,指定对接入设备A3进行缩容操作。Step 41: The user directly disconnects the connection between A1 and A3, or the user sends a shrinking command through a one-touch operation of the network management system APP, and specifies to perform a shrinking operation on the access device A3.
步骤42:拓扑执行单元通过轮询或者解析设备TRAP告警感知物理拓扑的变化。Step 42: The topology execution unit perceives the change of the physical topology by polling or parsing the device TRAP alarm.
步骤43:拓扑执行单元检测到缩容操作,设定定时器。Step 43: The topology execution unit detects the shrinking operation and sets a timer.
步骤44:数据计算单元检测计算缩容节点A3所在VR的业务,如果业务路径受缩容影响,则切换业务路径到可用路径。Step 44: The data calculation unit detects the service of the VR where the contraction node A3 is located, and if the service path is affected by the contraction, switches the service path to the available path.
步骤45:数据计算单元检测A3与A4O1直连,继续检测A4O1以及其邻居节点,如果节点属于A3所在的VR并且此节点只有通过缩容节点才能达到B设备,如图6C中的A4,那么,存储此节点信息,直到遍历完所有节点数据。Step 45: The data calculation unit detects that A3 is directly connected to A4O1, and continues to detect A4O1 and its neighbor nodes. If the node belongs to the VR where A3 is located and the node can only reach the B device by shrinking the node, as shown in A4 in FIG. 6C, then This node information is stored until all node data has been traversed.
步骤46:定时器到时或者接收到用户确认指令,数据计算单元更新VR成员信息,去掉缩容节点A3以及A4。Step 46: When the timer expires or receives a user confirmation command, the data calculation unit updates the VR member information, and removes the contraction nodes A3 and A4.
步骤47:业务管理单元下发命令,清除缩容节点A3以及A4上的隧道、OAM配置。Step 47: The service management unit sends a command to clear the tunnel and OAM configuration on the condensed nodes A3 and A4.
基于与上述方法实施例相同或相似的构思,本发明实施例还提供一种实现接入设备扩缩容的装置,参见图7,为本发明实施例提出的一种实现接入设备扩缩容的装置的结构示意图,所述装置包括:Based on the same or similar concepts as the foregoing method embodiments, the embodiment of the present invention further provides an apparatus for implementing expansion and contraction of an access device. Referring to FIG. 7 , an implementation of an access device is disclosed. Schematic diagram of the device, the device comprising:
拓扑执行单元10,设置为检测网络的物理拓扑是否发生扩缩容变化;The topology execution unit 10 is configured to detect whether a physical topology of the network changes in expansion or contraction;
本发明实施例中,拓扑执行单元10可以在用户插拔和其他接入设备的互联端口、或者用户发送扩缩容指令时,检测网络的物理拓扑的变化。 In the embodiment of the present invention, the topology execution unit 10 may detect a change in the physical topology of the network when the user plugs in and disconnects with other access devices or when the user sends an expansion and contraction instruction.
数据计算单元20,设置为当检测到所述网络的物理拓扑发生扩缩容变化时,根据扩缩容变化进行虚拟路由器VR信息的更新;The data calculation unit 20 is configured to: when detecting a change in the physical topology of the network, perform update of the virtual router VR information according to the expansion and contraction change;
业务管理单元30,设置为对扩缩容变化对应的接入设备执行对应的配置。The service management unit 30 is configured to perform a corresponding configuration on the access device corresponding to the expansion and contraction change.
本发明实施例中,所述拓扑执行单元10包括如下模块中的至少一个:In the embodiment of the present invention, the topology execution unit 10 includes at least one of the following modules:
第一拓扑模块,设置为通过定时轮询拓扑信息,获知网络的物理拓扑是否发生扩缩容变化;The first topology module is configured to periodically scan the topology information to learn whether the physical topology of the network changes.
第二拓扑模块,设置为根据设备Trap消息生成的设备相关告警,通过分析所述设备相关告警完成网络的物理拓扑的更新,通过所述网络的物理拓扑的更新获知网络的物理拓扑是否发生扩缩容变化。The second topology module is configured to update the physical topology of the network by analyzing the device-related alarms according to the device-related alarms generated by the device trap message, and learn whether the physical topology of the network is expanded or not by updating the physical topology of the network. Change the volume.
本发明实施例中,所述数据计算单元20包括:扩容模块,设置为当扩缩容变化为扩容变化时,根据新增的第一接入设备确认需要加入VR中的全部成员信息,并根据所述全部成员信息更新VR的成员信息。In the embodiment of the present invention, the data calculation unit 20 includes: an expansion module, configured to confirm that all member information that needs to be added to the VR is added according to the newly added first access device when the expansion and contraction change is changed to a capacity change, and according to The member information updates the member information of the VR.
本发明实施例中,所述扩容模块包括:In the embodiment of the present invention, the expansion module includes:
第一VR获取子模块,设置为获取与新增的第一接入设备直接相连的第二接入设备,并获取所述第二接入设备对应的第一VR;The first VR acquisition sub-module is configured to acquire a second access device directly connected to the newly added first access device, and obtain a first VR corresponding to the second access device;
添加更新列表子模块,设置为确认需要加入所述第一VR中的全部成员信息,并将需要加入所述第一VR的接入设备添加到所述添加更新列表中;Adding an update list sub-module, setting to confirm that all member information in the first VR needs to be added, and adding an access device that needs to join the first VR to the added update list;
扩容VR更新子模块,设置为根据所述添加更新列表对应地更新所述第一VR的成员信息。The capacity expansion VR update submodule is configured to update the member information of the first VR correspondingly according to the added update list.
本发明实施例中,所述添加更新列表子模块是设置为:In the embodiment of the present invention, the adding update list submodule is set to:
确认是否将所述第一接入设备加入所述第一VR,如果是,将所述第一接入设备添加到所述添加更新列表中;Determining whether the first access device is added to the first VR, and if yes, adding the first access device to the added update list;
确认是否将所述第一接入设备直接相连的一个或多个第三接入设备加入所述第一VR,并继续判断所述一个或多个第三接入设备的邻居节点,直至遍历所有的网络节点,将需要加入的接入设备添加到所述添加更新列表中。Determining whether the one or more third access devices directly connected to the first access device join the first VR, and continue to determine the neighbor nodes of the one or more third access devices until all the devices are traversed Network node that adds the access device that needs to be added to the list of added updates.
本发明实施例中,所述扩容模块还包括:扩容业务切换子模块,设置为检测所述第一VR的业务路径是否受到扩容的影响,当业务路径受到影响时, 将所述第一VR的业务路径切换到其他的路径;In the embodiment of the present invention, the expansion module further includes: a capacity expansion service switching sub-module, configured to detect whether the service path of the first VR is affected by the expansion, and when the service path is affected, Switching the service path of the first VR to another path;
所述业务管理单元30是设置为对所述添加更新列表中的接入设备进行业务管理配置;其中,所述业务管理配置包括创建隧道、操作维护管理OAM、服务质量QoS配置。The service management unit 30 is configured to perform a service management configuration on the access device in the added update list, where the service management configuration includes creating a tunnel, operating maintenance management OAM, and quality of service QoS configuration.
本发明实施例中,所述数据计算单元20包括:In the embodiment of the present invention, the data calculation unit 20 includes:
缩容模块,设置为当扩缩容变化为缩容变化时,根据删减的第五接入设备确认需要从VR中删除的全部成员信息,并根据所述全部成员信息更新VR的成员信息。The volume reduction module is configured to: when the expansion and contraction changes to a contraction change, confirm, according to the deleted fifth access device, all member information that needs to be deleted from the VR, and update the member information of the VR according to the all member information.
本发明实施例中,所述缩容模块包括:In the embodiment of the present invention, the volume reduction module includes:
定时器子模块,设置为设定定时器;a timer sub-module, set to set a timer;
删除更新列表子模块,设置为确认需要从所述第五接入设备对应的第二VR中删除的全部成员信息,并将需要从所述第二VR中删除的接入设备添加到删除更新列表中;Deleting an update list sub-module, setting to confirm all member information that needs to be deleted from the second VR corresponding to the fifth access device, and adding an access device that needs to be deleted from the second VR to the delete update list in;
缩容VR更新子模块,设置为在所述定时器到时或接收到确认指令时,在所述第二VR中删除所述删除更新列表中的接入设备的信息,根据所述删除更新列表对应地更新所述第二VR的成员信息。The VR update sub-module is configured to delete the information of the access device in the delete update list in the second VR when the timer expires or when receiving the confirmation command, and update the update list according to the deletion Correspondingly updating the member information of the second VR.
本发明实施例中,所述删除更新列表子模块是设置为:In the embodiment of the present invention, the delete update list submodule is set to:
将第五接入设备加入所述删除更新列表中;Adding the fifth access device to the deletion update list;
检测所述第五接入设备是否与所述第二VR中的其他的接入设备相连;Detecting whether the fifth access device is connected to other access devices in the second VR;
如果与其他的接入设备直接相连,针对与所述第五接入设备直接相连的一个或多个第六接入设备,对每个第六接入设备进行检测,如果一个第六接入设备属于所述第五接入设备对应的所述第二VR,并且只有通过所述第五接入设备才能到达网络的汇聚设备,则将该第六接入设备添加至所述删除更新列表中,继续检测每个第六接入设备的邻居节点,如果一个邻居节点对应的接入设备属于所述第五接入设备对应的所述第二VR,并且只有通过所述第五接入设备才能到达网络的汇聚设备,则将该邻居节点对应的接入设备添加至所述删除更新列表中,重复上述过程直至遍历网络中所有的节点。If it is directly connected to other access devices, for each of the sixth access devices directly connected to the fifth access device, each sixth access device is detected, if a sixth access device And the second VR that belongs to the fifth access device, and only the fifth access device can reach the aggregation update device by using the fifth access device, and adding the sixth access device to the deletion update list. Continuing to detect the neighboring node of each sixth access device, if the access device corresponding to one neighboring node belongs to the second VR corresponding to the fifth access device, and only through the fifth access device The aggregation device of the network adds the access device corresponding to the neighbor node to the deletion update list, and repeats the process until all nodes in the network are traversed.
本发明实施例中,所述缩容模块还包括: In the embodiment of the present invention, the volume reduction module further includes:
缩容业务切换子模块,设置为检测所述第五接入设备对应的第二VR的业务路径是否受到缩容的影响,当业务路径受到影响时,将第二VR的业务路径切换到其他的路径;The service switching sub-module is configured to detect whether the service path of the second VR corresponding to the fifth access device is affected by the shrinkage. When the service path is affected, the service path of the second VR is switched to another path;
所述业务管理单元30是设置为针对所述删除更新列表中的接入设备,清除每个接入设备上的隧道、以及OAM配置The service management unit 30 is configured to clear the tunnel on each access device and the OAM configuration for the access device in the deletion update list.
本发明实施例提供的实现接入设备扩缩容的方法可以通过一种网络管理***APP实现。本发明实施例提供的实现接入设备扩缩容装置中的网络管理***APP可以基于WEB实现,通过应用层协议(例如REST接口等)调用SDN控制器提供的接口,来获取SDN控制器管理的设备拓扑与业务信息,或者触发多种指令,并且主动接收SDN控制器推送的每种变更信息,并且能够将每种变更消息实时呈现给用户,如图8所示,用户可以通过一键操作APP或其他管理***看到每种变更消息。本发明实施例提供的网络管理***APP通过应用层协议调用控制器接口创建虚拟路由器,或者执行扩容指令的时候,所需的设备信息可以由其他管理***提供,该***具有网络的拓扑数据,因此该子***是可选的。The method for implementing the expansion and contraction of an access device provided by the embodiment of the present invention can be implemented by using a network management system APP. The network management system APP in the device for implementing the access device expansion and contraction provided by the embodiment of the present invention may be implemented based on the WEB, and invoke an interface provided by the SDN controller through an application layer protocol (such as a REST interface) to obtain an SDN controller management. Device topology and service information, or trigger a variety of instructions, and actively receive each type of change information pushed by the SDN controller, and can present each change message to the user in real time, as shown in FIG. 8, the user can operate the APP by one button. Or other management systems see each change message. When the network management system APP provided by the embodiment of the present invention invokes the controller interface to create a virtual router by using an application layer protocol, or when the expansion instruction is executed, the required device information may be provided by other management systems, and the system has network topology data. This subsystem is optional.
通过对SDN网络的拓扑分析,自动计算扩缩容之后的物理拓扑、业务拓扑、数据流量转发路径等信息,并且可以将计算出的物理拓扑、业务拓扑、数据流量转发路径等信息,推送到APP及时呈现变更。在使用本发明实施例提供的实现接入设备扩缩容的方法进行扩缩容操作时,只要维护人员插拔和其他接入设备的互联端口、或者通过网络管理***APP一键式的操作下发扩缩容指令,即可完成物理拓扑自动检测、业务保护路径自动倒换、VR成员信息自动变更以及原有业务拓扑、流量转发路径的变更。整个流程及其简单,大大简化了扩缩容流程,提高了运营商维护IPRAN/PTN接入网络扩缩容的效率,降低了维护成本。Through the topology analysis of the SDN network, the information such as the physical topology, the service topology, and the data traffic forwarding path after the expansion and contraction is automatically calculated, and the calculated physical topology, service topology, and data traffic forwarding path can be pushed to the APP. Present changes in a timely manner. When the expansion and contraction operation is performed by using the method for realizing the expansion and contraction of the access device provided by the embodiment of the present invention, the maintenance personnel can be plugged and unplugged with other access devices, or operated by the network management system APP under one-touch operation. The automatic expansion of the physical topology, the automatic switching of the service protection path, the automatic change of the VR member information, and the change of the original service topology and the traffic forwarding path can be completed. The whole process and its simplicity greatly simplify the expansion and contraction process, improve the efficiency of operators to maintain IPRAN/PTN access network expansion and shrinkage, and reduce maintenance costs.
设置为本领域普通技术人员可以理解上述方法中的全部或部分步骤可通过程序来指令相关硬件(例如处理器)完成,所述程序可以存储于计算机可读存储介质中,如只读存储器、磁盘或光盘等。可选地,上述实施例的全部 或部分步骤也可以使用一个或多个集成电路来实现。相应地,上述实施例中的各模块/单元可以采用硬件的形式实现,例如通过集成电路来实现其相应功能,也可以采用软件功能模块的形式实现,例如通过处理器执行存储于存储器中的程序/指令来实现其相应功能。本发明不限制于任何特定形式的硬件和软件的结合。It will be understood by those skilled in the art that all or part of the above steps may be completed by a program to instruct related hardware (for example, a processor), and the program may be stored in a computer readable storage medium such as a read only memory or a disk. Or a CD or the like. Optionally, all of the above embodiments Alternatively, some of the steps may be implemented using one or more integrated circuits. Correspondingly, each module/unit in the above embodiment may be implemented in the form of hardware, for example, by implementing an integrated circuit to implement its corresponding function, or may be implemented in the form of a software function module, for example, executing a program stored in the memory by a processor. / instruction to achieve its corresponding function. The invention is not limited to any specific form of combination of hardware and software.
本领域的普通技术人员应当理解,可以对本发明的技术方案进行修改或者等同替换,而不脱离本发明技术方案的精神和范围,均应涵盖在本发明的权利要求范围当中。It should be understood by those skilled in the art that the present invention may be modified or equivalently substituted without departing from the spirit and scope of the invention.
工业实用性Industrial applicability
上述技术方案能够自动完成扩缩容过程中的VR信息的更新对扩缩容的节点进行配置等操作,降低了对维护人员的业务能力的要求,降低了网络维护的难度和成本。 The foregoing technical solution can automatically complete the operation of configuring the expansion and contraction of the VR information in the process of expanding and contracting, reducing the requirement for the maintenance personnel, and reducing the difficulty and cost of network maintenance.

Claims (18)

  1. 一种实现接入设备扩缩容的方法,所述方法包括:A method for implementing expansion and contraction of an access device, the method comprising:
    检测网络的物理拓扑是否发生扩缩容变化;Check whether the physical topology of the network has undergone expansion and contraction changes;
    当检测到所述网络的物理拓扑发生扩缩容变化时,根据扩缩容变化进行虚拟路由器VR信息的更新;When it is detected that the physical topology of the network is changed, the virtual router VR information is updated according to the expansion and contraction change;
    对扩缩容变化对应的接入设备执行对应的配置。The corresponding configuration is performed on the access device corresponding to the expansion and contraction change.
  2. 根据权利要求1所述的方法,其中,所述检测网络的物理拓扑是否发生扩缩容变化包括如下方式中的至少一种:The method according to claim 1, wherein the detecting whether the physical topology of the network has undergone expansion and contraction changes comprises at least one of the following:
    通过定时轮询拓扑信息,获知网络的物理拓扑是否发生扩缩容变化;By periodically polling the topology information, it is learned whether the physical topology of the network has undergone expansion and contraction changes;
    根据设备Trap消息生成设备相关告警,通过分析所述设备相关告警完成网络的物理拓扑的更新,通过所述网络的物理拓扑的更新获知网络的物理拓扑是否发生扩缩容变化。A device-related alarm is generated according to the device Trap message, and the physical topology of the network is updated by analyzing the device-related alarms, and the physical topology of the network is updated to know whether the physical topology of the network has undergone expansion and contraction changes.
  3. 根据权利要求1所述的方法,其中,所述当检测到所述网络的物理拓扑发生扩缩容变化时,根据扩缩容变化进行VR信息的更新包括:The method of claim 1, wherein the updating of the VR information according to the expansion and contraction change when the physical topology of the network is detected to undergo a change in the expansion and contraction comprises:
    当扩缩容变化为扩容变化时,根据新增的第一接入设备确认需要加入VR中的全部成员信息,并根据所述全部成员信息更新VR的成员信息。When the expansion and contraction change is changed to the capacity expansion, all the member information that needs to be added to the VR is confirmed according to the newly added first access device, and the member information of the VR is updated according to the all member information.
  4. 根据权利要求3所述的方法,其中,The method of claim 3, wherein
    所述根据新增的第一接入设备确认需要加入VR中的全部成员信息,并根据所述全部成员信息更新VR的成员信息包括:The updating, according to the newly added first access device, all member information that needs to be added to the VR, and updating the member information of the VR according to the all member information includes:
    获取与新增的第一接入设备直接相连的第二接入设备,并获取所述第二接入设备对应的第一VR;Obtaining a second access device directly connected to the newly added first access device, and acquiring a first VR corresponding to the second access device;
    确认需要加入所述第一VR中的全部成员信息,并将需要加入所述第一VR的接入设备添加到添加更新列表中;Confirming that all member information in the first VR needs to be added, and adding an access device that needs to join the first VR to the add update list;
    根据所述添加更新列表更新所述第一VR的成员信息。Updating the member information of the first VR according to the added update list.
  5. 根据权利要求4所述的方法,其中,所述确认需要加入第一VR中的全部成员信息,并将需要加入第一VR的接入设备添加到添加更新列表中包 括:The method according to claim 4, wherein said confirming needs to join all member information in the first VR, and adding an access device that needs to join the first VR to the package in the add update list include:
    确认是否将所述第一接入设备加入所述第一VR,如果是,将所述第一接入设备添加到所述添加更新列表中;Determining whether the first access device is added to the first VR, and if yes, adding the first access device to the added update list;
    确认是否将所述第一接入设备直接相连的一个或多个第三接入设备加入所述第一VR,并继续判断所述一个或多个第三接入设备的邻居节点,直至遍历所有的网络节点,将需要加入的接入设备添加到所述添加更新列表中。Determining whether the one or more third access devices directly connected to the first access device join the first VR, and continue to determine the neighbor nodes of the one or more third access devices until all the devices are traversed Network node that adds the access device that needs to be added to the list of added updates.
  6. 根据权利要求4所述的方法,还包括:The method of claim 4 further comprising:
    在所述根据所述添加更新列表对应地更新第一VR的成员信息之前,检测所述第一VR的业务路径是否受到扩容的影响,当业务路径受到影响时,将所述第一VR的业务路径切换到其他的路径;Before the member information of the first VR is updated correspondingly according to the added update list, detecting whether the service path of the first VR is affected by the expansion, and when the service path is affected, the service of the first VR is Switch the path to another path;
    所述对扩缩容变化对应的接入设备执行对应的配置包括:Performing the corresponding configuration on the access device corresponding to the expansion and contraction change includes:
    对所述添加更新列表中的接入设备进行业务管理配置;其中,所述业务管理配置包括创建隧道、操作维护管理OAM、服务质量QoS配置。Performing a service management configuration on the access device in the added update list, where the service management configuration includes creating a tunnel, operating maintenance management OAM, and quality of service QoS configuration.
  7. 根据权利要求1所述的方法,其中,所述当检测到所述网络的物理拓扑发生扩缩容变化时,根据扩缩容变化进行VR信息的更新包括:The method of claim 1, wherein the updating of the VR information according to the expansion and contraction change when the physical topology of the network is detected to undergo a change in the expansion and contraction comprises:
    当扩缩容变化为缩容变化时,根据删减的第五接入设备确认需要从VR中删除的全部成员信息,并根据所述全部成员信息更新VR的成员信息。When the expansion and contraction changes to a contraction change, all the member information that needs to be deleted from the VR is confirmed according to the deleted fifth access device, and the member information of the VR is updated according to the all member information.
  8. 根据权利要求7所述的方法,其中,所述根据删减的第五接入设备确认需要从VR中删除的全部成员信息,并根据所述全部成员信息更新VR的成员信息包括:The method according to claim 7, wherein the acknowledging the fifth access device to confirm all the member information that needs to be deleted from the VR, and updating the member information of the VR according to the all member information includes:
    设定定时器;Set a timer;
    确认需要从所述第五接入设备对应的第二VR中删除的全部成员信息,并将需要从所述第二VR中删除的接入设备添加到删除更新列表中;Identifying all member information that needs to be deleted from the second VR corresponding to the fifth access device, and adding the access device that needs to be deleted from the second VR to the delete update list;
    在所述定时器到时或接收到确认指令时,在所述第二VR中删除所述删除更新列表中的接入设备的信息,根据所述删除更新列表对应地更新所述第二VR的成员信息。And deleting the information of the access device in the deletion update list in the second VR when the timer expires or receiving the confirmation instruction, and updating the second VR according to the deletion update list. Member information.
  9. 根据权利要求8所述的方法,其中,所述确认需要从第二VR中删除 的全部成员信息,并将需要从第二VR中删除的接入设备添加到删除更新列表中包括:The method of claim 8 wherein said confirmation needs to be deleted from the second VR All member information, and the access device that needs to be removed from the second VR is added to the delete update list including:
    将第五接入设备加入所述删除更新列表中;Adding the fifth access device to the deletion update list;
    检测所述第五接入设备是否与所述第二VR中的其他的接入设备相连;Detecting whether the fifth access device is connected to other access devices in the second VR;
    如果与其他的接入设备直接相连,针对与所述第五接入设备直接相连的一个或多个第六接入设备,对每个第六接入设备进行检测,如果一个第六接入设备属于所述第五接入设备对应的所述第二VR,并且只有通过所述第五接入设备才能到达网络的汇聚设备,则将该第六接入设备添加至所述删除更新列表中,继续检测每个第六接入设备的邻居节点,如果一个邻居节点对应的接入设备属于所述第五接入设备对应的所述第二VR,并且只有通过所述第五接入设备才能到达网络的汇聚设备,则将该邻居节点对应的接入设备添加至所述删除更新列表中,重复上述过程直至遍历网络中所有的节点。If it is directly connected to other access devices, for each of the sixth access devices directly connected to the fifth access device, each sixth access device is detected, if a sixth access device And the second VR that belongs to the fifth access device, and only the fifth access device can reach the aggregation update device by using the fifth access device, and adding the sixth access device to the deletion update list. Continuing to detect the neighboring node of each sixth access device, if the access device corresponding to one neighboring node belongs to the second VR corresponding to the fifth access device, and only through the fifth access device The aggregation device of the network adds the access device corresponding to the neighbor node to the deletion update list, and repeats the process until all nodes in the network are traversed.
  10. 根据权利要求8所述的方法,还包括:The method of claim 8 further comprising:
    在所述根据所述删除更新列表对应地更新第二VR的成员信息之前,检测所述第五接入设备对应的第二VR的业务路径是否受到缩容的影响,当业务路径受到影响时,将第二VR的业务路径切换到其他的路径;Before the member information of the second VR is updated correspondingly according to the deletion update list, detecting whether the service path of the second VR corresponding to the fifth access device is affected by the shrinkage, when the service path is affected, Switching the service path of the second VR to another path;
    所述对扩缩容变化对应的接入设备执行对应的配置包括:Performing the corresponding configuration on the access device corresponding to the expansion and contraction change includes:
    针对所述删除更新列表中的接入设备,清除每个接入设备上的隧道、以及操作维护管理OAM配置。Clearing the tunnel on each access device and operating the maintenance management OAM configuration for the access device in the deletion update list.
  11. 一种实现接入设备扩缩容的装置,所述装置包括:An apparatus for realizing expansion and contraction of an access device, the device comprising:
    拓扑执行单元,设置为检测网络的物理拓扑是否发生扩缩容变化;The topology execution unit is configured to detect whether the physical topology of the network changes in expansion or contraction;
    数据计算单元,设置为当检测到所述网络的物理拓扑发生扩缩容变化时,根据扩缩容变化进行虚拟路由器VR信息的更新;a data calculation unit, configured to: when detecting a change in the physical topology of the network, update the virtual router VR information according to the expansion and contraction change;
    业务管理单元,设置为对扩缩容变化对应的接入设备执行对应的配置。The service management unit is configured to perform a corresponding configuration on the access device corresponding to the expansion and contraction change.
  12. 根据权利要求11所述的装置,其中,所述数据计算单元包括:The apparatus of claim 11, wherein the data calculation unit comprises:
    扩容模块,设置为当扩缩容变化为扩容变化时,根据新增的第一接入设备确认需要加入VR中的全部成员信息,并根据所述全部成员信息更新VR 的成员信息。The expansion module is configured to confirm that all member information needs to be added to the VR according to the newly added first access device, and update the VR according to all the member information. Member information.
  13. 根据权利要求12所述的装置,其中,The device according to claim 12, wherein
    所述扩容模块包括:The expansion module includes:
    第一VR获取子模块,设置为获取与新增的第一接入设备直接相连的第二接入设备,并获取所述第二接入设备对应的第一VR;The first VR acquisition sub-module is configured to acquire a second access device directly connected to the newly added first access device, and obtain a first VR corresponding to the second access device;
    添加更新列表子模块,设置为确认需要加入所述第一VR中的全部成员信息,并将需要加入所述第一VR的接入设备添加到所述添加更新列表中;Adding an update list sub-module, setting to confirm that all member information in the first VR needs to be added, and adding an access device that needs to join the first VR to the added update list;
    扩容VR更新子模块,设置为根据所述添加更新列表更新所述第一VR的成员信息。The capacity expansion VR update submodule is configured to update the member information of the first VR according to the added update list.
  14. 根据权利要求13所述的装置,其中,所述添加更新列表子模块是设置为:The apparatus of claim 13, wherein the add update list submodule is set to:
    确认是否将所述第一接入设备加入所述第一VR,如果是,将所述第一接入设备添加到所述添加更新列表中;Determining whether the first access device is added to the first VR, and if yes, adding the first access device to the added update list;
    确认是否将所述第一接入设备直接相连的一个或多个第三接入设备加入所述第一VR,并继续判断所述一个或多个第三接入设备的邻居节点,直至遍历所有的网络节点,将需要加入的接入设备添加到所述添加更新列表中。Determining whether the one or more third access devices directly connected to the first access device join the first VR, and continue to determine the neighbor nodes of the one or more third access devices until all the devices are traversed Network node that adds the access device that needs to be added to the list of added updates.
  15. 根据权利要求11所述的装置,其中,所述数据计算单元包括:The apparatus of claim 11, wherein the data calculation unit comprises:
    缩容模块,设置为当扩缩容变化为缩容变化时,根据删减的第五接入设备确认需要从VR中删除的全部成员信息,并根据所述全部成员信息更新VR的成员信息。The volume reduction module is configured to: when the expansion and contraction changes to a contraction change, confirm, according to the deleted fifth access device, all member information that needs to be deleted from the VR, and update the member information of the VR according to the all member information.
  16. 根据权利要求15所述的装置,其中,所述缩容模块包括:The apparatus according to claim 15, wherein the volume reduction module comprises:
    定时器子模块,设置为设定定时器;a timer sub-module, set to set a timer;
    删除更新列表子模块,设置为确认需要从所述第五接入设备对应的第二VR中删除的全部成员信息,并将需要从所述第二VR中删除的接入设备添加到删除更新列表中;Deleting an update list sub-module, setting to confirm all member information that needs to be deleted from the second VR corresponding to the fifth access device, and adding an access device that needs to be deleted from the second VR to the delete update list in;
    缩容VR更新子模块,设置为在所述定时器到时或接收到确认指令时,在所述第二VR中删除所述删除更新列表中的接入设备的信息,根据所述删 除更新列表对应地更新所述第二VR的成员信息。The VR update sub-module is configured to delete the information of the access device in the delete update list in the second VR when the timer expires or when a confirmation command is received, according to the deleting The member information of the second VR is updated correspondingly in addition to the update list.
  17. 根据权利要求16所述的装置,其中,The device according to claim 16, wherein
    所述删除更新列表子模块是设置为,将第五接入设备加入所述删除更新列表中;The delete update list submodule is configured to add the fifth access device to the delete update list;
    检测所述第五接入设备是否与所述第二VR中的其他的接入设备相连;Detecting whether the fifth access device is connected to other access devices in the second VR;
    如果与其他的接入设备直接相连,针对与所述第五接入设备直接相连的一个或多个第六接入设备,对每个第六接入设备进行检测,如果一个第六接入设备属于所述第五接入设备对应的所述第二VR,并且只有通过所述第五接入设备才能到达网络的汇聚设备,则将该第六接入设备添加至所述删除更新列表中,继续检测每个第六接入设备的邻居节点,如果一个邻居节点对应的接入设备属于所述第五接入设备对应的所述第二VR,并且只有通过所述第五接入设备才能到达网络的汇聚设备,则将该邻居节点对应的接入设备添加至所述删除更新列表中,重复上述过程直至遍历网络中所有的节点。If it is directly connected to other access devices, for each of the sixth access devices directly connected to the fifth access device, each sixth access device is detected, if a sixth access device And the second VR that belongs to the fifth access device, and only the fifth access device can reach the aggregation update device by using the fifth access device, and adding the sixth access device to the deletion update list. Continuing to detect the neighboring node of each sixth access device, if the access device corresponding to one neighboring node belongs to the second VR corresponding to the fifth access device, and only through the fifth access device The aggregation device of the network adds the access device corresponding to the neighbor node to the deletion update list, and repeats the process until all nodes in the network are traversed.
  18. 一种计算机存储介质,所述计算机存储介质中存储有计算机可执行指令,所述计算机可执行指令用于执行权利要求1~10中任一项所述的方法。 A computer storage medium having stored therein computer executable instructions for performing the method of any one of claims 1 to 10.
PCT/CN2016/075231 2015-08-31 2016-03-01 Method and device for achieving capacity expansion and reduction of access apparatus WO2016177049A1 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201510548547.XA CN106487558B (en) 2015-08-31 2015-08-31 A kind of method and apparatus for realizing the scalable appearance of access device
CN201510548547.X 2015-08-31

Publications (1)

Publication Number Publication Date
WO2016177049A1 true WO2016177049A1 (en) 2016-11-10

Family

ID=57217343

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2016/075231 WO2016177049A1 (en) 2015-08-31 2016-03-01 Method and device for achieving capacity expansion and reduction of access apparatus

Country Status (2)

Country Link
CN (1) CN106487558B (en)
WO (1) WO2016177049A1 (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111796768A (en) * 2020-06-30 2020-10-20 中国工商银行股份有限公司 Distributed service coordination method, device and system
CN113296794A (en) * 2021-05-25 2021-08-24 多点(深圳)数字科技有限公司 Software engineering management method and device, storage medium and electronic equipment
CN114155648A (en) * 2021-12-17 2022-03-08 广东天波信息技术股份有限公司 Maintenance method and system applied to intelligent express cabinet

Families Citing this family (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109299066A (en) * 2018-07-27 2019-02-01 阿里巴巴集团控股有限公司 A kind of data-base capacity-enlarging method and device
CN110855456B (en) * 2018-08-20 2022-09-30 阿里巴巴集团控股有限公司 Network change method and equipment
CN111404711B (en) * 2019-01-02 2023-03-31 ***通信有限公司研究院 Automatic expansion-contraction capacity switching method, VNFM and NFVO
CN110572273B (en) * 2019-07-24 2022-05-24 浪潮思科网络科技有限公司 Method for automatically deploying physical network
CN111309476B (en) * 2020-01-22 2023-11-03 福建天泉教育科技有限公司 Method for pushing system to automatically adjust resources and storage medium
CN111416732B (en) * 2020-02-25 2021-05-28 浪潮思科网络科技有限公司 Method and device for automatically configuring service for capacity expansion of network equipment in SDN
CN113206750B (en) * 2021-03-11 2022-07-12 新华三大数据技术有限公司 Fault equipment replacement method, computer equipment and storage medium

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101211448A (en) * 2006-12-28 2008-07-02 国际商业机器公司 Click-fraud prevention method and system
CN104363159A (en) * 2014-07-02 2015-02-18 北京邮电大学 Virtual open network building system and method based on software definition network
US9021310B1 (en) * 2012-02-14 2015-04-28 Amazon Technologies, Inc. Policy-driven automatic network fault remediation

Family Cites Families (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR100562903B1 (en) * 2003-08-20 2006-03-21 삼성전자주식회사 Method for Automatically Configuring Network Address in Mobile Multi-Hop Netwrok
CN1761219B (en) * 2004-10-12 2010-04-28 华为技术有限公司 Method for implementing automatic discovery of topological structure in MPLS ring net
CN103188151A (en) * 2011-12-31 2013-07-03 ***通信集团广东有限公司 Packet transport network and method for transporting service in packet transport network
CN103873368B (en) * 2012-12-11 2017-09-15 新华三技术有限公司 Ethernet message forwarding method and access device
CN103647679A (en) * 2013-11-26 2014-03-19 上海斐讯数据通信技术有限公司 Automated topology dynamic mapping method and system

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101211448A (en) * 2006-12-28 2008-07-02 国际商业机器公司 Click-fraud prevention method and system
US9021310B1 (en) * 2012-02-14 2015-04-28 Amazon Technologies, Inc. Policy-driven automatic network fault remediation
CN104363159A (en) * 2014-07-02 2015-02-18 北京邮电大学 Virtual open network building system and method based on software definition network

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111796768A (en) * 2020-06-30 2020-10-20 中国工商银行股份有限公司 Distributed service coordination method, device and system
CN111796768B (en) * 2020-06-30 2023-08-22 中国工商银行股份有限公司 Distributed service coordination method, device and system
CN113296794A (en) * 2021-05-25 2021-08-24 多点(深圳)数字科技有限公司 Software engineering management method and device, storage medium and electronic equipment
CN114155648A (en) * 2021-12-17 2022-03-08 广东天波信息技术股份有限公司 Maintenance method and system applied to intelligent express cabinet

Also Published As

Publication number Publication date
CN106487558B (en) 2019-03-15
CN106487558A (en) 2017-03-08

Similar Documents

Publication Publication Date Title
WO2016177049A1 (en) Method and device for achieving capacity expansion and reduction of access apparatus
US9479432B2 (en) DHT-based control network implementation method and system, and network controller
JP6027629B2 (en) Assisted intelligent routing for minimally connected object networks
JP6053003B2 (en) Transmission system, transmission apparatus, and transmission method
US9769054B2 (en) Network topology discovery method and system
CN109561033B (en) Method and device for multicast replication in Overlay network
CN105577502B (en) Service transmission method and device
CN106375231A (en) Flow switching method, device and system
US20170331641A1 (en) Deployment Of Virtual Extensible Local Area Network
CN102195857A (en) Network topology structure and node information gathering method
Schiff et al. Ground control to major faults: Towards a fault tolerant and adaptive SDN control network
JP2018536345A (en) Firewall cluster
US10404544B2 (en) Network topology determining method and apparatus, and centralized network status information storage device
JP2017535195A (en) SAS system, SAS system traversal method and apparatus
WO2015081785A1 (en) Method and device for virtualized access
CN112910704B (en) Local area network system, method and device supporting dynamic self-adaptive network configuration
CN107733727B (en) Zero configuration method, device and equipment
CN103746828A (en) Method and device for network node management
CN108768723B (en) Service convergence method, device, medium and system
CN103634218A (en) Fast routing convergence method and fast routing convergence device
JP2014041414A (en) Migration system of virtual machine, control device, and migration method
CN103391232B (en) Virtual machine bus connection method in cloud system
KR100862723B1 (en) The IP topology management system using the IP topology auto discovery and a method
CN114338508A (en) Method, equipment and system for detecting routing loop
CN105765903A (en) Topology discovery method and device

Legal Events

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

Ref document number: 16789043

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 16789043

Country of ref document: EP

Kind code of ref document: A1