CN104394025A - OAM (Operation, Administration and Maintenance) message sending method - Google Patents

OAM (Operation, Administration and Maintenance) message sending method Download PDF

Info

Publication number
CN104394025A
CN104394025A CN201410799010.6A CN201410799010A CN104394025A CN 104394025 A CN104394025 A CN 104394025A CN 201410799010 A CN201410799010 A CN 201410799010A CN 104394025 A CN104394025 A CN 104394025A
Authority
CN
China
Prior art keywords
message
module
control module
oam
passage
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
Application number
CN201410799010.6A
Other languages
Chinese (zh)
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.)
CHENGDU LONGRAISE TECHNOLOGY DEVELOPMENT Co Ltd
Original Assignee
CHENGDU LONGRAISE TECHNOLOGY DEVELOPMENT 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 CHENGDU LONGRAISE TECHNOLOGY DEVELOPMENT Co Ltd filed Critical CHENGDU LONGRAISE TECHNOLOGY DEVELOPMENT Co Ltd
Priority to CN201410799010.6A priority Critical patent/CN104394025A/en
Publication of CN104394025A publication Critical patent/CN104394025A/en
Pending legal-status Critical Current

Links

Abstract

The invention relates to the field of network communication, in particular to an Ethernet OAM message sending method. The OAM message sending system comprises a reference pulse generating module, a message counting module, a message period control module, a sending control module and a message packetization module, wherein the reference pulse generating module is simultaneously connected with the message counting module and the message period control module, and provides reference pulse to the message counting module; the message counting module and the message period control module are simultaneously connected with the sending control module; the sending control module is connected with the message packetization module. The OAM message sending system provided by the invention adopts the same timer (as a packet timer) manner to implement sending control of the same or different timing to different messages in different channels (to the OAM messages in different network layers), so as to meet the different sending period requirements on the different OAM messages in the different network layers.

Description

A kind of OAM message sending method
Technical field
The present invention relates to a kind of network communication field, particularly a kind of OAM message sending method.
Background technology
Ethernet OAM (Operations, Administration and Maintenance, Operations, Administration and Maintenance) is a kind of instrument of monitor network problem.It is operated in data link layer, and carrier ethernet utilizes the mutual OAMPDU (OAM Protocol Data Units, OAM Protocol Data Unit) of timing between equipment to carry out the state of reporting ent, enables network manager's more effectively supervising the network.
ITU tissue issues the large class Ethernet OAM function of ITU-T.Y1731 standard main definitions two: fault management, performance monitoring.Fault management mainly comprises: the functions such as connectivity checks (Ethernet Continuity Check), loopback detection (EthernetLoopback), path detection (Ethernet Link Trace), far-end fault instruction (Ethernet Remote DefectIndication); Performance monitoring mainly comprises packet loss detection (Frame Loss), Time delay measurement (Frame Delay), throughput measurement (Throughput measurement) etc.
The main type of message of PTN network OAM is as shown in table 1, and some message sends in the cycle, as: CCM message; Some message sends as required, as AIS/RDI message; Some message once sends, as APS message.
Table 1
Function Message
Status discovery CCM
Alarm suppresses AIS/RDI
Connectivity Verification LBM/LBR
Fault location LTM/LTR
Packet loss rate measurement LMM/LMR
Latency measurement DMM/DMR
Pretection switch CCM/APS
Summary of the invention
The object of the invention is to overcome above-mentioned deficiency existing in prior art, a kind of OAM message transmitting system adopting same counting module to realize the periodic Control of dissimilar OAM message is provided, comprises reference pulse generation module, packet counting module, message periodic Control module, send control module and message group package module; Described reference pulse generation module connects described packet counting module and described message periodic Control module simultaneously, and provides reference pulse for described packet counting module; Described packet counting module is connected described transmission control module with described message periodic Control module simultaneously, and described transmission control module connects described message group package module.
Described packet counting module is used for carrying out time counting for dissimilar OAM message, to judge whether to arrive the transmission cycle.
Described message periodic Control module is for controlling the transmission cycle of dissimilar OAM message.
Described transmission control module for reading message information in described packet counting module, message periodic Control module, and controls the transmission of OAM message according to this information.
Described message group package module is used for the transmission order that sends according to described transmission control module and packages transmission to corresponding OAM message.
Further, described transmitting system also comprises message driving module, and described message driving module is connected with described reference pulse generation module and described transmission control module simultaneously; Described message driving module is for controlling the enable mark of dissimilar OAM message.
Preferably, described reference pulse generation module produces the reference clock pulse of 3.33ms.
Further, described packet counting module, message periodic Control module, message driving module all comprise 128 passages, every passage can hold the controling parameters of 16 OAM message, and namely described transmitting system can realize controlling the transmission of 2048 messages in theory.
Further, described packet counting module realizes the transmission periodic Control of same time or different time simultaneously for dissimilar OAM message.
Further, described transmission periodic Control module can realize the control in different transmission cycle to same type OAM message or same OAM message.
Meanwhile, the present invention also provides a kind of OAM message sending method adopting same counting module to realize the periodic Control of dissimilar OAM message, comprises following steps:
Step 1: by m, the arrival waiting for reference pulse, is set as that 0, n is set as 0, enters step 2.
Step 2: described transmission control module reads the count value of the n-th message in passage m in described packet counting module; Meanwhile, described transmission control module reads the transmission periodic quantity of the n-th message in passage m in described message periodic Control module; As described in passage m the n-th message count value < as described in the transmission periodic quantity of the n-th message in passage m, then enter step 3, otherwise enter step 4; Wherein 0≤m<128,0≤n<16.
Step 3: stored in position, packet counting module Central Plains after the count value of the n-th message adds 1 in described passage m, enter step 5.
Step 4: described transmission control module sends type of message, the message channel number of this message to described message group package module, described message group package module group bag sends this message, enters step 5.
Step 5:n value adds 1, judges whether n currency equals 16, as no, returns step 2; In this way, step 6 is entered; Step 6:n makes zero; M value adds 1, judges whether m currency is 128; As no, return step 2; In this way, then terminate, wait for that next reference pulse arrives.
Further, the step that described transmission control module reads the enable mark of the n-th message in passage m in described message driving module is also comprised in step 4, as as described in be enablely designated 1, then described transmission control module sends type of message, the message channel number of this message to described message group package module, described message group package module sends this message, enters step 5; Otherwise directly enter step 5.
Preferred described reference pulse is the reference clock pulse of 3.33ms.
Further, described OAM message sending method can realize the transmission periodic Control of same time or different time for dissimilar OAM message.
Further, described transmission periodic Control module can realize the control in different transmission cycle to same type OAM message or same OAM message.
Compared with prior art, beneficial effect of the present invention: OAM message transmitting system provided by the invention, adopt the mode of same timer (this timer is grouping timer), the transmission control of identical or different timing can be realized simultaneously for different message in different passage (OAM message for heterogeneous networks layer).The difference simultaneously meeting the different OAM message of heterogeneous networks layer sends cycle requirement.
Accompanying drawing illustrates:
Fig. 1 is the structural representation of OAM message transmitting system provided by the invention.
Fig. 2 is the flow chart of OAM message sending method provided by the invention.
Mark in figure: 1-reference pulse generation module, 2-packet counting module, 3-sends periodic Control module, and 4-sends control module, 5-message group package module, 6-message driving module.
Embodiment
Below in conjunction with specific embodiment, the present invention is described in further detail.But this should be interpreted as that the scope of the above-mentioned theme of the present invention is only limitted to following embodiment, all technology realized based on content of the present invention all belong to scope of the present invention.
Embodiment 1: the object of the present embodiment is to overcome above-mentioned deficiency existing in prior art, a kind of OAM message transmitting system adopting same counting module to realize the periodic Control of dissimilar OAM message is provided, comprises reference pulse generation module 1, packet counting module 2, message periodic Control module 3, send control module 4 and message group package module 5; Described reference pulse generation module 1 connects described packet counting module 2 and described message periodic Control module 3 simultaneously, and provides reference pulse for described packet counting module 1; Described packet counting module 2 is connected described transmission control module 4 with described message periodic Control module 3 simultaneously, and described transmission control module 4 connects described message group package module 5.
Described packet counting module 2 for carrying out time counting for dissimilar OAM message, with judge whether arrive the transmission cycle.
Described message periodic Control module 3 is for controlling the transmission cycle of dissimilar OAM message; As shown in table 2, in the present embodiment, the transmission cycle of described OAM message can divide 7 kinds
Table 2
In the present embodiment, for saving storage area, in described message periodic Control module 3, adopt the cycle of the corresponding message of mode record of the table of comparisons as shown in table 3.
Table 3
Storaging mark Message sends the cycle
000 3.33ms
001 10ms
010 100ms
011 1s
100 10s
101 1min
110 10min
111 0 (single)
With reference to table 3, the storage only just realizing each message cycle with the bank bit of 3bit can be realized.
Described transmission control module 4 for reading message information in described packet counting module 2, message periodic Control module 3, and controls the transmission of OAM message according to this information; As described in transmission control module 4 from as described in read 110 periodic Control module 3, then represent, the transmission cycle of this OAM message is 10min; As described in transmission control module 4 from as described in read 011 periodic Control module 3, then represent that the transmission cycle of this OAM message is 1s.
Described message group package module 5 to package transmission to corresponding OAM message for the transmission order that sends according to described transmission control module 4.
Further, described transmitting system also comprises message driving module 6, and described message driving module 6 is connected with described reference pulse generation module 1 and described transmission control module 4 simultaneously; Described message driving module 6 is for controlling the enable mark of dissimilar OAM message.The module of message driving described in the present embodiment 6 is the memory space of 128*16bit, can realize the enable control to 128*16 OAM message, if mark place value is 1, then represents that transmission is enable.Be 0 as identified place value, then represent that transmission is forbidden.
Preferably, described reference pulse generation module produces the reference clock pulse of 3.33ms.
Further, described packet counting module 2, message periodic Control module 3, message driving module 6 all comprise 128 passages, every passage can hold the controling parameters of 16 OAM message, and namely described transmitting system can realize controlling the transmission of 2048 messages in theory.
Further, described packet counting module 2, due to the structure of itself 128*16, can realize the transmitting time counting simultaneously dissimilar OAM message being carried out to same time or different time.
Further, described transmission periodic Control module 3 is due to the structure of its 128*16, can realize carrying out to dissimilar OAM message the periodic Control that the time is identical or the time is different, also can realize control same type OAM message or same OAM message being carried out to the different transmission cycle.
Embodiment 2: the present embodiment provides a kind of OAM message sending method adopting same counting module to realize the periodic Control of dissimilar OAM message, comprises following steps:
Step 1: by m, the arrival waiting for reference pulse, is set as that 0, n is set as 0, enters step 2.
Step 2: described transmission control module reads the count value of the n-th message in passage m in described packet counting module; Meanwhile, described transmission control module reads the transmission periodic quantity of the n-th message in passage m in described message periodic Control module; As described in packet counting module channels m the n-th message count value < as described in the transmission periodic quantity of the n-th message in message periodic Control module channels m, then enter step 3, otherwise enter step 4; Wherein 0≤m<128,0≤n<16.
Step 3: stored in position, packet counting module Central Plains after the count value of the n-th message adds 1 in passage m in described packet counting module, enter step 5.
Step 4: described transmission control module sends type of message, the message channel number of this message to described message group package module, described message group package module group bag sends this message, enters step 5.
Step 5:n value adds 1, judges whether n currency equals 16, as no, returns step 2; In this way, step 6 is entered.
Step 6:n makes zero; M value adds 1, judges whether m currency is 128; As no, return step 2; In this way, then terminate, wait for that next reference pulse arrives.
Further, the step that described transmission control module reads the enable mark of the n-th message in passage m in described message driving module is also comprised in step 4, as as described in be enablely designated 1, then described transmission control module sends type of message, the message channel number of this message to described message group package module, described message group package module sends this message, enters step 5; Otherwise directly enter step 5.
Preferred described reference pulse is the reference clock pulse of 3.33ms.
Further, described packet counting module 2, due to the structure of itself 128*16, can realize the transmitting time counting simultaneously dissimilar OAM message being carried out to same time or different time.
Further, described transmission periodic Control module 3 is due to the structure of its 128*16, can realize carrying out to dissimilar OAM message the periodic Control that the time is identical or the time is different, also can realize control same type OAM message or same OAM message being carried out to the different transmission cycle.

Claims (3)

1. an OAM message sending method, is characterized in that, comprises following steps:
Step 1: by m, the arrival waiting for reference pulse, is set as that 0, n is set as 0, enters step 2;
Step 2: described transmission control module reads the count value of the n-th message in passage m in described packet counting module; Meanwhile, described transmission control module reads the transmission periodic quantity of the n-th message in passage m in described message periodic Control module; As described in passage m the n-th message count value < as described in the transmission periodic quantity of the n-th message in passage m, then enter step 3, otherwise enter step 4; Wherein 0≤m<128,0≤n<16;
Step 3: stored in position, packet counting module Central Plains after the count value of the n-th message adds 1 in described passage m, enter step 5;
Step 4: described transmission control module sends type of message, the message channel number of this message to described message group package module, described message group package module group bag sends this message, enters step 5;
Step 5:n value adds 1, judges whether n currency equals 16, as no, returns step 2; In this way, step 6 is entered;
Step 6:n makes zero; M value adds 1, judges whether m currency is 128; As no, return step 2; In this way, then terminate, wait for that next reference pulse arrives.
2. a kind of OAM message sending method as claimed in claim 1, it is characterized in that, the step that described transmission control module reads the enable mark of the n-th message in passage m in described message driving module is also comprised in step 4, as as described in be enablely designated 1, then described transmission control module sends type of message, the message channel number of this message to described message group package module, described message group package module sends this message, enters step 5; Otherwise directly enter step 5.
3. a kind of OAM message sending method as claimed in claim 2, is characterized in that, described reference pulse is the reference clock pulse of 3.33ms.
CN201410799010.6A 2014-12-19 2014-12-19 OAM (Operation, Administration and Maintenance) message sending method Pending CN104394025A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201410799010.6A CN104394025A (en) 2014-12-19 2014-12-19 OAM (Operation, Administration and Maintenance) message sending method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201410799010.6A CN104394025A (en) 2014-12-19 2014-12-19 OAM (Operation, Administration and Maintenance) message sending method

Publications (1)

Publication Number Publication Date
CN104394025A true CN104394025A (en) 2015-03-04

Family

ID=52611861

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201410799010.6A Pending CN104394025A (en) 2014-12-19 2014-12-19 OAM (Operation, Administration and Maintenance) message sending method

Country Status (1)

Country Link
CN (1) CN104394025A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112134639A (en) * 2020-09-17 2020-12-25 盛科网络(苏州)有限公司 OAM message sending method, device, computer medium and electronic equipment
CN115314179A (en) * 2022-08-05 2022-11-08 烽火通信科技股份有限公司 MTNP OAM message sending method and device

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101136772A (en) * 2007-09-28 2008-03-05 华为技术有限公司 Timing transmission packet method and packet transmission module
US20100061267A1 (en) * 2008-09-08 2010-03-11 Fujitsu Limited Packet transmission apparatus and packet transmission method

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101136772A (en) * 2007-09-28 2008-03-05 华为技术有限公司 Timing transmission packet method and packet transmission module
US20100061267A1 (en) * 2008-09-08 2010-03-11 Fujitsu Limited Packet transmission apparatus and packet transmission method

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112134639A (en) * 2020-09-17 2020-12-25 盛科网络(苏州)有限公司 OAM message sending method, device, computer medium and electronic equipment
CN112134639B (en) * 2020-09-17 2022-08-12 苏州盛科通信股份有限公司 OAM message sending method, device, computer medium and electronic equipment
CN115314179A (en) * 2022-08-05 2022-11-08 烽火通信科技股份有限公司 MTNP OAM message sending method and device
CN115314179B (en) * 2022-08-05 2023-06-09 烽火通信科技股份有限公司 MTNP OAM message sending method and device

Similar Documents

Publication Publication Date Title
CN100463418C (en) Network performance test method, system and network device
CN101800679B (en) Message packet loss detection method and system
CN100382517C (en) Network QoS test method and system
CN102904775B (en) Method, apparatus and system for measuring network packet loss
CN101986594B (en) Method and device for realizing communication between single boards
CN103929461B (en) Mac address information synchronous method and device in pile system
CN105591912B (en) A kind of selection method and device of forward-path
CN104104616A (en) Method, device and system for data scheduling and exchange
CN101355466A (en) Method and apparatus for transmitting continuous check information message
CN104980293B (en) A kind of OAM message is quickly sent and the method and device of detection processing
CN105743801A (en) Method and device of flow forwarding of stack system
EP3208971B1 (en) Method, device and system for reducing centralized protection switching time in potn system
CN107547129A (en) Link state detection method and system
US9331927B2 (en) Communication system, communication device, and communication method
CN103825819B (en) A kind of message sending and receiving method, device
CN107547442A (en) Data transfer buffer queue distribution method and device
CN103248567B (en) A kind of BFD session message transmitting method and equipment
CN102158422B (en) Message forwarding method and equipment for layer 2 ring network
CN101453390B (en) Test method and system for biplane double layer communication
CN101013928B (en) Apparatus and method for implementing line fault detection of pseudo-wire simulation
WO2019085809A1 (en) Method, relevant device and system for acquiring a target transmission path
CN104394025A (en) OAM (Operation, Administration and Maintenance) message sending method
CN104468228A (en) OAM message transmission system
CN102144376A (en) Band control method and band control device for node device
CN204392271U (en) A kind of OAM message transmitting system

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
RJ01 Rejection of invention patent application after publication
RJ01 Rejection of invention patent application after publication

Application publication date: 20150304