An optimization method and device for IPRAN government and enterprise service disassembly
Patent Information
- Application Number
- CN202211318739.8
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2022-10-26
- Publication Date
- 2025-02-11
- Estimated Expiration
- 2042-10-26
AI Technical Summary
When the existing technology dismantles the administrative and enterprise channel services in IPRAN network management, it is inefficient and requires the dismantling of the source and sink services simultaneously, resulting in coordination problems between the two parties and inefficient.
By splitting the services of the source and sink ends into two independent parts, they are issued asynchronously, and using one record to associate business information between the two ends, the disassembly of the services is realized, and the efficiency and success rate of work order processing are improved.
It improves the efficiency and success rate of work order processing, narrows the scope of failure investigation of issuing business, improves the efficiency of failure investigation and positioning, and avoids duplicate and ineffective work.
Smart Images

Figure CN115766452B_ABST
Abstract
Description
Technical Field
[0001] The invention relates to the field of IPRAN network management, and in particular to an optimization method and device for IPRAN government and enterprise service teardown. Background Art
[0002] With the rapid development of IPRAN network, the efficiency and success rate of issuing government and enterprise channel services through IPRAN network management are becoming higher and higher. In order to meet the rapid growth of the business needs of operators, network management has higher requirements for new service installation and service removal. Since operators have non-network management methods to issue new installations, but the service removal requirements need to go through IPRAN network management, the current service removal is to remove a complete service line, that is, the services at the source and destination are removed at the same time. However, there are some business scenarios, from a central point A to another point Z, and the customer needs to remove the service from Z and then transfer it to Z1, and the original AZ becomes A-Z1. The conventional practice is to first completely delete the services at both ends of AZ, and then create a complete new installation of A-Z1. The network management release and on-site engineering need to be carried out simultaneously, which actually involves coordination issues between the two parties, resulting in some inefficiencies.
[0003] like Figure 1 As shown, the method for logging in to the device configuration includes: obtaining the login device IP, login account, login password and other parameter information; testing whether the device is pinged, if yes, use the account and password to log in to the device, otherwise return failure; use the account and password to log in to the device, execute the configuration command if the login is successful, and return failure if the login is unsuccessful; if there is no error in executing the configuration command, the device logout returns success, and if there is an error in executing the configuration command, the device logout returns failure. Summary of the invention
[0004] In order to solve the above problems existing in manual network fault location, the present invention provides an optimization method and device for IPRAN government and enterprise service splitting, splits the source end and the destination end of the service splitting work order, and associates the service information of both ends by adding a record, so as to realize asynchronous service splitting, improve the efficiency and success rate of work order processing, and avoid repeated and ineffective work without changing one end and not doing any processing. At the same time, the service is split into two parts, end A and end Z, which are sent separately without affecting each other, narrowing the scope of service failure investigation and improving the efficiency of work order failure investigation and location.
[0005] To achieve the above object, the present invention adopts the following technical solutions:
[0006] In one embodiment of the present invention, a method for optimizing IPRAN government and enterprise service splitting is proposed, the method comprising:
[0007] S01. The government and enterprise dedicated line is activated to generate work order X and work order Y. Work order X includes the configuration of source end U, source end A, source end B1, and source end B2. Work order Y includes the configuration of sink end U, sink end A, sink end B1, and sink end B2.
[0008] S02, Work Order X configuration is issued;
[0009] S03, update the result status of work order X corresponding to the vcid value, and mark the result of work order X according to the execution result of S02;
[0010] S04, Work Order Y is configured and issued;
[0011] S05. Update the result status of work order Y corresponding to the vcid value, and mark the result of work order Y according to the execution result of S04;
[0012] Further, the S02 includes:
[0013] S021. Log in to the source U device and call the sub-method for collecting existing services. Search the ColServ table according to the U device and vcid value. If there is a record, exit normally. Otherwise, configure.
[0014] S022. Log in to the source end A device configuration, call the collection stock service sub-method, search the ColServ table according to the A device and the vcid value, and exit normally if there is a record. Otherwise, delete the mplsswitch-l2vc configuration of the source end U device and the source end B1 device and the source end B2 device.
[0015] S023, log in to the source end B1 device configuration, call the collection stock service sub-method, search the ColServ table according to the B1 device and the vcid value, and exit normally if there is a record, otherwise delete the mpls switch-l2vc configuration of the source end A device and the sink end B1 device;
[0016] S024. Log in to the source B2 device configuration, call the collection of existing services sub-method, search the ColServ table according to the B2 device and the vcid value, and exit normally if there is a record. Otherwise, configure the mpls switch-l2vc configuration of the source A device and the sink B2 device.
[0017] Furthermore, S021-024 included in S02 are executed in parallel, and if any one of them fails, the work order X result is marked as failed, and if S021-024 are all successful, it is marked as successful.
[0018] Furthermore, in S03, the result of work order X is marked according to the execution result of S02, and the specific standard is: if the execution result of S02 fails, the result of work order X is marked as failed; if the execution result of S02 is successful, the result of work order X is marked as successful.
[0019] Further, the S04 includes:
[0020] S041. Log in to the sink U device, call the sub-method for collecting existing services, and search the ColServ table according to the U device and vcid value. If there is a record, exit normally. Otherwise, see EU.txt for configuration instructions.
[0021] S042. Log in to the configuration of the sink A device, call the sub-method of collecting existing services, search the ColServ table according to the A device and the vcid value, and exit normally if there is a record. Otherwise, delete the mplsswitch-l2vc configuration of the sink U device and the sink B1 device and sink B2 device. For specific instructions, see EA.txt
[0022] S043. Log in to the sink B1 device configuration, call the collection of existing services sub-method, search the ColServ table according to the B1 device and vcid value. If there is a record, exit normally. Otherwise, delete the mpls switch-l2vc configuration of the sink A device and the source B1 device. For specific instructions, see the B1 configuration part in E-B1B2.txt
[0023] S044, log in to the sink B2 device configuration, call the collection of existing services sub-method, search the ColServ table according to the B2 device and vcid value. If there is a record, exit normally, otherwise delete the mpls switch-l2vc configuration of the sink A device and the source B2 device. For specific instructions, see the B2 configuration part in E-B1B2.txt
[0024] Furthermore, S041-044 included in S04 are executed in parallel, and if any one of them fails, work order Y is marked as failed, and if S041-044 all succeed, it is marked as successful.
[0025] Furthermore, the record is a result of collecting inventory and storing it in the ColServ table. The result can be found through the vcid value and the device IP, which indicates that the device has a vcid configuration.
[0026] Furthermore, the sub-method for collecting existing services includes:
[0027] S061. Obtain the U device, A device, B1 device, B2 device and vcid value at the source end of the work order. The device set involved in the work order is DEVS.
[0028] S062, check whether DEVS has completed the traversal, if yes, enter the ColServ table according to the vcid values of devices U, A, and B and the device IP, and jump to S0610, if DEVS has not completed the traversal, go to the next step;
[0029] S063. Extract the device from DEVS, log in to the device and execute the show config command to view all service configurations of the device.
[0030] S064, whether the device is a U device, if yes, proceed to the next step, otherwise jump to S066;
[0031] S065, check the configuration content of device U similar to the following: pseudo-wire pw221 neighbour device A ip vcidN, extract device A ip and vcid value N, and jump to S062;
[0032] S066, whether the device is device A, if yes, go to next step, otherwise jump to S068;
[0033] S067, check the configuration content of device A similar to the following, mpls switch-l2vc B device ip N between U device ip N, extract B device ip, U device ip and vcid value N, jump to S062;
[0034] S068, whether the device is B device, if yes, proceed to next step, otherwise jump to S0610;
[0035] S069, check the configuration content of device B similar to the following, mpls switch-l2vc A device ip N between peer B device ip N, extract A device ip, peer B device ip and vcid value N, jump to S062;
[0036] S0610. Log out of the device.
[0037] Furthermore, in S05, the result of work order Y is marked according to the execution result of S04, and the specific standard is: if the execution result of S04 fails, the result of work order Y is marked as failed; if the execution result of S04 is successful, the result of work order Y is marked as successful.
[0038] In one embodiment of the present invention, an optimization device for IPRAN government and enterprise service splitting is also proposed, and the device includes:
[0039] The work order generation module and the government-enterprise dedicated line activation generate work order X and work order Y. Work order X includes the configuration of source end U, source end A, source end B1, and source end B2. Work order Y includes the configuration of sink end U, sink end A, sink end B1, and sink end B2.
[0040] Work order X issuing module, work order X configuration issuing;
[0041] The first vcid value updating module updates the result status of the work order X corresponding to the vcid value, and marks the result of the work order X according to the execution result of S02;
[0042] Work order Y issuing module, work order Y configuration issuing;
[0043] The second vcid value updating module updates the result status of the work order Y corresponding to the vcid value, and marks the result of the work order Y according to the execution result of S04.
[0044] Furthermore, the work order X issuing module includes:
[0045] Work order X sends the U device search module, logs in to the source U device and calls the sub-method of collecting existing business, searches the ColServ table according to the U device and vcid value, and exits normally if there is a record, otherwise configure; see SU.txt for instructions.
[0046] Work order X issues the A device search module, logs in to the source A device configuration, calls the collection of existing business sub-method, searches the ColServ table according to the A device and vcid value, and exits normally if there is a record. Otherwise, delete the mpls switch-l2vc configuration of the source U device and the source B1 device and the source B2 device. For specific instructions, see SA.txt.
[0047] Work order X issues the B1 device search module, logs in to the source B1 device configuration, calls the collection of existing business sub-method, searches the ColServ table according to the B1 device and vcid value, and exits normally if there is a record. Otherwise, delete the mpls switch-l2vc configuration of the source A device and the sink B1 device. For specific instructions, see the B1 configuration part in S-B1B2.txt.
[0048] Work order X sends the B2 device search module, logs in to the source B2 device configuration, calls the collection of existing business sub-method, searches the ColServ table according to the B2 device and vcid value, and exits normally if there is a record. Otherwise, configure the mpls switch-l2vc configuration of the source A device and the sink B2 device. For specific instructions, see the B2 configuration part in S-B1B2.txt.
[0049] Furthermore, the four modules included in the work order X issuing module are executed in parallel. If any one of the modules fails, the work order X result is marked as failed, and if all four modules succeed, the work order X result is marked as successful.
[0050] Furthermore, the vcid value first updating module marks the result of work order X according to the execution result of the work order X issuing module, and the specific standard is that if the execution result of the work order X issuing module fails, the work order X result is marked as failed; if the execution result of the work order X issuing module is successful, the work order X result is marked as successful.
[0051] Furthermore, the work order Y issuing module includes:
[0052] Work order Y sends the U device search module, logs in to the sink U device, calls the sub-method for collecting existing services, searches the ColServ table based on the U device and vcid value, and exits normally if there is a record. Otherwise, see EU.txt for configuration instructions;
[0053] Work order Y issues the A device search module, logs in to the sink A device configuration, calls the acquisition stock service sub-method, searches the ColServ table according to the A device and the vcid value, and exits normally if there is a record. Otherwise, delete the mpls switch-l2vc configuration of the sink U device and the sink B1 device and sink B2 device. For specific instructions, see EA.txt
[0054] Work order Y sends B1 device search module, logs in to sink B1 device configuration, calls the sub-method of collecting existing services, searches ColServ table according to B1 device and vcid value, and exits normally if there is a record, otherwise deletes mpls switch-l2vc configuration of sink A device and source B1 device; for specific instructions, see B1 configuration part in E-B1B2.txt
[0055] Work order Y sends B2 device search module, logs in to the sink B2 device configuration, calls the collection of existing business sub-method, searches the ColServ table according to the B2 device and vcid value, and exits normally if there is a record, otherwise deletes the mpls switch-l2vc configuration of the sink A device and the source B2 device. For specific instructions, see the B2 configuration part in E-B1B2.txt
[0056] Furthermore, the four modules included in the work order Y issuing module are executed in parallel. If any one of them fails, the work order Y result is marked as failed, and if all four modules succeed, it is marked as successful.
[0057] Furthermore, the second update module of the vcid value marks the result of work order Y based on the execution result of the work order Y issuing module, and the specific criteria are: if the execution result of the work order Y issuing module fails, the work order Y result is marked as failed; if the execution result of the work order Y issuing module is successful, the work order Y result is marked as successful.
[0058] In one embodiment of the present invention, a computer device is also proposed, including a memory, a processor, and a computer program stored in the memory and executable on the processor. When the processor executes the computer program, the aforementioned IPRAN government-enterprise service splitting optimization method is implemented.
[0059] In one embodiment of the present invention, a computer-readable storage medium is further provided, wherein the computer-readable storage medium stores a computer program for executing an optimization method for splitting IPRAN government and enterprise services.
[0060] Beneficial effects:
[0061] The present invention separates the source end A from the sink end Z, realizes asynchronous sending to the A end or the Z end, and multiple devices at the same end (A end or Z end) send in parallel, which greatly improves the sending efficiency.
[0062] A complete circuit is issued independently at the A end (work order X) and the Z end (work order Y). The success or failure does not affect each other. The asynchronous method is more in line with the actual situation, avoiding the low efficiency of synchronous coordination between engineering-related personnel in different cities at the A and Z ends, and is more suitable for the current working mode and optimizes individual work efficiency.
[0063] The present invention can quickly discover the current business status by collecting the stock business information of the collection equipment, and first determine whether there is a business corresponding to the vcid value when opening a business work order. Only if it exists will the device be logged in to perform the opening configuration, thereby improving the efficiency of issuing work orders. At the same time, the business status is displayed on the network management page and modification operations can be provided, thereby having good control over the business situation. BRIEF DESCRIPTION OF THE DRAWINGS
[0064] Figure 1 It is a flowchart of a login device configuration method involved in the background technology of the present invention;
[0065] Figure 2 It is a flow chart of the optimization method of IPRAN government and enterprise service disassembly service of the present invention;
[0066] Figure 3 It is a topological diagram for opening a work order for government and enterprise business dismantling in the present invention;
[0067] Figure 4 It is a flow chart of the sub-method for collecting stock business of the present invention;
[0068] Figure 5 It is a schematic diagram of the structure of an optimization device for IPRAN government and enterprise service splitting service according to an embodiment of the present invention;
[0069] Figure 6 It is a schematic diagram of the structure of a computer device according to an embodiment of the present invention. DETAILED DESCRIPTION
[0070] The principles and spirit of the present invention will be described below with reference to several exemplary embodiments. It should be understood that these embodiments are provided only to enable those skilled in the art to better understand and implement the present invention, and are not intended to limit the scope of the present invention in any way. On the contrary, these embodiments are provided to make the present disclosure more thorough and complete, and to fully convey the scope of the present disclosure to those skilled in the art.
[0071] Those skilled in the art will appreciate that the embodiments of the present invention may be implemented as a system, device, apparatus, method or computer program product. Therefore, the present disclosure may be specifically implemented in the following forms, namely: complete hardware, complete software (including firmware, resident software, microcode, etc.), or a combination of hardware and software.
[0072] The professional terms, table examples, and configuration instruction sets involved in this invention are as follows:
[0073] Database related tables
[0074] Vcid table, as shown in Table 1
[0075] vcid value vcid type Work order X configuration delivery result status Work order Y configuration delivery result status 990076441 host success success 990076442 Preparation success success
[0076] Table 1
[0077] Vcid, vcid value;
[0078] Stype, vcid type, primary or backup;
[0079] devsStatus, work order X status;
[0080] deveStatus, work order Y status;
[0081] Vcid value: It can be understood as a serial number, which is different from the ID value of other government and enterprise circuits. This ID value is generally required to be unique throughout the entire process (a parameter that needs to be configured on each device from the source end U to the sink end U). Its actual role should be to facilitate troubleshooting for operation and maintenance.
[0082] vcid type: Since U device->A device->B1 / B2 device, the main vcid usually goes through B1 device, and the backup vcid goes through B2 device, which is a standard requirement for active-standby redundancy.
[0083] Work Order 1 configuration delivery result status: Work Order X delivery result on the A side, success / failure.
[0084] Work Order 2 configuration delivery result status: Work Order Y delivery result on the Z side, success / failure.
[0085] ColServ table, collects the service information of the equipment and saves it in this table. And displays and maintains the information in this table on the network management page, as shown in Table 2 below
[0086] vcid value U device ip A device ip B device ip 990076441 1.132.14.76 16.96.132.20 61.139.236.9
[0087] Table 2
[0088] SU.txt
[0089] configure terminal
[0090] no mpls pw bfd 16.96.132.20 990076442
[0091] no mpls pw bfd 16.96.132.20 990076441
[0092] no cip 1
[0093] no vll 1
[0094] no pw-redundancy-group 11
[0095] no pw 12
[0096] no pw 11
[0097] end
[0098] write
[0099] S-A.Txt
[0100] system-view
[0101] undo mpls switch-l2vc 61.139.236.10 990076441 between 1.132.14.76990076441 trans 2200 recv 2200 encapsulation ethernet mtu 2000control-wordcontrol-word-transparent
[0102] undo mpls switch-l2vc 61.139.236.9 990076442 between 1.132.14.76990076442 trans 2210 recv 2210 encapsulation ethernet mtu 2000control-wordcontrol-word-transparent
[0103] commit
[0104] return
[0105] Save
[0106] S-B1B2.txt
[0107] B1 configuration section
[0108] system-view
[0109] undo mpls switch-l2vc 16.96.132.20 990076442 between 222.218.42.8990076442 encapsulation ethernet control-word-transparent
[0110] commit
[0111] return
[0112] save
[0113] B2 configuration section
[0114] system-view
[0115] undo mpls switch-l2vc 16.96.132.20 990076441 between 222.218.42.7990076441 encapsulation ethernet control-word-transparent
[0116] commit
[0117] return
[0118] Save
[0119] E-U.txt
[0120] configure terminal
[0121] no mpls pw bfd 3.116.183.140 990076442
[0122] no mpls pw bfd 3.116.183.140 990076441
[0123] no cip 1
[0124] no vll 1018
[0125] no pw-redundancy-group 91
[0126] no pw 92
[0127] no pw 91
[0128] end
[0129] Write
[0130] E-A.txt
[0131] configure terminal
[0132] no mspw 990076441
[0133] no pw pw91
[0134] no pw pw10005141
[0135] no mspw 990076442
[0136] no pw pw92
[0137] no pw pw10005142
[0138] end
[0139] Write
[0140] E-B1B2.txt
[0141] Configuration section of B1
[0142] configure terminal
[0143] no mspw 990076441
[0144] no pw pw10003611
[0145] no pw pw10005141
[0146] end
[0147] write
[0148] Configuration section of B2
[0149] configure terminal
[0150] no mspw 990076442
[0151] no pw pw10003612
[0152] no pw pw10005142
[0153] end
[0154] write
[0155] According to the implementation mode of the present invention, an optimization method and device for IPRAN government and enterprise service splitting is proposed. For the service splitting work order, the source end and the destination end are split, and the service information of both ends is associated by adding a record, so as to realize asynchronous service splitting, improve the efficiency and success rate of work order processing, and do not need to change one end to do any processing, so as to avoid repeated and ineffective work. At the same time, the service is split into two parts, end A and end Z, which are sent separately without affecting each other, narrowing the scope of service sending failure troubleshooting and improving the efficiency of troubleshooting and locating the processing of work order failures.
[0156] The principle and spirit of the present invention are explained in detail below with reference to several representative embodiments of the present invention.
[0157] Figure 2 FIG. 1 is a flow chart of an optimization method for IPRAN government and enterprise service splitting service according to an embodiment of the present invention. Figure 2 As shown, the method includes:
[0158] S01. The government and enterprise dedicated line is activated to generate work order X and work order Y. Work order X includes the configuration of source end U, source end A, source end B1, and source end B2. Work order Y includes the configuration of sink end U, sink end A, sink end B1, and sink end B2.
[0159] S02, Work Order X configuration is issued;
[0160] S03, update the result status of work order X corresponding to the vcid value, and mark the result of work order X according to the execution result of S02;
[0161] S04, Work Order Y is configured and issued;
[0162] S05. Update the result status of work order Y corresponding to the vcid value, and mark the result of work order Y according to the execution result of S04;
[0163] The S02 includes:
[0164] S021. Log in to the source U device and call the sub-method for collecting existing services. Search the ColServ table according to the U device and vcid value. If there is a record, exit normally. Otherwise, configure. For instructions, see SU.txt.
[0165] S022. Log in to the source A device configuration, call the collection of existing business sub-method, search the ColServ table according to the A device and the vcid value, and exit normally if there is a record. Otherwise, delete the mplsswitch-l2vc configuration of the source U device and the source B1 device and the source B2 device. For specific instructions, see SA.txt.
[0166] S023. Log in to the source B1 device configuration, call the collection of existing services sub-method, search the ColServ table according to the B1 device and vcid value, and exit normally if there is a record. Otherwise, delete the mpls switch-l2vc configuration of the source A device and the sink B1 device. For specific instructions, see the B1 configuration part in S-B1B2.txt.
[0167] S024. Log in to the source B2 device configuration, call the collection of existing services sub-method, search the ColServ table according to the B2 device and vcid value, and exit normally if there is a record. Otherwise, configure the mpls switch-l2vc configuration of the source A device and the sink B2 device. For specific instructions, see the B2 configuration part in S-B1B2.txt.
[0168] S021-024 included in S02 are executed in parallel. If any one of them fails, the work order X result is marked as failed. If all S021-024 succeed, it is marked as successful.
[0169] In S03, the result of work order X is marked according to the execution result of S02, and the specific standard is: if the execution result of S02 fails, the result of work order X is marked as failed; if the execution result of S02 is successful, the result of work order X is marked as successful.
[0170] The S04 includes:
[0171] S041. Log in to the sink U device, call the sub-method for collecting existing services, and search the ColServ table according to the U device and vcid value. If there is a record, exit normally. Otherwise, see EU.txt for configuration instructions.
[0172] S042. Log in to the configuration of the sink A device, call the sub-method of collecting existing services, search the ColServ table according to the A device and the vcid value, and exit normally if there is a record. Otherwise, delete the mplsswitch-l2vc configuration of the sink U device and the sink B1 device and sink B2 device. For specific instructions, see EA.txt
[0173] S043. Log in to the sink B1 device configuration, call the collection of existing services sub-method, search the ColServ table according to the B1 device and vcid value. If there is a record, exit normally. Otherwise, delete the mpls switch-l2vc configuration of the sink A device and the source B1 device. For specific instructions, see the B1 configuration part in E-B1B2.txt
[0174] S044, log in to the sink B2 device configuration, call the collection of existing services sub-method, search the ColServ table according to the B2 device and vcid value. If there is a record, exit normally, otherwise delete the mpls switch-l2vc configuration of the sink A device and the source B2 device. For specific instructions, see the B2 configuration part in E-B1B2.txt
[0175] S041-044 included in S04 are executed in parallel. If any one of them fails, work order Y is marked as failed. If all S041-044 succeed, it is marked as successful.
[0176] The record is the result of collecting inventory and storing it in the ColServ table. The result can be found through the vcid value and the device IP, which means that the device has a vcid configuration.
[0177] like Figure 4 The sub-method for collecting existing services includes:
[0178] S061. Obtain the U device, A device, B1 device, B2 device and vcid value at the source end of the work order. The device set involved in the work order is DEVS.
[0179] S062, check whether DEVS has completed the traversal, if yes, enter the ColServ table according to the vcid values of devices U, A, and B and the device IP, and jump to S0610, if DEVS has not completed the traversal, go to the next step;
[0180] S063. Extract the device from DEVS, log in to the device and execute the show config command to view all service configurations of the device.
[0181] S064, whether the device is a U device, if yes, proceed to the next step, otherwise jump to S066;
[0182] S065, check the configuration content of device U similar to the following: pseudo-wire pw221 neighbour device A ip vcidN, extract device A ip and vcid value N, and jump to S062;
[0183] S066, whether the device is device A, if yes, go to next step, otherwise jump to S068;
[0184] S067, check the configuration content of device A similar to the following, mpls switch-l2vc B device ip N between U device ip N, extract B device ip, U device ip and vcid value N, jump to S062;
[0185] S068, whether the device is B device, if yes, proceed to next step, otherwise jump to S0610;
[0186] S069, check the configuration content of device B similar to the following, mpls switch-l2vc A device ip N between peer B device ip N, extract A device ip, peer B device ip and vcid value N, jump to S062;
[0187] S0610. Log out of the device.
[0188] In S05, the result of work order Y is marked according to the execution result of S04, and the specific standard is: if the execution result of S04 fails, the result of work order Y is marked as failed; if the execution result of S04 is successful, the result of work order Y is marked as successful.
[0189] It should be noted that, although the operations of the method of the present invention are described in a specific order in the above embodiments and the accompanying drawings, this does not require or imply that the operations must be performed in the specific order, or that all the operations shown must be performed to achieve the desired results. Additionally or alternatively, some steps may be omitted, multiple steps may be combined into one step, and / or one step may be decomposed into multiple steps.
[0190] In order to explain the above-mentioned IPRAN government and enterprise service splitting optimization method more clearly, a specific embodiment is used for illustration below. However, it should be noted that this embodiment is only for better illustrating the present invention and does not constitute an improper limitation to the present invention.
[0191] Example:
[0192] like Figure 3 As shown, the source end U device is 1.132.14.76, service port 0 / 1. U device is connected to A device port 1 / 5, port address 1.136.15.77.
[0193] The source device A is 16.96.132.20, the downstream device U is 0 / 7 / 0, and the port address is 1.136.15.78. The upstream device B1 is 61.139.236.10, and the upstream device B2 is 61.139.236.9.
[0194] The sink end U device is 1.132.14.77, service port 1 / 1. The U device is connected to the A device port 1 / 5, port address 1.136.15.81.
[0195] The host device A is 3.116.183.140, the downstream device U is 1 / 7 / 0 / 4, and the port address is 1.136.15.82. The upstream device A is 222.218.42.7, and the upstream device A is 222.218.42.8.
[0196] S01. The government-enterprise dedicated line is opened to generate work order X and work order Y.
[0197] Work order X includes source end U, source end A, source end B1, and source end B2 that need to be configured.
[0198] Work order Y includes the need to configure sink U, sink A, sink B1, sink B2
[0199] S02, Work Order X configuration is issued:
[0200] S021. Log in to the source U device 1.132.14.76, call the sub-method for collecting existing services, and search the ColServ table according to the U device and vcid value. If there is a record, exit normally. Otherwise, see SU.txt for configuration instructions.
[0201] S022, log in to the source end A device 16.96.132.20 configuration, call the collection of existing business sub-method, search the ColServ table according to the A device and vcid value. If there is a record, exit normally, otherwise delete the mpls switch-l2vc configuration of the source end U device 1.132.14.76 and the source end B1 device 61.139.236.10 and the source end B2 device 61.139.236.9. For specific instructions, see SA.txt.
[0202] S023, log in to the source B1 device 61.139.236.10 configuration, call the collection of existing services sub-method, search the ColServ table according to the B1 device and vcid value, and exit normally if there is a record, otherwise delete the mpls switch-l2vc configuration of the source A device 16.96.132.20 and the sink B1 device 222.218.42.7. For specific instructions, see the B1 configuration part in S-B1B2.txt.
[0203] S024, log in to the source B2 device 61.139.236.9 configuration, call the collection of existing services sub-method, search the ColServ table according to the B2 device and vcid value, if there is a record, exit normally, otherwise configure the mpls switch-l2vc configuration of the source A device 16.96.132.20 and the sink B2 device 222.218.42.8. For specific instructions, see the B2 configuration part in S-B1B2.txt.
[0204] S03. Update the result status of work order X corresponding to the vcid value, wherein steps S021, S022, S023, and S024 are executed in parallel. If any one of them fails, the result of work order X is marked as failed, otherwise it is marked as successful.
[0205] S04, Work Order Y configuration is issued:
[0206] S041. Log in to the sink U device 1.132.14.77, call the sub-method for collecting existing services, and search the ColServ table according to the U device and vcid value. If there is a record, exit normally. Otherwise, see EU.txt for configuration instructions.
[0207] S042, log in to the configuration of the sink A device 3.116.183.140, call the sub-method of collecting existing services, and find the ColServ table according to the A device and the vcid value. If there is a record, exit normally, otherwise delete the mpls switch-l2vc configuration of the sink U device 1.132.14.77 and the sink B1 device 222.218.42.7 and sink B2 device 222.218.42.8. For specific instructions, see EA.txt
[0208] S043, log in to the configuration of the sink B1 device 222.218.42.7, call the collection of existing services sub-method, search the ColServ table according to the B1 device and vcid value, and exit normally if there is a record, otherwise delete the mpls switch-l2vc configuration of the sink A device 3.116.183.140 and the source B1 device 61.139.236.10. For specific instructions, see the B1 configuration part in E-B1B2.txt
[0209] S044, log in to the configuration of the sink B2 device 222.218.42.8, call the sub-method of collecting existing services, and find the ColServ table according to the B2 device and vcid value. If there is a record, exit normally, otherwise delete the mpls switch-l2vc configuration of the sink A device 3.116.183.140 and the source B2 device 61.139.236.9. For specific instructions, see the B2 configuration part in E-B1B2.txt.
[0210] S05. Update the vcid value to correspond to the result status of work order Y, where steps S041, S042, S043, and S044 are executed in parallel. If any one of them fails, the work order Y result is marked as failed, otherwise it is marked as successful.
[0211] Based on the same inventive concept, the present invention also proposes an optimization device for IPRAN government and enterprise service splitting. The implementation of the device can refer to the implementation of the above method, and the repeated parts will not be repeated. The term "module" used below can be a combination of software and / or hardware that implements a predetermined function. Although the device described in the following embodiments is preferably implemented in software, the implementation of hardware, or a combination of software and hardware, is also possible and conceivable.
[0212] Figure 5 FIG. 1 is a schematic diagram of the structure of an optimization device for IPRAN government and enterprise service splitting service according to an embodiment of the present invention. Figure 5 As shown, the device comprises:
[0213] The work order generation module 101 generates work order X and work order Y for opening the government-enterprise dedicated line. Work order X includes the configuration of source end U, source end A, source end B1, and source end B2. Work order Y includes the configuration of sink end U, sink end A, sink end B1, and sink end B2.
[0214] Work order X issuing module 102, work order X configuration issuing;
[0215] The first vcid value updating module 103 updates the result status of the work order X corresponding to the vcid value, and marks the result of the work order X according to the execution result of S02;
[0216] Work order Y issuing module 104, work order Y configuration issuing;
[0217] The second vcid value updating module 105 updates the result status of the work order Y corresponding to the vcid value, and marks the result of the work order Y according to the execution result of S04.
[0218] The work order X issuing module 102 includes:
[0219] Work order X sends the U device search module, logs in to the source U device and calls the sub-method of collecting existing business, searches the ColServ table according to the U device and vcid value, and exits normally if there is a record, otherwise configure; see SU.txt for instructions.
[0220] Work order X issues the A device search module, logs in to the source A device configuration, calls the collection of existing business sub-method, searches the ColServ table according to the A device and vcid value, and exits normally if there is a record. Otherwise, delete the mpls switch-l2vc configuration of the source U device and the source B1 device and the source B2 device. For specific instructions, see SA.txt.
[0221] Work order X issues the B1 device search module, logs in to the source B1 device configuration, calls the collection of existing business sub-method, searches the ColServ table according to the B1 device and vcid value, and exits normally if there is a record. Otherwise, delete the mpls switch-l2vc configuration of the source A device and the sink B1 device. For specific instructions, see the B1 configuration part in S-B1B2.txt.
[0222] Work order X sends the B2 device search module, logs in to the source B2 device configuration, calls the collection of existing business sub-method, searches the ColServ table according to the B2 device and vcid value, and exits normally if there is a record. Otherwise, configure the mpls switch-l2vc configuration of the source A device and the sink B2 device. For specific instructions, see the B2 configuration part in S-B1B2.txt.
[0223] The four modules included in the work order X issuing module 102 are executed in parallel. If any one of the modules fails, the work order X result is marked as failed. If all four modules succeed, the work order X result is marked as successful.
[0224] The vcid value first updating module 103 marks the result of work order X according to the execution result of the work order X issuing module 102. The specific standard is that if the execution result of the work order X issuing module 102 fails, the work order X result is marked as failed; if the execution result of the work order X issuing module 102 succeeds, the work order X result is marked as successful.
[0225] The work order Y issuing module 104 includes:
[0226] Work order Y sends the U device search module, logs in to the sink U device, calls the sub-method for collecting existing services, searches the ColServ table based on the U device and vcid value, and exits normally if there is a record. Otherwise, see EU.txt for configuration instructions;
[0227] Work order Y issues the A device search module, logs in to the sink A device configuration, calls the acquisition stock service sub-method, searches the ColServ table according to the A device and the vcid value, and exits normally if there is a record. Otherwise, delete the mpls switch-l2vc configuration of the sink U device and the sink B1 device and sink B2 device. For specific instructions, see EA.txt
[0228] Work order Y sends B1 device search module, logs in to sink B1 device configuration, calls the sub-method of collecting existing services, searches ColServ table according to B1 device and vcid value, and exits normally if there is a record, otherwise deletes mpls switch-l2vc configuration of sink A device and source B1 device; for specific instructions, see B1 configuration part in E-B1B2.txt
[0229] Work order Y sends B2 device search module, logs in to the sink B2 device configuration, calls the collection of existing business sub-method, searches the ColServ table according to the B2 device and vcid value, and exits normally if there is a record, otherwise deletes the mpls switch-l2vc configuration of the sink A device and the source B2 device. For specific instructions, see the B2 configuration part in E-B1B2.txt
[0230] The four modules included in the work order Y issuing module 104 are executed in parallel. If any one of them fails, the work order Y result is marked as failed. If all four modules succeed, it is marked as successful.
[0231] The second vcid value updating module 105 marks the result of work order Y according to the execution result of work order Y issuing module 104, and the specific standard is: if the execution result of work order Y issuing module 104 fails, the work order Y result is marked as failed; if the execution result of work order Y issuing module 104 succeeds, the work order Y result is marked as successful.
[0232] It should be noted that although several modules of the optimization device for IPRAN government and enterprise service splitting services are mentioned in the above detailed description, this division is only exemplary and not mandatory. In fact, according to an embodiment of the present invention, the features and functions of two or more modules described above can be embodied in one module. Conversely, the features and functions of one module described above can be further divided into multiple modules for embodiment.
[0233] Based on the above invention concept, Figure 6 As shown, the present invention also proposes a computer device 200, including a memory 210, a processor 220, and a computer program 230 stored in the memory 210 and executable on the processor 220. When the processor 220 executes the computer program 230, the aforementioned IPRAN government-enterprise service disassembly optimization method is implemented.
[0234] Based on the aforementioned inventive concept, the present invention further proposes a computer-readable storage medium, which stores a computer program for executing the aforementioned IPRAN government-enterprise service splitting optimization method.
[0235] The optimization method and device for IPRAN government and enterprise service teardown proposed in the present invention can prevent and preprocess faults in a timely and effective manner by formulating process-based analysis means and preprocessing rules, thereby reducing the work pressure of network operation and maintenance personnel and improving operation and maintenance efficiency.
[0236] Although the spirit and principle of the present invention have been described with reference to several specific embodiments, it should be understood that the present invention is not limited to the disclosed specific embodiments, and the division of various aspects does not mean that the features in these aspects cannot be combined to benefit, and such division is only for the convenience of expression. The present invention is intended to cover various modifications and equivalent arrangements contained in the spirit and scope of the attached claims.
[0237] Regarding the limitation of the protection scope of the present invention, those skilled in the art should understand that, based on the technical solution of the present invention, various modifications or variations that can be made by those skilled in the art without creative work are still within the protection scope of the present invention.
Claims
1. A method for optimizing IPRAN government and enterprise service splitting, characterized in that: The method includes: S01. The government and enterprise dedicated line is activated to generate work order X and work order Y. Work order X includes the configuration of source end U, source end A, source end B1, and source end B2. Work order Y includes the configuration of sink end U, sink end A, sink end B1, and sink end B2. S02. Work order X configuration is issued, including: S021. Log in to the source U device and call the sub-method for collecting existing services. Search the ColServ table according to the U device and vcid value. If there is a record, exit normally. Otherwise, configure. S022. Log in to the source end A device configuration, call the collection stock service sub-method, search the ColServ table according to the A device and the vcid value, and exit normally if there is a record. Otherwise, delete the mplsswitch-l2vc configuration of the source end U device and the source end B1 device and the source end B2 device. S023, log in to the source end B1 device configuration, call the collection stock service sub-method, search the ColServ table according to the B1 device and the vcid value, and exit normally if there is a record, otherwise delete the mpls switch-l2vc configuration of the source end A device and the sink end B1 device; S024. Log in to the source B2 device configuration, call the collection of existing services sub-method, search the ColServ table according to the B2 device and the vcid value, and exit normally if there is a record. Otherwise, configure the mpls switch-l2vc configuration of the source A device and the sink B2 device. The sub-methods for collecting existing business include: S061, get the work order source end U device, A device, B1 device, B2 device and vcid value, the work order involves the device set DEVS; S062, check whether DEVS has completed the traversal, if yes, enter the ColServ table according to the vcid values of devices U, A, and B and the device IP, and jump to S0610, if DEVS has not completed the traversal, go to the next step; S063. Extract the device from DEVS, log in to the device and execute the show config command to view all service configurations of the device. S064, whether the device is a U device, if yes, proceed to the next step, otherwise jump to S066; S065, check the configuration content of the U device, extract the IP and vcid value N of the A device, and jump to S062; S066, whether the device is device A, if yes, go to next step, otherwise jump to S068; S067, check the configuration content of device A, extract the B device ip, U device ip and vcid value N, jump to S062; S068, whether the device is B device, if yes, go to next step, otherwise jump to S0610; S069, check the configuration content of device B, extract the IP address of device A, the IP address of device B at the opposite end and the vcid value N, and jump to S062; S0610, log out of the device; S03, update the result status of work order X corresponding to the vcid value, and mark the result of work order X according to the execution result of S02; S04, Work Order Y is configured and issued; S05. Update the result status of work order Y corresponding to the vcid value, and mark the result of work order Y according to the execution result of S04.
2. The optimization method for IPRAN government and enterprise service disassembly service according to claim 1, characterized in that: S021-024 included in S02 are executed in parallel. If any one of them fails, the work order X result is marked as failed. If all S021-024 succeed, it is marked as successful.
3. The optimization method for IPRAN government and enterprise service disassembly service according to claim 1, characterized in that: In S03, the result of work order X is marked according to the execution result of S02, and the specific standard is: if the execution result of S02 fails, the result of work order X is marked as failed; if the execution result of S02 is successful, the result of work order X is marked as successful.
4. The method for optimizing IPRAN government and enterprise service disassembly according to claim 1, characterized in that: The S04 includes: S041. Log in to the sink U device, call the sub-method for collecting existing services, and search the ColServ table according to the U device and vcid value. If there is a record, exit normally, otherwise configure the command; S042, log in to the sink A device configuration, call the collection stock service sub-method, search the ColServ table according to the A device and the vcid value, and exit normally if there is a record, otherwise delete the mplsswitch-l2vc configuration of the sink U device and the sink B1 device and sink B2 device; S043, log in to the sink B1 device configuration, call the collection of existing services sub-method, search the ColServ table according to the B1 device and vcid value, and exit normally if there is a record, otherwise delete the mpls switch-l2vc configuration of the sink A device and the source B1 device; S044. Log in to the sink B2 device configuration, call the existing service collection sub-method, search the ColServ table according to the B2 device and the vcid value, and exit normally if there is a record. Otherwise, delete the mpls switch-l2vc configuration of the sink A device and the source B2 device.
5. The method for optimizing IPRAN government and enterprise service disassembly according to claim 4, characterized in that: S041-044 included in S04 are executed in parallel. If any one of them fails, work order Y is marked as failed. If all S041-044 succeed, it is marked as successful.
6. The method for optimizing IPRAN government and enterprise service disassembly according to claim 2 or 4, characterized in that: The record is the result of collecting inventory and storing it in the ColServ table. The result can be found through the vcid value and the device IP, which means that the device has a vcid configuration.
7. The method for optimizing IPRAN government and enterprise service disassembly according to claim 1, characterized in that: In S05, the result of work order Y is marked according to the execution result of S04, and the specific standard is: if the execution result of S04 fails, the result of work order Y is marked as failed; if the execution result of S04 is successful, the result of work order Y is marked as successful.
8. An optimization device for IPRAN government and enterprise service splitting, characterized in that: The device includes: The work order generation module and the government-enterprise dedicated line activation generate work order X and work order Y. Work order X includes the configuration of source end U, source end A, source end B1, and source end B2. Work order Y includes the configuration of sink end U, sink end A, sink end B1, and sink end B2. Work order X delivery module, work order X configuration delivery, including: Log in to the source U device and call the sub-method of collecting existing services. Search the ColServ table according to the U device and vcid value. If there is a record, exit normally. Otherwise, configure; Log in to the source device A configuration, call the collection of existing services sub-method, search the ColServ table according to the A device and vcid value, and exit normally if there is a record. Otherwise, delete the mpls switch-l2vc configuration of the source device U and the source devices B1 and B2. Log in to the source B1 device configuration, call the collection of existing services sub-method, search the ColServ table according to the B1 device and vcid value, and exit normally if there is a record. Otherwise, delete the mpls switch-l2vc configuration of the source A device and the sink B1 device. Log in to the source B2 device configuration, call the collection of existing services sub-method, search the ColServ table according to the B2 device and vcid value, and exit normally if there is a record. Otherwise, configure the mpls switch-l2vc configuration of the source A device and the sink B2 device; The sub-methods for collecting existing business include: S061, get the work order source end U device, A device, B1 device, B2 device and vcid value, the work order involves the device set DEVS; S062, check whether DEVS has completed the traversal, if yes, enter the ColServ table according to the vcid values of devices U, A, and B and the device IP, and jump to S0610, if DEVS has not completed the traversal, go to the next step; S063. Extract the device from DEVS, log in to the device and execute the show config command to view all service configurations of the device. S064, whether the device is a U device, if yes, proceed to the next step, otherwise jump to S066; S065, check the configuration content of the U device, extract the IP and vcid value N of the A device, and jump to S062; S066, whether the device is device A, if yes, go to next step, otherwise jump to S068; S067, check the A device configuration content, extract the B device ip, U device ip and vcid value N, jump to S062; S068, whether the device is B device, if yes, go to next step, otherwise jump to S0610; S069, check the configuration content of device B, extract the IP address of device A, the IP address of device B at the opposite end and the vcid value N, and jump to S062; S0610, log out of the device; The vcid value first updates the module, updates the result status of the work order X corresponding to the vcid value, and marks the result of the work order X according to the execution result of the module issuing the work order X; Work order Y issuing module, work order Y configuration issuing; The second update module of the vcid value updates the result status of the work order Y corresponding to the vcid value, and marks the result of the work order Y according to the execution result of the module issuing the work order Y.
9. A computer device comprising a memory, a processor and a computer program stored in the memory and executable on the processor, characterized in that: When the processor executes the computer program, the method according to claims 1-7 is implemented.
10. A computer-readable storage medium, characterized in that: The computer-readable storage medium stores a computer program for executing the method of claims 1-7.
Citation Information
Patent Citations
Method and device for optimizing issuing efficiency of IPRAN private line service configuration
CN113904927A