CN106992873B - Protection group processing method and device - Google Patents

Protection group processing method and device Download PDF

Info

Publication number
CN106992873B
CN106992873B CN201610044665.1A CN201610044665A CN106992873B CN 106992873 B CN106992873 B CN 106992873B CN 201610044665 A CN201610044665 A CN 201610044665A CN 106992873 B CN106992873 B CN 106992873B
Authority
CN
China
Prior art keywords
protection group
configuration information
protection
detected
group
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN201610044665.1A
Other languages
Chinese (zh)
Other versions
CN106992873A (en
Inventor
李晓琴
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
ZTE Corp
Original Assignee
ZTE Corp
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by ZTE Corp filed Critical ZTE Corp
Priority to CN201610044665.1A priority Critical patent/CN106992873B/en
Priority to PCT/CN2017/071391 priority patent/WO2017125001A1/en
Publication of CN106992873A publication Critical patent/CN106992873A/en
Application granted granted Critical
Publication of CN106992873B publication Critical patent/CN106992873B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L41/00Arrangements for maintenance, administration or management of data switching networks, e.g. of packet switching networks
    • H04L41/08Configuration management of networks or network elements
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L41/00Arrangements for maintenance, administration or management of data switching networks, e.g. of packet switching networks
    • H04L41/08Configuration management of networks or network elements
    • H04L41/0803Configuration setting
    • H04L41/084Configuration by using pre-existing information, e.g. using templates or copying from other elements
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L41/00Arrangements for maintenance, administration or management of data switching networks, e.g. of packet switching networks
    • H04L41/08Configuration management of networks or network elements
    • H04L41/085Retrieval of network configuration; Tracking network configuration history
    • H04L41/0853Retrieval of network configuration; Tracking network configuration history by actively collecting configuration information or by backing up configuration information
    • H04L41/0856Retrieval of network configuration; Tracking network configuration history by actively collecting configuration information or by backing up configuration information by backing up or archiving configuration information
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L41/00Arrangements for maintenance, administration or management of data switching networks, e.g. of packet switching networks
    • H04L41/08Configuration management of networks or network elements
    • H04L41/0866Checking the configuration

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Data Exchanges In Wide-Area Networks (AREA)

Abstract

The invention provides a protection group processing method and a device, wherein the method comprises the following steps: acquiring a protection group to be detected in a protection group list and configuration information of the protection group; detecting whether the configuration information is correct or not; and under the condition that the detection result is negative, repairing the protection group to be detected. By adopting the technical scheme provided by the invention, the problem of low efficiency in the technical scheme of detecting or repairing the protection group in the related technology is solved, and the effect of efficiently and accurately completing the detection and repair of the protection group is further achieved.

Description

Protection group processing method and device
Technical Field
The present invention relates to the field of communications, and in particular, to a protection group processing method and apparatus.
Background
With the development of communication network technology, communication traffic is continuously increasing, and accordingly, the number of services and the number of protection groups supported by a network element management system responsible for maintaining and managing network element devices of a network are increasing, and meanwhile, the configuration process of the protection groups is complex, and service interruption faults caused by configuration errors of the protection groups often occur.
The existing methods for detecting and repairing protection group configuration have two kinds: the first method is as follows: the protection group is detected and repaired manually, that is, the configuration information of the protection group is checked in sequence according to the protection group configuration in the network element management system, for example: protecting the attributes of parameters, protection relations, port service information and the like, and finding and repairing the configuration information with problems; the second method is as follows: the configuration information of the protection group on the equipment is detected through the inspection tool and is manually modified. The disadvantages of the first approach are four: firstly, it is time-consuming to check the protection group configuration information in the network element management system, for example, 1000 protection groups are in the network element management system, and it takes at least 8 hours to check the protection groups, if the number of protection groups in the existing engineering exceeds 2000, the protection groups cannot be detected and repaired quickly by the method, so that the manual detection and repair of the protection group configuration does not meet the engineering requirements; secondly, the requirement on inspectors is high, the inspectors need to have strong professional knowledge and know business knowledge to know the meaning and configuration method of each configuration information in the protection group; thirdly, the effect of the manual detection and repair method is unstable, the detection effect is related to the experience of the detection personnel, the more experienced the detection personnel are, the more easily the problems of the configuration information of the protection group can be found, if the detection and repair process can form a fixed configuration information check item, the protection group can be sequentially checked and repaired according to the content of the configuration information check item, and thus the detection effect is relatively stable; and fourthly, batch repair is not supported, only one protection group configuration information can be repaired at a time, and if 1000 protection groups in the network element management system have configuration problems, the 1000 protection group configuration information needs to be repaired. The second method has two disadvantages: firstly, the configuration information of the protection group is detected from the equipment, and the operation time is long; secondly, abnormal protection group configuration information and association configuration need to be modified manually; in summary, for transmission system engineering, there is a great limitation in using the existing detection and repair protection group configuration method, and the test and engineering requirements cannot be met.
In the related art, an effective solution is not provided for the problem of low efficiency in the technical scheme of detecting or repairing the protection group.
Disclosure of Invention
The invention provides a protection group processing method and device, which are used for at least solving the problem of low efficiency of manually detecting or repairing configuration information of a protection group in the related art.
According to an aspect of the present invention, there is provided a protected group processing method including: acquiring a protection group to be detected in a protection group list and configuration information of the protection group; detecting whether the configuration information is correct or not; and under the condition that the detection result is negative, repairing the protection group to be detected.
Further, acquiring the protection group to be detected in the protection group list includes: selecting a network element to be detected and a protection type of a protection group in the network element according to service needs, wherein the protection type comprises: optical layer protection, electric layer protection and Ethernet protection, wherein the configuration information of protection groups with different protection types is different; and acquiring the protection group to be detected in the protection group list from the selected network element according to the protection type.
Further, detecting whether the configuration information is correct includes: acquiring first configuration information of a protection group corresponding to the protection type according to the protection type of the protection group, wherein the first configuration information is configuration information of the protection group in a normal state; and verifying the configuration information according to the first configuration information, wherein the configuration information is detected correctly when the configuration information is matched with the first configuration information.
Further, in the case that the detection result is negative, repairing the protection group to be detected includes: under the condition that the detection result is negative, second configuration information of the protection group to be detected in a normal state is acquired; and repairing the protection group to be detected according to the second configuration information.
Further, the method further comprises: and generating a detection report and a repair report of the protection group.
According to another aspect of the present invention, there is provided a protected group processing apparatus including: the acquisition module is used for acquiring a protection group to be detected in a protection group list and configuration information of the protection group; the detection module is used for detecting whether the configuration information is correct or not; and the repairing module is used for repairing the protection group to be detected under the condition that the detection result is negative.
Further, the obtaining module includes: a selecting unit, configured to select, according to service needs, a network element to be detected and a protection type of a protection group in the network element, where the protection type includes: optical layer protection, electric layer protection and Ethernet protection, wherein the configuration information of protection groups with different protection types is different; a first obtaining unit, configured to obtain, from the selected network element, the protection group to be detected in the protection group list according to the protection type.
Further, the detection module includes: a second obtaining unit, configured to obtain, according to a protection type of the protection group, first configuration information of the protection group corresponding to the protection type, where the first configuration information is configuration information of the protection group in a normal state; and a verification unit, configured to verify the configuration information according to the first configuration information, where the configuration information is detected correctly when the configuration information matches the first configuration information.
Further, the repair module includes: a third obtaining unit, configured to obtain, if the detection result is negative, second configuration information that the protection group to be detected is in a normal state; and the repairing unit is used for repairing the protection group to be detected according to the second configuration information.
Further, the above apparatus further comprises: and the generating module is used for generating the detection report and the repair report of the protection group.
According to the invention, the protection groups to be detected in the protection group list and the configuration information thereof are obtained in batch; detecting whether the configuration information is correct or not; and repairing the protection group to be detected under the condition that the detection result is incorrect. Therefore, the problem of low efficiency in the technical scheme of detecting or repairing the protection group in the related technology is solved, and the effect of efficiently and accurately completing the detection and repair of the protection group is achieved.
Drawings
The accompanying drawings, which are included to provide a further understanding of the invention and are incorporated in and constitute a part of this application, illustrate embodiment(s) of the invention and together with the description serve to explain the invention without limiting the invention. In the drawings:
FIG. 1 is a flow diagram of a protected group processing method according to an embodiment of the present invention;
FIG. 2 is another flow diagram of a protected group processing method according to an embodiment of the present invention;
FIG. 3 is a flow diagram of a protected group processing method according to an example of the invention;
FIG. 4 is another flow diagram of a protected group processing method according to an example of the invention;
fig. 5 is a block diagram of the structure of a protected group processing apparatus according to an embodiment of the present invention;
fig. 6 is a block diagram of the structure of the acquisition module 52 of the protection group processing apparatus according to the embodiment of the present invention;
fig. 7 is a block diagram of the structure of the detection module 54 of the protection group processing apparatus according to the embodiment of the present invention;
fig. 8 is a block diagram of the structure of the repair module 56 of the protection group processing apparatus according to the embodiment of the present invention;
fig. 9 is another block diagram of the protected group processing apparatus according to the embodiment of the present invention.
Detailed Description
The invention will be described in detail hereinafter with reference to the accompanying drawings in conjunction with embodiments. It should be noted that the embodiments and features of the embodiments in the present application may be combined with each other without conflict.
It should be noted that the terms "first," "second," and the like in the description and claims of the present invention and in the drawings described above are used for distinguishing between similar elements and not necessarily for describing a particular sequential or chronological order.
In the present embodiment, a protection group processing method is provided, and fig. 1 is a flowchart of a protection group processing method according to an embodiment of the present invention, as shown in fig. 1, the flowchart includes the following steps:
step S102, acquiring a protection group to be detected in a protection group list and configuration information of the protection group;
step S104, detecting whether the configuration information is correct;
and step S106, repairing the protection group to be detected under the condition that the detection result is negative.
Through the steps, the protection group to be detected and the configuration information of the protection group are obtained; detecting whether the configuration information is correct or not; and under the condition that the detection result is negative, repairing the protection group to be detected, thereby solving the problem of low efficiency of manually detecting or repairing the configuration information of the protection group, and further achieving the effect of efficiently and accurately completing the detection and repair of the configuration information of the protection group.
In a preferred embodiment, the acquiring the protection group to be detected in the protection group list includes: selecting a network element to be detected and a protection type of a protection group in the network element according to service needs, wherein the protection type comprises: optical layer protection, electric layer protection and Ethernet protection, wherein the configuration information of protection groups with different protection types is different; and acquiring the protection group to be detected in the protection group list from the selected network element according to the protection type. The method further comprises the following steps: and generating a detection report and a repair report of the protection group.
For transmission system engineering, in order to meet the requirements of testing and engineering, selective detection and repair of a protection group are required, and the selection conditions provided in this implementation are to select a specific network element and a protection type of the protection group in the network element, and then to detect and repair the selected protection group. And when the condition for selecting the protection group is not set, detecting and repairing the selected whole network protection group.
Based on the technical solutions provided by the above embodiments, the following describes the above technical solutions with reference to an example, fig. 2 is another flowchart of a protection group processing method according to an embodiment of the present invention, and as shown in fig. 2, the method can be implemented by the following technical solutions:
step S202: selecting a network element list to be detected and a protection type of a protection group in the network element according to service needs, inquiring and displaying a protection group list meeting conditions in the protection group list by the system according to the selected network element list and the protection type of the protection group, and detecting the protection group related to the network elements of the whole network if the network element list to be detected is empty;
step S204: inquiring configuration information of the protection group, such as network element/single board information, cross connection information, protection group port service information, protection subnet information and the like; the protection group is an important component of the protection function and mainly comprises optical layer protection, electric layer protection and Ethernet protection; wherein, the network element/single board in the protection group needs to be checked according to the network element/single board information; the port service information of the protection group is associated with the optical layer protection group and is used for verifying the port service information contained in the optical layer protection group or Ethernet protection, and the cross connection information is associated with the electrical layer protection and is used for verifying the port service information contained in the electrical layer protection group; the protection sub-network is a function associated with the configuration of the protection group, and the detection and repair of the protection sub-network are required in a better implementation mode;
step S206: analyzing the configuration information of the protection group, wherein the configuration information analysis completion comprises the protection type, the inspection item ID, the inspection content, the inspection contrast standard, the severity level, the suggestion, whether the repair can be carried out and the like;
step S208: whether the configuration information analysis is successful or not is judged, if so, the step S212 is executed, otherwise, the step S210 is executed;
step S210: the configuration information analysis fails, and the operation is quitted;
step S212: and sequentially detecting the protection groups meeting the conditions in the network element list according to the protection types and the inspection contents in the configuration information and by combining the network element/single board information, the cross connection information, the protection group ports and the service information, and recording the protection groups which are not detected to pass through, the protection types, the inspection contents, the severity levels and other contents of the protection groups. If the detection result of the protection group is normal, no record is made, namely the detection result only contains the protection group which fails in detection and the configuration information thereof;
step S214: for the protection group which fails to be detected, generating a protection detection report by taking the protection group as a unit, wherein the detection report comprises the protection group and configuration information contents such as the protection type, the detection failing inspection content, the severity level, the suggestion and the like of the protection group;
step S216: if the protection group detection report includes an abnormal protection group, executing step S218; otherwise, executing step S222;
step S218: analyzing the configuration information of the protection group to be detected according to the protection group detection report and the user selection, and automatically repairing the repairable protection group according to the configuration information when the protection group is normal;
step S220: repairing the protection sub-network related to the protection group which is detected to fail;
step S222: after the repair process is finished, generating a protection group detection report and a repair report, so that a user can conveniently check the detection and repair results of the protection group;
in this example, a protection group processing method is provided, which detects whether the configuration information is correct, and includes: acquiring first configuration information of a protection group corresponding to the protection type according to the protection type of the protection group, wherein the first configuration information is configuration information of the protection group in a normal state; and verifying the configuration information according to the first configuration information, wherein the configuration information is detected correctly when the configuration information is matched with the first configuration information.
Based on the technical solutions provided by the above examples, the following describes the above technical solutions with reference to an embodiment, fig. 3 is a schematic flow chart of a protection group processing method according to an example of the present invention, and as shown in fig. 3, the detection method can be implemented by the following technical solutions:
step S302: according to the protection type of the protection group to be detected in the protection group list, finding the configuration information of the protection type, such as an inspection item ID, inspection content, fault severity level and the like;
step S304: if the protection type of the protection group to be detected is optical layer protection, executing step S306; if the protection type of the protection group to be detected is electrical layer protection, executing step S308; if the protection type of the protection group to be detected is ethernet protection, step S310 is executed;
step S306: and detecting the protection of the optical layer, and verifying whether the configuration information of the protection group to be detected is matched with the first configuration information according to the configuration information of the protection group protected by the optical layer in the normal state, namely the first configuration information in the technical scheme. The configuration information includes: whether the protection relation group ID is repeated, whether the protection parameter exceeds the value range, whether the protection relation port is associated with a protection single board, whether the port service information is matched with the service and the like, wherein the detection process needs to depend on the network element/single board information and the protection group port service information;
step S308: and detecting the electrical layer protection, and verifying whether the configuration information of the protection group to be detected is matched with the first configuration information according to the configuration information of the protection group of the electrical layer protection in a normal state, namely the first configuration information in the technical scheme. The configuration information includes: whether the protection relation group ID is repeated, whether the protection parameter exceeds the value range, whether the protection relation port is configured with cross connection, whether the port service information is matched with the cross connection and the like, wherein the detection process needs to depend on the network element/single board information and the cross connection information;
step S310: detecting Ethernet protection, and verifying whether the configuration information of the protection group to be detected is matched with the first configuration information according to the configuration information of the protection group of the Ethernet protection in a normal state, namely the first configuration information in the technical scheme. The configuration information includes: whether the protection relation Group ID is repeated, whether the protection parameter exceeds the value range, whether the protection relation port is configured with the Ethernet service, whether MEPs (Maintenance Entity Group End points) and MEGs (Maintenance Entity Group) in the port service information are consistent with the MEPs and the MEGs of the protection relation port, and the like, wherein the detection process needs to depend on the network element/single board information, the protection Group port and the service information;
step S312: detecting a protection subnet related to the protection group, and checking the content comprises: whether all protection relation group IDs, protection names and protection parameters under the protection sub-network are consistent, whether the port service information of the protection group under the protection sub-network is consistent with the protected service, and the like. The detection process needs to depend on the service information of the protection group and the protection group port;
step S314: summarizing the detection results of the protection groups and the protection subnetworks, filtering the detection results into normal protection groups and protection subnetworks, and reserving the protection groups and protection subnetworks which fail to be detected;
step S316: distinguishing the detection result, and distinguishing repairable protection group configuration information and irreparable protection group configuration information according to whether the attribute can be repaired or not for the protection group which is detected to fail, wherein the irreparable configuration information comprises: the protection relation port does not have cross connection, does not belong to any protection single board, and the like;
in this embodiment, another protection group processing method is provided, and in a case that a detection result is negative, repairing the protection group to be detected includes: under the condition that the detection result is negative, second configuration information of the protection group to be detected in a normal state is acquired; and repairing the protection group to be detected according to the second configuration information.
Based on the technical solutions provided by the above embodiments, the following describes the above technical solutions with reference to an example, fig. 4 is another schematic flow chart of the protection group processing method according to the example of the present invention, and as shown in fig. 4, the repairing method can be implemented by the following technical solutions:
step S402: searching for a protection group, and after screening out a protection group which fails to be detected in the protection group list, obtaining configuration information (namely second configuration information) of the protection group in a normal state according to the protection type of the protection group, wherein the specific obtaining step is that a protection group with the same ID as the protection group is found from a network management database according to the ID of the protection group, the configuration information of the protection group is the configuration information of the protection group to be detected in the normal state, and the second configuration information is obtained, and the second configuration information is the configuration information of the protection group which fails to be detected and is the same as the content of the first configuration information in the step S306 under the condition that all protection group detections fail;
step S404: if the protection type of the protection group to be repaired is optical layer protection, executing step S406; if the protection type of the protection group to be repaired is electrical layer protection, executing step S408; if the protection type of the protection group to be repaired is ethernet protection, step S410 is executed;
step S406: when the optical layer protection group is repaired, the configuration information of the protection group that fails to be detected is modified into the content in the second configuration information according to the second configuration information acquired in step S402, for example: the problem of repeated protection group IDs is that according to all protection groups on a network element where the protection group is located, unoccupied protection group IDs are found and assigned to the protection groups with problems, and the modification process needs to depend on network element/single board information, protection group configuration and protection group port service information;
step S408: repairing the electrical layer protection, modifying the configuration information of the protection group which fails to be detected into the content in the second configuration information according to the second configuration information acquired in step S402, for example: the port service information is not matched with the cross connection configuration, cross connection can be calculated according to the protection relationship port, then the source and destination ports of the cross connection are used for repairing the port service information, and the repairing process needs to depend on network element/single board information, protection group configuration and cross connection information;
step S410: repairing the ethernet protection, modifying the configuration information of the protection group that fails to be detected into the content in the second configuration information according to the second configuration information acquired in step S402, for example: MEPs and MEGs in the port service information are not consistent with MEPs and MEGs configured by the protection relationship port, the MEPs and the MEGs in the port service information can be repaired through the MEPs and the MEGs configured by the protection relationship port, and the repairing process needs to depend on network element/single board information, protection group configuration and protection group port service information;
step S412: the repaired protection group configuration information is sent to the equipment, and the equipment modifies the configuration information of the self-related protection group;
step S414: issuing an equipment reset command to enable the protection group configuration information modified by the equipment to take effect;
step S416: and storing the repaired protection group in a network management database.
Through the above description of the embodiments, those skilled in the art can clearly understand that the method according to the above embodiments can be implemented by software plus a necessary general hardware platform, and certainly can also be implemented by hardware, but the former is a better implementation mode in many cases. Based on such understanding, the technical solutions of the present invention may be embodied in the form of a software product, which is stored in a storage medium (e.g., ROM/RAM, magnetic disk, optical disk) and includes instructions for enabling a terminal device (e.g., a mobile phone, a computer, a server, or a network device) to execute the method according to the embodiments of the present invention.
In this embodiment, a protection group processing apparatus is further provided, and the apparatus is used to implement the foregoing embodiments and preferred embodiments, and details of which have been already described are omitted. As used below, the term "module" may be a combination of software and/or hardware that implements a predetermined function. Although the means described in the embodiments below are preferably implemented in software, an implementation in hardware, or a combination of software and hardware is also possible and contemplated.
Fig. 5 is a block diagram of a protection group processing apparatus according to an embodiment of the present invention, and as shown in fig. 5, the apparatus includes the following modules:
an obtaining module 52, configured to obtain a protection group to be detected in the protection group list and configuration information of the protection group;
a detecting module 54, connected to the obtaining module 52, for detecting whether the configuration information obtained by the obtaining module 52 is correct;
and the repairing module 56 is connected to the detecting module 54, and is configured to repair the protection group to be detected if the detection result of the detecting module 54 is negative.
Through the comprehensive action of the above modules, the obtaining module 52 obtains the protection group to be detected in the protection group list and the configuration information of the protection group; the detection module 54 detects whether the configuration information acquired by the acquisition module 52 is correct; in the case that the detection result of the detection module 54 is negative, the repair module 56 repairs the protection group to be detected in the protection group list. The problem of manual detection or repair protection group's configuration information inefficiency is solved, and then reach one kind and can high-efficient and accurate completion protection group configuration information's detection and prosthetic effect.
In a preferred protection group processing apparatus, fig. 6 is a block diagram of a structure of an obtaining module 52 of the protection group processing apparatus according to an embodiment of the present invention, and as shown in fig. 6, the obtaining module 52 includes:
a selecting unit 522, configured to select, according to service needs, a network element to be detected and a protection type of a protection group in the network element, where the protection type includes: optical layer protection, electric layer protection and Ethernet protection, wherein the configuration information of protection groups with different protection types is different;
a first obtaining unit 524, connected to the selecting unit 522, configured to obtain, from the network element selected by the selecting unit 522, the protection group to be detected in the protection group list according to the protection type.
In a preferred optical fiber misconnection determination apparatus, fig. 7 is a block diagram of a detection module 54 of a protection group processing apparatus according to an embodiment of the present invention, and as shown in fig. 7, the detection module 54 includes:
a second obtaining unit 542, configured to obtain, according to a protection type of the protection group, first configuration information of the protection group corresponding to the protection type, where the first configuration information is configuration information of the protection group in a normal state;
the verifying unit 544 is connected to the second obtaining unit 542, and configured to verify the configuration information according to the first configuration information obtained by the second obtaining unit 542, where the configuration information is detected correctly when the configuration information matches the first configuration information.
In a preferred protection group processing apparatus, fig. 8 is a block diagram of a repair module 56 of the protection group processing apparatus according to an embodiment of the present invention, and as shown in fig. 8, the repair module 56 includes:
a third obtaining unit 562, configured to obtain, if the detection result is negative, second configuration information that the protection group to be detected is in a normal state;
and a repairing unit 564, connected to the third obtaining unit 562, configured to repair the protection group to be detected according to the second configuration information obtained by the third obtaining unit 562.
In a preferred protection group processing apparatus, fig. 9 is another block diagram of the protection group processing apparatus according to the embodiment of the present invention, and as shown in fig. 9, the apparatus further includes: and a generating module 58 connected to the repairing module 56 for generating the detection report and the repairing report of the protection group.
It should be noted that, the above modules may be implemented by software or hardware, and for the latter, the following may be implemented, but not limited to: the modules are all positioned in the same processor; alternatively, the modules are respectively located in a plurality of processors.
In summary, the embodiments of the present invention achieve the following technical effects: by automatically detecting and repairing the protection group, the detection flow of the protection group is simplified, the probability of service interruption caused by the failure of equipment protection switching is reduced, meanwhile, the method has better expansibility and more stable detection effect, improves the accuracy of the configuration information of the protection group, and meets the requirements of testing and engineering. The problem that manual detection or repair of the configuration information of the protection group is low in efficiency is fundamentally solved, and the effect of efficiently and accurately completing detection and repair of the configuration information of the protection group is achieved.
It will be apparent to those skilled in the art that the modules or steps of the present invention described above may be implemented by a general purpose computing device, they may be centralized on a single computing device or distributed across a network of multiple computing devices, and alternatively, they may be implemented by program code executable by a computing device, such that they may be stored in a storage device and executed by a computing device, and in some cases, the steps shown or described may be performed in an order different than that described herein, or they may be separately fabricated into individual integrated circuit modules, or multiple ones of them may be fabricated into a single integrated circuit module. Thus, the present invention is not limited to any specific combination of hardware and software.
The above description is only a preferred embodiment of the present invention and is not intended to limit the present invention, and various modifications and changes may be made by those skilled in the art. Any modification, equivalent replacement, or improvement made within the spirit and principle of the present invention should be included in the protection scope of the present invention.

Claims (8)

1. A protection group processing method, comprising:
acquiring a protection group to be detected in a protection group list and configuration information of the protection group;
detecting whether the configuration information is correct;
under the condition that the detection result is negative, repairing the protection group to be detected;
the acquiring of the protection group to be detected in the protection group list and the configuration information of the protection group include:
selecting a network element list to be detected and a protection type of a protection group in the network element according to service requirements;
and acquiring the protection group to be detected and the configuration information of the protection group in the network element list according to the protection type of the protection group.
2. The method of claim 1, wherein detecting whether the configuration information is correct comprises:
acquiring first configuration information of a protection group corresponding to the protection type according to the protection type of the protection group, wherein the first configuration information is configuration information of the protection group in a normal state;
and verifying the configuration information according to the first configuration information, wherein when the configuration information is matched with the first configuration information, the configuration information is detected correctly.
3. The method according to claim 1, wherein, in case the detection result is negative,
repairing the protection group to be detected, comprising:
under the condition that the detection result is negative, second configuration information of the protection group to be detected in a normal state is acquired;
and repairing the protection group to be detected according to the second configuration information.
4. The method according to any one of claims 1-3, further comprising:
and generating a detection report and a repair report of the protection group.
5. A protected group processing apparatus, comprising:
the device comprises an acquisition module, a judgment module and a control module, wherein the acquisition module is used for acquiring a to-be-detected protection group in a protection group list and configuration information of the protection group;
the detection module is used for detecting whether the configuration information is correct or not;
the repairing module is used for repairing the protection group to be detected under the condition that the detection result is negative;
a selection module, configured to select a network element list to be detected and a protection type of a protection group in a network element according to a service requirement;
a first obtaining module, configured to obtain, in the network element list, the protection group to be detected and the configuration information of the protection group according to the protection type of the protection group.
6. The apparatus of claim 5, wherein the detection module comprises:
a second obtaining unit, configured to obtain, according to a protection type of the protection group, first configuration information of the protection group corresponding to the protection type, where the first configuration information is configuration information of the protection group in a normal state;
and the verification unit is used for verifying the configuration information according to the first configuration information, wherein when the configuration information is matched with the first configuration information, the configuration information is detected correctly.
7. The apparatus of claim 5, wherein the repair module comprises:
a third obtaining unit, configured to obtain, when the detection result is negative, second configuration information that the protection group to be detected is in a normal state;
and the repairing unit is used for repairing the protection group to be detected according to the second configuration information.
8. The apparatus of any of claims 5-7, further comprising:
and the generating module is used for generating a detection report and a repair report of the protection group.
CN201610044665.1A 2016-01-21 2016-01-21 Protection group processing method and device Active CN106992873B (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
CN201610044665.1A CN106992873B (en) 2016-01-21 2016-01-21 Protection group processing method and device
PCT/CN2017/071391 WO2017125001A1 (en) 2016-01-21 2017-01-17 Protection group processing method and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201610044665.1A CN106992873B (en) 2016-01-21 2016-01-21 Protection group processing method and device

Publications (2)

Publication Number Publication Date
CN106992873A CN106992873A (en) 2017-07-28
CN106992873B true CN106992873B (en) 2020-03-17

Family

ID=59361521

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201610044665.1A Active CN106992873B (en) 2016-01-21 2016-01-21 Protection group processing method and device

Country Status (2)

Country Link
CN (1) CN106992873B (en)
WO (1) WO2017125001A1 (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114500276A (en) * 2020-11-13 2022-05-13 中兴通讯股份有限公司 Data processing method, device, system and computer readable storage medium

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101159494A (en) * 2007-10-26 2008-04-09 中兴通讯股份有限公司 Service protecting method for automatic exchange optical network
CN101465762A (en) * 2008-12-02 2009-06-24 华为技术有限公司 Method, equipment and system for detecting error connection between protection set ports
CN102638733A (en) * 2011-02-15 2012-08-15 中兴通讯股份有限公司 Method and system for configuration protection group
CN102868441A (en) * 2012-08-22 2013-01-09 中兴通讯股份有限公司 Protection switching method and system and optical network node

Family Cites Families (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101102163B (en) * 2006-07-04 2012-03-07 华为技术有限公司 Method for preventing the protection network of the loop multiplexing section from incorrect optical fiber connection and loop multiplexing section network
CN101141330B (en) * 2007-10-23 2010-06-16 华为技术有限公司 Method, system and equipment to establish BFD detection for LSP tunnel
CN101179350A (en) * 2007-11-22 2008-05-14 华为技术有限公司 Method and apparatus for managing optical channel data cell sharing protection subnet
CN101247666B (en) * 2008-03-24 2011-04-20 中兴通讯股份有限公司 Protecting equipment and method based on optical network system
CN101577603B (en) * 2009-06-04 2012-05-09 中兴通讯股份有限公司 Method for setting and exhibiting SDH network management protection switching
CN103209085B (en) * 2012-01-13 2018-06-12 中兴通讯股份有限公司 The processing method of alarm and linkage support system

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101159494A (en) * 2007-10-26 2008-04-09 中兴通讯股份有限公司 Service protecting method for automatic exchange optical network
CN101465762A (en) * 2008-12-02 2009-06-24 华为技术有限公司 Method, equipment and system for detecting error connection between protection set ports
CN102638733A (en) * 2011-02-15 2012-08-15 中兴通讯股份有限公司 Method and system for configuration protection group
CN102868441A (en) * 2012-08-22 2013-01-09 中兴通讯股份有限公司 Protection switching method and system and optical network node

Also Published As

Publication number Publication date
CN106992873A (en) 2017-07-28
WO2017125001A1 (en) 2017-07-27

Similar Documents

Publication Publication Date Title
CN109361562B (en) Automatic testing method based on associated network equipment access
CN110088744B (en) Database maintenance method and system
CN110178121B (en) Database detection method and terminal thereof
CN104270389A (en) Method and system for automatically restoring security configuration vulnerability of router/ interchanger
CN111338869B (en) Configuration parameter management method, device, equipment and storage medium
CN105207797A (en) Fault locating method and fault locating device
CN112311574B (en) Network topology connection checking method, device and equipment
CN111858207A (en) SoC chip verification test system and method
CN111367782B (en) Regression testing data automatic generation method and device
CN111142929A (en) Firmware configuration method, device, equipment and medium in equipment production process
CN106992873B (en) Protection group processing method and device
CN112019405B (en) Automatic testing method and system
CN105335266B (en) Method for determining the failure of tested equipment
CN110532146B (en) Data acquisition monitoring method and device
CN114244427B (en) Method and device for checking optical fiber network port resource and computer readable medium
CN100389565C (en) Analytic method of expression type
CN115185792A (en) Fault hardware processing method, device and system
US20180095744A1 (en) Computer System, Method of Managing Transmission of Software with Computer System, Program Therefor, and Recording Medium
CN105740114B (en) Fault tolerance test method and device for mobile terminal
CN106708638A (en) System error detection method and apparatus
CN107102938B (en) Test script updating method and device
CN109783263A (en) A kind of processing method and system of server burn-in test failure
CN110071841B (en) Method and device for checking configuration information of flow definition
CN110909211B (en) Metadata verification method and device based on metadata B + tree
US20050207540A1 (en) Subscriber line validation of a telephone network

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant