CN112134639A - OAM message sending method, device, computer medium and electronic equipment - Google Patents

OAM message sending method, device, computer medium and electronic equipment Download PDF

Info

Publication number
CN112134639A
CN112134639A CN202010979268.XA CN202010979268A CN112134639A CN 112134639 A CN112134639 A CN 112134639A CN 202010979268 A CN202010979268 A CN 202010979268A CN 112134639 A CN112134639 A CN 112134639A
Authority
CN
China
Prior art keywords
code block
type
oam
bas
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.)
Granted
Application number
CN202010979268.XA
Other languages
Chinese (zh)
Other versions
CN112134639B (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.)
Centec Networks Suzhou Co Ltd
Original Assignee
Centec Networks Suzhou Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Centec Networks Suzhou Co Ltd filed Critical Centec Networks Suzhou Co Ltd
Priority to CN202010979268.XA priority Critical patent/CN112134639B/en
Publication of CN112134639A publication Critical patent/CN112134639A/en
Application granted granted Critical
Publication of CN112134639B publication Critical patent/CN112134639B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04JMULTIPLEX COMMUNICATION
    • H04J3/00Time-division multiplex systems
    • H04J3/02Details
    • H04J3/06Synchronising arrangements
    • H04J3/0635Clock or time synchronisation in a network
    • H04J3/0638Clock or time synchronisation among nodes; Internode synchronisation
    • H04J3/0658Clock or time synchronisation among packet nodes
    • H04J3/0661Clock or time synchronisation among packet nodes using timestamps
    • H04J3/0667Bidirectional timestamps, e.g. NTP or PTP for compensation of clock drift and for compensation of propagation delays
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L1/00Arrangements for detecting or preventing errors in the information received
    • H04L1/004Arrangements for detecting or preventing errors in the information received by using forward error control
    • H04L1/0056Systems characterized by the type of code used
    • H04L1/0057Block codes

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Data Exchanges In Wide-Area Networks (AREA)

Abstract

The invention provides a method, a device, a computer medium and an electronic device for transmitting an OAM message, wherein the method comprises the following steps: generating an OAM message sending period reference signal through the control of a first timer, and carrying out time processing on signals of different stages of the first type OAM message; meanwhile, the counter counts signals of different stages of the first type of OAM message; performing time processing on signals of different stages of the second type of OAM message through a second timer; meanwhile, the counter counts signals of different stages of the second type OAM message; and controlling the corresponding type of OAM message to be sent according to the time processing result and the counting information of the two types of OAM messages by the first timer or the second timer. According to the method and the device, two different packet sending period references of the OAM of the slice channel layer are realized through two timers, and packet sending logics are completed in one timer in a unified mode.

Description

OAM message sending method, device, computer medium and electronic equipment
Technical Field
The invention relates to the technical field of network communication, in particular to a method, a device, a computer medium and electronic equipment for transmitting an OAM message.
Background
When using the internet, people now require that the network should have higher speed and lower delay, which requires continuous improvement of the internet and communication technology, and of course, the requirements and standards for network bearer will be higher and higher.
The slice packet network SPN and the PTN are based on an Ethernet transmission architecture, the SPN inherits the functional characteristics of a PTN transmission scheme, enhances and innovates, meets various new requirements of 5G, and is compatible with the PT N and the SPN. Therefore, the Sliced Packet Network (SPN) is an optimal technology, and is used to support the next generation network architecture, that is, the Sliced Packet Network (SPN) is a new generation end-to-end hierarchical switching network based on multi-layer fusion, and has a transmission network with the attributes of flexible service scheduling, high reliability, low delay, high precision clock, easy operation and maintenance, strict Q OS guarantee, and the like. The transmission of the sliced packet network SPN is not just backhaul, but is a kind of retransmission, intermediate transmission, and retransmission network. That is, a more efficient network connection will simultaneously emphasize the three steps of forwarding, intermediate forwarding and returning network data.
A Slice Packet Network (SPN) adopts an ITU-T layered network model, mainly faces to a technical mechanism of a transmission network carried by metropolitan area integrated services, and carries out integrated bearing on services with high quality requirements such as mobile forward/intermediate/return, enterprise private lines/private networks, family broadband and the like.
The Slice Packet Network (SPN) technology architecture is shown in fig. 1, and includes a slice transport layer (SPL), a Slice Channel Layer (SCL), and a Slice Transport Layer (STL); the Slice Channel Layer (SCL) provides end-to-end channelized networking for service slices, provides end-to-end virtual network connection capability based on Ethernet through a Slice Ethernet (SE) technology, and provides a low-delay and hard isolation slice channel based on L1 for multi-service bearing. Based on OAM and protection functions of the SE channel, the performance detection and fault recovery capability of an end-to-end slice channel layer can be realized, namely, the OAM function is deployed on the slice channel layer, the link state can be quickly checked, preparation switching can be carried out in time, and the stability of services is ensured.
The slice packet network also comprises a time/clock synchronization function module for realizing high-precision frequency synchronization and time synchronization and a management/control function module for realizing the unified control of the SPN. The time/clock synchronization module with high-precision frequency synchronization and time synchronization can meet the working requirements when double-division-system is adopted as basic service, namely, the errors of single-node time and frequency are greatly reduced through a more precise timestamp processing mechanism and a PTP message transmission mechanism, and the time synchronization capability with ultrahigh precision is provided.
In order to meet the requirements of high-precision frequency synchronization and time synchronization, multiple types of OAM messages transmitted by a slice channel layer need to be completed by matching multiple timers, which results in high cost.
Therefore, it is necessary to provide a new method for transmitting OAM messages.
Disclosure of Invention
In view of this, the present invention is directed to a method, an apparatus, a computer medium, and an electronic device for transmitting an OAM message.
In order to achieve the above object, an embodiment of the present invention provides the following technical solutions:
a method of OAM messaging, the method comprising:
step 1, generating an OAM message sending period reference signal through a first timer control, and performing time processing on signals of different stages of a first type of OAM message; meanwhile, the counter counts signals of different stages of the first type of OAM message;
step 2, performing time processing on signals of different stages of the second type OAM message through a second timer; meanwhile, the counter counts signals of different stages of the second type OAM message;
and 3, controlling the corresponding type of OAM message to be sent according to the time processing result and the counting information of the two types of OAM messages by the first timer or the second timer.
Further, the first type is a packet sending rate message calculated at code block intervals; the second type is a packet with a packet sending rate calculated by time.
Further, the first type of packet is a BAS code block; the second type of packet includes an APS code block, a DM code block, a CV code block, and a CS code block.
Further, in step 1, the first timer performs time processing on signals of different stages of the first type OAM message to control the first timer to generate a BAS code block transmission period reference signal, and outputs a BAS code block period;
the counter counts signals of different stages of the first type OAM message, namely, the counter counts signals which generate BAS code block sending period reference signals and reach BAS code block period signals.
Further, the process of processing the time processing result and the count information of the BAS packet includes the following steps:
s1, comparing the count value cnt1 of the BAS code block transmission period reference signal generated in the counter with the count value thrd1 reaching the BAS code block period signal;
when cnt1 is greater than thrd1, it is judged that valid signal is generated, and cnt1 is clear 0; then, S2 is executed;
s2, counting the BAS code block period according to the signal generating the packet sending period and the information reaching the BAS code block period signal, and comparing the count value cnt _ BAS of the BAS code block period with a set threshold thrd _ BAS;
when cnt _ BAS > thrd _ BAS, a BAS code block is transmitted.
Further, generating a signal of APS/DM/CV/CS code block transmission period reference and a packet transmission period through a second timer; the counters count the generation of APS/DM/CV/CS code block transmission period reference signal and the generation of packet transmission period signal, respectively.
Further, the time processing result and the count information of the second type OAM message are processed to find an APS code block, a DM code block, a CV code block, and a CS code block, and then control transmission of the corresponding code blocks.
The application also provides a device for sending the OAM message, which comprises
The first timing unit is configured to generate a signal of an OAM message sending period reference through the control of the first timer, and perform time processing on signals of different stages of the first type of OAM message;
the second timing unit is configured to perform time processing on signals of different stages of the second type of OAM message through a second timer;
a counting unit configured to count signals of different stages of the first type and the second type of OAM message by a counter;
and the control unit is configured to control the corresponding type of OAM message to be sent according to the time processing result and the counting information of the two types of OAM messages by the first timer or the second timer.
Further, the first type is a packet sending rate code block number interval calculation message; the second type is a packet sending rate code block number interval calculation message.
Further, the message with the variable frame length is a BAS code block; the messages with fixed frame length comprise APS code blocks, DM code blocks, CV code blocks and CS code blocks.
The present application also provides a computer medium having a computer program stored thereon, where the program is the above-mentioned OAM message sending method.
The application also provides an electronic device, which comprises a memory, a processor and a program stored in the memory and capable of running on the processor, wherein the processor implements the OAM message sending method when executing the program.
In the technical scheme of the application, two types of OAM messages are respectively processed by two timers in the transmission of the OAM messages of the slice channel layer, namely, a signal of an OAM message transmission period reference is generated by the control of the first timer, and time processing is carried out on signals of different stages of the OAM message of the first type; meanwhile, the counter counts signals of different stages of the first type of OAM message; performing time processing on signals of different stages of the second type of OAM message through a second timer; meanwhile, the counter counts signals of different stages of the second type OAM message; and controlling the corresponding type of OAM message to be sent according to the time processing result and the counting information of the two types of OAM messages by the first timer or the second timer. Two different types of packet sending period references of the OAM of the slice channel layer are realized through two timers, and packet sending logics are completed in one timer in a unified mode.
Drawings
In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings used in the description of the embodiments or the prior art will be briefly described below, it is obvious that the drawings in the following description are only some embodiments described in the present invention, and for those skilled in the art, other drawings can be obtained according to the drawings without creative efforts.
FIG. 1 is a schematic diagram of a network architecture model of a SPN in the prior art;
fig. 2 is a flowchart of a method for transmitting an OAM message at a slice channel layer according to the present invention;
fig. 3 is a diagram illustrating the transmission control of BAS code blocks according to an embodiment of the present invention;
fig. 4 is a diagram illustrating control of code block transmission according to an embodiment of the present invention;
fig. 5 is a schematic structural diagram of an electronic device according to an embodiment of the present invention;
fig. 6 is a hardware structure of an electronic device according to an embodiment of the present invention.
Detailed Description
In order to make those skilled in the art better understand the technical solution of the present invention, the technical solution in the embodiment of the present invention will be clearly and completely described below with reference to the drawings in the embodiment of the present invention, and it is obvious that the described embodiment is only a part of the embodiment of the present invention, and not all embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.
Before introducing the method for sending OAM messages in the present application, a step in an existing OAM message sending system and its related OAM message sending will be introduced.
A general OAM message transmission system includes: a reference pulse generating function, a message counting function, a message period control function, a sending control function and a message packaging function; the reference pulse generating function is a reference signal source for providing system work, and specifically provides reference pulses for message counting in an OAM message sending process; the message counting function is used for counting time aiming at different types of OAM messages so as to judge whether a sending period is reached; the message period control function is used for controlling the sending periods of different types of OAM messages; the transmission control function is used for reading message information in the message counting function and the message period control function and controlling the transmission of the OAM message according to the message information; the message packet packaging function is used for packaging and sending the corresponding OAM message according to a sending command sent by the sending control function; therefore, the process of sending OAM messages is generally: before OAM message sending, the message counting can count time for different types of OAM messages by sending a reference signal source, whether a certain message reaches a sending period is judged by the time counting, and if the certain message reaches the sending period of the certain type of OAM message, the OAM message packet of the type is controlled to be sent out.
In the application, for a slice channel layer, the OAM messages (code blocks) to be sent include BAS, APS, DM, CV and CS, and different sending periods of different OAM messages in the sending process are different from each other. The OAM messages of the slice channel layer are mainly divided into two types, the first type is the messages calculated by the quantity interval of code blocks at the packet transmission rate, and the second type is the messages calculated by the packet transmission rate with time.
The BAS code block message is divided according to the number of data code blocks sent by each code block, and the sending period comprises a 16K code block, a 32K code block, a 64K code block, a 128K code block, a 256K block and a 512K code block; wherein, a 16K code block means that 1 BAS code block is transmitted every 16K data code blocks; the 32K code block means that 1 BAS code block is transmitted every 32K data code blocks; the 64K code block means that 1 BAS code block is transmitted every 64K data code blocks; the 128K code block means that 1 BAS code block is transmitted every 128K data code blocks; 256K code blocks refer to 1 BAS code block transmitted every 256K data code blocks; the 512K code blocks refer to 1 BAS code block transmitted every 512K data code blocks.
The transmission rates of the data code blocks of the BAS code blocks are all integer multiples of 5Gbps, namely 5Gbps/10Gbps … 400Gbps, so that the transmission periods of the same data code block at different transmission rates are different. Taking a 16K code block as an example, explanation is made:
when the sending rate is 5G, the sending period is 64 × 16K/5G-209715.2 ns;
when the sending rate is 20G, the sending period is 64 × 16K/20G-52428.8 ns;
when the transmission rate is 60G, the transmission period is 64 × 16K/60G-17476.3 ns;
when the sending rate is 400G, the sending period is 64 × 16K/400G-2621.44 ns;
it can be seen that, for the same BAS block, the transmission periods of the BAS blocks are different due to different transmission rates.
The sending cycle of the messages of the APS code block, the DM code block, the CV code block and the CS code block mainly comprises the following steps: 1S, 10S and 60S.
For example, the CV code block is used for detecting connectivity of the LSP, and the frequency of detecting to transmit the CV message is fixed to 1 frame/second and is not settable, that is, the transmission period of the CV code block is 1S and is fixed and unchangeable.
Based on the analysis of the slice channel layer messages, it can be known that there are two different types of cycle references for sending the slice channel layer OAM messages, and then in the process of sending the OAM messages, two different cycle references need to be provided to effectively complete the sending of the OAM messages.
Before introducing the method steps of the present application as shown in the figures, some main parameters are defined as follows:
for the BAS code block, a 16K code block is taken as an example to describe a transmission procedure of the BAS code block.
timer 1: for generating a signal for BAS code block transmission period reference. When the BAS code block adopts a 16K code block, the BAS code block finally outputs a 16K code block period.
cnt 1: for the count of timer1, the time of timer1 signal up, cnt1 plus 1.
valid: indicating that the transmission period of the BAS code block is reached. When the BAS code block specifically adopts a 16K code block, valid indicates that a 16K code block period is reached.
thrd 1: for timer1 to generate valid signal.
timer 2: for generating a signal for a transmission period.
cnt _ bas: representing a count of 16K module cycles.
thrd _ bas: and when the cnt _ BAS is larger than the thrd _ BAS, the BAS code block is sent.
cnt 2: for the count of timer2, the signal of timer2 arrives, cnt2 increments by 1.
thrd 2: for generating a period of 1s, when cnt2> thrd2, a signal of 1s is generated, and processing of code block transmission such as APS/DM/CV/CS is performed while cnt2 clears 0.
cnt _ aps/cnt _ dm/cnt _ cv/cnt _ cs: representing a count of 1s cycles.
thrd _ aps/thrd _ dm/thrd _ cv/thrd _ cs: and sending a threshold value, and finding a corresponding module when the corresponding cnt is greater than thrd.
Then, the steps of the slice channel layer OAM message that controls two different transmission methods of the packet transmission cycle reference through two timers are shown in fig. 2:
the reference pulse generating module provides reference pulses for the message counting module, so that the message counting module can count under a unified standard.
Step 1, generating an OAM message sending period reference signal through a first timer control, and timing signals of different stages of a first type of OAM message; meanwhile, the counter counts signals of different stages of the first type of OAM message; as shown in fig. 3. The first type is a message with a variable frame length; the message with the variable frame length is a BAS code block.
S11, the first timer controls the signal for generating the BAS code block sending period reference and outputs the BAS code block period;
in an embodiment of the application, the first timer is responsible for the signal and period of a BAS code block of variable frame length. The first timer can output the period of the BAS code block, and the first timer generates a BAS code block transmission period reference signal so that the counter can count the time of different types of OAM messages with one same reference, and judges whether the transmission period is reached according to the counting result.
S12, the counter respectively counts the generated BAS code block sending period reference signal and the BAS code block period signal;
different signals exist in the transmission process of the slice channel layer, and when a BAS code block sends a signal with a period reference, the number of times of the signal is counted; when the time reaches the BAS code block period, the signals reaching the BAS code block period are counted.
In the embodiment of the present application, a 16K code block is taken as an example, and therefore, a period of the 16K code block is output, where tiemr1 is used to represent the generation of the BAS transmission period reference, and then the signal for generating the BAS transmission period reference may be referred to as the timer1 signal.
S121, the counter counts the reference signals of the BAS code block sending period;
in the embodiment of the application, the slice channel layer sequentially sends OAM messages in the transmission process, the counter counts signals generating BAS code block sending period reference, namely counts the timer1 signals, the count value is represented by cnt1, and when the signal of tiemr1 arrives, the cnt1 is added with 1.
S122, the counter counts signals reaching the BAS code block period;
in the embodiment of the present application, the time reference value and the initial value of the count of the BAS block can be determined according to the signal (i.e., the timer1 signal) that generates the base of the BAS block transmission period, and the signal reaching the BAS block period can be determined according to the BAS block period by using the time of the timer1 signal as the reference value, and the signal reaching the BAS block period can be simply referred to as a valid signal. The counter counts the valid signal, the count is denoted thrd1, and thrd1 increments by 1 when thrd1 signal is asserted.
Step 13, comparing and judging the count value of the BAS code block sending period reference signal generated in the counter and the count value of the BAS code block period signal;
when the count value of the signal generating the BAS code block transmission period reference in the counter is compared with the count value reaching the BAS code block period signal, actually, the count value cnt1 of the timer1 signal is compared with the count value thrd1 of the valid signal, when cnt1 is larger than thrd1, the valid signal is judged to be generated, and cnt1 is cleared 0; then, step S4 is executed.
S14, counting the BAS code block period according to the information of the signal generating the packet sending period and the signal reaching the BAS code block period;
when the flag bit of the valid signal is 1 and a packet sending cycle is generated, it indicates that one BAS code block cycle is completed, the BAS code block cycle is counted, the count value is cnt _ BAS, and at this time, the cnt _ BAS is incremented by 1, and then step S5 is executed; otherwise, the count value of the BAS code block packetization period, which is indicated by cnt2, is incremented by 1.
S15, comparing the count value of the BAS code block period with a set threshold value;
the set threshold is a threshold of the BAS code block transmission period and is represented by thrd _ BAS. When the count value of the BAS code block period is compared with the set threshold, the count value of the BAS code block period is actually compared with the threshold of the BAS code block transmission period:
when the cnt _ BAS is larger than thrd _ BAS, a BAS code block is sent, and the cnt _ BAS is cleared, and the flag bit of the valid signal is cleared; this indicates that the counting is restarted after the BAS code block is transmitted this time.
When cnt _ BAS < thrd _ BAS, the count value of the BAS code block packet sending period is added with 1, which indicates that the BAS code block packet sending task is completed once.
Step 2, performing time processing on signals of different stages of the second type OAM message through a second timer; meanwhile, the counter counts signals of different stages of the second type OAM message; as shown in fig. 4. The second type is a message with a fixed frame length, and the message with the fixed frame length comprises an APS code block, a DM code block, a CV code block and a CS code block.
S21, generating APS/DM/CV/CS code block transmission period reference signal and packet transmission period through a second timer;
in the embodiment of the application, the second timer is responsible for the signal and the period of the APS/DM/CV/CS code block with a fixed frame length. The second timer is capable of outputting a period of the APS/DM/CV/CS code block; in addition, the time of the signal generating the APS/DM/CV/CS code block transmission period reference is consistent with the time of the BAS code block transmission period reference signal generated by the first timer, so as to ensure that different types of OAM messages have the same judgment standard in the transmission process, and the control is completed in the first timer.
S22, the counter respectively counts the APS/DM/CV/CS code block transmission period reference signal and the packet transmission period signal;
s23, comparing the count value of the signal generating APS/DM/CV/CS code block transmission period reference with the count value of the signal generating packet transmission period;
in the present embodiment, the count value of the signal generating the APS/DM/CV/CS code block transmission period reference is represented by thrd2, and when the signal generating the APS/DM/CV/CS code block transmission period reference is generated, thrd2 is incremented by 1; then the count value of the signal generating the APS/DM/CV/CS code block transmission period reference is actually compared with the count value of the BAS code block transmission period, and the count value cnt2 and the count value thrd2 of the timer2 signal are actually determined;
when cnt2> thrd2, cnt2 is clear 0, and then step S23 is performed;
when cnt2 < thrd2, return to S1.
And S23, finding APS code block, DM code block, CV code block and CS code block, and controlling to transmit corresponding code blocks.
S231, discovering an APS code block;
s2311, acquiring an APS code block period is a count value; acquiring an APS code block period count value which is represented by cnt _ APS, and adding 1 to the APS code block period count value cnt _ APS when cnt2 is greater than thrd 2;
s2312, comparing the count value of the APS code block period with a first transmission threshold;
the first transmission threshold refers to the transmission threshold of the APS code block and is represented by thrd _ APS;
when the cnt _ APS is greater than thrd _ APS, the APS code block is found, the APS code block is controlled to be sent, and then the cnt _ APS is cleared;
when cnt _ aps < thrd _ aps, the step of finding a DM code block in step S232 is performed.
S232, finding a DM code block;
s2321, acquiring a DM code block period is a counting value; acquiring a DM code block period count value which is expressed by cnt _ DM, and adding 1 to the DM code block period count value cnt _ DM when cnt2 is greater than thrd 2;
s2322, comparing the count value of the DM code block period with a second sending threshold;
the second transmission threshold refers to a transmission threshold of the DM code block, and is denoted by thrd _ DM;
when cnt _ DM > thrd _ DM, indicating that a DM code block is found, controlling to send the DM code block and then clearing the cnt _ DM;
when cnt _ dm < thrd _ dm, the step of finding CV code blocks in step S233 is performed.
S233, finding a CV code block;
s2331, acquiring a CV code block period is a count value; acquiring a CV code block period count value which is expressed by cnt _ CV, and adding 1 to the CV code block period count value cnt _ CV when cnt2 is greater than thrd 2;
s2332, comparing the count value of the CV code block period with a second transmission threshold;
the second transmission threshold refers to a transmission threshold of the CV code block and is represented by thrd _ CV;
when cnt _ CV > thrd _ CV, the CV code block is found, and then the CV code block is controlled to be sent and then cleared;
when cnt _ cv < thrd _ cv, the step of finding a CS code block in step S234 is performed.
S234, finding a CS code block;
s2341, acquiring a count value of a CS code block period; the CS code block period count value is obtained and is represented by cnt _ CS, and when cnt2 is larger than thrd2, the CS code block period count value cnt _ CS is added with 1;
s2342, comparing the count value of the CS code block period with a second transmission threshold value;
the second transmission threshold refers to a transmission threshold of the CS code block, and is denoted by thrd _ CS;
when cnt _ CS > thrd _ CS, the CS code block is found, the CS code block is controlled to be sent, and then cnt _ CS is cleared;
and when cnt _ cs < thrd _ cs, returning to the step 1.
It should be noted that, in the embodiment of the present application, there is no chronological relationship among step S231, step S232, step S233, and step S234, and step S231, step S232, step S233, and step S234 may be sequentially executed; step S232, step S233, step S231, and step S234 may be performed in this order. As long as the function of finding different types of code blocks is achieved. It should be understood that the above description is only exemplary, and the embodiments of the present application do not limit the present invention.
The embodiment of the device is as follows:
the OAM message sending device comprises a first timing unit, a second timing unit, a counting unit and a control unit.
The first timing unit is configured to generate a signal of an OAM message sending period reference through the control of the first timer, and perform time processing on signals of different stages of the first type of OAM message;
the second timing unit is configured to perform time processing on signals of different stages of the second type of OAM message through a second timer;
a counting unit configured to count signals of different stages of the first type and the second type of OAM message by a counter;
and the control unit is configured to control the corresponding type of OAM message to be sent according to the time processing result and the counting information of the two types of OAM messages by the first timer or the second timer.
The first type is a message with a variable frame length; the second type is a message with a fixed frame length. The message with the variable frame length is a BAS code block; the messages with fixed frame length comprise APS code blocks, DM code blocks, CV code blocks and CS code blocks.
Computer medium embodiments:
embodiments of the present application further provide a computer-readable medium for storing a computer program, where the computer-readable medium may be a readable storage medium, such as a usb disk, an optical disk, a hard disk, and the like; and readable signal media such as optical, point, magnetic, electromagnetic, etc. devices. It should be understood that the above description is only exemplary, and the embodiments of the present application do not limit the present invention.
In some alternative embodiments, the computer program stored by the computer-readable medium, when executed by the processor, may implement the following:
generating an OAM message sending period reference signal through the control of a first timer, and carrying out time processing on signals of different stages of the first type OAM message; meanwhile, the counter counts signals of different stages of the first type of OAM message; performing time processing on signals of different stages of the second type of OAM message through a second timer; meanwhile, the counter counts signals of different stages of the second type OAM message; and controlling the corresponding type of OAM message to be sent according to the time processing result and the counting information of the two types of OAM messages by the first timer or the second timer. It should be understood that the above description is only exemplary, and the embodiments of the present application do not limit the present invention.
Optionally, the first type is a message with a variable frame length; the second type is a message with a fixed frame length. The message with the variable frame length is a BAS code block; the messages with fixed frame length comprise APS code blocks, DM code blocks, CV code blocks and CS code blocks.
Electronic equipment embodiment:
FIG. 5 is a schematic structural diagram of an electronic device provided in accordance with some embodiments of the present application; as shown in fig. 5, the electronic apparatus includes: one or more processors; a computer readable medium, which may be configured to store one or more programs that, when executed by the one or more processors, perform the steps of: generating an OAM message sending period reference signal through the control of a first timer, and carrying out time processing on signals of different stages of the first type OAM message; meanwhile, the counter counts signals of different stages of the first type of OAM message; performing time processing on signals of different stages of the second type of OAM message through a second timer; meanwhile, the counter counts signals of different stages of the second type OAM message; and controlling the corresponding type of OAM message to be sent according to the time processing result and the counting information of the two types of OAM messages by the first timer or the second timer. It should be understood that the above description is only exemplary, and the embodiments of the present application do not limit the present invention.
Optionally, the first type is a message with a variable frame length; the second type is a message with a fixed frame length. The message with the variable frame length is a BAS code block; the messages with fixed frame length comprise APS code blocks, DM code blocks, CV code blocks and CS code blocks.
The electronic device provided by the embodiment of the application can realize the whole process of the method for sending the OAM message at the slice channel layer, and achieve the same functions and effects, which are not described in detail herein.
FIG. 6 is a hardware architecture of an electronic device provided in accordance with some embodiments of the present application; as shown in fig. 6, the hardware structure of the electronic device may include: a processor, a communication interface, a computer readable medium, and a communication bus;
the processor, the communication interface and the computer readable medium complete mutual communication through a communication bus;
alternatively, the communication interface may be an interface of a communication module, such as an interface of a GSM module;
the processor may be specifically configured to generate a signal of an OAM message sending cycle reference through the first timer control, and perform time processing on signals of different stages of the first type of OAM message; meanwhile, the counter counts signals of different stages of the first type of OAM message; performing time processing on signals of different stages of the second type of OAM message through a second timer; meanwhile, the counter counts signals of different stages of the second type OAM message; and controlling the corresponding type of OAM message to be sent according to the time processing result and the counting information of the two types of OAM messages by the first timer or the second timer. It should be understood that the above description is only exemplary, and the embodiments of the present application do not limit the present invention.
The Processor may be a general-purpose Processor, including a Central Processing Unit (CPU), a Network Processor (NP), and the like, and may also be a Digital Signal Processor (DSP), an Application Specific Integrated Circuit (ASIC), an off-the-shelf programmable gate array (FPG a) or other programmable logic device, a discrete gate or transistor logic device, or a discrete hardware component. The various methods, steps, and logic blocks disclosed in the embodiments of the present application may be implemented or performed. A general purpose processor may be a microprocessor or the processor may be any conventional processor or the like.
The electronic device of the embodiments of the present application exists in various forms, including but not limited to:
(1) a mobile communication device: such devices are characterized by mobile communications capabilities and are primarily targeted at providing voice, data communications. Such terminals include: smart phones (e.g., IPhone), multimedia phones, functional phones, and low-end phones, etc.
(2) Ultra mobile personal computer device: the equipment belongs to the category of personal computers, has calculation and processing functions and generally has the characteristic of mobile internet access. Such terminals include: PDA, MID, and UM PC devices, etc., such as Ipad.
(3) A portable entertainment device: such devices can display and play multimedia content. This type of device comprises: audio and video players (e.g., iPod), handheld game players, electronic books, and smart toys and portable car navigation devices.
(4) A server: the device for providing the computing service comprises a processor, a hard disk, a memory, a system bus and the like, and the server is similar to a general computer architecture, but has higher requirements on processing capacity, stability, reliability, safety, expandability, manageability and the like because of the need of providing high-reliability service.
(5) And other electronic devices with data interaction functions.
For convenience of description, the above devices are described as being divided into various modules by functions, and are described separately. Of course, the functionality of the modules may be implemented in the same one or more software and/or hardware implementations in implementing one or more embodiments of the present description.
It should also be noted that the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or apparatus. Without further limitation, an element defined by the phrase "comprising an … …" does not exclude the presence of other like elements in a process, method, article, or apparatus that comprises the element.
As will be appreciated by one skilled in the art, embodiments of one or more embodiments of the present description may be provided as a method, system, or computer program product. Accordingly, one or more embodiments of the present description may take the form of an entirely hardware embodiment, an entirely software embodiment or an embodiment combining software and hardware aspects. Furthermore, one or more embodiments of the present description may take the form of a computer program product embodied on one or more computer-usable storage media (including, but not limited to, disk storage, CD-ROM, optical storage, and the like) having computer-usable program code embodied therein.
One or more embodiments of the present description may be described in the general context of computer-executable instructions, such as program modules, being executed by a computer. Generally, program modules include routines, programs, objects, components, data structures, etc. that perform particular tasks or implement particular abstract data types. One or more embodiments of the specification may also be practiced in distributed computing environments where tasks are performed by remote processing devices that are linked through a communications network. In a distributed computing environment, program modules may be located in both local and remote computer storage media including memory storage devices.
It will be evident to those skilled in the art that the invention is not limited to the details of the foregoing illustrative embodiments, and that the present invention may be embodied in other specific forms without departing from the spirit or essential attributes thereof. The present embodiments are therefore to be considered in all respects as illustrative and not restrictive, the scope of the invention being indicated by the appended claims rather than by the foregoing description, and all changes which come within the meaning and range of equivalency of the claims are therefore intended to be embraced therein. Any reference sign in a claim should not be construed as limiting the claim concerned.
Furthermore, it should be understood that although the present description refers to embodiments, not every embodiment may contain only a single embodiment, and such description is for clarity only, and those skilled in the art should integrate the description, and the embodiments may be combined as appropriate to form other embodiments understood by those skilled in the art.

Claims (12)

1. A method for OAM message transmission, the method comprising:
step 1, generating an OAM message sending period reference signal through the control of a first timer, and carrying out time processing on signals of different stages of a first type of OAM message; meanwhile, the counter counts signals of different stages of the first type of OAM message;
step 2, performing time processing on signals of different stages of the second type OAM message through a second timer; meanwhile, the counter counts signals of different stages of the second type OAM message;
and 3, controlling the corresponding type of OAM message to be sent according to the time processing result and the counting information of the two types of OAM messages by the first timer or the second timer.
2. The method of OAM messaging as recited in claim 1, wherein said first type is a packet rate packet calculated at code block number intervals; the second type is a packet with a packet sending rate calculated by time.
3. The method of OAM messaging of claim 2, wherein the first type of message is a BAS code block; the second type of packet includes an APS code block, a DM code block, a CV code block, and a CS code block.
4. The OAM messaging method according to claim 3, wherein in step 1,
the first timer carries out time processing on signals of different stages of the first type OAM message, controls the first timer to generate a BAS code block sending period reference signal and outputs a BAS code block period;
the counter counts signals of different stages of the first type OAM message, namely, the counter counts signals which generate BAS code block sending period reference signals and reach BAS code block period signals.
5. The method of OAM message transmission as recited in claim 4, wherein the process of processing the time processing result and the count information of the BAS message includes the steps of:
s1, comparing and judging the count value cnt1 of the BAS code block transmission period reference signal generated in the counter and the count value thrd1 reaching the BAS code block period signal;
when cnt1 is greater than thrd1, it is judged that valid signal is generated, and cnt1 is clear 0; then, S2 is executed;
s2, counting the BAS code block period according to the signal generating the packet sending period and the information reaching the BAS code block period signal, and comparing the count value cnt _ BAS of the BAS code block period with a set threshold thrd _ BAS;
when cnt _ BAS > thrd _ BAS, a BAS code block is transmitted.
6. The OAM message transmission method of claim 3, wherein the signal of APS/DM/CV/CS code block transmission period reference and the packet transmission period are generated by a second timer; the counters count the generation of APS/DM/CV/CS code block transmission period reference signal and the generation of packet transmission period signal, respectively.
7. The method of OAM message transmission as recited in claim 6, wherein time processing results and count information of the second type OAM message are processed to find an APS code block, a DM code block, a CV code block, and a CS code block, and then control transmission of the corresponding code blocks.
8. An OAM message sending device is characterized by comprising
The first timing unit is configured to generate a signal of an OAM message sending period reference through the control of the first timer, and perform time processing on signals of different stages of the first type of OAM message;
the second timing unit is configured to perform time processing on signals of different stages of the second type of OAM message through a second timer;
a counting unit configured to count signals of different stages of the first type and the second type of OAM message by a counter;
and the control unit is configured to control the corresponding type of OAM message to be sent according to the time processing result and the counting information of the two types of OAM messages by the first timer or the second timer.
9. The OAM messaging device of claim 8, wherein the first type is a packet rate code block number interval computed message; the second type is a packet with a packet sending rate calculated by time.
10. The OAM messaging apparatus of claim 9, wherein the first type of message is a BAS code block; the second type of packet includes an APS code block, a DM code block, a CV code block, and a CS code block.
11. A computer medium having stored thereon a computer program, characterized in that the program is a method of OAM messaging as claimed in any of claims 1 to 7.
12. An electronic device comprising a memory, a processor, and a program stored in the memory and executable on the processor, wherein the processor implements the method of OAM messaging as recited in any of claims 1-7 when executing the program.
CN202010979268.XA 2020-09-17 2020-09-17 OAM message sending method, device, computer medium and electronic equipment Active CN112134639B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202010979268.XA CN112134639B (en) 2020-09-17 2020-09-17 OAM message sending method, device, computer medium and electronic equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202010979268.XA CN112134639B (en) 2020-09-17 2020-09-17 OAM message sending method, device, computer medium and electronic equipment

Publications (2)

Publication Number Publication Date
CN112134639A true CN112134639A (en) 2020-12-25
CN112134639B CN112134639B (en) 2022-08-12

Family

ID=73846405

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202010979268.XA Active CN112134639B (en) 2020-09-17 2020-09-17 OAM message sending method, device, computer medium and electronic equipment

Country Status (1)

Country Link
CN (1) CN112134639B (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN115314179A (en) * 2022-08-05 2022-11-08 烽火通信科技股份有限公司 MTNP OAM message sending method and device

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104394025A (en) * 2014-12-19 2015-03-04 成都朗锐芯科技发展有限公司 OAM (Operation, Administration and Maintenance) message sending method
CN104468228A (en) * 2014-12-19 2015-03-25 成都朗锐芯科技发展有限公司 OAM message transmission system
CN108521343A (en) * 2018-03-26 2018-09-11 烽火通信科技股份有限公司 A kind of processing method and processing device of OAM message
WO2020133897A1 (en) * 2018-12-26 2020-07-02 盛科网络(苏州)有限公司 Operations, administration and management information processing method and device

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104394025A (en) * 2014-12-19 2015-03-04 成都朗锐芯科技发展有限公司 OAM (Operation, Administration and Maintenance) message sending method
CN104468228A (en) * 2014-12-19 2015-03-25 成都朗锐芯科技发展有限公司 OAM message transmission system
CN108521343A (en) * 2018-03-26 2018-09-11 烽火通信科技股份有限公司 A kind of processing method and processing device of OAM message
WO2020133897A1 (en) * 2018-12-26 2020-07-02 盛科网络(苏州)有限公司 Operations, administration and management information processing method and device

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
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

Also Published As

Publication number Publication date
CN112134639B (en) 2022-08-12

Similar Documents

Publication Publication Date Title
US20200252295A1 (en) Self-adjusting data processing system
CN105308916B (en) Method and apparatus in multimedia delivery network for controlling media transmitting
US8767727B2 (en) System, apparatus, and method for modifying captured data packets
CN102804714B (en) Controlling packet transmission
US10135711B2 (en) Technologies for sideband performance tracing of network traffic
CN104394421A (en) Video frame processing method and device
EP2668750B1 (en) Methods and apparatuses for facilitating determination of a state of a receiver buffer
CN109379386A (en) A kind of method for message transmission, device, equipment and medium
CN112134639B (en) OAM message sending method, device, computer medium and electronic equipment
CN108702370A (en) Multithread for network technology interweaves
CN105357590A (en) Method and device for achieving terminal multimedia broadcast
CN108513149A (en) A kind of live streaming delay testing method and its device
CN108092914B (en) Network traffic load balancing scheduling method and device
CN112583509A (en) Method and device for acquiring time stamp of data stream, storage medium and electronic device
CN110505157B (en) Classification scheduling method and device adaptive to time-triggered network
WO2017173915A1 (en) Message processing method, device, and system, and computer storage medium
CN112787873B (en) IOAM time delay measurement performance sequencing method and system
CN104883625A (en) Information display method, terminal device, server, and system
Andreozzi et al. Ns2Voip++, an enhanced module for VoIP simulations
US20170337316A1 (en) Data processing system
CN108429634A (en) A kind of network collocating method, device, electronic equipment and system
CN106972904B (en) A kind of method and system that clock is synchronous
CN115208808A (en) Service quality testing method and device, chip equipment and storage medium
EP3223478A1 (en) Packet processing method and device, and storage medium
CN102800311B (en) A kind of speech detection method and system

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
CB02 Change of applicant information

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

Applicant after: Suzhou Shengke Communication Co.,Ltd.

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

Applicant before: CENTEC NETWORKS (SUZHOU) Co.,Ltd.

CB02 Change of applicant information
GR01 Patent grant
GR01 Patent grant