Movatterモバイル変換


[0]ホーム

URL:


CN106209640B - Down MEP message processing method and system - Google Patents

Down MEP message processing method and system
Download PDF

Info

Publication number
CN106209640B
CN106209640BCN201610470792.8ACN201610470792ACN106209640BCN 106209640 BCN106209640 BCN 106209640BCN 201610470792 ACN201610470792 ACN 201610470792ACN 106209640 BCN106209640 BCN 106209640B
Authority
CN
China
Prior art keywords
message
oam
mep
quick
oam message
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN201610470792.8A
Other languages
Chinese (zh)
Other versions
CN106209640A (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.)
Hunan Hengmao Tech Ltd By Share Ltd
Original Assignee
Hunan Hengmao Tech Ltd By Share 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 Hunan Hengmao Tech Ltd By Share LtdfiledCriticalHunan Hengmao Tech Ltd By Share Ltd
Priority to CN201610470792.8ApriorityCriticalpatent/CN106209640B/en
Publication of CN106209640ApublicationCriticalpatent/CN106209640A/en
Application grantedgrantedCritical
Publication of CN106209640BpublicationCriticalpatent/CN106209640B/en
Activelegal-statusCriticalCurrent
Anticipated expirationlegal-statusCritical

Links

Classifications

Landscapes

Abstract

The present invention provides a kind of Down MEP message processing method and system, OAM message is parsed in exchange chip, obtain necessary OAM Information, according to necessary OAM Information, the quick OAM message in OAM message is identified, Down MEP look up table operations are carried out to quick OAM message, obtain the address of Down MEP, according to the address of Down MEP, corresponding data in presetting database are read, and MEP state is combined to carry out OAM operation.In whole process, the quick OAM message in OAM message is identified, look up table operations are carried out to quick OAM message, the lookup of Down MEP is placed in the treatment process of packet switch, mitigate the look-up table burden of OAM engine, improve processing speed, realizes Down MEP message efficient process.

Description

Down MEP message processing method and system
Technical field
The present invention relates to computer network communication technology fields, more particularly to Down MEP (MaintenanceAssociation End Point safeguards endpoint) message processing method and system.
Background technique
Ethernet technology has been obtained commonly used with advantages such as its good economy, intercommunity and ease for use.OperationGrade Ethernet becomes the important research field of current web technology, and Carrier Ethernet must provide good service management, eventHinder the functions such as detection, performance monitoring, and the core of this function is OAM (Operation Administration andMaintenance, operation management maintainance).
In recent years, with the development of MPLS (Multi-Protocol Label Switch, multiprotocol label switching) technologyMaturation, and it is widely applied to transmission network field, PTN (Packet Transport Network, Packet Transport Network) technology is openedBeginning is used by more and more operators.According to the definition of 802.1ag, inside an exchange chip, if a MEP fromSide sends and receivees OAM message to LAN (Local Area Network, local area network), then this MEP is exactly Down MEP.AndAll MEP are that BFD (Bidirectional Forwarding is sended and received from LAN side in ITP-Y1731 agreementDetection, two-way converting detection) message, so, also comply with the definition of Down MEP, it is believed that be Down MEP.
In exchange chip used at present, chip is directly given the OAM message received to OAM engine and is handled, packetInclude OAM message parsing, MEP is searched.Wherein, OAM message parsing largely with the basic analytical process of exchange chipUnanimously, the phenomenon that accordingly, there exist redundancies.In addition, OAM engine needs to read and write list item relevant to MEP lookup, so that message itselfThe processing time it is long, the message for needing to cache under the scene of OAM message burst flow is relatively more, needs additional messageMemory space.
Summary of the invention
Based on this, it is necessary to it is lower for general Down MEP message processing method treatment effeciency, it is easy to appear redundancyPhenomenon provides a kind of efficient Down MEP processing method of reseptance and system.
A kind of Down MEP message processing method, comprising steps of
OAM message is parsed in exchange chip, obtains necessary OAM Information;
According to necessary OAM Information, the quick OAM message in OAM message is identified;
Down MEP look up table operations are carried out to quick OAM message, obtain the address of Down MEP;
According to the address of Down MEP, corresponding data in presetting database are read, and MEP state is combined to carry out OAM behaviourMake.
A kind of Down MEP message handling system, comprising:
Parsing module obtains necessary OAM Information for parsing in exchange chip to OAM message;
Identification module, for identifying the quick OAM message in OAM message according to necessary OAM Information;
Look-up table means obtain the ground of Down MEP for carrying out Down MEP look up table operations to quick OAM messageLocation;
Operation module reads corresponding data in presetting database for the address according to Down MEP, and combines MEPState carries out OAM operation.
Down MEP message processing method of the present invention and system, parse OAM message in exchange chip, acquisition mustThe OAM Information wanted identifies the quick OAM message in OAM message according to necessary OAM Information, carries out to quick OAM messageDown MEP look up table operations obtain the address of Down MEP, according to the address of Down MEP, read corresponding in presetting databaseData, and combine MEP state carry out OAM operation.In whole process, the quick OAM message in OAM message is identified, to quickOAM message carries out look up table operations, and the lookup of Down MEP is placed in the treatment process of packet switch, mitigates looking into for OAM engineIt looks for table to bear, improves processing speed, realize Down MEP message efficient process.
Detailed description of the invention
Fig. 1 is the flow diagram of Down MEP message processing method one embodiment of the present invention;
Fig. 2 is the flow diagram of second embodiment of Down MEP message processing method of the present invention;
Fig. 3 is the structural schematic diagram of Down MEP message handling system one embodiment of the present invention;
Fig. 4 is the structural schematic diagram of second embodiment of Down MEP message handling system of the present invention.
Specific embodiment
As shown in Figure 1, a kind of Down MEP message processing method, comprising steps of
S200: parsing OAM message in exchange chip, obtains necessary OAM Information.
Specifically, in the Parser of exchange chip (parsing) module, OAM message is parsed, and obtain necessityOAM Information, which is transmitted to IGP (Ingress Process, entrance process), EGP (Egress Process, outlet streamJourney) module.OAM message mainly may include BFD message and CCM message there are many type, different types of OAM message itsNecessary OAM Information is not identical.Specifically, when OAM message is BFD message, yourDiscrimination information is obtained,When OAM message is CCM message, mel, megId and mepId information are obtained.
S400: according to necessary OAM Information, the quick OAM message in OAM message is identified.
IGP module increases OAM message type classification, distinguishes quick OAM message according to type of message and OAM is reported at a slow speedText.Message send association's processing to carry out corresponding operating in subsequent processing at a slow speed, and rapid message increases Down MEP look up table operations.
S600: Down MEP look up table operations are carried out to quick OAM message, obtain the address of Down MEP.
For quick OAM message, then using the data in OAM message, Down is carried out in the MEP configuration of exchange chipMEP look up table operations get the address of Down MEP.
S800: according to the address of Down MEP, corresponding data in presetting database are read, and MEP state is combined to carry outOAM operation.
In the quick OAM message that exchange chip is handled, OAM engine reads respective counts according to the address of Down MEPAccording to library data, OAM operation is carried out in conjunction with MEP state.
Down MEP message processing method of the present invention, parses OAM message in exchange chip, obtains necessaryOAM Information identifies the quick OAM message in OAM message according to necessary OAM Information, carries out Down to quick OAM messageMEP look up table operations obtain the address of Down MEP, according to the address of Down MEP, read in presetting database and count accordinglyAccording to, and MEP state is combined to carry out OAM operation.In whole process, the quick OAM message in OAM message is identified, quick OAM is reportedText carries out look up table operations, and the lookup of Down MEP is placed in the treatment process of packet switch, and the look-up table for mitigating OAM engine is negativeLoad improves processing speed, realizes Down MEP message efficient process.
As shown in Fig. 2, step S800 includes: in one of the embodiments,
S820: according to the address of Down MEP, the OAM message head of quick OAM message is edited.
The OAM Information that EGP module is passed over IGP is quick OAM message editor OAM message head.Specifically, OAMThe header information of message includes: the key messages such as mepIdx, oamOffset and oamType.
S840: according to edited OAM message head, reading corresponding data in presetting database, and combine MEP state intoRow OAM operation.
Edited OAM message head carries the address of Down MEP, and edited quick OAM message is sent to OAMEngine, OAM engine read corresponding data in presetting database according to edited OAM message head, and combine MEP state intoRow OAM operation.
As shown in Fig. 2, in one of the embodiments, after step S820 further include:
S832: edited OAM message head is added to default original message head, acquisition is edited to preset original reportText.
The OAM Information that EGP module is passed over IGP is quick OAM message editor OAM message head, and is assembled into defaultBefore original message head.
S834: quick OAM message and edited default original message are put into different queue, pass through hiberarchy schedulingAfterwards, it is respectively fed to corresponding processing module or network interface.
Common message is put into different queues from OAM message by Scheduler (scheduling) module, and passes through hiberarchy schedulingAfterwards, corresponding processing module or network interface are sent into.
OAM message is parsed in exchange chip in one of the embodiments, obtains necessary OAM InformationStep includes:
Step 1: obtaining OAM message in exchange chip, and identifies OAM message type, and OAM message type includes BFD reportText and CCM message.
Step 2: parsing OAM message obtains yourDiscrimination information when OAM message is BFD message, whenWhen OAM message is CCM message, mel, megId and mepId information are obtained.
Step 3: OAM offset is obtained.
Specifically, when OAM message type is BFD message, necessary OAM Information includes yourDiscriminationInformation and OAM offset;When OAM message type be CCM message when, necessary OAM Information include mel information, megId information,MepId information and OAM offset.
Down MEP look up table operations are carried out to quick OAM message in one of the embodiments, obtain Down MEP'sThe step of address includes:
Step 1: identify that quick OAM message type, quick OAM message type include BFD message and CCM message.
Step 2: when quick OAM message is BFD message, search key portId and mepId, or, search keyPortId, vlanId and mepId.
Step 3: when quick OAM message is CCM message, search key yourDescrimination.
Step 4: Down MEP look up table operations are carried out to quick OAM message according to the keyword found, obtain DownThe address of MEP.
In simple terms, Down MEP message processing method of the present invention has the advantage that
1, judgement positioning Down MEP carries out corresponding entry lookup in IGP packet processing stage, mitigates looking into for OAM engineTable burden.
2, OAM engine can be absorbed in the realization of OAM correlation function, improve the treatment effeciency of OAM message, and reduceDesign difficulty, and reduce the use of memory.
As shown in figure 3, a kind of Down MEP message handling system, comprising:
Parsing module 200 obtains necessary OAM Information for parsing in exchange chip to OAM message.
Identification module 400, for identifying the quick OAM message in OAM message according to necessary OAM Information.
Look-up table means 600 obtain Down MEP's for carrying out Down MEP look up table operations to quick OAM messageAddress.
Operation module 800 reads corresponding data in presetting database for the address according to Down MEP, and combinesMEP state carries out OAM operation.
Down MEP message handling system of the present invention, parsing module 200 parse OAM message in exchange chip,Necessary OAM Information is obtained, identification module 400 identifies the quick OAM message in OAM message, look into according to necessary OAM InformationIt looks for table module 600 to carry out Down MEP look up table operations to quick OAM message, obtains the address of Down MEP, operation module 800According to the address of Down MEP, corresponding data in presetting database are read, and MEP state is combined to carry out OAM operation.Entire mistakeCheng Zhong identifies the quick OAM message in OAM message, look up table operations is carried out to quick OAM message, by the lookup of Down MEPIt is placed in the treatment process of packet switch, mitigates the look-up table burden of OAM engine, improve processing speed, realize Down MEP messageEfficient process.
As shown in figure 4, operation module 800 includes: in one of the embodiments,
Heading edit cell 820 edits the OAM message head of quick OAM message for the address according to Down MEP.
Operating unit 840 for reading corresponding data in presetting database according to edited OAM message head, and is tiedIt closes MEP state and carries out OAM operation.
As shown in Fig. 2, operation module 800 in one of the embodiments, further include:
Original message edit cell 832 is obtained for edited OAM message head to be added to default original message headEdited default original message.
Hierarchical Components 834 lead to for quick OAM message and edited default original message to be put into different queueAfter crossing hiberarchy scheduling, it is respectively fed to corresponding processing module or network interface.
Parsing module 200 includes: in one of the embodiments,
Type of message recognition unit for obtaining OAM message in exchange chip, and identifies OAM message type, OAM reportLiterary type includes BFD message and CCM message.
Resolution unit, when OAM message is BFD message, obtains yourDiscrimination for parsing OAM messageInformation obtains mel, megId and mepId information when OAM message is CCM message.
OAM offset acquiring unit, for obtaining OAM offset.
Look-up table means 600 include: in one of the embodiments,
Recognition unit, quick OAM message type, quick OAM message type include BFD message and CCM message for identification.
First keyword searching unit, for when quick OAM message be BFD message when, search key portId withMepId, or, search key portId, vlanId and mepId.
Second keyword searching unit is used for when quick OAM message is CCM message, search keyyourDescrimination。
Look-up table unit, for carrying out Down MEP look up table operations to quick OAM message according to the keyword found,Obtain the address of Down MEP.
In order to further explain in detail the technical solution of Down MEP message processing method of the present invention and system with it is beneficialEffect will be explained below using specific example.
In exchange chip, when receiving OAM message on port, it is sent to inside exchange chip by RxTdm.In chipIn Parser module, parsed according to OAM message encapsulation format that may be present, and obtain key message, as oamType,YourDiscrimination (if it is BFD message), mepId (if it is CCM message), oamOffset etc., search these passesThe keyword of key information.After message enters IGP, exchange chip can obtain portId information according to the entrance of message first, according toFor portId read port with postponing, whether the vlanId information and the port, vlanId for obtaining port are configured with MEP.IfIt is configured with MEP, explanation is that Down MEP will be handled message, will search Key and assembles.After obtaining Key, read correspondingList item, searched in list item according to certain lookup algorithm, so that it is determined that the corresponding Down MEP of the quick OAM messageAddress.If finding effective MEP, Down MEP information is packaged, forms the head OAM according to certain rule.ByMessage into cross scheduling resume module after, message can affix OAM header information, including mepIndex, oamType,The information such as oamOffset.The message that OAM engine is received carries out information fractionation, is split as info and two parts packet, andParse the information such as mepIndex, oamType, oamOffset in info.If message is BFD, from packet'sOamOffset byte starts, and carries out the parsing of BFD message, corresponding MEP list item is read using mepIndex field, to list itemState machine be updated.If message is CCM, since the oamOffset byte of packet, the parsing of CCM message is carried out,Corresponding MEP list item is read using mepIndex field, the state machine of list item is updated.
Only several embodiments of the present invention are expressed for above embodiments, and the description thereof is more specific and detailed, but can notTherefore it is construed as limiting the scope of the patent.It should be pointed out that for those of ordinary skill in the art,Under the premise of not departing from present inventive concept, various modifications and improvements can be made, and these are all within the scope of protection of the present invention.Therefore, the scope of protection of the patent of the invention shall be subject to the appended claims.

Claims (8)

CN201610470792.8A2016-06-242016-06-24Down MEP message processing method and systemActiveCN106209640B (en)

Priority Applications (1)

Application NumberPriority DateFiling DateTitle
CN201610470792.8ACN106209640B (en)2016-06-242016-06-24Down MEP message processing method and system

Applications Claiming Priority (1)

Application NumberPriority DateFiling DateTitle
CN201610470792.8ACN106209640B (en)2016-06-242016-06-24Down MEP message processing method and system

Publications (2)

Publication NumberPublication Date
CN106209640A CN106209640A (en)2016-12-07
CN106209640Btrue CN106209640B (en)2019-03-05

Family

ID=57461772

Family Applications (1)

Application NumberTitlePriority DateFiling Date
CN201610470792.8AActiveCN106209640B (en)2016-06-242016-06-24Down MEP message processing method and system

Country Status (1)

CountryLink
CN (1)CN106209640B (en)

Families Citing this family (6)

* Cited by examiner, † Cited by third party
Publication numberPriority datePublication dateAssigneeTitle
US10193746B2 (en)*2016-12-212019-01-29Juniper Networks, Inc.Deadlock avoidance using modified ethernet connectivity fault management signaling
CN108551407A (en)*2018-06-142018-09-18烽火通信科技股份有限公司A kind of processing method and system of Operations, Administration and Maintenance OAM message
CN109587030A (en)2018-12-032019-04-05盛科网络(苏州)有限公司Safeguard the lookup method and device, storage medium of endpoint MEP
CN111294358B (en)*2020-02-212021-08-31苏州盛科通信股份有限公司Message processing method and device
CN116320079A (en)*2021-12-032023-06-23深圳市中兴微电子技术有限公司Message transmission method, device, electronic equipment and storage medium
CN115914173A (en)*2022-11-302023-04-04苏州盛科通信股份有限公司Chip implementation method and application of OAM (operation administration and maintenance) under multi-core architecture

Citations (5)

* Cited by examiner, † Cited by third party
Publication numberPriority datePublication dateAssigneeTitle
CN1913496A (en)*2006-08-302007-02-14华为数字技术有限公司Conversion control method and system of OAM message
CN101500013A (en)*2009-03-272009-08-05武汉烽火网络有限责任公司Link tracing path information retrieval method based on IEEE802.1ag
CN101521603A (en)*2008-12-262009-09-02中兴通讯股份有限公司Method and system for quickly detecting connectivity of link
CN103595636A (en)*2012-08-132014-02-19华为技术有限公司A method, an apparatus and a system for obtaining maintenance entity group end point MAC addresses
CN105024985A (en)*2014-04-302015-11-04深圳市中兴微电子技术有限公司 A message processing method and device

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication numberPriority datePublication dateAssigneeTitle
US7889754B2 (en)*2005-07-122011-02-15Cisco Technology, Inc.Address resolution mechanism for ethernet maintenance endpoints

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication numberPriority datePublication dateAssigneeTitle
CN1913496A (en)*2006-08-302007-02-14华为数字技术有限公司Conversion control method and system of OAM message
CN101521603A (en)*2008-12-262009-09-02中兴通讯股份有限公司Method and system for quickly detecting connectivity of link
CN101500013A (en)*2009-03-272009-08-05武汉烽火网络有限责任公司Link tracing path information retrieval method based on IEEE802.1ag
CN103595636A (en)*2012-08-132014-02-19华为技术有限公司A method, an apparatus and a system for obtaining maintenance entity group end point MAC addresses
CN105024985A (en)*2014-04-302015-11-04深圳市中兴微电子技术有限公司 A message processing method and device

Also Published As

Publication numberPublication date
CN106209640A (en)2016-12-07

Similar Documents

PublicationPublication DateTitle
CN106209640B (en)Down MEP message processing method and system
US10404605B2 (en)Packet processing method, device and computer storage medium
CN105933231B (en)UP MEP message processing method and system
US10498639B2 (en)Collecting network OAM flow data using out-of-band messages
US9755947B2 (en)Hierarchical self-organizing classification processing in a network switch
RU2493677C2 (en)Method and router for implementing mirroring
US9356844B2 (en)Efficient application recognition in network traffic
US10284460B1 (en)Network packet tracing
CN101106532A (en) Method for Realizing Mixed Forwarding of Switch Chip and Network Processor
US8705524B1 (en)Systems and methods for embedding metadata in data packets
CN100446501C (en) Method and system for assisting CPU in forwarding messages
CN106790200B (en)Chip co-processing method for DTLS encryption and decryption of CAPWAP control channel
CN101505283B (en) A message processing method and device
WO2016150020A1 (en)Scheduling flow identifier-based packet scheduling method and device
KR101235206B1 (en)Apparatus and method for parsing packet
CN107483233A (en)The implementation method and device of a kind of Remote Switched Port Analyzer
WO2017088489A1 (en)Data message transmission method and system, and communication system
CN117499352A (en)Active identification and forwarding method and system for TSN (traffic channel network) mixed traffic
CN115665011A (en)Method and device for monitoring packet loss, electronic equipment and storage medium
CN110784513B (en)Data mirroring method based on data frame of link layer
CN115714823A (en)Message processing method and device, electronic equipment and storage medium
CN108092845A (en)The differentiation and positioning of mirror image flow
US10476784B2 (en)Underlay overlay correlation for visibility and debugging
CN106533975A (en)Gigabit network-based sampling value frame decoding implementation method
US7277437B1 (en)Packet classification method

Legal Events

DateCodeTitleDescription
C06Publication
PB01Publication
CB02Change of applicant information

Address after:412200, Liling City, Hunan Province ceramic science and Technology Industrial Park B District

Applicant after:Hunan Hengmao tech Limited by Share Ltd

Address before:412200, Liling City, Hunan Province ceramic science and Technology Industrial Park B District

Applicant before:Liling Hengmao Electronics Technology Co., Ltd.

CORChange of bibliographic data
C10Entry into substantive examination
SE01Entry into force of request for substantive examination
GR01Patent grant
GR01Patent grant

[8]ページ先頭

©2009-2025 Movatter.jp