CN107508772B - Method and system for realizing Ethernet locking signal function - Google Patents

Method and system for realizing Ethernet locking signal function Download PDF

Info

Publication number
CN107508772B
CN107508772B CN201610425188.3A CN201610425188A CN107508772B CN 107508772 B CN107508772 B CN 107508772B CN 201610425188 A CN201610425188 A CN 201610425188A CN 107508772 B CN107508772 B CN 107508772B
Authority
CN
China
Prior art keywords
service
end point
layer maintenance
maintenance end
state
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
CN201610425188.3A
Other languages
Chinese (zh)
Other versions
CN107508772A (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 CN201610425188.3A priority Critical patent/CN107508772B/en
Publication of CN107508772A publication Critical patent/CN107508772A/en
Application granted granted Critical
Publication of CN107508772B publication Critical patent/CN107508772B/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
    • H04L49/00Packet switching elements
    • H04L49/25Routing or path finding in a switch fabric
    • H04L49/253Routing or path finding in a switch fabric using establishment or release of connections between ports

Landscapes

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

Abstract

The invention discloses a method and a system for realizing Ethernet locking signal function, when a service layer maintenance end point is in a planned management or diagnosis state, an equipment exchange chip of the service layer maintenance end point is used for blocking the service flow of a client layer maintenance end point of which the service is to be interrupted, when the management or diagnosis of the service layer maintenance end point is finished, the equipment exchange chip is used for forwarding the service flow of the client layer maintenance node, so as to realize the state change from blocking to forwarding of the client layer service flow, the equipment exchange chip is used for realizing the control of the service flow state of the client layer maintenance end point, compared with the prior art, the invention realizes the service flow state of the client layer maintenance end point by additionally arranging a logic chip or simplifying the logic chip in the equipment, the invention does not need to additionally arrange other chips, and can interrupt the client layer service flow by using the exchange chip on the prior equipment, the LCK function is realized, the user experience is improved, and the hardware and software cost of the equipment is reduced.

Description

Method and system for realizing Ethernet locking signal function
Technical Field
The invention relates to the technical field of communication, in particular to a method and a system for realizing the function of Ethernet locking signals.
Background
Currently, ethernet has attractive advantages such as simplicity, low cost, high scalability, and good support for burst traffic, so that the traditional telecommunication network gradually develops into ethernet, and the ethernet replaces SDH (Synchronous Digital Hierarchy) to become a trend. However, ethernet still has many disadvantages, one of which is poor manageability.
In order to manage the network, the whole network is divided into a plurality of Maintenance domains, the Maintenance domains are bounded, and the boundaries of the Maintenance domains are ports one by one, so that an entity is only required to be configured on the bounded port, and the entity is called a Maintenance End Point (MEP). Each Maintenance domain boundary is surrounded by Maintenance End Points (MEPs). In the Maintenance Domain, there are also Maintenance Intermediate Points (MIPs). The maintenance domain boundary end point and the maintenance domain intermediate point belong to maintenance nodes of the network, and the maintenance of the Ethernet can be realized by the maintenance monitoring of the nodes.
The ethernet LOCK signal function (LOCK, LCK) is a function for maintaining a domain border endpoint in an ethernet maintenance function, communicating with its intermediate customer maintenance endpoints while performing administrative or diagnostic operations. The maintenance domain boundary end points can be divided into a service layer maintenance domain boundary end point MEP and a client layer maintenance domain boundary end point MEP in the maintenance domain, and the client layer MEP can distinguish whether the service layer MEP carries out planned management or diagnosis or has a fault because the situation of the planned management or diagnosis operation and the fault possibly cause the interruption of data service. Interruptions caused by faults need to be reported, whereas interruptions caused by intentional operation do not need to be reported.
The LCK function of ethernet is mainly used in troubleshooting scenarios. The management maintenance personnel lock a certain maintenance end point A of a certain device at a service layer, the maintenance end point is in a planned management or diagnosis state, and at the moment, the maintenance end point A interrupts the service of a certain client layer. In the prior art, when the LCK function is implemented, a logic chip in the device is usually used to implement service flow blocking of a client layer maintenance endpoint, and at this time, the logic chip supports classification blocking of service flow messages and sorting of some protocol messages and the like through an algorithm.
The invention content is as follows:
the main technical problem to be solved by the present invention is to provide a method and a system for implementing an ethernet lock signal function, so as to solve the problem of increased cost of device software and hardware caused by implementing an LCK function by using a logic chip in the prior art.
To solve the above problem, an embodiment of the present invention provides a method for implementing an ethernet lock signal function, including:
when a service layer maintenance end point is in a planned management or diagnosis state, acquiring virtual local area network information of a client layer maintenance end point to be interrupted by service; the service layer maintenance end point serves the client layer maintenance end point;
according to the virtual local area network information, a service layer maintenance end point device exchange chip is utilized to set the service flow state of a service layer maintenance end point of a client layer maintenance end point to be interrupted as a blocking state;
when the service layer maintenance end point has planned management or diagnosis, the service layer maintenance end point uses the equipment exchange chip to set the service flow state of the client layer maintenance end point in the service flow blocking state as the forwarding state according to the virtual local area network information.
To solve the above problem, another embodiment of the present invention provides a system for implementing an ethernet lock signal function, including:
the acquisition module is used for acquiring the virtual local area network information of the client layer maintenance end point to be interrupted when the service layer maintenance end point is in a planned management or diagnosis state; the service layer maintenance end point serves the client layer maintenance end point;
the control module is used for setting the service flow state of the client layer maintenance end point to be interrupted in the service layer maintenance end point to be a blocking state by utilizing the equipment exchange chip of the service layer maintenance end point according to the virtual local area network information when the service layer maintenance end point is in a planned management or diagnosis state; when the service layer maintenance end point has planned management or diagnosis, the service layer maintenance end point uses the device exchange chip to set the service flow state of the client layer maintenance end point in the service flow blocking state as the forwarding state.
The invention has the beneficial effects that:
the invention provides a method and system for realizing Ethernet locking signal function, when the service layer maintenance end point is in planned management or diagnosis state, the service flow of the client layer maintenance end point whose service is to be interrupted is blocked by the device exchange chip of the service layer maintenance end point, so as to realize the purpose of blocking the client layer service flow, when the management or diagnosis of the service layer maintenance end point is finished, the service flow of the client layer maintenance end point is forwarded by the device exchange chip, so as to realize the state change from blocking to forwarding of the client layer service flow, in the scheme of the invention, the control of the service flow state of the client layer maintenance end point is realized by the device exchange chip, compared with the prior art, the mode of interrupting the service flow of the client layer maintenance end point when the service layer maintenance end point is in planned management or diagnosis state is realized by the logic chip or simplified logic chip additionally arranged in the device, the invention can interrupt the service flow of the client layer by using the exchange chip on the existing equipment without additionally arranging other chips, helps to realize the LCK function, improves the user experience and reduces the hardware and software cost of the equipment.
Drawings
Fig. 1 is a flowchart of a method for implementing an ethernet lock signal function according to an embodiment of the present invention;
FIG. 2 is a schematic diagram of a maintenance domain;
fig. 3 is a flowchart of a method for implementing an ethernet lock signal function according to a third embodiment of the present invention;
fig. 4 is a flowchart of a method for implementing an ethernet lock signal function according to a fourth embodiment of the present invention;
fig. 5 is a schematic block diagram of a system for implementing an ethernet lock signal function according to a second embodiment of the present invention.
Detailed Description
The present invention will be described in further detail with reference to the following detailed description and accompanying drawings.
The first embodiment is as follows:
referring to fig. 1, this embodiment provides a method for a service layer MEP to interrupt a data traffic flow of a specific client layer in a client layer served by the service layer MEP when the service layer MEP is in a planned management or diagnosis state.
S101, when a service layer maintenance end point is in a planned management or diagnosis state, acquiring virtual local area network information of a client layer maintenance end point to be interrupted by service;
s102, according to the virtual local area network information, a service flow state of a client layer maintenance end point to be interrupted in a service layer maintenance end point is set to be a blocking state by using a device exchange chip of the service layer maintenance end point;
s103, after the service layer maintenance end point has planned management or diagnosis, the service layer maintenance end point is set to be in a forwarding state by using the equipment switching chip according to the virtual local area network information.
In the prior art, in order to facilitate management of a network, the network is logically divided into different levels from inside to outside, called Maintenance domains (Maintenance domains), which can be nested and cannot be crossed, so that when a problem occurs, the attribution of the problem can be judged according to the range of the Domain where the problem exists. The purpose of this idea is to isolate the operator network from the subscriber network or to logically correspond the network to the actual user, thereby creating a clear interface. When a problem occurs, the specific location of the problem is determined by judgment in a different domain.
The Maintenance domain has a boundary, and the boundary is a port, so that an entity is only required to be configured on the boundary port, and the entity is called a Maintenance End Point (MEP). When all the boundary ports are configured with maintenance endpoints, the boundary of the domain is determined, and the range of the domain is also determined. MEPs belong to a certain maintenance set, inheriting their properties from the maintenance domain and the maintenance set: level and VLAN. The maintenance endpoints are uniquely identified by an integer, called MEPID. The integer is unique within the maintenance set.
In carrier ethernet, different organizations need to be provided with different scope and content of management and maintenance. There are generally three organizations that design carrier-grade ethernet services: users, service providers, and network operators. Users purchase ethernet traffic services from service providers, which may provide end-to-end ethernet services using their own networks or through other carrier networks. In IEEE 802.1ag, an operation level ethernet is divided into a multi-domain OAM network model, which is divided into three maintenance levels, namely, user, service provider and operator, and the maintenance levels correspond to different management domains. Referring to fig. 2, the maintenance Domain may be divided into a Customer Domain, a Provider Domain, and an Operator Domain. The service provider is responsible for end-to-end service management, and the operator provides service transmission.
In the Maintenance domain, an OAM (Operation Administration and Maintenance) technology is adopted to maintain the network in the Maintenance domain, and the OAM technology can be used for fault management, performance monitoring and protection switching. The OAM technology provides a function of locking a signal lock (lck).
The LCK function is used to announce the following: the service layer has performed a forwarding management lock and thus may cause an interruption of forwarding of data traffic. The LCK message can make the receiving end distinguish whether the service is fault interruption or man-made management interruption. And if the interrupt is generated by artificial management, the receiving end restrains the alarm which is generated by the receiving end for the interrupt.
In general, maintenance endpoints of a maintenance domain can be divided into service layer maintenance endpoints and client layer maintenance endpoints, where the service layer and client layer are understood as follows:
referring to fig. 2, for the Provider Domain, the Customer Domain can be understood as its Customer layer, and for the Operator Domain, both the Customer Domain and the Provider Domain can be listed as its service layer, so that the service layer and the Customer layer are relative concepts.
Therefore, in step S101, the service layer maintenance End point may be a maintenance End point mep (maintenance End point) of the Provider Domain in fig. 2, and in this case, the client layer maintenance End point thereof may be a maintenance End point of the Customer Domain; the service layer maintenance end point may also be the maintenance end point of the Provider Domain in fig. 2, whose client layer includes Customer Domain and Provider Domain.
When a maintainer manages and diagnoses a service layer in a planned way, the maintainer selects a determined maintenance end point of the service layer as a maintenance node of the maintenance, and then interrupts a specific service message on the selected maintenance end point of the service layer. Referring to fig. 2, it can be seen that at least one client layer exists for the service layer. When a service layer maintenance end point serves a plurality of client layers, one of the client layers needs to be selected from the plurality of client layers, the service flow of the client layer on the service layer maintenance end point is interrupted, and the service of the client layer with the interrupted service is maintained when subsequent maintenance personnel manage and diagnose.
The service layer maintenance end point and the client layer maintenance end point with the interrupted service can be set on the management interface of the maintenance domain by maintenance personnel, and the service layer maintenance end point receives the setting content, enters a forwarding management locking state and determines the client layer maintenance end point of the interrupted service.
Generally speaking, different VLANs of different client layers are different, and a service message sent from the client layer carries VLAN information of the client layer, so that when a maintenance person sets information of a client layer maintenance end point of which a service message is interrupted, the VLAN information of the client layer is generally set, and after the service layer maintenance end point obtains the VLAN information, the service layer maintenance end point can determine the client layer information of which the service is interrupted, and then only interrupts the service of the client layer, and performs normal forwarding processing on the services of other client layers.
In S101 of this embodiment, an actual process of the device switch chip of the service layer maintenance endpoint acquiring the virtual local area network information of the client layer maintenance endpoint to be interrupted may be that the device of the service layer maintenance endpoint receives the virtual local area network information of the client layer maintenance endpoint to be interrupted, where the virtual local area network information is set by the maintenance staff, and the device switch chip of the service layer maintenance endpoint receives the virtual local area network information of the client layer maintenance endpoint to be interrupted, where the virtual local area network information is sent by other modules of the device.
In the prior art, in order to implement service flow blocking of a client layer maintenance end point, a logic chip needs to be arranged on a device of the service layer maintenance end point, and classification blocking of service messages is implemented by using the logic chip and through a logic algorithm, so as to achieve the purpose of interrupting the service flow of the client layer maintenance end point. When the logic chip is used for realizing the LCK function, chip resources of the logic chip, including input resources, output resources and logic resources, are consumed, algorithm design is written, logic storage resources are occupied, and hardware and software costs of a service layer maintenance end point are increased.
In this embodiment, in order to avoid the problem of cost increase of hardware and software of the device caused by using a logic chip to interrupt a specific VLAN traffic flow, the embodiment adopts a device switching chip of a service layer maintenance endpoint to implement the interruption of the specific VLAN traffic flow.
In step S102, the service flow state of the service layer maintenance end point of the client layer maintenance end point whose service is to be interrupted is set to be a blocking state, that is, the service of the service layer maintenance end point belonging to the service maintenance end point whose service is to be interrupted is blocked by using the switch chip, so that the service flow of the client layer maintenance end point is in an interrupted state at the service layer maintenance end point, and cannot enter the next maintenance end point or maintenance intermediate point. The identification of the service message of the client layer maintenance end point by the exchange chip can be determined according to the virtual local area network information of the client layer maintenance end point carried by the service message.
When the service layer maintenance end point has planned management or diagnosis, the service of the specific client layer maintenance end point needs to enter a forwarding state from an interruption state, namely, the service flow state of the client layer maintenance end point is set to be a forwarding state from a blocking state. Wherein, the client layer maintains the transition of the state of the traffic flow of the end point and is also realized by the switching chip of the device. Specifically, the switching chip may end blocking the service packet of the VLAN carrying the maintenance end point of the specific client layer, and forward the service packet.
When the service layer maintenance end point is in a planned management or diagnosis state, an LCK message needs to be sent to a client layer maintenance end point and a peer service layer maintenance end point of which the service is to be interrupted to inform the reason of service interruption, so that the alarm suppression of the client layer maintenance end point and the service layer maintenance end point is realized. In step S102, the specific time for sending the LCK packet may be after the service layer maintenance end point uses the device switch chip to set the service flow state of the service layer maintenance end point at the client layer maintenance end point where the service is to be interrupted as a blocking state.
After the service layer maintenance end point has planned management and diagnosis, the service layer maintenance end point will end the blocking of the service flow of the client layer maintenance end point, and in order to recover the normal alarm function of the client layer service end point and the peer service layer maintenance end point, preferably, the service layer maintenance end point stops sending the LCK message after setting the service flow state of the client layer maintenance end point in the service flow blocking state as the forwarding state by using the device switching chip according to the virtual local area network information. And when the client layer maintenance end point and the peer service layer maintenance end point do not receive the LCK message within 3.5 LCK message periods, the management or diagnosis of the service layer maintenance end point is considered to be finished, the alarm inhibition is eliminated, and the alarm mechanism of the service layer is recovered.
Step S102 may specifically include the service layer maintenance end point receiving the service packet, analyzing the service packet, particularly analyzing the packet header, determining the VLAN carried by the service packet, and determining whether the service packet carries the VLAN of the client layer maintenance end point whose service is to be interrupted, that is, determining whether the VLAN carried by the service packet is the same as the VLAN of the client layer maintenance end point whose service is to be interrupted, if so, the switching chip not forwarding the packet, and specifically, the switching chip may directly discard the packet. Correspondingly, step S103 includes, after the service layer maintenance end point has planned management or diagnosis, forwarding the received service packet by using the switch chip. At this time, the blocking of the service flow of the client layer maintenance end point is finished, and the switching chip forwards the service of the client layer maintenance end point.
In order to discard the service packet by the switch chip, the module in the switch chip may be used, for example, the flow classification processor of the switch chip is used to discard the packet, and of course, a maintainer needs to perform corresponding setting on the switch chip, and the flow classification processing module is controlled to discard the service packet at the client layer maintenance end point where the service is to be interrupted.
In addition, considering that a general switching chip supports a Spanning Tree Group (STG) function, and may set a forwarding state of a port to implement blocking of a service packet by the port, in this embodiment, S102 may further include controlling, according to a VLAN of a client layer to be interrupted by a service, a port corresponding to a service layer maintenance endpoint to block a service flow of a virtual local area network of the client layer maintenance endpoint to be interrupted by the service, by using the STG function of the switching chip; correspondingly, S130 may include, after the service layer maintenance endpoint has planned management or diagnosis completed, controlling a port corresponding to the service layer maintenance endpoint to forward a service flow of the virtual local area network of the client layer maintenance endpoint whose service is to be interrupted, by using a spanning tree group protocol function of the device switching chip.
By adopting the method for realizing the Ethernet locking signal function of the embodiment, the service flow state of the maintenance end point of the client layer at the service layer can be controlled by utilizing the exchange chip in the existing equipment, and the blocking and forwarding of the service flow of the maintenance end point of the client layer are realized.
Further, in this embodiment, the port can be controlled to block or forward the service packet of a specific client layer based on the spanning tree group protocol function of the switch chip, so that the function provided by the switch chip itself can be effectively utilized, and the utilization rate of the switch chip is improved.
Example two:
when troubleshooting is performed, a maintenance worker generally performs maintenance operation on a service layer, and specifically, the maintenance worker needs to select one maintenance endpoint from a plurality of maintenance endpoints as a maintenance endpoint locked in the current maintenance according to an actual situation. After the maintenance personnel select the maintenance end point, because the maintenance end point of the service layer may serve a plurality of client layers, if the data traffic of the plurality of client layer maintenance end points served by the maintenance end point of the service layer is blocked, the troubleshooting is hindered by the traffic blocking of the plurality of client layers. Therefore, after selecting a maintenance end point of the service layer, the maintenance personnel needs to further select which specific blocked client layer is, wherein, generally speaking, for convenience of management, VLANs (Virtual Local Area networks) of different client layers are different, so the maintenance personnel notifies the specific blocked client layer of the equipment of the maintenance end point by setting the VLAN of the blocked client layer.
If the service layer maintenance end point selected by the maintainer is a, the VLAN to which the client layer maintenance end point of the service a belongs includes VLAN1, VLAN2, and VLAN3, and the maintainer selects the client layer corresponding to VLAN1 as the client layer where the service is blocked when the troubleshooting is performed, referring to fig. 3, in the process of implementing the LCK function, the implementation step of blocking the service flow of the client layer VLAN1 on the service node a is as follows:
s301, the maintenance end point A is in a planned management or diagnosis section state, executes the LCK function, and sends an LCK message to all the client layer maintenance end points served by the LCK function;
it is understood that the sequence of S301 is limited, and the step of sending the LCK message in S301 may be performed after the service message of the client layer is interrupted in the subsequent S305, or the service message is interrupted and the LCK message is sent simultaneously.
S302, the maintenance end point A determines that the VLAN of the client layer with the data service to be interrupted is VLAN1 in a plurality of client layers served by the maintenance end point A;
s303, the equipment of the maintenance end point A receives the service message from the client layer, and the exchange chip of the equipment analyzes the message header of the service message to obtain the client layer VLAN information of the service message;
s304, the exchange chip judges whether the client layer VLAN of the service message is VLAN1, if yes, the S305 is entered, and if not, the S307 is entered;
s305, the exchange chip does not forward the service message;
s306, monitoring whether the current management or diagnosis state of the service layer maintenance end point A is finished or not; if yes, entering S307, otherwise, returning to S303;
s307, processing the service message of the VLAN1 according to a normal service message processing flow; at this point, the switch chip has finished blocking traffic messages for the client layer of VLAN 1.
By adopting the method of the embodiment, the received service message can be analyzed by utilizing the exchange chip of the equipment, and then the service flow belonging to the client layer is blocked according to the VLAN information of the client layer to be interrupted by the service, so that the effect of blocking the service flow of the specific client layer by utilizing the exchange chip is achieved.
Example three:
s401, if the service layer maintenance end point selected by the maintenance person is a, the VLAN to which the client layer maintenance end point of the service a belongs includes VLAN1, VLAN2, and VLAN3, and the maintenance person selects the client layer corresponding to VLAN1 as the client layer whose service is blocked when performing the troubleshooting, referring to fig. 4, in the process of implementing the LCK function, the implementation step of blocking the service flow of the client layer VLAN1 on the service node a is as follows:
s401, the maintenance end point A is in a planned management or diagnosis section state, executes the LCK function, and sends an LCK message to all the client layer maintenance end points served by the LCK function;
s402, the maintenance end point A determines that the VLAN of the client layer with the data service to be interrupted is VLAN1 in a plurality of client layers with the service;
s403, the exchange chip determines that the VLAN of the client layer of which the data service is to be interrupted is VLAN 1;
s404, the exchange chip controls the service layer to maintain the service message of the port blocking VLAN1 where the end point A is located by utilizing the function of the spanning tree group protocol;
s405, monitoring whether the current management or diagnosis state of the service layer maintenance end point A is finished or not; if yes, the process goes to S406, otherwise, the process returns to 404;
s406, the switching chip releases the service layer from maintaining the port of the end point A to block the service message of the VLAN1 by using the spanning tree group protocol function.
Specifically, the service layer changes the blocking state of the port where the maintenance end point a is located on the VLAN1 into the forwarding state.
By adopting the method of the embodiment, the port of the service layer maintenance end point can be controlled by utilizing the STG function of the switching chip of the equipment, so that the service layer maintenance end point blocks the service flow of the client layer to be interrupted, and the effect of blocking the service flow of the specific client layer by utilizing the switching chip is achieved.
Example four:
referring to fig. 5, the embodiment provides a system for implementing an ethernet signal locking function, which includes an obtaining module 51 and a control module 52;
the obtaining module 51 is configured to obtain, when a service layer maintenance endpoint is in a planned management or diagnosis state, virtual local area network information of a client layer maintenance endpoint where a service is to be interrupted; the service layer maintenance end point serves the client layer maintenance end point;
the control module 52 is configured to, when the service layer maintenance endpoint is in a planned management or diagnosis state, set a service flow state of the service layer maintenance endpoint at the client layer maintenance endpoint, where a service is to be interrupted, to a blocking state by using a device switch chip of the service layer maintenance endpoint according to the virtual local area network information; when the service layer maintenance end point has planned management or diagnosis, the service layer maintenance end point uses the device exchange chip to set the service flow state of the client layer maintenance end point in the service flow blocking state as the forwarding state.
In the prior art, in order to facilitate management of a network, the network is logically divided into different levels from inside to outside, called Maintenance domains (Maintenance domains), which can be nested and cannot be crossed, so that when a problem occurs, the attribution of the problem can be judged according to the range of the Domain where the problem exists.
In the Maintenance domain, an OAM (Operation Administration and Maintenance) technology is adopted to maintain the network in the Maintenance domain, and the OAM technology can be used for fault management, performance monitoring and protection switching. The OAM technology provides a function of locking a signal lock (lck).
The LCK function is used to announce the following: the service layer has performed a forwarding management lock and thus may cause an interruption of forwarding of data traffic. The LCK message can make the receiving end distinguish whether the service is fault interruption or man-made management interruption. And if the interrupt is generated by artificial management, the receiving end restrains the alarm which is generated by the receiving end for the interrupt.
Generally, the maintenance endpoints of the maintenance domain may be divided into a service layer maintenance endpoint and a client layer maintenance endpoint, and for understanding of the client layer and the maintenance layer, reference is made to relevant contents of the embodiments and details are not described herein.
When a maintainer manages and diagnoses a service layer in a planned way, the maintainer selects a determined maintenance end point of the service layer as a maintenance end point of the maintenance, and then interrupts a specific service message on the selected maintenance end point of the service layer. When a service layer maintenance end point serves a plurality of client layers, one of the client layers needs to be selected from the plurality of client layers, the service flow of the client layer on the service layer maintenance end point is interrupted, and the service of the client layer with the interrupted service is maintained when subsequent maintenance personnel manage and diagnose.
The service layer maintenance end point and the client layer maintenance end point with the interrupted service can be set on the management interface of the maintenance domain by maintenance personnel, and the service layer maintenance end point receives the setting content, enters a forwarding management locking state and determines the client layer maintenance end point of the interrupted service.
Generally speaking, different VLANs of different client layers are different, and a service message sent from the client layer carries VLAN information of the client layer, so that when a maintenance person sets information of a client layer maintenance end point of which a service message is interrupted, the VLAN information of the client layer is generally set, and after the service layer maintenance end point obtains the VLAN information, the service layer maintenance end point can determine the client layer information of which the service is interrupted, and then only interrupts the service of the client layer, and performs normal forwarding processing on the services of other client layers.
The virtual local area network information obtained by the obtaining module 51 is the virtual local area network information of the client layer maintenance end point where the service set by the maintenance personnel is to be interrupted. The control module 52 may control the traffic flow state belonging to the vlan according to the vlan information, so as to implement blocking or forwarding of the service flow of the specific client layer maintenance endpoint.
In an embodiment, the control module 52 is configured to obtain a service packet by using an equipment switching chip, analyze the service packet, when a service layer maintenance endpoint is in a planned management or diagnosis state, determine whether virtual local area network information carried in the service packet is the same as virtual local area network information of a client layer maintenance endpoint to which a service is to be interrupted, and if the virtual local area network information is the same, not forward the service packet; and when the service layer maintenance end point has planned management or diagnosis, forwarding the obtained service message by using the equipment switching chip.
In another embodiment, the control module 52 is configured to, when the service layer maintenance endpoint is in a planned management or diagnosis state, control, by using a spanning tree group protocol function of the device switching chip, a port corresponding to the service layer maintenance endpoint to block a service flow of the virtual local area network of the client layer maintenance endpoint whose service is to be interrupted; when the service layer maintenance end point has planned management or diagnosis, the spanning tree group protocol function of the equipment exchange chip is used for controlling the port corresponding to the service layer maintenance end point to forward the service flow of the virtual local area network of the client layer maintenance end point to be interrupted.
It can be understood that the end of the planned management or diagnosis of the service layer maintenance endpoint may also be set by the maintenance staff, and the device of the service layer maintenance endpoint receives the setting of the maintenance staff, and ends the blocking of the service flow of the client layer maintenance endpoint, so that the service flow of the client layer maintenance endpoint is forwarded after the service layer maintenance endpoint receives the notification of ending the management or diagnosis.
After blocking the service flow of a specific client layer maintenance end point, sending an LCK message to the client layer maintenance end point to be interrupted and a peer service layer maintenance end point to inform the reason of service interruption, thereby realizing the alarm suppression of the client layer maintenance end point and the service layer maintenance end point. Therefore, the system for implementing the ethernet locking signal function of this embodiment further includes an alarm suppression module 53, configured to send an LCK message to notify the client layer maintenance end point and the peer service layer maintenance end point to perform alarm suppression after the control module sets the service flow state of the client layer maintenance end point at which the service is to be interrupted in the service layer maintenance end point to the blocking state.
The alarm module 43 is further configured to stop sending the LCK message after the control module sets the traffic state of the client layer maintenance endpoint in the traffic blocking state as the forwarding state.
By adopting the system for realizing the Ethernet locking signal function of the embodiment, the control module can utilize the equipment switching chip of the service layer maintenance end point to control the blocking and forwarding of the service flow state of the specific client layer maintenance end point, and the LCK message of the locking function is sent in a matching manner to realize the maintenance and management of the service layer maintenance end point.
It will be apparent to those skilled in the art that the modules or steps of the invention described above may be implemented in 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 in program code executable by a computing device, such that they may be stored on a storage medium (ROM/RAM, magnetic disk, optical disk) 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 foregoing is a more detailed description of the present invention that is presented in conjunction with specific embodiments, and the practice of the invention is not to be considered limited to those descriptions. For those skilled in the art to which the invention pertains, several simple deductions or substitutions can be made without departing from the spirit of the invention, and all shall be considered as belonging to the protection scope of the invention.

Claims (10)

1. A method for implementing an ethernet lock signal function, comprising:
when the service layer maintenance end point is in a planned management or diagnosis state, the equipment exchange chip of the service layer maintenance end point acquires the virtual local area network information of the client layer maintenance end point of which the service is to be interrupted; the service layer maintenance endpoint services the client layer maintenance endpoint; different client layers have different VLANs;
setting the service flow state of the client layer maintenance end point to be interrupted in the service layer maintenance end point to be a blocking state by utilizing the equipment switching chip according to the virtual local area network information;
and when the service layer maintenance end point is managed or diagnosed in a planned way, setting the service flow state of the client layer maintenance end point in the service flow blocking state as a forwarding state by utilizing the equipment switching chip according to the virtual local area network information.
2. The method according to claim 1, wherein the setting, by the device switch chip, the traffic flow state of the client layer maintenance end point at which the service is to be interrupted at the service layer maintenance end point to a blocking state according to the vlan information, and setting, by the device switch chip, the traffic flow state of the client layer maintenance end point at the traffic blocking state to a forwarding state according to the vlan information after planned management or diagnosis of the service layer maintenance end point is completed comprises:
receiving a service message, analyzing the service message by using the equipment switching chip, judging whether the virtual local area network information carried by the service message is the same as the virtual local area network information of a client layer maintenance end point to be interrupted by the service, and if so, not forwarding the service message by the equipment switching chip;
and when the service layer maintenance end point has planned management or diagnosis, receiving a service message, and forwarding the service message by using the equipment switching chip.
3. The method according to claim 1, wherein the device switching chip is utilized to set the service flow state of the client layer maintenance endpoint whose service is to be interrupted at the service layer maintenance endpoint to a blocking state according to the vlan information; when the service layer maintenance end point is managed or diagnosed in a planned way, the step of setting the service flow state of the client layer maintenance end point in the service flow blocking state as a forwarding state by using the equipment switching chip according to the virtual local area network information comprises the following steps:
controlling a port corresponding to the service layer maintenance end point to block the service flow of the virtual local area network of the client layer maintenance end point to be interrupted by the service by using a spanning tree group protocol function of the equipment switching chip;
and when the planned management or diagnosis of the service layer maintenance end point is finished, controlling a port corresponding to the service layer maintenance end point to forward the service flow of the virtual local area network of the client layer maintenance end point to be interrupted by using the spanning tree group protocol function of the equipment switching chip.
4. The method according to any of claims 1 to 3, wherein after the device switching chip is utilized to set the service flow state of the service layer maintenance endpoint of the client layer maintenance endpoint whose service is to be interrupted to the blocking state according to the vlan information, the method further comprises:
and sending LCK message to inform the client layer maintenance end point and the peer service layer maintenance end point to carry out alarm suppression.
5. The method according to claim 4, wherein after setting the traffic flow status of the client layer maintenance endpoint in the traffic flow blocking status to the forwarding status by using the device switch chip according to the vlan information, the method further comprises:
and stopping sending the LCK message.
6. A system for implementing an ethernet lock signal function, comprising:
the acquisition module is used for acquiring the virtual local area network information of the client layer maintenance end point to be interrupted when the service layer maintenance end point is in a planned management or diagnosis state; the service layer maintenance endpoint services the client layer maintenance endpoint; different client layers have different VLANs;
the control module is used for setting the service flow state of the client layer maintenance end point to be interrupted in the service layer maintenance end point to be a blocking state by utilizing the equipment exchange chip of the service layer maintenance end point according to the virtual local area network information when the service layer maintenance end point is in a planned management or diagnosis state; and when the service layer maintenance end point has planned management or diagnosis, setting the service flow state of the client layer maintenance end point in the service flow blocking state as a forwarding state by using the equipment switching chip.
7. The system according to claim 6, wherein the control module is configured to obtain a service packet by using the device switching chip, analyze the service packet, determine whether the vlan information carried in the service packet is the same as the vlan information of the client layer maintenance endpoint to be interrupted when the service layer maintenance endpoint is in a planned management or diagnosis state, and if so, not forward the service packet; and after the service layer maintenance end point is managed or diagnosed in a planned way, the obtained service message is forwarded by using the equipment switching chip.
8. The system according to claim 6, wherein the control module is configured to, when the service layer maintenance endpoint is in a planned management or diagnosis state, control a port corresponding to the service layer maintenance endpoint to block a traffic flow of the virtual local area network of the client layer maintenance endpoint whose traffic is to be interrupted by using a spanning tree group protocol function of the device switch chip; and when the planned management or diagnosis of the service layer maintenance end point is finished, controlling a port corresponding to the service layer maintenance end point to forward the service flow of the virtual local area network of the client layer maintenance end point to be interrupted by using the spanning tree group protocol function of the equipment switching chip.
9. The system according to any of claims 6-8, further comprising an alarm suppression module, configured to send an LCK message to notify a client layer maintenance end point and a peer service layer maintenance end point to perform alarm suppression after the control module sets the traffic flow state of the client layer maintenance end point where the traffic is to be interrupted at the service layer maintenance end point to a blocking state.
10. The system according to claim 9, wherein the alarm module is further configured to stop sending the LCK packet after the control module sets the traffic flow state of the client layer maintenance endpoint in the traffic flow blocking state to the forwarding state by using the device switch chip.
CN201610425188.3A 2016-06-14 2016-06-14 Method and system for realizing Ethernet locking signal function Active CN107508772B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201610425188.3A CN107508772B (en) 2016-06-14 2016-06-14 Method and system for realizing Ethernet locking signal function

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201610425188.3A CN107508772B (en) 2016-06-14 2016-06-14 Method and system for realizing Ethernet locking signal function

Publications (2)

Publication Number Publication Date
CN107508772A CN107508772A (en) 2017-12-22
CN107508772B true CN107508772B (en) 2021-03-16

Family

ID=60679051

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201610425188.3A Active CN107508772B (en) 2016-06-14 2016-06-14 Method and system for realizing Ethernet locking signal function

Country Status (1)

Country Link
CN (1) CN107508772B (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114978965A (en) * 2022-05-25 2022-08-30 中国第一汽车股份有限公司 CAN diagnosis message and network message processing method and system under high-load condition of chip, electronic device and storage medium

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1525715A (en) * 2003-02-26 2004-09-01 华为技术有限公司 A method for implementing multiple spanning tree protocol on single spanning tree switching chip
CN101854256A (en) * 2010-05-28 2010-10-06 中兴通讯股份有限公司 Method and system for implementing locking indication
CN102281172A (en) * 2011-09-20 2011-12-14 杭州华三通信技术有限公司 Loop detection method and device
US8458322B2 (en) * 2009-07-24 2013-06-04 Cisco Technology, Inc. Dynamic management of maintenance association membership in a computer network
JP5503600B2 (en) * 2011-07-22 2014-05-28 日本電信電話株式会社 Failure management system and failure management method

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1525715A (en) * 2003-02-26 2004-09-01 华为技术有限公司 A method for implementing multiple spanning tree protocol on single spanning tree switching chip
US8458322B2 (en) * 2009-07-24 2013-06-04 Cisco Technology, Inc. Dynamic management of maintenance association membership in a computer network
CN101854256A (en) * 2010-05-28 2010-10-06 中兴通讯股份有限公司 Method and system for implementing locking indication
JP5503600B2 (en) * 2011-07-22 2014-05-28 日本電信電話株式会社 Failure management system and failure management method
CN102281172A (en) * 2011-09-20 2011-12-14 杭州华三通信技术有限公司 Loop detection method and device

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
基于以太网网络的OAM功能和机制;ITU-T;《百度网页 https://www.docin.com/p-338477242.html》;20120209;全文 *

Also Published As

Publication number Publication date
CN107508772A (en) 2017-12-22

Similar Documents

Publication Publication Date Title
US8854975B2 (en) Scaling OAM for point-to-point trunking
EP1932282B1 (en) Management of tiered communication services in a composite communication service
US10044606B2 (en) Continuity check systems and methods using hardware native down maintenance end points to emulate hardware up maintenance end points
EP1720284B1 (en) A method for managing virtual private network
US7991872B2 (en) Vertical integration of network management for ethernet and the optical transport
CN104468237B (en) A kind of system of the method and application this method of SDH and PTN network alarm linkage
KR20130096328A (en) Differential forwarding in address-based carrier networks
Ryoo et al. Ethernet ring protection for carrier ethernet networks
EP3059905A1 (en) A method and apparatus for providing an uplink over an access ring
US11075844B2 (en) Apparatus and method for providing hybrid access coordination
KR101664436B1 (en) Transport Software-Defined Network controller of inter-operation between multivendor packet transport networks based on Ethernet and method thereof
EP2677702A2 (en) A method and apparatus for load balance
US9716639B2 (en) Protection switching method and system
US20140347982A1 (en) Communication device, communication method, and program
CN102238067A (en) Switching method and device on Rapid Ring Protection Protocol (RRPP) ring
US8169920B2 (en) Management interface and tool for benchmarking optical network topologies
US8351324B2 (en) Analyzing service impacts on virtual private networks
CN107508772B (en) Method and system for realizing Ethernet locking signal function
CN102014006B (en) Ethernet ring protection switching method for hybrid network
US20180198708A1 (en) Data center linking system and method therefor
US9923731B1 (en) Seamless migration from multiple spanning tree protocol to ethernet ring protection switching protocol
EP2566114B1 (en) Method and network equipment for dynamically adjusting switching loop
Kim et al. Enhanced linear protection switching methods supporting dual node interconnection in packet transport networks
Nurujjaman et al. Optimal capacity planning and RPL placement in carrier ethernet mesh network design
Ellefson Migration of fault tolerant networks

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