CN110519107B - Metropolitan area network circuit capacity expansion method and device - Google Patents

Metropolitan area network circuit capacity expansion method and device Download PDF

Info

Publication number
CN110519107B
CN110519107B CN201910903060.7A CN201910903060A CN110519107B CN 110519107 B CN110519107 B CN 110519107B CN 201910903060 A CN201910903060 A CN 201910903060A CN 110519107 B CN110519107 B CN 110519107B
Authority
CN
China
Prior art keywords
expansion
network circuit
area network
metropolitan area
debugging
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.)
Active
Application number
CN201910903060.7A
Other languages
Chinese (zh)
Other versions
CN110519107A (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.)
Unihub China Information Technology Co Ltd
Original Assignee
Unihub China Information Technology 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 Unihub China Information Technology Co Ltd filed Critical Unihub China Information Technology Co Ltd
Priority to CN201910903060.7A priority Critical patent/CN110519107B/en
Publication of CN110519107A publication Critical patent/CN110519107A/en
Application granted granted Critical
Publication of CN110519107B publication Critical patent/CN110519107B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F11/00Error detection; Error correction; Monitoring
    • G06F11/36Preventing errors by testing or debugging software
    • G06F11/3668Software testing
    • G06F11/3672Test management
    • G06F11/3688Test management for test execution, e.g. scheduling of test suites
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F11/00Error detection; Error correction; Monitoring
    • G06F11/36Preventing errors by testing or debugging software
    • G06F11/3668Software testing
    • G06F11/3672Test management
    • G06F11/3692Test management for test results analysis
    • 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/0876Aspects of the degree of configuration automation
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L43/00Arrangements for monitoring or testing data switching networks
    • H04L43/08Monitoring or testing based on specific metrics, e.g. QoS, energy consumption or environmental parameters

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Signal Processing (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Computer Hardware Design (AREA)
  • Quality & Reliability (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Environmental & Geological Engineering (AREA)
  • Automation & Control Theory (AREA)
  • Data Exchanges In Wide-Area Networks (AREA)
  • Small-Scale Networks (AREA)

Abstract

The invention provides a metropolitan area network circuit capacity expanding method and a device, wherein the method comprises the following steps: acquiring a pre-configured expansion parameter of a metropolitan area network circuit to be expanded; obtaining a debugging configuration script, a debugging test script and an expansion configuration script of the metropolitan area network circuit; according to the pre-configured capacity expansion parameters and the debugging configuration script, debugging and configuring the metropolitan area network circuit, wherein the debugging configuration is to configure ports at two ends of the metropolitan area network circuit; when the debugging and testing configuration is determined to be successful, debugging and testing the metro network circuit according to the pre-configured capacity expansion parameters and the debugging and testing script, wherein the debugging and testing is to test ports at two ends of the configured metro network circuit; and when the debugging test is determined to be successful, expanding the capacity of the metropolitan area network circuit at an expansion time point according to the preset capacity expansion parameters and the capacity expansion configuration script. The invention can realize the automatic expansion of the metropolitan area network circuit, and has high efficiency and high accuracy.

Description

Metropolitan area network circuit capacity expansion method and device
Technical Field
The present invention relates to the field of communications, and in particular, to a method and an apparatus for expanding a metro network circuit.
Background
At present, when a metropolitan area network circuit is expanded, operation and maintenance personnel generally carry out circuit expansion and test at night manually, and the problems of non-standard configuration and easy error during configuration and test exist, so that the efficiency is low and the accuracy is low.
Disclosure of Invention
The embodiment of the invention provides a metropolitan area network circuit capacity expansion method, which is used for realizing the automatic capacity expansion of a metropolitan area network circuit and has high efficiency and high accuracy, and the method comprises the following steps:
acquiring a pre-configured expansion parameter of a metropolitan area network circuit to be expanded;
obtaining a debugging configuration script, a debugging test script and an expansion configuration script of the metropolitan area network circuit;
according to the pre-configured capacity expansion parameters and the debugging configuration script, debugging and configuring the metropolitan area network circuit, wherein the debugging configuration is to configure ports at two ends of the metropolitan area network circuit;
when the debugging and testing configuration is determined to be successful, debugging and testing the metro network circuit according to the pre-configured capacity expansion parameters and the debugging and testing script, wherein the debugging and testing is to test ports at two ends of the configured metro network circuit;
and when the debugging test is determined to be successful, expanding the capacity of the metropolitan area network circuit at an expansion time point according to the preset capacity expansion parameters and the capacity expansion configuration script.
The embodiment of the invention provides a metropolitan area network circuit capacity expansion device, which is used for realizing the automatic capacity expansion of a metropolitan area network circuit and has high efficiency and high accuracy, and the device comprises the following components:
the capacity expansion parameter acquisition module is used for acquiring a preset capacity expansion parameter of a metropolitan area network circuit to be expanded;
the script obtaining module is used for obtaining a debugging configuration script, a debugging test script and an expansion configuration script of the metropolitan area network circuit;
the debugging and configuring module is used for debugging and configuring the metropolitan area network circuit according to the pre-configured expansion parameters and the debugging and configuring script, wherein the debugging and configuring is to configure ports at two ends of the metropolitan area network circuit;
the debugging and testing module is used for debugging and testing the metropolitan area network circuit according to the pre-configured capacity expansion parameters and the debugging and testing script when the debugging and testing configuration is determined to be successful, wherein the debugging and testing is used for testing ports at two ends of the configured metropolitan area network circuit;
and the capacity expansion module is used for expanding the capacity of the metropolitan area network circuit at a capacity expansion time point according to the preset capacity expansion parameters and the capacity expansion configuration script when the debugging test is determined to be successful.
The embodiment of the present invention further provides a computer device, which includes a memory, a processor, and a computer program stored in the memory and capable of running on the processor, and when the processor executes the computer program, the method for expanding the capacity of the metro network circuit is implemented.
The embodiment of the present invention further provides a computer-readable storage medium, where a computer program for executing the above-mentioned metro network circuit capacity expansion method is stored in the computer-readable storage medium.
In the embodiment of the invention, the pre-configured capacity expansion parameters of the metropolitan area network circuit to be expanded are obtained; obtaining a debugging configuration script, a debugging test script and an expansion configuration script of the metropolitan area network circuit; according to the pre-configured capacity expansion parameters and the debugging configuration script, debugging and configuring the metropolitan area network circuit, wherein the debugging configuration is to configure ports at two ends of the metropolitan area network circuit; when the debugging and testing configuration is determined to be successful, debugging and testing the metro network circuit according to the pre-configured capacity expansion parameters and the debugging and testing script, wherein the debugging and testing is to test ports at two ends of the configured metro network circuit; and when the debugging test is determined to be successful, expanding the capacity of the metropolitan area network circuit at an expansion time point according to the preset capacity expansion parameters and the capacity expansion configuration script. In the process, the debugging configuration, the debugging test and the capacity expansion can be automatically and sequentially carried out according to the pre-configured capacity expansion parameters of the metropolitan area network circuit to be expanded, the debugging configuration script, the debugging test script and the capacity expansion configuration script of the metropolitan area network circuit without carrying out the debugging configuration, the debugging test and the capacity expansion manually, so that the capacity expansion efficiency of the metropolitan area network circuit is improved, the manual error is avoided, and the capacity expansion accuracy is high.
Drawings
In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings used in the description of the embodiments or the prior art will be briefly described below, it is obvious that the drawings in the following description are only some embodiments of the present invention, and for those skilled in the art, other drawings can be obtained according to the drawings without creative efforts. In the drawings:
fig. 1 is a flowchart of a method for expanding a metropolitan area network circuit according to an embodiment of the present invention;
FIG. 2 is a schematic diagram of an interface for pre-configuring the capacity expansion parameters according to an embodiment of the present invention;
fig. 3 is a detailed flowchart of a metro network circuit expansion method according to an embodiment of the present invention;
FIG. 4 is a state transition diagram of the various stages of capacity expansion in accordance with an embodiment of the present invention;
FIG. 5 is a schematic diagram of an interface of a volume expansion state according to an embodiment of the invention;
FIG. 6 is a schematic diagram of an interface for viewing test history status according to an embodiment of the present invention;
fig. 7 is a schematic diagram of a metro network circuit expansion apparatus in an embodiment of the present invention.
Detailed Description
In order to make the objects, technical solutions and advantages of the embodiments of the present invention more apparent, the embodiments of the present invention are further described in detail below with reference to the accompanying drawings. The exemplary embodiments and descriptions of the present invention are provided to explain the present invention, but not to limit the present invention.
In the description of the present specification, the terms "comprising," "including," "having," "containing," and the like are used in an open-ended fashion, i.e., to mean including but not limited to. Reference to the description of the terms "one embodiment," "a particular embodiment," "some embodiments," "for example," etc., means that a particular feature, structure, or characteristic described in connection with the embodiment or example is included in at least one embodiment or example of the application. In this specification, the schematic representations of the terms used above do not necessarily refer to the same embodiment or example. Furthermore, the particular features, structures, or characteristics described may be combined in any suitable manner in any one or more embodiments or examples. The sequence of steps involved in the various embodiments is provided to illustrate the practice of the present application, and the sequence of steps is not limited thereto and can be adjusted as needed.
Fig. 1 is a flowchart of a method for expanding a metropolitan area network circuit according to an embodiment of the present invention, where as shown in fig. 1, the method includes:
step 101, acquiring a pre-configured expansion parameter of a metropolitan area network circuit to be expanded;
102, obtaining a debugging configuration script, a debugging test script and an expansion configuration script of the metropolitan area network circuit;
103, carrying out debugging configuration on the metropolitan area network circuit according to the pre-configured expansion parameters and the debugging configuration script, wherein the debugging configuration is to configure ports at two ends of the metropolitan area network circuit;
step 104, when the debugging and testing configuration is determined to be successful, debugging and testing the metro network circuit according to the pre-configured expansion parameters and the debugging and testing script, wherein the debugging and testing is to test the ports at the two ends of the configured metro network circuit;
and 105, when the debugging and testing is determined to be successful, expanding the capacity of the metropolitan area network circuit at an expansion time point according to the pre-configured expansion parameters and the expansion configuration script.
In the embodiment of the invention, in the process, the debugging, testing and expanding can be automatically and sequentially carried out according to the pre-configured expanding parameters of the metropolitan area network circuit to be expanded, the debugging, testing and expanding configuration script of the metropolitan area network circuit, and the debugging, testing and expanding configuration script of the metropolitan area network circuit without manual debugging, testing and expanding, so that the expanding efficiency of the metropolitan area network circuit is improved, manual errors are avoided, and the expanding accuracy is high.
In one embodiment, the scope of the metro network circuit to be expanded includes a provincial network router, a metro network core, a metro network SR, a metro network BRAS, a provincial network switch, and a circuit between metro network switch devices. The pre-configured expansion parameters of the metropolitan area network circuit to be expanded comprise one or any combination of port information and equipment information, an IP address, a circuit number, expansion conditions and an expansion time point at two ends of the metropolitan area network circuit.
In specific implementation, in step 101, a pre-configured capacity expansion parameter of a metropolitan area network circuit to be expanded is obtained, where fig. 2 is an interface schematic diagram of the pre-configured capacity expansion parameter in the embodiment of the present invention, which supports a user to pre-configure the capacity expansion parameter, where the metropolitan area network circuit to be expanded includes an a-side node and a B-side node, device information at both ends includes a device attribute, a device name, and a Trunk port, port information at both ends includes a physical port and an IP address, a capacity expansion condition includes that capacity expansion cannot be performed until the port is successfully tested and that the port is allowed to be tested and failed, the capacity expansion parameter further includes a capacity expansion description, a circuit number, whether transmission is involved, and a capacity expansion time point, where a field with a field cannot be empty, and in fig. 2, the device name, the Trank port, and the physical port are all inputtable pull-down filter boxes, which can provide several selectable items for the user, physical ports do not include Trunk ports and subinterfaces. And the A end and the B end support the selection of the equipment name in a pull-down box mode after filtering is carried out according to the node and the equipment attribute. The B-side may be a local unmanagable device, so the name of the B-side device and the physical port of the B-side may not exist in the system, and only the a-side may be configured during configuration.
Clicking on the + number, one more set of parameters may be added. For example, the IP address of the a terminal is 192.168.254.1, and the IP address of the B terminal in the first set of parameters: 192.168.254.2, adding 4 to the second group based on the address, and so on, obtaining multiple groups of parameters, and similarly, clicking a number can reduce one group of attributes.
After receiving the preset configuration of the expansion parameters of the metro network circuit to be expanded by the user, obtaining the preset expansion parameters, and then checking the preset expansion parameters, wherein the checking rules are various, for example, the physical port at the a end and the physical port at the B end cannot be repeated.
The capacity expansion condition in fig. 2 is selected by default, and capacity expansion is performed only after successful debugging and testing, and certainly, capacity expansion may be performed under the condition that debugging and testing are allowed to fail according to actual conditions.
The capacity expansion time point in fig. 2 may be accurate to the time minute and second, and when it is determined that the debugging configuration is successful, the capacity expansion time point may be reached, and the capacity expansion may be performed on the metropolitan area network circuit according to the preset capacity expansion parameter and the capacity expansion configuration script.
It should be noted that, after the debugging configuration is successful, the interface shown in fig. 2 may be returned to, and the capacity expansion parameter input by the user is received again; after the debugging configuration is successful, during debugging test and capacity expansion, only the capacity expansion description, the Trunk port name, whether transmission is involved, the capacity expansion condition and the capacity expansion time point can be modified, and other parameters cannot be modified. After the capacity expansion, that is, during the capacity expansion test, any parameter is not modifiable.
In step 102, a debug configuration script, a debug test script, and an expansion configuration script of the metro network circuit are obtained, which are introduced below.
(1) Debugging configuration script
The debugging configuration script comprises a general configuration script and a customized debugging configuration script, and two examples of the explanation on whether system-view multimedia is executed after logging in the general configuration script are as follows, wherein the general configuration script is suitable for all devices:
example 1:
< LNSY-PB-CMNET-RT01-HN1NE5KE > system-view? // determine if immediately can be entered at the back
The result is returned as the result of the elementary Mode of the following effective elementary/: this row indicates that input is possible
<cr>
<LNSY-PB-CMNET-RT01-HN1NE5KE>system-view immediately
Enter system view,return user view with return command.
[LNSY-PB-CMNET-RT01-HN1NE5KE]
Example 2:
< LNDAD-MA-CMNET-BAS08-DGLME60X > system-view? //? Judging whether immediatately can be input later
< cr >// return result this row only indicates that no input is possible
<LNDAD-MA-CMNET-BAS08-DGLME60X>system-view
Enter system view,return user view with Ctrl+Z.
[LNDAD-MA-CMNET-BAS08-DGLME60X]
An example of exit in a generic configuration script is as follows:
in the quit-to mode
save
In the customized debugging and configuration script, the ports at both ends of the metro network circuit are configured, that is, the a end and the B end are configured unless the B end is not the network management equipment. When configuring a port description, it is necessary to convert the port name into a port type — port number, such as:
Conversion of 100GE1/1/0 to 100GE-1/1/0
Gigabit Ethernet1/0/14 to GE-1/0/14
XGabatite Ethernet7/0/0 converted to XGE-7/0/0
The configuration instructions for the user to enter the system view from the user view are as follows:
system-view
the instructions for entering a port view are as follows, where XX is the port name:
interface XX
when the equipment types are provincial network router, metropolitan area network core, metropolitan area network SR and metropolitan area network BRAS, the added ports are described as follows:
description [ device name at A end ] port type-port number [ device name at B end ] port type-port number- (circuit number)
In the above description, if the B-side is a device that cannot be managed by the network, the port name of the B-side is directly used as the port type-port number to configure the port description.
When the equipment type is provincial network exchanger or metropolitan network exchanger, the port adding instruction is as follows:
description [ device name at A end ] port type-port number [ device name at B end ] port type-port number- (circuit number)
The instruction to close the protocol interface state change is as follows:
undo enable snmp trap updown
in the above description, when the state change of the protocol interface is closed, a Trap is sent to the network management end.
The instruction to add an interface IP address is as follows:
IP address private network IP address 30
The port opening is described as follows:
undo shutdown
when the device type is provincial network switch or metropolitan area network switch, the instruction for switching the Ethernet interface from the two-layer mode to the three-layer mode is configured as follows:
undo portswitch
(2) debugging test script
In the debugging test script, the ports at both ends of the metro network circuit are configured unless the B end is not the network management device.
In an embodiment, the performing a test on the metro network circuit according to the preconfigured expansion parameter and the test script includes:
in the process of debugging and testing the metropolitan area network circuit, at least one of the following test data is collected: optical power data, error code data and Ping test data;
and analyzing the test data to obtain a testing result.
In the above embodiment, the debug test script is used when performing the debug test on the metro network circuit, and in the process of performing the debug test on the metro network circuit, the optical power data, the error code data, and the Ping test data need to be collected, so that the debug test script needs to be configured to collect the optical power data, the error code data, and the Ping test data.
When the debugging test is carried out according to the debugging test script, the script for collecting error code data needs to be issued twice, after the first time of issuing, the script is issued again after 1 minute, thereby comparing that the error code is changed, and if the error code is changed, the prompt message of debugging test failure can be output. If the collected light power exceeds the range, prompt information of debugging and testing failure is output.
Two descriptions of the device type as viewed by the router or BRAS100G port in the commissioning test script are as follows:
example 1:
Figure BDA0002212429290000071
Figure BDA0002212429290000081
Figure BDA0002212429290000091
example 2:
Figure BDA0002212429290000092
Figure BDA0002212429290000101
Figure BDA0002212429290000111
an example of a description of the device type viewed for the switch 100G port in the debug test script is as follows:
Figure BDA0002212429290000112
Figure BDA0002212429290000121
Figure BDA0002212429290000131
Figure BDA0002212429290000141
an example of a description of a device type view for a switch 10G, ge port in a debug test script is as follows:
Figure BDA0002212429290000142
Figure BDA0002212429290000151
Figure BDA0002212429290000161
Figure BDA0002212429290000171
the testing script needs to embody Ping, and the Ping process is as follows:
and logging in the device at the A end to Ping to test the IP address of the B end.
If the B terminal is not a virtual device, logging in the B terminal device to Ping test the IP address of the A terminal.
And if the Ping test packet is lost, prompting that the debugging test fails.
The instructions for the Ping test are as follows:
Ping–c 1000–s 3000–m 150XX
in the above instruction, XX is the IP address of the opposite end (-C packet number, -S packet size, -m PING measurement interval time (millisecond)) PING measurement time to check whether packet loss occurs.
An example of the results of the Ping test is as follows:
PING 192.168.255.226:3000data bytes,press CTRL_C to break
Reply from 192.168.255.226:bytes=3000Sequence=1ttl=255time=22ms
Reply from 192.168.255.226:bytes=3000Sequence=2ttl=255time=24ms
Reply from 192.168.255.226:bytes=3000Sequence=3ttl=255time=7ms
Reply from 192.168.255.226:bytes=3000Sequence=4ttl=255time=7ms
Reply from 192.168.255.226:bytes=3000Sequence=5ttl=255time=7ms
Reply from 192.168.255.226:bytes=3000Sequence=6ttl=255time=7ms
Reply from 192.168.255.226:bytes=3000Sequence=7ttl=255time=7ms
Reply from 192.168.255.226:bytes=3000Sequence=8ttl=255time=19ms
Reply from 192.168.255.226:bytes=3000Sequence=9ttl=255time=8ms
Reply from 192.168.255.226:bytes=3000Sequence=10ttl=255time=7ms
Reply from 192.168.255.226:bytes=3000Sequence=11ttl=255time=6ms
Reply from 192.168.255.226:bytes=3000Sequence=12ttl=255time=8ms
Reply from 192.168.255.226:bytes=3000Sequence=13ttl=255time=8ms
Reply from 192.168.255.226:bytes=3000Sequence=14ttl=255time=16ms
Reply from 192.168.255.226:bytes=3000Sequence=15ttl=255time=13ms
Reply from 192.168.255.226:bytes=3000Sequence=16ttl=255time=8ms
Reply from 192.168.255.226:bytes=3000Sequence=17ttl=255time=8ms
Reply from 192.168.255.226:bytes=3000Sequence=18ttl=255time=9ms
Reply from 192.168.255.226:bytes=3000Sequence=19ttl=255time=8ms
Reply from 192.168.255.226:bytes=3000Sequence=20ttl=255time=8ms
Reply from 192.168.255.226:bytes=3000Sequence=21ttl=255time=15ms
Reply from 192.168.255.226:bytes=3000Sequence=22ttl=255time=26ms
Reply from 192.168.255.226:bytes=3000Sequence=23ttl=255time=7ms
Reply from 192.168.255.226:bytes=3000Sequence=24ttl=255time=7ms
Reply from 192.168.255.226:bytes=3000Sequence=25ttl=255time=7ms
Reply from 192.168.255.226:bytes=3000Sequence=26ttl=255time=7ms
Reply from 192.168.255.226:bytes=3000Sequence=27ttl=255time=8ms
Reply from 192.168.255.226:bytes=3000Sequence=28ttl=255time=21ms
Reply from 192.168.255.226:bytes=3000Sequence=29ttl=255time=20ms
Reply from 192.168.255.226:bytes=3000Sequence=30ttl=255time=8ms
Reply from 192.168.255.226:bytes=3000Sequence=31ttl=255time=8ms
Reply from 192.168.255.226:bytes=3000Sequence=32ttl=255time=8ms
Reply from 192.168.255.226:bytes=3000Sequence=33ttl=255time=8ms
Reply from 192.168.255.226:bytes=3000Sequence=34ttl=255time=9ms
Reply from 192.168.255.226:bytes=3000Sequence=35ttl=255time=14ms
Reply from 192.168.255.226:bytes=3000Sequence=36ttl=255time=6ms
Reply from 192.168.255.226:bytes=3000Sequence=37ttl=255time=7ms
Reply from 192.168.255.226:bytes=3000Sequence=38ttl=255time=7ms
Reply from 192.168.255.226:bytes=3000Sequence=39ttl=255time=7ms
Reply from 192.168.255.226:bytes=3000Sequence=40ttl=255time=7ms
Reply from 192.168.255.226:bytes=3000Sequence=41ttl=255time=7ms
Reply from 192.168.255.226:bytes=3000Sequence=42ttl=255time=18ms
Reply from 192.168.255.226:bytes=3000Sequence=43ttl=255time=8ms
Reply from 192.168.255.226:bytes=3000Sequence=44ttl=255time=8ms
Reply from 192.168.255.226:bytes=3000Sequence=45ttl=255time=8ms
---192.168.255.226ping statistics---
45packet(s)transmitted
45packet(s)received
0.00%packet loss
v/No packet loss represents Normal, otherwise represents abnormal
round-trip min/avg/max=6/10/26ms
(3) Capacity expansion configuration script
In step 102, a capacity expansion configuration script is also obtained, which is an example of the capacity expansion configuration script as follows:
the instructions for the user to enter the system view from the user view are as follows:
system-view
the instructions for entering the port view are as follows, XX stands for port name:
interface XX
Example 1: the instructions for the province network router, the metropolitan area network core, the metropolitan area network SR and the metropolitan area network BRAS are as follows:
the instruction to close the protocol interface state change is as follows:
undo enable snmp trap updown
in the above description, when the state change of the protocol interface is closed, a Trap is sent to the network management end.
The instruction to delete the private network IP address and subnet mask is as follows:
undo ip address
the instructions when referring to the transmission circuit are as follows:
after the interface state is set to be changed to Down, the instruction with the response suppression time of 200 milliseconds of the system is as follows:
carrier down-hold-time 200
the instructions of the eth-trunk group are as follows:
eth-trunk XX (eth-trunk interface number)
Example 2: the instructions for the switches (e.g., net switch, metropolitan area network switch) are as follows:
the instruction to delete the interface IP address is as follows:
undo ip address
the instructions to switch the ethernet interface from the three-layer mode to the two-layer mode are configured as follows:
portswitch
when the state change of the protocol interface is started, a Trap instruction is sent to a network management end as follows:
enable snmp trap updown
the instructions added to the eth-trunk group are as follows, XX representing the eth-trunk interface number:
eth-trunk XX
in step 103, the metro network circuit is configured according to the pre-configured capacity expansion parameter and the configuration script, the configuration is performed on the ports at the two ends of the metro network circuit,
The specific process of configuring the ports at the two ends of the metro network circuit is to obtain a preset capacity expansion parameter, run a debugging configuration script, and obtain a running result, namely a debugging configuration result, wherein the debugging configuration result comprises successful debugging configuration and failed debugging configuration.
In an embodiment, the method further comprises:
when the debugging configuration is determined to be failed, the following steps are repeatedly executed until the debugging configuration is successful:
obtaining modified capacity expansion parameters of a metropolitan area network circuit, wherein the modified capacity expansion parameters of the metropolitan area network circuit are obtained by modifying the current capacity expansion parameters of the metropolitan area network circuit;
and carrying out debugging configuration on the metropolitan area network circuit according to the modified expansion parameters and the debugging configuration script of the metropolitan area network circuit.
In the above embodiment, the modified capacity expansion parameter of the metro network circuit is obtained by modifying the current capacity expansion parameter of the metro network circuit, and the modification process may be receiving an artificially input capacity expansion parameter through the interface shown in fig. 2.
In step 104, when the debugging and testing configuration is determined to be successful, debugging and testing the metro network circuit according to the pre-configured capacity expansion parameters and the debugging and testing script, wherein the debugging and testing is to test the ports at two ends of the configured metro network circuit;
In the above embodiment, if the debugging, testing and configuring according to the preconfigured capacity expansion parameter fails, and the capacity expansion parameter is subsequently modified, then after the final debugging, testing and configuring succeeds, the latest current capacity expansion parameter should be used.
In an embodiment, the method further comprises:
when the debugging test is determined to fail, the following steps are repeatedly executed until the debugging test is successful:
obtaining modified capacity expansion parameters of a metropolitan area network circuit, wherein the modified capacity expansion parameters of the metropolitan area network circuit are obtained by modifying the current capacity expansion parameters of the metropolitan area network circuit;
and carrying out debugging and testing on the metropolitan area network circuit according to the modified expansion parameter and the debugging and testing script of the metropolitan area network circuit.
In the above embodiment, when modifying the current capacity expansion parameter of the metro network circuit, only 5 parameters, i.e., a capacity expansion description point, a Trunk port, whether transmission is involved, a capacity expansion condition, and a capacity expansion time point, may be modified; and then, carrying out debugging and testing on the metropolitan area network circuit according to the modified latest capacity expansion parameter until the debugging and testing are successful. The debugging test may be a step that is repeatedly executed, and the step may be executed once before the metro network circuit needs to be expanded at every other end time.
In step 105, when it is determined that the debugging test is successful, at an expansion time point, expanding the capacity of the metropolitan area network circuit according to the pre-configured expansion parameter and the expansion configuration script.
In the above embodiment, the capacity expansion time point is a parameter of capacity expansion, if the capacity expansion parameter is not changed after the configuration of the debugging and after the testing, the preset capacity expansion parameter is used, and if the capacity expansion parameter is changed, the latest capacity expansion parameter is used.
In an embodiment, the method further comprises:
when the capacity expansion is determined to be failed, the following steps are repeatedly executed until the capacity expansion is successful:
obtaining modified capacity expansion parameters of a metropolitan area network circuit, wherein the modified capacity expansion parameters of the metropolitan area network circuit are obtained by modifying the current capacity expansion parameters of the metropolitan area network circuit;
and at the capacity expansion time point, carrying out capacity expansion on the metropolitan area network circuit according to the modified capacity expansion parameters and the capacity expansion configuration scripts of the metropolitan area network circuit.
In the above embodiment, when modifying the current capacity expansion parameter of the metro network circuit, the 5 parameters of the capacity expansion description point, the Trunk port, whether transmission is involved, the capacity expansion condition, and the capacity expansion time point may be modified only on the basis of the latest capacity expansion parameter; and then according to the latest modified expansion parameter, carrying out expansion on the metropolitan area network circuit until the expansion is successful.
In an embodiment, the method further comprises:
acquiring a capacity expansion test script;
and when the successful expansion is determined, carrying out expansion test on the metropolitan area network circuit according to the preset expansion parameters and the expansion test script to obtain an expansion test result.
In the above embodiment, the example of the capacity expansion test script is as follows:
Figure BDA0002212429290000221
Figure BDA0002212429290000231
Figure BDA0002212429290000241
Figure BDA0002212429290000251
during the capacity expansion test, if the pre-configured script is not changed during the debugging, testing and expanding, the capacity expansion test can be performed on the metropolitan area network circuit according to the pre-configured capacity expansion parameter and the capacity expansion test script to obtain a capacity expansion test result. If the capacity expansion parameter changes, the latest capacity expansion parameter is adopted, and the capacity expansion parameter can not be modified after the capacity expansion step is completed. In addition, the expansion test is also a repeated process, and the expansion condition of the metro network circuit can be tested at intervals.
In an embodiment, the method further comprises:
and when the capacity expansion test fails, analyzing the capacity expansion test result to obtain analysis data of the reason of the capacity expansion test failure.
In the above embodiment, the failure cause of the capacity expansion test may be multiple, may be a problem of a capacity expansion parameter, may also be a problem of network interruption, and the like, and the failure cause of the capacity expansion test may provide a basis for next capacity expansion.
In one embodiment, the method further comprises:
obtaining historical capacity expansion test failure reason analysis data;
acquiring a pre-configured capacity expansion parameter of a metropolitan area network circuit to be subjected to capacity expansion, wherein the method comprises the following steps:
and analyzing data according to the historical expansion test failure reason to obtain the pre-configured expansion parameters of the metropolitan area network circuit to be expanded.
In the above embodiment, the analysis data of the failure reason of the historical expansion test is the historical data of the failure reason of the previous expansion test, and these data provide a basis for the next time of inputting the expansion parameters by the user.
Based on the foregoing embodiments, the present invention provides the following embodiments to describe a detailed flow of a metro network circuit capacity expansion method, and fig. 3 is a detailed flow chart of the metro network circuit capacity expansion method provided in the embodiments of the present invention, as shown in fig. 3, in an embodiment, the detailed flow of the metro network circuit capacity expansion method includes:
step 301, acquiring a pre-configured capacity expansion parameter of a metropolitan area network circuit to be expanded;
step 302, obtaining a debugging configuration script, a debugging test script and an expansion configuration script of the metropolitan area network circuit;
step 303, performing a debugging configuration on the metropolitan area network circuit according to the pre-configured expansion parameter and the debugging configuration script, where the debugging configuration is to configure ports at two ends of the metropolitan area network circuit;
Step 304, judging whether the debugging configuration is successful, if so, turning to step 306, and if not, turning to step 305;
step 305, the following steps are repeatedly executed until the debugging configuration is successful: obtaining modified capacity expansion parameters of a metropolitan area network circuit, wherein the modified capacity expansion parameters of the metropolitan area network circuit are obtained by modifying the current capacity expansion parameters of the metropolitan area network circuit; carrying out debugging configuration on the metropolitan area network circuit according to the modified expansion parameter and the debugging configuration script of the metropolitan area network circuit;
step 306, testing the metro network circuit according to the pre-configured expansion parameters and the testing script, wherein the testing is to test the ports at the two ends of the configured metro network circuit;
step 307, judging whether the debugging test is successful, if so, turning to step 309, and if not, turning to step 308;
step 308, the following steps are repeatedly executed until the debugging and testing is successful: obtaining modified capacity expansion parameters of a metropolitan area network circuit, wherein the modified capacity expansion parameters of the metropolitan area network circuit are obtained by modifying the current capacity expansion parameters of the metropolitan area network circuit; testing the metro network circuit according to the modified expansion parameter and the testing script of the metro network circuit;
309, at an expansion time point, expanding the capacity of the metropolitan area network circuit according to the preset expansion parameters and the expansion configuration scripts;
step 310, judging whether the capacity expansion is successful, if the capacity expansion is successful, turning to step 312, and if the capacity expansion is failed, turning to step 311;
step 311, repeatedly executing the following steps until the capacity expansion is successful: acquiring modified expansion parameters of a metropolitan area network circuit, wherein the modified expansion parameters of the metropolitan area network circuit are acquired by modifying the current expansion parameters of the metropolitan area network circuit; at an expansion time point, expanding the capacity of the metropolitan area network circuit according to the modified expansion parameters and the expansion configuration script of the metropolitan area network circuit;
step 312, obtaining a capacity expansion test script;
313, performing capacity expansion test on the metropolitan area network circuit according to the preset capacity expansion parameters and the capacity expansion test script to obtain a capacity expansion test result;
and step 314, when the capacity expansion test fails, analyzing the result of the capacity expansion test to obtain analysis data of the reason of the failure of the capacity expansion test.
Of course, it is understood that there may be other variations in the detailed flow of the metro network circuit expansion method, and all the relevant variations should fall within the protection scope of the present invention.
A specific example is given below to illustrate a specific application of the method proposed by the present invention.
Fig. 4 is a state transition diagram of each stage of capacity expansion in an embodiment of the present invention, as shown in fig. 4, when a capacity expansion work order is created, a pre-configured capacity expansion parameter of a metro network circuit to be capacity expanded is obtained; obtaining a debugging configuration script, a debugging test script and an expansion configuration script of the metropolitan area network circuit; then ready to enter a to-be-adjusted state, and in the to-be-adjusted state, the modified capacity expansion parameters can be received; then entering a debugging configuration middle state, carrying out debugging configuration on the metropolitan area network circuit according to the expansion parameters and the debugging configuration script, then entering a debugging configuration failure state or a debugging configuration success state, receiving the modified expansion parameters when the debugging configuration fails, and continuing returning to the debugging configuration middle state; the debugging and testing configuration success state can enter a debugging and testing in-process state through scheduling, debugging and testing are carried out on the metropolitan area network circuit according to the capacity expansion parameters and the debugging and testing script, then the debugging and testing failure state or the debugging and testing success state is entered, the modified capacity expansion parameters can be received in the debugging and testing failure state, at the moment and in the subsequent state, only the capacity expansion condition and the 5 capacity expansion time points, capacity expansion description, whether transmission is involved or not, and the 5 capacity expansion parameters of the Trunk port name are modified, other capacity expansion parameters cannot be modified, and in the debugging and testing success state, the 5 capacity expansion parameters are generally not modified, but if a user wants to actively modify, the debugging and testing in-process state can be returned, and the state can be repeatedly executed for many times; the debugging test success state can enter a to-be-expanded state through timing triggering, namely reaching an expansion time point, and the to-be-expanded state can modify the 5 expansion parameters; when the capacity expansion state enters a capacity expansion configuration middle state through scheduling, capacity expansion is carried out on the metropolitan area network circuit according to capacity expansion parameters and capacity expansion configuration scripts, then a capacity expansion configuration failure state or a capacity expansion configuration success state is entered, and in the capacity expansion configuration failure state, the 5 capacity expansion parameters can be modified, so that the capacity expansion configuration middle state is returned again; the successful state of capacity expansion configuration can be a state in the capacity expansion test through scheduling, then the state enters a failed state of the capacity expansion test or a successful state of the capacity expansion test, the capacity expansion test can be repeatedly carried out, capacity expansion parameters can not be modified no matter the capacity expansion test fails or succeeds, and the state enters a final state after the capacity expansion test succeeds.
In addition, when the states of fig. 4 are executed, each expansion state has a corresponding work order state and test state of the created expansion work order, and table 1 is a correspondence table of the three states.
TABLE 1 State correspondence Table
Expansion state Work order status Test status
1-to be adjusted A-pending deployment 0-to be tested
2-in a debugging configuration In B-deployment 1-in the test
3-successful configuration of debugging P-partial success 2-success
4-debug configuration failure F-failure 3-failure
5-to be expanded C-completion -
In a 6-capacity expansion configuration - -
7-successful flash configuration - -
8-Capacity expansion configuration failure - -
9-termination - -
10-invalidation - -
In this embodiment, fig. 5 is a schematic interface diagram of an expansion state according to an embodiment of the present invention. In fig. 5, the operation authority of each capacity expansion state is different, wherein in the state to be debugged, the operation that can be performed includes modifying the capacity expansion parameter, previewing the capacity expansion parameter, issuing the capacity expansion parameter, and invalidating the operation; in the debugging configuration state, the operation which can be carried out is to check the capacity expansion log; in the state of successful debugging, testing and configuration, the operation which can be carried out comprises debugging, testing, modifying capacity expansion parameters, checking capacity expansion logs and invalidation; in the state of failure of debugging and testing configuration, the operation that can be carried out modifies the capacity expansion parameter, debugging and testing, looks up the capacity expansion log, previews the capacity expansion parameter, issues the capacity expansion parameter and makes a waste; in the state to be expanded, the operation which can be carried out comprises debugging and testing, modification of expansion parameters, viewing of expansion logs, expansion parameter preview, expansion parameter issuing and invalidation; in the capacity expansion configuration state, the operation which can be carried out comprises checking a capacity expansion log; in the successful stage of capacity expansion configuration, the operation which can be carried out comprises capacity expansion test, debugging test, capacity expansion parameter modification, capacity expansion log viewing and invalidation; in the capacity expansion configuration failure state, the operation which can be carried out comprises capacity expansion test, debugging test, capacity expansion parameter modification, capacity expansion log viewing, capacity expansion parameter preview, capacity expansion parameter issuing and invalidation; in the final state, the operation includes capacity expansion test, debugging test, modifying capacity expansion parameter and looking up capacity expansion log. In the interface, a capacity expansion parameter issuing button is clicked to issue, the circuit capacity expansion parameter is issued, and capacity expansion is automatically executed when the capacity expansion time point is reached. And clicking the debugging test state or the capacity expansion test state, and popping up a past test history state list. The default is to sort in reverse order of starting the test. FIG. 6 is a schematic diagram of an interface for checking a test history status in an embodiment of the present invention, where test contents include a debugging test and a capacity expansion test, and statuses include a failure, a success, and a test in progress, and a debugging test script and a capacity expansion test script can be found through the interface, and if there is an exception, a red font can be used to mark the exception (the exception includes a script execution failure, a test data test exception, and the like).
In summary, in the method provided in the embodiment of the present invention, a pre-configured capacity expansion parameter of a metro network circuit to be expanded is obtained; obtaining a debugging configuration script, a debugging test script and an expansion configuration script of the metropolitan area network circuit; according to the pre-configured capacity expansion parameters and the debugging configuration script, debugging and configuring the metropolitan area network circuit, wherein the debugging configuration is to configure ports at two ends of the metropolitan area network circuit; when the debugging and testing configuration is determined to be successful, debugging and testing the metro network circuit according to the pre-configured capacity expansion parameters and the debugging and testing script, wherein the debugging and testing is to test ports at two ends of the configured metro network circuit; and when the debugging test is determined to be successful, expanding the capacity of the metropolitan area network circuit at an expansion time point according to the preset capacity expansion parameters and the capacity expansion configuration script. In the process, the debugging configuration, the debugging test and the expansion can be automatically and sequentially carried out directly according to the pre-configured expansion parameters of the metropolitan area network circuit to be expanded, the debugging configuration script, the debugging test script and the expansion configuration script of the metropolitan area network circuit, and the debugging configuration, the debugging test and the expansion do not need to be carried out manually, so that the expansion efficiency of the metropolitan area network circuit is improved, the manual error is avoided, and the expansion accuracy is high.
Based on the same inventive concept, embodiments of the present invention further provide a metro network circuit expansion apparatus, as described in the following embodiments. Since the principles of these solutions are similar to the metro network circuit expansion method, the implementation of the apparatus may refer to the implementation of the method, and the repeated details are not repeated.
Fig. 7 is a schematic diagram of a metro network circuit expansion apparatus in an embodiment of the present invention, as shown in fig. 7, the apparatus includes:
an expansion parameter obtaining module 701, configured to obtain a pre-configured expansion parameter of a metropolitan area network circuit to be expanded;
a script obtaining module 702, configured to obtain a debugging configuration script, a debugging test script, and an expansion configuration script of the metro network circuit;
a debugging and configuring module 703, configured to perform debugging and configuring on the metropolitan area network circuit according to the preconfigured capacity expansion parameter and the debugging and configuring script, where the debugging and configuring is to configure ports at two ends of the metropolitan area network circuit;
a debugging and testing module 704, configured to, when it is determined that the debugging and testing configuration is successful, perform debugging and testing on the metro network circuit according to the pre-configured capacity expansion parameters and the debugging and testing script, where the debugging and testing is to test ports at two ends of the metro network circuit that has been configured;
And the capacity expansion module 705 is configured to, when it is determined that the debugging test is successful, perform capacity expansion on the metropolitan area network circuit at a capacity expansion time point according to the preset capacity expansion parameter and the capacity expansion configuration script.
In an embodiment, the debugging test module 704 is specifically configured to:
in the process of debugging and testing the metropolitan area network circuit, at least one of the following test data is collected: optical power data, error code data and Ping test data;
and analyzing the test data to obtain a testing result.
In an embodiment, the apparatus further comprises a commissioning configuration detection module 706 configured to:
when the debugging configuration is determined to be failed, the following steps are repeatedly executed until the debugging configuration is successful:
obtaining modified capacity expansion parameters of a metropolitan area network circuit, wherein the modified capacity expansion parameters of the metropolitan area network circuit are obtained by modifying the current capacity expansion parameters of the metropolitan area network circuit;
and carrying out debugging configuration on the metropolitan area network circuit according to the modified expansion parameters and the debugging configuration script of the metropolitan area network circuit.
In one embodiment, the apparatus further comprises a commissioning test detection module 707 configured to:
when the debugging test is determined to fail, the following steps are repeatedly executed until the debugging test is successful:
Acquiring modified expansion parameters of a metropolitan area network circuit, wherein the modified expansion parameters of the metropolitan area network circuit are acquired by modifying the current expansion parameters of the metropolitan area network circuit;
and carrying out debugging and testing on the metropolitan area network circuit according to the modified expansion parameter and the debugging and testing script of the metropolitan area network circuit.
In an embodiment, the apparatus further includes a capacity expansion detection module 708 configured to:
when the capacity expansion is determined to be failed, the following steps are repeatedly executed until the capacity expansion is successful:
obtaining modified capacity expansion parameters of a metropolitan area network circuit, wherein the modified capacity expansion parameters of the metropolitan area network circuit are obtained by modifying the current capacity expansion parameters of the metropolitan area network circuit;
and at the capacity expansion time point, carrying out capacity expansion on the metropolitan area network circuit according to the modified capacity expansion parameters and the capacity expansion configuration scripts of the metropolitan area network circuit.
In an embodiment, the apparatus further includes a capacity expansion testing module 709, configured to:
acquiring a capacity expansion test script;
and when the successful expansion is determined, carrying out expansion test on the metropolitan area network circuit according to the preset expansion parameters and the expansion test script to obtain an expansion test result.
In an embodiment, the apparatus further includes a capacity expansion test detection module 710 configured to:
And when the capacity expansion test fails, analyzing the result of the capacity expansion test to obtain analysis data of the failure reason of the capacity expansion test.
In an embodiment, the apparatus further comprises a history data obtaining module 711, configured to:
obtaining historical capacity expansion test failure reason analysis data;
the capacity expansion parameter obtaining module 701 is specifically configured to:
and analyzing data according to the historical expansion test failure reason to obtain the pre-configured expansion parameters of the metropolitan area network circuit to be expanded.
In summary, in the apparatus provided in the embodiment of the present invention, a pre-configured capacity expansion parameter of a metro network circuit to be expanded is obtained; obtaining a debugging configuration script, a debugging test script and an expansion configuration script of the metropolitan area network circuit; according to the pre-configured capacity expansion parameters and the debugging configuration script, debugging and configuring the metropolitan area network circuit, wherein the debugging configuration is to configure ports at two ends of the metropolitan area network circuit; when the debugging and testing configuration is determined to be successful, debugging and testing the metro network circuit according to the pre-configured capacity expansion parameters and the debugging and testing script, wherein the debugging and testing is to test ports at two ends of the configured metro network circuit; and when the debugging test is determined to be successful, expanding the capacity of the metropolitan area network circuit at an expansion time point according to the preset capacity expansion parameters and the capacity expansion configuration script. In the process, the debugging configuration, the debugging test and the expansion can be automatically and sequentially carried out directly according to the pre-configured expansion parameters of the metropolitan area network circuit to be expanded, the debugging configuration script, the debugging test script and the expansion configuration script of the metropolitan area network circuit, and the debugging configuration, the debugging test and the expansion do not need to be carried out manually, so that the expansion efficiency of the metropolitan area network circuit is improved, the manual error is avoided, and the expansion accuracy is high.
As will be appreciated by one skilled in the art, embodiments of the present invention may be provided as a method, system, or computer program product. Accordingly, the present invention may take the form of an entirely hardware embodiment, an entirely software embodiment or an embodiment combining software and hardware aspects. Furthermore, the present invention may take the form of a computer program product embodied on one or more computer-usable storage media (including, but not limited to, disk storage, CD-ROM, optical storage, and the like) having computer-usable program code embodied therein.
The present invention has been described with reference to flowchart illustrations and/or block diagrams of methods, apparatus (systems), and computer program products according to embodiments of the invention. It will be understood that each flow and/or block of the flowchart illustrations and/or block diagrams, and combinations of flows and/or blocks in the flowchart illustrations and/or block diagrams, can be implemented by computer program instructions. These computer program instructions may be provided to a processor of a general purpose computer, special purpose computer, embedded processor, or other programmable data processing apparatus to produce a machine, such that the instructions, which execute via the processor of the computer or other programmable data processing apparatus, create means for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be stored in a computer-readable memory that can direct a computer or other programmable data processing apparatus to function in a particular manner, such that the instructions stored in the computer-readable memory produce an article of manufacture including instruction means which implement the function specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be loaded onto a computer or other programmable data processing apparatus to cause a series of operational steps to be performed on the computer or other programmable apparatus to produce a computer implemented process such that the instructions which execute on the computer or other programmable apparatus provide steps for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
The above-mentioned embodiments are provided to further explain the objects, technical solutions and advantages of the present invention in detail, and it should be understood that the above-mentioned embodiments are only examples of the present invention and should not be used to limit the scope of the present invention, and any modifications, equivalents, improvements and the like made within the spirit and principle of the present invention should be included in the scope of the present invention.

Claims (18)

1. A metro network circuit expansion method, comprising:
acquiring a pre-configured expansion parameter of a metropolitan area network circuit to be expanded;
obtaining a debugging configuration script, a debugging test script and an expansion configuration script of the metropolitan area network circuit;
according to the pre-configured capacity expansion parameters and the debugging configuration script, debugging and configuring the metropolitan area network circuit, wherein the debugging and configuring is to configure ports at two ends of the metropolitan area network circuit;
when the debugging and testing configuration is determined to be successful, debugging and testing the metro network circuit according to the pre-configured capacity expansion parameters and the debugging and testing script, wherein the debugging and testing is to test ports at two ends of the configured metro network circuit;
when the debugging test is determined to be successful, at an expansion time point, expanding the capacity of the metropolitan area network circuit according to the preset expansion parameters and the expansion configuration scripts;
the range of the metropolitan area network circuit to be expanded comprises a provincial network router, a metropolitan area network core, a metropolitan area network SR, a metropolitan area network BRAS, a provincial network switch and a circuit among metropolitan area network switch devices;
the pre-configured expansion parameters of the metropolitan area network circuit to be expanded comprise one or any combination of port information and equipment information, an IP address, a circuit number, expansion conditions and an expansion time point at two ends of the metropolitan area network circuit;
The expansion time point is an expansion parameter;
according to the preset capacity expansion parameter and the capacity expansion configuration script, the capacity expansion of the metropolitan area network circuit is carried out, and the method comprises the following steps: and if the capacity expansion parameters are not changed after the debugging, testing and testing, adopting the preset capacity expansion parameters to carry out capacity expansion, and if the capacity expansion parameters are changed, adopting the latest capacity expansion parameters to carry out capacity expansion.
2. The metro network circuit expansion method according to claim 1, wherein the performing of the debugging test on the metro network circuit according to the pre-configured expansion parameters and the debugging test script comprises:
in the process of debugging and testing the metropolitan area network circuit, at least one of the following test data is collected: optical power data, error code data and Ping test data;
and analyzing the test data to obtain a testing result.
3. The metro network circuit expansion method according to claim 1, further comprising:
when the debugging configuration is determined to be failed, the following steps are repeatedly executed until the debugging configuration is successful:
obtaining modified capacity expansion parameters of a metropolitan area network circuit, wherein the modified capacity expansion parameters of the metropolitan area network circuit are obtained by modifying the current capacity expansion parameters of the metropolitan area network circuit;
And carrying out debugging configuration on the metropolitan area network circuit according to the modified expansion parameters and the debugging configuration script of the metropolitan area network circuit.
4. The metro network circuit expansion method according to claim 1, further comprising:
when the debugging test is determined to fail, the following steps are repeatedly executed until the debugging test is successful:
obtaining modified capacity expansion parameters of a metropolitan area network circuit, wherein the modified capacity expansion parameters of the metropolitan area network circuit are obtained by modifying the current capacity expansion parameters of the metropolitan area network circuit;
and carrying out debugging and testing on the metropolitan area network circuit according to the modified expansion parameter and the debugging and testing script of the metropolitan area network circuit.
5. The metro network circuit expansion method according to claim 1, further comprising:
when the capacity expansion is determined to be failed, the following steps are repeatedly executed until the capacity expansion is successful:
acquiring modified expansion parameters of a metropolitan area network circuit, wherein the modified expansion parameters of the metropolitan area network circuit are acquired by modifying the current expansion parameters of the metropolitan area network circuit;
and at the capacity expansion time point, carrying out capacity expansion on the metropolitan area network circuit according to the modified capacity expansion parameters and the capacity expansion configuration scripts of the metropolitan area network circuit.
6. The metro network circuit expansion method according to claim 1, further comprising:
acquiring a capacity expansion test script;
and when the successful capacity expansion is determined, carrying out capacity expansion test on the metropolitan area network circuit according to the preset capacity expansion parameters and the capacity expansion test script to obtain a capacity expansion test result.
7. The metro network circuit expansion method according to claim 6, further comprising:
and when the capacity expansion test fails, analyzing the result of the capacity expansion test to obtain analysis data of the failure reason of the capacity expansion test.
8. The metro network circuit expansion method according to claim 7, further comprising:
obtaining historical capacity expansion test failure reason analysis data;
acquiring a pre-configured capacity expansion parameter of a metropolitan area network circuit to be expanded, wherein the method comprises the following steps:
and analyzing data according to the historical expansion test failure reason to obtain the pre-configured expansion parameters of the metropolitan area network circuit to be expanded.
9. The metro network circuit expansion method according to claim 1, wherein the pre-configured expansion parameters of the metro network circuit to be expanded include one or any combination of port information and device information, IP address, circuit number, expansion condition and expansion time point of the metro network circuit, and whether transmission is involved.
10. A metro network circuit expansion apparatus, comprising:
the capacity expansion parameter acquisition module is used for acquiring the pre-configured capacity expansion parameters of the metropolitan area network circuit to be subjected to capacity expansion;
the script obtaining module is used for obtaining a debugging configuration script, a debugging test script and an expansion configuration script of the metropolitan area network circuit;
the debugging and configuring module is used for debugging and configuring the metropolitan area network circuit according to the pre-configured expansion parameters and the debugging and configuring script, wherein the debugging and configuring is to configure ports at two ends of the metropolitan area network circuit;
the debugging and testing module is used for debugging and testing the metropolitan area network circuit according to the pre-configured capacity expansion parameters and the debugging and testing script when the debugging and testing configuration is determined to be successful, wherein the debugging and testing is used for testing ports at two ends of the configured metropolitan area network circuit;
the capacity expansion module is used for expanding the capacity of the metropolitan area network circuit at a capacity expansion time point according to the preset capacity expansion parameters and the capacity expansion configuration scripts when the debugging test is determined to be successful;
the range of the metropolitan area network circuit to be expanded comprises a provincial network router, a metropolitan area network core, a metropolitan area network SR, a metropolitan area network BRAS, a provincial network switch and a circuit among metropolitan area network switch devices;
The pre-configured capacity expansion parameters of the metropolitan area network circuit to be subjected to capacity expansion comprise one or any combination of port information and equipment information, IP addresses, circuit numbers, capacity expansion conditions and capacity expansion time points of two ends of the metropolitan area network circuit;
the expansion time point is an expansion parameter;
the capacity expansion module is specifically configured to: and if the capacity expansion parameters are not changed after the debugging, testing and testing, adopting the preset capacity expansion parameters to carry out capacity expansion, and if the capacity expansion parameters are changed, adopting the latest capacity expansion parameters to carry out capacity expansion.
11. The metro network circuit expansion device of claim 10, further comprising a commissioning configuration detection module for:
when the debugging configuration is determined to be failed, the following steps are repeatedly executed until the debugging configuration is successful:
obtaining modified capacity expansion parameters of a metropolitan area network circuit, wherein the modified capacity expansion parameters of the metropolitan area network circuit are obtained by modifying the current capacity expansion parameters of the metropolitan area network circuit;
and carrying out debugging configuration on the metropolitan area network circuit according to the modified expansion parameters and the debugging configuration script of the metropolitan area network circuit.
12. The metro network circuit expansion device of claim 10, further comprising a commissioning test detection module for:
When the debugging test is determined to fail, the following steps are repeatedly executed until the debugging test is successful:
acquiring modified expansion parameters of a metropolitan area network circuit, wherein the modified expansion parameters of the metropolitan area network circuit are acquired by modifying the current expansion parameters of the metropolitan area network circuit;
and carrying out debugging and testing on the metropolitan area network circuit according to the modified expansion parameters and the debugging and testing script of the metropolitan area network circuit.
13. The metro network circuit expansion apparatus according to claim 10, further comprising an expansion detection module for:
when the capacity expansion is determined to be failed, the following steps are repeatedly executed until the capacity expansion is successful:
obtaining modified capacity expansion parameters of a metropolitan area network circuit, wherein the modified capacity expansion parameters of the metropolitan area network circuit are obtained by modifying the current capacity expansion parameters of the metropolitan area network circuit;
and at the capacity expansion time point, carrying out capacity expansion on the metropolitan area network circuit according to the modified capacity expansion parameters and the capacity expansion configuration scripts of the metropolitan area network circuit.
14. The metro network circuit expansion device according to claim 10, further comprising an expansion test module for:
acquiring a capacity expansion test script;
and when the successful expansion is determined, carrying out expansion test on the metropolitan area network circuit according to the preset expansion parameters and the expansion test script to obtain an expansion test result.
15. The metro network circuit expansion device according to claim 14, further comprising an expansion test detection module for:
and when the capacity expansion test fails, analyzing the capacity expansion test result to obtain analysis data of the reason of the capacity expansion test failure.
16. The metro network circuit capacity apparatus of claim 15, further comprising a historical data acquisition module for:
obtaining historical capacity expansion test failure reason analysis data;
the capacity expansion parameter acquisition module is specifically configured to:
and analyzing data according to the historical expansion test failure reason to obtain the pre-configured expansion parameters of the metropolitan area network circuit to be expanded.
17. A computer device comprising a memory, a processor and a computer program stored on the memory and executable on the processor, characterized in that the processor implements the method of any of claims 1 to 9 when executing the computer program.
18. A computer-readable storage medium, characterized in that the computer-readable storage medium stores a computer program for executing the method of any one of claims 1 to 9.
CN201910903060.7A 2019-09-24 2019-09-24 Metropolitan area network circuit capacity expansion method and device Active CN110519107B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201910903060.7A CN110519107B (en) 2019-09-24 2019-09-24 Metropolitan area network circuit capacity expansion method and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201910903060.7A CN110519107B (en) 2019-09-24 2019-09-24 Metropolitan area network circuit capacity expansion method and device

Publications (2)

Publication Number Publication Date
CN110519107A CN110519107A (en) 2019-11-29
CN110519107B true CN110519107B (en) 2022-06-28

Family

ID=68633477

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201910903060.7A Active CN110519107B (en) 2019-09-24 2019-09-24 Metropolitan area network circuit capacity expansion method and device

Country Status (1)

Country Link
CN (1) CN110519107B (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111478796B (en) * 2020-03-08 2022-12-16 苏州浪潮智能科技有限公司 Cluster capacity expansion exception handling method for AI platform
CN115150344B (en) * 2022-06-30 2023-07-25 苏州浪潮智能科技有限公司 Method, device, equipment and medium for switching network port modes of switch

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103116542A (en) * 2013-01-24 2013-05-22 浪潮(北京)电子信息产业有限公司 Test method of equipment expansion stability
CN109274514A (en) * 2017-07-18 2019-01-25 中兴通讯股份有限公司 A kind of configuration method and relevant device of the network port
CN109495306A (en) * 2018-11-27 2019-03-19 平安科技(深圳)有限公司 A kind of expansion method and equipment of business network
CN109992295A (en) * 2018-01-02 2019-07-09 中兴通讯股份有限公司 A kind of method for edition management and server

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20090077537A1 (en) * 2007-09-18 2009-03-19 International Business Machines Corporation method of automatically generating test cases to test command line interfaces

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103116542A (en) * 2013-01-24 2013-05-22 浪潮(北京)电子信息产业有限公司 Test method of equipment expansion stability
CN109274514A (en) * 2017-07-18 2019-01-25 中兴通讯股份有限公司 A kind of configuration method and relevant device of the network port
CN109992295A (en) * 2018-01-02 2019-07-09 中兴通讯股份有限公司 A kind of method for edition management and server
CN109495306A (en) * 2018-11-27 2019-03-19 平安科技(深圳)有限公司 A kind of expansion method and equipment of business network

Also Published As

Publication number Publication date
CN110519107A (en) 2019-11-29

Similar Documents

Publication Publication Date Title
CN110661669B (en) Network topology automatic discovery method of network equipment based on ICMP, TCP and UDP protocols
CN110519107B (en) Metropolitan area network circuit capacity expansion method and device
CN102457390B (en) A kind of Fault Locating Method based on QOE and system
EP3101841B1 (en) Method, system and computer readable medium for network management automation
EP3958508A1 (en) Data processing method and device, storage medium and electronic device
CN112291075B (en) Network fault positioning method and device, computer equipment and storage medium
EP3101842B1 (en) Method, system and computer readable medium for network management automation
CN111010298B (en) PON (passive optical network) network fault monitoring method and device
CN100461707C (en) Method and system for realizing automatic detection for simple network managing protocol agent
CN112350854B (en) Flow fault positioning method, device, equipment and storage medium
CN110113205B (en) Network troubleshooting system based on software defined network technology and working method thereof
EP4191906A1 (en) Fault diagnosis methods, fault diagnosis rule determining method, diagnosis function deployment method, related device, and storage medium
CN105743687B (en) Method and device for judging node fault
CN103390882A (en) Oversea power grid protection constant value modification method
CN114915561B (en) Network topology graph generation method and device
CN109981377B (en) Distributed data center link monitoring method and system
CN107870852B (en) Test method and device
US8169920B2 (en) Management interface and tool for benchmarking optical network topologies
CN117459365A (en) Fault cause determining method, device, equipment and storage medium
CN108536541A (en) flow engine object processing method and device
CN113395334B (en) Service function chain online updating method, system and equipment
CN114443488A (en) ARINC664 network configuration testing framework construction method
CN114221882A (en) Method, device, equipment and storage medium for detecting fault link
WO2013001655A1 (en) Route search program and information processing device
Jäger et al. Using automatic topology discovery to diagnose profinet networks

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
CP02 Change in the address of a patent holder
CP02 Change in the address of a patent holder

Address after: Room 702-2, No. 4811, Cao'an Highway, Jiading District, Shanghai

Patentee after: CHINA UNITECHS

Address before: 100872 5th floor, Renmin culture building, 59 Zhongguancun Street, Haidian District, Beijing

Patentee before: CHINA UNITECHS