CN103368849A - OAM (Operations, Administration and Management) message processing method and device - Google Patents
OAM (Operations, Administration and Management) message processing method and device Download PDFInfo
- Publication number
- CN103368849A CN103368849A CN2013102817559A CN201310281755A CN103368849A CN 103368849 A CN103368849 A CN 103368849A CN 2013102817559 A CN2013102817559 A CN 2013102817559A CN 201310281755 A CN201310281755 A CN 201310281755A CN 103368849 A CN103368849 A CN 103368849A
- Authority
- CN
- China
- Prior art keywords
- oam
- message
- oam message
- information
- processing engine
- 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.)
- Pending
Links
Images
Abstract
The invention discloses an OAM (Operations, Administration and Management) message processing method and an OAM message processing device. The OAM message processing method comprises the steps that an OAM message searches a maintenance end point in an incoming packet processing engine unit or an outgoing packet processing engine unit, the information of the maintenance end point of the OAM message is sent to an OAM processing engine for processing after the information is obtained, a target outlet can be randomly designated according to the type of the message if the OAM message is a slow OAM message, similarly a target outlet can be randomly designated for alarm information detected according to the operation of a state machine in the OAM processing engine, the alarm information can be packaged into a message in a standard Ethernet format, then the OAM message with the information of the target outlet is transmitted to a chip forwarding module, and the chip forwarding module transmits the OAM message to a coprocessor corresponding to the information of the target outlet for processing. The OAM message processing method and the OAM message processing device have the advantages that the OAM message processing efficiency is greatly improved, the complexity of chip design is reduced, the costs of manpower and material resources are decreased and the popularization and the use are facilitated.
Description
Technical field
The present invention relates to the communications field, especially relate to a kind of with chip and coprocessor in conjunction with processing method and the device of jointly finishing the OAM message.
Background technology
In existing chip design, the embedded OAM processing engine of chip has generally all only realized the detection of link and the maintenance function of state machine.All be to notify a destination (such as CPU by the mode of interrupting after the OAM processing engine detects alarm; FPGA) finish; if but the alarm that the OAM processing engine detects is to do the event that protection is switched; then system need to respond and finish the protection switching fast; General System manufacturer all can adopt FPGA (field programmable gate array) to realize in this case; but other slow protocol message of OAM message is (such as the LBR message; LTM messages etc.) needing again to deliver to CPU finishes processing; owing to only have a destination from the embedded OAM processing engine message out of chip; do not finish the good division of labor between the OAM processing engine that chip is embedded and the coprocessor, so just do not reach the demand of system manufacturer.
Under these circumstances, system manufacturer tends to abandon the embedded OAM processing engine of chip, and the OAM message is not carried out any processing, but the independent FPGA of use develops the OAM processing engine of oneself, the OAM message is directly used in the coprocessor processed.But because network processing unit does not have integrated OAM treatment mechanism, but adopt FPGA to realize, that system manufacturer certainly will have FPGA team, will greatly increase the development difficulty of upper system software this moment, because upper system software need to be safeguarded the oam state machine, further increased the complexity of upper layer software (applications) simultaneously; And because coprocessor is the chip external equipment, so the throughput of OAM message, session number also can be subject to the restriction of interface rate between network processing unit and the coprocessor, reduce the treatment effeciency of OAM message.
Summary of the invention
The object of the invention is to overcome the defective of prior art, a kind of processing method and device of OAM message are provided, OAM message processing engine is sent into the message that coprocessor processes according to the OAM type of message to needs and is disposed corresponding purpose outlet information, so that can realize the good division of labor between OAM processing engine and the purpose coprocessor, saved a large amount of man power and material's costs.
For achieving the above object, the present invention proposes following technical scheme: a kind of processing method of OAM message, the OAM message in Inbound packet processing engine unit or outgoing direction packet processing engine unit carry out maintaining end point and search, after obtaining the information of OAM message place maintaining end point, the OAM message is sent into the OAM processing engine, after described OAM processing engine is sent into message that coprocessor processes and is specified its purpose outlet needs according to the OAM type of message, to send to the chip forwarding module with the OAM message that purpose exports information, described chip forwarding module sends to the OAM message and carries out message with the corresponding coprocessor of purpose outlet information and process.
Preferably, after the OAM processing engine detects warning information corresponding to OAM message, information, purpose coprocessor information according to warning information type, OAM message place maintaining end point are packaged into the ethernet format of standard with warning information, and then specify the purpose outlet of OAM message.
Described OAM processing engine is distinguished different OAM type of messages according to the opcode field in the OAM message.
Described coprocessor comprises central processing unit and field programmable gate array; described field programmable gate array is according to the information updating automatic protection switching state machine of warning information type and OAM message place maintaining end point, and judges whether to protect switching according to described automatic protection switching state machine.
Another object of the present invention is to provide a kind of processing unit of OAM message, include direction packet processing engine unit, outgoing direction packet processing engine unit and OAM message processing engine unit, the OAM message is searched the information that draws OAM message place maintaining end point in Inbound packet processing engine unit or outgoing direction packet processing engine unit after, enter OAM processing engine unit, described OAM processing engine unit comprises encapsulation unit and configuration outlet port unit, and described configuration outlet port unit is sent into the purpose outlet information of assisting the message configuration OAM message of processing according to the OAM type of message to needs.
Preferably, the processing unit of described OAM message also comprises the chip retransmission unit, and described chip retransmission unit is processed for the OAM message being sent to the corresponding coprocessor of purpose outlet information.
Described encapsulation unit be used for when OAM processing engine unit inspection after warning information, according to the information of warning information type corresponding to OAM message, OAM message place maintaining end point, the ethernet format that purpose coprocessor information is packaged into warning information standard.
Described purpose coprocessor comprises central processing unit and field programmable gate array; described field programmable gate array is according to the information updating automatic protection switching state machine of warning information type and OAM message place maintaining end point, and judges whether to protect switching according to described automatic protection switching state machine.
The invention has the beneficial effects as follows: OAM message processing engine can realize the purpose outlet information according to OAM type of message configuration OAM message, process thereby send in the coprocessor corresponding with purpose outlet information, greatly improved the efficient that the OAM message is processed, reduced the complexity of chip design, thereby reduced man power and material's cost, be convenient to promote the use of.
Description of drawings
Fig. 1 is the processing mode schematic diagram of OAM message in the OAM processing engine in the embodiment of the invention;
Fig. 2 is the schematic flow sheet of the processing method of OAM message of the present invention;
Fig. 3 is the structural representation of the processing unit of OAM message of the present invention;
Embodiment
Below in conjunction with accompanying drawing of the present invention, the technical scheme of the embodiment of the invention is carried out clear, complete description.
Y.1731, the embodiment of the invention illustrates the processing procedure of OAM message as example take ITU-T; Fig. 1 is processing mode corresponding to all OAM messages of Y.1731 mentioning; as shown in Figure 1; the OAM type of message comprises CCM (continuity detection messages) message; LBM (loopback message) message; APS (automatic protection switching message) message and LTM (link trace message) message, these four kinds of processing modes corresponding to OAM message are respectively the processing of OAM processing engine and termination; LBR (loopback is replied) message is processed and replied to the OAM processing engine; sending into field programmable gate array processes; sending into central processing unit processes.Introduce in detail these four kinds of messages difference processing procedure in the present invention below in conjunction with accompanying drawing.
In conjunction with shown in Figure 2, the OAM message is finished maintaining end point and is searched in Inbound packet processing engine unit or outgoing direction packet processing engine unit, obtain entering in the OAM processing engine after the information of OAM message place maintaining end point, the OAM processing engine is distinguished dissimilar messages according to the Opcode in the OAM message (command code) field, and reassigns the purpose outlet of OAM message for respective type; After the OAM processing engine detects warning information corresponding to OAM message; according to the warning information type; the information of OAM message place maintaining end point; after purpose coprocessor information is packaged into the ethernet format of standard with warning information; reassign again the purpose outlet of OAM message; to send into FWD (chip forwarding module) module with the OAM message that purpose exports information; the FWD module is sent into the OAM message with the corresponding coprocessor of purpose outlet information and is processed; coprocessor comprises CPU (central processing unit) and FPGA (field programmable gate array); FPGA is according to the information updating APS state machine of warning information type and OAM message place maintaining end point, and judges whether to protect switching according to described APS state machine.
When the OAM processing engine detects the CCM message, if correct CCM message, the OAM processing engine will directly be upgraded its state machine; If wrong CCM message; can detect the following warning information type of appearance between the MEP (maintaining end point) according to the CCM message content: mistake merges (MisMerge); abnormal maintenance group of entities end point (Unexpected MEP); abnormal maintenance group of entities grade (Unexpected MEL) and abnormal period (Unexpected Period); if the local terminal maintaining end point is not received the CCM message that the opposite end maintaining end point sends at 3.5 CCM messages in the transmission cycle simultaneously; can judge that then dLoc (Loss of continuity) fault appears in link, more than each warning information may be used to do the condition that protection is switched for the upper-layer user.After the OAM processing engine detects above-mentioned warning information, the OAM message is packaged into the message of the ethernet format of standard according to the information of warning information type, OAM place MEP, the information of purpose coprocessor, purpose outlet information according to the configuration of OAM processing engine sends to the FWD module to message simultaneously, the FWD module again enters Queue (formation) according to outlet information and delivers to and go among the FPGA to process, arrived after the FPGA, FPGA is according to warning information type and MEP information updating APS state machine.
When the OAM processing engine detects the LBM message, according to the target MAC (Media Access Control) address in the LBM message judge this message whether local terminal MEP or MIP (Maintenance Entity intermediate node) need LBM message to be processed, if not, then directly abandon; If, then exchange target MAC (Media Access Control) address and source MAC in the original message, reconfigure the purpose outlet information of LBM message, namely disposing its purpose outlet information is former entrance information, and then the LBM message that will configure purpose outlet information is sent to the FWD module, and the FWD module again enters Queue according to outlet information and message is sent from former arrival end.
When the OAM processing engine detects the APS message; the purpose outlet information of OAM processing engine configuration message is for sending into field programmable gate array; after configuration is finished message is sent to the FWD module; the FWD module enters Queue according to order ground outlet information and message is sent in the field programmable gate array to process again; the APS message that the field programmable gate array utilization receives upgrades the APS state machine, and makes the judgement of whether protecting switching according to the APS state machine.
When the OAM processing engine detects LTM (link trace message) message, the purpose outlet information of OAM processing engine configuration message is for sending into central processing unit, configuration is sent to the FWD module with message after finishing, and the FWD module exports according to order ground that information enters Queue again and message sent in the central processing unit and processes.
The present invention has also disclosed a kind of OAM message process device, as shown in Figure 3, includes direction packet processing engine unit, OAM processing engine unit, chip forwarding module and outgoing direction packet processing engine unit.The OAM message carries out the information searching of OAM message place maintaining end point in Inbound packet processing engine unit or outgoing direction packet processing engine unit, search the OAM message to be sent to OAM processing engine unit after finishing.
OAM processing engine unit comprises encapsulation and two subelements of configuration outlet, encapsulation unit is used for after the OAM processing engine detects warning information, according to the information of warning information type corresponding to OAM message, OAM message place maintaining end point, the ethernet format that purpose coprocessor information is packaged into warning information standard; The configuration outlet port unit is according to the purpose outlet information of OAM type of message configuration OAM message.
The chip retransmission unit be used for to receive the OAM message of being finished purpose outlet information by OAM processing engine cell location, according to the purpose outlet information of OAM message the OAM message is sent to corresponding coprocessor simultaneously and processes.
Coprocessor comprises central processing unit and field programmable gate array; described field programmable gate array is according to the information updating automatic protection switching state machine of warning information type and OAM message place maintaining end point, and judges whether to protect switching according to described automatic protection switching state machine.
Technology contents of the present invention and technical characterictic have disclosed as above; yet those of ordinary skill in the art still may be based on teaching of the present invention and announcements and are done all replacement and modifications that does not deviate from spirit of the present invention; therefore; protection range of the present invention should be not limited to the content that embodiment discloses; and should comprise various do not deviate from replacement of the present invention and modifications, and contained by the present patent application claim.
Claims (8)
1. the processing method of an OAM message, it is characterized in that: the OAM message in Inbound packet processing engine unit or outgoing direction packet processing engine unit carry out maintaining end point and search, after obtaining the information of OAM message place maintaining end point, the OAM message is sent into the OAM processing engine to be processed, the OAM message that described OAM processing engine is delivered to the coprocessor processing according to the OAM type of message to needs is reassigned its purpose outlet, and will send to the chip forwarding module with the OAM message that purpose exports information, described chip forwarding module sends to the OAM message and carries out message with the corresponding coprocessor of purpose outlet information and process.
2. the processing method of OAM message according to claim 1, it is characterized in that, after the OAM processing engine detects warning information corresponding to OAM message, information, purpose coprocessor information according to warning information type, OAM message place maintaining end point are packaged into the ethernet format of standard with warning information, and then specify the purpose outlet of OAM message.
3. the processing method of OAM message according to claim 1 and 2 is characterized in that, described OAM processing engine is distinguished different OAM type of messages according to the opcode field in the OAM message.
4. the processing method of OAM message according to claim 1; it is characterized in that; described coprocessor comprises central processing unit and field programmable gate array; described field programmable gate array is according to the information updating automatic protection switching state machine of warning information type and OAM message place maintaining end point, and judges whether to protect switching according to described automatic protection switching state machine.
5. the processing unit of an OAM message, it is characterized in that, include direction packet processing engine unit, outgoing direction packet processing engine unit and OAM message processing engine unit, the OAM message is searched the information that draws OAM message place maintaining end point in Inbound packet processing engine unit or outgoing direction packet processing engine unit after, enter OAM processing engine unit, described OAM processing engine unit comprises encapsulation unit and configuration outlet port unit, and described configuration outlet port unit is sent into the message that coprocessor processes according to the OAM type of message to needs and reconfigured purpose outlet information.
6. the processing unit of OAM message according to claim 5, it is characterized in that, described OAM message process device also comprises the chip retransmission unit, and described chip retransmission unit is processed for the OAM message being sent to the corresponding coprocessor of purpose outlet information.
7. the processing unit of OAM message according to claim 6, it is characterized in that, described encapsulation unit be used for when OAM processing engine unit inspection behind warning information, according to the information of warning information type corresponding to OAM message, OAM message place maintaining end point, the ethernet format that purpose coprocessor information is packaged into warning information standard.
8. the processing unit of OAM message according to claim 6; it is characterized in that; described coprocessor comprises central processing unit and field programmable gate array; described field programmable gate array is according to the information updating automatic protection switching state machine of warning information type and OAM message place maintaining end point, and judges whether to protect switching according to described automatic protection switching state machine.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN2013102817559A CN103368849A (en) | 2013-07-05 | 2013-07-05 | OAM (Operations, Administration and Management) message processing method and device |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN2013102817559A CN103368849A (en) | 2013-07-05 | 2013-07-05 | OAM (Operations, Administration and Management) message processing method and device |
Publications (1)
Publication Number | Publication Date |
---|---|
CN103368849A true CN103368849A (en) | 2013-10-23 |
Family
ID=49369414
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN2013102817559A Pending CN103368849A (en) | 2013-07-05 | 2013-07-05 | OAM (Operations, Administration and Management) message processing method and device |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN103368849A (en) |
Cited By (8)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN103825776A (en) * | 2014-02-11 | 2014-05-28 | 烽火通信科技股份有限公司 | OAM package sending automatic detection apparatus and method |
CN104486118A (en) * | 2014-12-15 | 2015-04-01 | 盛科网络(苏州)有限公司 | Implementation device and method for flexibly recognizing and processing bidirectional forwarding detection (BFD) message |
CN104580028A (en) * | 2015-01-06 | 2015-04-29 | 盛科网络(苏州)有限公司 | Switch chip message processing method and device based on expansion interfaces |
CN105897446A (en) * | 2014-09-30 | 2016-08-24 | 浙江亿邦通信科技股份有限公司 | FPGA based EFM OAM processing method and hardware realization device |
CN109587079A (en) * | 2018-12-14 | 2019-04-05 | 北京物芯科技有限责任公司 | A kind of OAM transaction processing system and method |
CN110011826A (en) * | 2019-02-26 | 2019-07-12 | 盛科网络(苏州)有限公司 | A kind of method and device for realizing OAM ETH-ED based on chip |
WO2020007188A1 (en) * | 2018-07-05 | 2020-01-09 | 中兴通讯股份有限公司 | Alarm method and device |
CN111611132A (en) * | 2020-05-20 | 2020-09-01 | 中国移动通信集团江苏有限公司 | Operation and maintenance analysis method, device, equipment and medium for service |
Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20050243732A1 (en) * | 2004-05-03 | 2005-11-03 | Bitar Nabil N | Organization and maintenance loopback cell processing in ATM networks |
CN101355466A (en) * | 2008-09-01 | 2009-01-28 | 中兴通讯股份有限公司 | Method and apparatus for transmitting continuous check information message |
CN101499938A (en) * | 2009-03-27 | 2009-08-05 | 武汉烽火网络有限责任公司 | Apparatus and method for implementing high frequency continuity detection in CFM |
CN102970191A (en) * | 2012-12-12 | 2013-03-13 | 中兴通讯股份有限公司 | Method and device for realizing detection protocol in distribution type system |
-
2013
- 2013-07-05 CN CN2013102817559A patent/CN103368849A/en active Pending
Patent Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20050243732A1 (en) * | 2004-05-03 | 2005-11-03 | Bitar Nabil N | Organization and maintenance loopback cell processing in ATM networks |
CN101355466A (en) * | 2008-09-01 | 2009-01-28 | 中兴通讯股份有限公司 | Method and apparatus for transmitting continuous check information message |
CN101499938A (en) * | 2009-03-27 | 2009-08-05 | 武汉烽火网络有限责任公司 | Apparatus and method for implementing high frequency continuity detection in CFM |
CN102970191A (en) * | 2012-12-12 | 2013-03-13 | 中兴通讯股份有限公司 | Method and device for realizing detection protocol in distribution type system |
Cited By (14)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN103825776B (en) * | 2014-02-11 | 2017-02-01 | 烽火通信科技股份有限公司 | OAM package sending automatic detection apparatus and method |
CN103825776A (en) * | 2014-02-11 | 2014-05-28 | 烽火通信科技股份有限公司 | OAM package sending automatic detection apparatus and method |
CN105897446B (en) * | 2014-09-30 | 2019-08-20 | 浙江亿邦通信科技股份有限公司 | A kind of EFM OAM processing method and hardware realization apparatus based on FPGA |
CN105897446A (en) * | 2014-09-30 | 2016-08-24 | 浙江亿邦通信科技股份有限公司 | FPGA based EFM OAM processing method and hardware realization device |
CN104486118A (en) * | 2014-12-15 | 2015-04-01 | 盛科网络(苏州)有限公司 | Implementation device and method for flexibly recognizing and processing bidirectional forwarding detection (BFD) message |
CN104580028A (en) * | 2015-01-06 | 2015-04-29 | 盛科网络(苏州)有限公司 | Switch chip message processing method and device based on expansion interfaces |
CN104580028B (en) * | 2015-01-06 | 2018-01-12 | 盛科网络(苏州)有限公司 | Exchange chip message processing method and device based on expansion interface |
WO2020007188A1 (en) * | 2018-07-05 | 2020-01-09 | 中兴通讯股份有限公司 | Alarm method and device |
CN110690983A (en) * | 2018-07-05 | 2020-01-14 | 中兴通讯股份有限公司 | Alarm method and device |
CN109587079A (en) * | 2018-12-14 | 2019-04-05 | 北京物芯科技有限责任公司 | A kind of OAM transaction processing system and method |
CN109587079B (en) * | 2018-12-14 | 2020-11-20 | 北京物芯科技有限责任公司 | OAM service processing system and method |
CN110011826A (en) * | 2019-02-26 | 2019-07-12 | 盛科网络(苏州)有限公司 | A kind of method and device for realizing OAM ETH-ED based on chip |
CN111611132A (en) * | 2020-05-20 | 2020-09-01 | 中国移动通信集团江苏有限公司 | Operation and maintenance analysis method, device, equipment and medium for service |
CN111611132B (en) * | 2020-05-20 | 2023-09-05 | 中国移动通信集团江苏有限公司 | Operation and maintenance analysis method, device, equipment and medium for service |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN103368849A (en) | OAM (Operations, Administration and Management) message processing method and device | |
US9608903B2 (en) | Systems and methods for recovery from network changes | |
CN105491017A (en) | RS485 bus multi-device multi-protocol analysis method and RS485 bus multi-device multi-protocol analysis system | |
CN105207853B (en) | A kind of LAN method for managing and monitoring | |
EP3720075B1 (en) | Data transmission method and virtual switch | |
CN110808873B (en) | Method and device for detecting link failure | |
CN100403698C (en) | Method and apparatus for testing ethernet connection damage | |
CN102244593A (en) | Network communication at unaddressed network devices | |
CN103532863B (en) | Method and device for realizing software stacking | |
CN107453849A (en) | Power distribution communication network wire link and the mutually standby interlock method of Radio Link and system, vacant lot are mutually for integrated apparatus | |
CN107846356A (en) | Active/standby pseudo wires PW fast switch over method and device | |
WO2015103848A1 (en) | Method, system and terminal for realizing network access via wifi | |
CN103747061B (en) | A kind of dynamic environment monitoring system and its operation method of supporting many networkings to access | |
CN106059885B (en) | Processing method and system of the wireless controller to CAPWAP message | |
CN102857421B (en) | A kind of VLL fault detection method and equipment | |
CN106789387A (en) | A kind of chain circuit detecting method and device for SDN | |
CN103259687A (en) | Air traffic control data access platform in civil aviation | |
CN106559230A (en) | A kind of fault handling method, apparatus and system | |
CN107465621A (en) | A kind of router finds method, SDN controllers, router and network system | |
CN104486217A (en) | Cross network message transmitting method and equipment | |
CN103457782A (en) | VLAN-based loopback detection method and network equipment | |
CN108259442B (en) | Slow protocol message processing method and related device | |
CN103036793B (en) | Be communicated with sending method and the forwarding unit of error detection protocol message | |
CN104581796B (en) | A kind of sending method, CSE and the system of M2M application request | |
WO2018127024A1 (en) | Error correction method, device based on network port transmission and network port transmission equipment |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
C02 | Deemed withdrawal of patent application after publication (patent law 2001) | ||
WD01 | Invention patent application deemed withdrawn after publication |
Application publication date: 20131023 |