CN103731322B - Method and device for detecting self-adapting link among devices with different capabilities - Google Patents

Method and device for detecting self-adapting link among devices with different capabilities Download PDF

Info

Publication number
CN103731322B
CN103731322B CN201410019111.7A CN201410019111A CN103731322B CN 103731322 B CN103731322 B CN 103731322B CN 201410019111 A CN201410019111 A CN 201410019111A CN 103731322 B CN103731322 B CN 103731322B
Authority
CN
China
Prior art keywords
mep
value
detectability
corresponding device
ccm message
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
CN201410019111.7A
Other languages
Chinese (zh)
Other versions
CN103731322A (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.)
New H3C Technologies Co Ltd
Original Assignee
Hangzhou H3C Technologies Co Ltd
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 Hangzhou H3C Technologies Co Ltd filed Critical Hangzhou H3C Technologies Co Ltd
Priority to CN201410019111.7A priority Critical patent/CN103731322B/en
Publication of CN103731322A publication Critical patent/CN103731322A/en
Application granted granted Critical
Publication of CN103731322B publication Critical patent/CN103731322B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Abstract

The invention discloses a method and a device for detecting a self-adapting link among different devices with different capabilities. The method includes that a first MEP receives a CCM transmitted by a second MEP and carrying detection capability information of a device of the second MEP; the first MEP determines whether the second MEP is an overall MEP or an outward MEP with a physical port upwards according to the detection capability information of the device of the second MEP in the CCM message and determines the controllable section of the detection capability of the device of the second MEP; if the first MEP determines that the value of a time interval domain in the CCM message transmitted by the first MEP is not in the controllable section of the detection capability of the device of the second MEP, the first MEP adjusts the value of the time interval domain in the CCM message transmitted by the first MEP to be in the controllable section of the detection capability of the device of the second MEP, and the adjusted value is carried in the CCM message and replied to the second MEP. By means of the method and the device, the problem that the neighbor cannot be built due to the fact that the capabilities of the devices are different is solved.

Description

Adaptive chain circuit detecting method and device between a kind of difference capacity device
Technical field
The present invention relates to network communication technology field, particularly to a kind of difference capacity device between adaptive link detecting Method and device.
Background technology
CFD(Connectivity Fault Detection, connects error detection)It is to be based in a kind of double layer network VLAN(Virtual Local Area Network, VLAN)End-to-end OAM(Operations, Administration and Maintenance, Operations, Administration and Maintenance)Mechanism, is mainly used in detection in double layer network Connectivity of link, and confirm fault when fault occurs and position.
The basic conception of CFD includes:
1、MD(Maintenance Domain, safeguards domain)Refer to connect a network or the network that error detection is covered A part.In order to be accurately positioned trouble point, MD introduces rank(Level)Concept.MD is divided into eight grades, with integer 0 ~7 representing, the bigger rank of numeral is higher, and the scope of MD is also bigger.Can be adjacent or nested between different MD, but can not hand over Fork, and can only be nested to low level MD from high-level MD when nested.
2、MA(Maintenance Association, safeguards collection)A part of MD, MD can be divided into one or Multiple MA.
3、MEP(Maintenance association End Point, safeguards end points)Configuration, on device port, belongs to In certain MA it is determined that the border of MA, it to be identified with " MEP ID ".MA belonging to MEP determines the message institute that this MEP sends The VLAN belonging to;The rank of MEP is equal to the rank of its affiliated MD, and the rank of the message that MEP sends is equal to the rank of this MEP.MEP has Directional, be divided into interior to MEP with export-oriented two kinds of MEP:Interior outside by the total interface in addition to the interface that it is located to MEP Send CFD protocol massages, broadcasted in the VLAN that its affiliated MA is serviced;Export-oriented MEP, export-oriented including polymerization logic interface On MEP, and port, export-oriented MEP, then be directly sent out CFD protocol massages by the interface that it is located.
4th, Service Instance:Service Instance, the MP in Service Instance(Maintenance Point, safeguards end Point)The level attribute of handled message and VLAN attribute to be determined by MD and MA respectively.Wherein, the MP no in the MA of VLAN attribute Also it is not belonging to any VLAN.
5、CCM(Continuity Check Message, connecting detection message)It is a kind of CFD protocol massages, by MEP Periodically send CCM message, obtain far-end MEP information, set up with far-end MEP and safeguard MEP neighborhood.
The CCM message transmission cycle for maintenance of neighbor information has 7 ranks, such as table 1 below:
Table 1
MEP configures on device port, and port configures on veneer again, permissible according to the ability of veneer transmission CCM message Veneer is divided into three types:There is the veneer of hardware detection ability(It is designated as slotFirmly), no hardware detection ability but have agency's energy The veneer of power(It is designated as slotGeneration), do not have hardware detection ability there is no the veneer of agent capability yet(It is designated as slotGeneral).slotFirmlyPermissible Send the CCM message of 1~7 rank, you can send the CCM message of all ranks;slotGenerationThe CCM report of 2~7 ranks can be sent Literary composition, can not send the CCM message less than 10ms but can send the CCM message being less than 1s more than or equal to 10ms(Certainly also can send out Send the CCM message more than 1s);slotGeneralThe CCM message of 4~7 ranks can be sent, can only send the CCM report more than or equal to 1s Literary composition.Normally will be less than the referred to as quick detection of 1s, more than or equal to the referred to as slow detection of 1s.Therefore slotFirmlyAnd slotGenerationSupport fast Speed detection, and slotGeneralOnly support slow detection.
Here, agency's detection function refers to that the CCM message of this plate MEP transfers to the CPU that acts on behalf of of other plates of this equipment to be received Send out and process.In the entire system, act on behalf of CPU if there are multiple, then by driving election master agent CPU, remaining is standby agency CPU.Overall MEP in master agent CPU execution system(Interior to MEP and polymerization logic interface extroversion MEP), execute this plate for acting on behalf of CPU On export-oriented MEP detection of connectivity function.Therefore on port, the detectability of export-oriented MEP depends on the energy of MEP place plate Power and the ability of overall master agent plate, the detectability of overall MEP depends on the ability of overall master agent plate.
In the CCM message that in same MA, all MEP send, the value in time interval domain must be identical, otherwise cannot set up neighbour Occupy.And the value that comes into force in time interval domain is directly related with the detectability of MEP in CCM message.And, general CCM message Time interval domain value be based on Service Instance configuration, that is, all MEP in the same Service Instance on same equipment send out The value in the time interval domain of the CCM message sending is identical.
Fig. 1 is a kind of real network illustraton of model applying CFD agreement.In the network shown in fig. 1, Device A has Hardware detection ability, one transmission of configuration on the port Eth1/1 of Device A is spaced apart the export-oriented MEP of 10ms.Device B Do not have hardware detection ability there is no agent capability yet, according to table 1, the port Eth1/2 of Device B can only configure transmission 4~7 The MEP of the CCM message of rank, and on the port Eth1/1 of Device A, the export-oriented MEP transmission of configuration is spaced apart 10ms, respective stages Other 2, now do not change Device A configuration in the case of no matter do on Device B what adjustment also cannot make its with Device A sets up and connects, because the value in time interval domain cannot be consistent in the CCM message of two ends MEP transmission.
Content of the invention
It is an object of the invention to provide a kind of difference capacity device between adaptive chain circuit detecting method and device, can Solve the problems, such as that equipment room cannot be set up due to the neighbours that ability difference causes.
For achieving the above object, the invention provides a kind of difference capacity device between adaptive link detecting side Method, the first forwarding unit is configured with first and safeguards end points MEP, and the second forwarding unit is configured with the 2nd MEP, and described first MEP and the 2nd MEP is based on same services example, and the method includes:
First MEP receives the connecting detection report carrying the 2nd MEP corresponding device detectability information that the 2nd MEP sends Civilian CCM, described equipment detectability packet contains overall master agent plate ability information and the 2nd MEP place plate ability information;
First MEP, according to the 2nd MEP corresponding device detectability information in CCM message, determines that the 2nd MEP is overall MEP, Or the export-oriented MEP on port, and determine the controlled interval of the 2nd MEP corresponding device detectability;
First MEP determines that the value in time interval domain in the CCM message itself sending does not detect energy in the 2nd MEP corresponding device In the controlled interval of power, then in the CCM message sending itself, the value in time interval domain adjusts and detects to the 2nd MEP corresponding device The controlled interval upper limit of ability, and the value after adjustment is carried and replies to the 2nd MEP in CCM message, will be from for the 2nd MEP The value in the time interval domain of body is set to the value after described adjustment.
For achieving the above object, present invention also offers adaptive link detecting dress between a kind of difference capacity device Put, described device is applied to safeguard end points MEP, this device includes:
Receiver module, for receiving the connection carrying the 2nd MEP corresponding device detectability information that the 2nd MEP sends Detection messages CCM, described equipment detectability packet contains overall master agent plate ability information and the 2nd MEP place plate ability letter Breath;
Determining module, for according to the 2nd MEP corresponding device detectability information in CCM message, determining that the 2nd MEP is complete Export-oriented MEP on office MEP, or port, and determine the controlled interval of the 2nd MEP corresponding device detectability;
Processing module, for determining the value in time interval domain in the CCM message itself sending not in the 2nd MEP corresponding device In the controlled interval of detectability, then in the CCM message sending itself, the value in time interval domain adjusts and sets to belonging to the 2nd MEP The controlled interval upper limit of standby detectability, and the value after adjustment is carried reply to the 2nd MEP in CCM message, for second The value in the time interval domain of itself is set to the value after described adjustment by MEP.
In sum, the embodiment of the present invention the 2nd MEP passes through Portable device detectability information in CCM message, informs First MEP, the overall master agent plate ability of the 2nd MEP corresponding device and the 2nd MEP place plate ability;First MEP passes through to receive Above-mentioned CCM message analysis go out the export-oriented MEP that the 2nd MEP is on overall MEP or port, and determine and set belonging to the 2nd MEP The controlled interval of standby detectability;First MEP determines the value in time interval domain in the CCM message itself sending not in the 2nd MEP In the controlled interval of corresponding device detectability, then in the CCM message sending itself, the value in time interval domain adjusts to second The controlled interval upper limit of MEP corresponding device detectability, and the value after adjustment is carried and replies to the 2nd MEP in CCM message. Thus realizing from ability equipment to capabilities hardware compatibility, in the base of sacrifice current ink performance detection level as few as possible A kind of self-adaptative adjustment is done on plinth.
Brief description
Fig. 1 is a kind of real network illustraton of model applying CFD agreement.
Fig. 2 is the schematic flow sheet of adaptive chain circuit detecting method between a kind of embodiment of the present invention difference capacity device.
Fig. 3 is the embodiment of the present invention one networking schematic diagram.
Fig. 4 is the embodiment of the present invention two networking schematic diagram.
Fig. 5 is adaptive link detecting between the different capacity device being applied to said method in the specific embodiment of the invention The structural representation of device.
Specific embodiment
For making the objects, technical solutions and advantages of the present invention become more apparent, develop simultaneously embodiment referring to the drawings, right Scheme of the present invention is described in further detail.
It should be noted that being hereinafter configured with a MEP on the first forwarding unit, the second forwarding unit is configured with Two MEP, a described MEP and the 2nd MEP are based on same services example.Wherein, a MEP can be joined on the first forwarding unit Any one MEP putting, and it is not specific to a certain MEP, the 2nd MEP can be any one MEP of configuration on the second forwarding unit, And it is not specific to a certain MEP.
Embodiments provide adaptive chain circuit detecting method between a kind of difference capacity device, its schematic flow sheet As shown in Fig. 2 the method includes:
Step 21, a MEP receive the company carrying the 2nd MEP corresponding device detectability information that the 2nd MEP sends Connect detection messages CCM, described equipment detectability packet contains overall master agent plate ability information and the 2nd MEP place plate ability Information;
Wherein, the 2nd MEP needs triggering just to carry the 2nd MEP corresponding device detectability information to a MEP transmission CCM message.When the 2nd MEP corresponding device detectability changes, or the 2nd MEP opens CCM message sending function, or the Two MEP receive the CCM message that a MEP sends and local not yet preserve a MEP corresponding device information when, the can be triggered Two MEP carry the 2nd MEP corresponding device detectability to what a MEP continuously transmitted specified quantity within the specified transmission cycle The CCM message of information, is then return to normally send the cycle(I.e. between the transmission of CCM message of above-mentioned 7 ranks Every).After reverting to the normal transmission cycle, the CCM message of transmission is common CCM message, not Portable device detectability information.
In trigger condition, the MEP with regard to equipment detectability change triggers sends the CCM of Portable device detectability information Message, if overall MEP then only focuses on whether overall master agent plate ability changes, if export-oriented MEP then needs on port Whether the overall master agent plate ability of concern and MEP place plate ability change.
In the embodiment of the present invention, Portable device detectability information is provided with 14 bit in CCM message(bit)Word Section, front 2 bit represent overall master agent plate ability, and rear 2 bit represent MEP place plate ability.Wherein 00 represent undefined, 01 Representative does not have hardware detection ability not have agent capability yet, 10 represent no hardware detection ability but have agent capability, 11 represent have Hardware detection ability.For MEP place plate ability, when the MEP sending CCM message is overall MEP, value is 00, because overall MEP only sees overall master agent plate ability.
Step 22, a MEP, according to the 2nd MEP corresponding device detectability information in CCM message, determine that the 2nd MEP is Overall MEP, or the export-oriented MEP on port, and determine the controlled interval of the 2nd MEP corresponding device detectability;
In the embodiment of the present invention, a MEP parses to the equipment detectability information field receiving, if second MEP place plate ability is 00, then that explanation opposite end sends CCM message is overall MEP;If the 2nd MEP place plate ability is other Value, then that explanation opposite end sends CCM message is port extroversion MEP.When overall master agent plate ability or MEP place plate ability take When value is respectively 01, the controlled interval of the equipment detectability being mapped to is [4,7];When value is respectively 10, be mapped to sets The controlled interval of standby detectability is [2,7];When value is respectively 11, the controlled interval of the equipment detectability being mapped to is [1,7].
Further, when determining that the 2nd MEP is overall MEP, determine the controlled area of the 2nd MEP corresponding device detectability Between be overall master agent plate ability controlled interval;When determining that the 2nd MEP is the export-oriented MEP on port, determine the 2nd MEP The controlled interval of corresponding device detectability is the controlled interval of overall master agent plate ability and the controlled area of the 2nd MEP place plate ability Between union.
Step 23, a MEP determine that the value in time interval domain in the CCM message itself sending is not setting belonging to the 2nd MEP In the controlled interval of standby detectability, then in the CCM message sending itself, the value in time interval domain adjusts to belonging to the 2nd MEP The controlled interval upper limit of equipment detectability, and the value after adjustment is carried and replies to the 2nd MEP in CCM message, for the The value in the time interval domain of itself is set to the value after described adjustment by two MEP.
Preferably, a MEP determines the value in time interval domain in the CCM message itself sending in the 2nd MEP corresponding device In the controlled interval of detectability, then do not need the value of adjustment time spacer domain, and unregulated information is carried in CCM message In reply to the 2nd MEP.
Preferably, when a MEP be interior to MEP when, a MEP by adjustment after value carrying in CCM message reply While to two MEP, also the value after adjustment is carried and is sent to other MEP in CCM message, for other MEP by itself Time interval domain value be set to described adjustment after value.
Preferably, in the value of adjustment time spacer domain and when being configured, can be entered with the difference of mode of being given out a contract for a project according to MEP Row is following to be configured:
When a MEP be interior to MEP when, will adjustment after value configure on the Service Instance that a MEP is based on;
When a MEP is export-oriented MEP, then directly do not change the time interval domain of the CCM message of configuration on Service Instance, But a sub- Service Instance is fictionalized based on this Service Instance, the service that the value configuration after adjustment is based in a MEP On the sub-services example of example, the level attribute of described sub-services example is consistent with former Service Instance with VLAN attribute.
Specifically, in the embodiment of the present invention, by the time interval domain of the CCM message of a MEP and the 2nd MEP corresponding device The controlled interval of detectability is compared, if the time interval domain of the CCM message of a MEP falls in the 2nd MEP corresponding device In the controlled interval of detectability, then need not carry out self-adaptative adjustment;If the time interval domain of the CCM message of a MEP does not exist In the controlled interval of the 2nd MEP corresponding device detectability, then need to carry out self-adaptative adjustment.First MEP gives after the completion of judging 2nd MEP replys the CCM message being spaced domain information with adjustment time, informs local terminal the need of adjustment.If local terminal needs to adjust Whole, then opposite end is also required to be adjusted correspondingly;If local terminal does not need to adjust, opposite end is also without adjustment.
So, the time interval domain of the CCM message of other MEP based on this Service Instance still maintains original value, makes net Network environment keeps stable, and the detection to link performance is also maintained at higher level.Adjust to CCM message time interval domain Value be the upper limit that opposite equip. ability can reach, therefore its value is only possible to as 2 or 4 (if opposite end MEP in theory The value in time interval domain can be 1, then do not need have adjusted).
Wherein, to the 2nd MEP, the CCM being spaced domain information with adjustment time is replied after the completion of judging for a MEP Message, can increase the field of 1 3bit in CCM message, and 000 represents and need not adjust, and 010 represents local terminal MEP by CCM message Time interval domain be set to 2,100 and represent local terminal MEP the time interval domain of CCM message is set to 4.2nd MEP receives this message After judge whether to need to adjust, if must adjustment; the value in the time interval domain of itself is set to time interval domain in message Value.On the premise of sacrifice link performance detection level as few as possible, thus complete the self adaptation between distinct device ability Adjustment.
For the clear explanation present invention, concrete scene is set forth below and is described in detail.
Embodiment one
Fig. 3 is the embodiment of the present invention one networking schematic diagram.As shown in figure 3, the Eth 1/1 of Device A, Eth1/2, Eth Be configured with export-oriented MEP on 1/3, the Eth 1/7 of Device B is configured with interior to MEP, Eth1/4 is the exit port of message, It is configured with export-oriented MEP, these MEP are based on same Service Instance on the Eth 1/6 of the Eth1/5 and Device D of Device C. Device A, Device B, Device C, Device D are respectively provided with hardware detection ability, the time based on Service Instance configuration The value of spacer domain is 1, i.e. the transmission of CCM message is spaced apart 3.3ms.
Under normal circumstances, several links all normally can set up neighbours, carries out link detecting.If the now overall situation of Device B Master agent plate breaks down, and the overall master agent plate re-electing does not have hardware detection ability but has agent capability, that is, meet and set The trigger condition of standby capacity variation.The interior CCM starting to encapsulate Portable device detectability information to MEP on Device B reports Literary composition, due to being overall MEP, the device capability information field therefore carrying is 1000, then continuously sends out within the specified transmission cycle Send the CCM message of the Portable device detectability information of specified quantity.
After Eth1/1 on Device A receives this message, analytic message finds that opposite end is overall MEP, arranges opposite equip. The controlled interval controlled interval for overall master agent plate ability of ability, i.e. [2,7].The value in the time interval domain of local terminal MEP is 1, not it is therefore desirable to be adjusted to the time interval domain of local terminal in the controlled interval of opposite equip. ability.Due to local terminal MEP It is export-oriented MEP, therefore directly do not change the time interval domain of the CCM message of configuration on the Service Instance of Device A, but base Fictionalize a sub- Service Instance in this Service Instance, its level attribute is consistent with former Service Instance with VLAN attribute, the time The value of spacer domain is revised as the higher limit that opposite equip. ability can reach, and that is, 2.
The increase field carrying in the CCM message that local terminal MEP replys to opposite end MEP is 010, and opposite end MEP receives reply report Wen Hou, the value in the time interval domain of itself is set to the value in the time interval domain in message.After the completion of negotiation, Device A and CCM message between Device B sends and is spaced apart 10ms, Device A and Device C and Device A and Device D Between CCM message send interval still be 3.3ms.Whole process to Device A and Device C and Device A and Neighbours between Device D do not have any impact, make network environment keep stable, the detection to link performance is also maintained at relatively High level.
Embodiment two
Fig. 4 is the embodiment of the present invention two networking schematic diagram.As shown in figure 4, being configured with introversion on the Eth 1/3 of Device A MEP, Eth1/1 and Eth1/2 are the exit ports of message, and the Eth 1/5 of Device C is configured with export-oriented MEP, the equal base of these MEP In same Service Instance.Device A, Device C are respectively provided with hardware detection ability, the time interval based on Service Instance configuration The value in domain is 1, i.e. the transmission of CCM message is spaced apart 3.3ms.
Device B is the new equipment adding, and Eth1/4 place plate does not have hardware detection ability not have agent capability yet, Overall master agent plate no hardware detection ability on Device B but have agent capability.Export-oriented MEP is configured on Eth1/4, with it His MEP is based on same Service Instance.When the CCM message sending function opening MEP on Device B or the CCM receiving opposite end report Wen Shi, that is, meet trigger condition(Note:Now Device A also may meet trigger condition, but Device A is ability equipment, The result consulted is to adjust, and detailed process will not be described here).Export-oriented MEP on Device B starts encapsulation and carries to set The CCM message of standby ability information, due to being export-oriented MEP on port, the device capability information field therefore carrying is 1001, so The CCM message of the Portable device ability information of specified quantity is continuously transmitted afterwards within the specified transmission cycle.
After Eth1/1 on Device A receives this message, forward the message to the introversion on Device A port Eth1/3 MEP, this is interior not to be overall MEP to MEP analytic message discovery opposite end, and the controlled interval of setting opposite equip. ability is overall main generation The controlled interval [2,7] of reason plate ability and the union of the controlled interval [4,7] of MEP place plate ability, i.e. [2,7].The time of local terminal MEP The value of spacer domain is 1, not it is therefore desirable to adjust to the time interval domain of local terminal in the controlled interval of opposite equip. ability Whole.Due to local terminal MEP be interior to MEP, therefore directly by the time interval of the CCM message of configuration on the Service Instance of Device A The value in domain is revised as the higher limit that opposite equip. ability can reach, and that is, 2.
The increase field carrying in the CCM message that local terminal MEP replys to opposite end MEP is 010, and opposite end MEP receives reply report Wen Hou, the value in the time interval domain of itself is set to the value in the time interval domain in message(Note:Due to Eth1/1 and Eth1/2 all It is exit port, the MEP on therefore Eth1/4 and Eth1/5 can receive this reply message, thus changing the time interval of itself The value in domain).After the completion of negotiation, CCM message between Device A and Device B sends and is spaced apart 10ms, Device A and It is also 10ms that CCM message between Device C sends interval, so that the detection to link performance maintains its ability institute energy The highest level reaching.
Based on same inventive concept, the present invention also proposes adaptive link detecting dress between a kind of difference capacity device Put, referring to Fig. 5, Fig. 5 is adaptive link between the different capacity device being applied to said method in the specific embodiment of the invention The structural representation of detection means.This device is applied to MEP, including:
Receiver module 501, carries the 2nd MEP corresponding device detectability information for receive that the 2nd MEP sends Connecting detection message CCM, described equipment detectability packet contains overall master agent plate ability information and the 2nd MEP place plate energy Force information;
Determining module 502, for according to the 2nd MEP corresponding device detectability information in CCM message, determining the 2nd MEP For overall MEP, or the export-oriented MEP on port, and determine the controlled interval of the 2nd MEP corresponding device detectability;
Processing module 503, for determining the value in time interval domain in the CCM message itself sending not belonging to the 2nd MEP In the controlled interval of equipment detectability, then in the CCM message sending itself, the value in time interval domain adjusts to the 2nd MEP institute The controlled interval upper limit of genus equipment detectability, and the value after adjustment is carried and replies to the 2nd MEP in CCM message, it is used for The value in the time interval domain of itself is set to the value after described adjustment by the 2nd MEP.
Further, described processing module 503, is additionally operable to determine the value in time interval domain in the CCM message that itself sends In the controlled interval of the 2nd MEP corresponding device detectability, then do not need the value of adjustment time spacer domain, and will be unregulated Information carries and replies to the 2nd MEP in CCM message.
Further, described determining module 502 specifically for:
When determining that the 2nd MEP is overall MEP, determine that the controlled interval of the 2nd MEP corresponding device detectability is the overall situation The controlled interval of master agent plate ability;
When determining that the 2nd MEP is the export-oriented MEP on port, determine the controlled of the 2nd MEP corresponding device detectability Interval is the controlled interval interval union controlled with the 2nd MEP place plate ability of overall master agent plate ability.
Further, when a MEP be interior to MEP when, described processing module 503 be additionally operable to will adjustment after value configuration exist On the Service Instance that first MEP is based on;
When a MEP is export-oriented MEP, described processing module 503 is additionally operable to configure the value after adjustment in a MEP institute Based on Service Instance sub-services example on, the level attribute of described sub-services example and VLAN attribute and former Service Instance one Cause.
Further, described device also includes triggering sending module 504, becomes for itself corresponding device detectability Change, or open CCM message sending function, or receive CCM message and local not yet preservation the 2nd MEP institute that the 2nd MEP sends During the information of genus equipment, send the CCM message carrying itself corresponding device detectability information to the 2nd MEP.
Adaptive chain circuit detecting method between present invention difference capacity device, can bring following benefit:Detect energy in equipment In the case that power difference causes neighbours cannot set up, and user cannot or be reluctant to have configured in change network, give one kind From ability equipment to the scheme of capabilities hardware compatibility, and the program is in sacrifice current ink performance detection as few as possible A kind of self-adaptative adjustment being done on the basis of level.
The above, only presently preferred embodiments of the present invention, it is not intended to limit protection scope of the present invention.All Within the spirit and principles in the present invention, any modification, equivalent substitution and improvement made etc., should be included in the protection of the present invention Within the scope of.

Claims (10)

1. adaptive chain circuit detecting method between a kind of difference capacity device, the first forwarding unit is configured with first and safeguards end points MEP, the second forwarding unit is configured with the 2nd MEP, and a described MEP and the 2nd MEP is based on same services example, the method bag Include:
First MEP receives the connecting detection message carrying the 2nd MEP corresponding device detectability information that the 2nd MEP sends CCM, described equipment detectability packet contains overall master agent plate ability information and the 2nd MEP place plate ability information;
First MEP, according to the 2nd MEP corresponding device detectability information in CCM message, determines that the 2nd MEP is overall MEP, or Export-oriented MEP on port, and determine the controlled interval of the 2nd MEP corresponding device detectability;
First MEP determines the value in time interval domain in the CCM message itself sending not in the 2nd MEP corresponding device detectability Controlled interval interior, then in the CCM message sending itself, the value in time interval domain adjusts to the 2nd MEP corresponding device detectability The controlled interval upper limit, and the value after adjustment is carried and replies to the 2nd MEP in CCM message, for the 2nd MEP by itself The value in time interval domain is set to the value after described adjustment.
2. the method for claim 1 is it is characterised in that the method further includes:First MEP determines what itself sent In CCM message, the value in time interval domain in the controlled interval of the 2nd MEP corresponding device detectability, does not then need adjustment time The value of spacer domain, and unregulated information is carried reply to the 2nd MEP in CCM message.
3. the method for claim 1 it is characterised in that in the described message according to CCM the 2nd MEP corresponding device detection energy Force information, determines that the 2nd MEP is overall MEP, or the export-oriented MEP on port, and determines the 2nd MEP corresponding device detection energy The controlled interval concrete grammar of power includes:
When determining that the 2nd MEP is overall MEP, determine that the controlled interval of the 2nd MEP corresponding device detectability is overall main generation The controlled interval of reason plate ability;
When determining that the 2nd MEP is the export-oriented MEP on port, determine the controlled interval of the 2nd MEP corresponding device detectability For the controlled interval interval union controlled with the 2nd MEP place plate ability of overall master agent plate ability.
4. the method for claim 1 is it is characterised in that the method further includes:When a MEP be interior to MEP when, Value after adjustment is configured on the Service Instance that a MEP is based on;
When a MEP is export-oriented MEP, the sub-services of the Service Instance that the value configuration after adjustment is based in a MEP are real In example, the level attribute of described sub-services example is consistent with former Service Instance with VLAN attribute.
5. the method for claim 1 changes it is characterised in that working as a MEP corresponding device detectability, or the One MEP opens CCM message sending function, or a MEP receives the CCM message that the 2nd MEP sends and local not yet preserves the During the information of two MEP corresponding devices, a described MEP is additionally operable to send to the 2nd MEP and carries a MEP corresponding device detection The CCM message of ability information.
6. adaptive link detecting device between a kind of difference capacity device, described device is applied to first and safeguards end points MEP, should Device includes:
Receiver module, for receiving the connecting detection carrying the 2nd MEP corresponding device detectability information that the 2nd MEP sends Message CCM, described equipment detectability packet contains overall master agent plate ability information and the 2nd MEP place plate ability information;
Determining module, for according to the 2nd MEP corresponding device detectability information in CCM message, determining that the 2nd MEP is the overall situation Export-oriented MEP on MEP, or port, and determine the controlled interval of the 2nd MEP corresponding device detectability;
Processing module, for determining the value in time interval domain in the CCM message that a MEP sends not in the 2nd MEP corresponding device In the controlled interval of detectability, then in the CCM message sending a MEP, the value in time interval domain adjusts to the 2nd MEP institute The controlled interval upper limit of genus equipment detectability, and the value after adjustment is carried and replies to the 2nd MEP in CCM message, it is used for The value in the time interval domain of itself is set to the value after described adjustment by the 2nd MEP.
7. device as claimed in claim 6, it is characterised in that described processing module, is additionally operable to determine what a MEP sent In CCM message, the value in time interval domain in the controlled interval of the 2nd MEP corresponding device detectability, does not then need adjustment time The value of spacer domain, and unregulated information is carried reply to the 2nd MEP in CCM message.
8. device as claimed in claim 6 it is characterised in that described determining module specifically for:
When determining that the 2nd MEP is overall MEP, determine that the controlled interval of the 2nd MEP corresponding device detectability is overall main generation The controlled interval of reason plate ability;
When determining that the 2nd MEP is the export-oriented MEP on port, determine the controlled interval of the 2nd MEP corresponding device detectability For the controlled interval interval union controlled with the 2nd MEP place plate ability of overall master agent plate ability.
9. device as claimed in claim 6 it is characterised in that when a MEP be interior to MEP when, described processing module is also used Value configuration after adjusting is on the Service Instance that a MEP is based on;
When a MEP is export-oriented MEP, described processing module is additionally operable to be based on the value configuration after adjustment in a MEP On the sub-services example of Service Instance, the level attribute of described sub-services example is consistent with former Service Instance with VLAN attribute.
10. device as claimed in claim 6 is it is characterised in that described device also includes triggering sending module, for first MEP corresponding device detectability changes, or opens CCM message sending function, or receives the CCM report that the 2nd MEP sends During the information of literary composition and local not yet preservation the 2nd MEP corresponding device, send to the 2nd MEP and carry itself corresponding device detection energy The CCM message of force information.
CN201410019111.7A 2014-01-16 2014-01-16 Method and device for detecting self-adapting link among devices with different capabilities Active CN103731322B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201410019111.7A CN103731322B (en) 2014-01-16 2014-01-16 Method and device for detecting self-adapting link among devices with different capabilities

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201410019111.7A CN103731322B (en) 2014-01-16 2014-01-16 Method and device for detecting self-adapting link among devices with different capabilities

Publications (2)

Publication Number Publication Date
CN103731322A CN103731322A (en) 2014-04-16
CN103731322B true CN103731322B (en) 2017-02-15

Family

ID=50455257

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201410019111.7A Active CN103731322B (en) 2014-01-16 2014-01-16 Method and device for detecting self-adapting link among devices with different capabilities

Country Status (1)

Country Link
CN (1) CN103731322B (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109792619B (en) * 2017-09-07 2023-03-17 北京小米移动软件有限公司 Method and device for realizing signaling detection, user equipment and base station
CN113438112B (en) * 2021-06-25 2022-12-20 瑞斯康达科技发展股份有限公司 Fault detection method, device, equipment and medium

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101355466A (en) * 2008-09-01 2009-01-28 中兴通讯股份有限公司 Method and apparatus for transmitting continuous check information message
CN101662383A (en) * 2009-09-17 2010-03-03 杭州华三通信技术有限公司 Method and equipment for configuring maintenance end points
CN102185711A (en) * 2011-04-26 2011-09-14 中兴通讯股份有限公司 Method and equipment for detecting link failure in hybrid network
CN103036793A (en) * 2012-12-17 2013-04-10 杭州华三通信技术有限公司 Delivery method of connectivity fault detection protocol messages and forwarding equipment

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101355466A (en) * 2008-09-01 2009-01-28 中兴通讯股份有限公司 Method and apparatus for transmitting continuous check information message
CN101662383A (en) * 2009-09-17 2010-03-03 杭州华三通信技术有限公司 Method and equipment for configuring maintenance end points
CN102185711A (en) * 2011-04-26 2011-09-14 中兴通讯股份有限公司 Method and equipment for detecting link failure in hybrid network
CN103036793A (en) * 2012-12-17 2013-04-10 杭州华三通信技术有限公司 Delivery method of connectivity fault detection protocol messages and forwarding equipment

Also Published As

Publication number Publication date
CN103731322A (en) 2014-04-16

Similar Documents

Publication Publication Date Title
CN102571426B (en) Double-homing protection method and device
JP2006237678A5 (en)
EP3096563B1 (en) Method and system for realizing network access via wifi
CN109219157A (en) A kind of configuration method and device of network mode
EP2858306B1 (en) Data transmission method, device and gateway
CN104852855B (en) Jamming control method, device and equipment
US20170078918A1 (en) Information interaction method, system and base station
CN102984057A (en) Multi-service integration dual-redundancy network system
US20150358340A1 (en) Method, apparatus and system for realizing security detection in heterogeneous network
US9007228B2 (en) Transmission system using dying gasp
CN103379046A (en) Method for improving message sending efficiency through IP message combining and splitting technology
CN103188171B (en) A kind of method for dispatching message and equipment
CN102857421B (en) A kind of VLL fault detection method and equipment
CN103825819A (en) Methods and devices for sending and receiving messages
CN103731322B (en) Method and device for detecting self-adapting link among devices with different capabilities
US8645551B2 (en) Method for automatically negotiating type of service and aggregation apparatus therefor
CN106130833B (en) Based on Inter-MAC layers of home network fusion method and device
CN101883117A (en) Interface business centralized processing method and system thereof
CN102870381A (en) PCIE switching system, apparatus and switching method
CN103259687A (en) Air traffic control data access platform in civil aviation
CN102546364A (en) Network data distribution method and device
CN104468347A (en) Method and device for controlling self-loopback of network data
CN103227733B (en) A kind of topology discovery method and system
CN102594696B (en) A kind of method and device managing network device link aggregation group
CN106788921A (en) Many CPE redundant links system and methods

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C14 Grant of patent or utility model
GR01 Patent grant
CP03 Change of name, title or address
CP03 Change of name, title or address

Address after: 310052 Binjiang District Changhe Road, Zhejiang, China, No. 466, No.

Patentee after: Xinhua three Technology Co., Ltd.

Address before: 310053 Hangzhou hi tech Industrial Development Zone, Zhejiang province science and Technology Industrial Park, No. 310 and No. six road, HUAWEI, Hangzhou production base

Patentee before: Huasan Communication Technology Co., Ltd.