CN113630270A - Online cutover method, device, equipment and storage medium - Google Patents

Online cutover method, device, equipment and storage medium Download PDF

Info

Publication number
CN113630270A
CN113630270A CN202110891458.0A CN202110891458A CN113630270A CN 113630270 A CN113630270 A CN 113630270A CN 202110891458 A CN202110891458 A CN 202110891458A CN 113630270 A CN113630270 A CN 113630270A
Authority
CN
China
Prior art keywords
access
ring
access device
cutover
adjusted
Prior art date
Legal status (The legal status 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 status listed.)
Granted
Application number
CN202110891458.0A
Other languages
Chinese (zh)
Other versions
CN113630270B (en
Inventor
黄渊峰
袁林
甘涛
王海峰
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
China United Network Communications Group Co Ltd
Original Assignee
China United Network Communications Group Co Ltd
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 China United Network Communications Group Co Ltd filed Critical China United Network Communications Group Co Ltd
Priority to CN202110891458.0A priority Critical patent/CN113630270B/en
Publication of CN113630270A publication Critical patent/CN113630270A/en
Application granted granted Critical
Publication of CN113630270B publication Critical patent/CN113630270B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

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/08Configuration management of networks or network elements
    • H04L41/0803Configuration setting
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L12/00Data switching networks
    • H04L12/28Data switching networks characterised by path configuration, e.g. LAN [Local Area Networks] or WAN [Wide Area Networks]
    • H04L12/2854Wide area networks, e.g. public data networks
    • H04L12/2856Access arrangements, e.g. Internet access
    • 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
    • H04L41/082Configuration setting characterised by the conditions triggering a change of settings the condition being updates or upgrades of network functionality
    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02DCLIMATE CHANGE MITIGATION TECHNOLOGIES IN INFORMATION AND COMMUNICATION TECHNOLOGIES [ICT], I.E. INFORMATION AND COMMUNICATION TECHNOLOGIES AIMING AT THE REDUCTION OF THEIR OWN ENERGY USE
    • Y02D30/00Reducing energy consumption in communication networks
    • Y02D30/70Reducing energy consumption in communication networks in wireless communication networks

Landscapes

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

Abstract

The invention provides an online cutover method, an online cutover device, online cutover equipment and a storage medium, wherein the method comprises the following steps: determining an access device to be adjusted, a first connection relation of the access device before adjustment and a second connection relation of the access device after adjustment, performing service processing based on a first forwarding plane formed by an identifier corresponding to the access device and the first connection relation, generating a virtual identifier of the access device to be adjusted according to the second connection relation, establishing connection between the access device and an associated network element based on the virtual identifier and the second connection relation, forming a second forwarding plane, responding to a cutting instruction, deleting the virtual identifier and the first forwarding plane, replacing the corresponding identifier with the virtual identifier, performing service processing based on the virtual identifier and the second forwarding plane, and when the service is converted from the first forwarding plane to the second forwarding plane, enabling the equipment flash-off duration to be not more than 1 second, greatly shortening the interruption time and improving user experience.

Description

Online cutover method, device, equipment and storage medium
Technical Field
The present invention relates to the field of communications technologies, and in particular, to an online cutover method, apparatus, device, and storage medium.
Background
With the deep development of the internet +, wireless users are particularly sensitive to network outages. In order to improve the network perception of the wireless user, the operator shortens the interruption time in the optimized adjustment and cutover of the wireless bearer network, which becomes a technical bottleneck to be broken through urgently.
In the prior art, when a network is cut over, a network service to be cut over needs to be interrupted first, and then manual configuration and cut over are performed by a professional, for example, ring number planning, loopback address planning, interconnection address planning, interface planning, access device attribution, device naming and the like are performed according to the existing network, the connection relationship of the network is changed according to planned information, cut over is realized, and the service can be restored again after the cut over is successful.
The method needs professional personnel to plan and manually configure according to the existing loop of the existing network, the cutting efficiency is low, the service interruption time is long, and the user experience is poor.
Disclosure of Invention
The invention provides an on-line cutover method, a device, equipment and a storage medium, which can improve cutover efficiency and greatly shorten service interruption time.
In a first aspect, the present invention provides an on-line cutover method, comprising:
determining an access device to be adjusted, a first connection relation of the access device before adjustment and a second connection relation of the access device after adjustment; the first connection relation and the second connection relation are both used for indicating a convergence ring and/or an access ring corresponding to the access equipment;
performing service processing on a first forwarding plane formed on the basis of the identifier corresponding to the access device and the first connection relation;
generating a virtual identifier of the access equipment to be adjusted according to the second connection relation, and establishing connection between the access equipment and the associated network element based on the virtual identifier and the second connection relation to form a second forwarding plane;
and in response to a cutover instruction, deleting the virtual identifier and the first forwarding surface, and replacing the corresponding identifier with the virtual identifier so as to perform service processing based on the virtual identifier and a second forwarding surface.
Optionally, determining the access device to be adjusted, the first connection relationship of the access device before adjustment, and the second connection relationship of the access device after adjustment includes:
determining a cut-over scene, and determining access equipment to be adjusted, the first connection relation and the second connection relation according to the cut-over scene;
wherein the cutover scenario includes at least one of:
the whole ring cutting is used for indicating all the access devices in any one or more access rings to change the attributed convergence ring;
partial cutover for instructing partial access devices in one access ring to change the attributed convergence ring;
and the ring breaking and cutting are used for indicating that the convergence ring to which one access ring belongs is unchanged, and the access ring is split into a plurality of access rings.
Optionally, generating a virtual identifier of the access device to be adjusted according to the second connection relationship, and establishing a connection between the access device and an associated network element based on the virtual identifier and the second connection relationship to form a second forwarding plane, where the method includes:
generating a virtual identifier of the access equipment to be adjusted according to the second connection relation, wherein the virtual identifier comprises an IP and/or a process number;
generating a pre-configuration script according to the IP and/or the process number;
and issuing the pre-configuration script to corresponding access equipment so as to form a second forwarding plane based on the pre-configuration script.
Optionally, the IP includes a loopback IP and an interconnection IP; generating a virtual identifier of the access device to be adjusted according to the second connection relationship, wherein the virtual identifier includes an IP and/or a process number, and includes:
determining a convergence ring number and an access ring number to be accessed by the access equipment to be adjusted;
generating a first numerical range corresponding to the access equipment in the access ring number according to the access ring number;
taking a value in the first numerical range, and overlapping the value with the aggregation ring number and the preset number segment to generate a loopback IP;
if the access equipment to be adjusted is to be accessed into at least one access ring, allocating an interconnection IP for the access equipment to be adjusted according to a preset sequence aiming at each access ring;
and determining the process number of the access equipment according to the convergence ring to be accessed by the access equipment.
Optionally, the first forwarding plane includes a first interface corresponding to the access device, and the first interface is determined by the corresponding identifier;
the second forwarding plane comprises a second interface corresponding to the access device, and the second interface is determined by the virtual identifier;
correspondingly, in response to a cutover instruction, deleting the virtual identifier and the first forwarding plane, and replacing the corresponding identifier with the virtual identifier, so as to perform service processing based on the virtual identifier and the second forwarding plane, including:
a cutover script is sent to access equipment to be adjusted, the first forwarding plane and the second interface are deleted based on the cutover script, the configuration information of the first interface is covered by the configuration information of the second interface, and the second forwarding plane is started; wherein the configuration information comprises a corresponding identifier or virtual identifier;
after checking that each access device is normal, carrying out a switching test;
and if the switching test is passed, performing service processing based on the second forwarding plane.
Optionally, issuing the pre-configuration script to the corresponding access device includes: if a plurality of access devices to be adjusted exist, issuing pre-configuration scripts one by one according to the access devices to be adjusted;
issuing a cutover script to access equipment to be adjusted, wherein the cutover script comprises the following steps: if a plurality of access devices to be adjusted exist, determining the currently cut-over access device according to the positions of the plurality of access devices to be adjusted in the access ring; issuing a cutover script to the current cutover access equipment;
the method further comprises the following steps: and after the current cut-over access equipment is cut-over and tested successfully, issuing a cut-over script to the other access equipment.
Optionally, determining the currently cut-over access device according to the positions of the multiple access devices to be adjusted in the access ring, includes:
and if the plurality of access devices to be adjusted and the convergence device form a plurality of paths, determining at least one reserved path, and determining the current cut-over access device based on the rest paths.
In a second aspect, the present invention provides an in-line severance apparatus comprising:
the device comprises a determining module, a judging module and a judging module, wherein the determining module is used for determining the access equipment to be adjusted, the first connection relation of the access equipment before adjustment and the second connection relation of the access equipment after adjustment; the first connection relation and the second connection relation are both used for indicating a convergence ring and/or an access ring corresponding to the access equipment;
a first processing module, configured to perform service processing on a first forwarding plane formed based on the identifier corresponding to the access device and the first connection relationship;
a forming module, configured to generate a virtual identifier of the access device to be adjusted according to the second connection relationship, and establish a connection between the access device and an associated network element based on the virtual identifier and the second connection relationship, so as to form a second forwarding plane;
and the second processing module is used for responding to a cutting instruction, deleting the virtual identification and the first forwarding surface, replacing the corresponding identification with the virtual identification, and performing service processing based on the virtual identification and the second forwarding surface.
In a third aspect, the present invention provides an online cutover apparatus, comprising:
a memory and at least one processor;
the memory stores computer-executable instructions;
the at least one processor executing the memory stored computer-executable instructions causes the at least one processor to perform the online cutover method as described in any one of the first aspects above.
In a fourth aspect, the present invention provides a computer-readable storage medium, having stored therein computer-executable instructions, which when executed by a processor, are configured to implement the online cutover method according to any one of the first aspect.
The invention provides an online cutover method, device, equipment and storage medium, which are characterized in that the method comprises the steps of determining access equipment to be adjusted, a first connection relation of the access equipment before adjustment and a second connection relation of the access equipment after adjustment; the first connection relation and the second connection relation are both used for indicating a convergence ring and/or an access ring corresponding to the access device, performing service processing on a first forwarding plane formed based on an identifier corresponding to the access device and the first connection relation, generating a virtual identifier of the access device to be adjusted according to the second connection relation, establishing connection between the access device and an associated network element based on the virtual identifier and the second connection relation, forming a second forwarding plane, responding to a cutover instruction, deleting the virtual identifier and the first forwarding plane, replacing the corresponding identifier with the virtual identifier, and performing service processing based on the virtual identifier and the second forwarding plane, wherein in the first connection relation, the service normally operates on the first forwarding plane, and in the second connection relation, the access device establishes connection with the associated network element, when the service is converted from the first forwarding plane to the second forwarding plane to operate, the equipment flash-off time does not exceed 1 second, the interruption time is greatly shortened, and the user experience is improved.
Drawings
The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate embodiments consistent with the invention and together with the description, serve to explain the principles of the invention.
Fig. 1 is a schematic view of an application scenario provided in an embodiment of the present invention;
fig. 2 is a schematic flow chart of a conventional cutting method according to an embodiment of the present invention;
FIG. 3 is a schematic flow chart of an on-line cutover method according to an embodiment of the present invention;
FIG. 4 is a schematic view of a full-circle cutting joint according to an embodiment of the present invention;
FIG. 5 is a schematic illustration of a partial cut and break cut according to an embodiment of the present invention;
FIG. 6 is a schematic flow chart of another on-line cutover method according to an embodiment of the present invention;
FIG. 7 is a schematic flow chart illustrating the generation of a pre-configured script according to an embodiment of the present invention;
fig. 8 is a scene schematic diagram of a whole-circle cutting process according to an embodiment of the present invention;
FIG. 9 is a schematic diagram illustrating connection of the scene shown in FIG. 8 after the end of the full circle cutting;
FIG. 10 is a schematic flow chart of another on-line cutting method according to an embodiment of the present invention;
FIG. 11 is a schematic structural diagram of an on-line cutting device according to an embodiment of the present invention;
fig. 12 is a schematic structural diagram of an online cutting device according to an embodiment of the present invention.
With the above figures, certain embodiments of the invention have been illustrated and described in more detail below. The drawings and the description are not intended to limit the scope of the inventive concept in any way, but rather to illustrate it by those skilled in the art with reference to specific embodiments.
Detailed Description
Reference will now be made in detail to the exemplary embodiments, examples of which are illustrated in the accompanying drawings. When the following description refers to the accompanying drawings, like numbers in different drawings represent the same or similar elements unless otherwise indicated. The embodiments described in the following exemplary embodiments do not represent all embodiments consistent with the present invention. Rather, they are merely examples of apparatus and methods consistent with certain aspects of the invention, as detailed in the appended claims.
The following describes the technical solution of the present invention and how to solve the above technical problems with specific examples. The following several specific embodiments may be combined with each other, and details of the same or similar concepts or processes may not be repeated in some embodiments.
The following explains an application scenario provided by an embodiment of the present invention: the scheme provided by the embodiment of the invention relates to network cutover. The network cutover is to adjust the line or equipment of the network, modify, upgrade, change the network, etc., these network operation behaviors occur in a network which is carrying service traffic, and need to operate in a time period when the user has less network utilization time, reduce the influence on the user.
Fig. 1 is a schematic view of an application scenario provided in an embodiment of the present invention. As shown in fig. 1, there is a private network within a certain area that can be used to carry traffic. When a user uses the mobile phone network, the signals can be transmitted to the backbone network through the access layer, the convergence layer and the core layer for communication.
When the network operates for a period of time, the network needs to be upgraded, and the network carrying the service traffic is cut to another network. Illustratively, in a network to be upgraded, the connection between one or more access devices in an access layer and a corresponding aggregation device is disconnected, and the access device in the access layer is cut into the corresponding aggregation device in another aggregation layer, so that the purpose of network upgrade can be achieved.
In some technologies, in optimized adjustment cutover of a wireless bearer Network (e.g., a Universal Transport Network over Fiber (UTN) Network/intelligent metropolitan area Network), a bearer Network access device and a wireless Base Band Unit (BBU) do not have adjustment of physical positions, and it is only necessary to perform optimized cutover of a bearer Network topology according to an optimized design target due to reasons such as line adjustment or home adjustment. Fig. 2 is a schematic flow chart of a conventional cutting method according to an embodiment of the present invention. As shown in fig. 2, a cutover scheme is implemented, and after a service is combed, the bearer network access device is configured and the service parameters are cleared, and then restarted, so as to access the network as a new device, and simultaneously, the parameters are backed up. And after the network element parameters are cleared, judging whether the network element is restarted successfully or not, if not, clearing the network element parameters again, and if so, skipping fibers according to an optimized design target on site to complete physical target networking. And issuing the basic parameters of the network element, configuring the access equipment of the bearer network according to the new access ring, accessing the network after the configuration is implemented, bringing the network into a network manager, and judging whether the field debugging passes or not. If not, the basic parameters of the network element are issued again, if the basic parameters of the network element pass, the service data of the original service loaded on the access equipment is reconfigured, and the service is detected to be normal. If not, the service parameters are reconfigured, if normal, the service is recovered, and the optimization adjustment is finally completed after the switching verification.
The conventional cutover method has the disadvantages that the service interruption time of the base station is long and long, the average service interruption time is two hours, the performance of an NPS (Network Policy Server) is seriously influenced, the operation process is complex, and the professional level of a data cutover worker is required to be high. During the period, the wireless base station can not provide services due to transmission interruption, and the wireless base station always operates in a no-load mode, so that the operation and maintenance cost is wasted.
In other techniques, network traffic to be cutover is interrupted first when the network is cutover. According to the existing network, the ring number planning, the loopback address planning, the interconnection address planning, the access equipment attribution, the equipment naming and the like are carried out, the form is correspondingly filled, the form can automatically generate an access equipment script and a convergence equipment script, the script is copied into a document, and the issuing configuration is convenient during the cutting, but the cutting efficiency is not improved by the method, and the service can still be interrupted for nearly two hours in the cutting process.
Therefore, an embodiment of the present invention provides an online cutover method, in which a first connection relationship before adjustment and a second connection relationship after adjustment of an access device to be adjusted are determined, an identifier corresponding to the access device is determined according to the first connection relationship, a first forwarding plane is formed in combination with the first connection relationship for performing service processing, a virtual identifier of the access device is generated according to the second connection relationship, a connection between the access device and an associated network element is established based on the virtual identifier and the second connection relationship, a second forwarding plane is formed, the identifier and the first forwarding plane are deleted, the virtual identifier is replaced with the corresponding identifier, and service processing is implemented on the second forwarding plane, in the first connection relationship, a service can still normally operate, in the second connection relationship, the access device establishes a connection with the associated network element, when the first forwarding plane is switched to the second forwarding plane, the equipment has flash break, but the general interruption time length does not exceed 1 second, the interruption time length is greatly shortened, and the online cut-over of the base station service is realized.
Some embodiments of the invention are described in detail below with reference to the accompanying drawings. The features of the embodiments and examples described below may be combined with each other without conflict between the embodiments.
Fig. 3 is a schematic flow chart of an online cutover method according to an embodiment of the present invention. As shown in fig. 3, the method in this embodiment may include:
step 301, determining an access device to be adjusted, a first connection relationship of the access device before adjustment, and a second connection relationship of the access device after adjustment; the first connection relation and the second connection relation are both used for indicating a convergence ring and/or an access ring corresponding to the access device.
Wherein, the convergence ring is composed of at least two convergence devices and is connected in a ring shape. The access ring is composed of at least two access devices, and is connected in a ring shape, and is used for realizing forwarding of services.
The access device may also be referred to as an access network element. The convergence ring corresponding to the access device in the second connection relationship is different from the convergence ring corresponding to the access device in the first connection relationship.
Alternatively, the method may be performed by an SDN (Software Defined Network) controller, which may also be referred to as a controller.
Optionally, according to actual requirements, the first connection relationship and the second connection relationship of the access device may be determined by user input or autonomously by the controller. The first connection relationship may be an association relationship of an aggregation ring connected to the access device, a location of the access ring in the access device, and the access device itself in the network in use.
The second connection relationship may be an association relationship between the access device and another aggregation ring, the position of the input ring in the access device, and the access device itself after the access device is adjusted according to the requirement of network modification.
The first connection relationship still exists when the access device forms the second connection relationship.
Step 302, performing service processing based on a first forwarding plane formed by the identifier corresponding to the access device and the first connection relation.
Wherein the identifier may be any information for marking the access device. Optionally, the identifier of the access device may be determined according to the first connection relationship.
Based on the identification and the first connection relation, the access device can be controlled to be connected with other surrounding devices to form a first forwarding plane. The first forwarding plane may refer to that the access device has a certain connection relationship with multiple other devices, and presents a plane on which the service is forwarded.
Optionally, the identifier of the access device to be adjusted is determined according to the first connection relationship, where the identifier includes an IP (Internet Protocol) and/or a process number, and a first forwarding plane may be formed through the IP and/or the process number and the first connection relationship, and service processing is performed on the first forwarding plane.
Step 303, generating a virtual identifier of the access device to be adjusted according to the second connection relationship, and establishing a connection between the access device and the associated network element based on the virtual identifier and the second connection relationship to form a second forwarding plane.
Wherein the associated network element may be a device having a connection relationship with the access device after the adjustment, which is determined based on the second connection relationship. The second forwarding plane may be a plane where a connection relationship is established first but no traffic is processed. That is, the second forwarding plane does not carry the service operation, and the service operation is still on the first forwarding plane.
It should be noted that step 303 and step 302 may be performed simultaneously, that is, while the access device establishes a new connection relationship, service processing may be performed based on the first forwarding plane.
And 304, in response to a cutover instruction, deleting the virtual identifier and the first forwarding plane, and replacing the corresponding identifier with the virtual identifier, so as to perform service processing based on the virtual identifier and the second forwarding plane.
And deleting the corresponding identifier and the first forwarding surface in the database by the SDN controller, replacing the virtual identifier with the corresponding identifier, and converting the service performed on the first forwarding surface into the service based on the corresponding identifier and the second forwarding surface to realize the conversion of the service.
For example, the identifier of the access device before the cut-over is IP1, and a first forwarding plane is established according to the identifier IP1 and the device connected with the access device for service processing. And when the access equipment needs to be cut over, generating a virtual identifier IP2 of the access equipment, and establishing the connection between the access equipment and other equipment according to the virtual identifier IP2 and a new connection relation to form a second forwarding plane. And deleting the first forwarding plane and the virtual identification IP2, replacing the identification IP1 with the virtual identification IP2, only keeping the identification IP2 in the whole system, and converting the service into the second forwarding plane.
The online cutover method provided by this embodiment determines an access device to be adjusted, a first connection relationship of the access device before adjustment, and a second connection relationship of the access device after adjustment; the first connection relation and the second connection relation are both used for indicating a convergence ring and/or an access ring corresponding to the access device, performing service processing on a first forwarding plane formed based on an identifier corresponding to the access device and the first connection relation, generating a virtual identifier of the access device to be adjusted according to the second connection relation, establishing connection between the access device and an associated network element based on the virtual identifier and the second connection relation, forming a second forwarding plane, responding to a cutover instruction, deleting the virtual identifier and the first forwarding plane, replacing the corresponding identifier with the virtual identifier, and performing service processing based on the virtual identifier and the second forwarding plane, wherein in the first connection relation, the service normally operates on the first forwarding plane, and in the second connection relation, the access device establishes connection with the associated network element, when the service is converted from the first forwarding plane to the second forwarding plane to operate, the equipment flash-off time does not exceed 1 second, the interruption time is greatly shortened, and the user experience is improved.
On the basis of the technical solution provided in the foregoing embodiment, optionally, determining the access device to be adjusted, the first connection relationship of the access device before adjustment, and the second connection relationship of the access device after adjustment includes: determining a cut-over scene, and determining access equipment to be adjusted, the first connection relation and the second connection relation according to the cut-over scene;
wherein the cutover scenario includes at least one of:
the whole ring cutting is used for indicating all the access devices in any one or more access rings to change the attributed convergence ring; partial cutover for instructing partial access devices in one access ring to change the attributed convergence ring; and the ring breaking and cutting are used for indicating that the convergence ring to which one access ring belongs is unchanged, and the access ring is split into a plurality of access rings.
The access device to be adjusted, the first connection relationship and the second connection relationship may be determined according to different cutover scenarios.
Optionally, there are three different cutover scenarios, namely, full-circle cutover, partial cutover, and broken cutover.
The whole ring cut-over may also be called home adjustment, in which one access ring on the original aggregation ring is change-homed, and all the access devices are connected to another pair of aggregation rings, or a plurality of access rings on the original aggregation ring are change-homed, and all the access devices are connected to other aggregation rings.
Wherein the partial cutover is that partial access devices in one access ring are change attribution connected to another access ring due to the requirement of line optimization.
The ring-breaking cut-over is that the convergence ring to which the access ring belongs is not changed, and the access ring is split into a plurality of access rings and is accessed into the original convergence ring.
Fig. 4 is a schematic diagram of a whole-ring cutting according to an embodiment of the present invention. As shown in fig. 4, when a private line or 2/3/4G user uses a Network, the Service is first transmitted to access devices CSG1, CSG2, and CSG3(Cell Site Gateway), the access devices CSG1, CSG2, and CSG3 then transmit the Service to Aggregation devices ASG1 and ASG2(Aggregation Site Gateway), the Aggregation devices transmit the Service to Core devices RSG (Radio Service Gateway) through a Network architecture P, the Core devices RSG transmit the Service to routers BR1(Border Router), BR2, and finally transmit the Service to a Core Network control center EPC (Evolved Packet Core, Evolved Packet Core Network)/RNC (Radio Network Controller, Controller) corresponding to a 2/3/4G Network base station, so as to implement the Service transmission in the whole wireless Network. When a 5G user uses the network, firstly, the service is transmitted to the access devices CSG4, CSG5 and CSG6, the access devices CSG4, CSG5 and CSG6 transmit the service to the aggregation devices ASG3 and ASG4, the aggregation devices ASG3 and ASG4 transmit the service to the Core network control center 5GC/U (5G control plane/user plane) corresponding to the 5G (5th Generation Mobile Communication Technology) network base station through the Router MCR (Metro Core Router), so as to implement the transmission of the whole service flow.
As shown in fig. 4, in the original network connection, access device CSG1 is connected to aggregation device ASG1, and access device CSG3 is connected to aggregation device ASG2, so that when performing a cutover on the left network, the entire access ring can be change to home and cut over to another pair of aggregation rings. That is, the access device CSG1 on the left side in the figure is connected to the right aggregation device ASG3, and the access device CSG3 on the left side is connected to the right aggregation device ASG4, so that the overall cutover is realized. The dotted line in the figure indicates that the two devices have a service transmission relationship before the cut-over, and do not have the service transmission relationship after the cut-over.
Fig. 5 is a schematic diagram of a partial cut and a destructive cut according to an embodiment of the present invention. As shown in fig. 5, the connection relationship of the left access device CSG9 is that the access device CSG8 and CSG7 form an access ring, and after performing the cutover, the access device CSG9 in the left access ring changes its home from the original access ring and connects to another access ring to form an access ring with CSG10 and CSG 11. The left dotted straight line indicates that the two devices have a service transmission relationship before the cut-over and do not have the service transmission relationship after the cut-over.
The right access ring is composed of access devices CSG12, CSG13, CSG14, CSG15, CSG1 and CSG17, after the cutting is performed, the right dotted straight line indicates that one access ring is broken into two, that is, access rings CSG12, CSG13 and CSG14, access rings CSG15, CSG1 and CSG17 are formed, and the two rings are re-accessed into the original convergence ring. The right-side dashed curve and the solid curve form respective connection relations between the two broken rings.
In the above three cutover scenarios, all are only the adjustment on the line, and the physical position of the cutover network element to be adjusted is not adjusted and changed.
According to different cutover scenes, the access equipment to be adjusted, the first connection relation and the second connection relation are determined, and when cutover adjustment is carried out, pertinence is achieved, and the implementation effect is good.
Fig. 6 is a schematic flow chart of another on-line cutover method according to an embodiment of the present invention. As shown in fig. 6, the method includes:
601, determining an access device to be adjusted, a first connection relation of the access device before adjustment and a second connection relation of the access device after adjustment; the first connection relation and the second connection relation are both used for indicating a convergence ring and/or an access ring corresponding to the access device.
Step 602, performing service processing on a first forwarding plane formed based on the identifier of the access device and the first connection relation.
The specific implementation principle of step 601 to step 602 in this embodiment may refer to step 301 and step 302 in the foregoing embodiment, and details are not described here.
Step 603, generating a virtual identifier of the access device to be adjusted according to the second connection relationship, wherein the virtual identifier includes an IP and/or a process number.
The process number may be an ISIS (Intermediate System-to-Intermediate System) process number.
And the SDN controller obtains a second connection relation according to different cutover scenes and rules, and generates an interconnection IP, a loopback IP and a process number of the access equipment to be adjusted.
In the whole ring cutover scene, planning according to the new access ring number from small to large, and after obtaining the access ring number, distributing the IP and the process number according to the rule.
In a partial cutover scene, the inquiry network element enters a ring number corresponding to a new access ring, and the ring number is used for distributing IP and a process number according to rules.
In the broken ring cutover scene, two access rings are broken, the number of network elements is small, planning is carried out according to a new ring (similar to the whole ring cutover scene), the environment with a large number of network elements is kept still, and only the convergence equipment IP of the ring with a small number of network elements is used for interconnection.
And step 604, generating a pre-configuration script according to the IP and/or the process number.
And according to the IP and the process number, the controller automatically generates a pre-configuration script of the convergence equipment and the access equipment according to a relay port of a design pre-allocation target topology.
The trunk port is used for forming a trunk link, namely, the connection between the convergence device and the access device is limited according to the IP and the process number, and the connection relationship between the convergence device and the access device is determined.
And 605, issuing the pre-configuration script to the corresponding access device to form a second forwarding plane based on the pre-configuration script.
Before the pre-configuration scripts are issued to the corresponding access devices, the controller issues the pre-configuration scripts of the convergence devices to the corresponding convergence devices, and the access devices are issued with the corresponding pre-configuration scripts according to different cutover scenes.
After the pre-configured scripts are issued to the corresponding access devices according to different cutover scenarios, the ISIS routing and the BGP (Border Gateway Protocol) routing can be checked according to the pre-configured scripts, that is, whether the connection condition of the second forwarding plane is normal is determined. Under normal conditions, the loopback IP port loopback1 of the access device can communicate with the network manager, and the loopback IP port loopback1 of the access device can be brought into the network manager on the controller and presented topologically.
In this embodiment, through steps 603 to 605, the virtual identifier of the access device to be adjusted may be generated according to the second connection relationship, and the connection between the access device and the associated network element may be established based on the virtual identifier and the second connection relationship, so as to form a second forwarding plane.
Step 606, responding to the cut-over instruction, deleting the virtual identifier and the first forwarding plane, and replacing the corresponding identifier with the virtual identifier, so as to perform service processing based on the virtual identifier and the second forwarding plane.
The identifier corresponding to the access device and the first connection relationship may be determined manually when the first forwarding plane is formed, or may be determined automatically by a controller, which is not specific in this embodiment.
In the embodiment, the automatic generation of the pre-configuration script is realized according to the IP and the process number, and the technical difficulty of operation and maintenance personnel is greatly reduced.
Optionally, the IP includes a loopback IP and an interconnection IP; generating a virtual identifier of the access device to be adjusted according to the second connection relationship, wherein the virtual identifier includes an IP and/or a process number, and includes:
determining a convergence ring number and an access ring number to be accessed by the access equipment to be adjusted; generating a first numerical range corresponding to the access equipment in the access ring number according to the access ring number; taking a value in the first numerical range, and overlapping the value with the aggregation ring number and the preset number segment to generate a loopback IP; if the access equipment to be adjusted is to be accessed into at least one access ring, allocating an interconnection IP for the access equipment to be adjusted according to a preset sequence aiming at each access ring; and determining the process number of the access equipment according to the access ring to be accessed by the access equipment.
Wherein the IP comprises a loopback IP and an interconnection IP. The loopback IP and the interconnection IP are both determined by the aggregation ring number and the access ring number. The process number may also be referred to as the ISIS process number.
First, a convergence ring number and an access ring number are defined, and the convergence ring number may be three bits, such as X. The access ring number may be two, such as Y (01-99). In the network in use, the value of X ranges from 0 to 255, and when X is 0 or 255, the core device ring number is represented. Specifically, in a certain area, there are 40 regions, and each region may be allocated with 5 aggregation ring numbers. Other large provinces, if there are many regions, may be assigned 3 ring numbers or 2 ring numbers per region.
In the loopback IP, a is the fourth bit of the IP address (32-bit mask), a has a certain relationship with Y, a range is [ (Y-1) × 20+1, Y × 20], i.e. the first numerical range, and the third bit of the IP address is equal to the aggregation ring number X, then the access device IP address may be 10.136.X.A (wherein 10.136 may be an address field of a certain group specification). If X belongs to (1-254) and A belongs to (250-255), the IP represents the IP of the aggregation device, otherwise, the IP represents the IP of the access device. The addresses of neighboring devices generally remain contiguous. Optionally, the loopback IPs of each access device are different and may be sequentially allocated according to the order. The loopback IP can be used for determining specific IP addresses of the access equipment and the convergence equipment.
In the interconnection IP, the distribution is carried out by taking a ring as a unit, the ring can be firstly distributed and then the chain can be arranged, the branch chain is sequentially increased from near to far according to the anticlockwise sequence of the ring, the address distribution on the ring adopts a mode of upper odd-lower even and left odd-right even, a 30-bit mask is adopted, and the distribution is carried out according to 4 addresses in sequence in 136. X.Y.0-136. X.Y.255. Specifically, according to 4 address allocations, a certain rule can be satisfied, that is, the intermediate addresses 136.x.y.1 and 136.x.y.2 are selected from 136.x.y.0 to 136.x.y.3 to allocate addresses to the devices on the ring. And then sequentially selecting the intermediate addresses 136.X.Y.4 and 136.X.Y.5 from 136. X.Y.3-136. X.Y.6 to carry out address allocation on the devices on the ring until all the devices on the ring are allocated to the interconnection IP address.
Optionally, the interconnection IP of each access device is different. The interconnection IP of the access device may be used to determine a specific IP address of the access device in the access ring, and the interconnection IP of the convergence device may be used to determine a specific IP address of the convergence device in the convergence ring.
Each access ring and its ring and network elements on the chain belong to a process number. The process number is the aggregation ring number + the access ring number. Where the aggregation ring number is the third bit of the IP address of the aggregation device and the access ring number is the last bit of the IP address of the access device divided by 20 and then rounded up by 1, e.g., 101, 111, and 210. The number of the access ring is generally two or three, but generally no more than three. If the access ring carries subrings or chains, these subrings or chains belong to the same process as the main ring.
The aggregation ring number is the same as the aggregation change number, and the access ring number is the same as the access ring number.
Optionally, the access device to be adjusted determines a convergence ring number and an access ring number to be accessed, obtains a first numerical range of the fourth bit of the IP address according to the access ring number, takes a value from the first numerical range, and generates a convergence device IP or an access device IP according to the convergence ring number and the preset number segment. And for each access device to be adjusted, allocating an interconnection IP for the access device to be adjusted according to a preset sequence aiming at an access ring to which the access device belongs. And determining the process number of the access equipment according to the access ring to which the access equipment belongs.
Specifically, when the aggregation ring number to be accessed by the access device to be adjusted is 101, there are 3 access rings in the network being used by the aggregation ring, and the access device is accessed to the aggregation ring as a new access ring number 04. And obtaining a first numerical range of [61, 80] according to the access ring number 04, taking a value of 78 from the first numerical range, obtaining a loopback IP of 10.136.101.78, and then the loopback IP is the access equipment IP.
Optionally, specific positions of the access device and the convergence device in the current network may be determined according to the IP and the process number, and during the cutover, the IP and the process number are re-planned for the access device and the convergence device according to different scenarios, so as to form a pre-configured script.
The pre-configuration script is realized by defining rules and a programming method, and the virtual identification of the access equipment in the second connection relation is generated, so that the position of the access equipment needing to be cut can be accurately obtained, and the connection efficiency of the access equipment and the convergence equipment to be accessed is improved.
Fig. 7 is a schematic flowchart of a preconfigured script generation according to an embodiment of the present invention. As shown in fig. 7, IP and process number planning is performed according to the aggregation ring number and the access ring number, and the SDN controller bottom database creates a sub-table, where recording the existing parameters includes: the information of the network element loopback IP, the network element interconnection IP, the ISIS process number, the ring number and the like. And after creating the sub-table, respectively obtaining corresponding planning parameters according to the scene one, the scene two and the scene three, generating a pre-configuration script, and recording data of the pre-configuration script in the existing parameters.
Optionally, the first forwarding plane includes a first interface corresponding to the access device, and the first interface is determined by the corresponding identifier; the second forwarding plane comprises a second interface corresponding to the access device, and the second interface is determined by the virtual identifier; correspondingly, in response to a cutover instruction, deleting the virtual identifier and the first forwarding plane, and replacing the corresponding identifier with the virtual identifier, so as to perform service processing based on the virtual identifier and the second forwarding plane, including:
a cutover script is sent to access equipment to be adjusted, the first forwarding plane and the second interface are deleted based on the cutover script, the configuration information of the first interface is covered by the configuration information of the second interface, and the second forwarding plane is started; wherein the configuration information comprises a corresponding identifier or virtual identifier; after checking that each access device is normal, carrying out a switching test; and if the switching test is passed, performing service processing based on the second forwarding plane.
The first interface may be a loopback0, and the second interface may be a loopback 1. The configuration information of the first interface may be an IP or IGP (Interior Gateway Protocol) corresponding to the first interface, and the configuration information of the second interface may be an IP or IGP corresponding to the second interface. Optionally, the interface may be a trunk port.
When the network is running, the access device to be adjusted has a corresponding identifier, and the corresponding identifier generates a corresponding first interface loopback 0.
After the pre-configured script is issued, the access device to be adjusted is virtualized into two network elements, the first interface loopback0 runs the corresponding IGP, BGP and first forwarding plane to ensure that the service runs normally, and the loopback1 runs the corresponding IGP, BGP (without the second forwarding plane) to ensure that the second forwarding plane can be brought into the network manager.
After a cutover script is issued to the access device to be adjusted, the first forwarding plane mpls (Multiprotocol Label Switching), lsr-id and the loopback interface 1 of the two-plane loopback IP are deleted. The loopback1 interface is substituted for loopback0 interface, the second forwarding plane mpls, new lsr-id is enabled. And simultaneously starting a new BGP neighbor and deleting the original BGP neighbor. The interconnect interface enables mpls, deletes a plane IGP, and resets IGP and BGP. And decoupling the service configuration from the basic configuration. Wherein lsr-id is an IP address used to uniquely identify a lsr (Label Switching Router).
And after the cutting-over of the cutting-over script is finished, checking whether the service is normal or not, and if not, issuing the configuration script again. If the access is normal, the next access device is accessed, and finally a closed loop is formed. After checking that the ISIS route, the BGP route and the main/standby LSP (Label Switching Path) are normal, carrying out a Switching test. And after the switching test is passed, converting the service to a second forwarding plane for calculation.
Fig. 8 is a scene schematic diagram of a full-circle cutover process according to an embodiment of the present invention. As shown in fig. 8, aggregation devices ASG9 and ASG10 are given corresponding aggregation ring numbers, access ring numbers of corresponding access ring devices CSG18, CSG19, and CSG20 are 01, aggregation devices ASG11 and ASG12 are given corresponding aggregation ring numbers, and access ring numbers of access ring devices CSG21, CSG22, and CSG23 are 02. And obtaining the convergence device IP, the access device IP, the network element interconnection IP and the ISIS process number according to the convergence ring number and the access ring number, planning an automatically generated pre-configuration script, and issuing the pre-configuration script to the convergence devices ASG11 and ASG12 and the access devices CSG18, CSG19 and CSG20 according to the pre-configuration script. At this time, the access devices CSG18, CSG19 and CSG20 are virtualized into two access devices, which are the access devices CSG18, CSG19 and CSG20 of the real frame, and the access devices CSG18, CSG19 and CSG20 of the lower virtual frame, the access devices CSG18, CSG19 and CSG20 of the real frame maintain the first forwarding plane bearer service, the access devices CSG18, CSG19 and CSG20 of the virtual frame establish connection with another convergence device, the controller first logs in the access device CSG20, issues a cutover script, deletes the original configuration, the service is converted by one control plane, and is switched to the second forwarding plane. After normal operation of the service is detected, a cut-over script is sent to and from the access device CSG18, the CSG18 and the ASG11 are connected, the original configuration is deleted, and the operation from the biplane to the second forwarding plane is realized.
Specifically, in the normal operation process of the CSG20, the loopback IP is IP0, and an interface loopback0 is provided, so as to form a first forwarding plane for service processing. When a cutting-over requirement exists, a new loop-back IP is generated according to a new connection relation and recorded as IP1, a pre-configuration script is generated, an interface loopback1 corresponding to the IP1 is generated according to the pre-configuration script, and a second forwarding plane is formed. When the cutover script is issued, the loopback1 and the first forwarding plane are deleted, and then the interface configuration (IP/IGP) of loopback0 is replaced by the interface configuration of loopback 1. When in pre-cutting connection, the dual-plane operation of one network element is realized through the dual-loop interface and the dual-IGP, so that the online purpose of the network element is achieved.
Fig. 9 is a schematic connection diagram of the scene shown in fig. 8 after the end of the whole circle cutting. As shown in fig. 9, after the access device in fig. 8 is terminated, the access devices CSG18, CSG19, and CSG20 are connected to the aggregation devices ASG11 and ASG 12.
Optionally, after the cutover script is issued, all configurations of the first forwarding plane are cleared, including deleting a planar nanotube network element on the topology, and only running a relevant configuration of the second forwarding plane. In the process of issuing the cutover script, the IGP and mpls forwarding planes of the cutover network element can perform convergence calculation, which is generally completed within 1 second, and the service interruption time of the three-layer base station does not exceed 1 second.
The controller supports the configuration issuing of the one-key full-quantity pre-cutting network element, and the cutting scheme is systematized, the cutting process is standardized, so that the errors caused by manual operation are reduced, and the cutting efficiency is greatly improved. Meanwhile, the idea of basic configuration and service configuration decoupling is put forward in the industry for the first time, the purpose of three-layer base station service online is achieved, the NPS wireless perception is greatly improved, and the core competitiveness of operators is improved.
Optionally, issuing the pre-configuration script to the corresponding access device includes: if a plurality of access devices to be adjusted exist, issuing pre-configuration scripts one by one according to the access devices to be adjusted; issuing a cutover script to access equipment to be adjusted, wherein the cutover script comprises the following steps: if a plurality of access devices to be adjusted exist, determining the currently cut-over access device according to the positions of the plurality of access devices to be adjusted in the access ring; issuing a cutover script to the current cutover access equipment; the method further comprises the following steps: and after the current cut-over access equipment is cut-over and tested successfully, issuing a cut-over script to the other access equipment.
In different cutting scenes, when a plurality of access devices to be adjusted are provided, a pre-configuration script is issued for each access device one by one. In the whole ring cutting scene, the access ring is disconnected with the standby convergence, a new convergence interface is accessed according to the plan, and the controller issues the preconfigured scripts one by one aiming at the access equipment.
In a partial cutover scene, the access equipment is accessed into another access ring in a single side according to a plan, and the controller issues a pre-configuration script aiming at the access equipment.
In the broken loop cutover scene, firstly, a loop is broken, an access loop with a large number of network elements is in butt joint with a convergence loop according to a plan, a controller issues a pre-configuration script for changing an interconnection interface to the last network element, fewer network elements are in butt joint with the convergence loop, and the controller issues the access pre-configuration scripts one by one aiming at access equipment with a small number of network elements.
When a plurality of access devices to be adjusted exist, the position of the current access device in the access ring is determined, the current access device to be cut is determined, and a cutting script is issued to the current access device to be cut.
And when the cut-over of the cut-over access equipment is completed and the test is successful, issuing a cut-over script to the next access equipment to be cut-over, issuing the cut-over script to each access equipment to be cut-over in sequence, and detecting whether the cut-over script is successful or not.
For example, in fig. 8, the preconfigured scripts are issued to the CSG18, CSG19, and CSG20 of the access device to be adjusted first, when performing the cutover, the cutover script is issued to the CSG20 first, after the CSG20 finishes processing, and the service is normal, the cutover script is issued to the CSG19, and after the CSG19 service is normal, the cutover script is issued to the CSG18, so that the online cutover is implemented.
The pre-configuration scripts are issued one by one to the access equipment, the cutting scripts are issued to the equipment to be cut, the operation scheme is systematized, the operation flow is standardized, errors caused by manual operation are reduced, and meanwhile, the cutting efficiency is improved.
Optionally, determining the currently cut-over access device according to the positions of the multiple access devices to be adjusted in the access ring, includes:
and if the plurality of access devices to be adjusted and the convergence device form a plurality of paths, determining at least one reserved path, and determining the current cut-over access device based on the rest paths.
Optionally, when there are multiple access devices to be adjusted, a single-side access aggregation device needs to be executed, that is, one of the multiple access devices to be adjusted is selected to be accessed into the aggregation device. At this time, the SDN controller may manage the access device.
In this embodiment, when there are multiple access devices to be adjusted, the single-side access aggregation device can meet the requirement that the service is not interrupted in the cutover process.
Fig. 10 is a schematic flow chart of another on-line cutover method according to an embodiment of the present invention. As shown in fig. 10, a cutover is performed, after a service is carded, the access device of the bearer network configures and clears the service parameters, and the service parameters are backed up. And the SDN controller generates a pre-configuration script, judges whether the issuing of the pre-configuration script is successful, and regenerates a pre-configuration pin if the issuing of the pre-configuration script is unsuccessful. If the operation is successful, the controller generates a virtual network element to form a second forwarding plane, the virtual identification and the first forwarding plane corresponding to the virtual network element are deleted when the tunnel is deleted, the network element configuration script is issued, the virtual identification is replaced by the corresponding identification when the tunnel is newly added, the service on the first forwarding plane is converted to the second forwarding plane, whether the service check is normal or not is judged, if not, the network element configuration re-issues the script, and if so, the cutting is completed.
Optionally, when the cutover is started, the network element configuration script may be directly issued through field routing adjustment.
In practical application, the application can improve economic benefits. In a certain region, the direct economic loss (including traffic and flow) is about 41 ten thousand yuan per year; the loss of electricity charge for the out-of-service base station is about 2 ten thousand yuan per year. In practical application, the economic benefit is about 43 ten thousand yuan per year by using the method provided by the application.
Fig. 11 is a schematic structural diagram of an online cutting device according to an embodiment of the present invention. As shown in fig. 11, the on-line cutting device provided in this embodiment may include:
a determining module 1101, configured to determine an access device to be adjusted, a first connection relationship of the access device before adjustment, and a second connection relationship of the access device after adjustment; the first connection relation and the second connection relation are both used for indicating a convergence ring and/or an access ring corresponding to the access equipment;
a first processing module 1102, configured to perform service processing on a first forwarding plane formed based on the identifier corresponding to the access device and the first connection relationship;
a forming module 1103, configured to generate a virtual identifier of the access device to be adjusted according to the second connection relationship, and establish a connection between the access device and an associated network element based on the virtual identifier and the second connection relationship, so as to form a second forwarding plane;
a second processing module 1104, configured to, in response to a cutover instruction, delete the virtual identifier and the first forwarding plane, and replace the corresponding identifier with the virtual identifier, so as to perform service processing based on the virtual identifier and a second forwarding plane.
Optionally, the determining module 1101 is specifically configured to:
determining a cut-over scene, and determining access equipment to be adjusted, the first connection relation and the second connection relation according to the cut-over scene;
wherein the cutover scenario includes at least one of:
the whole ring cutting is used for indicating all the access devices in any one or more access rings to change the attributed convergence ring;
partial cutover for instructing partial access devices in one access ring to change the attributed convergence ring;
and the ring breaking and cutting are used for indicating that the convergence ring to which one access ring belongs is unchanged, and the access ring is split into a plurality of access rings.
Optionally, the forming module 1103 is specifically configured to:
generating a virtual identifier of the access equipment to be adjusted according to the second connection relation, wherein the virtual identifier comprises an IP and/or a process number;
generating a pre-configuration script according to the IP and/or the process number;
and issuing the pre-configuration script to corresponding access equipment so as to form a second forwarding plane based on the pre-configuration script.
Optionally, the IP includes a loopback IP and an interconnection IP; the forming module 1103 generates a virtual identifier of the access device to be adjusted according to the second connection relationship, where the virtual identifier includes an IP and/or a process number, and is specifically configured to:
determining a convergence ring number and an access ring number to be accessed by the access equipment to be adjusted;
generating a first numerical range corresponding to the access equipment in the access ring number according to the access ring number;
taking a value in the first numerical range, and overlapping the value with the aggregation ring number and the preset number segment to generate a loopback IP;
if the access equipment to be adjusted is to be accessed into at least one access ring, allocating an interconnection IP for the access equipment to be adjusted according to a preset sequence aiming at each access ring;
and determining the process number of the access equipment according to the convergence ring to be accessed by the access equipment.
Optionally, the first forwarding plane includes a first interface corresponding to the access device, and the first interface is determined by the corresponding identifier;
the second forwarding plane comprises a second interface corresponding to the access device, and the second interface is determined by the virtual identifier;
correspondingly, the second processing module 1104 is specifically configured to:
a cutover script is sent to access equipment to be adjusted, the first forwarding plane and the second interface are deleted based on the cutover script, the configuration information of the first interface is covered by the configuration information of the second interface, and the second forwarding plane is started; wherein the configuration information comprises a corresponding identifier or virtual identifier;
after checking that each access device is normal, carrying out a switching test;
and if the switching test is passed, performing service processing based on the second forwarding plane.
Optionally, when the forming module 1103 issues the pre-configuration script to the corresponding access device, the forming module is specifically configured to: if a plurality of access devices to be adjusted exist, issuing pre-configuration scripts one by one according to the access devices to be adjusted;
the forming module 1103, when issuing a cutover script to an access device to be adjusted, is specifically configured to: if a plurality of access devices to be adjusted exist, determining the currently cut-over access device according to the positions of the plurality of access devices to be adjusted in the access ring; issuing a cutover script to the current cutover access equipment;
the forming module 1103 is further configured to: and after the current cut-over access equipment is cut-over and tested successfully, issuing a cut-over script to the other access equipment.
Optionally, when determining the currently cut-over access device according to the positions of the multiple access devices to be adjusted in the access ring, the forming module 1103 is specifically configured to:
and if the plurality of access devices to be adjusted and the convergence device form a plurality of paths, determining at least one reserved path, and determining the current cut-over access device based on the rest paths.
The apparatus provided in this embodiment may perform the technical solutions of the method embodiments shown in fig. 1 to fig. 10, and the implementation principles and technical effects are similar, which are not described herein again.
Fig. 12 is a schematic structural diagram of an online cutting device according to an embodiment of the present invention. As shown in fig. 12, the apparatus provided in this embodiment may include: a memory 122 and at least one processor 121;
the memory 122 stores computer-executable instructions;
the at least one processor 121 executes the computer-executable instructions stored by the memory 122 to cause the at least one processor 121 to perform the method of any of the embodiments described above.
Wherein the memory 122 and the processor 121 may be connected by a bus 123.
For specific implementation principles and effects of the device provided in this embodiment, reference may be made to relevant descriptions and effects corresponding to the embodiments shown in fig. 1 to fig. 10, which are not described herein again.
The embodiment of the invention also provides a computer readable storage medium, on which a computer program is stored, and the computer program is executed by a processor to implement the online cutover method provided by any embodiment of the invention.
The embodiment of the present invention further provides a computer program product, which includes a computer program, and when the computer program is executed by a processor, the computer program implements the online cutover method according to any embodiment of the present invention.
In the embodiments provided in the present invention, it should be understood that the disclosed apparatus and method may be implemented in other ways. For example, the above-described apparatus embodiments are merely illustrative, and for example, a division of modules is merely a division of logical functions, and an actual implementation may have another division, for example, a plurality of modules or components may be combined or integrated into another system, or some features may be omitted, or not executed. In addition, the shown or discussed mutual coupling or direct coupling or communication connection may be an indirect coupling or communication connection through some interfaces, devices or modules, and may be in an electrical, mechanical or other form.
The modules described as separate parts may or may not be physically separate, and parts displayed as modules may or may not be physical units, may be located in one place, or may be distributed on a plurality of network units. Some or all of the modules may be selected according to actual needs to implement the solution of the present embodiment.
In addition, functional modules in the embodiments of the present invention may be integrated into one processing unit, or each module may exist alone physically, or two or more modules are integrated into one unit. The unit formed by the modules can be realized in a hardware form, and can also be realized in a form of hardware and a software functional unit.
The integrated module implemented in the form of a software functional module may be stored in a computer-readable storage medium. The software functional module is stored in a storage medium and includes several instructions for causing a computer device (which may be a personal computer, a server, or a network device) or a processor to execute some steps of the methods according to the embodiments of the present invention.
It should be understood that the Processor may be a Central Processing Unit (CPU), other general purpose Processor, a Digital Signal Processor (DSP), an Application Specific Integrated Circuit (ASIC), etc. A general purpose processor may be a microprocessor or the processor may be any conventional processor or the like. The steps of a method disclosed in connection with the present invention may be embodied directly in a hardware processor, or in a combination of the hardware and software modules within the processor.
The memory may comprise a high-speed RAM memory, and may further comprise a non-volatile storage NVM, such as at least one disk memory, and may also be a usb disk, a removable hard disk, a read-only memory, a magnetic or optical disk, etc.
The bus may be an Industry Standard Architecture (ISA) bus, a Peripheral Component Interconnect (PCI) bus, an Extended ISA (Extended Industry Standard Architecture) bus, or the like. The bus may be divided into an address bus, a data bus, a control bus, etc. For ease of illustration, the buses in the figures of the present invention are not limited to only one bus or one type of bus.
The storage medium may be implemented by any type or combination of volatile or non-volatile memory devices, such as Static Random Access Memory (SRAM), electrically erasable programmable read-only memory (EEPROM), erasable programmable read-only memory (EPROM), programmable read-only memory (PROM), read-only memory (ROM), magnetic memory, flash memory, magnetic or optical disks. A storage media may be any available media that can be accessed by a general purpose or special purpose computer.
An exemplary storage medium is coupled to the processor such the processor can read information from, and write information to, the storage medium. Of course, the storage medium may also be integral to the processor. The processor and the storage medium may reside in an Application Specific Integrated Circuits (ASIC). Of course, the processor and the storage medium may reside as discrete components in an electronic device or host device.
Those of ordinary skill in the art will understand that: all or a portion of the steps of implementing the above-described method embodiments may be performed by hardware associated with program instructions. The program may be stored in a computer-readable storage medium. When executed, the program performs steps comprising the method embodiments described above; and the aforementioned storage medium includes: various media that can store program codes, such as ROM, RAM, magnetic or optical disks.
Other embodiments of the invention will be apparent to those skilled in the art from consideration of the specification and practice of the invention disclosed herein. This invention is intended to cover any variations, uses, or adaptations of the invention following, in general, the principles of the invention and including such departures from the present disclosure as come within known or customary practice within the art to which the invention pertains. It is intended that the specification and examples be considered as exemplary only, with a true scope and spirit of the invention being indicated by the following claims.
It will be understood that the invention is not limited to the precise arrangements described above and shown in the drawings and that various modifications and changes may be made without departing from the scope thereof. The scope of the invention is limited only by the appended claims.

Claims (10)

1. An on-line cutover method, comprising:
determining an access device to be adjusted, a first connection relation of the access device before adjustment and a second connection relation of the access device after adjustment; the first connection relation and the second connection relation are both used for indicating a convergence ring and/or an access ring corresponding to the access equipment;
performing service processing on a first forwarding plane formed on the basis of the identifier corresponding to the access device and the first connection relation;
generating a virtual identifier of the access equipment to be adjusted according to the second connection relation, and establishing connection between the access equipment and the associated network element based on the virtual identifier and the second connection relation to form a second forwarding plane;
and in response to a cutover instruction, deleting the virtual identifier and the first forwarding surface, and replacing the corresponding identifier with the virtual identifier so as to perform service processing based on the virtual identifier and a second forwarding surface.
2. The method of claim 1, wherein determining the access device to be adjusted, the first connection relationship of the access device before the adjustment, and the second connection relationship of the access device after the adjustment comprises:
determining a cut-over scene, and determining access equipment to be adjusted, the first connection relation and the second connection relation according to the cut-over scene;
wherein the cutover scenario includes at least one of:
the whole ring cutting is used for indicating all the access devices in any one or more access rings to change the attributed convergence ring;
partial cutover for instructing partial access devices in one access ring to change the attributed convergence ring;
and the ring breaking and cutting are used for indicating that the convergence ring to which one access ring belongs is unchanged, and the access ring is split into a plurality of access rings.
3. The method of claim 1, wherein generating a virtual identifier of the access device to be adjusted according to the second connection relationship, and establishing a connection between the access device and an associated network element based on the virtual identifier and the second connection relationship to form a second forwarding plane, includes:
generating a virtual identifier of the access equipment to be adjusted according to the second connection relation, wherein the virtual identifier comprises an IP and/or a process number;
generating a pre-configuration script according to the IP and/or the process number;
and issuing the pre-configuration script to corresponding access equipment so as to form a second forwarding plane based on the pre-configuration script.
4. The method of claim 3, wherein the IPs comprise loopback IPs and interconnect IPs; generating a virtual identifier of the access device to be adjusted according to the second connection relationship, wherein the virtual identifier includes an IP and/or a process number, and includes:
determining a convergence ring number and an access ring number to be accessed by the access equipment to be adjusted;
generating a first numerical range corresponding to the access equipment in the access ring number according to the access ring number;
taking a value in the first numerical range, and overlapping the value with the aggregation ring number and the preset number segment to generate a loopback IP;
if the access equipment to be adjusted is to be accessed into at least one access ring, allocating an interconnection IP for the access equipment to be adjusted according to a preset sequence aiming at each access ring;
and determining the process number of the access equipment according to the convergence ring to be accessed by the access equipment.
5. The method of claim 1, wherein the first forwarding plane comprises a first interface corresponding to the access device, and the first interface is determined by the corresponding identifier;
the second forwarding plane comprises a second interface corresponding to the access device, and the second interface is determined by the virtual identifier;
correspondingly, in response to a cutover instruction, deleting the virtual identifier and the first forwarding plane, and replacing the corresponding identifier with the virtual identifier, so as to perform service processing based on the virtual identifier and the second forwarding plane, including:
a cutover script is sent to access equipment to be adjusted, the first forwarding plane and the second interface are deleted based on the cutover script, the configuration information of the first interface is covered by the configuration information of the second interface, and the second forwarding plane is started; wherein the configuration information comprises a corresponding identifier or virtual identifier;
after checking that each access device is normal, carrying out a switching test;
and if the switching test is passed, performing service processing based on the second forwarding plane.
6. The method of claim 3 or 4, wherein issuing the pre-configuration script to the corresponding access device comprises: if a plurality of access devices to be adjusted exist, issuing pre-configuration scripts one by one according to the access devices to be adjusted;
issuing a cutover script to access equipment to be adjusted, wherein the cutover script comprises the following steps: if a plurality of access devices to be adjusted exist, determining the currently cut-over access device according to the positions of the plurality of access devices to be adjusted in the access ring; issuing a cutover script to the current cutover access equipment;
the method further comprises the following steps: and after the current cut-over access equipment is cut-over and tested successfully, issuing a cut-over script to the other access equipment.
7. The method of claim 6, wherein determining the currently cut-over access device according to the positions of the plurality of access devices to be adjusted in the access ring comprises:
and if the plurality of access devices to be adjusted and the convergence device form a plurality of paths, determining at least one reserved path, and determining the current cut-over access device based on the rest paths.
8. An in-line severance apparatus comprising:
the device comprises a determining module, a judging module and a judging module, wherein the determining module is used for determining the access equipment to be adjusted, the first connection relation of the access equipment before adjustment and the second connection relation of the access equipment after adjustment; the first connection relation and the second connection relation are both used for indicating a convergence ring and/or an access ring corresponding to the access equipment;
a first processing module, configured to perform service processing on a first forwarding plane formed based on the identifier corresponding to the access device and the first connection relationship;
a forming module, configured to generate a virtual identifier of the access device to be adjusted according to the second connection relationship, and establish a connection between the access device and an associated network element based on the virtual identifier and the second connection relationship, so as to form a second forwarding plane;
and the second processing module is used for responding to a cutting instruction, deleting the virtual identification and the first forwarding surface, replacing the corresponding identification with the virtual identification, and performing service processing based on the virtual identification and the second forwarding surface.
9. An in-line severance apparatus comprising: a memory and at least one processor;
the memory stores computer-executable instructions;
the at least one processor executing the memory-stored computer-executable instructions cause the at least one processor to perform the online cutover method of any of claims 1-7.
10. A computer-readable storage medium having computer-executable instructions stored thereon, which when executed by a processor, are configured to implement the online cutover method of any one of claims 1-7.
CN202110891458.0A 2021-08-04 2021-08-04 Online cutover method, device, equipment and storage medium Active CN113630270B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202110891458.0A CN113630270B (en) 2021-08-04 2021-08-04 Online cutover method, device, equipment and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202110891458.0A CN113630270B (en) 2021-08-04 2021-08-04 Online cutover method, device, equipment and storage medium

Publications (2)

Publication Number Publication Date
CN113630270A true CN113630270A (en) 2021-11-09
CN113630270B CN113630270B (en) 2022-08-16

Family

ID=78382646

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202110891458.0A Active CN113630270B (en) 2021-08-04 2021-08-04 Online cutover method, device, equipment and storage medium

Country Status (1)

Country Link
CN (1) CN113630270B (en)

Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7447149B1 (en) * 2004-07-13 2008-11-04 Juniper Networks, Inc. Virtual interface with active and backup physical interfaces
CN101494551A (en) * 2008-01-22 2009-07-29 华为技术有限公司 Method, apparatus and system for business cutover
CN101772221A (en) * 2010-02-05 2010-07-07 中兴通讯股份有限公司 Method for finishing smooth cleft grafting and cleft grafting operation executing equipment and devices
WO2015192496A1 (en) * 2014-06-19 2015-12-23 中兴通讯股份有限公司 Method and device for processing mpls load sharing
CN110505097A (en) * 2019-08-28 2019-11-26 深信服科技股份有限公司 A kind of forwarding surface upgrade method, device and electronic equipment and storage medium
CN110784349A (en) * 2019-10-24 2020-02-11 深圳供电局有限公司 Automatic generation method and device for power communication equipment and network cutover scheme
CN111221619A (en) * 2018-11-27 2020-06-02 中国移动通信集团江西有限公司 Method, device and equipment for opening and arranging service
CN111314802A (en) * 2018-12-12 2020-06-19 中兴通讯股份有限公司 Optical fiber cutting and splicing method and device, SDN controller, system and storage medium

Patent Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7447149B1 (en) * 2004-07-13 2008-11-04 Juniper Networks, Inc. Virtual interface with active and backup physical interfaces
CN101494551A (en) * 2008-01-22 2009-07-29 华为技术有限公司 Method, apparatus and system for business cutover
CN101772221A (en) * 2010-02-05 2010-07-07 中兴通讯股份有限公司 Method for finishing smooth cleft grafting and cleft grafting operation executing equipment and devices
WO2015192496A1 (en) * 2014-06-19 2015-12-23 中兴通讯股份有限公司 Method and device for processing mpls load sharing
CN111221619A (en) * 2018-11-27 2020-06-02 中国移动通信集团江西有限公司 Method, device and equipment for opening and arranging service
CN111314802A (en) * 2018-12-12 2020-06-19 中兴通讯股份有限公司 Optical fiber cutting and splicing method and device, SDN controller, system and storage medium
CN110505097A (en) * 2019-08-28 2019-11-26 深信服科技股份有限公司 A kind of forwarding surface upgrade method, device and electronic equipment and storage medium
CN110784349A (en) * 2019-10-24 2020-02-11 深圳供电局有限公司 Automatic generation method and device for power communication equipment and network cutover scheme

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
谭雄华: "IDC万兆网络及虚拟化技术的研究与应用", 《计算机安全》 *

Also Published As

Publication number Publication date
CN113630270B (en) 2022-08-16

Similar Documents

Publication Publication Date Title
CN109792458B (en) Method and system for user plane path selection
CN105162704B (en) The method and device of multicast replication in Overlay network
CN102291455B (en) Distributed cluster processing system and message processing method thereof
US11824709B2 (en) Network management method and device
CN106982157B (en) Traffic engineering tunnel establishment method and device
WO2018010555A1 (en) Northbound interface lte service automatic configuration method, northbound interface apparatus, and storage medium
CN108432191A (en) Communication between network controller
CN113132229A (en) Segment identifier determination method and device
CN106487558A (en) A kind of method and apparatus realizing the scalable appearance of access device
CN113839870A (en) Path creation method, device and system
CN106411735A (en) Routing configuration method and device
CN110958133B (en) Network slice mapping method, device, server and storage medium
CN102833161B (en) Tunnel load share method and device
CN113630270B (en) Online cutover method, device, equipment and storage medium
US8687634B2 (en) Method for diverting packet multiple times, apparatus and system
CN103684838B (en) A method, an apparatus, a system for configuring a network strategy of a virtual machine
CN112839391B (en) 4G communication method, device and system
CN117118886A (en) Message forwarding method, head-end equipment, controller, equipment and storage medium
CN110311861A (en) A kind of method and apparatus guiding data traffic
US20180198708A1 (en) Data center linking system and method therefor
CN110324202A (en) A kind of method and apparatus detecting line quality
CN105790993B (en) A kind of cut over method, apparatus and BAS Broadband Access Server
CN114070746A (en) Circuit series connection method and system for multi-type transmission network
CN115134282A (en) Route processing method and network equipment
CN113660675A (en) Automatic opening method and device for 5G special line bearing network segment

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant