CN102055624A - Method and system for detecting connectivity fault - Google Patents

Method and system for detecting connectivity fault Download PDF

Info

Publication number
CN102055624A
CN102055624A CN2010106163517A CN201010616351A CN102055624A CN 102055624 A CN102055624 A CN 102055624A CN 2010106163517 A CN2010106163517 A CN 2010106163517A CN 201010616351 A CN201010616351 A CN 201010616351A CN 102055624 A CN102055624 A CN 102055624A
Authority
CN
China
Prior art keywords
message
cfm
service plate
function service
cfm function
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
CN2010106163517A
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 CN2010106163517A priority Critical patent/CN102055624A/en
Publication of CN102055624A publication Critical patent/CN102055624A/en
Priority to PCT/CN2011/078980 priority patent/WO2012088910A1/en
Pending legal-status Critical Current

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L43/00Arrangements for monitoring or testing data switching networks
    • H04L43/08Monitoring or testing based on specific metrics, e.g. QoS, energy consumption or environmental parameters
    • H04L43/0805Monitoring or testing based on specific metrics, e.g. QoS, energy consumption or environmental parameters by checking availability
    • H04L43/0811Monitoring or testing based on specific metrics, e.g. QoS, energy consumption or environmental parameters by checking availability by checking connectivity
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L43/00Arrangements for monitoring or testing data switching networks
    • H04L43/10Active monitoring, e.g. heartbeat, ping or trace-route
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L43/00Arrangements for monitoring or testing data switching networks
    • H04L43/08Monitoring or testing based on specific metrics, e.g. QoS, energy consumption or environmental parameters
    • H04L43/0823Errors, e.g. transmission errors
    • H04L43/0829Packet loss
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L43/00Arrangements for monitoring or testing data switching networks
    • H04L43/08Monitoring or testing based on specific metrics, e.g. QoS, energy consumption or environmental parameters
    • H04L43/0852Delays

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Health & Medical Sciences (AREA)
  • Cardiology (AREA)
  • General Health & Medical Sciences (AREA)
  • Environmental & Geological Engineering (AREA)
  • Data Exchanges In Wide-Area Networks (AREA)
  • Maintenance And Management Of Digital Transmission (AREA)

Abstract

The invention discloses a method and system for detecting a connectivity fault. The method comprises the following steps: sending CFM (cathode-follower mixer) configuration information for detecting the connectivity to a CFM functional service plate at a home terminal; receiving a CC (carbon copy) message sent by an opposite end by the CFM functional service plate according to the configuration information; and if the CFM functional service plate does not receive the CC message sent by the opposite end in a preset period of time, detecting the connectivity fault between the home terminal and the opposite end and sending a detection result to a main control plate of the home terminal by the CFM functional service plate. According to the invention, the problems of cost and resource wastes caused by completely using high-performance single plates in a distributed switch system are solved, thus the effects of lowering the cost of equipment as well as efficiently lowering the load on other single plates and increasing the use rate of facility are achieved.

Description

Failure of connectivity detection method and system
Technical field
The present invention relates to the communications field, in particular to a kind of failure of connectivity detection method and system.
Background technology
Based on the CFM function of IEEE 802.1ag standard and ITU-TY.1731 recommendation by setting up Ethernet fault detection mechanism end to end, its the shortest sense cycle can reach 3.3ms, for network provides failure of connectivity discovery efficiently, detection and management function easily.
The CFM function of stipulating among IEEE 802.1ag and the ITU-TY.1731 comprises connectivity checks (CC, Continuity Check) function, loopback (LB, Loopback) function, link tracing (LT, Linktrace) function, packet loss are measured (LM, LossMeasurement) function, latency measurement (DM, Delay Measurement) function or the like, wherein the CC function is the most basic most important function of CFM function, is the prerequisite that other function is achieved.The CFM fault detection mechanism requires to set up at tested both link ends the maintenance field (MD of identical maintenance echelon, Maintenance Domains), safeguard associating (MA, MaintenanceAssociation) and corresponding maintaining end point (MEP, Maintenance association End Point), the sense cycle of configuration connectedness as required, enable after the CFM, the MEP at two ends is according to configuration cycle timed sending CC message (CCM, ContinuityCheck Message), receive CCM simultaneously from the opposite end and carry out the corresponding judgment processing, if in 3.5 doubling times, do not receive the CCM that the opposite end sends, then think this link occurs fault.
Yet, adopt CPU to send merely and the processing cycle is the CCM message of 3.3ms, tend to cause CPU busy and can't handle other business, if a plurality of CC of configuration detect links in system, even can cause system to work.Common way is to finish transmission and the processing of quick CCM such as NP, FPGA at the stronger processor of hardware using performance at present.But, distribution switch normally is made up of some veneers, link to each other with external equipment by the physical port on each veneer, in order to guarantee that every veneer can both send and handle quick CCM, then need all adopt the high-performance hardware processor on each veneer, this can cause equipment cost to raise and the wasting of resources.
Summary of the invention
Main purpose of the present invention is to provide a kind of failure of connectivity detection method and system, to solve in the distribution switch system owing to the cost that all adopts the high-performance veneer to cause and the problem of the wasting of resources.
According to an aspect of the present invention, provide a kind of failure of connectivity detection method, it comprises: the CFM configuration information that will be used for detection of connectivity sends to the CFM function service plate of local terminal; Above-mentioned CFM function service plate receives the CC message that the opposite end sends according to above-mentioned configuration information; If above-mentioned CFM function service plate does not receive the CC message that above-mentioned opposite end sends in the given time, then above-mentioned CFM function service plate detects above-mentioned local terminal and breaks down to the connectedness between the above-mentioned opposite end, and testing result is sent to the master control borad of above-mentioned local terminal.
Further, when above-mentioned CFM function service plate received the CC message of opposite end transmission according to above-mentioned configuration information, also comprise: above-mentioned CFM function service plate sent the CC message according to above-mentioned configuration information to above-mentioned opposite end; Above-mentioned CFM function service plate is carried out packet delay statistics and packet loss statistics to the CC message that is sent.
Further, before above-mentioned CFM function service plate received the CC message of opposite end transmission according to above-mentioned configuration information, select the CFM function service plate of above-mentioned local terminal by following steps: whether the veneer of judging current reception message was CFM function service plate; If the veneer of then above-mentioned current reception message is set to the CFM function service plate of above-mentioned local terminal; If not, then select the CFM function service plate of the CFM function service plate of slot number minimum in current all online CFM function service plates as above-mentioned local terminal, perhaps, specify the CFM function service plate of an online CFM function service plate according to user's instruction as above-mentioned local terminal.
Further, when on having CFM function service plate, rolling off the production line, carry out the step of the CFM function service plate of selecting above-mentioned local terminal.
Further, above-mentioned CFM function service plate comprises according to the step that above-mentioned configuration information receives the CC message of opposite end transmission: the port that receives the CC message judges whether the above-mentioned CC message that receives is the CFM message; If the CFM message is then given above-mentioned CFM function service plate with received CC message redirecting; Above-mentioned CFM function service plate receives the above-mentioned CC message that receives according to above-mentioned configuration information.
Further, carrying out the CFM configuration, when specifying CFM function service plate or the upper and lower line of CFM function service plate above-mentioned redirected rule sent to each above-mentioned port according to user instruction.
Further, the port that receives the CC message judges that whether the above-mentioned CC message that receives is that the step of CFM message comprises: above-mentioned port mates the parameter of the CC message that receives, wherein, above-mentioned parameter comprise following one of at least: the protocol type of message, VLAN ID, physical port number, MD grade, OpCode; If whether the success of the parameter matching of the above-mentioned CC message that receives, then judging the above-mentioned CC message that receives is the CFM message.
According to a further aspect in the invention, provide a kind of failure of connectivity detection system, it comprises: CFM function service plate is used to receive the CFM configuration information that is used for detection of connectivity, and receives the CC message that the opposite end sends according to above-mentioned configuration information; If do not receive the CC message that above-mentioned opposite end sends in the given time, then detect above-mentioned local terminal and break down to the connectedness between the above-mentioned opposite end; Master control borad is used to receive the testing result that above-mentioned CFM function service plate sends.
Further, above-mentioned CFM function service plate also is used for sending the CC message according to above-mentioned configuration information to above-mentioned opposite end, and the CC message that is sent is carried out packet delay statistics and packet loss statistics.
Further, above-mentioned master control borad comprises: judging unit is used for judging whether the veneer of current reception message is CFM function service plate before above-mentioned CFM function service plate receives the CC message of opposite end transmission according to above-mentioned configuration information; Processing unit, when being used for veneer at above-mentioned current reception message and being above-mentioned CFM function service plate, the veneer of above-mentioned current reception message is set to the CFM function service plate of above-mentioned local terminal; When the veneer of above-mentioned current reception message is not above-mentioned CFM function service plate, select the CFM function service plate of the CFM function service plate of slot number minimum in current all online CFM function service plates as above-mentioned local terminal, perhaps, specify the CFM function service plate of an online CFM function service plate according to user's instruction as above-mentioned local terminal.
Further, the physical port that is used for receiving and dispatching fast the CC message is positioned at above-mentioned CFM function service plate, perhaps, is arranged on the generic interface veneer of above-mentioned failure of connectivity detection system.
In the present invention, utilize CFM function service plate to handle CFM message fast, solve common veneer CPU and be difficult to realize quick CFM function, all adopt the high-performance veneer can cause the problem of the cost and the wasting of resources again, and then reached the effect that when effectively reducing other veneer load, improving utilization rate of equipment and installations, reduces equipment cost.
Description of drawings
Accompanying drawing described herein is used to provide further understanding of the present invention, constitutes the application's a part, and illustrative examples of the present invention and explanation thereof are used to explain the present invention, do not constitute improper qualification of the present invention.In the accompanying drawings:
Fig. 1 is a kind of preferred flow charts according to the failure of connectivity detection method of the embodiment of the invention;
Fig. 2 is a kind of preferred structure block diagram according to the failure of connectivity detection system of the embodiment of the invention;
Fig. 3 is the another kind of structured flowchart according to the failure of connectivity detection system of the embodiment of the invention;
Fig. 4 is the selection flow chart according to the CFM function loading plate of the failure of connectivity detection method of the embodiment of the invention;
Fig. 5 is the flow chart according to the redirected filtration CFM message of the failure of connectivity detection method of the embodiment of the invention.
Embodiment
Below with reference to the accompanying drawings and in conjunction with the embodiments, describe the present invention in detail.
Hereinafter will describe the present invention with reference to the accompanying drawings and in conjunction with the embodiments in detail.Need to prove that under the situation of not conflicting, embodiment and the feature among the embodiment among the application can make up mutually.
Embodiment 1
Fig. 1 is that it comprises the steps: according to a kind of preferred flow charts of the failure of connectivity detection method of the embodiment of the invention
S102, the CFM configuration information that will be used for detection of connectivity sends to the CFM function service plate of local terminal;
S104, described CFM function service plate receives the CC message that the opposite end sends according to described configuration information;
S106, if described CFM function service plate does not receive the CC message that described opposite end sends in the given time, then described CFM function service plate detects described local terminal and breaks down to the connectedness between the described opposite end, and testing result is sent to the master control borad of described local terminal.Preferably, has the CPU processing unit on this master control borad.
In this preferred embodiment, utilize CFM function service plate to handle CFM message fast, solved that whole employing high-performance veneers realize that quick CC message is handled and the cost that causes and the problem of the wasting of resources, and then reached the effect that when effectively reducing other veneer load, improving utilization rate of equipment and installations, reduces equipment cost.
Preferably, when described CFM function service plate received the CC message that the opposite end sends according to described configuration information, also comprise according to the failure of connectivity detection method of the embodiment of the invention: described CFM function service plate sent the CC message according to described configuration information to described opposite end; Described CFM function service plate is carried out packet delay statistics and packet loss statistics to the CC message that is sent.In this preferred embodiment, the CFM function service plate of local terminal can send the CC message to the CFM of opposite end function service plate, thereby can be so that the CFM function service plate of opposite end also can judge whether to occur connective fault according to the situation that receives the CC message.
Preferably, before described CFM function service plate received the CC message of opposite end transmission according to described configuration information, select the CFM function service plate of described local terminal by following steps: whether the veneer of judging current reception message was CFM function service plate; If the veneer of then described current reception message is set to the CFM function service plate of described local terminal; If not, then select the CFM function service plate of the CFM function service plate of slot number minimum in current all online CFM function service plates as described local terminal, perhaps, specify the CFM function service plate of an online CFM function service plate according to user's instruction as described local terminal.In this preferred embodiment,, can select only CFM function service plate by above-mentioned specific selection mode.
Preferably, when on having CFM function service plate, rolling off the production line, carry out the step of the CFM function service plate of selecting described local terminal.In this preferred embodiment, can guarantee when current C FM function service plate rolls off the production line, continue to select new CFM function service plate, and when having new CFM function service plate to reach the standard grade, judging whether needs to upgrade CFM function service plate, thereby has guaranteed professional continuity.
Preferably, described CFM function service plate comprises according to the step that described configuration information receives the CC message of opposite end transmission: the port that receives the CC message judges whether the described CC message that receives is the CFM message; If the CFM message is then given described CFM function service plate with received CC message redirecting; Described CFM function service plate receives the above-mentioned CC message that receives according to described configuration information.In this preferred embodiment,, make and correctly to discern and to transmit the CC message by redirection mechanism.
Preferably, carrying out the CFM configuration, when specifying CFM function service plate or the upper and lower line of CFM function service plate described redirected rule sent to each described port according to user instruction.In this preferred embodiment, be redirected regular time point by above-mentioned specific configuration, make each port all can receive effectively and use and be redirected rule.
Preferably, the port that receives the CC message judges that whether the described CC message that receives is that the step of CFM message comprises: described port mates the parameter of the CC message that receives, wherein, described parameter comprise following one of at least: the protocol type of message, VLAN ID, physical port number, MD grade, OpCode; If whether the success of the parameter matching of the described CC message that receives, then judging the described CC message that receives is the CFM message.In this preferred embodiment,, can identify the CFM message effectively by above-mentioned specific judgment rule.
Embodiment 2
Fig. 2 is a kind of preferred structure block diagram according to the failure of connectivity detection system of the embodiment of the invention, it comprises: CFM function service plate 202, be used to receive the CFM configuration information that is used for detection of connectivity, and receive the CC message that the opposite end sends according to described configuration information; If do not receive the CC message that described opposite end sends in the given time, then detect described local terminal and break down to the connectedness between the described opposite end; Master control borad 206 is used to receive the testing result that described CFM function service plate sends.
In this preferred embodiment, utilize CFM function service plate to handle CFM message fast, solved that whole employing high-performance veneers realize that quick CC message is handled and the cost that causes and the problem of the wasting of resources, and then reached the effect that when effectively reducing other veneer load, improving utilization rate of equipment and installations, reduces equipment cost.
Preferably, the failure of connectivity detection system according to the embodiment of the invention also comprises: generic interface veneer 204 is used to provide the physical port of receiving and dispatching quick CC message.Certainly, above-mentioned physical port is not limited to be positioned on the generic interface veneer 204, can also be positioned on the above-mentioned CFM function service plate 202.
Preferably, described CFM function service plate 202 also is used for preparing the CC message according to described configuration information tissue, and sends to described opposite end by real physical port, and the CC message that is sent is carried out packet delay statistics and packet loss statistics.Preferably, above-mentioned physical port may be positioned on the CFM function service plate 202, also may be positioned on other generic interface veneers 204.
Preferably, described master control borad 206 can comprise: judging unit is used for judging whether the veneer of current reception message is CFM function service plate before described CFM function service plate receives the CC message of opposite end transmission according to described configuration information; Processing unit, when being used for veneer at described current reception message and being described CFM function service plate, the veneer of described current reception message is set to the CFM function service plate of described local terminal; When the veneer of described current reception message is not described CFM function service plate, select the CFM function service plate of the CFM function service plate of slot number minimum in current all online CFM function service plates as described local terminal, perhaps, specify the CFM function service plate of an online CFM function service plate according to user's instruction as described local terminal.In this preferred embodiment,, can select only CFM function service plate by above-mentioned specific selection mode.
Preferably, when on having CFM function service plate, rolling off the production line, carry out the step of the CFM function service plate of selecting described local terminal.In this preferred embodiment, can guarantee when current C FM function service plate rolls off the production line, continue to select new CFM function service plate, and when having new CFM function service plate to reach the standard grade, judging whether needs to upgrade CFM function service plate, thereby has guaranteed professional continuity.
Preferably, described CFM function service plate 202 comprises according to the step that described configuration information receives the CC message of opposite end transmission: the port that receives the CC message judges whether the described CC message that receives is the CFM message; If the CFM message is then given described CFM function service plate with received CC message redirecting; Described CFM function service plate receives the described CC message that receives according to described configuration information.In this preferred embodiment,, make and correctly to discern and to transmit the CC message by redirection mechanism.
Preferably, carrying out the CFM configuration, when specifying CFM function service plate or the upper and lower line of CFM function service plate described redirected rule sent to each described port according to user instruction.In this preferred embodiment, be redirected regular time point by above-mentioned specific configuration, make each port all can receive effectively and use and be redirected rule.
Preferably, whether the port that receives the CC message is that the step of CFM message comprises according to being redirected the described CC message that receives of rule judgment: described port mates the parameter of the CC message that receives, wherein, described parameter comprise following one of at least: the protocol type of message, VLAN ID, physical port number, MD grade, OpCode; If whether the success of the parameter matching of the described CC message that receives, then judging the described CC message that receives is the CFM message.In this preferred embodiment,, can identify the CFM message effectively by above-mentioned specific judgment rule.
Embodiment 3
Fig. 3 is the another kind of structured flowchart according to embodiment of the invention failure of connectivity detection system, comprises as the lower part: master control borad 302, CFM function service plate 304 and common veneer 306.
In the present embodiment, common veneer 306 is made up of CPU 3061, exchange chip 3062 and physical interface 3063 etc., can realize LB and LT function, realizes CC function, LB function and LT function at a slow speed simultaneously.
CPM function service plate 304 comprises: CPU 3041, exchange chip 3042, physical interface 3043, OAM hardware module 3044 and LM hardware module 3045, under the situation that has CFM function service plate 304, CCM is redirected to CFM function service plate 304 and realizes the CC function, and can realize LB function, LT function, LM function and DM function simultaneously.
Common veneer 306 is that CROSS-BAR links to each other by High speed rear panel 308, and equipment links to each other with opposite equip. with physical interface on the common veneer 306 by CFM function service plate 304.
In the failure of connectivity detection system of present embodiment, one or two master control borads 302 must be arranged, if two master control borads 302 then comprise master control and are equipped with master control, and can dispose one or more common veneer 306 and one or more CFM function service plate 304 according to actual needs.
In the present embodiment, master control borad 302 is used for the CFM configuration distributing to each common veneer 306 and CFM function service plate 304, and receives and handle echo message or warning information by common veneer 306 and CFM function service plate 304.
Based on above-mentioned failure of connectivity detection system, the failure of connectivity testing process of this system is described below in conjunction with accompanying drawing.
In this preferred embodiment, if a plurality of CFM function service plates are set, then said system is supported the Dynamic Selection of CFM function service plate, and its selection course can adopt following strategy:
If 1 designated port place veneer is exactly a CFM function service plate, select the loading plate of this veneer so as this veneer current C FM function;
If 2 designated port place veneers are common veneers, judge so further whether the user has static loading plate configuration, if the veneer that configuration is arranged then select user's specified configuration is as loading plate, if there is not static configuration, select the loading plate of this veneer of conduct CFM function of slot number minimum in current all online CFM function service plates so, if when not having CFM function service plate in the system, then do not select loading plate;
If 3 have CFM function service plate to reach the standard grade, do not influence the loading plate business of using, and for specify because of static state or reach the standard grade before do not have the business of CFM function loading plate in the system, can reselect loading plate, when rolling off the production line, can reselect the loading plate of current C FM function according to 1,2 principle.
Preferably, the selection of CFM function service plate can be finished by the master control borad veneer administration module shown in the embodiment 3.
Fig. 4 is that it comprises the steps: according to the selection flow chart of the CFM function loading plate of embodiment of the invention failure of connectivity detection method
S401, master control borad is by interrupting or the mode of poll detects and has veneer to reach the standard grade or roll off the production line on the equipment;
S402 judges whether the veneer reach the standard grade or roll off the production line is CFM function service plate, if not execution in step S406 then, if CFM function service plate execution in step S403 then;
S403, CFM function service plate is reached the standard grade, and the business of having selected effective loading plate needs loading plate but not have the service needed of effective loading plate to reselect loading plate with unaffected, and CFM function service plate rolls off the production line, and all business all need to reselect loading plate;
S404, if the loading plate before and after reselecting is identical, then business is not carried out any operation, execution in step 406, if inequality, then execution in step 405;
S405, the notice redirection module is carried out redirect operation;
S406, CFM function loading plate select flow process to finish.
Embodiment 4
This preferred embodiment provides a kind of failure of connectivity detection system, and it comprises following several parts:
1, the higher level service loading plate is selected module, the dynamic CFM of selection function loading plate when being used on veneer, rolling off the production line according to the loading plate selective rule, and notify following message redirecting module to issue corresponding message redirecting rule;
2, message redirecting module is used to be implemented in that downward message is redirected rule when carrying out CFM configuration or redefining loading plate, according to rule the message that receives on the veneer is filtered, with the CFM message redirecting to loading plate or this plate CPU;
3, OAM hardware module, this module are positioned at CFM function service plate, are used for sending cycle timed sending, reception and handling CCM according to the message of configuration, complain to corresponding alarm according to testing result to the CFM software module simultaneously, finish the CC function;
4, LM hardware module, this module are positioned at CFM function service plate, are used to realize LM, required message number and the time statistics of DM function, when LM and this module of DM message process, number and time data are inserted in the respective field of message simultaneously;
5, CFM software module, this module is positioned at the CPU of each feature board, be used to issue the relevant configuration, reception of CFM and handle the various alarms that report by hardware, realize LB and LT function, finish the evaluation work of LM and DM function, in addition in transmission and the processing of finishing at a slow speed (send cycle 1s and more than) CCM under the situation that does not have loading plate to exist.
Be redirected issuing and can being finished by the message redirecting module of rule in this preferred embodiment, it is divided into two kinds of situations:
1. if there is not CFM function loading plate in the system, when enabling the CFM function, all issue to each physical port of each feature board and to be redirected rule, the main matching message protocol type of this rule requires all CFM messages to give this plate CPU on all;
2. if there is CFM function loading plate in the system, when carrying out CFM configuration or the upper and lower line of veneer, issue and be redirected rule, the CFM configuration in the present embodiment is refered in particular to MEP is tied on the physical port of a certain feature board.This moment, the redirected rule that issues needed the fields such as protocol type, VLANID, physical port number, MD grade, OpCode of matching message, after the match is successful according to the OpCode value of message decide be redirected to loading plate or on give this plate CPU, OpCode is used to judge the function type of CFM message, its value need meet IEEE 802.1ag and the ITU-T regulation in Y.1731, when the OpCode explicit message is that CCM then is redirected to loading plate, other this plate of CFM message up sending CPU.
In the present embodiment, issue redirected rule when having CFM function service plate and follow following principle:
1, Down type MEP handles the CFM message from the Ethernet direction, and only downward message is redirected rule on the port of binding;
2, UP type MEP handles from the CFM message in the bridge, can issue on other port except the port of binding in the protection virtual ethernet (VLAN, Virtual Local AreaNetwork) and be redirected rule;
3, when ports having adds or withdraws from the protection VLAN at MEP place, can on the corresponding port, add or the redirected rule of deletion according to 1 and 2;
4, when the protection VLAN at MEP place is deleted, the redirected rule that deletion issues on all of the port in this VLAN.
Fig. 5 is the flow chart according to the redirected filtration CFM message of embodiment of the invention failure of connectivity detection method, in the present embodiment, enable after the CFM function, physical port receives the CFM message and sends it to exchange chip (message also can pass through the processing of LM hardware module on CFM function service plate), on exchange chip, the redirection module utilization is redirected rule mates message, and message redirecting is arrived loading plate or this plate CPU.Detailed process is as follows:
S501, exchange chip receive the message that sends over from physical port, enter redirection module and handle;
S502 searches and is redirected in the rule whether CFM message redirecting rule is arranged, if execution in step S503 is arranged, if do not have then execution in step S504;
S503 utilizes CFM message redirecting rule that message is mated, and judges whether the message into CFM;
When not existing content in CFM message redirecting rule or the message and existing CFM to be redirected rule not match, there are two kinds of situations in S504: if non-CFM message is walked and the corresponding flow process of its type of message; If the CFM message is not bound MEP on this port or this locality does not dispose the CFM function, this moment, the CFM message will be walked the two layer message forwarding process as common two layer message;
S505 judges whether to be redirected to loading plate, messages transmitted to CPU when in system, not having CFM function loading plate, and when having CFM function loading plate in the system, CCM need be redirected to loading plate, other this plate of CFM message up sending CPU;
S506 with the OAM hardware module of CFM message redirecting to loading plate, mainly is to finish by issuing the interface index that obtains according to loading plate slot number, OAM hardware module sub-interface number when being redirected rule;
S507 with this plate of message up sending CPU, finishes corresponding C FM function by the CFM software module.
In this preferred embodiment, the OAM hardware module is mainly finished the CC function, comprises transmission, reception and the processing of CCM.
In the present embodiment, the transmission of CCM comprises: each Local MEP is preserved a SndTimer table in the OAM module, the timer that is used for timed sending CCM message, when enabling the CC function, SndTimer is shown initialization and pick up counting according to the cycle, the time sends and recovers initial value simultaneously to then triggering CCM.Message reads the CCM data when sending from the CC message table corresponding with Local MEP; insert information such as MEP ID and sequence of message number; broadcast away in the protection VLAN of corresponding MA, the message format of CCM satisfies the message requirement that defines among IEEE 802.1ag or the ITU-TY1731.
The reception of CCM and processing: after receiving the redirected CCM that comes, CCM and CC message table are mated, detect corresponding connection status according to matching result:
If 1 when not receiving the CCM message of far-end MEP in 3.5 times of transmission cycles, detect loss of connectivity with this MEP;
If cycle among 2 CCM and MEP ID are inconsistent with configuration, then detect wrong CCM;
If the MAID among 3 CCM is inconsistent with the MAID that receives the MEP place, then detect interconnection;
If the RDI field among 4 CCM is 1, then detect the far-end fault alarm.
The CCM message after the match is successful with the information updating in the message in far-end MEP tables of data, be used to finish both-end LM function.
In this preferred embodiment, the LM hardware module is mainly finished the LM function stipulated among the ITU-TY1731 and the tally function of DM function.
For finishing LM counting, preserving with VLAN ID in the hardware is statistical form such as Fig. 4 of index, is used for writing down the LM message number of the different maintenance field grades of different VLAN that local device receives.When the LM message through out-of-date, the LM hardware module can be inserted the respective field of message with the statistics number, use when calculating for local device and remote equipment.
For finishing the DM function, when system initialization or modification system time, system time is synchronized in the LM hardware module, the LM hardware module can be carried out timing according to its intrinsic clock frequency, and its precision can reach 8ns.When the DM message through out-of-date, the LM hardware module can be inserted the time respective field of message, uses when calculating for local device and remote equipment.
The CFM software module is positioned at the CPU of each feature board, this module is preserved and the corresponding list item of above-mentioned hardware module, the function of CC at a slow speed when being used for finishing the statistical work of the issuing of CFM configuration, LB function, LT function, LM and DM function and system and not having CFM function loading plate.
When enabling the LB function, the CFM software module sends or receives LB message (LBM, LB Message) and LB recovery message (LBR, LB Reply), and its processing procedure meets the regulation among IEEE 802.1ag and the ITU-TY1731;
When enabling the LT function, the CFM software module sends or receives LT message (LTM, LT Message) and LT recovery message (LTR, LT Reply), and its processing procedure meets the regulation among IEEE 802.1ag and the ITU-TY1731;
When enabling the LM function, for both-end LM, the CFM software module can be timed in the far-end MEP tables of data in the OAM hardware module and fetch data and the counting statistics result, for single-ended LM, meeting timed sending of CFM software module or reception LM message (LMM, LM Message) and LM recover message (LMR, LM Reply), and according to the data computation statistics among the LMR, said process meets the regulation among the ITU-TY1731;
When enabling the DM function, timed sending of CFM software module and reception DM message calculate the DM statistics according to the timestamp that carries in the DM message, and this process meets the regulation among the ITU-TY1731;
When not having CFM function loading plate in the system, by timed sending of CFM software module and reception CCM, this process is similar to the OAM hardware module, meets the regulation of IEEE 802.1ag or ITU-TY1731.
As can be seen from the above description, the present invention has realized following technique effect:
1, CC function, LB function, LT function, LM function, the DM function of IEEE 802.1ag and ITU-TY.1731 regulation have been realized;
2, LM and DM function are only supported on the CFM business board, and all veneers of all the other functions are supported, support single-ended LM and both-end LM to support unidirectional DM and two-way DM on the CFM business board;
3, every switch is supported 16 MD that IEEE 802.1ag and ITU-T Y1731 stipulate at least, supports 32 MA on each MD at least, supports 512 MEP on each MA at least, and complete machine is supported 8K MEP at least;
4, the MD of every switch support 8 grades of configuration (0-7), belong to user, service provider, operation 00ms, 1s, 10s, 60s, 600s, in this programme and system, the transmission cycle, the CCM less than 1s was known as quick CCM, and the transmission cycle, to be 1s and above CCM be CCM at a slow speed.
By the present invention, employing utilizes loading plate to handle the scheme of CFM message CCM fast, solve common veneer CPU and be difficult to realize quick CFM function, all adopt the high-performance veneer can cause the problem of the cost and the wasting of resources again, and then reached the effect that when effectively reducing other veneer load, improving utilization rate of equipment and installations, reduces equipment cost.
Simultaneously, the present invention also combines by hardware and software, and stamp is counted and beaten to hardware, the mode that software fetches data and adds up, handle the message of free stamp of transmission and receiving belt or message number statistics, realized packet delay statistics (DM) and packet loss statistics (LM) function.
Obviously, those skilled in the art should be understood that, above-mentioned each module of the present invention or each step can realize with the general calculation device, they can concentrate on the single calculation element, perhaps be distributed on the network that a plurality of calculation element forms, alternatively, they can be realized with the executable program code of calculation element, thereby, they can be stored in the storage device and carry out by calculation element, and in some cases, can carry out step shown or that describe with the order that is different from herein, perhaps they are made into each integrated circuit modules respectively, perhaps a plurality of modules in them or step are made into the single integrated circuit module and realize.Like this, the present invention is not restricted to any specific hardware and software combination.
The above is the preferred embodiments of the present invention only, is not limited to the present invention, and for a person skilled in the art, the present invention can have various changes and variation.Within the spirit and principles in the present invention all, any modification of being done, be equal to replacement, improvement etc., all should be included within protection scope of the present invention.

Claims (11)

1. a failure of connectivity detection method is characterized in that, comprising:
The CFM configuration information that will be used for detection of connectivity sends to the CFM function service plate of local terminal;
Described CFM function service plate receives the CC message that the opposite end sends according to described configuration information;
If described CFM function service plate does not receive the CC message that described opposite end sends in the given time, then described CFM function service plate detects described local terminal and breaks down to the connectedness between the described opposite end, and testing result is sent to the master control borad of described local terminal.
2. method according to claim 1 is characterized in that, when described CFM function service plate receives the CC message of opposite end transmission according to described configuration information, also comprises:
Described CFM function service plate sends the CC message according to described configuration information to described opposite end;
Described CFM function service plate is carried out packet delay statistics and packet loss statistics to the CC message that is sent.
3. method according to claim 1 is characterized in that, before described CFM function service plate receives the CC message of opposite end transmission according to described configuration information, selects the CFM function service plate of described local terminal by following steps:
Whether the veneer of judging current reception message is CFM function service plate;
If the veneer of then described current reception message is set to the CFM function service plate of described local terminal;
If not, then select the CFM function service plate of the CFM function service plate of slot number minimum in current all online CFM function service plates as described local terminal, perhaps, specify the CFM function service plate of an online CFM function service plate according to user's instruction as described local terminal.
4. method according to claim 3 is characterized in that, when rolling off the production line on having CFM function service plate, carries out the step of the CFM function service plate of selecting described local terminal.
5. method according to claim 1 is characterized in that, described CFM function service plate comprises according to the step that described configuration information receives the CC message of opposite end transmission:
The port that receives the CC message judges whether the described CC message that receives is the CFM message;
If the CFM message is then given described CFM function service plate with received CC message redirecting;
Described CFM function service plate receives the described CC message that receives according to described configuration information.
6. method according to claim 5 is characterized in that, is carrying out the CFM configuration, when specifying CFM function service plate or the upper and lower line of CFM function service plate according to user instruction described redirected rule is being sent to each described port.
7. method according to claim 5 is characterized in that, the port that receives the CC message judges that whether the described CC message that receives is that the step of CFM message comprises:
Described port mates the parameter of the CC message that receives, wherein, described parameter comprise following one of at least: the protocol type of message, VLAN ID, physical port number, MD grade, OpCode;
If whether the success of the parameter matching of the described CC message that receives, then judging the described CC message that receives is the CFM message.
8. a failure of connectivity detection system is characterized in that, comprising:
CFM function service plate is used to receive the CFM configuration information that is used for detection of connectivity, and receives the CC message that the opposite end sends according to described configuration information; If do not receive the CC message that described opposite end sends in the given time, then detect described local terminal and break down to the connectedness between the described opposite end;
Master control borad is used to receive the testing result that described CFM function service plate sends.
9. system according to claim 8 is characterized in that, described CFM function service plate also is used for sending the CC message according to described configuration information to described opposite end, and the CC message that is sent is carried out packet delay statistics and packet loss statistics.
10. system according to claim 8 is characterized in that, described master control borad comprises:
Judging unit is used for judging whether the veneer of current reception message is CFM function service plate before described CFM function service plate receives the CC message of opposite end transmission according to described configuration information;
Processing unit, when being used for veneer at described current reception message and being described CFM function service plate, the veneer of described current reception message is set to the CFM function service plate of described local terminal; When the veneer of described current reception message is not described CFM function service plate, select the CFM function service plate of the CFM function service plate of slot number minimum in current all online CFM function service plates as described local terminal, perhaps, specify the CFM function service plate of an online CFM function service plate according to user's instruction as described local terminal.
11. system according to claim 8 is characterized in that, the physical port that is used for receiving and dispatching fast described CC message is positioned at described CFM function service plate, perhaps, is arranged on the generic interface veneer of described failure of connectivity detection system.
CN2010106163517A 2010-12-30 2010-12-30 Method and system for detecting connectivity fault Pending CN102055624A (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
CN2010106163517A CN102055624A (en) 2010-12-30 2010-12-30 Method and system for detecting connectivity fault
PCT/CN2011/078980 WO2012088910A1 (en) 2010-12-30 2011-08-26 Method and system for detecting connectivity fault

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN2010106163517A CN102055624A (en) 2010-12-30 2010-12-30 Method and system for detecting connectivity fault

Publications (1)

Publication Number Publication Date
CN102055624A true CN102055624A (en) 2011-05-11

Family

ID=43959580

Family Applications (1)

Application Number Title Priority Date Filing Date
CN2010106163517A Pending CN102055624A (en) 2010-12-30 2010-12-30 Method and system for detecting connectivity fault

Country Status (2)

Country Link
CN (1) CN102055624A (en)
WO (1) WO2012088910A1 (en)

Cited By (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2012088910A1 (en) * 2010-12-30 2012-07-05 中兴通讯股份有限公司 Method and system for detecting connectivity fault
CN103001819A (en) * 2011-09-19 2013-03-27 盛科网络(苏州)有限公司 Method and system for processing OAM (operation, administration and maintenance) detecting results in MPLS-TP (multiple protocol label switching-transmission parameter) network
WO2016045302A1 (en) * 2014-09-25 2016-03-31 中兴通讯股份有限公司 Inward-facing connectivity fault management packet processing method and system, and network data exchange device
CN108282383A (en) * 2017-12-18 2018-07-13 瑞斯康达科技发展股份有限公司 A kind of method and apparatus for realizing troubleshooting
CN109428778A (en) * 2017-08-24 2019-03-05 龙芯中科技术有限公司 Mainboard network connectivty test method and device
CN113726614A (en) * 2021-10-20 2021-11-30 迈普通信技术股份有限公司 Method and device for preventing packet loss, distributed equipment and storage medium
WO2022022556A1 (en) * 2020-07-29 2022-02-03 中兴通讯股份有限公司 Fault diagnosis methods, fault diagnosis rule determining method, diagnosis function deployment method, related device, and storage medium
CN114567574A (en) * 2022-03-01 2022-05-31 烽火通信科技股份有限公司 Method and device for realizing LM flow-free test based on time sequence control

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103684887B (en) * 2013-12-31 2017-01-04 杭州华三通信技术有限公司 A kind of method and apparatus connecting the generation of error detection group network system hardware table item

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20050063395A1 (en) * 2003-09-18 2005-03-24 Cisco Technology, Inc. Virtual network device
CN101378333A (en) * 2008-10-08 2009-03-04 中兴通讯股份有限公司 System, apparatus and method for transmitting and receiving check information message continuously

Family Cites Families (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101521603B (en) * 2008-12-26 2011-10-26 中兴通讯股份有限公司 Method and system for quickly detecting connectivity of link
CN101499938B (en) * 2009-03-27 2011-08-03 武汉烽火网络有限责任公司 Apparatus and method for implementing high frequency continuity detection in CFM
CN102055624A (en) * 2010-12-30 2011-05-11 中兴通讯股份有限公司 Method and system for detecting connectivity fault

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20050063395A1 (en) * 2003-09-18 2005-03-24 Cisco Technology, Inc. Virtual network device
CN101378333A (en) * 2008-10-08 2009-03-04 中兴通讯股份有限公司 System, apparatus and method for transmitting and receiving check information message continuously

Cited By (14)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2012088910A1 (en) * 2010-12-30 2012-07-05 中兴通讯股份有限公司 Method and system for detecting connectivity fault
CN103001819A (en) * 2011-09-19 2013-03-27 盛科网络(苏州)有限公司 Method and system for processing OAM (operation, administration and maintenance) detecting results in MPLS-TP (multiple protocol label switching-transmission parameter) network
CN103001819B (en) * 2011-09-19 2015-01-21 盛科网络(苏州)有限公司 Method and system for processing OAM (operation, administration and maintenance) detecting results in MPLS-TP (multiple protocol label switching-transmission parameter) network
WO2016045302A1 (en) * 2014-09-25 2016-03-31 中兴通讯股份有限公司 Inward-facing connectivity fault management packet processing method and system, and network data exchange device
CN105515807A (en) * 2014-09-25 2016-04-20 中兴通讯股份有限公司 Up cfm message processing method and system and network data exchange device
CN105515807B (en) * 2014-09-25 2020-09-08 中兴通讯股份有限公司 Up cfm message processing method and system and network data exchange equipment
CN109428778A (en) * 2017-08-24 2019-03-05 龙芯中科技术有限公司 Mainboard network connectivty test method and device
CN109428778B (en) * 2017-08-24 2020-11-17 龙芯中科技术有限公司 Mainboard network connectivity test method and device
CN108282383A (en) * 2017-12-18 2018-07-13 瑞斯康达科技发展股份有限公司 A kind of method and apparatus for realizing troubleshooting
WO2022022556A1 (en) * 2020-07-29 2022-02-03 中兴通讯股份有限公司 Fault diagnosis methods, fault diagnosis rule determining method, diagnosis function deployment method, related device, and storage medium
CN113726614A (en) * 2021-10-20 2021-11-30 迈普通信技术股份有限公司 Method and device for preventing packet loss, distributed equipment and storage medium
CN113726614B (en) * 2021-10-20 2023-01-24 迈普通信技术股份有限公司 Method and device for preventing packet loss, distributed equipment and storage medium
CN114567574A (en) * 2022-03-01 2022-05-31 烽火通信科技股份有限公司 Method and device for realizing LM flow-free test based on time sequence control
CN114567574B (en) * 2022-03-01 2023-11-10 烽火通信科技股份有限公司 Method and device for realizing LM flow-free test based on time sequence control

Also Published As

Publication number Publication date
WO2012088910A1 (en) 2012-07-05

Similar Documents

Publication Publication Date Title
CN102055624A (en) Method and system for detecting connectivity fault
CN101150430B (en) A method for realizing network interface board switching based heartbeat mechanism
CN104243239B (en) The condition detection method and device of controller in a kind of SDN clusters
CN102315975B (en) Fault processing method based on intelligent resilient framework (IRF) system and equipment thereof
CN101355466B (en) Method and apparatus for transmitting continuous check information message
CN101094121B (en) Method, system and device for detecting Ethernet links among not direct connected devices
CN101188527B (en) A heartbeat detection method and device
CN101378333B (en) System, apparatus and method for transmitting and receiving check information message continuously
WO2014106382A1 (en) Power supply method and apparatus for access device
CN108632099B (en) Fault detection method and device for link aggregation
CN103036716B (en) Link switch-over method and system
CN103179178A (en) Method and device for expanding member ports of aggregation groups among clusters
CN103227725A (en) Method and device for dual-server backup of firewall
CN103152210A (en) Method for repairing spanning tree protocol (STP) forwarding state abnormalities and stacking equipment
WO2015168947A1 (en) Path switching method and device
CN103078791A (en) Method, device and system for processing operation, administration and maintenance (OAM) message
CN103188120B (en) The method for detecting packet loss of a kind of multicast service and device
US9853879B2 (en) Systems and methods for identifying interconnections among physical-layer cross-connect switches
CN111130821A (en) Power failure alarm method, processing method and device
CN107566143A (en) A kind of vertical stack finds method and apparatus
CN112769653B (en) Network detection and switching method, system and medium based on network port binding
CN205792668U (en) Multi-cascade link state monitoring system based on VRRP
US9960990B2 (en) Systems and methods for monitoring and managing communication paths
CN104202193A (en) Distributed protection link fault detection method
CN104821917B (en) A kind of topology discovery method for virtual switch system

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C02 Deemed withdrawal of patent application after publication (patent law 2001)
WD01 Invention patent application deemed withdrawn after publication

Application publication date: 20110511