CN103023671B - Chip-level method and device for achieving various Intervals by OAM (operations, administration and maintenance) - Google Patents

Chip-level method and device for achieving various Intervals by OAM (operations, administration and maintenance) Download PDF

Info

Publication number
CN103023671B
CN103023671B CN201110279676.5A CN201110279676A CN103023671B CN 103023671 B CN103023671 B CN 103023671B CN 201110279676 A CN201110279676 A CN 201110279676A CN 103023671 B CN103023671 B CN 103023671B
Authority
CN
China
Prior art keywords
list item
interval
mep
chip
mep list
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN201110279676.5A
Other languages
Chinese (zh)
Other versions
CN103023671A (en
Inventor
何志川
单哲
廖继平
杨曙军
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Suzhou Centec Communications Co Ltd
Original Assignee
Centec Networks Suzhou Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Centec Networks Suzhou Co Ltd filed Critical Centec Networks Suzhou Co Ltd
Priority to CN201110279676.5A priority Critical patent/CN103023671B/en
Publication of CN103023671A publication Critical patent/CN103023671A/en
Application granted granted Critical
Publication of CN103023671B publication Critical patent/CN103023671B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Landscapes

  • Data Exchanges In Wide-Area Networks (AREA)
  • Debugging And Monitoring (AREA)

Abstract

The invention provides a chip-level method for achieving various Intervals by OAM (operations, administration and maintenance). The method comprises the following steps of initializing a first time count of an MEP (maintenance end point) list item of 3.33ms of Interval in a chip, a second time count of the MEP list item of other Intervals except for 3.3ms, and an index of the MEP list item; judging whether the first time count achieves the updating interval time to be updated; if not, progressively increasing 1 to the first time count; if so, judging whether the second time count of the MEP list item of other Intervals achieves integral multiple of the updating interval time; updating the MEP list item judged to be yes; updating various counters of current MEP list item, and carrying out corresponding even trigger operation or writing into the list item of the chip according to the updated counter value; progressively increasing 1 to the index of the MEP list item; setting the first time count to be 0, receiving the first time count and the index of the MEP list item; and progressively increasing 1 to the second circulating count and circulating again.

Description

Chip-scale realizes method and the device that OAM reaches various Interval
Technical field
The present invention relates to technical field of network communication, particularly relate to a kind of chip-scale and realize method and the device that OAM reaches various Interval.
Background technology
Ethernet OAM (Operations, Administration and Maintenance, operational administrative and maintenance) technology proposes, for monitoring each level service channel in ethernet networks, fault location, error reporting by IEEE 802.1ag, ITU-Y.1731 at first.Define the transmission Interval(interval that Ethernet OAM sends continuity detection messages (CCM, Continuity Check Message) wherein), define 7 kinds of Interval altogether, be respectively 3.33ms, 10ms, 100ms, 1s, 10s, 1min and 10min.Various Interval can meet the needs of different levels OAM monitoring frequency, wherein 3.33ms, 10ms to be used for level lower, need on the link of fast detecting and error reporting.
After Packet Transport Network (PTN, Packet Transport Network) rises gradually, each normal structure for all standard of PTN also in ardent propelling.MPLS-TP(Multi-Protocol Label Switching Transport Profile, multiprotocol label switching transmission architecture) proposed in April, 2008 by the joint working group of ITU-T and IETF establishment, its predecessor is the T-MPLS technical standard that ITU-T starts in May, 2005 to develop.IETF will absorb the tranmission techniques such as OAM, protect and manage in T-MPLS, expand existing MPLS(Multi-Protocol Label Switching, multiprotocol label switching) be MPLS-TP, to strengthen it to transmit demand support to ITU-T.
One of difference of MPLS-TP and MPLS technology is exactly that it has carrier-class OAM(Operation Administration Maintenance).The major function of MPLS-TP OAM is monitored each level service channel, fault location, error reporting.In order to ensure the demand of PTN network to carrier class OAM 50ms switching time, requiring that OAM(Operation Administration Maintenance) can rapid detection fault, the ability comprising the various Interval of 3.33ms meeting agreement regulation must be had.
In order to allow the detecting speed of OAM meet network demand, equipment component manufacturer starts OAM(Operation Administration Maintenance) to be integrated in exchange chip inside and completes.But how making OAM meet protocol requirement in chip-scale, particularly meet the packet sending speed of accurate 3.33ms, and meet the update algorithm of different I nterval, is a difficult point simultaneously.
Therefore, be necessary to provide a kind of chip-scale to realize OAM and reach the method for various Interval and device to overcome the problems referred to above.
Summary of the invention
A kind of the object of the present invention is to provide chip-scale to realize method that OAM reaches various Interval.
Another object of the present invention is to a kind of chip-scale and realize the device that OAM reaches various Interval, chip-scale described in described application of installation realizes the method that OAM reaches various Interval.
Correspondingly, chip-scale of the present invention realizes the method that OAM reaches various Interval, comprises the steps:
S10, the very first time counting of the MEP list item of 3.33ms Interval, second time counting of MEP list item of other Interval except 3.33ms and the index of MEP list item in initialization chip;
S20, judges whether current very first time counting has reached the renewal interval time needing to upgrade;
S30, when S20 step is judged as NO, to very first time count increments 1, and is conveyed into S80 by this very first time counting;
S40, when S20 step is judged as YES, then judges whether the MEP list item of other Interval current has the mark that the second time counting reaches the integral multiple of above-mentioned renewal interval time;
S50, MEP list item when being judged as YES current S20 and S40 step upgrades; Upgrade the various counters of current MEP list item, do corresponding event trigger action or write chip list item according to the Counter Value after upgrading;
S60, increases progressively 1 to the index of MEP list item;
S70, arranging the very first time is counted as 0;
S80, receive the very first time counting in S30, S70 and the MEP table item index in S60, the second cycle count increases progressively 1, and is circulated to S20 step.
As a further improvement on the present invention, described renewal interval time is for meeting the time counting needed for every bar MEP list item that precision is 1/4th 3.33ms Interval.
As a further improvement on the present invention, described S40 specifically comprises the following steps:
S401, judges whether the second time counting is the integral multiple upgrading interval time;
S402, if so, then carries out the mark of the MEP list item of corresponding Interval;
S403, if not, then gives tacit consent to the MEP list item only carried out when S20 is judged as YES.
As a further improvement on the present invention, described S50 specifically comprises the following steps:
S501, upgrades the current MEP list item meeting update condition;
S502, obtains the individual count device value that current MEP list item represents various event;
S503, subtracts 1 to above-mentioned each counter;
S504, judges whether each Counter Value equals 0;
S505, the event corresponding to the counter judging to equal 0 operates and behavior accordingly;
S506, resetting the above-mentioned counter equaling 0 is initial value;
S507, after the counter judging to be not equal to 0 is upgraded, write chip list item.
As a further improvement on the present invention, described S50 step is further comprising the steps of before S501:
S500, judges whether the index number of MEP list item is less than the MEP list item number of actual needs process, if it is continues to process, and if not, then idle loop once downwards.
Correspondingly, chip-scale of the present invention realizes the device that OAM reaches various Interval, comprise: initial cell, the very first time for the MEP list item of 3.33ms Interval in initialization chip count, second time counting of MEP list item of other Interval except 3.33ms and the index of MEP list item;
First judging unit, for judging whether the first current cycle count has reached the renewal interval time needing to upgrade;
First adder unit, for when the first judging unit is judged as NO, to very first time count increments 1, and is conveyed into statistic unit by this very first time counting;
Second judging unit, for when the first judging unit is judged as YES, then judges whether the MEP list item of other Interval current has the mark that the second time counting reaches the integral multiple of above-mentioned renewal interval time;
Processing unit, for upgrading current MEP list item when the first judging unit and the second judging unit are judged as YES; And for upgrading the various counters of current MEP list item, do corresponding event trigger action or write chip list item according to the Counter Value after upgrading;
Second adder unit, for increasing progressively 1 to the index of MEP list item;
Reset cell, is counted as 0 for arranging the very first time;
Statistic unit, for receiving the very first time counting in the first adder unit and reset cell and the MEP table item index in the second adder unit, increasing progressively 1 to the second time counting simultaneously, and being sent to the first adder unit.
As a further improvement on the present invention, described renewal interval time is for meeting the time counting needed for every bar MEP list item that precision is 1/4th 3.33ms Interval.
As a further improvement on the present invention, described second judging unit specifically for:
Judge whether the second time counting is the integral multiple upgrading interval time;
If so, the mark of the MEP list item of corresponding Interval is then carried out;
If not, then the MEP list item only carried out when the first judging unit is judged as YES is given tacit consent to.
As a further improvement on the present invention, described processing unit specifically for:
The current MEP list item meeting update condition is upgraded;
Obtain the individual count device value that current MEP list item represents various event;
1 is subtracted to above-mentioned each counter;
Judge whether each Counter Value equals 0;
The event corresponding to the counter judging to equal 0 operates and behavior accordingly;
Resetting the above-mentioned counter equaling 0 is initial value;
After the counter judging to be not equal to 0 is upgraded, write chip list item.
As a further improvement on the present invention, described processing unit before being processed also for:
Judge whether the index number of MEP list item is less than the MEP list item number of actual needs process, if it is continues to process, and if not, then idle loop once downwards.
The invention has the beneficial effects as follows: achieve in chip-scale comprise 3.33ms, the process of the various Interval of OAM of 1/4th Interval that precision is protocol definition; Complete the renewal of the MEP list item of various Interval simultaneously with unified logic process flow, and realize renewal and the process of each time-correlating events according to consensus standard.
Accompanying drawing explanation
Fig. 1 is the flow chart that an embodiment of the present invention chip-scale realizes that OAM reaches the method for various Interval;
Fig. 2 is the concrete process chart of S40 in Fig. 1;
Fig. 3 is the concrete process chart of S50 in Fig. 1;
Fig. 4 is the module map that an embodiment of the present invention chip-scale realizes that OAM reaches the device of various Interval.
Embodiment
Describe the present invention below with reference to each execution mode shown in the drawings.But these execution modes do not limit the present invention, the structure that those of ordinary skill in the art makes according to these execution modes, method or conversion functionally are all included in protection scope of the present invention.
In Ethernet OAM or MPLS-TP OAM technology, Interval, not only for sending CCM, also for the Local MEP(Maintenance End Point of OAM, safeguards boundary point), the state machine of Remote MEP upgrades.Protocol definition, to send time interval of CCM be condition that Interval, a LOC produce is that the Interval of 3.5 times does not receive correct CCM.LOC(Loss Of Connection, out of touch) condition removed receives more than 3 correct CCM in the Interval of 3.5 times.The cleared condition of all the other the various mistakes except LOC does not receive wrong CCM of the same type in the Intercal of 3.5 times.And protocol definition, the precision of Interval needs the precision reaching 1/4th Interval.As can be seen here, the accuracy of Interval design and the renewal of the MEP state machine that simultaneously meets various Interval are the key points realizing OAM technology.The following content of the present invention realizes setting forth chip-scale the method and apparatus that OAM reaches the various Interval realizations comprising 3.33ms.
Refer to shown in Fig. 1 is the flow chart that an embodiment of the present invention chip-scale realizes that OAM reaches the method for various Interval.According to 802.1ag with Y.1731 for the definition of precision, precision is 1/4* (3+1/3) ms=0.8333ms, and in order to reach this precision, chip must upgrade each MEP list item with certain frequency.Suppose that chip frequency is F Hz, the MEP list item number upgraded is needed to be N, chip often crosses renewal interval time (UpdInterval) just to be needed to upgrade a MEP list item, then UpdInterval=((0.8333/1000) * F)/N, wherein N=MaxNum-MinNum, is the list item number needing chip to upgrade.UpdInterval is necessary for integer, and adjustment N can make UpdInterval be approximately integer.UpdInterval is also the chip counter upgraded MEP list item with 1/4 3.33ms Interval.
An embodiment of the present invention chip-scale realizes the method that OAM reaches various Interval and comprises the steps:
S10, in initialization chip-scale, very first time counting (UpdCount) of the MEP list item of 3.33ms Interval, second time counting (TotalCount) of MEP list item of other Interval except 3.33ms and the index (UpdEntry) of MEP list item, make these variablees be initial value;
S20, judges whether current UpdCount has reached the UpdInterval needing to upgrade;
S30, when S20 is judged as NO, increases progressively 1 to UpdCount, and this UpdCount is conveyed into S80;
S40, when S20 is judged as YES, then judges whether the MEP list item of other Interval current has the mark that TotalCount reaches the integral multiple of above-mentioned UpdInterval;
S50, current MEP list item when being judged as YES S20 and S40 upgrades; Upgrade the various counters (Timer) of current MEP list item, do corresponding event trigger action or write chip list item according to the Timer value after upgrading;
S60, increases progressively 1 to the UpdEntry of MEP list item, shows to upgrade next MEP list item in circulation in next time;
S70, arranging UpdCount is 0, and showing needs again through the circulation of each chip of UpdIntercal, when meeting the condition of S20, upgrades next MEP list item;
S80, receives the MEP list item UpdEntry in UpdCount and S60 in S30, S70; Simultaneously to TotalCount count increments 1, this counting currently to upgrade the need of to other MEP list items of non-3.33ms Interval for judging, and is circulated to S20 step.
Wherein, in order to realize the processing accuracy that minimum precision is 1/4 3.33ms, chip circulate at every turn upgrade the time interval be 1/4 3.33ms, the MEP list item that this realization is 3.33ms for Interval is applicable, but be that the MEP list item of 10ms, 100ms and other Interval is inapplicable for Interval.Illustrate, Interval is that the renewal precision of the MEP list item of 10ms needs to reach 1/4 Interval, i.e. 1/4*10ms=2.5ms.Observe between each Interval and be integral multiple relation, 10ms is 3 times of 3.33ms, and 100ms is 30 times of 3.33ms, and other Interval by that analogy.
Therefore S40 step is set in said method of the present invention to solve above-mentioned inapplicable problem.Referring to shown in Fig. 2 is the concrete process chart of above-mentioned S40, and this S40 step mainly adds certain control information to control the MEP of current renewal the need of being updated, and specifically comprises the steps:
Whether S401, judges whether TotalCount is some particular values, be namely 3 times of UpdInterval, 30 times of equimultiple relations; If so, then show that this upgrades 1/4 Interval reaching this Interval and upgrades interval, need the MEP list item upgrading corresponding Interval.Illustrate, when TotalCount reaches 3 times of UpdInterval, need to indicate that Interval is the scope that the MEP list item of 10ms also will add this and upgrades, when TotalCount reaches 30 times of UpdInterval, need to indicate that Interval is the scope that the MEP list item of 100ms also will add this and upgrades;
S402, if so, then carries out the mark of the MEP list item of corresponding Interval;
S403, if not, then give tacit consent to and only carry out S20 when being judged as YES, the Interval namely meeting update condition is the MEP list item of 3.33ms.
In the specific embodiment of the invention, because the renewal precision arranged is 1/4Interval, the Timer counter being therefore arranged on contingent all kinds of event in detecting process is here the multiple of 4.Namely arranging Timer is 4, and the trigger condition representing this event is 1 Interval; Arranging Timer is 14, then the trigger condition representing this event is 3.5 times of Interval; By that analogy.Illustrate, the time interval sending CCM is 1 Interval, therefore arranges the Timer sending CCM and is counted as 4, and the time interval of discovery LOC is the time interval of 3.5 times, then the Timer arranging this event is counted as 14.
Refer to shown in Fig. 3 is the concrete process chart of above-mentioned S50.This S50 specifically comprises the steps:
S501, upgrades the current state machine meeting the MEP list item of update condition; Mainly check according to the result mark of S40; If the Interval of the MEP list item of current renewal is that mark can upgrade, then upgrade; Upgrade if do not allow, then do not upgrade;
S502, obtains each Timer value that current MEP list item represents various event, is supplied to follow-up judgement and process;
S503, subtracts 1 to above-mentioned each Timer;
S504, judges whether each Timer equals 0; Namely after Timer subtracts 1 in S503, determine whether 0, being 0, to show that this Timer has counted complete, and namely this event needs to be triggered; Timer as sent CCM is initialized as 4, after 4 times upgrade, is kept to 0, illustrates that this upgrades the time interval having arrived 1 Interval, needs the transmission triggering CCM message; If not 0, then show the time interval of also non-arrival event triggering, enter S507, each Timer after 1 will be subtracted and write chip list item;
S505, if some Timer is triggered, then makes corresponding operation and behavior, or by the reporting system such as message or interruption;
S506, resetting processed Timer is initial value, upgrades to do next round circulation; To send CCM, when Timer is kept to 0, in S505, carry out the operation sending CCM, in S506, reset this event Timer is 4, namely needs to upgrade through 4 times again, and namely 1 Interval just needs again to carry out this operation;
S507, after the counter judging to be not equal to 0 is upgraded, write chip list item.
Realizing OAM in said chip level reaches in the method for various Interval, and further, the list item entry number N that chip provides is relevant with memory space, and its distribution also has certain tactic and universal law.The list item number generally provided is the n power of 2, in units of K, i.e. and 1K(1024 bar), 2K(2048 bar) etc.And the natural frequency of process chip is also basic fixing.Therefore according to above-mentioned computing formula UpdInterval=((0.8333/1000) * F)/N, the UpdInterval likely calculated is decimal, and chip can only use integer for this value.If therefore fractional part is comparatively large, the precision upgrading MEP list item can be affected, also affecting the precision of Interval, namely when Interval is set to 3.33ms, have some errors, in order to make up this possible error, providing following further optimization method.Arrange a variable, be RealEntryNum more, i.e. the MEP list item number of actual needs process.Such as be set to 2K(2048), in order to make UpdInterval be calculated as integer, now the value of N is the minimum value being greater than RealEntryNum; Now need to increase Rule of judgment S500 before S501, judge whether updEntry is less than RealEntryNum; Namely just process when the updEntry entry processed is less than the entry number of actual needs process, if be greater than RealEntryNum, then just idle loop once, namely wastes portion of time, to reach the accurate precision of 3.33ms.Illustrate, if the MEP list item number RealEntryNum of actual needs process is 1K(1024), the process frequency of chip is 200M, then, as N=1024, the UpdInterval calculated is 162.75.Then get UpdInterval=162, backwards calculation obtains N=1028.7.Result of calculation gets N=1028, UpdInterval=162, RealEntryNum=1024.Then further can reach the precision of 3.33ms.
Refer to shown in Fig. 4 is the module map that chip-scale of the present invention realizes that OAM reaches the device of various Intercal.Can find out that this device comprises:
Initial cell, for second time counting (TotalCount) of MEP list item and the index (UpdEntry) of MEP list item of very first time counting (UpdCount) of the MEP list item of 3.33ms Interval in initialization chip, other Interval except 3.33ms, these variablees are made to be initial value;
First judging unit, for judging whether current UpdCount has reached the UpdInterval needing to upgrade;
First adder unit, for when the first judging unit is judged as NO, increases progressively 1 to UpdCount, and this UpdCount is conveyed into statistic unit;
Second judging unit, for when the first judging unit is judged as YES, judges whether the MEP list item of other Interval current has the mark that TotalCount reaches the integral multiple of above-mentioned UpdInterval;
Processing unit, current MEP list item during for being judged as YES the first judging unit and the second judging unit upgrades; Upgrade the various counters (Timer) of current MEP list item, do corresponding event trigger action or write chip list item according to the Timer value after upgrading;
Second adder unit, for increasing progressively 1 to the UpdEntry of MEP list item, shows to upgrade next MEP list item in circulation in next time;
Reset cell is 0 for arranging UpdCount, shows to need again through the circulation of each chip of UpdIntercal, when meeting the condition of the first judging unit, upgrades next MEP list item;
Statistic unit, receives the UpdCount in the first adder unit, reset cell, and the MEP list item UpdEntry in the second adder unit; Simultaneously to TotalCount count increments 1, this counting currently to upgrade the need of to other MEP list items of non-3.33ms Interval for judging, and sends these variable to the first judging units.
Wherein said UpdInterval is for meeting the time counting needed for every bar MEP list item that precision is 1/4th 3.33ms Interval.
Described second judging unit specifically for:
Whether, be namely 3 times of UpdInterval, 30 times of equimultiple relations if judging whether TotalCount is some particular values, if so, then show that this upgrades 1/4 Interval reaching this Interval and upgrades interval, need the MEP list item upgrading corresponding Interval.Illustrate, when TotalCount reaches 3 times of UpdInterval, need to indicate that Interval is the scope that the MEP list item of 10ms also will add this and upgrades, when TotalCount reaches 30 times of UpdInterval, need to indicate that Interval is the scope that the MEP list item of 100ms also will add this and upgrades;
If so, the mark of the MEP list item of corresponding Interval is then carried out;
If not, then give tacit consent to and only carry out the first judging unit when being judged as YES, the Interval namely meeting update condition is the MEP list item of 3.33ms.
Described processing unit specifically for:
The current MEP list item meeting update condition is upgraded; Mainly check according to the result mark of S40, the Interval as the MEP list item of current renewal is that mark can upgrade, then upgrade, and if do not allowed to upgrade, does not then upgrade;
Obtain each Timer value that current MEP list item represents various event, be supplied to follow-up judgement and process;
1 is subtracted to above-mentioned each Timer;
Judge whether each Timer equals 0, namely after above-mentioned Timer subtracts 1, determine whether 0, being 0, to show that this Timer has counted complete, and namely this event needs to be triggered; Timer as sent CCM is initialized as 4, after 4 times upgrade, is kept to 0, illustrates that this upgrades the time interval having arrived 1 Interval, needs the transmission triggering CCM message; If not 0, then show the time interval of also non-arrival event triggering, enter processing unit, each Timer after 1 will be subtracted and write chip list item;
If some Timer is triggered, then make corresponding operation and behavior, or by the reporting system such as message or interruption;
Resetting processed Timer is initial value, upgrades to do next round circulation; To send CCM, when Timer is kept to 0, carry out the operation sending CCM, then reseting this event Timer is 4, namely needs to upgrade through 4 times again, and namely 1 Interval just needs again to carry out this operation;
After the counter judging to be not equal to 0 is upgraded, write chip list item.
Described processing unit before being processed also for:
Judge whether the index number of MEP list item is less than the MEP list item number of actual needs process, if it is continues to process, and if not, then idle loop once downwards.
In sum, the present invention proposes one and realize the various Interval of OAM in chip-scale, comprise 3.33ms's, precision is method and the device of 1/4 Interval of protocol definition, completes the renewal of MEP list item of various Interval and the renewal of each time-correlating events and process with unified logic process flow.Also been proposed one and make processing time more accurate optimized algorithm.All relevant parameters all can adjust according to the chip used and the list item entry number that need support flexibly.This method and device also still provide extensibility at the what's new upgrading further and expand for chip realizes current MPLS-TP OAM agreement.
For convenience of description, various unit is divided into describe respectively with function when describing above device.Certainly, the function of each unit can be realized in same or multiple software and/or hardware when implementing the application.
As seen through the above description of the embodiments, those skilled in the art can be well understood to the mode that the application can add required general hardware platform by software and realizes.Based on such understanding, the technical scheme of the application can embody with the form of software product the part that prior art contributes in essence in other words, this computer software product can be stored in storage medium, as ROM/RAM, magnetic disc, CD etc., comprising some instructions in order to make a computer equipment (can be personal computer, server, or the network equipment etc.) perform the method described in some part of each execution mode of the application or execution mode.
Device embodiments described above is only schematic, the wherein said unit illustrated as separating component or can may not be and physically separates, parts as unit display can be or may not be physical location, namely can be positioned at a place, or also can be distributed in multiple network element.Some or all of module wherein can be selected according to the actual needs to realize the object of present embodiment scheme.Those of ordinary skill in the art, when not paying creative work, are namely appreciated that and implement.
The application can be used for numerous general or special purpose computing system environment or configuration, or in communication equipment.Such as: personal computer, server computer, handheld device or portable set, laptop device, multicomputer system, system, set top box, programmable consumer-elcetronics devices, network PC, minicom, mainframe computer, the distributed computing environment (DCE) comprising above any system or equipment etc. based on microprocessor.
The application can describe in the general context of computer executable instructions, such as program module.Usually, program module comprises the routine, program, object, assembly, data structure etc. that perform particular task or realize particular abstract data type.Also can put into practice the application in a distributed computing environment, in these distributed computing environment (DCE), be executed the task by the remote processing devices be connected by communication network.In a distributed computing environment, program module can be arranged in the local and remote computer-readable storage medium comprising memory device.
Be to be understood that, although this specification is described according to execution mode, but not each execution mode only comprises an independently technical scheme, this narrating mode of specification is only for clarity sake, those skilled in the art should by specification integrally, technical scheme in each execution mode also through appropriately combined, can form other execution modes that it will be appreciated by those skilled in the art that.
A series of detailed description listed is above only illustrating for feasibility execution mode of the present invention; they are also not used to limit the scope of the invention, all do not depart from the skill of the present invention equivalent implementations done of spirit or change all should be included within protection scope of the present invention.

Claims (10)

1. chip-scale realizes the method that OAM reaches various Interval, it is characterized in that, comprises the following steps:
S10, the very first time counting of the MEP list item of 3.33ms Interval, second time counting of MEP list item of other Interval except 3.33ms and the index of MEP list item in initialization chip;
S20, judges whether current very first time counting has reached the renewal interval time needing to upgrade;
S30, when S20 step is judged as NO, to very first time count increments 1, and is conveyed into S80 by this very first time counting;
S40, when S20 step is judged as YES, then judges whether the MEP list item of other Interval current has the mark that the second time counting reaches the integral multiple of above-mentioned renewal interval time;
S50, MEP list item when being judged as YES current S20 and S40 step upgrades; Upgrade the various counters of current MEP list item, do corresponding event trigger action or write chip list item according to the Counter Value after upgrading;
S60, increases progressively 1 to the index of MEP list item;
S70, arranging the very first time is counted as 0;
S80, receive the very first time counting in S30, S70 and the MEP table item index in S60, the second cycle count increases progressively 1, and is circulated to S20 step.
2. chip-scale according to claim 1 realizes the method that OAM reaches various Interval, it is characterized in that, described renewal interval time is for meeting the time counting needed for every bar MEP list item that precision is 1/4th 3.33ms Interval.
3. chip-scale according to claim 2 realizes the method that OAM reaches various Interval, it is characterized in that, described S40 specifically comprises the following steps:
S401, judges whether the second time counting is the integral multiple upgrading interval time;
S402, if so, then carries out the mark of the MEP list item of corresponding Interval;
S403, if not, then gives tacit consent to the MEP list item only carried out when S20 is judged as YES.
4. chip-scale according to claim 1 realizes the method that OAM reaches various Interval, it is characterized in that, described S50 specifically comprises the following steps:
S501, upgrades the current MEP list item meeting update condition;
S502, obtains the individual count device value that current MEP list item represents various event;
S503, subtracts 1 to above-mentioned each counter;
S504, judges whether each Counter Value equals 0;
S505, the event corresponding to the counter judging to equal 0 operates and behavior accordingly;
S506, resetting the above-mentioned counter equaling 0 is initial value;
S507, after the counter judging to be not equal to 0 is upgraded, write chip list item.
5. chip-scale according to claim 4 realizes the method that OAM reaches various Interval, it is characterized in that, described S50 step is further comprising the steps of before S501:
S500, judges whether the index number of MEP list item is less than the MEP list item number of actual needs process, if it is continues to process, and if not, then idle loop once downwards.
6. chip-scale realizes the device that OAM reaches various Interval, it is characterized in that, comprising:
Initial cell, the very first time for the MEP list item of 3.33ms Interval in initialization chip counts, second time counting of MEP list item of other Interval except 3.33ms and the index of MEP list item;
First judging unit, for judging whether the first current cycle count has reached the renewal interval time needing to upgrade;
First adder unit, for when the first judging unit is judged as NO, to very first time count increments 1, and is conveyed into statistic unit by this very first time counting;
Second judging unit, for when the first judging unit is judged as YES, then judges whether the MEP list item of other Interval current has the mark that the second time counting reaches the integral multiple of above-mentioned renewal interval time;
Processing unit, for upgrading current MEP list item when the first judging unit and the second judging unit are judged as YES; And for upgrading the various counters of current MEP list item, do corresponding event trigger action or write chip list item according to the Counter Value after upgrading;
Second adder unit, for increasing progressively 1 to the index of MEP list item;
Reset cell, is counted as 0 for arranging the very first time;
Statistic unit, for receiving the very first time counting in the first adder unit and reset cell and the MEP table item index in the second adder unit, increasing progressively 1 to the second time counting simultaneously, and being sent to the first adder unit.
7. chip-scale according to claim 6 realizes the device that OAM reaches various Interval, it is characterized in that, described renewal interval time is for meeting the time counting needed for every bar MEP list item that precision is 1/4th 3.33ms Interval.
8. chip-scale according to claim 7 realizes the device that OAM reaches various Interval, it is characterized in that, described second judging unit specifically for:
Judge whether the second time counting is the integral multiple upgrading interval time;
If so, the mark of the MEP list item of corresponding Interval is then carried out;
If not, then the MEP list item only carried out when the first judging unit is judged as YES is given tacit consent to.
9. chip-scale according to claim 6 realizes the device that OAM reaches various Interval, it is characterized in that, described processing unit specifically for:
The current MEP list item meeting update condition is upgraded;
Obtain the individual count device value that current MEP list item represents various event;
1 is subtracted to above-mentioned each counter;
Judge whether each Counter Value equals 0;
The event corresponding to the counter judging to equal 0 operates and behavior accordingly;
Resetting the above-mentioned counter equaling 0 is initial value;
After the counter judging to be not equal to 0 is upgraded, write chip list item.
10. chip-scale according to claim 9 realizes the device that OAM reaches various Interval, it is characterized in that, described processing unit before being processed also for:
Judge whether the index number of MEP list item is less than the MEP list item number of actual needs process, if it is continues to process, and if not, then idle loop once downwards.
CN201110279676.5A 2011-09-20 2011-09-20 Chip-level method and device for achieving various Intervals by OAM (operations, administration and maintenance) Active CN103023671B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201110279676.5A CN103023671B (en) 2011-09-20 2011-09-20 Chip-level method and device for achieving various Intervals by OAM (operations, administration and maintenance)

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201110279676.5A CN103023671B (en) 2011-09-20 2011-09-20 Chip-level method and device for achieving various Intervals by OAM (operations, administration and maintenance)

Publications (2)

Publication Number Publication Date
CN103023671A CN103023671A (en) 2013-04-03
CN103023671B true CN103023671B (en) 2015-04-22

Family

ID=47971832

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201110279676.5A Active CN103023671B (en) 2011-09-20 2011-09-20 Chip-level method and device for achieving various Intervals by OAM (operations, administration and maintenance)

Country Status (1)

Country Link
CN (1) CN103023671B (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104660451B (en) * 2015-02-28 2018-02-06 山东华辰泰尔信息科技股份有限公司 A kind of across disk guard method based on PTN tunnels

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2009016463A1 (en) * 2007-08-01 2009-02-05 Telefonaktiebolaget L M Ericsson (Publ) Gmpls based oam provisioning
CN101378333A (en) * 2008-10-08 2009-03-04 中兴通讯股份有限公司 System, apparatus and method for transmitting and receiving check information message continuously
CN101771583A (en) * 2009-12-30 2010-07-07 中兴通讯股份有限公司 Method and device for detecting elimination or no elimination of network failure

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US9521055B2 (en) * 2009-11-13 2016-12-13 Verizon Patent And Licensing Inc. Network connectivity management
US20110116384A1 (en) * 2009-11-13 2011-05-19 Verizon Patent And Licensing Inc. Network connectivity management

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2009016463A1 (en) * 2007-08-01 2009-02-05 Telefonaktiebolaget L M Ericsson (Publ) Gmpls based oam provisioning
CN101378333A (en) * 2008-10-08 2009-03-04 中兴通讯股份有限公司 System, apparatus and method for transmitting and receiving check information message continuously
CN101771583A (en) * 2009-12-30 2010-07-07 中兴通讯股份有限公司 Method and device for detecting elimination or no elimination of network failure

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
《基于辅助CPU的CFM研究及其实现》;夏方萍;《CNKI优秀硕士学位论文全文库》;20091231;第9-15页 *

Also Published As

Publication number Publication date
CN103023671A (en) 2013-04-03

Similar Documents

Publication Publication Date Title
CN110380907B (en) Network fault diagnosis method and device, network equipment and storage medium
US10218577B2 (en) Systems and methods for mapping and visualizing a wireless mesh network
CN110149220B (en) Method and device for managing data transmission channel
CN103209439B (en) The method of a kind of data traffic monitoring, device and equipment
CN106789323A (en) A kind of communication network management method and its device
CN105359469A (en) Hierarchical rule-based routing system
CN104869023A (en) Method, device and system for time correction
EP3026556B1 (en) Event generation management for an industrial controller
US20170063645A1 (en) Method, Computer Program and Node for Management of Resources
CN110830324A (en) Method and device for detecting network connectivity of data center and electronic equipment
CN113364638B (en) Method, electronic device and storage medium for EPA networking
CN104852828A (en) Network delay detection method, device and system
CN108632106A (en) System for monitoring service equipment
US11258666B2 (en) Method, device, and system for implementing MUX machine
CN103023671B (en) Chip-level method and device for achieving various Intervals by OAM (operations, administration and maintenance)
US9385930B2 (en) Method to detect suboptimal performance in boundary clocks
CN103096361B (en) The exchange method of performance statistic and device in a kind of wireless local area network (WLAN) system
CN110177022B (en) Whole-network upgrading control method and device for tree-shaped optical fiber distribution system
CN102970171A (en) Method for realizing multiple operations, administration and maintenance (OAM) time precision through chip level
KR101590590B1 (en) Control apparatus and method thereof in software defined network
CN101945083B (en) Authentication method and counterfeit judgment method for virtual router redundancy protocol
CN103001819A (en) Method and system for processing OAM (operation, administration and maintenance) detecting results in MPLS-TP (multiple protocol label switching-transmission parameter) network
CN105681187A (en) VRRP (Virtual Router Redundancy Protocol) backup set management method and related device
CN105262635A (en) Looped network protection protocol switching time automatic testing method, equipment and system
CN113346974B (en) Method, apparatus, communication system and storage medium for clock synchronization

Legal Events

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

Address after: 215000 unit 13 / 16, 4th floor, building B, No.5 Xinghan street, Suzhou Industrial Park, Jiangsu Province

Patentee after: Suzhou Shengke Communication Co.,Ltd.

Address before: 215021 unit 13 / 16, floor 4, building B, No. 5, Xinghan street, Suzhou Industrial Park, Suzhou, Jiangsu

Patentee before: CENTEC NETWORKS (SU ZHOU) Co.,Ltd.