Network management service shutdown and reset method and device, electronic equipment, medium and product

By automatically obtaining matching service types and channel data in the network management configuration database, the automatic shutdown and resumption operation of network management services is solved, and the problem of low shutdown and resumption efficiency of network management services in the existing technology is improved, and the accuracy and efficiency of operation are improved.

CN119299279AActive Publication Date: 2025-01-10CHINA MOBILE GRP HAINAN CO LTD +1
View PDF 4 Cites 0 Cited by

Patent Information

Application Number
CN202411413958.3
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-10-11
Publication Date
2025-01-10
Estimated Expiration
2044-10-11

AI Technical Summary

Technical Problem

The current network management service has low efficiency in shutdown and resumption, which cannot meet the production requirements of fast shutdown and resumption, and the data update of resource management systems based on manual maintenance is poor in time and accuracy, which may lead to the risk of shutting down and wrong services.

Method used

By obtaining stop-and-repair operation notifications, the preset network management configuration database automatically obtains matching service type and network management channel data, and automatically obtains the second dedicated line instance code according to the service type, realizing automatic stop-and-repair operation of network management services, improving stop-and-repair operation Accuracy and efficiency of re-machine.

Benefits of technology

It improves the efficiency and accuracy of the shutdown and resumption operation of network management services, reduces the risk of wrong stops and meets the production needs of fast shutdown and resumption.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119299279A_ABST
    Figure CN119299279A_ABST
Patent Text Reader

Abstract

The invention provides a network management service shutdown and reset method and device, electronic equipment, a medium and a product, relates to the technical field of network control, and realizes automatic acquisition of matched service types and matched network management channel data by querying a network management configuration database through a first special line instance code. According to the embodiment of the invention, the second special line instance code is automatically acquired according to the channel ID for the ELINE service, the second special line instance code is acquired according to the configuration side port for the ETREE service or the ELAN service, the acquisition of the second special line instance code under the condition of different service types is considered, and the efficiency and the accuracy of acquiring the second special line instance code are improved. According to the method and the device, the second special line instance code is automatically queried according to the first special line instance code, and when the first special line instance code is consistent with the second special line instance code, the shutdown and reset operation is executed, so that the automatic shutdown and reset operation on the network management service is realized, and the accuracy and the efficiency of the shutdown and reset operation on the network management service are improved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the field of network control technology, and in particular to a shutdown and restart method, device, electronic equipment, medium and product for network management services. Background Art

[0002] The existing general network management service shutdown and resumption method is mainly based on manually maintained resource management system data. The resource management system data based on manual maintenance mainly relies on manual maintenance and update, and cannot achieve real-time automatic data update, which has poor timeliness and low efficiency. At the same time, the resource management system data based on manual maintenance mainly relies on manual maintenance and update, and the data accuracy is poor, which may lead to the risk of stopping the wrong service, or lead to a low correlation rate with the network management channel, and a large number of services need to be transferred to manual processing, which has low work efficiency.

[0003] When network management business shutdown and resumption is implemented based on manually maintained resource management system data, the automatic shutdown and resumption ratio can only reach about 25%, which cannot meet the production requirements of rapid shutdown and resumption.

[0004] In summary, the shutdown and restart efficiency of existing network management services is low. Summary of the invention

[0005] The present application provides a shutdown and restart method, device, electronic equipment, medium and product for a network management service, which are used to solve the defect of low shutdown and restart efficiency of the network management service in the prior art and improve the shutdown and restart efficiency of the network management service.

[0006] In a first aspect, the present application provides a method for stopping and resuming a network management service, comprising: obtaining a stop and resume operation notification, the stop and resume operation notification including a first dedicated line instance code of a network management service to be operated, the first dedicated line instance code being used to identify the network management service; obtaining a matching service type and matching network management channel data of the first dedicated line instance code in a preset network management configuration database; the network management configuration database including a first mapping relationship between an initial dedicated line instance code, an initial service type and an initial network management channel data; when the matching service type is an Ethernet line ELINE service, obtaining a second dedicated line instance code of the network management service to be operated based on a channel ID of the matching network management channel data; when the matching service type is an Ethernet tree ETREE service or an Ethernet local area network ELAN service, obtaining a second dedicated line instance code based on a branch port of the matching network management channel data; when the second dedicated line instance code is consistent with the first dedicated line instance code, performing a stop and resume operation on the network management service to be operated.

[0007] In one embodiment, the matching network management channel data also includes the number of routing segments, and the second dedicated line instance code of the network management service to be operated is obtained based on the channel ID of the matching network management channel data, including: when the number of routing segments is equal to 1, the routing segment ID is used as the channel ID; when the number of routing segments is equal to 2 and there is cross-manufacturer routing, the central routing segment ID is used as the channel ID; query the equipment network management operation and maintenance center OMC, obtain the matching dedicated line instance code of the channel ID, and use the matching dedicated line instance code as the second dedicated line instance code.

[0008] In one embodiment, obtaining a second dedicated line instance code based on a branch port matching network management channel data includes: verifying that the branch port is a non-aggregation port; obtaining a first matching Ethernet service ETH of the verified branch port in a network management configuration database, wherein the network management configuration database also includes a second mapping relationship between the initial branch port and ETH; removing the network management supervision service in the first matching ETH to obtain a second matching ETH; when the number of second matching ETHs is equal to 1, querying the device network management OMC to obtain a matching dedicated line instance code of the branch port, and using the matching dedicated line instance code as the second dedicated line instance code.

[0009] In one embodiment, when the initial service type of the newly added network management service is an ELINE service, the network management configuration database is updated based on the following steps: obtaining initial network management channel data and a new service name of the newly added ELINE service; generating an initial dedicated line instance code of the newly added ELINE service based on the new service name; when the number of associated routing segments of the initial dedicated line instance code is 1, creating a first mapping relationship between the initial dedicated line instance code, the initial service type, and the initial network management channel data to update the network management configuration database, and the initial network management channel data includes the number of associated routing segments and the associated routing segment ID; when the number of associated routing segments is 2, and a cross-domain topological connection is formed between two associated routing segments, creating a first mapping relationship between the initial dedicated line instance code, the initial service type, and the initial network management channel data to update the network management configuration database, and the initial network management channel data includes the number of associated routing segments and the newly added central routing segment ID of the cross-domain topological connection.

[0010] In one embodiment, when the initial service type of the newly added network management service is an ETREE service or an ELAN service, the network management configuration database is updated based on the following steps: obtaining initial network management channel data of the newly added ETREE service or the newly added ELAN service; when the number of ETHs in the initial network management channel data is equal to 1, the number of network element access points at the first end of the ETH is greater than 2, and the number of network element access points at the second end of the ETH is equal to 1, the network element access point at the first end is used as the initial branch port; when the number of ETHs in the initial network management channel data is greater than 1, the network element access points at the second ends of all ETHs are the same and the number of network element access points at the second end is 1, the network element access point at the first end of the ETH is used as the initial branch port; generating an initial dedicated line instance code based on the initial branch port, and creating a first mapping relationship between the initial dedicated line instance code, the initial service type, and the initial network management channel data to update the network management configuration database.

[0011] In one embodiment, if the second dedicated line instance code fails to be obtained, or the second dedicated line instance code is inconsistent with the first dedicated line instance code, the abnormal data of the shutdown and restart operation notification is recorded, and the abnormal cause of the abnormal data is analyzed.

[0012] In a second aspect, the present application provides a shutdown and restart device for a network management service, including: a shutdown and restart operation notification acquisition module, used to obtain a shutdown and restart operation notification, the shutdown and restart operation notification includes a first dedicated line instance code of the network management service to be operated, and the first dedicated line instance code is used to identify the network management service; a query module, used to obtain a matching service type and matching network management channel data of the first dedicated line instance code in a preset network management configuration database; the network management configuration database includes a first mapping relationship between an initial dedicated line instance code, an initial service type and an initial network management channel data; a second dedicated line instance code determination module, used to obtain a second dedicated line instance code of the network management service to be operated based on a channel ID of the matching network management channel data when the matching service type is an Ethernet line ELINE service; when the matching service type is an Ethernet tree ETREE service or an Ethernet local area network ELAN service, the second dedicated line instance code is obtained based on a branch port of the matching network management channel data; a shutdown and restart operation module, used to perform a shutdown and restart operation on the network management service to be operated when the second dedicated line instance code is consistent with the first dedicated line instance code.

[0013] In a third aspect, the present application also provides an electronic device, including a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein when the processor executes the computer program, a method for shutting down and resuming a network management service such as any of the above-mentioned methods is implemented.

[0014] In a fourth aspect, the present application further provides a non-transitory computer-readable storage medium having a computer program stored thereon, which, when executed by a processor, implements a method for shutting down and resuming a network management service such as any of the above-mentioned methods.

[0015] In a fifth aspect, the present application also provides a computer program product, including a computer program, which, when executed by a processor, implements a method for shutting down and resuming a network management service such as any of the above-mentioned methods.

[0016] The shutdown and restart method, device, electronic device, medium and product of the network management service provided by the present application query the network management configuration database through the first dedicated line instance code, and realize automatic acquisition of matching service type and matching network management channel data. For ELINE service, the second dedicated line instance code is automatically obtained according to the channel ID. For ETREE service or ELAN service, the second dedicated line instance code is obtained according to the configuration side port. The acquisition of the second dedicated line instance code under different service types is considered, and the efficiency and accuracy of obtaining the second dedicated line instance code are improved. The present application automatically queries the second dedicated line instance code according to the first dedicated line instance code. When the first dedicated line instance code is consistent with the second dedicated line instance code, the shutdown and restart operation is performed, realizing the automatic shutdown and restart operation of the network management service, and improving the accuracy and efficiency of the shutdown and restart operation of the network management service. BRIEF DESCRIPTION OF THE DRAWINGS

[0017] In order to more clearly illustrate the technical solutions in the present application or the prior art, a brief introduction will be given below to the drawings required for use in the embodiments or the description of the prior art. Obviously, the drawings described below are some embodiments of the present application. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying any creative work.

[0018] Figure 1 This is one of the flow charts of the shutdown and restart method of the network management service provided by this application.

[0019] Figure 2 This is the second flow chart of the shutdown and restart method of the network management service provided by this application.

[0020] Figure 3 This is the third flow chart of the shutdown and restart method of the network management service provided in this application.

[0021] Figure 4 This is one of the update flow diagrams of the network management configuration database provided by this application.

[0022] Figure 5 This is the second schematic diagram of the update process of the network management configuration database provided by this application.

[0023] Figure 6 It is a structural diagram of the shutdown and restart device of the network management service provided by this application.

[0024] Figure 7 It is a schematic diagram of the structure of the electronic device provided by this application. DETAILED DESCRIPTION

[0025] In order to make the purpose, technical solutions and advantages of this application clearer, the technical solutions in this application will be clearly and completely described below in conjunction with the drawings in this application. Obviously, the described embodiments are part of the embodiments of this application, not all of them. Based on the embodiments in this application, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of this application.

[0026] Combine the following Figure 1-Figure 7 The invention describes the shutdown and restart method, device and electronic equipment of the network management service of the present application.

[0027] Figure 1 This is one of the flow charts of the shutdown and restart method of the network management service provided by this application, such as Figure 1 As shown, the shutdown and resumption of the network management service includes S100 to S400, and each step is specifically as follows.

[0028] S100: Obtain a shutdown and restart operation notification, where the shutdown and restart operation notification includes a first dedicated line instance code of a network management service to be operated.

[0029] The first dedicated line instance code is used to identify the network management service.

[0030] The first dedicated line instance code and the second dedicated line instance code are unique identifiers defined according to the rules and are used to identify network management services. The first dedicated line instance code and the second dedicated line instance code are unique in the entire network.

[0031] The execution subject of the embodiment of the present application is a shutdown and restart operating system, which is used to operate the shutdown and restart of the network management service. Figure 3 As shown, the shutdown and restart operation system includes a first query module, a second query module, a network management configuration database, an equipment network management operation and operation and maintenance center (OMC), a data comparison module, and an instruction issuing module. The billing system automatically sends a shutdown and restart operation notification to the shutdown and restart operation system based on the arrears / payment status of the dedicated line service. The shutdown and restart operation notification includes the first dedicated line instance code and the operation type, and the operation type includes shutdown or restart. The shutdown and restart operation system receives the shutdown and restart operation notification.

[0032] S200: Acquire matching service type and matching network management channel data of the first dedicated line instance code in a preset network management configuration database.

[0033] The network management configuration database includes a first mapping relationship between an initial dedicated line instance code, an initial service type, and initial network management channel data.

[0034] The network management configuration database is constructed based on the following steps. (1) Develop a standardized label for each network management service to obtain the initial dedicated line instance code for each network management service. For existing network management services, the initial dedicated line instance code is manually marked. For new network management services, the initial dedicated line instance code is automatically generated when they are created. The network management services are automatically collected from the device network management OMC to obtain the initial service type and initial network management channel data of the network management services. For each network management service, its initial dedicated line instance code, initial service type and initial network management channel data are stored as a structured data unit to obtain the network management configuration database.

[0035] After the shutdown and resumption operation system receives the shutdown and resumption operation notification, the first query module queries the network management configuration database according to the first dedicated line instance code of the shutdown and resumption operation notification. If the matching service type and matching network management channel data of the first dedicated line instance code are found in the query, the operation of obtaining the second dedicated line instance code is continued. If the matching service type and matching network management channel data of the first dedicated line instance code are not found in the query in the network management configuration database, manual processing is performed.

[0036] S300: When the matching service type is the Ethernet line ELINE service, obtain the second dedicated line instance code of the network management service to be operated based on the channel ID of the matching network management channel data; when the matching service type is the Ethernet tree ETREE service or the Ethernet local area network ELAN service, obtain the second dedicated line instance code based on the branch port of the matching network management channel data.

[0037] Network management service types include Ethernet Line (ELINE) service, Ethernet Tree (ETREE) service and Ethernet Local Area Network (ELAN) service.

[0038] When the matching service type is ELINE service, ELINE service has a unique channel ID, and the channel ID corresponds to a unique Ethernet service (Ethernet, ETH). The second query module queries the device network management OMC according to the channel ID. If the second dedicated line instance code is found in the query, the operation of comparing the second dedicated line instance code with the first dedicated line instance code is continued. If the second dedicated line instance code is not found in the device network management OMC according to the channel ID, manual processing is performed.

[0039] When the matching service type is ETREE service or ELAN service, if the ETREE service or ELAN service belongs to a dedicated port service, the second query module queries the device network management OMC according to the branch port (configuration side port) of the ETREE service or ELAN service. If the second dedicated line instance code is found, the operation of comparing the second dedicated line instance code with the first dedicated line instance code is continued. If the second dedicated line instance code is not found, it is transferred to manual processing.

[0040] When there are two or more matching business types, manual processing will be performed.

[0041] S400: When the second dedicated line instance code is consistent with the first dedicated line instance code, a shutdown and resumption operation is performed on the network management service to be operated.

[0042] The data comparison module compares whether the first dedicated line instance code and the second dedicated line instance code are consistent. If the first dedicated line instance code and the second dedicated line instance code are consistent, the instruction issuing module sends a service shutdown and restart instruction to the device network management OMC, and the device network management OMC performs shutdown and restart operations on the network management service to be operated according to the service shutdown and restart instruction. If the first dedicated line instance code and the second dedicated line instance code are inconsistent, it is transferred to manual processing.

[0043] The method for stopping and resuming the network management service provided in the embodiment of the present application queries the network management configuration database through the first dedicated line instance code, thereby realizing automatic acquisition of matching service types and matching network management channel data. For ELINE services, the second dedicated line instance code is automatically acquired according to the channel ID. For ETREE services or ELAN services, the second dedicated line instance code is acquired according to the configuration side port. The acquisition of the second dedicated line instance code under different service types is considered, thereby improving the efficiency and accuracy of acquiring the second dedicated line instance code. The present application automatically queries the second dedicated line instance code according to the first dedicated line instance code. When the first dedicated line instance code is consistent with the second dedicated line instance code, the stop and resume operation is executed, thereby realizing automatic stop and resume operation of the network management service, thereby improving the accuracy and efficiency of stop and resume operation of the network management service.

[0044] Based on the above embodiment, the matching network management channel data also includes the number of routing segments, and the second dedicated line instance code of the network management service to be operated is obtained based on the channel ID of the matching network management channel data, including S310 to S330, and each step is specifically as follows.

[0045] S310: When the number of routing segments is equal to 1, the routing segment ID is used as the channel ID.

[0046] S320: When the number of routing segments is equal to 2 and there is cross-manufacturer routing, the central routing segment ID is used as the channel ID.

[0047] S330: query the device network management operation and maintenance center OMC, obtain the matching dedicated line instance code of the channel ID, and use the matching dedicated line instance code as the second dedicated line instance code.

[0048] like Figure 2 As shown, when the queried matching service type is an ELINE service, the number of routing segments matching the network management channel data is further obtained, and one routing segment represents one ELINE service.

[0049] When the number of routing segments is 1, the unique routing segment ID is directly used as the channel ID, and the device network management OMC is queried according to the channel ID to obtain the second dedicated line instance code.

[0050] When the number of routing segments is 2, it is determined whether the two routing segments are cross-manufacturer routing. If the two routing segments are cross-manufacturer routing, the central routing segment ID of the two routing segments is used as the channel ID, the device network management OMC is queried according to the channel ID, and the matching dedicated line instance code in the device network management OMC that matches the channel ID is used as the second dedicated line instance code.

[0051] When the number of routing segments is greater than 2, it is impossible to automatically determine the network management services that need to be shut down and restarted, and they are directly transferred to manual processing.

[0052] For the ELINE service, the present application directly analyzes the routing segment to obtain the channel ID, and then obtains the second dedicated line instance code, thereby realizing automatic acquisition of the second dedicated line instance code of the ELINE service, which is beneficial to improving the accuracy and efficiency of stopping and resuming the ELINE service.

[0053] Based on the above embodiment, the matching network management channel data also includes a branch port, and the second dedicated line instance code is obtained based on the configuration side port of the matching network management channel data, including S340 to S370, and each step is specifically as follows.

[0054] S340: Verify that the branch port is a non-aggregation port.

[0055] S350: Acquire a first matching Ethernet service ETH of the verified branch port in a network management configuration database, wherein the network management configuration database further includes a second mapping relationship between the initial branch port and ETH.

[0056] S360: Remove the network management supervision service in the first matching ETH to obtain a second matching ETH.

[0057] S370: When the number of second matching ETHs is equal to 1, query the device network management OMC to obtain the matching dedicated line instance code of the branch port, and use the matching dedicated line instance code as the second dedicated line instance code.

[0058] like Figure 2As shown in the figure, when the matching service type queried is ETREE service or ELAN service, obtain the branch port (A-end port) matching the network management channel data, for example, obtain the branch port ID. Verify that the branch port is a non-aggregation port, analyze whether the branch port name contains the "aggregation" keyword, and again determine that the branch port is not an aggregation port to avoid service misoperation. If it is verified that the branch port is an aggregation port, it is directly transferred to manual processing.

[0059] For the ETREE service or the ELAN service, the network management configuration database also includes a second mapping relationship between the initial branch port of the ETREE service or the ELAN service and the ETH. Query the network management configuration database for all first matching ETHs of the verified branch port. Query the channel table to remove the network management supervision service in the first matching ETH. The network management supervision service is not a dedicated line service and is used to supervise the network management. The network management supervision service can be identified by specific keywords (for example, A network management, B network management, C network management, etc.) to filter out irrelevant records.

[0060] After filtering the first matching ETH, the second matching ETH is obtained. When the number of the second matching ETH is equal to 1, the network management service that needs to be stopped and resumed can be determined. At this time, the device network management OMC is queried according to the branch port, and the matching dedicated line instance code of the branch port is used as the second dedicated line instance code.

[0061] Furthermore, when the number of the second matching ETH is greater than 1, it is impossible to automatically determine the network management service that needs to be stopped and resumed. At this time, manual processing is required.

[0062] This application is for ETREE service or ELAN service. According to the branch port, the device network management OMC is queried to obtain the second dedicated line instance code, thereby realizing automatic acquisition of the second dedicated line instance code of the ETREE service or ELAN service, which is beneficial to improving the accuracy and efficiency of shutting down and resuming the ETREE service or ELAN service.

[0063] Based on the above embodiment, when the initial service type of the newly added network management service is the ELINE service, the network management configuration database is updated based on S210 to S240, and each step is specifically as follows.

[0064] S210: Acquire initial network management channel data of the newly added ELINE service and the name of the newly added service.

[0065] S220: Generate an initial private line instance code for the newly added ELINE service based on the newly added service name.

[0066] S230: When the number of associated routing segments of the initial dedicated line instance code is 1, a first mapping relationship between the initial dedicated line instance code, the initial service type and the initial network management channel data is newly created to update the network management configuration database, where the initial network management channel data includes the number of associated routing segments and the associated routing segment ID.

[0067] S240: When the number of associated routing segments is 2 and a cross-domain topology connection is formed between two associated routing segments, a first mapping relationship between the initial dedicated line instance code, the initial service type and the initial network management channel data is newly created to update the network management configuration database. The initial network management channel data includes the number of associated routing segments and the newly added central routing segment ID of the cross-domain topology connection.

[0068] The newly added network management service is the network management service that needs to be added to the network management configuration database. The ELINE service is automatically collected regularly to obtain the newly added ELINE service and update the network management configuration database.

[0069] like Figure 4 As shown, the initial network management channel data and the new service name of the newly added ELINE service are obtained. The initial dedicated line instance code is generated based on the new service name. Since the initial dedicated line instance code is included when the ELINE service name is created, the new service name is intercepted to obtain the initial dedicated line instance code. For example, the number after the special symbol in the new service name is intercepted. This number is the initial dedicated line instance code of the new ELINE service. If the special symbol or number is not matched when the data is intercepted, a data abnormality prompt is given, and the abnormal data needs to be exported for manual verification. Among them, special symbols include but are not limited to colons.

[0070] The number of associated routing segments (number of services) of the initial dedicated line instance code is obtained. If the number of associated routing segments is 1, a first mapping relationship between the initial dedicated line instance code, the initial service type, and the initial network management channel data is directly created to update the network management configuration database. The number of associated routing segments and the associated routing segment ID are recorded in the initial network management channel data.

[0071] When the number of associated routing segments is 2, determine whether each associated routing segment has a port in the cross-domain topology table, and whether these two ports can form a cross-domain topology connection. If the two associated routing segments can form a cross-domain topology connection, obtain the newly added central routing segment ID of the cross-domain topology connection. Merge the two associated routing segments into a first mapping relationship. Create a first mapping relationship between the initial dedicated line instance code, the initial service type, and the initial network management channel data to update the network management configuration database. The number of associated routing segments and the newly added central routing segment ID are recorded in the initial network management channel data.

[0072] When the number of associated routing segments is 2 and the two associated routing segments cannot form a cross-domain topology connection, the data is considered abnormal and is transferred to manual processing.

[0073] When the number of associated routing segments is greater than 2, manual processing is performed.

[0074] In the embodiment of the present application, for a newly added ELINE service, a new first mapping relationship is constructed according to the number of associated routing segments, the associated routing segment ID, and the newly added central routing segment ID to update the network management configuration database, thereby realizing real-time automatic update of the ELINE service, improving the accuracy and reliability of the network management configuration database, and helping to reduce the risk of wrong suspension of the ELINE service.

[0075] Based on the above embodiment, when the initial service type of the newly added network management service is an ETREE service or an ELAN service, the network management configuration database is updated based on S250 to S280, and the specific steps are as follows.

[0076] S250: Acquire initial network management channel data of the newly added ETREE service or the newly added ELAN service.

[0077] S260: When the number of ETHs in the initial network management channel data is equal to 1, the number of network element access points at the first end of the ETH is greater than 2, and the number of network element access points at the second end of the ETH is equal to 1, the network element access point at the first end is used as the initial branch port.

[0078] S270: When the number of ETHs in the initial network management channel data is greater than 1, the network element access points of the second ends of all ETHs are the same and the number of network element access points of the second ends is 1, the network element access point of the first end of the ETH is used as the initial branch port.

[0079] S280: Generate an initial dedicated line instance code based on the initial branch port, and create a first mapping relationship between the initial dedicated line instance code, the initial service type, and the initial network management channel data to update the network management configuration database.

[0080] Automatically collect ETREE services or ELAN services regularly, obtain new ETREE services or new ELAN services, and update the network management configuration database.

[0081] like Figure 5The initial network management channel data of the newly added ETREE service or the newly added ELAN service is obtained. When the number of ETHs (the number of associated pseudowires) in the initial network management channel data is equal to 1, it is determined whether the number of network element access points at the first end of the ETH is greater than 2, and at the same time the number of network element access points at the second end of the ETH is equal to 1. If the number of network element access points at the first end of the ETH is greater than 2, and the number of network element access points at the second end is equal to 1, the network element access point at the first end is directly used as the initial branch port (initial A-end port), and the network element access point at the second end is used as the initial aggregation port (initial Z-end port). If the number of ETHs is equal to 1, the ETH does not meet the requirement that the number of network element access points at the first end is greater than 2, and the number of network element access points at the second end is equal to 1, then it is transferred to manual processing.

[0082] When the number of ETHs (number of associated pseudowires) in the initial network management channel data is greater than 1, and the network element access points of the second end of all ETHs are the same and unique, the network element access point of the first end is used as the initial branch port, and the network element access point of the second end is used as the initial aggregation port. If the number of ETHs is greater than 1, and all ETHs do not have the same and unique network element access point at the second end, manual processing is performed.

[0083] Determine whether the initial branch port has an initial dedicated line instance code, and if so, directly obtain the initial dedicated line instance code. Create a first mapping relationship according to the initial dedicated line instance code, the initial service type, and the initial network management channel data to update the network management configuration database.

[0084] If the initial branch port does not have the initial dedicated line instance code, the process is transferred to manual processing.

[0085] The embodiment of the present application determines whether the newly added ETREE service or the newly added ELAN service is an exclusive port service by analyzing the number of ETHs, the number of network element access points at the first end of ETH, and the number of network element access points at the second end of ETH, and then obtains the initial dedicated line instance code, thereby realizing real-time automatic update of the ETREE service or ELAN service belonging to the exclusive port service, improving the accuracy and reliability of the network management configuration database, and helping to reduce the risk of incorrect shutdown of the ETREE service or ELAN service.

[0086] Based on the above embodiment, if the second dedicated line instance code fails to be obtained, or the second dedicated line instance code is inconsistent with the first dedicated line instance code, the abnormal data of the shutdown and resumption operation notification is recorded, and the abnormal cause of the abnormal data is analyzed.

[0087] If the second dedicated line instance code fails to be obtained, or the second dedicated line instance code is inconsistent with the first dedicated line instance code, the abnormal data is recorded and enters the manual processing link to verify the abnormal data.

[0088] Furthermore, when the network management configuration database is updated, the newly added network management services that fail to be updated are recorded as abnormal data, and the abnormal reasons of the abnormal data are manually checked regularly.

[0089] This application helps to improve the efficiency of subsequent automatic shutdown and resumption of network management services by recording abnormal data and analyzing the causes of abnormalities.

[0090] The shutdown and restart device for the network management service provided in the present application is described below. The shutdown and restart device for the network management service described below and the shutdown and restart method for the network management service described above can be referenced to each other.

[0091] like Figure 6 As shown, a shutdown and restart device for a network management service includes: a shutdown and restart operation notification acquisition module 601, which is used to obtain a shutdown and restart operation notification, the shutdown and restart operation notification includes a first dedicated line instance code of the network management service to be operated, and the first dedicated line instance code is used to identify the network management service.

[0092] The query module 602 is used to obtain the matching service type and matching network management channel data of the first dedicated line instance code in a preset network management configuration database; the network management configuration database includes a first mapping relationship between the initial dedicated line instance code, the initial service type and the initial network management channel data.

[0093] The second dedicated line instance code determination module 603 is used to obtain the second dedicated line instance code of the network management service to be operated based on the channel ID of the matching network management channel data when the matching service type is the Ethernet line ELINE service; when the matching service type is the Ethernet tree ETREE service or the Ethernet local area network ELAN service, obtain the second dedicated line instance code based on the branch port of the matching network management channel data.

[0094] The shutdown and restart operation module 604 is used to perform a shutdown and restart operation on the network management service to be operated when the second dedicated line instance code is consistent with the first dedicated line instance code.

[0095] The method for stopping and resuming the network management service provided in the embodiment of the present application queries the network management configuration database through the first dedicated line instance code, thereby realizing automatic acquisition of matching service types and matching network management channel data. For ELINE services, the second dedicated line instance code is automatically acquired according to the channel ID. For ETREE services or ELAN services, the second dedicated line instance code is acquired according to the configuration side port. The acquisition of the second dedicated line instance code under different service types is considered, thereby improving the efficiency and accuracy of acquiring the second dedicated line instance code. The present application automatically queries the second dedicated line instance code according to the first dedicated line instance code. When the first dedicated line instance code is consistent with the second dedicated line instance code, the stop and resume operation is performed, thereby realizing automatic stop and resume operation of the network management service, thereby improving the accuracy and efficiency of stop and resume operation of the network management service.

[0096] In one embodiment, the matching network management channel data also includes the number of routing segments, and the second dedicated line instance code determination module 603 is used to: when the number of routing segments is equal to 1, use the routing segment ID as the channel ID; when the number of routing segments is equal to 2 and there is cross-manufacturer routing, use the central routing segment ID as the channel ID; query the equipment network management operation and maintenance center OMC, obtain the matching dedicated line instance code of the channel ID, and use the matching dedicated line instance code as the second dedicated line instance code.

[0097] In one embodiment, the second dedicated line instance code determination module 603 is used to: verify that the branch port is a non-aggregation port; obtain the first matching Ethernet service ETH of the verified branch port in the network management configuration database, and the network management configuration database also includes a second mapping relationship between the initial branch port and ETH; remove the network management supervision service in the first matching ETH to obtain the second matching ETH; when the number of second matching ETHs is equal to 1, query the device network management OMC to obtain the matching dedicated line instance code of the branch port, and use the matching dedicated line instance code as the second dedicated line instance code.

[0098] In one embodiment, when the initial service type of the newly added network management service is an ELINE service, the query module 602 is further used to: obtain initial network management channel data and a new service name of the newly added ELINE service; generate an initial dedicated line instance code of the newly added ELINE service based on the new service name; when the number of associated routing segments of the initial dedicated line instance code is 1, create a first mapping relationship between the initial dedicated line instance code, the initial service type and the initial network management channel data to update the network management configuration database, and the initial network management channel data includes the number of associated routing segments and the associated routing segment ID; when the number of associated routing segments is 2, and a cross-domain topological connection is formed between two associated routing segments, create a first mapping relationship between the initial dedicated line instance code, the initial service type and the initial network management channel data to update the network management configuration database, and the initial network management channel data includes the number of associated routing segments and the newly added central routing segment ID of the cross-domain topological connection.

[0099] In one embodiment, when the initial service type of the newly added network management service is an ETREE service or an ELAN service, the query module 602 is further used to: obtain initial network management channel data of the newly added ETREE service or the newly added ELAN service; when the number of ETHs in the initial network management channel data is equal to 1, the number of network element access points at the first end of the ETH is greater than 2, and the number of network element access points at the second end of the ETH is equal to 1, the network element access point at the first end is used as the initial branch port; when the number of ETHs in the initial network management channel data is greater than 1, the network element access points at the second ends of all ETHs are the same and the number of network element access points at the second end is 1, the network element access point at the first end of the ETH is used as the initial branch port; generate an initial dedicated line instance code based on the initial branch port, and create a first mapping relationship between the initial dedicated line instance code, the initial service type, and the initial network management channel data to update the network management configuration database.

[0100] In one embodiment, if the second dedicated line instance code fails to be obtained, or the second dedicated line instance code is inconsistent with the first dedicated line instance code, the abnormal data of the shutdown and restart operation notification is recorded, and the abnormal cause of the abnormal data is analyzed.

[0101] Figure 7 An example of a physical structure diagram of an electronic device is shown in FIG. Figure 7 As shown, the electronic device may include: a processor (processor) 710 , a communication interface (Communications Interface) 720 , a memory (memory) 730 and a communication bus 740 , wherein the processor 710 , the communication interface 720 , and the memory 730 communicate with each other through the communication bus 740 . The processor 710 can call the logic instructions in the memory 730 to execute the shutdown and resumption method of the network management service, the method comprising: obtaining a shutdown and resumption operation notification, the shutdown and resumption operation notification including a first dedicated line instance code of the network management service to be operated, the first dedicated line instance code being used to identify the network management service; obtaining a matching service type and matching network management channel data of the first dedicated line instance code in a preset network management configuration database; the network management configuration database comprising a first mapping relationship between an initial dedicated line instance code, an initial service type and an initial network management channel data; when the matching service type is an Ethernet line ELINE service, obtaining a second dedicated line instance code of the network management service to be operated based on a channel ID of the matching network management channel data; when the matching service type is an Ethernet tree ETREE service or an Ethernet local area network ELAN service, obtaining a second dedicated line instance code based on a branch port of the matching network management channel data; when the second dedicated line instance code is consistent with the first dedicated line instance code, executing a shutdown and resumption operation on the network management service to be operated.

[0102] In addition, the logic instructions in the above-mentioned memory 730 can be implemented in the form of a software functional unit and can be stored in a computer-readable storage medium when it is sold or used as an independent product. Based on this understanding, the technical solution of the present application can be essentially or partly embodied in the form of a software product that contributes to the prior art. The computer software product is stored in a storage medium, including several instructions to enable a computer device (which can be a personal computer, a server, or a network device, etc.) to perform all or part of the steps of the method described in each embodiment of the present application. The aforementioned storage medium includes: U disk, mobile hard disk, read-only memory (ROM, Read-Only Memory), random access memory (RAM, Random Access Memory), disk or optical disk, etc. Various media that can store program codes.

[0103] On the other hand, the present application also provides a computer program product, which includes a computer program, which can be stored on a non-transitory computer-readable storage medium. When the computer program is executed by a processor, the computer can execute the shutdown and resumption methods of the network management services provided by the above methods, the method including: obtaining a shutdown and resumption operation notification, the shutdown and resumption operation notification including a first dedicated line instance code of the network management service to be operated, the first dedicated line instance code being used to identify the network management service; obtaining a matching service type and matching network management channel data of the first dedicated line instance code in a preset network management configuration database; the network management configuration database includes a first mapping relationship between an initial dedicated line instance code, an initial service type, and an initial network management channel data; when the matching service type is an Ethernet line ELINE service, obtaining a second dedicated line instance code of the network management service to be operated based on a channel ID of the matching network management channel data; when the matching service type is an Ethernet tree ETREE service or an Ethernet local area network ELAN service, obtaining a second dedicated line instance code based on a branch port of the matching network management channel data; when the second dedicated line instance code is consistent with the first dedicated line instance code, performing a shutdown and resumption operation on the network management service to be operated.

[0104] On the other hand, the present application also provides a non-transitory computer-readable storage medium, on which a computer program is stored, and when the computer program is executed by a processor, a method for stopping and resuming the network management service provided by the above methods is implemented, the method comprising: obtaining a stop and resume operation notification, the stop and resume operation notification including a first dedicated line instance code of the network management service to be operated, the first dedicated line instance code being used to identify the network management service; obtaining a matching service type and matching network management channel data of the first dedicated line instance code in a preset network management configuration database; the network management configuration database includes a first mapping relationship between an initial dedicated line instance code, an initial service type and an initial network management channel data; when the matching service type is an Ethernet line ELINE service, obtaining a second dedicated line instance code of the network management service to be operated based on a channel ID of the matching network management channel data; when the matching service type is an Ethernet tree ETREE service or an Ethernet local area network ELAN service, obtaining a second dedicated line instance code based on a branch port of the matching network management channel data; when the second dedicated line instance code is consistent with the first dedicated line instance code, performing a stop and resume operation on the network management service to be operated.

[0105] The device embodiments described above are merely illustrative, wherein the units described as separate components may or may not be physically separated, and the components displayed as units may or may not be physical units, that is, they may be located in one place, or they may be distributed on multiple network units. Some or all of the modules may be selected according to actual needs to achieve the purpose of the scheme of this embodiment. Ordinary technicians in this field can understand and implement it without paying creative labor.

[0106] Through the description of the above implementation methods, those skilled in the art can clearly understand that each implementation method can be implemented by means of software plus a necessary general hardware platform, and of course, can also be implemented by hardware. Based on this understanding, the above technical solution is essentially or the part that contributes to the prior art can be embodied in the form of a software product, and the computer software product can be stored in a computer-readable storage medium, such as ROM / RAM, a disk, an optical disk, etc., including a number of instructions for a computer device (which can be a personal computer, a server, or a network device, etc.) to execute the methods described in each embodiment or some parts of the embodiments.

[0107] Finally, it should be noted that the above embodiments are only used to illustrate the technical solutions of the present application, rather than to limit it. Although the present application has been described in detail with reference to the aforementioned embodiments, those skilled in the art should understand that they can still modify the technical solutions described in the aforementioned embodiments, or make equivalent replacements for some of the technical features therein. However, these modifications or replacements do not deviate the essence of the corresponding technical solutions from the spirit and scope of the technical solutions of the embodiments of the present application.

Claims

1. A method for stopping and resuming a network management service, characterized in that: include: Obtaining a shutdown and resumption operation notification, wherein the shutdown and resumption operation notification includes a first dedicated line instance code of a network management service to be operated, wherein the first dedicated line instance code is used to identify the network management service; Acquire the matching service type and matching network management channel data of the first dedicated line instance code in a preset network management configuration database; the network management configuration database includes a first mapping relationship between the initial dedicated line instance code, the initial service type and the initial network management channel data; When the matching service type is an Ethernet line ELINE service, the second dedicated line instance code of the network management service to be operated is obtained based on the channel ID of the matching network management channel data; when the matching service type is an Ethernet tree ETREE service or an Ethernet local area network ELAN service, the second dedicated line instance code is obtained based on the branch port of the matching network management channel data; When the second dedicated line instance code is consistent with the first dedicated line instance code, a shutdown and resumption operation is performed on the network management service to be operated.

2. The method for stopping and resuming a network management service according to claim 1, characterized in that: The matching network management channel data also includes the number of routing segments, and the acquiring the second dedicated line instance code of the network management service to be operated based on the channel ID of the matching network management channel data includes: When the number of routing segments is equal to 1, the routing segment ID is used as the channel ID; When the number of routing segments is equal to 2 and there is cross-manufacturer routing, the central routing segment ID is used as the channel ID; The device network management operation and maintenance center OMC is queried to obtain a matching dedicated line instance code of the channel ID, and the matching dedicated line instance code is used as the second dedicated line instance code.

3. The method for stopping and resuming a network management service according to claim 1, characterized in that: The acquiring the second dedicated line instance code based on the branch port matching the network management channel data includes: Verifying that the branch port is a non-aggregation port; Acquire a first matching Ethernet service ETH of the verified branch port in the network management configuration database, wherein the network management configuration database further includes a second mapping relationship between the initial branch port and ETH; Remove the network management supervision service from the first matching ETH to obtain the second matching ETH; When the number of the second matching ETHs is equal to 1, query the device network management OMC to obtain the matching dedicated line instance code of the branch port, and use the matching dedicated line instance code as the second dedicated line instance code.

4. The method for stopping and resuming a network management service according to claim 1, characterized in that: When the initial service type of the newly added network management service is the ELINE service, the network management configuration database is updated based on the following steps: Obtain the initial network management channel data and new service name of the newly added ELINE service; Generate an initial dedicated line instance code for the newly added ELINE service based on the newly added service name; When the number of associated routing segments of the initial dedicated line instance code is 1, a first mapping relationship between the initial dedicated line instance code, the initial service type and the initial network management channel data is newly created to update the network management configuration database, wherein the initial network management channel data includes the number of associated routing segments and the associated routing segment ID; When the number of associated routing segments is 2 and a cross-domain topological connection is formed between two associated routing segments, a first mapping relationship between the initial dedicated line instance code, the initial service type and the initial network management channel data is newly created to update the network management configuration database. The initial network management channel data includes the number of associated routing segments and the newly added central routing segment ID of the cross-domain topological connection.

5. The method for stopping and resuming a network management service according to claim 1, characterized in that: When the initial service type of the newly added network management service is the ETREE service or the ELAN service, the network management configuration database is updated based on the following steps: Obtain the initial network management channel data of the newly added ETREE service or the newly added ELAN service; When the number of ETHs in the initial network management channel data is equal to 1, the number of network element access points at the first end of the ETH is greater than 2, and the number of network element access points at the second end of the ETH is equal to 1, the network element access point at the first end is used as the initial branch port; When the number of the ETHs in the initial network management channel data is greater than 1, the network element access points of the second ends of all the ETHs are the same and the number of the network element access points of the second ends is 1, the network element access point of the first end of the ETH is used as the initial branch port; The initial dedicated line instance code is generated based on the initial branch port, and a first mapping relationship between the initial dedicated line instance code, the initial service type and the initial network management channel data is newly created to update the network management configuration database.

6. The method for stopping and resuming a network management service according to claim 1, characterized in that: If the second dedicated line instance code fails to be obtained, or the second dedicated line instance code is inconsistent with the first dedicated line instance code, the abnormal data of the shutdown and resumption operation notification is recorded, and the abnormal cause of the abnormal data is analyzed.

7. A shutdown and restart device for network management services, characterized in that: include: A shutdown and restart operation notification acquisition module, used to acquire a shutdown and restart operation notification, wherein the shutdown and restart operation notification includes a first dedicated line instance code of a network management service to be operated, and the first dedicated line instance code is used to identify the network management service; A query module, used to obtain the matching service type and matching network management channel data of the first dedicated line instance code in a preset network management configuration database; the network management configuration database includes a first mapping relationship between the initial dedicated line instance code, the initial service type and the initial network management channel data; A second dedicated line instance code determination module is used to obtain the second dedicated line instance code of the to-be-operated network management service based on the channel ID of the matching network management channel data when the matching service type is an Ethernet line ELINE service; when the matching service type is an Ethernet tree ETREE service or an Ethernet local area network ELAN service, obtain the second dedicated line instance code based on the branch port of the matching network management channel data; The shutdown and restart operation module is used to perform a shutdown and restart operation on the network management service to be operated when the second dedicated line instance code is consistent with the first dedicated line instance code.

8. An electronic 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 for stopping and resuming the network management service as claimed in any one of claims 1 to 6 is implemented.

9. A non-transitory computer-readable storage medium having a computer program stored thereon, characterized in that: When the computer program is executed by the processor, the method for stopping and resuming the network management service as claimed in any one of claims 1 to 6 is implemented.

10. A computer program product, comprising a computer program, characterized in that When the computer program is executed by the processor, the method for stopping and resuming the network management service as claimed in any one of claims 1 to 6 is implemented.

Citation Information

Patent Citations

  • Service forwarding method and system

    CN102695103A

  • Method and system for automatically stopping and resetting service special line

    CN114640701A

  • Private line information management method and device, storage medium and electronic device

    CN116862198A

  • Generic multi-layer provisioning service management layer systems and methods

    US20130238774A1