CN103731322A - 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
CN103731322A
CN103731322A CN201410019111.7A CN201410019111A CN103731322A CN 103731322 A CN103731322 A CN 103731322A CN 201410019111 A CN201410019111 A CN 201410019111A CN 103731322 A CN103731322 A CN 103731322A
Authority
CN
China
Prior art keywords
mep
value
corresponding device
ccm message
detectability
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.)
Granted
Application number
CN201410019111.7A
Other languages
Chinese (zh)
Other versions
CN103731322B (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

Images

Landscapes

  • Data Exchanges In Wide-Area Networks (AREA)
  • Computer And Data Communications (AREA)

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 different capacity device
Technical field
The present invention relates to network communications technology field, particularly adaptive chain circuit detecting method and device between a kind of different capacity device.
Background technology
CFD(Connectivity Fault Detection, be communicated with error detection) be based on VLAN(Virtual Local Area Network in a kind of double layer network, VLAN) end-to-end OAM(Operations, Administration and Maintenance, Operations, Administration and Maintenance) mechanism, be mainly used in detecting connectivity of link in double layer network, and when fault occurs, confirm fault location.
The basic conception of CFD comprises:
1, MD(Maintenance Domain, maintenance field) refer to network being communicated with that error detection covers or a part for network.In order accurately to locate fault point, in MD, introduced the concept of rank (level).MD is divided into eight grades, represents with integer 0~7, and numeral more large level is higher, and the scope of MD is also just larger.Can be adjacent or nested between different MD, but can not intersect, and can only be nested to low level MD by high-level MD when nested.
2, MA(Maintenance Association, safeguards collection) be a part of MD, a MD can be divided into one or more MA.
3, MEP(Maintenance association End Point, maintaining end point) be configured on device port, belong to certain MA, determined the border of MA, it identifies with " MEP ID ".MA under MEP has determined the affiliated VLAN of message that this MEP sends; The rank of MEP equals the rank of its affiliated MD, and the rank of the message that MEP sends equals the rank of this MEP.MEP has directivity, is divided into interior to two kinds of MEP and export-oriented MEP: interiorly to MEP, by the total interface except the interface at its place, outwards send CFD protocol massages, in the VLAN that MA serves under it, broadcast; Export-oriented MEP, comprises the export-oriented MEP of polymerization logic interface, and export-oriented MEP on physics mouth, directly by the interface at its place, outwards sends CFD protocol massages.
4, Service Instance: Service Instance, the MP(Maintenance Point in Service Instance, maintaining end point) level attribute and the VLAN attribute of the message of processing determined by MD and MA respectively.Wherein, without the MP in the MA of VLAN attribute, do not belong to any VLAN yet.
5, CCM(Continuity Check Message, connects detection messages) be a kind of CFD protocol massages, by MEP, periodically send CCM message, obtain far-end MEP information, set up and safeguard MEP neighborhood with far-end MEP.
Have 7 ranks for CCM message transmission cycle of maintenance of neighbor information, as following table 1:
Figure BDA0000457619500000021
Table 1
MEP is configured on device port, and port is configured in again on veneer, and the ability that sends CCM message according to veneer can be divided into three types by veneer: have the veneer of hardware detection ability (to be designated as slot firmly), without hardware detection ability but there is the veneer of agent capability (to be designated as slot generation), do not have hardware detection ability not have the veneer of agent capability (to be designated as slot yet general).Slot firmlythe CCM message of 1~7 rank can be sent, the CCM message of all ranks can be sent; Slot generationcan send the CCM message of 2~7 ranks, can not send and be less than the CCM message of 10ms but can send the CCM message (certainly also can send the CCM message that is greater than 1s) that is more than or equal to 10ms and is less than 1s; Slot generalcan send the CCM message of 4~7 ranks, can only send the CCM message that is more than or equal to 1s.Generally will be less than the fast detecting that is called of 1s, be more than or equal to the slow detection that is called of 1s.Therefore slot firmlyand slot generationsupport fast detecting, and slot generalonly support slow detection.
Here, acting on behalf of the CCM message that measuring ability refers to this plate MEP transfers to the CPU that acts on behalf of of other plates of this equipment to receive and dispatch processing.In whole system, if there are multiple CPU of agency,, by driving election master agent CPU, remaining is the standby CPU that acts on behalf of.In master agent CPU executive system in overall MEP(to MEP and the export-oriented MEP of polymerization logic interface), the standby detection of connectivity function of acting on behalf of CPU and carry out the export-oriented MEP on this plate.Therefore on physics mouth, the detectability of export-oriented MEP depends on the ability of MEP place plate and the ability of overall master agent plate, and 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 territory must be identical, otherwise cannot set up neighbours.And the value that comes into force in time interval territory is directly related with the detectability of MEP in CCM message.And the value in the time interval territory of general CCM message is based on Service Instance configuration, the value in the time interval territory of the CCM message that all MEP in the same Service Instance on same equipment send is identical.
Fig. 1 is a kind of real network illustraton of model of applying CFD agreement.In the network shown in fig. 1, Device A has hardware detection ability, configures a transmission and be spaced apart the export-oriented MEP of 10ms on the port Eth1/1 of Device A.Device B does not have hardware detection ability there is no agent capability yet, according to table 1, on the port Eth1/2 of Device B, can only configure the MEP of the CCM message that sends 4~7 ranks, and the export-oriented MEP transmission of the upper configuration of the port Eth1/1 of Device A is spaced apart 10ms, corresponding level 2, now in the situation that not changing Device A configuration, no matter on Device B, do what adjustment and also cannot make itself and Device A connect, because the value in time interval territory cannot be consistent in the CCM message that two ends MEP sends.
Summary of the invention
The object of the present invention is to provide adaptive chain circuit detecting method and device between a kind of different capacity device, can solve the problem that neighbours that equipment room causes due to ability difference cannot set up.
For achieving the above object, the invention provides adaptive chain circuit detecting method between a kind of different capacity device, on the first forwarding unit, dispose the first maintaining end point MEP, on the second forwarding unit, dispose the 2nd MEP, a described MEP and the 2nd MEP are based on same services example, and the method comprises:
The one MEP receives the connection detection messages CCM that carries the 2nd MEP corresponding device detectability information that the 2nd MEP sends, and described equipment Inspection ability information comprises overall master agent plate ability information and the 2nd MEP place plate ability information;
The one 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 physics mouth, and determines the controlled interval of the 2nd MEP corresponding device detectability;
The one MEP determines that the value in time interval territory in the CCM message self sending is not in the controlled interval of the 2nd MEP corresponding device detectability, in the CCM message self being sent, the value in time interval territory is adjusted to the controlled interval upper limit of the 2nd MEP corresponding device detectability, and the value after adjusting is carried in CCM message and replies to the 2nd MEP, for the 2nd MEP, the value in the time interval territory of self is set to the value after described adjustment.
For achieving the above object, the present invention also provides adaptive link detecting device between a kind of different capacity device, and described application of installation is in maintaining end point MEP, and this device comprises:
Receiver module, the connection detection messages CCM that carries the 2nd MEP corresponding device detectability information sending for receiving the 2nd MEP, described equipment Inspection ability information comprises overall master agent plate ability information and the 2nd MEP place plate ability information;
Determination module, for according to CCM message the 2nd MEP corresponding device detectability information, determines that the 2nd MEP is overall MEP, or the export-oriented MEP on physics mouth, and determines the controlled interval of the 2nd MEP corresponding device detectability;
Processing module, the value that is used for determining the CCM message time interval territory self sending is not in the controlled interval of the 2nd MEP corresponding device detectability, in the CCM message self being sent, the value in time interval territory is adjusted to the controlled interval upper limit of the 2nd MEP corresponding device detectability, and the value after adjusting is carried in CCM message and replies to the 2nd MEP, for the 2nd MEP, the value in the time interval territory of self is set to the value after described adjustment.
In sum, the embodiment of the present invention the 2nd MEP, by Portable device detectability information in CCM message, informs a MEP, the overall master agent plate ability of the 2nd MEP corresponding device and the 2nd MEP place plate ability; It is the export-oriented MEP on overall MEP or physics mouth that the one MEP goes out the 2nd MEP by the above-mentioned CCM message analysis receiving, and determines the controlled interval of the 2nd MEP corresponding device detectability; The one MEP determines that the value in time interval territory in the CCM message self sending is not in the controlled interval of the 2nd MEP corresponding device detectability, in the CCM message self being sent, the value in time interval territory is adjusted to the controlled interval upper limit of the 2nd MEP corresponding device detectability, and the value after adjusting is carried at and in CCM message, replies to the 2nd MEP.Thereby realize by high capacity device to low ability hardware compatibility, a kind of self adaptation adjustment of doing on the basis of the current link performance detection level of the least possible sacrifice.
Accompanying drawing explanation
Fig. 1 is a kind of real network illustraton of model of applying CFD agreement.
Fig. 2 is the schematic flow sheet of adaptive chain circuit detecting method between a kind of different capacity device of the embodiment of the present invention.
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 diagrames.
Fig. 5 is the structural representation that is applied to adaptive link detecting device between the different capacity device of said method in the specific embodiment of the invention.
Embodiment
For making object of the present invention, technical scheme and advantage clearer, referring to the accompanying drawing embodiment that develops simultaneously, scheme of the present invention is described in further detail.
It should be noted that, hereinafter on the first forwarding unit, dispose a MEP, dispose the 2nd MEP on the second forwarding unit, a described MEP and the 2nd MEP are based on same services example.Wherein, a MEP can be any one MEP configuring on the first forwarding unit, does not refer in particular to a certain MEP, and the 2nd MEP can be any one MEP configuring on the second forwarding unit, does not refer in particular to a certain MEP.
The embodiment of the present invention provides adaptive chain circuit detecting method between a kind of different capacity device, and as shown in Figure 2, the method comprises its schematic flow sheet:
Step 21, a MEP receive the connection detection messages CCM that carries the 2nd MEP corresponding device detectability information that the 2nd MEP sends, and described equipment Inspection ability information comprises overall master agent plate ability information and the 2nd MEP place plate ability information;
Wherein, the 2nd MEP need to trigger the CCM message that just sends the 2nd MEP corresponding device detectability information that carries to a MEP.When the 2nd MEP corresponding device detectability changes, or the 2nd MEP open CCM message sending function, or the 2nd MEP receive CCM message that a MEP sends and local while not yet preserving the information of a MEP corresponding device, can trigger the 2nd MEP sends continuously specified quantity within the CCM message that carries the 2nd MEP corresponding device detectability information from the appointment transmission cycle a to MEP, then revert to the normal transmission cycle (being the transmission interval of the CCM message of above-mentioned 7 ranks).Revert to all after dates of normal transmission, the CCM message of transmission is common CCM message, not Portable device detectability information.
The MEP triggering about equipment Inspection capacity variation in trigger condition sends the CCM message of Portable device detectability information, if whether overall MEP only pays close attention to overall master agent plate ability and changes, if export-oriented MEP needs to pay close attention to overall master agent plate ability and whether MEP place plate ability changes on physics mouth.
In the embodiment of the present invention, Portable device detectability information is provided with the field of 14 bit (bit) in CCM message, and front 2 bit represent overall master agent plate ability, and rear 2 bit represent MEP place plate ability.Wherein 00 represent undefinedly, 01 representative does not have hardware detection ability there is no agent capability yet, and 10 representatives are without hardware detection ability but there is agent capability, and 11 representatives have hardware detection ability.For MEP place plate ability value when the MEP that sends CCM message is overall MEP, be 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 physics mouth, and determine the controlled interval of the 2nd MEP corresponding device detectability;
In the embodiment of the present invention, a MEP resolves the equipment Inspection capability information field receiving, if the 2nd MEP place plate ability is 00, that opposite end transmission CCM message is described is overall MEP; If the 2nd MEP place plate ability is other value, that opposite end transmission CCM message is described is the export-oriented MEP of physics mouth.When overall master agent plate ability or MEP place plate ability value are respectively 01, the controlled interval of the equipment Inspection ability being mapped to is [4,7]; Value is respectively 10 o'clock, and the controlled interval of the equipment Inspection ability being mapped to is [2,7]; Value is respectively 11 o'clock, and the controlled interval of the equipment Inspection ability being mapped to is [1,7].
Further, when definite the 2nd MEP is overall MEP, the controlled interval of determining the 2nd MEP corresponding device detectability is the controlled interval of overall master agent plate ability; When definite the 2nd MEP is the export-oriented MEP on physics mouth, the controlled interval of determining the 2nd MEP corresponding device detectability is the union in the controlled interval of overall master agent plate ability and the 2nd controlled interval of plate ability, MEP place.
Step 23, a MEP determine that the value in time interval territory in the CCM message self sending is not in the controlled interval of the 2nd MEP corresponding device detectability, in the CCM message self being sent, the value in time interval territory is adjusted to the controlled interval upper limit of the 2nd MEP corresponding device detectability, and the value after adjusting is carried in CCM message and replies to the 2nd MEP, for the 2nd MEP, the value in the time interval territory of self is set to the value after described adjustment.
Preferably, the one MEP determines that the value in time interval territory in the CCM message self sending is in the controlled interval of the 2nd MEP corresponding device detectability, do not need to adjust the value in time interval territory, and unregulated information is carried at and in CCM message, replies to the 2nd MEP.
Preferably, when a MEP is interior during to MEP, when the one MEP replies to the 2nd MEP in the value after adjusting is carried to CCM message, also the value after adjusting is carried in CCM message and sends to other MEP, for other MEP, the value in the time interval territory of self is set to the value after described adjustment.
Preferably, adjusting the value in time interval territory and while being configured, can, according to the give out a contract for a project difference of mode of MEP, configure as follows:
When a MEP is interior during to MEP, by the value after adjusting be configured in a MEP based on Service Instance on;
When a MEP is export-oriented MEP, directly do not change the time interval territory of the CCM message configuring on Service Instance, but fictionalize a sub-Service Instance based on this Service Instance, by the value after adjusting be configured in a MEP based on the sub-services example of Service Instance on, the level attribute of described sub-services example is consistent with former Service Instance with VLAN attribute.
Concrete, in the embodiment of the present invention, the controlled interval of the time interval territory of the CCM message of the one MEP and the 2nd MEP corresponding device detectability is compared, if the time interval territory of the CCM message of a MEP is dropped in the controlled interval of the 2nd MEP corresponding device detectability, need not carry out self adaptation adjustment; If the time interval territory of the CCM message of a MEP, not in the controlled interval of the 2nd MEP corresponding device detectability, needs to carry out self adaptation adjustment.The one MEP replys with the CCM message of adjusting time interval domain information to after judgement completes the 2nd MEP, informs whether local terminal needs to adjust.If local terminal needs to adjust, opposite end also needs to adjust accordingly; If local terminal does not need to adjust, opposite end does not need to adjust yet.
Like this, the time interval territory of the CCM message of other MEP based on this Service Instance still maintains original value, makes network environment keep stable, and the detection of link performance is also maintained to higher level.The value in the time interval territory of the CCM message being adjusted to is the upper limit that opposite equip. ability can reach, and therefore its value may be only 2 or 4 (if the value in the time interval territory of opposite end MEP can be 1, not needing to have adjusted) in theory.
Wherein, reply with the CCM message of adjusting time interval domain information to after judgement completes for a MEP the 2nd MEP, can in CCM message, increase by the field of 1 3bit, 000 representative need not be adjusted, 010 represents that local terminal MEP is set to 2,100 by the time interval territory of CCM message and represents that local terminal MEP is set to 4 by the time interval territory of CCM message.The 2nd MEP judges whether to need to adjust after receiving this message, if must adjust the value that value in the time interval territory of self is set to the time interval territory in message.So just under the prerequisite of the least possible sacrifice link performance detection level, completed the self adaptation adjustment between distinct device ability.
For clearly demonstrating the present invention, enumerate concrete scene below and be elaborated.
Embodiment mono-
Fig. 3 is the embodiment of the present invention one networking schematic diagram.As shown in Figure 3, on Eth 1/1, the Eth1/2 of Device A, Eth 1/3, dispose export-oriented MEP, on the Eth 1/7 of Device B, dispose interior to MEP, Eth1/4 is the outbound port of message, on the Eth 1/6 of the Eth1/5 of Device C and Device D, dispose export-oriented MEP, these MEP are all based on same Service Instance.Device A, Device B, Device C, Device D all have hardware detection ability, and the value in the time interval territory based on Service Instance configuration is 1, i.e. the transmission of CCM message is spaced apart 3.3ms.
Under normal circumstances, several links all can normally be set up neighbours, carry out link detecting.If now the overall master agent plate of Device B breaks down, the overall master agent plate re-electing does not have hardware detection ability but has agent capability, meets the trigger condition that capacity of equipment changes.The interior CCM message that starts to encapsulate Portable device detectability information to MEP on Device B, owing to being overall MEP, the device capability information field of therefore carrying is 1000, then at the CCM message of specifying the continuous Portable device detectability information that sends specified quantity in the transmission cycle.
Eth1/1 on Device A receives after this message, and analytic message finds that opposite end is overall MEP, and the controlled interval that opposite equip. ability is set is the controlled interval of overall master agent plate ability, i.e. [2,7].The value in the time interval territory of local terminal MEP is 1, not in the controlled interval of opposite equip. ability, therefore needs the time interval territory of local terminal to adjust.Because local terminal MEP is export-oriented MEP, therefore directly do not change the time interval territory of the CCM message configuring on the Service Instance of Device A, but fictionalize a sub-Service Instance based on this Service Instance, its level attribute is consistent with former Service Instance with VLAN attribute, the value in time interval territory is revised as the higher limit that opposite equip. ability can reach, and 2.
The increase field of carrying in the CCM message that local terminal MEP replys to opposite end MEP is 010, and opposite end MEP receives and replys after message, the value in the time interval territory of self is set to the value in the time interval territory in message.After negotiation completes, the CCM message between Device A and Device B sends and is spaced apart 10ms, and it is still 3.3ms that the CCM message between Device A and Device C and Device A and Device D sends interval.Whole process does not have any impact to the neighbours between Device A and Device C and Device A and Device D, makes network environment keep stable, and the detection of link performance is also maintained to higher level.
Embodiment bis-
Fig. 4 is the embodiment of the present invention two networking schematic diagrames.As shown in Figure 4, dispose interiorly to MEP on the Eth 1/3 of Device A, Eth1/1 and Eth1/2 are the outbound ports of message, on the Eth 1/5 of Device C, dispose export-oriented MEP, and these MEP are all based on same Service Instance.Device A, Device C all have hardware detection ability, and the value in the time interval territory based on Service Instance configuration is 1, i.e. the transmission of CCM message is spaced apart 3.3ms.
Device B is the equipment newly adding, and Eth1/4 place plate does not have hardware detection ability there is no agent capability yet, and the overall master agent plate on Device B is without hardware detection ability but there is agent capability.On Eth1/4, configure export-oriented MEP, with other MEP based on same Service Instance.When opening the CCM message sending function of MEP on Device B or receiving the CCM message of opposite end, meet trigger condition (note: now Device A may also meet trigger condition, but Device A is high capacity device, the result of negotiation is to adjust, and detailed process does not repeat them here).Export-oriented MEP on Device B starts to encapsulate the CCM message of Portable device ability information, owing to being export-oriented MEP on physics mouth, the device capability information field of therefore carrying is 1001, then at the CCM message of specifying the continuous Portable device ability information that sends specified quantity in the transmission cycle.
Eth1/1 on Device A receives after this message, forward the packet interior to MEP on Device A port Eth1/3, this is interior is not overall MEP to MEP analytic message discovery opposite end, the controlled interval that opposite equip. ability is set is the controlled interval [2 of overall master agent plate ability, 7] and the controlled interval [4 of MEP place plate ability, 7] union, i.e. [2,7].The value in the time interval territory of local terminal MEP is 1, not in the controlled interval of opposite equip. ability, therefore needs the time interval territory of local terminal to adjust.Because local terminal MEP is interior to MEP, therefore directly the value in the time interval territory of the CCM message configuring on the Service Instance of Device A is revised as to the higher limit that opposite equip. ability can reach, 2.
The increase field of carrying in the CCM message that local terminal MEP replys to opposite end MEP is 010, opposite end MEP receives and replys after message, the value in the time interval territory of self is set to the value (note: because Eth1/1 and Eth1/2 are outbound ports in the time interval territory in message, therefore the MEP on Eth1/4 and Eth1/5 can receive this reply message, thereby revises the value in the time interval territory of self).After negotiation completes, the CCM message between Device A and Device B sends and is spaced apart 10ms, and it is also 10ms that the CCM message between Device A and Device C sends interval, thereby makes the detection of link performance maintain the highest level that its ability can reach.
Based on same inventive concept, the present invention also proposes adaptive link detecting device between a kind of different capacity device, referring to Fig. 5, Fig. 5 is the structural representation that is applied to adaptive link detecting device between the different capacity device of said method in the specific embodiment of the invention.This application of installation, in MEP, comprising:
Receiver module 501, the connection detection messages CCM that carries the 2nd MEP corresponding device detectability information sending for receiving the 2nd MEP, described equipment Inspection ability information comprises overall master agent plate ability information and the 2nd MEP place plate ability information;
Determination module 502, for according to CCM message the 2nd MEP corresponding device detectability information, determines that the 2nd MEP is overall MEP, or the export-oriented MEP on physics mouth, and determines the controlled interval of the 2nd MEP corresponding device detectability;
Processing module 503, the value that is used for determining the CCM message time interval territory self sending is not in the controlled interval of the 2nd MEP corresponding device detectability, in the CCM message self being sent, the value in time interval territory is adjusted to the controlled interval upper limit of the 2nd MEP corresponding device detectability, and the value after adjusting is carried in CCM message and replies to the 2nd MEP, for the 2nd MEP, the value in the time interval territory of self is set to the value after described adjustment.
Further, described processing module 503, also for determining that the value in CCM message time interval territory self sending, in the controlled interval of the 2nd MEP corresponding device detectability, does not need to adjust the value in time interval territory, and unregulated information is carried at and in CCM message, replies to the 2nd MEP.
Further, described determination module 502 specifically for:
When definite the 2nd MEP is overall MEP, the controlled interval of determining the 2nd MEP corresponding device detectability is the controlled interval of overall master agent plate ability;
When definite the 2nd MEP is the export-oriented MEP on physics mouth, the controlled interval of determining the 2nd MEP corresponding device detectability is the union in the controlled interval of overall master agent plate ability and the 2nd controlled interval of plate ability, MEP place.
Further, when a MEP is interior during to MEP, described processing module 503 also for the value after adjusting is configured in a MEP based on Service Instance;
When a MEP is export-oriented MEP, described processing module 503 also for the value after adjusting is configured in a MEP based 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.
Further, described device also comprises triggering sending module 504, for self corresponding device detectability, change, or unlatching CCM message sending function, or receive CCM message that the 2nd MEP sends and local while not yet preserving the information of the 2nd MEP corresponding device, to the 2nd MEP, send the CCM message that carries self corresponding device detectability information.
Adaptive chain circuit detecting method between the different capacity device of the present invention, can bring following benefit: in equipment Inspection ability difference, cause that neighbours cannot set up, and user cannot or be reluctant to change in the situation of existing configuration in network, provided a kind of by high capacity device the scheme to low ability hardware compatibility, and this scheme is a kind of self adaptation adjustment of doing on the basis of the current link performance detection level of the least possible sacrifice.
The above, be only preferred embodiment of the present invention, is not intended to limit protection scope of the present invention.Within the spirit and principles in the present invention all, any modification of doing, be equal to replacement, improvement etc., within all should being included in protection scope of the present invention.

Claims (10)

1. an adaptive chain circuit detecting method between different capacity device, disposes the first maintaining end point MEP on the first forwarding unit, dispose the 2nd MEP on the second forwarding unit, and a described MEP and the 2nd MEP are based on same services example, and the method comprises:
The one MEP receives the connection detection messages CCM that carries the 2nd MEP corresponding device detectability information that the 2nd MEP sends, and described equipment Inspection ability information comprises overall master agent plate ability information and the 2nd MEP place plate ability information;
The one 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 physics mouth, and determines the controlled interval of the 2nd MEP corresponding device detectability;
The one MEP determines that the value in time interval territory in the CCM message self sending is not in the controlled interval of the 2nd MEP corresponding device detectability, in the CCM message self being sent, the value in time interval territory is adjusted to the controlled interval upper limit of the 2nd MEP corresponding device detectability, and the value after adjusting is carried in CCM message and replies to the 2nd MEP, for the 2nd MEP, the value in the time interval territory of self is set to the value after described adjustment.
2. the method for claim 1, it is characterized in that, the method further comprises: a MEP determines that the value in time interval territory in the CCM message self sending is in the controlled interval of the 2nd MEP corresponding device detectability, do not need to adjust the value in time interval territory, and unregulated information is carried at and in CCM message, replies to the 2nd MEP.
3. the method for claim 1, it is characterized in that, described 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 physics mouth, and determine that the concrete grammar in the controlled interval of the 2nd MEP corresponding device detectability comprises:
When definite the 2nd MEP is overall MEP, the controlled interval of determining the 2nd MEP corresponding device detectability is the controlled interval of overall master agent plate ability;
When definite the 2nd MEP is the export-oriented MEP on physics mouth, the controlled interval of determining the 2nd MEP corresponding device detectability is the union in the controlled interval of overall master agent plate ability and the 2nd controlled interval of plate ability, MEP place.
4. the method for claim 1, is characterized in that, the method further comprises: when a MEP is interior during to MEP, by the value after adjusting be configured in a MEP based on Service Instance on;
When a MEP is export-oriented MEP, by the value after adjusting be configured in a MEP based on the sub-services example of Service Instance on, the level attribute of described sub-services example is consistent with former Service Instance with VLAN attribute.
5. the method for claim 1, it is characterized in that, when a MEP corresponding device detectability changes, or the one MEP open CCM message sending function, or the one MEP receive CCM message that the 2nd MEP sends and local while not yet preserving the information of the 2nd MEP corresponding device, a described MEP is also for sending the CCM message of the MEP corresponding device detectability information that carries to the 2nd MEP.
6. an adaptive link detecting device between different capacity device, described application of installation is in maintaining end point MEP, and this device comprises:
Receiver module, the connection detection messages CCM that carries the 2nd MEP corresponding device detectability information sending for receiving the 2nd MEP, described equipment Inspection ability information comprises overall master agent plate ability information and the 2nd MEP place plate ability information;
Determination module, for according to CCM message the 2nd MEP corresponding device detectability information, determines that the 2nd MEP is overall MEP, or the export-oriented MEP on physics mouth, and determines the controlled interval of the 2nd MEP corresponding device detectability;
Processing module, the value that is used for determining the CCM message time interval territory self sending is not in the controlled interval of the 2nd MEP corresponding device detectability, in the CCM message self being sent, the value in time interval territory is adjusted to the controlled interval upper limit of the 2nd MEP corresponding device detectability, and the value after adjusting is carried in CCM message and replies to the 2nd MEP, for the 2nd MEP, the value in the time interval territory of self is set to the value after described adjustment.
7. device as claimed in claim 6, it is characterized in that, described processing module, also for determining that the value in CCM message time interval territory self sending is in the controlled interval of the 2nd MEP corresponding device detectability, do not need to adjust the value in time interval territory, and unregulated information is carried at and in CCM message, replies to the 2nd MEP.
8. device as claimed in claim 6, is characterized in that, described determination module specifically for:
When definite the 2nd MEP is overall MEP, the controlled interval of determining the 2nd MEP corresponding device detectability is the controlled interval of overall master agent plate ability;
When definite the 2nd MEP is the export-oriented MEP on physics mouth, the controlled interval of determining the 2nd MEP corresponding device detectability is the union in the controlled interval of overall master agent plate ability and the 2nd controlled interval of plate ability, MEP place.
9. device as claimed in claim 6, is characterized in that, when a MEP is interior during to MEP, described processing module also for the value after adjusting is configured in a MEP based on Service Instance;
When a MEP is export-oriented MEP, described processing module also for the value after adjusting is configured in a MEP based 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, it is characterized in that, described device also comprises triggering sending module, for self corresponding device detectability, change, or unlatching CCM message sending function, or receive CCM message that the 2nd MEP sends and local while not yet preserving the information of the 2nd MEP corresponding device, to the 2nd MEP, send the CCM message that carries self corresponding device detectability 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 true CN103731322A (en) 2014-04-16
CN103731322B 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)

Cited By (2)

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

Family Cites Families (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101355466B (en) * 2008-09-01 2012-09-05 中兴通讯股份有限公司 Method and apparatus for transmitting continuous check information message
CN101662383B (en) * 2009-09-17 2011-09-07 杭州华三通信技术有限公司 Method and equipment for configuring maintenance end points
CN102185711B (en) * 2011-04-26 2014-12-10 中兴通讯股份有限公司 Method and equipment for detecting link failure in hybrid network
CN103036793B (en) * 2012-12-17 2015-09-16 杭州华三通信技术有限公司 Be communicated with sending method and the forwarding unit of error detection protocol message

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2019047097A1 (en) * 2017-09-07 2019-03-14 北京小米移动软件有限公司 Method and device for realizing signaling detection, user equipment, and base station
CN109792619A (en) * 2017-09-07 2019-05-21 北京小米移动软件有限公司 Implementation method, device, user equipment and the base station of signaling detection
US11438123B2 (en) 2017-09-07 2022-09-06 Beijing Xiaomi Mobile Software Co., Ltd. Method and device for realizing signaling detection, user equipment, and base station
CN113438112A (en) * 2021-06-25 2021-09-24 瑞斯康达科技发展股份有限公司 Fault detection method, device, equipment and medium

Also Published As

Publication number Publication date
CN103731322B (en) 2017-02-15

Similar Documents

Publication Publication Date Title
US11310106B2 (en) Cloud-based control of a Wi-Fi network
RU2654128C1 (en) Software defined network infrastructure with virtual range expanders
US11336513B2 (en) Network nodes with intelligent integration
CN108900384A (en) Network flow monitoring method, apparatus and system, computer readable storage medium
CN104065508A (en) Application service health examination method, device and system
CN104168212A (en) Method and device for message sending
CN101631060B (en) Method and device for managing edge port
US20160087896A1 (en) Interface Switching Method and Device
CN104301929A (en) Measurement report reporting method and equipment
CN104394075B (en) A kind of method and apparatus of message transmissions
CN103731322A (en) Method and device for detecting self-adapting link among devices with different capabilities
WO2016101600A1 (en) Line card determination, determination processing method and device, and line card determination system
CN105245467A (en) Dynamic access method for router
CN103354567A (en) Method for synchronizing media access control (MAC) addresses and device
CN103684955A (en) Method, device and system for determining path where looped network breaks down
CN104468158A (en) A method and apparatus for notifying status among nodes
CN106130863A (en) The transfer approach of LAN protocol message, device and system
CN102742317B (en) Communication system, communication method and communication apparatus
CN102438273B (en) Method and relevant device for Internet protocol (IP) communication among cluster network elements as well as communication system
KR101802037B1 (en) Method and system of transmitting oam message for service function chaining in software defined network environment
CN102196594B (en) Data returning system and method of FEMTO as well as relevant device
CN106686645B (en) Method and system for improving throughput of multi-hop transmission link
CN106068663A (en) For managing method, wireless device, radio base station and second network node of EPS carrying
CN110784365A (en) Standby device of station control layer and entity device of transformer substation and automatic online method thereof
CN105790993A (en) Business cutover method and device and broadband access server

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.