CN114697195A - Fault processing method, transmission path adjusting method, network element and storage medium - Google Patents

Fault processing method, transmission path adjusting method, network element and storage medium Download PDF

Info

Publication number
CN114697195A
CN114697195A CN202011568486.0A CN202011568486A CN114697195A CN 114697195 A CN114697195 A CN 114697195A CN 202011568486 A CN202011568486 A CN 202011568486A CN 114697195 A CN114697195 A CN 114697195A
Authority
CN
China
Prior art keywords
target
phy port
bandwidth
phy
change information
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.)
Pending
Application number
CN202011568486.0A
Other languages
Chinese (zh)
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 CN202011568486.0A priority Critical patent/CN114697195A/en
Priority to PCT/CN2021/134528 priority patent/WO2022135083A1/en
Publication of CN114697195A publication Critical patent/CN114697195A/en
Pending legal-status Critical Current

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/06Management of faults, events, alarms or notifications
    • H04L41/0654Management of faults, events, alarms or notifications using network fault recovery
    • H04L41/0659Management of faults, events, alarms or notifications using network fault recovery by isolating or reconfiguring faulty entities
    • 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/06Management of faults, events, alarms or notifications
    • 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/06Management of faults, events, alarms or notifications
    • H04L41/0631Management of faults, events, alarms or notifications using root cause analysis; using analysis of correlation between notifications, alarms or events based on decision criteria, e.g. hierarchy, tree or time analysis

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 fault processing method, a transmission path adjusting method, a network element and a storage medium, wherein the fault processing method comprises the following steps: when state change information of the PHY port is detected, determining the PHY port generating the state change information as a first target PHY port, wherein the state change information represents that the fault state of the PHY port is changed; and determining a Flexe Group corresponding to the first target PHY port, and updating the PHY port corresponding to the Flexe Group according to the state change information. According to the scheme provided by the embodiment of the invention, the automatic adjustment of the PHY port is realized according to the state change information, thereby realizing the dynamic recovery of the multilink service and effectively improving the utilization rate of resources.

Description

Fault processing method, transmission path adjusting method, network element, and storage medium
Technical Field
The present invention relates to, but not limited to, the field of communications, and in particular, to a fault handling method, a transmission path adjusting method, a network element, and a storage medium.
Background
With the development of communication technology, in order to meet the increasing bandwidth demand, Flexible Ethernet (FlexE) is released by the Optical Internet Forum (OIF). The FlexE supports multiple PHY ports, and a flexible ethernet Group (FlexE Group) can bind multiple PHY ports during configuration, so as to form a transmission path between PHY ports of two devices, thereby implementing a multi-link service. In the expansion mode of the flexible ethernet group, when a PHY port fails, a service corresponding to the PHY port may be interrupted. Usually, a protection transmission path is configured for a service in a FlexE Group, so that the PHY port is automatically switched to the protection transmission path when the PHY port fails, thereby ensuring normal operation of the service. However, when the PHY port recovers from the failure, a maintenance person needs to perform a corresponding operation on the server to re-enable the PHY port, and the manual operation has a certain hysteresis, so that the multilink service cannot be automatically recovered, and the resource utilization rate is low.
Disclosure of Invention
The following is a summary of the subject matter described in detail herein. This summary is not intended to limit the scope of the claims.
Embodiments of the present invention provide a fault processing method, a transmission path adjusting method, a network element, and a storage medium, which can improve the utilization rate of resources.
In a first aspect, an embodiment of the present invention provides a fault handling method, applied to a network element, including:
when state change information of a PHY port is detected, determining a Flexe Group corresponding to the PHY port, wherein the state change information represents that the fault state of the PHY port is changed;
and updating the PHY port corresponding to the Flexe Group according to the state change information.
The embodiment of the invention comprises the following steps: when state change information of the PHY port is detected, determining the PHY port generating the state change information as a first target PHY port, wherein the state change information represents that the fault state of the PHY port is changed; and determining a Flexe Group corresponding to the first target PHY port, and updating the PHY port corresponding to the Flexe Group according to the state change information. According to the scheme provided by the embodiment of the invention, the automatic adjustment of the PHY port is realized according to the state change information, thereby realizing the dynamic recovery of the multilink service and effectively improving the utilization rate of resources.
In a second aspect, an embodiment of the present invention provides a method for adjusting a transmission path, which is applied to a network element, and includes:
acquiring an adjustment signal, and determining a target service according to the adjustment signal, wherein the adjustment signal determines a PHY port generating state change information as a first target PHY port when state change information of the PHY port is detected, determines a corresponding FlexE Group according to the first target PHY port, and generates the PHY port after the PHY port corresponding to the FlexE Group is updated according to the state change information, where the state change information represents that a fault state of the PHY port changes;
and re-determining a target transmission path of the target service in the Flexe Group, and carrying the target service through the target transmission path.
In a third aspect, an embodiment of the present invention further provides a network element, including: memory, processor and computer program stored on the memory and executable on the processor, the processor implementing the fault handling method according to the first aspect or implementing the transmission path adjusting method according to the second aspect when executing the computer program
In a fourth aspect, an embodiment of the present invention further provides a computer-readable storage medium storing computer-executable instructions for executing the fault handling method according to the first aspect.
Additional features and advantages of the invention will be set forth in the description which follows, and in part will be obvious from the description, or may be learned by practice of the invention. The objectives and other advantages of the invention will be realized and attained by the structure particularly pointed out in the written description and claims hereof as well as the appended drawings.
Drawings
The accompanying drawings are included to provide a further understanding of the invention and are incorporated in and constitute a part of this specification, illustrate embodiments of the invention and together with the example serve to explain the principles of the invention and not to limit the invention.
FIG. 1 is a flow chart of a method for fault handling according to an embodiment of the present invention;
FIG. 2 is a flow diagram of generating state change information according to another embodiment of the present invention;
FIG. 3 is a flow chart of generating bandwidth reduction warning information according to another embodiment of the present invention;
FIG. 4 is a flow chart of adjusting PHY port slots provided by another embodiment of the invention;
fig. 5 is a flowchart of a transmission path adjusting method according to another embodiment of the present invention;
fig. 6 is a flow chart of adjusting a transmission path according to a first bandwidth threshold provided by another embodiment of the present invention;
FIG. 7 is a flow diagram of updating resource configuration information provided by another embodiment of the present invention;
FIG. 8 is a flow diagram of an interrupt target service provided by another embodiment of the present invention;
fig. 9 is a flow chart of determining the total bandwidth attributed to a target service provided by another embodiment of the present invention;
fig. 10 is a block diagram of a network element and a server according to another embodiment of the present invention;
FIG. 11 is a device topology diagram of an example of the principles provided by another embodiment of the present invention;
fig. 12 is a schematic structural diagram of a network element according to another embodiment of the present invention.
Detailed Description
In order to make the objects, technical solutions and advantages of the present invention more apparent, the present invention is described in further detail below with reference to the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are merely illustrative of the invention and are not intended to limit the invention.
It should be noted that although functional blocks are partitioned in a schematic diagram of an apparatus and a logical order is shown in a flowchart, in some cases, the steps shown or described may be performed in a different order than the partitioning of blocks in the apparatus or the order in the flowchart. The terms "first," "second," and the like in the description, in the claims, or in the drawings described above, are used for distinguishing between similar elements and not necessarily for describing a particular sequential or chronological order.
The invention provides a fault processing method, a transmission path adjusting method, a network element and a storage medium, wherein the fault processing method comprises the following steps: when state change information of the PHY port is detected, determining the PHY port generating the state change information as a first target PHY port, wherein the state change information represents that the fault state of the PHY port is changed; and determining a Flexe Group corresponding to the first target PHY port, and updating the PHY port corresponding to the Flexe Group according to the state change information. According to the scheme provided by the embodiment of the invention, the automatic adjustment of the PHY port is realized according to the state change information, thereby realizing the dynamic recovery of the multilink service and effectively improving the utilization rate of resources.
The embodiments of the present invention will be further explained with reference to the drawings.
As shown in fig. 1, fig. 1 is a flowchart of a fault handling method according to an embodiment of the present invention, where the fault handling method is applied to a network element, and includes, but is not limited to, step S110 and step S120.
Step S110, when detecting the status change information of the PHY port, determining the PHY port generating the status change information as the first target PHY port, where the status change information indicates that the failure status of the PHY port has changed.
It should be noted that the state change information of the PHY port may be determined through overhead detection, or may be set in the network element in advance, and when the fault state of the PHY port changes, the state change information is generated, and a specific manner may be selected according to actual requirements. It can be understood that, through the detection of the state change information, the fault state of the PHY port can be determined in time, thereby providing an information basis for triggering the dynamic adjustment of the PHY port.
It should be noted that the fault state may be a normal operation state when there is no fault, or a fault state during fault, and the state change information in this embodiment may be used to represent a change from the normal operation state to the fault state, or a change from the fault state to the normal operation state, and may represent a change in the operating capability. It can be understood that the state change information is not used for deepening the degree of characterization, for example, a failure from a primary failure table is more than a secondary failure, and for the technical solution of this embodiment, a problem of dynamic adjustment after a PHY port fails or recovers from a failure needs to be solved, so that the same failure state is further deepened or weakened, which is not in the scope discussed in this embodiment and is not repeated in the following.
It should be noted that, in the FlexE Group, a transmission path for carrying a service is a link between two PHY ports, and the two PHY ports are a transmitting end and a receiving end, respectively, for this reason, the technical solution of this embodiment does not limit the PHY ports to be the transmitting end or the receiving end, because a failure occurs at any end, which may cause the transmission path to be affected, and thus the service cannot be transmitted, therefore, for convenience and simplicity of description, if there is no special description, in this embodiment of the present application, one of the transmitting end or the receiving end is used as a normal working state, and a failure state of the other port is changed for explanation.
Step S120 is performed to determine the FlexE Group corresponding to the first target PHY port, and update the PHY port corresponding to the FlexE Group according to the status change information.
It can be understood that the first target PHY port may be any PHY port in the network element, and the PHY port in the network element is dynamically adjusted through the state change information, so as to ensure that the available state of the PHY port is kept up to date; the first target PHY port may also be a PHY port that establishes a correspondence with a FlexE Group, and the network element may allocate a PHY port to a specific service according to received FlexE configuration information, so as to establish a correspondence between the PHY port and the FlexE Group, that is, the PHY port in the FlexE Group may ensure that the PHY port is used to carry a multi-link service, and when the PHY port does not have a corresponding FlexE Group, the PHY port may be in an idle state, and performing dynamic adjustment on the idle PHY port may waste processing resources of the network element to a certain extent.
Note that, the updating of the PHY port corresponding to the FlexE Group according to the state change information may be to restore the PHY port corresponding to the FlexE Group, to temporarily delete or deactivate the PHY port corresponding to the FlexE Group, or to change the PHY port corresponding to the FlexE Group by modifying the FlexE configuration, and may be determined according to specific state change information.
Additionally, referring to fig. 2, in an embodiment, the state change information indicates that the PHY port has failed or recovered from the failure, and the state change information is generated by:
step S210, when the PHY port is determined to be in fault through Flexe overhead detection or according to OAM alarm information, state change information representing the PHY port is in fault is generated;
alternatively, the first and second electrodes may be,
step S220, when the failure alarm elimination of the PHY port is detected, state change information representing the recovery of the PHY port from the failure is generated.
Those skilled in the art can understand that the F lexE message includes an overhead frame for representing overhead information of the PHY port, and under the condition that the FlexE Group normally works, the overhead information included in the transmit overhead frame of the transmit end and the receive overhead frame of the receive end is the same, so that FlexE overhead detection can be completed by comparing the transmit overhead frame and the receive overhead frame, and when the transmit overhead frame and the receive overhead frame are different, it can be determined that one PHY port fails, and state change information representing that the PHY port fails is generated.
It can be understood by those skilled in the art that, the Operation Administration and Maintenance (OAM) alarm information is a common reference information in network management, and can detect a network failure by a regular query manner, and generate various kinds of Maintenance and alarm information, so that when a PHY port fails, OAM alarm information is generated, and state change information representing that the PHY port fails is generated based on the OAM alarm information.
It should be noted that, with reference to the above principle of OAM alarm information, when the PHY port fails, the network element may continuously monitor the failure alarm, and when the PHY port recovers from the failure state, the failure alarm disappears, so that the PHY port can be accurately detected to recover from the failure by using the failure alarm as a determination basis, and the state change information representing the PHY port recovering from the failure is generated.
In addition, referring to fig. 3, in an embodiment, when the network element is communicatively connected to the server and the status change information indicates that the PHY port fails, after performing step S120 in the embodiment shown in fig. 1, the method further includes, but is not limited to, the following steps:
step S310, generating bandwidth reduction alarm information and reporting the bandwidth reduction alarm information to a server.
It should be noted that, the PHY port and the reserved bandwidth in the FlexE Group are configured in advance, so that the total bandwidth available for the FlexE Group in the normal operating state is known, and when the PHY port fails and cannot be used for carrying a service, the PHY port may be temporarily deleted from the FlexE Group, so that the total bandwidth belonging to the FlexE Group is inevitably reduced. Based on the principle, the bandwidth reduction alarm information can be actively generated, or the bandwidth reduction alarm information can be passively generated after the total bandwidth is detected to be reduced, and the specific triggering mode can be selected according to the actual requirement.
It can be understood that, when reporting the bandwidth reduction alarm information, the service or client information corresponding to the PHY port may also be obtained and reported, so that the server may know the specific affected service or client.
In addition, referring to fig. 4, in an embodiment, the step S120 in the embodiment shown in fig. 1 further includes, but is not limited to, the following steps:
step S410, when the state change information indicates that the PHY port has a fault, deleting the time slot of the first target PHY port;
alternatively, the first and second electrodes may be,
in step S420, when the status change information indicates that the PHY port is recovered from the failure, the timeslot of the first target PHY port is recovered.
It should be noted that the time slot for deleting the PHY port may be performed in any manner, for example, the first target PHY port is temporarily disabled, or automatic negotiation overhead may be implemented by a method of calendar switching in FlexE, so as to temporarily delete the first target PHY port, and a specific manner may be selected according to actual requirements, which is not limited in this embodiment.
In addition, as shown in fig. 5, an embodiment of the present invention further provides a transmission path adjusting method, which is applied to a network element, where the transmission path adjusting method includes, but is not limited to, step S510 and step S520.
Step S510, acquiring an adjustment signal, and determining a target service according to the adjustment signal, where the adjustment signal determines, when detecting state change information of a PHY port, the PHY port generating the state change information as a first target PHY port, determines a corresponding FlexE Group according to the first target PHY port, and generates, after updating the PHY port corresponding to the FlexE Group according to the state change information, where the state change information represents that a fault state of the PHY port changes.
It should be noted that, for a specific principle and a specific manner of updating the PHY port corresponding to the FLexE Group according to the state change information, reference may be made to the description of the embodiment shown in fig. 1, and details are not repeated here.
It should be noted that, after detecting that the PHY port of the FlexE Group is updated, it may be determined that a fault state of the PHY port has changed, and the transmission path may be adjusted according to the triggering adjustment signal, so that dynamic adjustment of the transmission path carrying the service may be implemented, and it is ensured that the multi-link service in the FlexE Group can operate normally.
It will be appreciated that the target traffic corresponding to a PHY port may be any number, thereby enabling the transmission path to be used to carry multiple traffic. As can be understood by those skilled in the art, the bandwidth allocated in the FLexE has isolation, and the bandwidth between different services cannot be shared, so in order to improve the utilization rate of the bandwidth, the embodiment does not limit the number of services bound to each PHY port, and the transmission requirement of the services can be met.
And step S520, re-determining a target transmission path of the target service in the FlexE Group, and bearing the target service through the target transmission path.
It should be noted that, in step S520, the target transmission path is re-determined, which includes adding the target transmission path and deleting the target transmission path, where when the first target PHY port recovers from the failure, the corresponding transmission path is added, and when the first target PHY port fails, the corresponding transmission path is temporarily deleted or disabled. It can be understood that, since FlexE generally adopts a multi-link service bearer, the number of target transmission paths may be any, and when the number of target transmission paths exceeds two, the target service may be jointly carried through all the target transmission paths.
It should be noted that, readjustment of the target transmission path is performed according to the adjustment signal, so that automatic and dynamic adjustment of the transmission path in the FLexE Group can be achieved, the transmission path is adjusted in time when the PHY port fails, normal service loading is ensured, the transmission path is increased in time when the PHY port recovers from the failure, and rapid recovery and utilization of the FLexE resource are ensured.
It should be noted that, in the prior art, since the working transmission path and the protection transmission path are set, since the application of the working transmission path cannot be recovered in time after the PHY port recovers from the failure, based on the hysteresis, it is necessary to configure a resource for independently carrying the target service for the protection transmission path, for example, when a client applies for the maximum available bandwidth, all the bandwidth of the protection transmission path needs to be allocated to one service, which results in waste of resources. By adopting the scheme for dynamically adjusting the target transmission path, the use of the target transmission path can be quickly recovered, so that a technical basis is provided for reducing the resource allocation of the transmission path.
In addition, referring to fig. 6, in an embodiment, after performing step S520 in the embodiment shown in fig. 5, the following steps are further included, but not limited to:
step S610, re-determining a second target PHY port corresponding to the target service in the Flexe Group;
step S620, acquiring resource configuration information of the target service, wherein the resource configuration information comprises a first bandwidth threshold value, and the first bandwidth threshold value represents that the minimum bandwidth requirement of the target service is met;
step S630, when the total bandwidth of the second target PHY port belonging to the target service is greater than or equal to the first bandwidth threshold, determining that the transmission path corresponding to the second target PHY port is the target transmission path.
It is to be noted that the re-determining in step S610 includes adding a second target PHY port or deleting the second target PHY port, and when a PHY port fails and cannot be used for service bearer, deleting the corresponding second target PHY port, so that the PHY port temporarily stops bearer service; when the PHY port recovers from the failure, the corresponding second target PHY port is re-enabled to increase the transmission path for carrying the target traffic.
It should be noted that the transmission path corresponding to the service is configured in advance according to the service creation request of the client, that is, the PHY port corresponding to each service is also determined, therefore, the adding and deleting of the second target PHY port in step S610 is established when the second target PHY port is the PHY port corresponding to the target service that is configured in advance, and in this embodiment, the configuration modification is not involved, that is, in this embodiment, the transmission path is dynamically adjusted according to the state change information of the PHY port, which is established on the premise that the PHY port and the target service have a preconfigured correspondence, and no repeated description is provided in this application unless there is a special description.
It should be noted that the first bandwidth threshold is pre-configured in the resource configuration information, and may be obtained from a service creation request of a client, for example, when the client applies for a service, the client applies for the first bandwidth threshold in addition to the maximum available bandwidth, and is used for characterizing the minimum bandwidth requirement for meeting the target service. It can be understood that, with the prior art that only the maximum available bandwidth is applied or only the typical bandwidth is applied, the resource allocation is usually performed according to the requirement upper limit of the bandwidth, since the bandwidth of FlexE has isolation, that is, the bandwidth allocated to different services cannot be shared, however, for most services, the bandwidth upper limit is not frequently used, and therefore, the bandwidth allocation according to the requirement upper limit of the bandwidth results in more idle bandwidth resources. Based on this, in this embodiment, the first bandwidth threshold is added to the resource configuration information, so that the FlexE can provide a parameter basis for resource allocation according to the minimum bandwidth requirement that meets the target service, and in the actual bandwidth allocation process, the total bandwidth that belongs to the target service can be greater than or equal to the first bandwidth threshold, that is, the minimum bandwidth that guarantees the service can be provided for the target service, and the spare bandwidth resources are effectively reduced. In addition, in the prior art, resource allocation according to the maximum available bandwidth may cause the transmission path to be monopolized by the target service, but in the embodiment, the first bandwidth threshold is used as a basis for resource allocation, so that a plurality of target services can be carried in the transmission path under the condition that the bandwidth of the transmission path is sufficient, and the utilization rate of the resource is effectively improved. It should be noted that the first bandwidth threshold may be a specific value, or may be a percentage of the maximum bandwidth that is applied, and the specific form may be adjusted according to actual needs.
It can be understood that the resource configuration information is generated by the server or the network management server according to the service creation request of the client, and after receiving the service creation request, the server splits the service of the client into multiple available PHY ports according to the resource requested in the service creation request and the resource availability of the current network element link, generates the resource configuration information, and sends the resource configuration information to the network element device to complete the resource reservation.
It should be noted that in step S630, the second target PHY port is a PHY port corresponding to the target service in the FlexE Group, so the number of the second target PHY ports may be any, which is not limited in this embodiment. When the total bandwidth of the second target PHY port attributed to the target service is greater than or equal to the first bandwidth threshold, it means that the bandwidth corresponding to the at least one target transmission path and the target service can meet the minimum transmission requirement of the target service, and in this case, the target service can be normally received and transmitted in the target transmission path, so that the transmission path corresponding to the second target PHY port can be determined to be the target transmission path, and the target service is carried through the target transmission path.
In addition, referring to fig. 7, in an embodiment, when the network element is communicatively connected to the server and the status change information indicates that the PHY port fails, step S620 shown in fig. 6 further includes, but is not limited to, the following steps:
step S710, acquiring resource configuration updating information fed back by the server according to the bandwidth reduction warning information, wherein the bandwidth reduction warning information is generated and reported to the server after updating the PHY port corresponding to the Flexe Group according to the state change information;
step S720, updating the resource configuration information of the target service according to the resource configuration updating information.
It can be understood that the principle and method of the bandwidth reduction alarm information may refer to the description of the embodiment shown in fig. 3, and are not described herein again.
It should be noted that, when the server receives the bandwidth reduction alarm information, it may be determined that the PHY port has a fault, and in order to ensure normal operation of the target service, resource configuration update information may be generated according to a preset policy, for example, on the premise of the currently available PHY port, an available PHY port is newly added, or new network element equipment is allocated to the target service, so as to increase a transmission path corresponding to the target service.
It should be noted that the preset policy may be to re-determine a new PHY port according to all resource requirements in the resource configuration information, or to recover according to a certain proportion of all resource requirements, for example, when a PHY port fails, the target service is reallocated to 80% of the maximum bandwidth applied by the target service according to the resource configuration update information, and the specific preset policy may be adjusted according to the actual requirement, so that the resource configuration update information may be generated when the bandwidth is decreased.
Referring additionally to FIG. 8, in one embodiment, the following steps are included, but not limited to:
step S810, when the total bandwidth of the second target PHY port belonging to the target service is smaller than the first bandwidth threshold, interrupting the target service.
It should be noted that, because the first bandwidth threshold is the minimum bandwidth that meets the transmission requirement Of the target service, when the total bandwidth Of the target service that the second target PHY port belongs to is smaller than the first bandwidth threshold, the bandwidth in the target transmission path cannot meet the load Of the target service, and cannot meet the requirement Of Quality Of service (QoS), the target service is interrupted at this time, so as to trigger a service interruption alarm and report to the server, which is helpful for the maintenance staff to process early.
It is understood that, after the target traffic is interrupted, when it is detected that the corresponding PHY port recovers from the failure state and the total available bandwidth is greater than or equal to the first bandwidth threshold, the transmission of the target traffic may be resumed, thereby implementing dynamic recovery of the target traffic.
In addition, referring to fig. 9, in an embodiment, the FlexE Group includes at least two second target PHY ports, and step S630 of the embodiment shown in fig. 6 further includes, but is not limited to, the following steps:
step S910, determining a target transmission path corresponding to the second target PHY port;
step S920, determining the reserved bandwidth belonging to the target service in the target transmission path;
step S930, determining the total bandwidth belonging to the target service according to all reserved bandwidths.
It should be noted that the reserved bandwidth may be specified when the server or the network management server generates the resource configuration information, for example, the server or the network management server receives a service creation request, and splits a service to multiple PHY ports according to a maximum bandwidth requirement of a service application and a link usage condition of a PHY port available in a current FlexE device, for example, the maximum bandwidth requirement of the service application is 100G, where a bandwidth available at a PHY1 port is 20G and a bandwidth available at a PHY2 port is 80G, and then configures the service to the PHY1 port and the PHY2 port, so as to meet the maximum bandwidth requirement of 100G. It can be understood that splitting the service to multiple PHY ports enables protection of the service according to dynamic adjustment of the PHY ports in the event of a PHY port failure.
It should be noted that the total bandwidth attributed to the target service is the sum of all reserved bandwidths allocated to the target service, for example, the bandwidth allocated to the target service at the port PHY1 is 20G, the bandwidth allocated to the port PHY3 is 30G, and the bandwidth allocated to the port PHY3 is 50G, then the total bandwidth is 100G, when the port PHY1 fails, a corresponding transmission path cannot be used for carrying the target service, then the current second target PHY ports are the port PHY2 and the port PHY3, then the total bandwidth attributed to the target service is 80G, the above-mentioned ports and specific bandwidth values are only exemplary illustrations, and do not limit the technical solution of the present application.
It can be understood that a plurality of target services may be carried in the target transmission path, and therefore, not all the bandwidth of the target transmission path belongs to one target service, and therefore, the reserved bandwidth belonging to the target service in the target transmission path needs to be determined in step S920.
In addition, in an embodiment, the resource configuration information further includes a second bandwidth threshold, where the second bandwidth threshold represents a maximum bandwidth requirement of the target traffic, and a total bandwidth of the second target PHY port attributed to the target traffic is less than or equal to the second bandwidth threshold.
It should be noted that the second bandwidth threshold may be a maximum available bandwidth in the service creation request, and unlike the prior art, the second bandwidth threshold of this embodiment may be a total bandwidth of the plurality of second target PHY ports, and the method for working transmission path and protecting transmission path in the prior art needs both transmission paths to configure the maximum available bandwidth, which results in a waste of resources. In the technical solution of the present application, dynamic adjustment can be implemented according to a fault state of a PHY port, and in combination with the first bandwidth threshold described in the foregoing embodiment, a bandwidth between the first bandwidth threshold and a second bandwidth threshold can be provided for a target service, for example, the first bandwidth threshold is 20G, the second bandwidth threshold is 100G, when a total bandwidth of the target service is less than 20G, the service is interrupted, when the total bandwidth of the target service is greater than or equal to 20G, the service is normally transmitted, and a maximum available bandwidth of 100G can be provided at most, when the PHY port fails, the maximum available bandwidth is less than 100G, but is greater than 20G, the target service keeps being transmitted, and smoothness of the service is ensured. In addition, resource allocation is performed by adopting the first bandwidth threshold and the second bandwidth threshold, so that idle bandwidth in Flexe can be effectively reduced. For example, the maximum available bandwidth is 100G, the minimum bandwidth meeting the requirement of the target service is 20G, and by adopting the prior art, the resource configuration information only includes the maximum available bandwidth, the bandwidth of 100G needs to be configured for the working transmission path and the protection transmission path respectively, under the condition that the two transmission paths work normally, the total bandwidth used by the target service is a numerical value within 20G to 100G, and the total bandwidth attributed to the target service is 200G, at least half of the bandwidth is idle bandwidth, and bandwidth resources are wasted; by adopting the technical scheme of the embodiment, two target transmission paths can be configured, the reserved bandwidths are 20G and 80G respectively, in this case, the total bandwidth belonging to the target service is 100G, that is, the maximum available bandwidth is met, compared with the prior art, the idle bandwidth is reduced, and the utilization rate of resources is improved.
In addition, in an embodiment, the second target PHY port carries at least two target services.
It should be noted that, because the bandwidth of the FlexE has isolation, the bandwidth in the transmission path cannot be multiplexed by two target services, and based on the foregoing embodiment, the bandwidth of the transmission path in this embodiment is not occupied by one target service, so that the second target PHY port may be allocated to at least two target services, thereby improving the resource utilization rate of the transmission path.
In addition, referring to fig. 10, fig. 10 is a schematic diagram of internal modules of the network element and the server.
The network element 1020 includes a resource configuration module 1021, an adjustment module 1022, a handover module 1023, and a transmission module 1024. The resource configuration module 1021 is used for acquiring resource configuration information issued by the server to complete the configuration of the PHY port and allocate the resource of the PHY port to different services; the adjusting module 1022 is configured to perform state change information and resource configuration information of the PHY port to generate an adjusting signal; the switching module 1023 is used for realizing recovery and deletion of the PHY port according to Flexe dynamic time slot learning and calendar switching; the transmission module 1024 is configured to implement carrying of a service in a transmission path according to the overhead timeslot configuration.
In the server 1010, a service creation request receiving module 1011 is included, configured to receive a service creation request submitted by a client; a resource configuration information generating module 1012, configured to split the service to the plurality of available PHY ports according to the service creation request and the first bandwidth threshold and the second bandwidth threshold, and generate resource configuration information; a resource configuration information updating module 1013, configured to generate resource configuration update information in case of receiving the bandwidth reduction warning information
Based on the network element and the server described in fig. 10, referring to fig. 11, the following two specific examples illustrate the technical solution of the present application:
it should be noted that, in fig. 11, the device may be a network device in FlexE, and for simplicity and convenience of description, the device a, the device B, and the device C are taken as examples, and a person skilled in the art may select a specific device according to actual needs, which is not described herein again. As shown in fig. 11, for simplicity of description, PHY ports are respectively described as a1, a2, A3, B1, B2, B3, C1, and C2, where device a is directly connected to device B, a1 is connected to a B1 port, a2 is connected to a B2 port, and both are FlexE mode 100G PHY ports, a1/B1 link is referred to as PHY1, and a2/B2 link is referred to as PHY 2; meanwhile, the devices A and B can be connected through the device C, the link between the A3 and the C1 is PHY3a, and the link between the B3 and the C2 is PHY 3B. Meanwhile, in the following example, the second bandwidth threshold is exemplified by "maximum available bandwidth", and the first bandwidth threshold is exemplified by "minimum committed bandwidth".
Example one:
the customer A creates bidirectional service between the device A and the device B, and the maximum available bandwidth is specified to be 100G and the minimum guaranteed bandwidth is specified to be 20G in the resource configuration information (which can also be determined by specifying 20% of the maximum available bandwidth).
The server receives the service creation request, allocates client1 to the client A, binds two PHY ports A1 and A2 on device A simultaneously, binds two PHY ports B1 and B2 on device B simultaneously, allocates 20G bandwidth between A1 and B1 ports (PHY1), and allocates 80G bandwidth to A2 and B2 ports (PHY2) for 100G total bandwidth.
When the communication between the A2 and B2 ports (PHY2) is interrupted, a PHY2 signal failure alarm is generated, and the trigger device calculates: the client1 may use the PHY1 port 20G bandwidth, meeting the minimum committed bandwidth (20% or 20G). Thus, traffic remains uninterrupted and the device automatically temporarily deletes slots of PHY2 from client1 by adjusting the overhead of FlexE. At the moment, the client1 can only transmit 20Gbps service rate, and the equipment simultaneously reports the client1 client bandwidth reduction alarm to the server.
When the communication between the a2 and the B2 ports (PHY2) is recovered, the PHY2 signal failure alarm disappears, and at this time, the device determines that none of the two ports of the client1 fail, so that the time slot and traffic transmission on the PHY2 are automatically recovered on the basis of keeping the traffic transmission on the PHY 1. At the moment, the client service is completely recovered, the client1 can completely transfer the service of 100Gbps bandwidth, and the client bandwidth reduction alarm of the client1 disappears.
Example two:
customer b creates A, B bidirectional traffic, specifying "maximum available bandwidth" of 100G and a minimum committed bandwidth of 80G (80%).
The server receives the service creation request, allocates a client2 to the client B, simultaneously binds ports A1/A2 and B1/B2 on the two devices respectively, allocates 80G bandwidth between A1 and B1, and allocates 20G bandwidth between A2 and B2, wherein the total bandwidth is 100G.
When the communication between the A1 and B1 ports (PHY1) is interrupted, a PHY1 signal failure alarm is generated, which triggers the device to calculate: the client2 has only PHY2 ports available, a total of 20G bandwidth, and does not meet the minimum guaranteed bandwidth (80% or 80G), so client2 client traffic is temporarily interrupted.
Meanwhile, the client b specifies a preset policy for service recovery in advance in the server, and then after the server determines that the client2 is interrupted through a service interruption alarm, path recalculation may be triggered as appropriate, a path that passes through PHY3a and PHY3b as a transmission path is reallocated for the client b, a path that meets the minimum committed bandwidth or "maximum available bandwidth" (depending on the client policy, for example, a bandwidth of 80G to 100G may be allocated in this example) is satisfied, and configuration adjustment is automatically issued to the device A, B, C; after the configuration is completed, the service of the client B can be automatically recovered to normal in time, and at least the service flow with the minimum committed bandwidth (80%) can be transmitted.
By adopting the technical scheme of the two examples, compared with the prior art, when the port of a client has no fault, the client can obtain available bandwidth larger than the minimum committed bandwidth, when the fault occurs, the equipment can automatically adjust in the shortest time, the service flow between the minimum committed bandwidth and the maximum available bandwidth is transmitted according to the number of the fault ports without service interruption, and meanwhile, the client can timely know the occurrence of the fault and know the severity of the fault through alarming.
And if the network management server or the server supports the operation, the client can configure the preset strategy in advance. When the bandwidth of a client is reduced or the service is interrupted, the network management server or the controller can automatically trigger the recalculation path and issue the configuration to the equipment, so that the client service can be recovered as soon as possible in time, the fault response time is shortened, and the extra cost of manual intervention is reduced.
In addition, referring to fig. 12, an embodiment of the present invention further provides a network element, where the network element 1200 includes: memory 1210, processor 1220, and computer programs stored on memory 1210 and operable on processor 1220.
The processor 1220 and the memory 1210 may be connected by a bus or other means.
Non-transitory software programs and instructions required to implement the fault handling method of the above-described embodiment are stored in the memory 1210, and when executed by the processor 1220, perform the fault handling method applied to the network element of the above-described embodiment, for example, perform the above-described method steps S110 to S120 in fig. 1, method steps S210 to S220 in fig. 2, method step S310 in fig. 3, and method steps S410 to S420 in fig. 4; alternatively, the transmission path adjusting method applied to the network element in the foregoing embodiment is executed, for example, the method steps S510 to S520 in fig. 5, the method steps S610 to S630 in fig. 6, the method steps S710 to S720 in fig. 7, the method step S810 in fig. 8, and the method steps S910 to S920 in fig. 9 are executed.
The above-described embodiments of the apparatus are merely illustrative, wherein the units illustrated as separate components may or may not be physically separate, i.e. may be located in one place, or may also be distributed over a plurality of network elements. Some or all of the modules may be selected according to actual needs to achieve the purpose of the solution of the present embodiment.
Furthermore, an embodiment of the present invention further provides a computer-readable storage medium, which stores computer-executable instructions, which are executed by a processor or a controller, for example, by a processor in the foregoing network element embodiment, and can enable the processor to execute the fault handling method applied to the network element in the foregoing embodiment, for example, execute the method steps S110 to S120 in fig. 1, the method steps S210 to S220 in fig. 2, the method step S310 in fig. 3, and the method steps S410 to S420 in fig. 4 described above; alternatively, the transmission path adjusting method applied to the network element in the foregoing embodiment is executed, for example, the method steps S510 to S520 in fig. 5, the method steps S610 to S630 in fig. 6, the method steps S710 to S720 in fig. 7, the method step S810 in fig. 8, and the method steps S910 to S920 in fig. 9 are executed. One of ordinary skill in the art will appreciate that all or some of the steps, systems, and methods disclosed above may be implemented as software, firmware, hardware, and suitable combinations thereof. Some or all of the physical components may be implemented as software executed by a processor, such as a central processing unit, digital signal processor, or microprocessor, or as hardware, or as an integrated circuit, such as an application specific integrated circuit. Such software may be distributed on computer readable media, which may include computer storage media (or non-transitory media) and communication media (or transitory media). The term computer storage media includes volatile and nonvolatile, removable and non-removable media implemented in any method or technology for storage of information such as computer readable instructions, data structures, program modules or other data, as is well known to those of ordinary skill in the art. Computer storage media includes, but is not limited to, RAM, ROM, EEPROM, flash memory or other memory technology, CD-ROM, Digital Versatile Disks (DVD) or other optical disk storage, magnetic cassettes, magnetic tape, magnetic disk storage or other magnetic storage devices, or any other medium which can be used to store the desired information and which can accessed by a computer. In addition, communication media typically embodies computer readable instructions, data structures, program modules or other data in a modulated data signal such as a carrier wave or other transport mechanism and includes any information delivery media as known to those skilled in the art.
While the preferred embodiments of the present invention have been described in detail, it will be understood by those skilled in the art that the foregoing and various other changes, omissions and deviations in the form and detail thereof may be made without departing from the scope of this invention.

Claims (13)

1. A fault processing method is applied to a network element and comprises the following steps:
when state change information of a physical layer device (PHY) port is detected, determining the PHY port generating the state change information as a first target PHY port, wherein the state change information represents that the fault state of the PHY port is changed;
and determining a flexible Ethernet Group Flexe Group corresponding to the first target PHY port, and updating the PHY port corresponding to the Flexe Group according to the state change information.
2. The method of claim 1, wherein the state change information characterizes a PHY port failure or recovery from a failure, the state change information comprising information generated by:
when the PHY port is determined to have a fault through flexible Ethernet Flexe overhead detection or according to operation, maintenance and management (OAM) alarm information, state change information representing the PHY port having the fault is generated;
alternatively, the first and second electrodes may be,
and when the elimination of the failure alarm of the PHY port is detected, generating state change information representing the recovery of the PHY port from the failure.
3. The method according to claim 2, wherein the network element is communicatively connected to a server, and after the updating the PHY port corresponding to the FlexE Group according to the status change information when the status change information indicates that the PHY port has a failure, the method further comprises:
and generating bandwidth reduction alarm information and reporting the bandwidth reduction alarm information to the server.
4. The method according to claim 2, wherein the updating the PHY port corresponding to the FlexE Group according to the status change information comprises:
when the state change information represents that the PHY port has a fault, deleting the time slot of the first target PHY port;
alternatively, the first and second electrodes may be,
and when the state change information indicates that the PHY port recovers from the fault, recovering the time slot of the first target PHY port.
5. A transmission path adjusting method is applied to a network element and comprises the following steps:
acquiring an adjustment signal, and determining a target service according to the adjustment signal, wherein the adjustment signal determines a PHY port generating state change information as a first target PHY port when state change information of the PHY port is detected, determines a corresponding FlexE Group according to the first target PHY port, and generates the PHY port after the PHY port corresponding to the FlexE Group is updated according to the state change information, where the state change information represents that a fault state of the PHY port changes;
and re-determining a target transmission path of the target service in the Flexe Group, and carrying the target service through the target transmission path.
6. The method according to claim 5, wherein the re-determining the target transmission path of the target service in the Flexe Group comprises:
re-determining a second target PHY port corresponding to the target service in the Flexe Group;
acquiring resource configuration information of the target service, wherein the resource configuration information comprises a first bandwidth threshold value, and the first bandwidth threshold value represents that the minimum bandwidth requirement of the target service is met;
when the total bandwidth of the second target PHY port belonging to the target service is greater than or equal to the first bandwidth threshold, determining that the transmission path corresponding to the second target PHY port is the target transmission path.
7. The method of claim 6, wherein the network element is communicatively connected to a server, and when the status change information indicates that the PHY port has a failure, the obtaining resource configuration information of the target service comprises:
acquiring resource configuration updating information fed back by a server according to bandwidth reduction warning information, wherein the bandwidth reduction warning information is generated and reported to the server after updating the PHY port corresponding to the Flexe Group according to the state change information;
and updating the resource configuration information of the target service according to the resource configuration updating information.
8. The method of claim 6, further comprising:
interrupting the target service when a total bandwidth of the second target PHY port attributed to the target service is less than the first bandwidth threshold.
9. The method of claim 6, wherein the Flexe Group comprises at least two second target PHY ports, and wherein a total bandwidth attributed to the target traffic by the second target PHY ports is determined by:
determining a target transmission path corresponding to the second target PHY port;
determining a reserved bandwidth belonging to the target service in the target transmission path;
and determining the total bandwidth belonging to the target service according to all the reserved bandwidths.
10. The method of claim 6, wherein the resource configuration information further comprises a second bandwidth threshold, wherein the second bandwidth threshold characterizes a maximum bandwidth requirement of the target traffic, and wherein a total bandwidth attributed to the target traffic by the second target PHY port is less than or equal to the second bandwidth threshold.
11. The method of claim 6 or 10, wherein at least two of the target traffic is carried in the second target PHY port.
12. A network element, comprising: memory, processor and computer program stored on the memory and executable on the processor, characterized in that the processor implements the fault handling method according to any one of claims 1 to 4 or the transmission path adjustment method according to any one of claims 5 to 11 when executing the computer program.
13. A computer-readable storage medium storing computer-executable instructions for performing the fault handling method of any one of claims 1 to 4, or performing the transmission path adjustment method of any one of claims 5 to 11.
CN202011568486.0A 2020-12-25 2020-12-25 Fault processing method, transmission path adjusting method, network element and storage medium Pending CN114697195A (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
CN202011568486.0A CN114697195A (en) 2020-12-25 2020-12-25 Fault processing method, transmission path adjusting method, network element and storage medium
PCT/CN2021/134528 WO2022135083A1 (en) 2020-12-25 2021-11-30 Fault processing method, transmission path adjustment method, network element and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202011568486.0A CN114697195A (en) 2020-12-25 2020-12-25 Fault processing method, transmission path adjusting method, network element and storage medium

Publications (1)

Publication Number Publication Date
CN114697195A true CN114697195A (en) 2022-07-01

Family

ID=82129745

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202011568486.0A Pending CN114697195A (en) 2020-12-25 2020-12-25 Fault processing method, transmission path adjusting method, network element and storage medium

Country Status (2)

Country Link
CN (1) CN114697195A (en)
WO (1) WO2022135083A1 (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN116133029B (en) * 2022-12-14 2024-06-04 三维通信股份有限公司 Fault processing system, method, communication device, and computer storage medium

Family Cites Families (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106612220A (en) * 2015-10-27 2017-05-03 中兴通讯股份有限公司 Flexible Ethernet lane management method and apparatus
WO2019120058A1 (en) * 2017-12-20 2019-06-27 Telefonaktiebolaget Lm Ericsson (Publ) Methods and devices for phy management in flexe network
CN109962807B (en) * 2017-12-26 2022-04-26 华为技术有限公司 Fault indication method and device in flexible Ethernet
CN110650002B (en) * 2018-06-26 2021-01-29 华为技术有限公司 Method for adjusting PHY in Flexe group, related equipment and storage medium
CN111200510B (en) * 2018-11-20 2023-06-02 中国电信股份有限公司 Service protection method and device
CN109688016B (en) * 2019-01-25 2022-06-03 中兴通讯股份有限公司 Method for switching time slot configuration in flexible Ethernet protocol and related equipment

Also Published As

Publication number Publication date
WO2022135083A1 (en) 2022-06-30

Similar Documents

Publication Publication Date Title
WO2021036334A1 (en) Methods and apparatuses for sending and receiving segment routing traffic engineering policy, network element, and computer-readable storage medium
US8406124B2 (en) Method and network device for realizing shared mesh protection
EP1758298B1 (en) Method and system for realizing the reliability guarantee of end-to-end quality of service
EP2993838B1 (en) Methods for setting a member identity of gateway device and corresponding management gateway devices
CN105515812A (en) Fault processing method of resources and device
CA2817178A1 (en) Lossless bandwidth adjustment method, device and system
WO2012083669A1 (en) Method and apparatus for switching between primary-standby devices based on access gateway
EP2467973A1 (en) Method and means for state transition of Ethernet linear protection switching
CN111371625A (en) Method for realizing dual-computer hot standby
EP1843537A1 (en) A process method for dealing with device overload in the communication network
WO2010121459A1 (en) Method and system for implementing protection and recovery in automatically switching optical network
US9912527B2 (en) Communication device, communication system, method for determining path, and program
WO2022135083A1 (en) Fault processing method, transmission path adjustment method, network element and storage medium
US7953015B2 (en) Method for ensuring reliability in network
WO2016165061A1 (en) Service protecting method and device
US7043662B2 (en) Communication device that performs automatic failure recovery and automatic failure recovery method
US7433939B2 (en) Fast reconfiguration of network elements
CN114585009A (en) UPF dual-computer hot standby switching method and device, electronic equipment and storage medium
CN114554615A (en) Service switching method, device and network equipment
CN114301763A (en) Distributed cluster fault processing method and system, electronic device and storage medium
CN108768798B (en) Equipment access method and device
CN108540215B (en) Photosphere restores the method and system that selection is inherited in 1+1 heavy-route channel in WSON
WO2023274164A1 (en) Automatic main/standby switching method, control plane device, vbras system and storage medium
CN118018523A (en) DHCP server working method, equipment and medium under MLAG environment
CN113382430B (en) Data transmission method and device of network slice and storage medium

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