CN106656449B - A kind of method, apparatus and system of negotiated periods - Google Patents
A kind of method, apparatus and system of negotiated periods Download PDFInfo
- Publication number
- CN106656449B CN106656449B CN201610959342.5A CN201610959342A CN106656449B CN 106656449 B CN106656449 B CN 106656449B CN 201610959342 A CN201610959342 A CN 201610959342A CN 106656449 B CN106656449 B CN 106656449B
- Authority
- CN
- China
- Prior art keywords
- mep equipment
- duration
- response
- mep
- request
- 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.)
- Expired - Fee Related
Links
- 238000000034 method Methods 0.000 title claims abstract description 80
- 230000005540 biological transmission Effects 0.000 claims abstract description 308
- 230000004044 response Effects 0.000 claims description 241
- 230000007547 defect Effects 0.000 claims description 15
- 238000012545 processing Methods 0.000 claims description 15
- 230000008569 process Effects 0.000 claims description 14
- 238000012423 maintenance Methods 0.000 claims description 11
- 238000004891 communication Methods 0.000 claims description 6
- 230000003044 adaptive effect Effects 0.000 abstract 1
- 238000010586 diagram Methods 0.000 description 19
- 238000005538 encapsulation Methods 0.000 description 19
- 230000009977 dual effect Effects 0.000 description 13
- 101150111724 MEP1 gene Proteins 0.000 description 11
- 101150056991 MEP2 gene Proteins 0.000 description 11
- 238000001514 detection method Methods 0.000 description 9
- 230000006870 function Effects 0.000 description 8
- 238000005516 engineering process Methods 0.000 description 7
- 238000012795 verification Methods 0.000 description 4
- 230000004048 modification Effects 0.000 description 3
- 238000012986 modification Methods 0.000 description 3
- 230000008901 benefit Effects 0.000 description 1
- 238000004590 computer program Methods 0.000 description 1
- 230000010485 coping Effects 0.000 description 1
- 238000013461 design Methods 0.000 description 1
- 230000004069 differentiation Effects 0.000 description 1
- 230000006872 improvement Effects 0.000 description 1
- 230000004807 localization Effects 0.000 description 1
- 230000035800 maturation Effects 0.000 description 1
- 230000007246 mechanism Effects 0.000 description 1
- 230000008520 organization Effects 0.000 description 1
- 230000000750 progressive effect Effects 0.000 description 1
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L5/00—Arrangements affording multiple use of the transmission path
- H04L5/14—Two-way operation using the same type of signal, i.e. duplex
- H04L5/1438—Negotiation of transmission parameters prior to communication
Landscapes
- Engineering & Computer Science (AREA)
- Signal Processing (AREA)
- Quality & Reliability (AREA)
- Computer Networks & Wireless Communication (AREA)
- Mobile Radio Communication Systems (AREA)
Abstract
This application provides a kind of method, apparatus and system for negotiating transmission cycle.This method comprises: transmit cycle information between MEP equipment by using cycle T LV field, the adjustment of the transmission cycle of adaptive completion CCM frame, to complete, the period between MEP equipment negotiates and to reach the period consistent.Method provided by the present application can be avoided the dUNP alarm that the transmission cycle that opposite end MEP equipment does not support local terminal MEP equipment that will adjust may cause.And during negotiating in the period, local terminal MEP equipment sends CCM frame without stopping, and will not influence the protection to regular traffic.
Description
Technical field
This application involves field of communication technology more particularly to a kind of method, apparatus and system for negotiating transmission cycle.
Background technique
In recent years, with the application of gigabit, ten thousand mbit ethernet technologies, ethernet technology is in Metropolitan Area Network (MAN) and wide area network field
It is widely used.Ethernet operation manages and maintains (Operation, Administration and
Maintenance, OAM) technology effectively increases and manages and maintains ability to Ethernet, it ensure that the stable operation of network.
International Telecommunication Union's standardization sector (International Telecommunication Union-
Telecommunication Standardization Sector, ITU-T) in ITU-T/Y.1731 recommendation
(Recommendation) OAM(Operation Administration Maintenance) and mechanism based on ethernet network are defined in.According to the definition of Y.1731 recommendation,
Continuity check message (Continuity Check Message, CCM) frame is used to detect Maintenance Entity endpoint
Connectivity between (Maintenance Entity Group End Point, MEP), and with 7 kinds of different transmission weeks
Phase.Under normal conditions, each MEP equipment transmission in the same Maintenance Entity (Maintenance Entity Group, MEG)
The transmission cycle of CCM frame is identical by being statically configured as.But in practical application, there is needs dynamic adjustment CCM frame
Transmission cycle the case where.For example, between two MEP equipment there is work tunnel and protection path to pass through work under normal circumstances
Make tunnel transmission VLL (Virtual Leased Lined, VLL) business, the transmission cycle of CCM frame have when
A length of 3.33 milliseconds (ms).When work tunnel failure, pass through automatic protection switching (Automatic Protection
Switching, APS), when business being switched to the protection path by the work tunnel being transmitted, the transmission week of CCM frame
The duration that phase has needs to be adjusted to 10ms.
In the prior art, in order to adjust the transmission cycle of CCM frame, a MEP equipment is continuously transmitted to opposite end MEP equipment
Alarm indication signal (Alarm Indication Signal, AIS) frame of extension.The AIS frame of the extension refers to AIS agreement
In data cell (Protocol Data Unit, PDU) remote bug instruction (Remote Defect Indication,
RDI) flag bit is set as 1, to distinguish with common AIS frame.It will by local terminal MEP equipment by the AIS frame of the extension
The transmission cycle of the CCM frame of transmission notifies opposite end MEP equipment, so that opposite end MEP equipment is in waiting and is sent out with new transmission cycle
The state of the CCM frame sent.After local terminal MEP equipment sends the AIS frame of the extension, the biography of the CCM frame of local terminal MEP equipment is adjusted
The defeated period.But the transmission cycle that CCM frame is adjusted using the AIS frame of above-mentioned extension is had the following problems:
Before local terminal MEP equipment sends CCM frame with transmission cycle adjusted, if the extension that MEP equipment is sent
AIS frame loss, then MEP equipment in opposite end will not enter and wait with the state of CCM frame transmitted by new transmission cycle.In local terminal
After MEP equipment sends CCM frame with transmission cycle adjusted, opposite end MEP equipment cannot identify transmission cycle adjusted, meeting
Issue unexpected cycle defects (Unexpected Period defect, dUNP) alarm.Also, it is sent out in the AIS frame of the extension
During sending, local terminal MEP equipment, which is suspended to set to opposite end MEP, sends CCM frame, during causing pause to send CCM frame, local terminal
The business transmitted between MEP equipment and opposite end MEP equipment cannot be effectively protected.Further, if opposite end MEP equipment does not have
There is the CCM frame for receiving the transmission of local terminal MEP equipment, and can not also identify the AIS for the extension that local terminal MEP equipment is sent
Frame, then MEP equipment in opposite end cannot be introduced into the wait state of new transmission cycle CCM frame, then MEP equipment in opposite end can be issued directly continuously
Property lose defect (Loss of Continuity defect, dLOC) alarm.
Summary of the invention
This application provides a kind of method, apparatus and system for negotiating transmission cycle, so that local terminal MEP equipment passes through and right
End MEP equipment is held consultation, and obtaining opposite end MEP equipment can support local terminal MEP equipment to send CCM with transmission cycle adjusted
Frame, also, when local terminal MEP equipment sends CCM frame with transmission cycle adjusted, opposite end MEP equipment will not issue dUNP announcement
It is alert.
In a first aspect, this application provides a kind of methods for negotiating transmission cycle.In the first MEP equipment according to the first transmission
During period sends continuity check message CCM frame to the 2nd MEP equipment, the first MEP equipment is to the 2nd MEP equipment
Send the first request.First request is used to indicate the 2nd MEP equipment to the first MEP equipment feedback described second
The set for the duration that the reception period that MEP equipment is supported has.The set includes the duration having in the second reception period, described
The duration that second reception period had is different from the duration that the first reception period had.The first reception period is described second
MEP equipment is used to receive the reception period of the CCM frame.The duration that first transmission cycle has is T1.Described first connects
The duration that receiving the period has is T2.The duration that the second reception period has is T3.T1 is equal to T2, and T2 is not equal to T3.
The first MEP equipment receives the first response from the 2nd MEP equipment, and first response is described first to ask
Corresponding response is asked, first response carries the set.
The first MEP equipment is determined according to the duration that the second reception period carried in first response has
The duration that the second reception period has is equal to the duration that the second transmission cycle has.Second transmission cycle is described
The transmission cycle that one MEP equipment is supported, second transmission cycle are that the first MEP equipment can be used in transmission cycle more
New transmission cycle.
The first MEP equipment sends the second request to the 2nd MEP equipment.Second request carries described second
The duration that transmission cycle has.Second request is used to indicate the 2nd MEP equipment and removes enabled the first ability.The first ability
Refer to: when the 2nd MEP equipment determines the value of the period field in the CCM frame from the first MEP equipment received
When the duration having equal to second transmission cycle, the 2nd MEP equipment carries out unexpected time limit in period dUNP alarm
Ability.
The first MEP equipment receives the second response that the 2nd MEP equipment is sent, and second response is to described
Go the response for making can request that.Second response is for notifying the 2nd MEP equipment described in the first MEP equipment to go to enable
The first ability.
The first MEP equipment carries period word to the 2nd MEP equipment transmission according to second transmission cycle
The value of section is equal to the CCM frame for the duration that second transmission cycle has.Specifically, the first MEP equipment is all by the transmission of CCM frame
First transmission cycle described in phase is adjusted to second transmission cycle, and according to second transmission cycle to the 2nd MEP
Equipment, which is sent, carries CCM frame of the value of period field equal to the duration that second transmission cycle has
By the above method, firstly, the first MEP equipment confirms that the 2nd MEP equipment can receive described first through consultation
The CCM frame that MEP equipment is sent with transmission cycle adjusted.Then, the first MEP equipment sends second request to request
The 2nd MEP equipment is stated to go to enable the first ability so that the 2nd MEP equipment receive the first MEP equipment with
When the CCM frame that second transmission cycle is sent, no longer progress dUNP alarm.Period negotiation is carried out using the present processes
In the process, the first MEP equipment is not influenced and sends CCM frame to the 2nd MEP equipment, therefore, in the first MEP equipment and described the
Detection of connectivity between two MEP equipment will not interrupt, and will not influence between the first MEP equipment and the 2nd MEP equipment
The protection of the business of transmission.
In conjunction with the application in a first aspect, in the first possible embodiment of first aspect, second request is also
It is used to indicate the 2nd MEP equipment and the duration in the alarm period of Loss of continuity defect dLOC is revised as by the first duration
Two durations, first duration are equal to K*T2, and second duration is equal to K*T3, and T3 > T2, K are positive numbers.
With reference to first aspect and above-mentioned possible embodiment, in second of possible embodiment of first aspect
In, during the first MEP equipment sends CCM frame to the 2nd MEP equipment according to second transmission cycle, institute
It states the first MEP equipment and sends third request to the 2nd MEP equipment.The third request is used to indicate the 2nd MEP and sets
Standby enabled the second ability.The second ability refers to: the 2nd MEP equipment determine receive from the first MEP equipment
2nd MEP equipment described in when the value of period field in CCM frame is not equal to the duration that second transmission cycle has carries out non-
It is expected that the ability of time limit in period dUNP alarm.The first MEP equipment receives the third response that the 2nd MEP equipment is sent.
The third response is the response to third request.Third response is for notifying described in the first MEP equipment the
Two MEP equipment have enabled the second ability.
By sending the third request and third response, it is possible to prevente effectively from the 2nd MEP equipment is for a long time
In dual frequency reception state, " the dual frequency reception state " refers to that the 2nd MEP equipment can be supported simultaneously according to described
One reception period and the second reception period receive the CCM frame that the first MEP equipment is sent.Dual frequency reception state is avoided to make
The transmission cycle and reception period for obtaining the CCM frame between the first MEP equipment and the 2nd MEP equipment are consistent, from
And it can guarantee timely to detect alarm.
With reference to first aspect and above-mentioned possible embodiment, in the third possible embodiment of first aspect
In, first request and second request are loopback message (English: Lookback Message, LBM) frame, or
First request and second request are CCM frame.First request includes period type length value Interval
TLV field, second request includes Interval TLV field.The Interval TLV field in second request
The duration having for carrying second transmission cycle.
In the possible embodiment of second with reference to first aspect, the first request first request, described second are asked
It asks and third request is loopback message LBM frame or first request, second request and the third
Request is CCM frame.First request includes period type length value Interval TLV field, and second request includes
Interval TLV field, the third request includes Interval TLV field.It is described in second request
Interval TLV field is described in the third request for carrying the duration that second transmission cycle has
Interval TLV field is for carrying the duration that second transmission cycle has.
Second aspect, this application provides a kind of methods for negotiating transmission cycle.It is set in the first Maintenance Entity endpoint MEP
During sending continuity check message CCM frame to the 2nd MEP equipment according to the first transmission cycle, the 2nd MEP is set
Standby the first request for receiving the first MEP equipment and sending.First request is used to indicate the 2nd MEP equipment to described
First MEP equipment feeds back the set for the duration that the reception period that the 2nd MEP equipment is supported has.The set includes second
The duration that the reception period has.The duration that the second reception period has is different from the duration that the first reception period had.Institute
Stating for the first reception period refers to the 2nd MEP equipment for receiving reception period of the CCM frame.First transmission cycle
The duration having is T1.The duration that the first reception period has is T2.The duration that the second reception period has is T3.
T1 is equal to T2, and T2 is not equal to T3.
The 2nd MEP equipment sends the first response to the first MEP equipment.First response is described first to ask
Corresponding response is asked, for feeding back the set to the first MEP equipment.
The 2nd MEP equipment receives the second request that the first MEP sets transmission.Second request carries second and passes
The duration that the defeated period has.The duration that the second round has is equal to T3.Second transmission cycle is that the first MEP is set
The standby transmission cycle supported, second transmission cycle are the biographies that can be used in transmission cycle update of the first MEP equipment
The defeated period.
According to the instruction of second request, the 2nd MEP equipment removes enabled the first ability.The first ability is
Refer to: when the 2nd MEP equipment determines the value etc. of the period field in the CCM frame from the first MEP equipment received
When the duration that second transmission cycle has, the 2nd MEP equipment carries out the energy of unexpected time limit in period dUNP alarm
Power.
The 2nd MEP equipment sends the second response to the first MEP equipment.Second response is described second to ask
Ask corresponding response.Second response carries the duration having in the second reception period, and second response is for notifying
2nd MEP equipment described in the first MEP equipment has gone to enable the first ability.
After sending second response to the first MEP equipment, the 2nd MEP equipment receives described first
The value for carrying period field that MEP equipment is sent according to second transmission cycle is equal to what second transmission cycle had
The CCM frame of duration.
By the above method, firstly, the 2nd MEP equipment notifies the first MEP equipment, the first MEP can be received and set
The standby CCM frame sent with transmission cycle adjusted.Then, described second is sent in response to receiving the first MEP equipment
Request, the 2nd MEP equipment goes to enable the first ability, so that the 2nd MEP equipment is receiving described first
When the CCM frame that MEP equipment is sent with second transmission cycle, no longer progress dUNP alarm.It is carried out using the present processes
During period negotiates, the first MEP equipment is not influenced and is therefore set to the 2nd MEP equipment transmission CCM frame in the first MEP
Detection of connectivity between the standby and described 2nd MEP equipment will not interrupt, will not influence to the first MEP equipment and this second
The protection for the business transmitted between MEP equipment.
In conjunction with second aspect, in the first possible embodiment of second aspect, in the 2nd MEP equipment to institute
Before stating the first MEP equipment transmission second response, the method also includes: it is described according to the instruction of second request
The duration of the Loss of continuity defect dLOC report cycle alerted is revised as the second duration by the first duration by the 2nd MEP equipment,
First duration is equal to K*T2, and second duration is equal to K*T3, and T3 > T2, K are positive numbers.
In conjunction with second aspect and above-mentioned possible embodiment, in second of possible embodiment of second aspect
In, during the first MEP equipment sends CCM frame to the 2nd MEP equipment according to second transmission cycle, institute
It states the 2nd MEP equipment and receives the third request that the first MEP equipment is sent.According to the instruction that the third is requested, described the
Two MEP equipment enable the second ability.The second ability refers to: the 2nd MEP equipment determines that is received comes from the first MEP
When the value of period field in the CCM frame of equipment is not equal to the duration that second transmission cycle has, the 2nd MEP equipment
Carry out the ability of unexpected time limit in period dUNP alarm.The 2nd MEP equipment sends third to the first MEP equipment and rings
It answers, the third response is the response to third request, and the third response is for notifying described in the first MEP equipment
2nd MEP equipment has enabled the second ability.
By receiving the third request and sending the third response, it is possible to prevente effectively from the 2nd MEP equipment is long
Time is in dual frequency reception state, and " the dual frequency reception state " refers to that the 2nd MEP equipment can be supported simultaneously according to institute
It stated for the first reception period and the second reception period receives the CCM frame that the first MEP equipment is sent.Avoid dual frequency reception shape
State makes the transmission cycle of the CCM frame between the first MEP equipment and the 2nd MEP equipment and receives period holding one
It causes, so as to guarantee timely to detect alarm.
In conjunction with second aspect and above-mentioned possible embodiment, in the third possible embodiment of second aspect,
First response and second response are Loopback Reply (English: Loopback Reply, LBR) frame or described the
One response and second response are CCM frame.First response includes period type length value Interval TLV field,
Second response includes Interval TLV field.The Interval TLV field in first response is for carrying
The set for the duration that the receptions period that the 2nd MEP equipment is supported has, described second respond in the Interval
TLV field is used to carry the duration having in the second reception period.
In conjunction with second of possible embodiment of second aspect, in the 4th kind of possible embodiment of second aspect
In, first response, second response and third response are LBR frame or first response, described the
Two responses and third response are CCM frame.First response includes period type length value Interval TLV word
Section, second response includes Interval TLV field, and the third response includes Interval TLV field.Described first
The Interval TLV field in response is used to carry the duration that the reception period that the 2nd MEP equipment is supported has
Set.The Interval TLV field in second response is used to carry the duration having in the second reception period,
The Interval TLV field in the third response is used to carry the duration having in the second reception period.
The third aspect, this application provides a kind of first MEP equipment, for executing any of first aspect or first aspect
Method in possible embodiment.Specifically, the first MEP equipment includes times for executing first aspect or first aspect
The module of method in one possible embodiment.
Fourth aspect, this application provides a kind of 2nd MEP equipment, for executing any of second aspect or second aspect
Method in possible embodiment.Specifically, the 2nd MEP equipment includes times for executing second aspect or second aspect
The module of method in one possible embodiment.
5th aspect, this application provides a kind of first MEP equipment, and the first MEP equipment includes: input interface, output
Interface, processor, memory are connected between the processor and memory by bus system, and the processor is for holding
Code in the row memory, when the code is performed, the execution is so that processor executes first aspect or first party
Method in any possible embodiment in face.
6th aspect, this application provides a kind of 2nd MEP equipment, and the 2nd MEP equipment includes: input interface, output
Interface, processor, memory are connected between the processor and memory by bus system, and the processor is for holding
Code in the row memory, when the code is performed, the execution is so that processor executes second aspect or second party
Method in any possible embodiment in face.
7th aspect, this application provides a kind of communication system, which includes the third aspect or the 5th aspect institute
2nd MEP equipment described in the first MEP equipment and fourth aspect stated or the 6th aspect.
Eighth aspect, this application provides a kind of computer-readable mediums, for storing computer program, the computer journey
Sequence includes for executing any possible embodiment of first aspect, second aspect, first aspect or any of second aspect
The instruction of method in possible embodiment.
Detailed description of the invention
Technical solution in ord to more clearly illustrate embodiments of the present application, below will be to needed in the embodiment attached
Figure is briefly described, it should be apparent that, the drawings in the following description are only some examples of the present application, for this field
For those of ordinary skill, without creative efforts, it is also possible to obtain other drawings based on these drawings.
Fig. 1 is a kind of application scenarios schematic diagram provided by the embodiments of the present application;
Fig. 2 is a kind of method flow schematic diagram for negotiating transmission cycle provided by the embodiments of the present application;
Fig. 3 is a kind of encapsulation format schematic diagram of Interval TLV field provided by the embodiments of the present application;
Fig. 4 is the encapsulation format schematic diagram of another kind Interval TLV field provided by the embodiments of the present application;
Fig. 5 is the encapsulation format schematic diagram of another kind Interval TLV field provided by the embodiments of the present application;
Fig. 6 is the encapsulation format schematic diagram of V field in Interval TLV field provided by the embodiments of the present application;
Fig. 7 is provided by the embodiments of the present application a kind of for negotiating the schematic diagram of the device of transmission cycle;
Fig. 8 is provided by the embodiments of the present application a kind of for negotiating the schematic diagram of the device of transmission cycle;;
Fig. 9 is provided by the embodiments of the present application a kind of for negotiating the schematic diagram of the hardware configuration of the device of transmission cycle;
Figure 10 is provided by the embodiments of the present application a kind of for negotiating the schematic diagram of the hardware configuration of the device of transmission cycle.
Specific embodiment
To keep the purposes, technical schemes and advantages of the embodiment of the present application clearer, below in conjunction with the embodiment of the present application
In attached drawing, technical solutions in the embodiments of the present application is described.Obviously, described embodiment is the application a part
Embodiment, instead of all the embodiments.Based on the embodiment in the application, those of ordinary skill in the art are not making wound
Other embodiments can be obtained under the premise of the property made labour.
The application scenarios of the embodiment of the present application description are the technical solutions in order to more clearly illustrate the embodiment of the present application,
The restriction for technical solution provided by the embodiments of the present application is not constituted, those of ordinary skill in the art are it is found that with network
The differentiation of framework and the appearance of new business scene, technical solution provided by the embodiments of the present application is for similar technical problem, together
Sample is applicable in.
Unless indicated to the contrary, the embodiment of the present application refers to " first ", " second ", " third ", " the 4th " and "
The ordinal numbers such as five " are not used in the sequence for limiting multiple objects for distinguishing to multiple objects.
In the embodiment of the present application, when a certain step in execution method, the executing subject of the step is known as " local terminal MEP
Equipment ", the MEP equipment communicated with the executing subject are known as " opposite end MEP equipment ".These are all that those skilled in the art can manage
Solve its meaning.This application involves MEP equipment can be interchanger, router or firewall.
In order to facilitate understanding with describe it is provided by the embodiments of the present application negotiate Ethernet CCM frame transmission cycle method,
Equipment and system combine Fig. 1 to describe the application scenarios of the embodiment of the present application first.
In the embodiment of the present application, the transmission CCM frame that " transmission cycle that MEP equipment is supported " refers to that MEP equipment is supported makes
Transmission cycle.For example, when the transmission cycle that MEP equipment 1 is supported includes transmission cycle 1 and transmission cycle 2, MEP equipment 1
With the ability for sending CCM frame according to transmission cycle 1, MEP equipment 1 also has the ability that CCM frame is sent according to transmission cycle 2.
MEP equipment 1 has the ability for carrying out transmission cycle update.For example, MEP equipment 1 is before sometime according to transmission week
Phase 1 sends CCM frame.MEP equipment 1 has carried out transmission cycle update in the time.MEP equipment 1 is after such time according to transmission
Period 2 sends CCM frame.For another example when the transmission cycle that MEP equipment 1 is supported only includes transmission cycle 1, MEP equipment 1 tool
There is the ability for sending CCM frame according to transmission cycle 1, does not have and send CCM frame according to other transmission cycles (such as transmission cycle 2)
Ability.In this case, MEP equipment 1 does not have the ability for carrying out transmission cycle update.
In the embodiment of the present application, the reception CCM frame that " the reception period that MEP equipment is supported " refers to that MEP equipment is supported makes
The reception period.For example, when the reception period that MEP equipment 2 is supported includes receiving the period 1 and receiving period 2, MEP equipment 2
With according to the ability for receiving the reception of period 1 CCM frame, MEP equipment 2 also has according to the ability for receiving the reception of period 2 CCM frame.
MEP equipment 2 has the ability for carrying out receiving period update.For example, MEP equipment 2 is all according to receiving before sometime
Phase 1 receives CCM frame.MEP equipment 2 has carried out the update of reception period in the time.MEP equipment 2 is after such time according to reception
Period 2 receives CCM frame.For another example when the reception period that MEP equipment 2 is supported only includes receiving period 1, MEP equipment 2 tools
Have according to the ability for receiving the reception of period 1 CCM frame, does not have and receive CCM frame according to other reception periods (such as receiving period 2)
Ability.In this case, MEP equipment 2 does not have the ability for carrying out receiving period update.
In the embodiment of the present application, " transmission cycle that can be used in transmission cycle update of MEP equipment ", which refers to, executes biography
After the defeated period updates, MEP equipment is actually used in the transmission cycle for sending CCM frame." MEP equipment can be used in transmission cycle more
New transmission cycle " is the transmission cycle that MEP equipment is supported.For example, the transmission cycle that MEP equipment 1 is supported includes transmission
Period 1 and transmission cycle 2.Before sometime, MEP equipment 1 is transmission cycle 1 for sending the transmission cycle of CCM frame.At this
Time, MEP equipment 1 execute transmission cycle and update, i.e., transmission cycle 1 are updated to transmission cycle 2.After such time, MEP is set
Being used to send the transmission cycle of CCM frame for 1 is transmission cycle 2.In above-mentioned scene, before the time, MEP equipment 1 can
The transmission cycle for being used for transmission period update is transmission cycle 2, is not transmission cycle 1.
Fig. 1 is the schematic diagram of the application scenarios of the embodiment of the present application.As shown in Figure 1, the first MEP equipment MEP1 and second
Communication channel between MEP equipment MEP2 includes work tunnel (Tunnel) A and protection path (Tunnel) B.MEP1 and
MEP2 is communicated by Tunnel A, i.e., business is transmitted in Tunnel A, and the business for example can be VLL business.Citing comes
It says, MEP1 and MEP2 send CCM frame to opposite end MEP equipment with the transmission cycle of 3.33ms.The opposite end MEP equipment of MEP1 is
The opposite end MEP equipment of MEP2, MEP2 are MEP1.Tunnel A and Tunnel B bind APS.When Tunnel A breaks down
When, MEP1 and MEP2 can issue APS request to respective opposite end MEP equipment by APS message, switch the business to Tunnel
B.At this point, the ETHOAM false alarms of MEP1 and MEP2 in order to prevent, need to reduce the transmission frequency of CCM frame, for example, by CCM
The duration that the transmission cycle of frame has is adjusted to 10ms.
Fig. 2 is according to provided by the embodiments of the present application a kind of for negotiating the method 200 of the transmission cycle of Ethernet CCM frame
Flow diagram.It should be understood that Fig. 2 shows the detailed step of the method for the transmission cycle for negotiating CCM frame or operations, but
These steps or operation are only examples.Method 200 is described in detail below with reference to Fig. 2.This method 200 can be applied to figure
MEP1 and MEP2 shown in 1.Specifically, the first MEP equipment involved in method 200 can be used to implement the MEP1 in Fig. 1.Side
2nd MEP equipment involved in method 200 can be used to implement the MEP2 in Fig. 1.Method 200 includes S201-S208.
S201, the first MEP equipment send the first request to the 2nd MEP equipment.
Specifically, CCM frame is sent to the 2nd MEP equipment according to the first transmission cycle in the first MEP equipment
In the process, the first MEP equipment sends first request to the 2nd MEP equipment.First request is used to indicate described
2nd MEP equipment feeds back the set for the duration that the reception period that the 2nd MEP equipment is supported has, institute to the first MEP equipment
Stating set includes the duration that the second reception period had.The duration that the second reception period has has with the first reception period
Duration it is different.The duration that has of first reception period refer to the 2nd MEP equipment it is current for receiving the CCM
Duration possessed by the reception period of frame.The duration that first transmission cycle has is T1.The first reception period has
Duration be T2.The duration that the second reception period has is T3.Wherein, T1 is equal to T2, and T2 is not equal to T3.Described first
MEP equipment and the 2nd MEP equipment specifically can be router or interchanger, and the embodiment of the present application is not construed as limiting this.
Optionally, " set for the duration that the reception period that the 2nd MEP equipment is supported has " includes the 2nd MEP equipment
The duration in whole reception periods of support.For example, whole reception periods that the 2nd MEP equipment is supported are Y.1731 to build
7 kinds of cited transmission cycles in legislature, then the set includes the duration that above-mentioned 7 kinds of transmission cycles have.Optionally, " institute
State the set for the duration that the reception period that the 2nd MEP equipment is supported has " it can only include that the 2nd MEP equipment can prop up
The duration that the reception period for the part held has, i.e., need not include whole reception periods that the 2nd MEP equipment be supported when
It is long, as long as in the set including the duration having in the second reception period.For example, the first MEP equipment is current
The first transmission cycle of the transmission CCM frame be 3.33ms, the second transmission cycle adjusted is 10ms.2nd MEP
For equipment in first response, the set at least will include the duration that has of second transmission cycle, i.e., and described second
MEP equipment can receive that transmission cycle has to the first MEP equipment feedback when a length of 10ms CCM frame.So that
The first MEP equipment is after receiving first response, duration that determination can have the transmission cycle of the CCM frame
10ms is adjusted to by current 3.33ms.
In a specific embodiment, which can be LBM frame or CCM frame.In the LBM frame and CCM frame
It include period type length value Interval TLV field.
Fig. 3 is according to a kind of encapsulation format schematic diagram of Interval TLV field provided by the embodiments of the present application.Wherein,
It include type (Type) field (hereinafter referred to as T field) in the Interval TLV field, length (Length) field is (hereafter
Referred to as L field), it marks (Flag) field (hereinafter referred to as F field), and value (Value) field (hereinafter referred to as V word
Section).Wherein, T field indicates that the type of the TLV field is to negotiate type in the CCM frame period.F field indicates to send the execution of message
Whether main body is in period modulation state.Optionally, L field indicates the length of V field;Optionally, described in the L field expression
The sum of the length of F field and the V field.The content of V field carrying is negotiated type according to the CCM frame period and is determined.
In the embodiment of the present application, specifically, when T field is 30, T field can indicate that the CCM frame period negotiates type.F field is 0
When, F field indicates the executing subject for sending message not in period modulation state.When F field is 1, F field indicates to send message
Executing subject is in period modulation state." period modulation state " described herein refers to the executing subject pair for sending message
The state that the transmission cycle of CCM frame is adjusted.Specifically, for example, L field is 16 bits, i.e. 2 bytes;V field is L field
The content of the indicated length of value.It should be understood that the value of defined herein the type field is to negotiate class in 30 expression CCM frame periods
Type is merely illustrative.Theoretically exist and otherwise indicates that the CCM frame period negotiates the technical solution of type.Similarly,
In F field, 0 and 1 also may indicate that opposite meaning, such as: when F field is 1, F field indicates to send the execution master of message
Body is not in period modulation state.When F field is 0, F field indicates that the executing subject for sending message is in period modulation state.
It can indicate that above-mentioned status information, the embodiment of the present application are not especially limited this with other numerical value.In the embodiment of the present application
In, to be that 0, F field indicates the executing subject for sending message not in period modulation state, when F field is 1, F field when F field
It indicates to be illustrated for the executing subject for sending message is in period modulation state.
Fig. 4 is the encapsulation format schematic diagram according to another kind Interval TLV field provided by the embodiments of the present application.Its
In, it include T field, L field and F field, organization unique identifier in the Interval TLV field
(Organizationally Unique Identifier, OUI) field, subtype (Sub-type) field and V field.Its
In, the T field is for indicating that the Interval TLV field is the applied privately owned extended field of tissue that OUI is marked.L
Field indicates the length section of the V field;Optionally, the L field can also indicate the OUI field and the V field
The sum of length;Optionally, the L field can also indicate the F field, the length of the OUI field and the V field it
With.F field indicates whether the executing subject for sending message is in period modulation state.Difference is defined in Sub-type field
Subtype, V field carry the subtype according to defined in the Sub-type field determined by content.Implement in the application
In example, for example, T field is 31, OUI when being 00eo.fc, it can indicate that the Interval TLV field is the limited public affairs of Huawei Technologies
Take charge of applied privately owned extended field.At this point, can indicate that the CCM frame period negotiates type when Sub-type field is 1.F word
The explanation of section is referring to for Fig. 3 relevant explanation, and details are not described herein again.Optionally, L field is 16 bits, i.e. 2 bytes;V field is
The content of length indicated by L field value.It should be understood that it is 1 table that the type field mentioned here, which is 31 and Sub-type field,
Show that the CCM frame period negotiates type and is merely illustrative, any restriction should not be constituted to the application.Theoretically exist with other sides
Formula indicates that the CCM frame period negotiates the technical solution of type.
Fig. 5 is the encapsulation format schematic diagram according to another kind Interval TLV field provided by the embodiments of the present application.It should
Interval TLV field includes at least one sub- TLV field, and every kind of period negotiates type and at least one described sub- TLV field
In a sub- TLV field it is corresponding.Every sub- TLV field all includes T field, L field and V field.The T field indicates institute
Any one in period negotiation type is stated, the V field instruction negotiates content determined by type based on the corresponding period.
It includes but is not limited to first request, the second request described below, third request, the first sound that the period, which negotiates type,
It answers, the second response and third respond.The particular content or value of the sub- TLV field can be according to the concrete conditions of each message
Setting can use identical set-up mode, can also use different set-up modes, and the application does not limit this.At this
Apply in embodiment, for example, can indicate the first request type when T field is 33;L field is 2 bytes;Optionally, V field
Value be 0.Optionally, the V field carries the duration that first transmission cycle has.Optionally, the V field carries institute
State the first transmission cycle and the set of duration that transmission cycle that the first MEP equipment is supported has.The application is implemented
Example is not especially limited this.For another example, when T field is 33, the first respond style can be indicated;L field is 2 bytes;V field
Carry the set for the duration that the reception period that the 2nd MEP equipment is supported has.
As shown in fig. 6, the V field may include current transmission period CurTxInterval field, the transmission week of support
Phase AvailableTxInterval field, the current reception period for receiving period CurRxInterval field and support
AvailableRxInterval field.In the embodiment of the present application, described " CurTxInterval field " can be used for carrying MEP
Duration possessed by the transmission cycle of the currently transmitted CCM frame of equipment." the AvailableTxInterval field " can be used for taking
The set for the duration that the transmission cycle supported with MEP equipment has.The duration that the transmission cycle that MEP equipment is supported has
Set may include the set of duration possessed by the transmission cycles for the whole that the MEP equipment can be supported, also can wrap
Include the set of duration possessed by the transmission cycle for the part that the MEP equipment can be supported." the CurRxInterval
Field " can be used for carrying MEP equipment and currently receive duration possessed by the reception period of CCM frame.It is described
" AvailableRxInterval field " can be used for carrying the set for the duration that the reception period that MEP equipment is supported has.
The set for the duration that the reception period that MEP equipment is supported has includes that the MEP may include that the MEP equipment can prop up
The whole set for receiving duration possessed by the period held, also may include the part that the MEP equipment can be supported
Receive the set of duration possessed by the period.
Optionally, in four kinds of above-mentioned Interval fields, the quantity of the bit in each field is 8 bits, each
Duration possessed by each of Interval field bit, the transmission cycle of one CCM frame of label or reception period, and
For indicating corresponding transmission cycle or receiving whether the period is effective in MEP equipment.According to Y.1731 agreement, CCM frame
The value of transmission cycle is referring to table 1.Specifically, each bit in 8 bit can correspond respectively to shown in table 17 kinds
The duration (the also referred to as value of transmission cycle) that transmission cycle has.For example, when the 1st bit is 1, for marking
3.33ms;When 2nd bit is 1, for marking 10ms;When 3rd bit is 1, for marking 100ms, and so on, no longer
It repeats.
It marks [3: 1] | The value of transmission cycle | Explanation |
0 | Invalid numerical | It is invalid numerical to CCM PDU |
1 | 3.33ms | 300 frame per second |
2 | 10ms | 100 frame per second |
3 | 100ms | 10 frame per second |
4 | 1s | 1 frame per second |
5 | 10s | 6 frame per minute |
6 | 1min | 1 frame per minute |
7 | 10min | 6 frame per hour |
Table 1
Optionally, in first request, the CurTxInterval field carries working as the first MEP equipment
The duration that preceding transmission cycle has, i.e., the duration that described first transmission cycle has.For example, what first transmission cycle had
Shi Changwei 3.33ms, at this time in CurTxInterval field the 1st bit can mark and be.Optionally, described
AvailableTxInterval field carries the duration that the transmission cycle of the support of the first MEP equipment has.Example
Such as, the transmission cycle of the support of the first MEP equipment includes 7 kinds of periods specified in Y.1731 agreement, then
The value of AvailableTxInterval the 1-7 bit of field is disposed as 1.
Optionally, in first request, it can also carry what current reception period of the first MEP equipment had
The set for the duration that the reception period of duration and support has.Specifically, described the is carried by CurRxInterval field
The duration that the current reception period of one MEP equipment has, i.e., the duration that the described first reception period has.For example, described first
Receive the when a length of 3.33ms that the period has, at this time in CurRxInterval field the 1st bit can mark and be.Pass through
AvailableRxInterval field carries the duration having in the reception period of the support of the first MEP equipment.For example, the
The reception period of the support of one MEP equipment includes 7 kinds of periods specified in Y.1731 agreement, then AvailableRxInterval
The value of the 1-7 bit of field is disposed as 1.
By carrying the duration and branch that the current reception period of the first MEP equipment has in first request
The set for the duration that the reception period held has, so that the 2nd MEP equipment is after receiving first request, it is available
The current reception period and the reception period of support of the first MEP equipment are stated, is convenient in the 2nd MEP equipment to the first MEP equipment
Reception cycle information safeguarded.It, can be according to the 2nd MEP when the 2nd MEP equipment needs to adjust the transmission cycle of CCM frame
The reception period for the first MEP equipment safeguarded in equipment determines whether the first MEP equipment supports the transmission cycle that will be adjusted.
It should be understood that the encapsulation format of Interval TLV field recited herein, is merely illustrative, the application is real
Example is applied for the value of each field in the encapsulation format and Interval TLV field of Interval TLV field, is not made specific
It limits.The embodiment of the present application is not excluded for the possibility being packaged using other encapsulation format to Interval TLV field.
S202, the 2nd MEP equipment receive first request that the first MEP equipment is sent.
Specifically, described when the first MEP equipment sends CCM frame to the 2nd MEP equipment according to the first transmission cycle
2nd MEP equipment receives first request that the first MEP equipment is sent.
S203, the 2nd MEP equipment send the first response to the first MEP equipment.
Specifically, first response is the corresponding response of first request, for feeding back to the first MEP equipment
The set for the duration that the reception period that the 2nd MEP equipment is supported has.
After first request that the 2nd MEP equipment receives that the first MEP equipment is sent, asked to described first
It asks and is parsed.When the Interval TLV field carry with the transmission cycle of the CCM frame of the first MEP equipment and/or
When receiving the duration that the period has, obtains and save entrained transmission cycle in the Interval TLV field and/or connect
The duration that the receipts period has.The 2nd MEP equipment generates and sends first response to the first MEP equipment.It is described
First response carries the set for the duration that the reception period that the 2nd MEP equipment is supported has, and the set includes described
The duration that second reception period had.First response is for showing that the 2nd MEP equipment can connect according to described second
Duration possessed by the period is received to receive the CCM frame that the first MEP equipment is sent.
In a specific embodiment, when first request is LBM frame, first response is LBR frame.Institute
Stating LBR frame includes the Interval TLV field.In another particular embodiment of the invention, when first request is CCM
When frame, first response is CCM frame, and the CCM frame includes the Interval TLV field.About the Interval
The encapsulation format of TLV field is referring to the related description of Fig. 3-6, and details are not described herein again.
In first response, the 2nd MEP equipment institute is carried by the AvailableRxInterval field
The set for the duration that the reception period of support has.Optionally, in first response, the CurRxInterval field
The duration that the current reception period of the 2nd MEP equipment has, i.e., the duration that the described first reception period has can be carried.Example
Such as, the when a length of 3.33ms that the first reception period has, at this time in CurRxInterval field the 1st bit can mark
It is denoted as 1.
S204, the first MEP equipment receive first response that the 2nd MEP equipment is sent.
In S201-S204, in first request and first response, the F field may be configured as 0, the F word
Segment table shows that the executing subject for sending message is not in period modulation state.For example, the F field indicates to send the of the first request
One MEP equipment or the 2nd MEP equipment for sending the first response are not in period modulation state.
S205, the first MEP equipment are requested to the 2nd MEP equipment second.
The first MEP equipment is determined according to the duration that the second reception period carried in first response has
The duration that has of second reception period is equal to the duration that the second transmission cycle has, and second transmission cycle is described the
One MEP equipment can be used in the transmission cycle of transmission cycle update.Then the first MEP equipment is sent out to the 2nd MEP equipment
Second request is sent, second request carries the duration that second transmission cycle has.Second request is for referring to
Show that the 2nd MEP equipment removes enabled the first ability, the first ability refers to: when the 2nd MEP equipment determines that is received comes
It is described when being equal to the duration that second transmission cycle has from the value of the period field in the CCM frame of the first MEP equipment
2nd MEP equipment carries out the ability of unexpected time limit in period dUNP alarm.Specifically, in the first MEP equipment to described
Before two MEP equipment send second request, the first MEP equipment is according to first transmission cycle to described second
MEP equipment sends CCM frame, and the 2nd MEP equipment receives the period reception CCM frame according to described first.That is the CCM
The value of period field in frame is equal to the duration that has of first transmission cycle, and the duration that the first reception period has
Equal to the duration that first transmission cycle has, therefore, when the period verifies, the 2nd MEP equipment not will do it dUNP report
It is alert.At this point, if the first MEP equipment sends CCM frame to the 2nd MEP equipment according to second transmission cycle, and
The 2nd MEP equipment receives the CCM frame also according to the first reception period.Have due to the second transmission cycle
The duration that duration has not equal to the first reception period, therefore, when the period verifies, the 2nd MEP equipment can be issued
DUNP alarm.Therefore, the first MEP equipment sends the purpose of second request to the 2nd MEP equipment, in that refers to
Show that the 2nd MEP equipment removes to enable the first ability, i.e., when the 2nd MEP equipment determine receive from described the
When the value of period field in the CCM frame of one MEP equipment is equal to the duration that second transmission cycle has, the 2nd MEP
Equipment not will do it dUNP alarm.
Specifically, after the first MEP equipment receives the first response that the 2nd MEP equipment is sent, to described the
One response is parsed, and the reception period that can be supported of the 2nd MEP equipment entrained in first response is obtained
The set for the duration having.The duration that determining the second reception period for including in the set has is equal to described second and passes
The duration that the defeated period has.For example, the set of duration that the reception period that can be supported of the 2nd MEP equipment has includes
3.33ms,10ms,100ms.The duration that the first MEP equipment current transmission period has, i.e., the described first transmission cycle tool
Some durations, the duration that first transmission cycle has is, for example, 3.33ms.The first MEP equipment is used for transmission the period more
The duration that new transmission cycle has, i.e., the duration that described second transmission cycle has, second transmission cycle have when
Long e.g. 10ms.Therefore, the first MEP equipment can determine that the reception period that can be supported of the 2nd MEP equipment includes
The transmission cycle that the first MEP equipment will update, therefore, the first MEP equipment send institute to the 2nd MEP equipment
State the second request.In a specific embodiment, second request is LBM frame or CCM frame, and second request includes
The Interval TLV field.About the Interval TLV field encapsulation format referring to Fig. 3-6 related description, this
Place repeats no more.
In second request, the Interval TLV field is used to carry when second transmission cycle has
It is long.Specifically, the CurTxInterval field is for carrying the duration that second transmission cycle has.Optionally, described
CurTxInterval field can also carry the duration that the current transmission cycle of the first MEP equipment has, i.e., and described
The duration that one transmission cycle has.For example, first transmission cycle have when it is a length of for 3.33ms, at this time
The 1st bit can mark and be in CurTxInterval field.Second transmission cycle have when it is a length of, then
The 2nd bit can mark and be in CurTxInterval field.
S206, the 2nd MEP equipment receive the second request that the first MEP equipment is sent.
S207, the 2nd MEP equipment send the second response to the first MEP equipment.
After the 2nd MEP equipment receives the second request that the first MEP equipment is sent, to described second request into
Row parsing obtains the duration that second transmission cycle has.The 2nd MEP equipment sends institute to the first MEP equipment
The second response is stated, second response carries the duration having in the second reception period, and second response is described second
Corresponding response is requested, second response carries the duration having in the second reception period, and second response is for leading to
Know that the 2nd MEP equipment described in the first MEP equipment has gone to enable the first ability.Specifically, the 2nd MEP equipment
After receiving second request, based on second request received, go to enable the first ability.2nd MEP
Equipment goes an example of the specific implementation for enabling the first ability to may is that the 2nd MEP equipment closes the week of CCM frame
Phase verifying function.After the i.e. described 2nd MEP equipment receives second request, period verifying function is closed, at this point, due to
The 2nd MEP equipment does not execute period verification, therefore, will not carry out dUNP alarm.The 2nd MEP equipment goes to enabled institute
State the specific implementation of the first ability another example may is that the 2nd MEP equipment the period verification in, setting pair
The value of period field in the CCM frame from the first MEP equipment received, which is equal to first transmission cycle, to be had
Duration or the duration that has of second transmission cycle, can be verified by the period.So that the 2nd MEP equipment
Determine that the value of the period field in the CCM frame from the first MEP equipment received has equal to second transmission cycle
When some durations, the 2nd MEP equipment not will do it dUNP alarm.
Optionally, when the duration that the second reception period has is greater than the duration that the first reception period has,
Before the 2nd MEP equipment sends second response to the first MEP equipment, according to the finger of second request
Show, when the duration in the alarm period of Loss of continuity defect dLOC is revised as second by the first duration by the 2nd MEP equipment
Long, first duration is equal to K*T2, and second duration is equal to K*T3, and T3 > T2, K are positive numbers.Wherein, T2 is described first
The duration that the reception period has, T3 are the duration having in the second reception period.When preferred, 3.25≤K≤3.5.Later,
2nd MEP equipment is responded to described in the first MEP device replied second.
Optionally, when the duration that the second reception period has is less than the duration that the first reception period has,
The 2nd MEP equipment keeps the duration in the alarm period of the dLOC constant, i.e., at this point, the alarm period of the dLOC
Duration remain as K*T2, T2 is the duration having in the first reception period, and K is positive number.Preferably, 3.25≤K≤3.5.
Later, the 2nd MEP equipment is responded to described in the first MEP device replied second.
In a specific embodiment, when second request is LBM frame, second response is LBR frame, institute
Stating LBR frame includes the Interval TLV field.When second request is CCM frame, second response is CCM frame,
Second response includes the Interval TLV field.Encapsulation format about the Interval TLV field is referring to figure
The related description of 3-6, details are not described herein again.
In second response, described the of the 2nd MEP equipment is carried by the CurRxInterval field
The duration that two reception periods had.For example, the when a length of 10ms that the second reception period has, at this point, CurRxInterval
The 2nd bit values, which can mark, in field is.Optionally, the CurRxInterval field can also carry described
One receives the numerical value in period, at this point, the one 1 bit values are labeled as 1 in CurRxInterval field.
S208, the first MEP equipment receive second response that the 2nd MEP equipment is sent.
After first MEP equipment receives second response, second response is parsed, has determined the 2nd MEP equipment
Through removing to enable the first ability.Therefore, the first MEP equipment and the 2nd MEP equipment complete the transmission of adjustment CCM frame
The negotiation in period.First transmission cycle described in the transmission cycle of CCM frame is adjusted to the second transmission week by the first MEP equipment
Phase.First MEP equipment sends the CCM frame after first adjustment transmission cycle, and after the frame, passes all in accordance with described second
The defeated period sends to the 2nd MEP equipment carries CCM of the value of period field equal to the duration that second transmission cycle has
Frame.
In S205-S208, in second request and second response, the value of the F field may be configured as 1, table
Show the executing subject for sending message, such as sends the first MEP equipment of the second request or send the 2nd MEP that second responds and set
It is standby to be in period modulation state.
By the above method, firstly, the first MEP equipment confirms that the 2nd MEP equipment can receive described first through consultation
The CCM frame that MEP equipment is sent with transmission cycle adjusted.Then, the first MEP equipment sends second request to request
The 2nd MEP equipment is stated to go to enable the first ability so that the 2nd MEP equipment receive the first MEP equipment with
When the CCM frame that second transmission cycle is sent, no longer progress dUNP alarm.Period negotiation is carried out using the present processes
In the process, the first MEP equipment is not influenced and sends CCM frame to the 2nd MEP equipment, therefore, in the first MEP equipment and described the
Detection of connectivity between two MEP equipment will not interrupt, and will not influence between the first MEP equipment and the 2nd MEP equipment
The protection of the business of transmission.
Optionally, after S208, the method 200 can also include S209-S212.
S209, the first MEP equipment are requested to the 2nd MEP equipment third.
Specifically, CCM is sent to the 2nd MEP equipment according to second transmission cycle in the first MEP equipment
During frame, the first MEP equipment sends the third request to the 2nd MEP equipment.The third request is used for
Indicate that the 2nd MEP equipment enables the second ability, the second ability refers to: the 2nd MEP equipment determines that is received comes from
It is described when the value of period field in the CCM frame of the first MEP equipment is not equal to the duration that second transmission cycle has
2nd MEP equipment carries out the ability of unexpected time limit in period dUNP alarm.In a specific embodiment, the third is asked
It asks as LBM frame or CCM frame, the third request includes the Interval TLV field.About the Interval TLV word
The encapsulation format of section is referring to the related description of Fig. 3-6, and details are not described herein again.
In the adjustment request, the CurTxInterval field carries the duration that second transmission cycle has.
For example, the when a length of 10ms that the second transmission cycle has, the 2nd bit values are labeled as in CurTxInterval field at this time
1。
S210, the 2nd MEP equipment receive the third request that the first MEP equipment is sent.
S211, the 2nd MEP equipment send third response to the first MEP equipment.
The 2nd MEP equipment sends third response to the first MEP equipment, and the third response is to the third
The response of request.The third response carries the duration having in the second reception period.The third response is for notifying
It states the 2nd MEP equipment described in the first MEP equipment and has enabled the second ability.The 2nd MEP equipment enables described second
After one example of the specific implementation of ability may is that the 2nd MEP equipment receives the third request, the period is opened
Verification is revised as period verification to determine the CCM frame from the first MEP equipment received in the 2nd MEP equipment
In the value of period field when being equal to the duration that second transmission cycle has, alarm without dUNP, and the 2nd MEP is set
The standby value for determining the period field in the CCM frame from the first MEP equipment received is not equal to the second transmission week
DUNP alarm is carried out when the duration that the phase has.After the 2nd MEP setting enables the second ability, the 2nd MEP
Equipment receives the CCM frame that the first MEP equipment is sent according to the second reception period.The i.e. described 2nd MEP equipment receives
It is the second reception period by current reception period modulation after the third request sent to the first MEP equipment,
The when a length of K*T3 of the report cycle of Loss of continuity defect dLOC alarm.Wherein, the K is a positive number, it is preferred that 3.25
≤K≤3.5.T3 is the duration having in the second reception period.Then, the 2nd MEP equipment is to the first MEP equipment
The third response is sent, the third response is for notifying the 2nd MEP equipment described in the first MEP equipment to enable institute
State the second ability.
In a specific embodiment, when third request is LBM frame, the third response is LBR frame, institute
Stating third response includes the Interval TLV field.In another particular embodiment of the invention, when third request is
When CCM frame, the third response is CCM frame, and the third response includes the Interval TLV field.About described
The encapsulation format of Interval TLV field is referring to the related description of Fig. 3-6, and details are not described herein again.
In adjustment response, the CurTxInterval field carries the duration having in the second reception period.
For example, the when a length of 10ms that the second reception period had, the 2nd bit values are labeled as in CurTxInterval field at this time
1。
S212, the first MEP equipment receive the third response that the 2nd MEP equipment is sent.
In S209-S212, in the third request and third response, the value of the F field may be configured as 1, table
Show the executing subject for sending message, such as sends the first MEP equipment of third request or send the of the third response
Two MEP equipment are in period modulation state.
By sending the third request and receiving the third response, it is possible to prevente effectively from the 2nd MEP equipment is long
Time is in dual frequency reception state, and " the dual frequency reception state " refers to that the 2nd MEP equipment can be supported simultaneously according to institute
It stated for the first reception period and the second reception period receives the CCM frame that the first MEP equipment is sent.I.e. described 2nd MEP
Equipment can receive the CCM frame that the first MEP equipment is sent according to first transmission cycle, also can receive described
The CCM frame that one MEP equipment is sent according to second transmission cycle.At this point, the 2nd MEP equipment can be received described first
In the duration that the duration and the second reception period that period has have, longer duration is selected, it is a length of when described longer
T4, then a length of K*T4 when the alarm of dLOC detection, K is positive number.Preferably, 3.25≤K≤3.5.But if described second passes
The duration that the defeated period has is less than the duration that first transmission cycle has, i.e., the duration that the described second reception period has is small
In the duration that the first reception period has, then the 2nd MEP equipment can not accomplish timely dLOC detection alarm.Example
Such as, the duration that the transmission cycle of CCM frame has is adjusted to 3.33ms by 10ms by the first MEP equipment, if the 2nd MEP equipment is still
So accused with the time detection dLOCN of 35ms then just not can guarantee accurate timely detection with 10ms for the reception period of itself
It is alert.Therefore, the transmission for the CCM frame for avoiding dual frequency reception state from making between the first MEP equipment and the 2nd MEP equipment
Period and reception period are consistent, so as to guarantee timely to detect alarm.
Fig. 7 is the schematic diagram for the first MEP equipment 700 according to one embodiment of the application.First MEP equipment 700
Applied to can be used in MEP1 shown in FIG. 1, for executing method described in Fig. 2.First MEP equipment 700 includes sending
Module 701, processing module 702 and receiving module 703.
The sending module 701, in the first MEP equipment according to second transmission cycle to described second
During MEP equipment sends CCM frame, the first request is sent to the 2nd MEP equipment.First request is used to indicate described the
Two MEP equipment feed back the set for the duration that the reception period that the 2nd MEP equipment is supported has to the first MEP equipment.
The set includes the duration having in the second reception period.The duration that the second reception period has receives period tool with first
Some durations are different.The first reception period is the reception period that the 2nd MEP equipment is used to receive the CCM frame.Institute
The duration that stating the first transmission cycle has is T1.The duration that the first reception period has is T2.Described second receives the period
The duration having is T3.T1 is equal to T2, and T2 is not equal to T3.
The receiving module 703, for receiving the first response from the 2nd MEP equipment, first response is
Described first requests corresponding response, and first response carries the set.
The processing module 702, for according to it is described first response in carry it is described second reception the period have when
The duration that the long determining second reception period has is equal to the duration that the second transmission cycle has.Second transmission cycle is
The transmission cycle that the first MEP equipment is supported.Second transmission cycle is that the first MEP equipment can be used in transmitting
The transmission cycle that period updates.
The sending module 701 is also used to send the second request to the 2nd MEP equipment.Second request carries
The duration that second transmission cycle has.Second request is used to indicate the 2nd MEP equipment and removes enabled the first ability.It is described
The first ability refers to: when the 2nd MEP equipment determines the period in the CCM frame from the first MEP equipment received
When the value of field is equal to the duration that second transmission cycle has, the 2nd MEP equipment carries out the unexpected time limit in period
The ability of dUNP alarm.
The receiving module 703 is also used to receive the second response that the 2nd MEP equipment is sent.Second response
It is to the response for going to make can request that, second response is for having notified the 2nd MEP equipment described in the first MEP equipment
Through removing to enable the first ability.
The sending module 701 is also used to carry according to second transmission cycle to the 2nd MEP equipment transmission
The value of period field is equal to the CCM frame for the duration that second transmission cycle has.
In the embodiment of the present application, firstly, the first MEP equipment confirms that the 2nd MEP equipment can receive described through consultation
The CCM frame that one MEP equipment is sent with transmission cycle adjusted.Then, the first MEP equipment sends second request to request
The 2nd MEP equipment goes to enable the first ability, so that the 2nd MEP equipment is receiving the first MEP equipment
With second transmission cycle send CCM frame when, no longer progress dUNP alarm.Period negotiation is carried out using the present processes
During, the first MEP equipment is not influenced to the 2nd MEP equipment and sends CCM frame, therefore, in the first MEP equipment and described
Detection of connectivity between 2nd MEP equipment will not interrupt, will not influence to the first MEP equipment and the 2nd MEP equipment it
Between the protection of business transmitted.
Optionally, second request is also used to indicate the 2nd MEP equipment by the announcement of Loss of continuity defect dLOC
The duration in alert period is revised as the second duration by the first duration, and first duration is equal to K*T2, and second duration is equal to K*
T3, T3 > T2, K are positive numbers.
Optionally, the sending module 701, be also used to the first MEP equipment according to second transmission cycle to
During the 2nd MEP equipment sends CCM frame, the 2nd MEP equipment of Xiang Suoshu sends third request described in third request and uses
The second ability is enabled in instruction the 2nd MEP equipment.The second ability refers to: the 2nd MEP equipment determines that is received comes
It is not equal to the duration when institute that second transmission cycle has from the value of the period field in the CCM frame of the first MEP equipment
State the ability that the 2nd MEP equipment carries out unexpected time limit in period dUNP alarm.The receiving module 703 is also used to receive described
The third response that 2nd MEP equipment is sent.The third response is the response to third request.The third response is used for
The 2nd MEP equipment described in the first MEP equipment is notified to enable the second ability.
By sending the third request and receiving the third response, it is possible to prevente effectively from the 2nd MEP equipment is long
Time is in dual frequency reception state.Dual frequency reception state is avoided to make between the first MEP equipment and the 2nd MEP equipment
CCM frame transmission cycle and receive the period be consistent, so as to guarantee timely to detect alarm.
Optionally, first request and second request are loopback message LBM frame or first request
And second request is CCM frame.First request includes period type length value Interval TLV field, described
Second request includes Interval TLV field.The Interval TLV field in second request is described for carrying
The duration that second transmission cycle has.About the Interval TLV field encapsulation format referring to Fig. 3-6 and on
The related description in embodiment of the method is stated, details are not described herein again.
Optionally, the first request first request, second request and third request are loopback message
LBM frame or first request, second request and third request are CCM frame.It is described first request include
Period type length value Interval TLV field, second request includes Interval TLV field, the third request
Including Interval TLV field.The Interval TLV field in second request is for carrying second transmission
The duration that period has.The Interval TLV field in the third request is for carrying the second transmission cycle tool
Some durations.Encapsulation format about the Interval TLV field is referring to the phase in Fig. 3-6 and above method embodiment
It speaks on somebody's behalf bright, details are not described herein again.
Fig. 8 is the schematic diagram for the 2nd MEP equipment 800 according to one embodiment of the application.2nd MEP equipment 800
It can be used in MEP2 shown in FIG. 1, for executing method described in Fig. 2.2nd MEP equipment 800 includes receiving module,
801, processing module 802 and sending module 803.
The receiving module 801, for being sent out according to the first transmission cycle to the 2nd MEP equipment in the first MEP equipment
During sending continuity check message CCM frame, the first request described in the first request that the first MEP equipment is sent is received
Being used to indicate the 2nd MEP equipment and feeding back the reception period that the 2nd MEP equipment is supported to the first MEP equipment has
Duration set.The set includes the duration having in the second reception period.The duration that has of second reception period with
The duration that first reception period had is different.The first reception period refers to the 2nd MEP equipment for receiving the CCM
The reception period of frame.The duration that first transmission cycle has is T1.The duration that the first reception period has is T2.Institute
The duration that stating for the second reception period has is T3.T1 is equal to T2, and T2 is not equal to T3.
The sending module 803, for sending the first response to the first MEP equipment, first response is described
The corresponding response of first request, for feeding back the set to the MEP equipment.
The receiving module 801 is also used to receive the second request that the first MEP sets transmission.Second request is taken
The duration having with the second transmission cycle.The duration that the second round has is equal to T3.Second transmission cycle is described
The transmission cycle that first MEP equipment is supported.Second transmission cycle is that the first MEP equipment can be used in transmission cycle
The transmission cycle of update.
The processing module 802 removes enabled the first ability for the instruction according to second request.First energy
Power refers to: when the 2nd MEP equipment determines the period field in the CCM frame from the first MEP equipment received
When value is equal to the duration that second transmission cycle has, the 2nd MEP equipment carries out unexpected time limit in period dUNP alarm
Ability.
The sending module 803 is also used to send the second response to the first MEP equipment.Second response is institute
State the corresponding response of the second request.Second response carries the duration having in the second reception period.Second response
For notifying the 2nd MEP equipment described in the first MEP equipment to go to enable the first ability.
After the sending module 803 sends second response to the first MEP equipment, the receiving module
801, it is also used to receive the first MEP equipment and is equal to according to the value for carrying period field that second transmission cycle is sent
The CCM frame for the duration that second transmission cycle has.
In the embodiment of the present application, firstly, the first MEP equipment confirms that the 2nd MEP equipment can receive described through consultation
The CCM frame that one MEP equipment is sent with transmission cycle adjusted.Then, the first MEP equipment sends second request to request
The 2nd MEP equipment goes to enable the first ability, so that the 2nd MEP equipment is receiving the first MEP equipment
With second transmission cycle send CCM frame when, no longer progress dUNP alarm.Period negotiation is carried out using the present processes
During, the first MEP equipment is not influenced to the 2nd MEP equipment and sends CCM frame, therefore, in the first MEP equipment and described
Detection of connectivity between 2nd MEP equipment will not interrupt, will not influence to the first MEP equipment and the 2nd MEP equipment it
Between the protection of business transmitted.
Optionally, before sending second response to the first MEP equipment in the sending module 803, the place
Reason module 802 be also used to according to it is described second request instruction, by Loss of continuity defect dLOC alarm the period duration by
First duration is revised as the second duration.First duration is equal to K*T2, and second duration is equal to K*T3, and T3 > T2, K are just
Number.
Optionally, the receiving module 801, be also used to the first MEP equipment according to second transmission cycle to
During the 2nd MEP equipment sends CCM frame, third request that the first MEP equipment is sent is received according to described the
The instruction of three requests, the 2nd MEP equipment enable the second ability.The second ability refers to: the 2nd MEP equipment, which determines, to be received
To the CCM frame from the first MEP equipment in period field value not equal to second transmission cycle have when
When long, the 2nd MEP equipment carries out the ability of unexpected time limit in period dUNP alarm.The sending module 803, be also used to
The first MEP equipment sends third response.The third response is the response to third request.The third response is used
In notifying the 2nd MEP equipment described in the first MEP equipment to enable the second ability.
By receiving the third request and sending the third response, it is possible to prevente effectively from the 2nd MEP equipment is long
Time is in dual frequency reception state.Dual frequency reception state is avoided to make between the first MEP equipment and the 2nd MEP equipment
CCM frame transmission cycle and receive the period be consistent, so as to guarantee timely to detect alarm.
Optionally, first response and second response are LBR frame or first response and described second
Response is CCM frame.First response includes period type length value Interval TLV field.It is described second response include
Interval TLV field.The Interval TLV field in first response is for carrying the 2nd MEP equipment
The set for the duration that the reception period of support has.The Interval TLV field in second response is for carrying institute
State the duration that the second reception period had.Encapsulation format about the Interval TLV field is referring to Fig. 3-6 and above-mentioned
Related description in embodiment of the method, details are not described herein again.
Optionally, first response, second response and third response are LBR frame or described the
One response, second response and third response are CCM frame.First response includes period type length value
Interval TLV field.Second response includes Interval TLV field, and the third response includes Interval
TLV field.The Interval TLV field in first response is used to carry the reception that the 2nd MEP equipment is supported
The set for the duration that period has.The Interval TLV field in second response is received for carrying described second
The duration that period has.The Interval TLV field in the third response receives period tool for carrying described second
Some durations.Encapsulation format about the Interval TLV field is referring to the phase in Fig. 3-6 and above method embodiment
It speaks on somebody's behalf bright, details are not described herein again.
Fig. 9 is according to a kind of schematic diagram of first MEP equipment 900 provided by the embodiments of the present application.First MEP equipment
900 can be MEP1 shown in FIG. 1.First MEP equipment 900 can be used for executing method 200 shown in Fig. 2.Such as Fig. 9 institute
Show, the first MEP equipment 900 includes: input interface 901, output interface 902, processor 903 and memory 904.The input connects
Mouth 901,902 processor 903 of output interface can be connected with memory 904 by bus system 905.
The memory 904 includes program, instruction or code for storing.The processor 903, for executing described deposit
Program, instruction or code in reservoir 904, to control, input interface 901 receives signal, control output interface 902 sends signal
With the relevant operation in Method Of Accomplishment 200.
Figure 10 is according to a kind of schematic diagram of 2nd MEP equipment 1000 provided by the embodiments of the present application, the 2nd MEP equipment
1000 specifically can be MEP2 shown in FIG. 1.2nd MEP equipment 1000 can be used for executing method 200 shown in Fig. 2.Such as
Shown in Figure 10, the 2nd MEP equipment 1000 includes: input interface 1001, output interface 1002, processor 1003 and memory
1004.The input interface 1001,1002 processor 1003 of output interface and memory 1004 can pass through 1005 phase of bus system
Even.
The memory 1004 includes program, instruction or code for storing.The processor 1003, it is described for executing
Program, instruction or code in memory 1004, to control, input interface 1001 receives signal, control output interface 1002 is sent
The relevant operation of signal and Method Of Accomplishment 200.
It should be understood that in the embodiment of the present application, above-mentioned processor 903 and processor 1003 can be central processing unit
(Central Processing Unit, referred to as " CPU "), can also be other general processors, digital signal processor
(DSP), specific integrated circuit (ASIC), ready-made programmable gate array (FPGA) or other programmable logic device, discrete gate
Or transistor logic, discrete hardware components etc..General processor can be microprocessor or the processor can also be with
It is any conventional processor etc..
Memory 904 and memory 1004 may include read-only memory and random access memory, and respectively to respective
Corresponding processor provides instruction and data.Memory a part can also include nonvolatile RAM.For example,
Memory can be with the information of storage device type.
Bus system 905 and bus system 1005 can also include power bus, control always in addition to including data/address bus
Line and status signal bus in addition etc..But for the sake of clear explanation, various buses are all designated as bus system in figure.
During realization, each step of method 200 can pass through the collection of the hardware in processor 903 and processor 1003
It is completed at the instruction of logic circuit or software form.The step of localization method in conjunction with disclosed in the embodiment of the present application, can be straight
Connect and be presented as that hardware processor executes completion, or in processor hardware and software module combination execute completion.Software mould
Block can be located at random access memory, flash memory, read-only memory, programmable read only memory or electrically erasable programmable storage
In the storage medium of this fields such as device, register maturation.The storage medium is located in above-mentioned each memory, above-mentioned each processing
The step of device reads the information in corresponding memory, completes the above method 200 in conjunction with its hardware.To avoid repeating, here not
It is described in detail again.
It should be noted that the processing module 702 in Fig. 7 can use the processing in Fig. 9 in a specific embodiment
Device 903 realizes that sending module 701 can be realized that receiving module 703 can be by defeated in Fig. 9 by the output interface 902 in Fig. 9
Incoming interface 901 is realized.Processing module 802 in Fig. 8 can realize with the processor 1003 in Figure 10, and sending module 803 can be with
It is realized by the output interface 1002 in Figure 10, receiving module 801 can be realized by the input interface 1001 in Figure 10.
Present invention also provides a kind of communication systems, including the first MEP equipment and the 2nd MEP equipment.First MEP is set
Standby includes MEP equipment provided by the corresponding embodiment of Fig. 7 or Fig. 9.The 2nd MEP equipment includes Fig. 8 or Figure 10 corresponding
MEP equipment provided by embodiment.The communication system is used to execute the method 200 of the corresponding embodiment of Fig. 2.
It should be understood that the size of the serial number of each process is not meant to execution sequence in the various embodiments of the application
Successively, the execution sequence of each process should be determined by its function and internal logic, the implementation process without coping with the embodiment of the present application
Constitute any restriction.
Those of ordinary skill in the art may be aware that mould described in conjunction with the examples disclosed in the embodiments of the present disclosure
Block and method and step can be realized with the combination of electronic hardware or computer software and electronic hardware.These functions are actually
It is implemented in hardware or software, the specific application and design constraint depending on technical solution.Professional technician
Each specific application can be used different methods to achieve the described function, but this realization is it is not considered that exceed
Scope of the present application.
It is apparent to those skilled in the art that for convenience and simplicity of description, the system of foregoing description,
The specific work process of device and module, can refer to corresponding processes in the foregoing method embodiment, and details are not described herein.
Those skilled in the art are it will be appreciated that in said one or multiple examples, function described herein
It can be realized with hardware, software or their any combination.If the function is realized in the form of software function module
And when sold or used as an independent product, it can store in a computer readable storage medium.Based on such
Understand, the technical solution of the application substantially part of the part that contributes to existing technology or the technical solution in other words
It can be embodied in the form of software products, which is stored in a storage medium, including several fingers
It enables and using so that computer equipment (can be personal computer, server or the network equipment an etc.) execution the application is each
The all or part of the steps of a embodiment the method.And storage medium above-mentioned includes: USB flash disk, mobile hard disk, read-only memory
(ROM, Read-Only Memory), random access memory (RAM, Random Access Memory), magnetic or disk
Etc. the various media that can store program code.
The various pieces of this specification are all made of progressive mode and are described, same and similar portion between each embodiment
Dividing may refer to each other, and what each embodiment introduced is and other embodiments difference.Especially for device and it is
For embodiment of uniting, since it is substantially similar to the method embodiment, so being described relatively simple, related place is referring to method reality
Apply the explanation of example part.
Finally, it should be understood that being not intended to the foregoing is merely the preferred embodiment of technical scheme
Limit the protection scope of the application.Obviously, those skilled in the art can carry out various modification and variations without de- to the application
From scope of the present application.If these modifications and variations of the application belong to the range of the claim of this application and its equivalent technologies
Within, then any modification, equivalent replacement, improvement and so on, should be included within the scope of protection of this application.
Claims (21)
1. a kind of method for negotiating transmission cycle characterized by comprising
Continuity check is sent to the 2nd MEP equipment according to the first transmission cycle in the first Maintenance Entity endpoint MEP equipment to disappear
During ceasing CCM frame, the first MEP equipment sends the first request to the 2nd MEP equipment, and first request is used to indicate
The duration that the 2nd MEP equipment has to the reception period that the first MEP equipment feeds back the 2nd MEP equipment support
Set, the set include the duration having in the second reception period, and the duration that the second reception period has is received with first
The duration that period has is different, and the first reception period is the reception week that the 2nd MEP equipment is used to receive the CCM frame
Phase, the duration that first transmission cycle has is T1, and the duration that the first reception period has is T2, and described second receives
The duration that period has is T3, and T1 is equal to T2, and T2 is not equal to T3;
The first MEP equipment receives the first response from the 2nd MEP equipment, and first response is first request pair
The response answered, first response carry the set;
The first MEP equipment receives described in the duration determination that the period has according to carry in first response described second
The duration that second reception period had is equal to the duration that the second transmission cycle has, and second transmission cycle is described first
The transmission cycle that MEP equipment is supported, second transmission cycle are that the transmission cycle that can be used in of the first MEP equipment updates
Transmission cycle;
The first MEP equipment sends the second request to the 2nd MEP equipment, and second request carries second transmission
The duration that period has, second request are used to indicate the 2nd MEP equipment and remove enabled the first ability, and the first ability is
Refer to: when the 2nd MEP equipment determines the value etc. of the period field in the CCM frame from the first MEP equipment received
When the duration that second transmission cycle has, the 2nd MEP equipment carries out the energy of unexpected time limit in period dUNP alarm
Power;
The first MEP equipment receives the second response that the 2nd MEP equipment is sent, and second response is to go to make to described
The response that can request that, second response is for notifying that it is enabled described that the 2nd MEP equipment described in the first MEP equipment has been gone
The first ability;
After the first MEP equipment receives second response, the first MEP equipment is according to second transmission cycle to institute
State CCM frame of the value equal to the duration that second transmission cycle has that the transmission of the 2nd MEP equipment carries period field.
2. the method according to claim 1, wherein second request is also used to indicate that the 2nd MEP is set
It is standby that duration that the alarm period of Loss of continuity defect dLOC has is revised as the second duration by the first duration, when described first
Long to be equal to K*T2, second duration is equal to K*T3, and T3 > T2, K are positive numbers.
3. method according to claim 1 or 2, which is characterized in that the method also includes:
During the first MEP equipment sends CCM frame to the 2nd MEP equipment according to second transmission cycle,
The first MEP equipment sends third request to the 2nd MEP equipment, and the third request is used to indicate the 2nd MEP
Equipment enables the second ability, and the second ability refers to: the 2nd MEP equipment determines that is received comes from the first MEP equipment
CCM frame in period field value have not equal to second transmission cycle duration when described in the 2nd MEP equipment carry out
The ability of unexpected time limit in period dUNP alarm;
The first MEP equipment receives the third response that the 2nd MEP equipment is sent, and the third response is to the third
The response of request, the third response is for notifying the 2nd MEP equipment described in the first MEP equipment to enable described second
Ability.
4. method according to claim 1 or 2, it is characterised in that:
First request and second request are loopback message LBM frame or first request and described the
Two requests are CCM frame;
First request includes period type length value Interval TLV field, and second request includes Interval
TLV field;
The Interval TLV field in second request is for carrying the duration that second transmission cycle has.
5. according to the method described in claim 3, it is characterized by:
First request, second request and third request are that loopback message LBM frame or described first are asked
It asks, second request and third request are CCM frame;
First request includes period type length value Interval TLV field, and second request includes Interval
TLV field, the third request includes Interval TLV field;
The Interval TLV field in second request is for carrying the duration that second transmission cycle has, institute
The Interval TLV field in third request is stated for carrying the duration that second transmission cycle has.
6. a kind of method for negotiating transmission cycle, which is characterized in that this method comprises:
Continuity check is sent to the 2nd MEP equipment according to the first transmission cycle in the first Maintenance Entity endpoint MEP equipment to disappear
The process of CCM frame is ceased, the 2nd MEP equipment receives the first request that the first MEP equipment is sent, and first request is used
Feed back what the reception period that the 2nd MEP equipment is supported had to the first MEP equipment in instruction the 2nd MEP equipment
The set of duration, the set include the second duration for having of reception period, the duration that the second reception period has and the
The duration that one reception period had is different, and the first reception period refers to the 2nd MEP equipment for receiving the CCM frame
The reception period, the duration that first transmission cycle has is T1, and the duration that has of the first reception period is T2, described
The duration that second reception period had is T3, and T1 is equal to T2, and T2 is not equal to T3;
The 2nd MEP equipment sends the first response to the first MEP equipment, and first response is first request pair
The response answered, for feeding back the set to the first MEP equipment;
The 2nd MEP equipment receives the second request that the first MEP sets transmission, and second request carried for the second transmission week
The duration that phase has, the duration that the second round has are equal to T3, and second transmission cycle is the first MEP equipment branch
The transmission cycle held, second transmission cycle are the transmission weeks that can be used in transmission cycle update of the first MEP equipment
Phase;
According to the instruction of second request, the 2nd MEP equipment removes enabled the first ability, and the first ability refers to: when
It is described that the 2nd MEP equipment determines that the value of the period field in the CCM frame from the first MEP equipment received is equal to
When the duration that the second transmission cycle has, the 2nd MEP equipment carries out the ability of unexpected time limit in period dUNP alarm;
The 2nd MEP equipment sends the second response to the first MEP equipment, and second response is second request pair
The response answered, second response carry the duration having in the second reception period, and second response is described for notifying
2nd MEP equipment described in first MEP equipment has gone to enable the first ability;
After sending second response to the first MEP equipment, the 2nd MEP equipment receives the first MEP and sets
The standby value for carrying period field sent according to second transmission cycle is equal to the duration that second transmission cycle has
CCM frame.
7. according to the method described in claim 6, it is characterized in that, being sent out in the 2nd MEP equipment to the first MEP equipment
Before sending second response, the method also includes:
According to the instruction of second request, the 2nd MEP equipment has the alarm period of Loss of continuity defect dLOC
Duration the second duration is revised as by the first duration, first duration is equal to K*T2, and second duration is equal to K*T3, T3 >
T2, K are positive numbers.
8. method according to claim 6 or 7, which is characterized in that the method also includes:
During the first MEP equipment sends CCM frame to the 2nd MEP equipment according to second transmission cycle,
The 2nd MEP equipment receives the third request that the first MEP equipment is sent, described according to the instruction that the third is requested
2nd MEP equipment enables the second ability, and the second ability refers to: the 2nd MEP equipment determines that is received comes from described first
When the value of period field in the CCM frame of MEP equipment is not equal to the duration that second transmission cycle has, the 2nd MEP
Equipment carries out the ability of unexpected time limit in period dUNP alarm;
The 2nd MEP equipment sends third response to the first MEP equipment, and the third response is requested the third
Response, third response is for notifying the 2nd MEP equipment described in the first MEP equipment to enable second energy
Power.
9. method according to claim 6 or 7, it is characterised in that:
First response and second response are Loopback Reply LBR frame or first response and second sound
It should be CCM frame;
First response includes period type length value Interval TLV field, and second response includes Interval
TLV field;
The Interval TLV field in first response is used to carry the reception period that the 2nd MEP equipment is supported
The set for the duration having, it is described second response in the Interval TLV field for carry it is described second receive the period
The duration having.
10. according to the method described in claim 8, it is characterized by:
First response, second response and third response are Loopback Reply LBR frame or first sound
It answers, second response and third response are CCM frame;
First response includes period type length value Interval TLV field, and second response includes Interval
TLV field, the third response includes Interval TLV field;
The Interval TLV field in first response is used to carry the reception period that the 2nd MEP equipment is supported
The set for the duration having, it is described second response in the Interval TLV field for carry it is described second receive the period
The duration having, the Interval TLV field in third response are used to carry what the second reception period had
Duration.
11. a kind of first Maintenance Entity endpoint MEP equipment, the first MEP equipment includes processing module, sending module and is connect
Receive module, wherein
The sending module, for sending continuity to the 2nd MEP equipment according to the first transmission cycle in the first MEP equipment
During checking message CCM frame, the first request is sent to the 2nd MEP equipment, first request is used to indicate described second
MEP equipment feeds back the set for the duration that the reception period that the 2nd MEP equipment is supported has, institute to the first MEP equipment
Stating set includes the duration that the second reception period had, and the duration that the second reception period has has with the first reception period
Duration it is different, the first reception period is the reception period that the 2nd MEP equipment is used to receive the CCM frame, described
The duration that first transmission cycle has is T1, and the duration that the first reception period has is T2, and described second receives period tool
Duration be T3, T1 is equal to T2, and T2 is not equal to T3;
The receiving module, for receiving the first response from the 2nd MEP equipment, first response is described first
Corresponding response is requested, first response carries the set;
The processing module, the duration for being had according to the second reception period carried in first response determine institute
It states the duration that the second reception period had and is equal to the duration that the second transmission cycle has, second transmission cycle is described first
The transmission cycle that MEP equipment is supported, second transmission cycle are that the transmission cycle that can be used in of the first MEP equipment updates
Transmission cycle;
The sending module, is also used to send the second request to the 2nd MEP equipment, and second request carries described second
The duration that transmission cycle has, second request are used to indicate the 2nd MEP equipment and remove enabled the first ability, the first ability
Refer to: when the 2nd MEP equipment determines the value of the period field in the CCM frame from the first MEP equipment received
When the duration having equal to second transmission cycle, the 2nd MEP equipment carries out unexpected time limit in period dUNP alarm
Ability;
The receiving module is also used to receive the second response that the 2nd MEP equipment is sent, and second response is to described
The response for making can request that is gone, second response is for notifying the 2nd MEP equipment described in the first MEP equipment to go to enable
The first ability;
The sending module is also used to carry period word to the 2nd MEP equipment transmission according to second transmission cycle
The value of section is equal to the CCM frame for the duration that second transmission cycle has.
12. the first MEP equipment according to claim 11, which is characterized in that second request is also used to indicate described
The duration in the alarm period of Loss of continuity defect dLOC is revised as the second duration by the first duration by the 2nd MEP equipment, described
First duration is equal to K*T2, and second duration is equal to K*T3, and T3 > T2, K are positive numbers.
13. the first MEP equipment according to claim 11 or 12, it is characterised in that:
The sending module is also used in the first MEP equipment according to second transmission cycle to the 2nd MEP equipment
During sending CCM frame, the 2nd MEP equipment of Xiang Suoshu sends third request, and the third request is used to indicate described second
MEP equipment enables the second ability, and the second ability refers to: the 2nd MEP equipment determines that is received sets from the first MEP
When the duration that the value of the period field in standby CCM frame has not equal to second transmission cycle, the 2nd MEP equipment into
The ability of unexpected time limit in the period dUNP alarm of row;
The receiving module is also used to receive the third response that the 2nd MEP equipment is sent, and the third response is to described
The response of third request, the third response is for notifying that it is described that the 2nd MEP equipment described in the first MEP equipment has enabled
The second ability.
14. the first MEP equipment according to claim 11 or 12, it is characterised in that: first request and described the
Two requests are loopback message LBM frame or first request and second request is CCM frame;
First request includes period type length value Interval TLV field, and second request includes Interval
TLV field;
The Interval TLV field in second request is for carrying the duration that second transmission cycle has.
15. the first MEP equipment according to claim 13, it is characterised in that: the first request first request, described the
Two request and the third request be loopback message LBM frame or it is described first request, it is described second request and it is described
Third request is CCM frame;
First request includes period type length value Interval TLV field, and second request includes Interval
TLV field, the third request includes Interval TLV field;
The Interval TLV field in second request is for carrying the duration that second transmission cycle has, institute
The Interval TLV field in third request is stated for carrying the duration that second transmission cycle has.
16. a kind of second Maintenance Entity endpoint MEP equipment, the 2nd MEP equipment includes receiving module, processing module and hair
Send module, wherein
The receiving module, for sending continuity to the 2nd MEP equipment according to the first transmission cycle in the first MEP equipment
During checking message CCM frame, the first request that the first MEP equipment is sent is received, first request is used to indicate
The duration that the 2nd MEP equipment has to the reception period that the first MEP equipment feeds back the 2nd MEP equipment support
Set, the set include the duration having in the second reception period, and the duration that the second reception period has is received with first
The duration that period has is different, and the first reception period refers to the 2nd MEP equipment for receiving the reception of the CCM frame
In the period, the duration that first transmission cycle has is T1, and the duration that the first reception period has is T2, and described second connects
The duration that receiving the period has is T3, and T1 is equal to T2, and T2 is not equal to T3;
The sending module is used to send the first response to the first MEP equipment, and first response is first request
Corresponding response, for feeding back the set to the MEP equipment;
The receiving module is also used to receive the second request that the first MEP sets transmission, and second request carries second and passes
The duration that the defeated period has, the duration that the second round has are equal to T3, and second transmission cycle is that the first MEP is set
The standby transmission cycle supported, second transmission cycle are the biographies that can be used in transmission cycle update of the first MEP equipment
The defeated period;
The processing module is used to remove enabled the first ability, the first ability refers to according to the instruction of second request: when
It is described that the 2nd MEP equipment determines that the value of the period field in the CCM frame from the first MEP equipment received is equal to
When the duration that the second transmission cycle has, the 2nd MEP equipment carries out the ability of unexpected time limit in period dUNP alarm;
The sending module is also used to send the second response to the first MEP equipment, and second response is described second to ask
Corresponding response is asked, second response carries the duration having in the second reception period, and second response is for notifying
2nd MEP equipment described in the first MEP equipment has gone to enable the first ability;
After the sending module sends second response to the first MEP equipment, the receiving module is also used to connect
It receives the first MEP equipment and is equal to second transmission according to the value for carrying period field that second transmission cycle is sent
The CCM frame for the duration that period has.
17. the 2nd MEP equipment according to claim 16, which is characterized in that in the sending module to the first MEP
Before equipment sends second response, the processing module is also used to be lost continuity according to the instruction of second request
The duration for losing the alarm period of defect dLOC is revised as the second duration by the first duration, and first duration is equal to K*T2, described
Second duration is equal to K*T3, and T3 > T2, K are positive numbers.
18. the 2nd MEP equipment according to claim 16 or 17, which is characterized in that
The receiving module is also used in the first MEP equipment according to second transmission cycle to the 2nd MEP equipment
During sending CCM frame, the third request that the first MEP equipment is sent is received, according to the instruction that the third is requested, institute
State the 2nd MEP equipment and enable the second ability, the second ability refers to: the 2nd MEP equipment determine receive from described the
When the value of period field in the CCM frame of one MEP equipment is not equal to the duration that second transmission cycle has, described second
MEP equipment carries out the ability of unexpected time limit in period dUNP alarm;
The sending module is also used to send third response to the first MEP equipment, and the third response is to the third
The response of request, the third response is for notifying the 2nd MEP equipment described in the first MEP equipment to enable described second
Ability.
19. the 2nd MEP equipment according to claim 16 or 17, it is characterised in that:
First response and second response are Loopback Reply LBR frame or first response and second sound
It should be CCM frame;
First response includes period type length value Interval TLV field, and second response includes Interval
TLV field;
The Interval TLV field in first response is used to carry the reception period that the 2nd MEP equipment is supported
The set for the duration having, it is described second response in the Interval TLV field for carry it is described second receive the period
The duration having.
20. the 2nd MEP equipment according to claim 18, it is characterised in that:
First response, second response and third response are Loopback Reply LBR frame or first sound
It answers, second response and third response are CCM frame;
First response includes period type length value Interval TLV field, and second response includes Interval
TLV field, the third response includes Interval TLV field;
The Interval TLV field in first response is used to carry the reception period that the 2nd MEP equipment is supported
The set for the duration having, it is described second response in the Interval TLV field for carry it is described second receive the period
The duration having, the Interval TLV field in third response are used to carry what the second reception period had
Duration.
21. a kind of communication system, including the described in any item first MEP equipment of claim 11-15 and claim 16-20
Described in any item 2nd MEP equipment.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201610959342.5A CN106656449B (en) | 2016-11-02 | 2016-11-02 | A kind of method, apparatus and system of negotiated periods |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201610959342.5A CN106656449B (en) | 2016-11-02 | 2016-11-02 | A kind of method, apparatus and system of negotiated periods |
Publications (2)
Publication Number | Publication Date |
---|---|
CN106656449A CN106656449A (en) | 2017-05-10 |
CN106656449B true CN106656449B (en) | 2019-11-22 |
Family
ID=58820471
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201610959342.5A Expired - Fee Related CN106656449B (en) | 2016-11-02 | 2016-11-02 | A kind of method, apparatus and system of negotiated periods |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN106656449B (en) |
Families Citing this family (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN112104552B (en) * | 2019-06-17 | 2021-12-28 | 华为技术有限公司 | Method, device and computer storage medium for processing message |
CN115001944B (en) * | 2022-05-26 | 2025-01-21 | 苏州盛科通信股份有限公司 | CCM detection cycle modification method, device, electronic device and storage medium |
Citations (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102007729A (en) * | 2008-04-16 | 2011-04-06 | 爱立信电话股份有限公司 | Connectivity fault management traffic indication extension |
CN102160337A (en) * | 2008-09-09 | 2011-08-17 | 爱立信电话股份有限公司 | Reducing cc message transmission in a provider network |
Family Cites Families (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
RU2012127252A (en) * | 2009-11-30 | 2014-01-10 | Телефонактиеболагет Лм Эрикссон (Пабл) | METHOD AND DEVICE FOR SUPPORTING DISCOVERY DETECTION |
-
2016
- 2016-11-02 CN CN201610959342.5A patent/CN106656449B/en not_active Expired - Fee Related
Patent Citations (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102007729A (en) * | 2008-04-16 | 2011-04-06 | 爱立信电话股份有限公司 | Connectivity fault management traffic indication extension |
CN102160337A (en) * | 2008-09-09 | 2011-08-17 | 爱立信电话股份有限公司 | Reducing cc message transmission in a provider network |
Also Published As
Publication number | Publication date |
---|---|
CN106656449A (en) | 2017-05-10 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN108965204B (en) | Method and device for automatically realizing IOAM packaging | |
CN108964943B (en) | Method and device for realizing IOAM packaging | |
CN104410557A (en) | Dynamic networking method and communication method based on RS-485 | |
WO2017088494A1 (en) | Link management method and apparatus | |
CN106790266A (en) | The communication means and device of a kind of intelligent distribution type feeder automation | |
CN103999406A (en) | Communication path processing method and apparatus | |
CN106656449B (en) | A kind of method, apparatus and system of negotiated periods | |
CN108206764A (en) | Configuration method, server and the computer-readable medium of configuring information of network appliance | |
WO2017045433A1 (en) | Method and device for detecting communication state between stations, and storage medium | |
CN102025641A (en) | Message filtering method and exchange equipment | |
CN105743683A (en) | Terminal equipment management method in passive optical network, device and system | |
CN107360012B (en) | Link state processing method and network node equipment | |
JPH11261609A (en) | Data priority transmission method and device in CSMA / CD system | |
WO2024174689A1 (en) | Inter-device point-to-point communication method, system and apparatus, device, and storage medium | |
CN115883466B (en) | Switch control method and device, storage medium and electronic device | |
CN109981462B (en) | Message processing method and device | |
CN102571555B (en) | Hello message sending method and device in neighborhood relationship establishing process | |
CN104022910B (en) | A kind of parameter consultation method and its device | |
CN103780412B (en) | Realization method and apparatus for virtual southbound interface and internet of thing management platform | |
CN107666671B (en) | Method and device for detecting wrong connection based on TWAMP | |
CN103442386A (en) | Fault detecting method and node equipment | |
CN110061879A (en) | Device and method, system, equipment, computer storage medium is arranged in node ID | |
CN103684887A (en) | Method and equipment for generating connectivity fault detection network system hardware table entry | |
CN109309604A (en) | A kind of method, apparatus of loop detection, terminal device and medium | |
CN102025619A (en) | Method and system as well as equipment for transmitting response message |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant | ||
CF01 | Termination of patent right due to non-payment of annual fee | ||
CF01 | Termination of patent right due to non-payment of annual fee |
Granted publication date: 20191122 |