CN112350905A - Method and device for quickly confirming service after operation business router is changed - Google Patents
Method and device for quickly confirming service after operation business router is changed Download PDFInfo
- Publication number
- CN112350905A CN112350905A CN202011186468.6A CN202011186468A CN112350905A CN 112350905 A CN112350905 A CN 112350905A CN 202011186468 A CN202011186468 A CN 202011186468A CN 112350905 A CN112350905 A CN 112350905A
- Authority
- CN
- China
- Prior art keywords
- service
- data
- router
- changed
- change
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Granted
Links
Images
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L12/00—Data switching networks
- H04L12/28—Data switching networks characterised by path configuration, e.g. LAN [Local Area Networks] or WAN [Wide Area Networks]
- H04L12/2852—Metropolitan area networks
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L45/00—Routing or path finding of packets in data switching networks
- H04L45/02—Topology update or discovery
Landscapes
- Engineering & Computer Science (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Data Exchanges In Wide-Area Networks (AREA)
Abstract
The invention provides a method and a device for quickly confirming service after an operator service router is changed, wherein the method comprises the following steps: remotely acquiring an equipment management IP address before equipment change; acquiring service data before change by using a menu instruction acquisition device, and storing the service data as different txt files according to service types; acquiring the changed service data by using a menu instruction acquisition device, and storing the changed service data as a corresponding txt file; and comparing data before and after the equipment is changed by using a menu command, and making different judgments according to preset rules. By the technical scheme, after the operation business router is changed, the operation business router can automatically collect data, compare the data, modify the data, quickly and accurately confirm business, save a large amount of cutting and connecting time for operation and maintenance engineers to confirm the business state, improve efficiency and reduce error rate.
Description
Technical Field
The invention relates to the technical field of data communication, in particular to a method and a device for quickly confirming service after a service router of an operator is changed.
Background
After the service router of the operator IP metropolitan area network operates for a period of time, modification, upgrade, migration and other change operations are required, and this operation behavior is called cutover. Network cutover will directly affect the services carried on the devices, and such cutover may cause an interruption or error in the application of the services in the event of carelessness. If the previous preparation is not done well, the cutting operation may be subject to unexpected problems, which may result in the failure of the cutting operation or even the failure to return to the pre-cutting state. Meanwhile, the cutover relates to a large amount of physical port replacement operations, the types of new and old equipment are different, the software versions are inconsistent, after the replacement cutover is completed, in a traditional service confirmation mode, an operation and maintenance engineer needs to manually collect and confirm various index parameters required by the service, and then state comparison before and after the equipment replacement is manually carried out through comparison software to find out the difference and judge whether the service is normal or not. In the process, a large amount of night cutover window time is consumed, generally not less than one hour, and meanwhile, due to the fact that the acquired data volume is large, errors are prone to occurring when an operation and maintenance engineer carries out manual comparison, and the judgment of the service state is inaccurate.
In view of the above problems, no effective solution has been proposed.
Disclosure of Invention
The embodiment of the invention provides a method for quickly confirming service after a service router of an operator is changed, which comprises the following steps:
remotely acquiring an equipment management IP address before router change;
acquiring service data before router change by using a menu instruction, and storing the service data as different txt files according to service types;
acquiring service data after the router is changed by using a menu instruction, and storing the service data as a corresponding txt file;
and comparing data before and after the router is changed by using the menu command, and making different judgments according to preset rules.
Preferably, the collected service data at least comprises ARP table entries of the Internet private network service, ARP table entries of the Internet virtual private network, ping test data of all private network users of the current service router, and ping test data of all Internet virtual private network users of the current service router.
The invention also includes a device for quickly confirming service after the service router of the operator is changed, which comprises:
the acquisition unit is used for automatically and remotely logging in the metropolitan area network equipment of the operator and confirming the management IP address of the service router to be changed;
the import unit is used for confirming a menu command of data acquisition according to the service type and importing the data before and after the equipment change into the device according to the type;
and the comparison unit is used for comparing the imported data according to a preset rule, making different judgments and outputting the result as a text.
The embodiment of the invention also provides computer equipment which comprises a memory, a processor and a computer program which is stored on the memory and can run on the processor, wherein the processor realizes the method for confirming the service after the router is changed when executing the computer program.
The embodiment of the invention also provides a computer readable storage medium, which stores a computer program for executing the method for confirming the service after the router is changed.
According to the technical scheme provided by the embodiment of the invention, the operation and maintenance engineer can generally complete the service confirmation after the equipment change is completed within 15 minutes by automatically acquiring data, comparing the data and modifying the data, so that a large amount of cutting and connecting time is saved for the operation and maintenance engineer to confirm the service state, the efficiency is improved, and the error rate is reduced.
Drawings
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.
Fig. 1 is a schematic flow chart of a method for quickly confirming a service after a router of an operator service is changed according to an embodiment of the present invention;
fig. 2 is a schematic structural diagram of a device for quickly confirming a service after a router of an operator service is changed 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.
Fig. 1 is a schematic flow chart of a method for quickly confirming a service after a router of an operator service is changed in an embodiment of the present invention, where as shown in fig. 1, the method includes the following steps:
the terms referred to in the steps describe:
IES _ arp: and (4) arp table entries of the Internet private line service.
VPN _ arp: and (4) arp table entries of the Internet virtual private network.
IES _ ping: and testing all special line users of the current service router in a splicing manner.
VPN _ ping: and all Internet virtual private network users of the current service router are tested in a splicing mode.
S101:
And acquiring a management IP address of the service router to be changed and a command set for acquiring service data, and importing the source data.
Through a menu command, before the device is changed, the collection device IES _ arp is stored as d101.txt, and it is assumed that the collected data file stores the information format as follows:
through a menu command, before changing, the collection device VPN _ arp is stored as d102.txt, and it is assumed that the information format of the collected data file storage is as follows:
through a menu command, the collection device IES _ ping before the change is stored as d103.txt, and it is assumed that the collected data file stores the information format as follows:
router#ping rapid 61.177.125.82timeout 1count 2
PING 61.177.125.82 56data bytes
!!
----61.177.125.82PING Statistics----
2packets transmitted,2packets received,0.00%packet loss
round-trip min=0.245ms,avg=0.337ms,max=0.429ms,stddev=0.092ms
router#ping rapid 218.90.171.221timeout 1count 2
PING 218.90.171.221 56data bytes
..
----218.90.171.221PING Statistics----
2packets transmitted,0packets received,100%packet loss
router#ping rapid 218.90.171.222timeout 1count 2
PING 218.90.171.222 56data bytes
!!
through a menu command, before change, the collecting device VPN _ ping is stored as d104.txt, and it is assumed that the information format of the collected data file is as follows:
router#ping rapid router 10050 172.16.45.49timeout 1count 2
PING 172.16.45.49 56data bytes
!!
----172.16.45.49PING Statistics----
2packets transmitted,2packets received,0.00%packet loss
round-trip min=0.680ms,avg=0.712ms,max=0.744ms,stddev=0.032ms
router#ping rapid router 10050 172.16.16.61timeout 1count 2
PING 172.16.16.61 56data bytes
!!
----172.16.16.61PING Statistics----
2packets transmitted,2packets received,0.00%packet loss
round-trip min=1.05ms,avg=1.06ms,max=1.07ms,stddev=0.009ms
router#ping rapid router 10050 172.16.36.161timeout 1count 2
PING 172.16.36.161 56data bytes
!!
----172.16.36.161PING Statistics----
2packets transmitted,2packets received,0.00%packet loss
round-trip min=0.673ms,avg=0.737ms,max=0.801ms,stddev=0.064ms
S102:
after the change of the service router equipment is completed, if the port and the optical fiber and other infrastructures are confirmed to be normal, four data in the previous step are collected, and the four data are named as: d201.txt, d202.txt, d203.txt, d204. txt.
S103:
And comparing through menu commands, reading the contents of d103.txt and d203.txt, and processing the read data, wherein the IP address is a unique identifier in the data, identifying the connectivity identifier behind the same IP address in the d103.txt and the d203.txt by a program, wherein the exclamation mark indicates that the connectivity is normal, and the continuous points indicate that the connectivity is abnormal. If the connectivity test state is changed from the exclamation mark to a point after the replacement change, recording, wherein the mark is: IES _ down.
S104:
And comparing through menu commands, reading the contents of the d104.txt and the d204.txt, processing the read data, wherein the IP address is a unique identifier, identifying the connectivity identifier behind the same IP address in the d104.txt and the d204.txt by a program, wherein the exclamation mark indicates normal connectivity, and the continuous points indicate abnormal connectivity. If the connectivity test state is changed from the exclamation mark to a point after the replacement change, recording, wherein the mark is: VPN _ down.
S105:
Comparing through menu commands, taking out data marked as IES _ down, comparing with d201.txt, using IP address as mark, looking up the state of the same IP address in IES _ down in d201.txt, and making the following judgment:
if no ARP table entry exists in the d201.txt, the terminal is judged to be off-line, and the identifier is as follows: host _ Down _ IES, and outputs Host _ Down _ ies.txt, recording this partial data.
If the ARP table entry in the d201.txt is normal, the terminal is judged to be bound with the gateway MAC address of the original equipment and is identified as a Bind _ GW _ Mac _ IES, data identified as the Bind _ GW _ Mac _ IES are inquired for d101.txt to obtain the original gateway MAC, the original gateway MAC is synchronously updated to the changed gateway interface of the network equipment, the ping test is carried out again, if the ping test is normal at the moment, the identification is changed from the Bind _ GW _ Mac _ IES to the Bind _ Old _ Mac _ IES, the text Bind _ Id _ IES is output, if the ping test is still normal, the configuration is recovered, the changed gateway MAC of the network equipment is continuously used, the identification is changed from the Bind _ GW _ Mac _ IES to the changed _ Service _ IES, and the text New _ Service _ IES.txt is output, and a part of users Need to return visit by special persons the next day.
After this step is completed, the following text file is generated:
txt this part of data is judged to be off-line
The part of data of the Bind _ Old _ Mac _ ies.txt is judged that the user binds the original gateway Mac address and needs to further contact the user for updating.
The state of the part of users changes before and after changing, and the clients Need to be contacted to further confirm the Service state.
S106:
Comparing through a menu command, taking out data marked as VPN _ down, comparing with d202.txt, using an IP address as a mark, searching the state of the same IP address in VPN _ down in d202.txt, and judging by a program as follows:
if no ARP table entry exists in the d202.txt, the terminal is judged to be offline, and the identifier is as follows: host _ Down _ VPN, and outputs Host _ Down _ VPN.
If the ARP table entry in the d202.txt is normal, the terminal is judged to be bound with the gateway MAC address of the original equipment and is identified as a Bind _ GW _ Mac _ VPN, data identified as the Bind _ GW _ Mac _ VPN is inquired for the d102.txt, the original gateway MAC is obtained, the data is synchronously updated to the changed gateway interface of the network equipment, the ping test is carried out again, if the ping test is normal, the identification is changed from the Bind _ GW _ Mac _ VPN to a Bind _ Old _ Mac _ VPN, the text Bind _ Mac _ VPN. txt is output, if the ping test is still not normal, the configuration is recovered, the changed gateway MAC of the network equipment is continuously used, the identification is changed from the Bind _ GW _ Mac _ VPN to a Next _ Service _ VPN, and the text Next _ VPN.
After this step is completed, the following text file is generated:
and determining that the part of data is offline of the user
And determining that the part of data of the Bind _ Old _ Mac _ VPN. txt is the original gateway MAC address bound by the user, and needing to further contact the user for updating.
And the state of the part of users is changed before and after changing, and the users Need to contact with the client to further confirm the Service state.
Based on the same inventive concept, the embodiment of the present invention further provides a device for quickly confirming a service after the change of the operator service router, and the principle of the device for quickly confirming a service after the change of the operator service router for solving the problem is similar to the method for quickly confirming a service after the change of the operator service router, so that the implementation of the device for quickly confirming a service after the change of the operator service router can refer to the implementation of the method for quickly confirming a service after the change of the operator service router, and repeated parts are not described again. As used hereinafter, the term "unit" may be a combination of software and/or hardware that implements a predetermined function. Although the means described in the embodiments below are preferably implemented in software, an implementation in hardware, or a combination of software and hardware is also possible and contemplated.
Fig. 2 is a schematic structural diagram of a device for quickly confirming a service after a change of an operator service router in an embodiment of the present invention, as shown in fig. 2, the device includes:
the device automatically and remotely logs in the metropolitan area network equipment of the operator and confirms the management IP address of the service router to be changed;
the importing unit 02 is used for confirming the menu command of data acquisition according to the service type and importing the data before and after the equipment change into the device according to the type;
the comparison unit 03 compares the imported data according to preset rules to make different judgments.
In addition, if the command set of the collected data is changed, the method and the device can also be applied to the quick confirmation service after the change of other kinds of network equipment.
The technical scheme provided by the embodiment of the invention has the following beneficial technical effects: after the operation business router is changed, the data can be automatically collected, compared and modified, the operation and maintenance engineer can generally complete business confirmation after the equipment change is completed within 15 minutes, a large amount of cutting and connecting time is saved for the operation and maintenance engineer to confirm the business state, the efficiency is improved, and the error rate is reduced.
The above examples are only intended to illustrate the technical solution of the present invention, but not to limit it; although the present invention has been described in detail with reference to the foregoing embodiments, it will be understood by those of ordinary skill in the art that: the technical solutions described in the foregoing embodiments may still be modified, or some technical features may be equivalently replaced; and such modifications or substitutions do not depart from the spirit and scope of the corresponding technical solutions of the embodiments of the present invention.
Claims (7)
1. A method for quickly confirming service after operation business router change is characterized by comprising the following steps:
remotely acquiring an equipment management IP address before router change;
acquiring service data before router change by using a menu instruction, and storing the service data as different txt files according to service types;
acquiring service data after the router is changed by using a menu instruction, and storing the service data as a corresponding txt file;
and comparing data before and after the router is changed by using the menu command, and making different judgments according to preset rules.
2. The method of claim 1, further comprising:
the collected service data at least comprises ARP table items of the Internet private line service, ARP table items of the Internet virtual private network, ping test data of all private line users of the current service router, and ping test data of all Internet virtual private network users of the current service router.
3. The method of claim 1, wherein the method comprises the following steps:
the IP address in the preset rule is a unique identifier.
4. The method of claim 1, wherein the method comprises the following steps:
and outputting different comparison results as texts for subsequent tracking according to preset rules.
5. An apparatus for quickly confirming a service after a service router change, comprising:
the acquisition unit is used for automatically and remotely logging in the metropolitan area network equipment of the operator and confirming the management IP address of the service router to be changed;
the import unit is used for confirming a menu command of data acquisition according to the service type and importing the data before and after the equipment change into the device according to the type;
and the comparison unit is used for comparing the imported data according to a preset rule, making different judgments and outputting the result as a text.
6. A computer device comprising a memory, a processor and a computer program stored on the memory and executable on the processor, wherein the processor implements the method of any one of claims 1 to 4 when executing the computer program.
7. 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 4.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202011186468.6A CN112350905B (en) | 2020-10-30 | 2020-10-30 | Method and device for quickly confirming service after operation business router is changed |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202011186468.6A CN112350905B (en) | 2020-10-30 | 2020-10-30 | Method and device for quickly confirming service after operation business router is changed |
Publications (2)
Publication Number | Publication Date |
---|---|
CN112350905A true CN112350905A (en) | 2021-02-09 |
CN112350905B CN112350905B (en) | 2022-03-04 |
Family
ID=74356594
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202011186468.6A Active CN112350905B (en) | 2020-10-30 | 2020-10-30 | Method and device for quickly confirming service after operation business router is changed |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN112350905B (en) |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN114244724A (en) * | 2021-11-24 | 2022-03-25 | 中盈优创资讯科技有限公司 | Novel metro network control plane containerization evolution method and device |
Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US9276871B1 (en) * | 2014-03-20 | 2016-03-01 | Cisco Technology, Inc. | LISP stretched subnet mode for data center migrations |
US20170180196A1 (en) * | 2015-12-16 | 2017-06-22 | At&T Intellectual Property I, L.P. | Method and apparatus for providing a bulk migration tool for a network |
CN107154888A (en) * | 2017-07-03 | 2017-09-12 | 国家电网公司 | The dispositions method and device of communication network |
CN110430081A (en) * | 2019-08-13 | 2019-11-08 | 北京市天元网络技术股份有限公司 | The intelligent method for inspecting and device of automatic editing based on instruction |
CN110690992A (en) * | 2019-09-16 | 2020-01-14 | 中盈优创资讯科技有限公司 | Network cutover abnormity identification method and device |
CN110719196A (en) * | 2019-09-24 | 2020-01-21 | 中盈优创资讯科技有限公司 | Metro network equipment cutting abnormity recognition tool and method |
-
2020
- 2020-10-30 CN CN202011186468.6A patent/CN112350905B/en active Active
Patent Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US9276871B1 (en) * | 2014-03-20 | 2016-03-01 | Cisco Technology, Inc. | LISP stretched subnet mode for data center migrations |
US20170180196A1 (en) * | 2015-12-16 | 2017-06-22 | At&T Intellectual Property I, L.P. | Method and apparatus for providing a bulk migration tool for a network |
CN107154888A (en) * | 2017-07-03 | 2017-09-12 | 国家电网公司 | The dispositions method and device of communication network |
CN110430081A (en) * | 2019-08-13 | 2019-11-08 | 北京市天元网络技术股份有限公司 | The intelligent method for inspecting and device of automatic editing based on instruction |
CN110690992A (en) * | 2019-09-16 | 2020-01-14 | 中盈优创资讯科技有限公司 | Network cutover abnormity identification method and device |
CN110719196A (en) * | 2019-09-24 | 2020-01-21 | 中盈优创资讯科技有限公司 | Metro network equipment cutting abnormity recognition tool and method |
Non-Patent Citations (1)
Title |
---|
王刚等: "超大型IP数据网核心替换割接方案探讨", 《邮电设计技术》 * |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN114244724A (en) * | 2021-11-24 | 2022-03-25 | 中盈优创资讯科技有限公司 | Novel metro network control plane containerization evolution method and device |
CN114244724B (en) * | 2021-11-24 | 2023-08-29 | 中盈优创资讯科技有限公司 | Method and device for evolution of metropolitan area network control plane to containerization |
Also Published As
Publication number | Publication date |
---|---|
CN112350905B (en) | 2022-03-04 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN110401662B (en) | Industrial control equipment fingerprint identification method and storage medium | |
CN112491636B (en) | Data processing method and device and computer storage medium | |
CN103780454A (en) | Distributed network performance measuring system and method based on access gateways | |
CN106790131B (en) | Parameter modification method and device and distributed platform | |
US20100094994A1 (en) | Network structure information acquiring method and device | |
CN102427445A (en) | IT simulation infrastructure offline compliance safety audit method | |
CN112350905B (en) | Method and device for quickly confirming service after operation business router is changed | |
CN110557292A (en) | Topological graph obtaining method, device and equipment based on distributed routing Internet of things | |
CN111565133B (en) | Private line switching method and device, electronic equipment and computer readable storage medium | |
CN107911496A (en) | A kind of VPN service terminal acts on behalf of the method and device of DNS | |
CN102340791A (en) | A system and method for achieving data consistency | |
CN114138771A (en) | Abnormal data processing method, device and electronic equipment | |
CN113836223A (en) | Heterogeneous database data synchronization method | |
CN113381907A (en) | Log collection method and device, electronic equipment and storage medium | |
CN112769923A (en) | Method, device and storage medium for monitoring network equipment performance index in big data scene | |
CN114268916B (en) | Processing method, device, equipment and storage medium for content-based billing data | |
WO2017118430A1 (en) | Method and device for packet error detection | |
CN110730163B (en) | Substation main and auxiliary control linkage method and substation auxiliary control equipment | |
CN106506247B (en) | Virtual network creating method and device | |
CN116094908B (en) | Log file storage method, device, equipment and storage medium | |
CN103067361A (en) | Method for intelligently collecting Web application firewall white lists | |
CN107453890B (en) | Method and device for automatically determining port flow monitoring points | |
CN115834461B (en) | Method and device for generating BGP global connection diagram based on route analysis | |
WO2025020133A1 (en) | Asset information management method and apparatus, electronic device, and storage medium | |
CN116896470A (en) | FTP file restoration method based on mirror image network flow |
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 |
Address after: Room 702-2, No. 4811 Caoan Road, Jiading District, Shanghai, 201800 Patentee after: CHINA UNITECHS Address before: Room 1004-4, 10 / F, 1112 Hanggui Road, Anting Town, Jiading District, Shanghai 201800 Patentee before: CHINA UNITECHS |
|
CP02 | Change in the address of a patent holder |