Movatterモバイル変換


[0]ホーム

URL:


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

Down MEP message processing method and system
Download PDF

Info

Publication number
CN106209640A
CN106209640ACN201610470792.8ACN201610470792ACN106209640ACN 106209640 ACN106209640 ACN 106209640ACN 201610470792 ACN201610470792 ACN 201610470792ACN 106209640 ACN106209640 ACN 106209640A
Authority
CN
China
Prior art keywords
message
oam
mep
oam message
down mep
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN201610470792.8A
Other languages
Chinese (zh)
Other versions
CN106209640B (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.)
LILING HENGMAO ELECTRONICS TECHNOLOGY Co Ltd
Original Assignee
LILING HENGMAO ELECTRONICS TECHNOLOGY 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 LILING HENGMAO ELECTRONICS TECHNOLOGY Co LtdfiledCriticalLILING HENGMAO ELECTRONICS TECHNOLOGY Co 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 resolved by exchange chip, obtain necessary OAM Information, according to necessary OAM Information, identify the quick OAM message in OAM message, quick OAM message is carried out Down MEP look up table operations, obtain the address of Down MEP, according to the address of Down MEP, read corresponding data in presetting database, and combine MEP state and carry out OAM operation.During whole, identify the quick OAM message in OAM message, quick OAM message is made a look up table handling, the lookup of Down MEP is placed in the processing procedure of packet switch, alleviate the look-up table burden of OAM engine, improve processing speed, it is achieved Down MEP message efficiently processes.

Description

Down MEP message processing method and system
Technical field
The present invention relates to computer network communication technology field, particularly relate to Down MEP (MaintenanceAssociation End Point, safeguards end points) message processing method and system.
Background technology
Ethernet technology has obtained commonly used with advantages such as its good economy, intercommunity and ease for use.OperationLevel Ethernet becomes the important research field of current web technology, and Carrier Ethernet must provide for good operational control, eventThe functions such as barrier detection, performance monitoring, and the core of this function is OAM (Operation Administration andMaintenance, operation management maintainance).
In recent years, along 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 openedBegin to be used by increasing operator.According to the definition of 802.1ag, inside an exchange chip, if MEP fromLAN (Local Area Network, LAN) side joint is received and sends OAM message, then this MEP is exactly Down MEP.AndIn ITP-Y1731 agreement, all of MEP is to receive from LAN side and send BFD (Bidirectional ForwardingDetection, two-way converting detects) message, so, also comply with the definition of Down MEP, it is believed that be Down MEP.
In currently used exchange chip, the OAM message received directly is given OAM engine and is processed by chip, bagInclude OAM message parsing, MEP searches.Wherein, the parsing of OAM message to a great extent with the basic analytical process of exchange chipUnanimously, accordingly, there exist the phenomenon of redundancy.It addition, OAM engine needs read-write to search relevant list item to MEP so that message selfThe process time long, need under the scene of OAM message burst flow caching message the most, need extra messageMemory space.
Summary of the invention
Based on this, it is necessary to relatively low for general Down MEP message processing method treatment effeciency, redundancy easily occursPhenomenon, it is provided that a kind of efficient Down MEP processes method of reseptance and system.
A kind of Down MEP message processing method, including step:
OAM message is resolved by exchange chip, obtains necessary OAM Information;
According to necessary OAM Information, identify the quick OAM message in OAM message;
Quick OAM message is carried out Down MEP look up table operations, obtains the address of Down MEP;
According to the address of Down MEP, read corresponding data in presetting database, and combine MEP state and carry out OAM behaviourMake.
A kind of Down MEP message handling system, including:
Parsing module, for resolving OAM message in exchange chip, obtains necessary OAM Information;
Identification module, for according to necessary OAM Information, identifying the quick OAM message in OAM message;
Look-up table means, for quick OAM message carries out Down MEP look up table operations, obtains the ground of Down MEPLocation;
Operation module, for the address according to Down MEP, reads corresponding data in presetting database, and combines MEPState carries out OAM operation.
Down MEP message processing method of the present invention and system, resolve OAM message in exchange chip, and acquisition mustThe OAM Information wanted, according to necessary OAM Information, identifies the quick OAM message in OAM message, carries out quick OAM messageDown MEP look up table operations, obtains the address of Down MEP, according to the address of Down MEP, reads in presetting database correspondingData, and combine MEP state and carry out OAM operation.During whole, identify the quick OAM message in OAM message, to quicklyOAM message makes a look up table handling, the lookup of Down MEP is placed in the processing procedure of packet switch, alleviates looking into of OAM engineLook for table to bear, improve processing speed, it is achieved Down MEP message efficiently processes.
Accompanying drawing explanation
Fig. 1 is the schematic flow sheet of Down first embodiment of MEP message processing method of the present invention;
Fig. 2 is the schematic flow sheet of Down second embodiment of MEP message processing method of the present invention;
Fig. 3 is the structural representation of Down first embodiment of MEP message handling system of the present invention;
Fig. 4 is the structural representation of Down second embodiment of MEP message handling system of the present invention.
Detailed description of the invention
As it is shown in figure 1, a kind of Down MEP message processing method, including step:
S200: resolve OAM message in exchange chip, obtains necessary OAM Information.
Specifically, in Parser (parsing) module of exchange chip, OAM message is resolved, and obtains necessityOAM Information, this information is passed to IGP (Ingress Process, entrance flow process), EGP (Egress Process, outlet streamJourney) module.OAM message has polytype, and it mainly can include BFD message and CCM message, different types of OAM message itsNecessary OAM Information differs.Specifically, when OAM message is BFD message, obtain yourDiscrimination information,When OAM message is CCM message, obtain mel, megId and mepId information.
S400: according to necessary OAM Information, identify the quick OAM message in OAM message.
IGP module increase OAM message type classification, according to type of message distinguish quick OAM message and at a slow speed OAM reportLiterary composition.Message send association's process to carry out corresponding operating in subsequent treatment at a slow speed, and rapid message increases Down MEP look up table operations.
S600: quick OAM message carries out Down MEP look up table operations, obtains the address of Down MEP.
For quick OAM message, then use the data in OAM message, in the MEP of exchange chip configures, carry out DownMEP look up table operations, gets the address of Down MEP.
S800: according to the address of Down MEP, reads corresponding data in presetting database, and combines MEP state and carry outOAM operates.
Carry out the quick OAM message processed at exchange chip, OAM engine, according to the address of Down MEP, reads respective countsAccording to database data, carry out OAM operation in conjunction with MEP state.
Down MEP message processing method of the present invention, resolves OAM message in exchange chip, obtains necessityOAM Information, according to necessary OAM Information, identifies the quick OAM message in OAM message, quick OAM message is carried out DownMEP look up table operations, obtains the address of Down MEP, according to the address of Down MEP, reads in presetting database and counts accordinglyAccording to, and combine MEP state and carry out OAM operation.During whole, identify the quick OAM message in OAM message, quick OAM is reportedLiterary composition makes a look up table handling, the lookup of Down MEP is placed in the processing procedure of packet switch, and the look-up table alleviating OAM engine is bornLoad, improves processing speed, it is achieved Down MEP message efficiently processes.
As in figure 2 it is shown, wherein in an embodiment, step S800 includes:
S820: according to the address of Down MEP, edit the OAM message head of quick OAM message.
The OAM Information that EGP module IGP passes over, for quick OAM message editor's OAM message head.Specifically, OAMThe header information of message includes: the key messages such as mepIdx, oamOffset and oamType.
S840: according to the OAM message head after editor, reads corresponding data in presetting database, and combines MEP state and enterRow OAM operates.
OAM message head after editor carries the address of Down MEP, sends the quick OAM message after editor to OAMEngine, OAM engine, according to the OAM message head after editor, reads corresponding data in presetting database, and combines MEP state and enterRow OAM operates.
As in figure 2 it is shown, wherein in an embodiment, also include after step S820:
S832: be added to preset original message head by the OAM message head after editor, it is thus achieved that the default original report after editorLiterary composition.
The OAM Information that EGP module IGP passes over, for quick OAM message editor's OAM message head, and is assembled into defaultBefore original message head.
S834: the default original message after quick OAM message and editor is put into different queue, passes through hiberarchy schedulingAfter, it is respectively fed to corresponding processing module or network interface.
Common message is put into different queues by Scheduler (scheduling) module from OAM message, and passes through hiberarchy schedulingAfter, send into corresponding processing module or network interface.
Wherein in an embodiment, in exchange chip, OAM message is resolved, obtain necessary OAM InformationStep includes:
Step one: obtain OAM message in exchange chip, and identify that OAM message type, OAM message type include that BFD reportsLiterary composition and CCM message.
Step 2: resolve OAM message, when OAM message is BFD message, obtains yourDiscrimination information, whenWhen OAM message is CCM message, obtain mel, megId and mepId information.
Step 3: obtain OAM side-play amount.
Specifically, when OAM message type is BFD message, necessary OAM Information includes yourDiscriminationInformation and OAM side-play amount;When OAM message type is CCM message, necessary OAM Information include mel information, megId information,MepId information and OAM side-play amount.
Wherein in an embodiment, quick OAM message is carried out Down MEP look up table operations, obtain Down MEP'sThe step of address includes:
Step one: 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: according to the keyword found, quick OAM message is carried out Down MEP look up table operations, obtain DownThe address of MEP.
In simple terms, Down MEP message processing method of the present invention has the advantage that
1, judge location Down MEP, IGP bag processing stage, carry out corresponding entry lookup, alleviate looking into of OAM engineTable is born.
2, OAM engine can be absorbed in the realization of OAM correlation function, improves the treatment effeciency of OAM message, and reducesDesign difficulty, and decrease the use of internal memory.
As it is shown on figure 3, a kind of Down MEP message handling system, including:
Parsing module 200, for resolving OAM message in exchange chip, obtains necessary OAM Information.
Identification module 400, for according to necessary OAM Information, identifying the quick OAM message in OAM message.
Look-up table means 600, for quick OAM message carries out Down MEP look up table operations, obtains Down MEP'sAddress.
Operation module 800, for the address according to Down MEP, reads corresponding data in presetting database, and combinesMEP state carries out OAM operation.
Down MEP message handling system of the present invention, OAM message is resolved in exchange chip by parsing module 200,Obtaining necessary OAM Information, identification module 400, according to necessary OAM Information, identifies the quick OAM message in OAM message, looks intoLook for table module 600 that quick OAM message carries out Down MEP look up table operations, obtain the address of Down MEP, operation module 800According to the address of Down MEP, read corresponding data in presetting database, and combine MEP state and carry out OAM operation.Whole mistakeCheng Zhong, identifies the quick OAM message in OAM message, quick OAM message is made a look up table handling, by the lookup of Down MEPIt is placed in the processing procedure of packet switch, alleviates the look-up table burden of OAM engine, improve processing speed, it is achieved Down MEP messageEfficiently process.
As shown in Figure 4, wherein in an embodiment, operation module 800 includes:
Heading edit cell 820, for the address according to Down MEP, edits the OAM message head of quick OAM message.
Operating unit 840, for according to the OAM message head after editor, reads corresponding data in presetting database, and tiesClose MEP state and carry out OAM operation.
As in figure 2 it is shown, wherein in an embodiment, operation module 800 also includes:
Original message edit cell 832, for being added to preset original message head by the OAM message head after editor, it is thus achieved thatDefault original message after editor.
Hierarchical Components 834 is for the default original message after quick OAM message and editor is put into different queue, logicalAfter crossing hiberarchy scheduling, it is respectively fed to corresponding processing module or network interface.
Wherein in an embodiment, parsing module 200 includes:
Type of message recognition unit, for obtaining OAM message in exchange chip, and identifies OAM message type, and OAM reportsLiterary composition type includes BFD message and CCM message.
Resolution unit, is used for resolving OAM message, when OAM message is BFD message, obtains yourDiscriminationInformation, when OAM message is CCM message, obtains mel, megId and mepId information.
OAM side-play amount acquiring unit, is used for obtaining OAM side-play amount.
Wherein in an embodiment, look-up table means 600 includes:
Recognition unit, is used for identifying that quick OAM message type, quick OAM message type include BFD message and CCM message.
First keyword search unit, for when quick OAM message is BFD message, search key portId withMepId, or, search key portId, vlanId and mepId.
Second keyword search unit, is used for when quick OAM message is CCM message, search keyyourDescrimination。
Look-up table unit, for quick OAM message being carried out Down MEP look up table operations according to the keyword found,Obtain the address of Down MEP.
In order to further explain in detail Down MEP message processing method of the present invention with the technical scheme of system with usefulEmploying instantiation is explained by effect below.
In exchange chip, when receiving OAM message on port, delivered to inside exchange chip by RxTdm.At chipIn Parser module, resolve according to OAM message encapsulation format that may be present, and obtain key message, as oamType,YourDiscrimination (if BFD message), mepId (if CCM message), oamOffset etc., search these and closeThe keyword of key information.After message enters IGP, first exchange chip can obtain portId information according to the entrance of message, according toAfter the configuration of portId read port, obtain the vlanId information of port and this port, whether vlanId is configured with MEP.IfBeing configured with MEP, explanation is that message to be processed by Down MEP, is assembled by lookup Key.After obtaining Key, read correspondingList item, make a look up in list item according to certain lookup algorithm, so that it is determined that the Down MEP that this quick OAM message is correspondingAddress.If finding effective MEP, Down MEP information is packaged, according to certain rule composition OAM head.Pass throughAfter message entered scheduling resume module, message can affix OAM header information, including mepIndex, oamType,The information such as oamOffset.The message received by OAM engine carries out information fractionation, is split as two parts of info Yu 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, uses mepIndex field to read corresponding MEP list item, to list itemState machine be updated.If message is CCM, from the beginning of the oamOffset byte of packet, carry out the parsing of CCM message,Use mepIndex field to read corresponding MEP list item, the state machine of list item is updated.
Above example only have expressed the several embodiments of the present invention, and it describes more concrete and detailed, but can notTherefore it is construed as limiting the scope of the patent.It should be pointed out that, for the person of ordinary skill of the art,On the premise of present inventive concept, it is also possible to make some deformation and improvement, these broadly fall into protection scope of the present invention.Therefore, the protection domain of patent of the present invention should be as the criterion with claims.

Claims (10)

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
CN106209640Atrue CN106209640A (en)2016-12-07
CN106209640B 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)

Cited By (6)

* Cited by examiner, † Cited by third party
Publication numberPriority datePublication dateAssigneeTitle
CN108234234A (en)*2016-12-212018-06-29瞻博网络公司 Employs modified Ethernet connectivity fault management signaling to avoid deadlocks
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
CN111294358A (en)*2020-02-212020-06-16盛科网络(苏州)有限公司Message processing method and device
CN115914173A (en)*2022-11-302023-04-04苏州盛科通信股份有限公司Chip implementation method and application of OAM (operation administration and maintenance) under multi-core architecture
WO2023097903A1 (en)*2021-12-032023-06-08深圳市中兴微电子技术有限公司Message transmission method and apparatus, electronic device, and storage medium

Citations (6)

* Cited by examiner, † Cited by third party
Publication numberPriority datePublication dateAssigneeTitle
US20070014290A1 (en)*2005-07-122007-01-18Cisco Technology, Inc.Address resolution mechanism for ethernet maintenance endpoints
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

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication numberPriority datePublication dateAssigneeTitle
US20070014290A1 (en)*2005-07-122007-01-18Cisco Technology, Inc.Address resolution mechanism for ethernet maintenance endpoints
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

Cited By (9)

* Cited by examiner, † Cited by third party
Publication numberPriority datePublication dateAssigneeTitle
CN108234234A (en)*2016-12-212018-06-29瞻博网络公司 Employs modified Ethernet connectivity fault management signaling to avoid deadlocks
CN108234234B (en)*2016-12-212021-11-05瞻博网络公司 Maintaining endpoint devices, methods for communicating, and computer-readable media
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
WO2020114230A1 (en)*2018-12-032020-06-11盛科网络(苏州)有限公司Method and apparatus for searching for maintenance end point (mep), and storage medium
US11695639B2 (en)2018-12-032023-07-04Suzhou Centec Communications Co., Ltd.Method and apparatus for searching for maintenance end point (MEP), and storage medium
CN111294358A (en)*2020-02-212020-06-16盛科网络(苏州)有限公司Message processing method and device
WO2023097903A1 (en)*2021-12-032023-06-08深圳市中兴微电子技术有限公司Message transmission method and apparatus, electronic device, 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

Also Published As

Publication numberPublication date
CN106209640B (en)2019-03-05

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
RU2493677C2 (en)Method and router for implementing mirroring
US7843924B2 (en)Method and system for sending return messages in MPLS networks
US20080212465A1 (en)Method For Switching Route and Network Device Thereof
CN101009661A (en)Method and device for updating stream forward table content based on the stream forward
CN112437009A (en)SRv6 method, router, routing system and storage medium for end-to-end flow policy
CN101483595A (en)Data forwarding method and system based on T-MPLS network
US20120236866A1 (en)Communication system and communication device
US20250133014A1 (en)Routing Method and Apparatus, Cloud Resource Registering Method and Apparatus, and Storage Medium and Electronic Apparatus
US20230254246A1 (en)Mechanisms for packet path tracing and per-hop delay measurement in segment routing with multiprotocol label switching (sr-mpls) networks
CN106790200B (en)Chip co-processing method for DTLS encryption and decryption of CAPWAP control channel
CN112600752A (en)Chip implementation method of default policy routing, chip processing method and device of data message
CN101252523B (en)Message redirecting method, method and device for reverting redirecting message feature information
US20150043585A1 (en)Communication apparatus, communication method, communication system and program
EP2953302A1 (en)Service packet processing method, apparatus and system
JP5407712B2 (en) Communication apparatus and communication control method
CN105471738B (en)A kind of transmission method and system of service traffics
WO2016150020A1 (en)Scheduling flow identifier-based packet scheduling method and device
US9866500B2 (en)Communication apparatus, communication method, communication system and program
WO2010031354A1 (en)Method, apparatus and system for processing frame
KR101235206B1 (en)Apparatus and method for parsing packet
CN116668375B (en)Message distribution method, device, network equipment and storage medium
CN107483233A (en)The implementation method and device of a kind of Remote Switched Port Analyzer

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