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

By retrieving matching service type and channel data from the network management configuration database, and automatically obtaining the second leased line instance code, the problem of low efficiency in network management service shutdown and restart is solved, and efficient and accurate automated shutdown and restart operations are achieved.

CN119299279BActive Publication Date: 2025-11-18CHINA MOBILE GRP HAINAN CO LTD +1
View PDF 2 Cites 0 Cited by

Patent Information

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

AI Technical Summary

Technical Problem

The existing network management system has low efficiency in stopping and restarting operations, which cannot meet the production requirements for rapid stopping and restarting operations, and there are risks of poor data timeliness, low accuracy, and incorrect shutdown of operations.

Method used

By obtaining the shutdown and restart operation notification, and utilizing the mapping relationship in the network management configuration database, the system can automatically obtain matching service types and channel data, and retrieve the second leased line instance code based on the channel ID or tributary port, thereby achieving automatic shutdown and restart operations.

Benefits of technology

It improves the accuracy and efficiency of network management operations for stopping and starting machines, reduces the risk of incorrect shutdowns, and achieves efficient and automated management of different types of services.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119299279B_ABST
    Figure CN119299279B_ABST
Patent Text Reader

Abstract

The application provides a network management service stop / restart method and device, electronic equipment, medium and product, relates to the network control technical field, and realizes automatic acquisition of matching service types and matching network management channel data by querying a network management configuration database through a first special line instance code. For an ELINE service, a second special line instance code is automatically acquired according to a channel ID, and for an ETREE service or an ELAN service, a second special line instance code is acquired according to a configuration side port. The second special line instance code is acquired under different service types, the efficiency and accuracy of acquiring the second special line instance code are improved. The application automatically queries a second special line instance code according to a first special line instance code, performs a stop / restart operation when the first special line instance code is consistent with the second special line instance code, realizes automatic stop / restart operation of a network management service, and improves the accuracy and efficiency of the stop / restart operation of the network management service.
Need to check novelty before this filing date? Find Prior Art

Description

TECHNICAL FIELD

[0001] The present application relates to the technical field of network control, and in particular to a network management service stop and restart method and device, electronic equipment, medium and product. BACKGROUND

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

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

[0004] In summary, the existing network management service stop and restart efficiency is low. SUMMARY

[0005] The present application provides a network management service stop and restart method, device, electronic equipment, medium and product to solve the defect of low network management service stop and restart efficiency in the prior art and achieve improved network management service stop and restart efficiency.

[0006] In a first aspect, the present application provides a network management service stop and restart method, comprising: obtaining a stop and restart operation notification, the stop and restart operation notification comprising a first special line instance code of a network management service to be operated, the first special line instance code being used to identify the network management service; obtaining matching service type and matching network management channel data of the first special line instance code in a preset network management configuration database; the network management configuration database comprising a first mapping relationship between initial special line instance code, initial service type and initial network management channel data; when the matching service type is an Ethernet line (ELINE) service, obtaining a second special 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 an Ethernet tree (ETREE) service or an Ethernet local area network (ELAN) service, obtaining the second special line instance code based on the branch port of the matching network management channel data; and when the second special line instance code is consistent with the first special line instance code, performing a stop and restart operation on the network management service to be operated.

[0007] In one embodiment, the matching network channel data further includes a number of routing segments, and the second private line instance code of the network service to be operated is obtained based on a channel ID of the matching network channel data, including: when the number of routing segments is equal to 1, taking a routing segment ID as the channel ID; when the number of routing segments is equal to 2 and there is a cross-manufacturer routing, taking a central routing segment ID as the channel ID; querying a device network operation and maintenance center (OMC) to obtain a matching private line instance code of the channel ID, and taking the matching private line instance code as the second private line instance code.

[0008] In one embodiment, the second private line instance code is obtained based on a branch port of the matching network channel data, including: 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 configuration database, the network configuration database further including a second mapping relationship between an initial branch port and the ETH; removing network supervision services in the first matching ETH to obtain a second matching ETH; when the number of second matching ETHs is equal to 1, querying a device network operation and maintenance center (OMC) to obtain a matching private line instance code of the branch port, and taking the matching private line instance code as the second private line instance code.

[0009] In one embodiment, when the initial service type of the added network service is an ELINE service, the network configuration database is updated based on the following steps: obtaining initial network channel data and an added service name of the added ELINE service; generating an initial private line instance code of the added ELINE service based on the added service name; when the number of associated routing segments of the initial private line instance code is 1, creating a first mapping relationship between the initial private line instance code, the initial service type and the initial network channel data to update the network configuration database, the initial network channel data including the number of associated routing segments and an associated routing segment ID; when the number of associated routing segments is 2 and a cross-domain topology connection is formed between the two associated routing segments, creating a first mapping relationship between the initial private line instance code, the initial service type and the initial network channel data to update the network configuration database, the initial network channel data including the number of associated routing segments and a newly added central routing segment ID of the cross-domain topology 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, taking the network element access point at the first end as an 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 end of all the ETHs are the same and the number of network element access points at the second end is 1, taking the network element access point at the first end of the ETH as an initial branch port; generating an initial private line instance code based on the initial branch port, and newly creating a first mapping relationship among the initial private line instance code, the initial service type and the initial network management channel data, so as to update the network management configuration database.

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

[0012] In a second aspect, the present application provides a device for stopping and restarting a network management service, comprising: a stop / restart operation notification obtaining module, configured to obtain a stop / restart operation notification, the stop / restart operation notification comprising a first private line instance code of a network management service to be operated, the first private line instance code being used to identify the network management service; a querying module, configured to obtain a matching service type and matching network management channel data of the first private line instance code in a preset network management configuration database; the network management configuration database comprising a first mapping relationship among an initial private line instance code, an initial service type and initial network management channel data; a second private line instance code determining module, configured to, when the matching service type is an Ethernet line (ELINE) service, obtain a second private line instance code of the network management service to be operated based on a channel ID of the matching network management channel data; and when the matching service type is an Ethernet tree (ETREE) service or an Ethernet local area network (ELAN) service, obtain the second private line instance code based on a branch port of the matching network management channel data; and a stop / restart operation module, configured to, when the second private line instance code is consistent with the first private line instance code, execute a stop / restart operation on the network management service to be operated.

[0013] In a third aspect, the present application further provides an electronic device, comprising a memory, a processor and a computer program stored in the memory and executable on the processor, and the processor implements any of the above network management service stopping and restarting methods when executing the computer program.

[0014] In a fourth aspect, the present application further provides a non-transitory computer readable storage medium, having a computer program stored thereon, and the computer program is executable on a processor to implement any of the above network management service stopping and restarting methods.

[0015] In a fifth aspect, the present application provides a computer program product comprising a computer program which, when executed by a processor, implements any of the above network management service stopping and restarting methods.

[0016] The network management service stopping and restarting method, device, electronic equipment, medium and product provided by the present application realize automatic acquisition of matching service types and matching network management channel data by querying the network management configuration database through the first private line instance code. For ELINE services, the second private line instance code is automatically acquired according to the channel ID, and for ETREE services or ELAN services, the second private line instance code is acquired according to the configuration side port, which considers the acquisition of the second private line instance code under different service types, improves the efficiency and accuracy of the acquisition of the second private line instance code. The present application automatically queries the second private line instance code according to the first private line instance code, and when the first private line instance code is consistent with the second private line instance code, the stopping and restarting operation is performed, which realizes the automatic stopping and restarting operation of the network management service and improves the accuracy and efficiency of the stopping and restarting operation of the network management service. BRIEF DESCRIPTION OF DRAWINGS

[0017] In order to more clearly illustrate the technical solutions in the present application or the prior art, the following will briefly introduce the drawings needed to be used in the embodiments or prior art description. Obviously, the drawings in the following description are some embodiments of the present application, and other drawings can be obtained by those skilled in the art without any creative effort on the basis of these drawings.

[0018] Figure 1 is one of the flowcharts of the network management service stopping and restarting method provided by the present application.

[0019] Figure 2 is the second flowchart of the network management service stopping and restarting method provided by the present application.

[0020] Figure 3 is the third flowchart of the network management service stopping and restarting method provided by the present application.

[0021] Figure 4 is one of the update flowcharts of the network management configuration database provided by the present application.

[0022] Figure 5 is the second update flowchart of the network management configuration database provided by the present application.

[0023] Figure 6 is the structural diagram of the network management service stopping and restarting device provided by the present application.

[0024] Figure 7 is the structural diagram of the electronic equipment provided by the present application. DETAILED DESCRIPTION

[0025] For the purposes of the present application, the technical solutions and advantages will be more apparent, the technical solutions in the present application will be described clearly and completely below in conjunction with the drawings in the present application. Obviously, the described embodiments are part of the embodiments of the present application, rather than all the embodiments. Based on the embodiments in the present application, all other embodiments obtained by those of ordinary skill in the art without creative labor fall within the scope of protection of the present application.

[0026] The technical solutions of the present application will be described below in conjunction with the drawings. Figures 1-7 The method, device and electronic equipment for stopping and restarting the network management service are described.

[0027] Figure 1 is one of the flowcharts of the method for stopping and restarting the network management service provided by the present application, as shown in Figure 1 The stopping and restarting of the network management service includes S100 to S400, and each step is specifically as follows.

[0028] S100: Obtain a stopping and restarting operation notification, and the stopping and restarting operation notification includes a first special line instance code of a network management service to be operated.

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

[0030] The first special line instance code and the second special line instance code are unique identifiers defined according to rules, and are used to identify the network management service. The first special line instance code and the second special line instance code are unique in the whole network.

[0031] The execution subject of the embodiments of the present application is a stopping and restarting operation system, which is used to operate the stopping and restarting of the network management service. As shown in Figure 3 The stopping and restarting operation system includes a first query module, a second query module, a network management configuration database, an operations and maintenance center (OMC), a data comparison module and an instruction issuing module. The charging system automatically sends a stopping and restarting operation notification to the stopping and restarting operation system according to the special line service payment situation. The stopping and restarting operation notification includes the first special line instance code and an operation type, and the operation type includes stopping or restarting. The stopping and restarting operation system receives the stopping and restarting operation notification.

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

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

[0034] The network management configuration database is built based on the following steps. (1) A standardized label is made for each network management service to obtain an initial private line instance code of each network management service. For the stock network management service, the initial private line instance code is manually marked, and for the newly added network management service, the initial private line instance code is automatically generated when created. The network management service is automatically collected from the device network management OMC to obtain the initial service type and initial network management channel data of the network management service. For each network management service, the initial private line instance code, the initial service type and the initial network management channel data are stored as a structured data unit to obtain the network management configuration database.

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

[0036] S300: When the matching service type is an Ethernet line (ELINE) service, the second private 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 private line instance code is obtained based on the branch port of the matching network management channel data.

[0037] The network management service type includes an Ethernet line (ELINE) service, an Ethernet tree (ETREE) service and an Ethernet local area network (ELAN) service.

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

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

[0040] When the matched service type is two or more types, manual processing is performed.

[0041] S400: When the second private line instance code is consistent with the first private line instance code, the stop and restart operation of the network management service to be operated is performed.

[0042] The data comparison module compares whether the first private line instance code and the second private line instance code are consistent. If the first private line instance code and the second private line instance code are consistent, the instruction issuing module sends the service stop and restart instruction to the device network management OMC, and the device network management OMC performs the stop and restart operation of the network management service to be operated according to the service stop and restart instruction. If the first private line instance code and the second private line instance code are inconsistent, manual processing is performed.

[0043] The network management service stop and restart method provided by the embodiment of the application queries the network management configuration database through the first private line instance code, and realizes automatic acquisition of the matched service type and the matched network management channel data. For the ELINE service, the second private line instance code is automatically acquired according to the channel ID, and for the ETREE service or the ELAN service, the second private line instance code is acquired according to the configuration side port. The acquisition of the second private line instance code under different service types is considered, and the efficiency and accuracy of the acquisition of the second private line instance code are improved. The second private line instance code is automatically queried according to the first private line instance code, when the first private line instance code is consistent with the second private line instance code, the stop and restart operation is performed, the automatic stop and restart operation of the network management service is realized, and the accuracy and efficiency of the stop and restart operation of the network management service are improved.

[0044] Based on the above embodiment, the matched network management channel data further includes the number of routing segments, and the second private line instance code of the network management service to be operated is acquired based on the channel ID of the matched 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 taken as the channel ID.

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

[0047] S330: Query the device network management operation and maintenance center OMC to obtain a matching private line instance code of the channel ID, and take the matching private line instance code as the second private line instance code.

[0048] As shown in Figure 2 When the matching service type queried is an ELINE service, the number of matching 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 taken as the channel ID, and the device network management OMC is queried according to the channel ID to obtain the second private line instance code.

[0050] When the number of routing segments is 2, it is judged 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 taken as the channel ID, the device network management OMC is queried according to the channel ID, and the matching private line instance code matching the channel ID in the device network management OMC is taken as the second private line instance code.

[0051] When the number of routing segments is greater than 2, the network management service that needs to be stopped or restarted cannot be automatically judged, and manual processing is directly performed.

[0052] The application directly analyzes routing segments to obtain a channel ID, and then obtains a second private line instance code, thereby realizing automatic acquisition of the second private line instance code of the ELINE service, and being beneficial to improving the accuracy and efficiency of stopping and restarting the ELINE service.

[0053] Based on the above embodiment, the matching network management channel data further includes a branch port, and the second private 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: Obtain the first matching Ethernet service ETH of the verified branch port in the network management configuration database, and the network management configuration database further includes a second mapping relationship between the initial branch port and the ETH.

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

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

[0058] As shown in Figure 2As shown, when the queried matching service type is the ETREE service or the ELAN service, the tributary port (A-end port) of the matching network management channel data is acquired, for example, the tributary port ID is acquired. It is verified that the tributary port is a non-aggregation port, and it is analyzed whether the tributary port name contains the keyword "aggregation". It is determined again that the tributary port is not an aggregation port, so as to avoid service misoperation. If it is verified that the tributary port is an aggregation port, manual processing is directly entered.

[0059] For the ETREE service or the ELAN service, the network management configuration database further includes a second mapping relationship of the initial tributary port of the ETREE service or the ELAN service and the ETH. All first matching ETHs of the verified tributary port are queried in the network management configuration database. The channel table is queried, and the network management supervision service in the first matching ETH is removed. The network management supervision service is a non-private line service, and is used for supervising the network management and can be identified by a specific keyword (for example, A network management, B network management, C network management, etc.), so as to filter irrelevant records.

[0060] After the first matching ETH is filtered, the second matching ETH is obtained. When the number of the second matching ETH is equal to 1, it can be determined that the network management service that needs to be stopped and restarted, and at this time, the device network management OMC is queried according to the tributary port, and the matching private line instance code of the tributary port is taken as the second private line instance code.

[0061] Further, when the number of the second matching ETH is greater than 1, the network management service that needs to be stopped and restarted cannot be automatically determined, and at this time, manual processing is entered.

[0062] The application is directed to the ETREE service or the ELAN service, the device network management OMC is queried according to the tributary port, and then the second private line instance code is obtained, so as to automatically acquire the second private line instance code of the ETREE service or the ELAN service, which is beneficial to improve the accuracy and efficiency of the ETREE service or the 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: acquiring initial network management channel data of the newly added ELINE service and a newly added service name.

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

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

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

[0068] The new network management service is a network management service that needs to be added to the network management configuration database. The ELINE service is automatically collected regularly to obtain the new ELINE service, and the network management configuration database is updated.

[0069] As shown in Figure 4 , the initial network management channel data and the new service name of the new ELINE service are obtained. The initial private line instance code is generated based on the new service name. Since the initial private line instance code is included when creating the ELINE service name, the initial private line instance code is obtained by intercepting the new service name. For example, the number after the special symbol in the new service name is intercepted, which is the initial private line instance code of the new ELINE service. If no special symbol or number is matched when the data is intercepted, an abnormal data prompt is given, and the abnormal data needs to be exported for manual checking. The special symbol includes but is not limited to a colon.

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

[0071] When the number of associated route segments is 2, it is determined whether there is a port in the cross-domain topology table for each associated route segment, and the two ports can form a cross-domain topology connection. If the two associated route segments can form a cross-domain topology connection, the newly added central route segment ID of the cross-domain topology connection is obtained. The two associated route segments are combined into a first mapping relationship. A first mapping relationship between the initial private line instance code, the initial service type and the initial network management channel data is newly established to update the network management configuration database. The number of associated route segments and the newly added central route 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, it is considered that the data is abnormal, and the manual processing is performed.

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

[0074] The embodiment of the application is directed to the newly added ELINE service, and 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, so as to update the network management configuration database, which realizes the real-time automatic update of the ELINE service, improves the accuracy and reliability of the network management configuration database, and is beneficial to reduce the risk of the ELINE service stop.

[0075] Based on the above embodiment, 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 S250 to S280, and each step is specifically as follows.

[0076] S250: Obtain the 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 of the first end of the ETH is greater than 2, and the number of network element access points of the second end of the ETH is equal to 1, the network element access point of the first end is taken 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 end of all ETHs are the same and the number of network element access points of the second end is 1, the network element access points of the first end of the ETH are taken as the initial branch port.

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

[0080] Periodically and automatically collect the ETREE service or the ELAN service, obtain the newly added ETREE service or the newly added ELAN service, and update the network management configuration database.

[0081] As Figure 5The initial network management channel data of the added ETREE service or the added ELAN service is acquired. When the number of the ETH (the number of the associated pseudo-wire) in the initial network management channel data is equal to 1, it is judged whether the number of the network element access points of the first end of the ETH is greater than 2 and the number of the network element access points of the second end of the ETH is equal to 1. If the number of the network element access points of the first end of the ETH is greater than 2 and the number of the network element access points of the second end of the ETH is equal to 1, the network element access point of the first end is directly taken as the initial branch port (the initial A-end port), and the network element access point of the second end is taken as the initial aggregation port (the initial Z-end port). If the number of the ETH is equal to 1, the ETH does not satisfy that the number of the network element access points of the first end is greater than 2 and the number of the network element access points of the second end is equal to 1, and the manual processing is entered.

[0082] When the number of the ETH (the number of the associated pseudo-wire) in the initial network management channel data is greater than 1, the network element access points of the second end of all the ETHs are the same and unique, the network element access point of the first end is taken as the initial branch port, and the network element access point of the second end is taken as the initial aggregation port. If the number of the ETH is greater than 1, the network element access points of the second end of all the ETHs are not the same and unique, and the manual processing is entered.

[0083] It is judged whether the initial branch port has the initial private line instance code, and if yes, the initial private line instance code is directly acquired. A first mapping relationship is newly created according to the initial private line instance code, the initial service type and the initial network management channel data, so as to update the network management configuration database.

[0084] If the initial branch port does not have the initial private line instance code, the manual processing is entered.

[0085] The number of the ETH, the number of the network element access points of the first end of the ETH and the number of the network element access points of the second end of the ETH are analyzed to judge whether the added ETREE service or the added ELAN service is the exclusive port service, and then the initial private line instance code is acquired, so that the real-time automatic update of the ETREE service or the ELAN service belonging to the exclusive port service is realized, the accuracy and reliability of the network management configuration database are improved, and the risk of the ETREE service or the ELAN service being wrongly stopped is reduced.

[0086] Based on the above embodiment, if the second private line instance code fails to be acquired or is inconsistent with the first private line instance code, the abnormal data of the stop and restart operation notification is recorded, and the abnormal reason of the abnormal data is analyzed.

[0087] If the second private line instance code fails to be acquired or is inconsistent with the first private line instance code, the abnormal data is recorded, and the manual processing link is entered to check the abnormal data.

[0088] Furthermore, when updating the network management configuration database, newly added network management services that fail to update are recorded as abnormal data, and the reasons for the abnormal data are checked manually on a regular basis.

[0089] This application improves the efficiency of automatic shutdown and recovery of network management services by recording abnormal data and analyzing the causes of abnormalities.

[0090] The following describes the network management service shutdown and restart device provided in this application. The network management service shutdown and restart device described below can be referred to in correspondence with the network management service shutdown and restart method described above.

[0091] like Figure 6 As shown, a network management service suspension and resumption device includes: a suspension and resumption operation notification acquisition module 601, used to acquire a suspension and resumption operation notification, the suspension and resumption operation notification including a first leased line instance code of the network management service to be operated, the first leased line instance code being 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 leased line instance code from the preset network management configuration database; the network management configuration database includes the first mapping relationship between the initial leased line instance code, the initial service type and the initial network management channel data.

[0093] The second leased line instance code determination module 603 is used to obtain the second leased 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 Ethernet Line (ELINE) service; and to obtain the second leased line instance code based on the tributary port of the matching network management channel data when the matching service type is Ethernet Tree (ETREE) service or Ethernet Local Area Network (ELAN) service.

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

[0095] The network management service shutdown / reactivation method provided in this application query the network management configuration database using a first leased line instance code, thereby automatically obtaining matching service types and network management channel data. For ELINE services, the second leased line instance code is automatically obtained based on the channel ID; for ETREE or ELAN services, the second leased line instance code is obtained based on the configured port. This approach considers different service types when obtaining the second leased line instance code, improving the efficiency and accuracy of obtaining it. This application automatically queries the second leased line instance code based on the first leased line instance code. When the first and second leased line instance codes match, a shutdown / reactivation operation is performed, achieving automatic shutdown / reactivation of network management services and improving the accuracy and efficiency of these operations.

[0096] In one embodiment, the matching network channel data further includes a number of routing segments, and the second private line instance code determining module 603 is configured to: when the number of routing segments is equal to 1, take the routing segment ID as the channel ID; when the number of routing segments is equal to 2 and there is a cross-manufacturer routing, take the central routing segment ID as the channel ID; query a device network operation and maintenance center (OMC) to obtain a matching private line instance code of the channel ID, and take the matching private line instance code as the second private line instance code.

[0097] In one embodiment, the second private line instance code determining module 603 is configured to: verify that the branch port is a non-aggregation port; obtain a first matching Ethernet service (ETH) of the verified branch port in a network configuration database, the network configuration database further including a second mapping relationship between an initial branch port and the ETH; remove network supervision services in the first matching ETH to obtain a second matching ETH; when the number of the second matching ETH is equal to 1, query a device network OMC to obtain a matching private line instance code of the branch port, and take the matching private line instance code as the second private line instance code.

[0098] In one embodiment, when the initial service type of the added network service is an ELINE service, the querying module 602 is further configured to: obtain initial network channel data of the added ELINE service and an added service name; generate an initial private line instance code of the added ELINE service based on the added service name; when the number of associated routing segments of the initial private line instance code is 1, newly create a first mapping relationship among the initial private line instance code, the initial service type, and the initial network channel data to update the network configuration database, the initial network channel data including the number of associated routing segments and an associated routing segment ID; when the number of associated routing segments is 2 and a cross-domain topology connection is formed between the two associated routing segments, newly create a first mapping relationship among the initial private line instance code, the initial service type, and the initial network channel data to update the network configuration database, the initial network channel data including the number of associated routing segments and a newly added central routing segment ID of the cross-domain topology 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 configured to: acquire 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, take the network element access points at the first end as initial branch ports; when the number of ETHs in the initial network management channel data is greater than 1, the network element access points at the second end of all the ETHs are the same and the number of network element access points at the second end is 1, take the network element access points at the first end of the ETHs as the initial branch ports; generate an initial private line instance code based on the initial branch ports, and newly create a first mapping relationship among the initial private line instance code, the initial service type, and the initial network management channel data, so as to update the network management configuration database.

[0100] In one embodiment, if the second private line instance code fails to be acquired or is inconsistent with the first private line instance code, record abnormal data of the stop / restart operation notification and analyze the abnormal reason of the abnormal data.

[0101] Figure 7 An example of a schematic diagram of a physical structure of an electronic device is shown in Figure 7 As shown, the electronic device can include a processor 710, a communications interface 720, a memory 730, and a communications bus 740, wherein the processor 710, the communications interface 720, and the memory 730 complete mutual communication through the communications bus 740. The processor 710 can invoke a logical instruction in the memory 730 to execute a stop / restart method of a network management service, which includes: acquiring a stop / restart operation notification, the stop / restart operation notification including a first private line instance code of a network management service to be operated, the first private line instance code being used to identify the network management service; acquiring a matching service type and matching network management channel data of the first private line instance code in a preset network management configuration database; the network management configuration database including a first mapping relationship among an initial private line instance code, an initial service type, and initial network management channel data; when the matching service type is an Ethernet line (ELINE) service, acquiring a second private 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, acquiring the second private line instance code based on a branch port of the matching network management channel data; and when the second private line instance code is consistent with the first private line instance code, performing a stop / restart operation on the network management service to be operated.

[0102] Further, the logic instructions in the memory 730 described above can be implemented in the form of software functional units and sold or used as independent products, and can be stored in a computer readable storage medium. Based on such understanding, the technical solutions of the present application essentially or the part that contributes to the prior art or part of the technical solutions can be embodied in the form of a software product, and the computer software product is stored in a storage medium, including a number of instructions to make a computer device (which can be a personal computer, a server, or a network device, etc.) execute all or part of the steps of the methods described in the various embodiments of the present application. The aforementioned storage medium includes: a U disk, a mobile hard disk, a read-only memory (ROM, Read-Only Memory), a random access memory (RAM, Random Access Memory), a magnetic disk or an optical disk, and various media that can store program codes.

[0103] In another aspect, the present application also provides a computer program product, the computer program product comprising a computer program, the computer program being stored in a non-transitory computer readable storage medium, and the computer program being executed by a processor, so that a computer can execute the network management service stop / restart method provided by the above-mentioned methods, the method comprising: obtaining a stop / restart operation notification, the stop / restart operation notification comprising a first private line instance code of a network management service to be operated, the first private 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 private line instance code in a preset network management configuration database; the network management configuration database comprising a first mapping relationship between an initial private line instance code, an initial service type and initial network management channel data; when the matching service type is an Ethernet line (ELINE) service, obtaining a second private 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 the second private line instance code based on a branch port of the matching network management channel data; and when the second private line instance code is consistent with the first private line instance code, performing a stop / restart operation on the network management service to be operated.

[0104] In yet another aspect, the present application also provides a non-transitory computer readable storage medium having stored thereon a computer program, which, when executed by a processor, implements the method for stopping and restarting a network management service provided by the above method, and the method comprises: obtaining a stopping and restarting operation notification, the stopping and restarting operation notification comprising a first instance code of a special line of the network management service to be operated, the first instance code being used to identify the network management service; obtaining a matching service type and matching network management channel data of the first instance code in a preset network management configuration database; the network management configuration database comprises a first mapping relationship between an initial instance code of a special line, an initial service type and initial network management channel data; when the matching service type is an Ethernet line (ELINE) service, obtaining a second 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 the second instance code based on a branch port of the matching network management channel data; and when the second instance code is consistent with the first instance code, performing a stopping and restarting 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 can or can not be physically separated, and the components displayed as units can or can not be physical units, i.e., can be located in one place or distributed on multiple network units. Part or all of the modules can be selected to achieve the purpose of the embodiment according to actual needs. Those skilled in the art can understand and implement without creative labor.

[0106] From the above description of the embodiments, those skilled in the art can clearly understand that the embodiments can be realized by means of software plus necessary general hardware platforms, and of course can also be realized by hardware. Based on such understanding, the above technical solutions, essentially or in other words, the part that contributes to the prior art, can be embodied in the form of a software product, which can be stored in a computer readable storage medium, such as a ROM / RAM, a magnetic disk, an optical disk, etc., and includes a plurality of instructions to make a computer device (which can be a personal computer, a server, or a network device, etc.) 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, and not to limit them; although the present application has been described in detail with reference to the foregoing embodiments, those skilled in the art should understand that they can still modify the technical solutions recorded in the foregoing embodiments, or make equivalent replacements to some technical features; and these modifications or replacements do not make the essence of the corresponding technical solutions deviate from the spirit and scope of the technical solutions of the embodiments of the present application.

Claims

1. A method for suspending and resuming network management services, characterized in that, include: Obtain a shutdown / reinstatement operation notification, which includes the first leased line instance code of the network management service to be operated, and the first leased line instance code is used to identify the network management service. Obtain the matching service type and matching network management channel data of the first leased line instance code from the preset network management configuration database; the network management configuration database includes a first mapping relationship between the initial leased line instance code, the initial service type, and the initial network management channel data; When the matching service type is Ethernet Line (ELINE) service, the second leased 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 Ethernet Tree (ETREE) service or Ethernet Local Area Network (ELAN) service, the second leased line instance code is obtained based on the tributary port of the matching network management channel data. When the second leased line instance code is consistent with the first leased line instance code, the shutdown and restart operation is performed on the network management service to be operated.

2. The method for suspending and resuming network management services according to claim 1, characterized in that, The matching network management channel data also includes the number of routing segments. The step of obtaining the second leased 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 route segments is equal to 1, the route segment ID is used as the channel ID; When the number of routing segments is equal to 2 and cross-vendor routing exists, the central routing segment ID is used as the channel ID; Query the device network management operation and maintenance center (OMC) to obtain the matching leased line instance code of the channel ID, and use the matching leased line instance code as the second leased line instance code.

3. The method for suspending and resuming network management services according to claim 1, characterized in that, The step of obtaining the second leased line instance code based on the tributary port of the matching network management channel data includes: Verify that the tributary port is a non-convergence port; The first matching Ethernet service ETH of the verified tributary port is obtained from the network management configuration database, which also includes a second mapping relationship between the initial tributary port and the ETH. Remove the network management supervision business from the first matching ETH to obtain the second matching ETH; When the number of the second matching ETH is equal to 1, query the device network management OMC to obtain the matching leased line instance code of the branch port, and use the matching leased line instance code as the second leased line instance code.

4. The method for suspending and resuming network management services 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 the name of the new ELINE service; Generate the initial leased line instance code for the new ELINE service based on the new service name; When the number of associated route segments of the initial leased line instance code is 1, a first mapping relationship is established between the initial leased line instance code, the initial service type, and the initial network management channel data to update the network management configuration database. The initial network management channel data includes the number of associated route segments and the associated route segment ID. When the number of associated route segments is 2, and the two associated route segments form a cross-domain topology connection, a first mapping relationship is established between the initial leased line instance code, the initial service type, and the initial network management channel data to update the network management configuration database. The initial network management channel data includes the number of associated route segments and the newly added central route segment ID of the cross-domain topology connection.

5. The method for suspending and resuming network management services according to claim 1, characterized in that, When the initial service type of a 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 for the newly added ETREE service or the newly added ELAN service; When the number of ETH 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 ETH in the initial network management channel data is greater than 1, and the network element access points at the second end of all ETH 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. The initial leased line instance code is generated based on the initial tributary port, and a first mapping relationship is established between the initial leased line instance code, the initial service type, and the initial network management channel data to update the network management configuration database.

6. The method for suspending and resuming network management services according to claim 1, characterized in that, If the acquisition of the second leased line instance code fails, or if the second leased line instance code is inconsistent with the first leased line instance code, record the abnormal data of the shutdown / resumption operation notification and analyze the cause of the abnormal data.

7. A device for suspending and resuming network management services, characterized in that, include: The shutdown / reinstatement operation notification acquisition module is used to acquire shutdown / reinstatement operation notifications, which include the first leased line instance code of the network management service to be operated, and the first leased line instance code is used to identify the network management service. The query module is used to obtain the matching service type and matching network management channel data of the first leased line instance code from a preset network management configuration database; the network management configuration database includes a first mapping relationship between the initial leased line instance code, the initial service type and the initial network management channel data; The second leased line instance code determination module is used to obtain the second leased 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 Ethernet Line (ELINE) service; and to obtain the second leased line instance code based on the tributary port of the matching network management channel data when the matching service type is Ethernet Tree (ETREE) service or Ethernet Local Area Network (ELAN) service. The shutdown / restart operation module is used to perform shutdown / restart operations on the network management service to be operated when the second leased line instance code is consistent with the first leased 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, it implements the shutdown and restart method of the network management service as described in any one of claims 1 to 6.

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, it implements the shutdown and restart method of the network management service as described in any one of claims 1 to 6.

10. A computer program product, comprising a computer program, characterized in that, When the computer program is executed by the processor, it implements the shutdown and restart method of the network management service as described in any one of claims 1 to 6.

Citation Information

Patent Citations

  • Service forwarding method and system

    CN102695103A

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

    CN114640701A