CN114051023B - Method, device, equipment and readable storage medium for processing frame overhead of optical service unit - Google Patents

Method, device, equipment and readable storage medium for processing frame overhead of optical service unit Download PDF

Info

Publication number
CN114051023B
CN114051023B CN202111334869.6A CN202111334869A CN114051023B CN 114051023 B CN114051023 B CN 114051023B CN 202111334869 A CN202111334869 A CN 202111334869A CN 114051023 B CN114051023 B CN 114051023B
Authority
CN
China
Prior art keywords
service unit
optical service
unit frame
overheads
buffer area
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN202111334869.6A
Other languages
Chinese (zh)
Other versions
CN114051023A (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.)
Fiberhome Telecommunication Technologies Co Ltd
Original Assignee
Fiberhome Telecommunication Technologies 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 Fiberhome Telecommunication Technologies Co Ltd filed Critical Fiberhome Telecommunication Technologies Co Ltd
Priority to CN202111334869.6A priority Critical patent/CN114051023B/en
Publication of CN114051023A publication Critical patent/CN114051023A/en
Application granted granted Critical
Publication of CN114051023B publication Critical patent/CN114051023B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/01Protocols
    • H04L67/06Protocols specially adapted for file transfer, e.g. file transfer protocol [FTP]
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L2212/00Encapsulation of packets

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, equipment and a readable storage medium for processing frame overhead of an optical service unit. The method comprises the following steps: analyzing the optical service unit frames from each channel to obtain the cost of the optical service unit frames, and storing the cost of the optical service unit frames into a buffer area; and taking out a plurality of optical service unit frame overheads from the buffer area, and packaging the plurality of optical service unit frame overheads into an Ethernet message. The invention encapsulates the plurality of optical service unit frame overheads into the Ethernet message, thereby realizing the fusion transmission of the optical service unit frame overheads of a plurality of channels, improving the transmission efficiency and reducing the bandwidth consumption, the hardware cost and the power consumption.

Description

Method, device, equipment and readable storage medium for processing frame overhead of optical service unit
Technical Field
The present invention relates to the field of optical communications technologies, and in particular, to a method, an apparatus, a device, and a readable storage medium for processing frame overhead of an optical service unit.
Background
As the demand for government and enterprise private line services grows, sub1G solution OSU (Optical Service Unit ) technology has grown.
Based on the protocol characteristics of the OSU technology, as the granularity is thinned from g.709 to 1.25Gbit/s (minimum granularity ODU 0), the number of service channels that can be carried in the same cross capacity device is greatly increased, and if overhead data of different service channels are respectively transmitted in a conventional manner, a large amount of bandwidth resources are occupied.
Disclosure of Invention
The invention mainly aims to provide a method, a device, equipment and a readable storage medium for processing frame overhead of an optical service unit, which aim to solve the technical problem that a large amount of bandwidth resources are occupied when overhead data are transmitted in the prior art.
In a first aspect, the present invention provides a method for processing frame overhead of an optical service unit, where the method for processing frame overhead of an optical service unit includes:
analyzing the optical service unit frames from each channel to obtain the cost of the optical service unit frames, and storing the cost of the optical service unit frames into a buffer area;
and taking out a plurality of optical service unit frame overheads from the buffer area, and packaging the plurality of optical service unit frame overheads into an Ethernet message.
Optionally, before the step of parsing the frames of the optical service units from each channel, the method further includes:
setting M as a positive integer greater than 1;
the step of taking out the frame overhead of the plurality of optical service units from the buffer zone comprises the following steps:
when the number N of the optical service unit frames in the buffer area is greater than or equal to M, taking out M optical service unit frame spending stored in the buffer area from the buffer area;
and when the number N of the optical service unit frames in the buffer area is smaller than M, extracting the overhead of the N optical service unit frames from the buffer area.
Optionally, when the M optical service unit frame overheads stored in the buffer area first are taken out from the buffer area, the ethernet packet includes:
ethernet redundancy, reserved field, payload of M optical service unit frame overheads, channel number of channel to which M optical service unit frame overheads belong, alarm identification of channel to which M optical service unit frame overheads belong;
when the frame overheads of the N optical service units are taken out from the buffer area, the Ethernet message comprises:
the method comprises the steps of Ethernet redundancy, reserved fields, payloads of N optical service unit frame overheads, channel numbers of channels to which the N optical service unit frame overheads belong, alarm identifications of the channels to which the N optical service unit frame overheads belong and preset characters of S-x (M-N) length, wherein the byte length of S=1 payload+the byte length of 1 channel number+the byte length of 1 alarm identification.
Optionally, the step of extracting a plurality of optical service unit frame overheads from the buffer area includes:
acquiring the number N of optical service unit frames in a buffer area;
and extracting N optical service unit frame overheads from the buffer area.
Optionally, the ethernet packet includes:
ethernet redundancy, reserved bytes, the payload of N optical service unit frame overheads, the channel number of the channel to which the N optical service unit frame overheads belong, and the alarm identifier of the channel to which the N optical service unit frame overheads belong.
In a second aspect, the present invention further provides an optical service unit frame overhead processing apparatus, where the optical service unit frame overhead processing apparatus includes:
the analysis module is used for analyzing the optical service unit frames from each channel to obtain the optical service unit frame overhead, and storing the optical service unit frame overhead into a buffer;
and the encapsulation module is used for taking out a plurality of optical service unit frame overheads from the buffer area and encapsulating the plurality of optical service unit frame overheads into an Ethernet message.
Optionally, the optical service unit frame overhead processing device includes a setting module, configured to:
setting M as a positive integer greater than 1;
the packaging module is used for:
when the number N of the optical service unit frames in the buffer area is greater than or equal to M, taking out M optical service unit frame spending stored in the buffer area from the buffer area;
and when the number N of the optical service unit frames in the buffer area is smaller than M, extracting the overhead of the N optical service unit frames from the buffer area.
Optionally, the packaging module is configured to:
acquiring the number N of optical service unit frames in a buffer area;
and extracting N optical service unit frame overheads from the buffer area.
In a third aspect, the present invention also provides an optical service unit frame overhead processing apparatus, where the optical service unit frame overhead processing apparatus includes a processor, a memory, and an optical service unit frame overhead processing program stored on the memory and executable by the processor, where the optical service unit frame overhead processing program, when executed by the processor, implements the steps of the optical service unit frame overhead processing method as described above.
In a fourth aspect, the present invention further provides a readable storage medium having stored thereon an optical service unit frame overhead processing program, wherein the optical service unit frame overhead processing program, when executed by a processor, implements the steps of the optical service unit frame overhead processing method as described above.
In the invention, the optical service unit frame from each channel is analyzed to obtain the optical service unit frame cost, and the optical service unit frame cost is stored in a buffer area; and taking out a plurality of optical service unit frame overheads from the buffer area, and packaging the plurality of optical service unit frame overheads into an Ethernet message. The invention encapsulates the plurality of optical service unit frame overheads into the Ethernet message, thereby realizing the fusion transmission of the optical service unit frame overheads of a plurality of channels, improving the transmission efficiency and reducing the bandwidth consumption, the hardware cost and the power consumption.
Drawings
Fig. 1 is a schematic hardware structure of an optical service unit frame overhead processing device according to an embodiment of the present invention;
fig. 2 is a flow chart of an embodiment of a method for processing frame overhead of an optical service unit according to the present invention;
fig. 3 is a schematic diagram of a scenario of an embodiment of an optical service unit frame overhead processing method according to the present invention;
fig. 4 is a schematic diagram of an ethernet message format in an embodiment of a method for processing frame overhead of an optical service unit according to the present invention;
fig. 5 is a schematic functional block diagram of an embodiment of an optical service unit frame overhead processing apparatus according to the present invention.
The achievement of the objects, functional features and advantages of the present invention will be further described with reference to the accompanying drawings, in conjunction with the embodiments.
Detailed Description
It should be understood that the specific embodiments described herein are for purposes of illustration only and are not intended to limit the scope of the invention.
In a first aspect, an embodiment of the present invention provides an optical service unit frame overhead processing device.
Referring to fig. 1, fig. 1 is a schematic hardware structure of an optical service unit frame overhead processing device according to an embodiment of the present invention. In an embodiment of the present invention, the optical service unit frame overhead processing device may include a processor 1001 (e.g., a central processing unit Central Processing Unit, CPU), a communication bus 1002, a user interface 1003, a network interface 1004, and a memory 1005. Wherein the communication bus 1002 is used to enable connected communications between these components; the user interface 1003 may include a Display screen (Display), an input unit such as a Keyboard (Keyboard); the network interface 1004 may optionally include a standard wired interface, a WIreless interface (e.g., WIreless-FIdelity, WI-FI interface); the memory 1005 may be a high-speed random access memory (random access memory, RAM) or a stable memory (non-volatile memory), such as a disk memory, and the memory 1005 may alternatively be a storage device independent of the processor 1001. Those skilled in the art will appreciate that the hardware configuration shown in fig. 1 is not limiting of the invention and may include more or fewer components than shown, or may combine certain components, or a different arrangement of components.
With continued reference to fig. 1, an operating system, a network communication module, a user interface module, and an optical service unit frame overhead processing program may be included in the memory 1005 of fig. 1, which is a type of computer storage medium. The processor 1001 may invoke an optical service unit frame overhead processing program stored in the memory 1005, and execute the optical service unit frame overhead processing method provided by the embodiment of the present invention.
In a second aspect, an embodiment of the present invention provides a method for processing frame overhead of an optical service unit.
In an embodiment, referring to fig. 2, fig. 2 is a flow chart illustrating an embodiment of an optical service unit frame overhead processing method according to the present invention. As shown in fig. 2, the optical service unit frame overhead processing method includes:
step S10, analyzing the optical service unit frames from each channel to obtain the cost of the optical service unit frames, and storing the cost of the optical service unit frames into a buffer area;
in this embodiment, the optical service unit frame overhead corresponding to each optical service unit frame can be obtained by analyzing the optical service unit frames from each channel, and the optical service unit frame overhead obtained by analyzing is stored in the buffer area, that is, the optical service unit frame overheads from multiple channels can be buffered in the buffer area.
And step S20, a plurality of optical service unit frame overheads are taken out from the buffer area, and the plurality of optical service unit frame overheads are packaged into an Ethernet message.
In this embodiment, a plurality of optical service unit frame overheads are taken out from the buffer, where all the optical service unit frame overheads in the current buffer may be taken out, or M (M is a fixed value) optical service unit frame overheads stored in the buffer first may be taken out from the buffer, and then the taken out plurality of optical service unit frame overheads are encapsulated into an ethernet packet and sent out through SerDes.
Further, in an embodiment, referring to fig. 3, fig. 3 is a schematic diagram of a scenario of an embodiment of an optical service unit frame overhead processing method according to the present invention. As shown in fig. 3, the method for processing the frame overhead of the optical service unit of the present invention mainly includes: frame analysis, data caching and Ethernet message encapsulation, and specifically:
and carrying out frame analysis on the optical service unit frame to extract OSUOH (OSU frame overhead), caching the extracted OSU frame overhead, then taking out a plurality of OSU frame overheads from the cached OSU frame overheads to carry out message encapsulation, and sending the encapsulated Ethernet message to the SerDes. Here, the optical service unit frame refers to an optical service unit frame from a plurality of channels.
Further, in an embodiment, before step S10, the method further includes:
setting M as a positive integer greater than 1;
on this basis, the step of taking out the frame overhead of a plurality of optical service units from the buffer zone comprises the following steps:
when the number N of the optical service unit frames in the buffer area is greater than or equal to M, taking out M optical service unit frame spending stored in the buffer area from the buffer area;
and when the number N of the optical service unit frames in the buffer area is smaller than M, extracting the overhead of the N optical service unit frames from the buffer area.
In this embodiment, the number M of the encapsulated optical service unit frames is preset, and after the parameter is set, if the number N of the optical service unit frames in the buffer area is greater than or equal to M, the M optical service unit frame overheads stored first are taken out from the buffer area, so that the taken M optical service unit frame overheads are encapsulated into an ethernet packet; correspondingly, if the number N of the optical service unit frames in the buffer area is smaller than M, the N optical service unit frame overheads are taken out of the buffer area, and the taken N optical service unit frame overheads are packaged into an Ethernet message. The value of M is set according to actual needs. It is easy to understand that the larger the value of M, the higher the transmission efficiency, but the larger the transmission delay, so the value of M needs to comprehensively consider the transmission efficiency and the transmission delay.
Further, in an embodiment, when the M optical service unit frame overheads stored in the buffer area first are fetched from the buffer area, the ethernet packet includes:
ethernet redundancy, reserved field, payload of M optical service unit frame overheads, channel number of channel to which M optical service unit frame overheads belong, alarm identification of channel to which M optical service unit frame overheads belong;
in this embodiment, when the number of the encapsulated optical service unit frames is a fixed value M, and the M optical service unit frame overheads stored first are taken out from the buffer area, the ethernet packet obtained by encapsulating the M optical service unit frame overheads includes: ethernet redundancy, reserved field, payload of M optical service unit frame overheads, channel number of channel to which M optical service unit frame overheads belong, and alarm identifier of channel to which M optical service unit frame overheads belong.
Referring to fig. 4, fig. 4 is a schematic diagram of an ethernet packet format in an embodiment of an optical service unit frame overhead processing method according to the present invention. As shown in fig. 4, the ethernet redundancy includes: preamble, DA, SA, LEN, FCS and IPG, wherein Preamble, DA, SA and LEN are used as ethernet message header, FCS and IPG are used as ethernet message tail, and total 38 bytes; RES as a reserved field for 3 bytes in total; OSUOH is the payload of the optical service unit frame overhead, and OHEADER contains the channel number of the channel to which the optical service unit frame overhead belongs and the alarm identifier of the channel to which the optical service unit frame overhead belongs; "B" in FIG. 4 refers to bytes.
When the frame overheads of the N optical service units are taken out from the buffer area, the Ethernet message comprises:
the method comprises the steps of Ethernet redundancy, reserved fields, payloads of N optical service unit frame overheads, channel numbers of channels to which the N optical service unit frame overheads belong, alarm identifications of the channels to which the N optical service unit frame overheads belong and preset characters of S-x (M-N) length, wherein the byte length of S=1 payload+the byte length of 1 channel number+the byte length of 1 alarm identification.
In this embodiment, when the number of the encapsulated optical service unit frames is a fixed value M, and N optical service unit frame overheads are taken out from the buffer, where N is smaller than M, the ethernet packet obtained by encapsulating the N optical service unit frame overheads includes: the method comprises the steps of Ethernet redundancy, reserved fields, payloads of N optical service unit frame overheads, channel numbers of channels to which the N optical service unit frame overheads belong, alarm identifications of the channels to which the N optical service unit frame overheads belong and preset characters of S-x (M-N) length, wherein the byte length of S=1 payload+the byte length of 1 channel number+the byte length of 1 alarm identification.
For example, when the value of M is 8 and the overhead of 6 optical service unit frames is taken out from the buffer, the characters in OHHeader and OSUOH under #1 to #6 in fig. 4 are filled based on the overhead of 6 optical service unit frames, the characters in OHHeader and OSUOH under #7 and #8 are all preset characters, and the preset characters are selected according to actual needs, for example, "0" or "1", which is only a schematic illustration of the preset characters.
Further, in an embodiment, the step of extracting a number of frame overheads of the optical service unit from the buffer area includes:
acquiring the number N of optical service unit frames in a buffer area; and extracting N optical service unit frame overheads from the buffer area.
In this embodiment, before encapsulation, the number N of optical service unit frames in the buffer is obtained, and then the N optical service unit frame overheads are taken out from the buffer, so that the taken N optical service unit frame overheads are encapsulated into an ethernet packet. That is, in this embodiment, the number of encapsulated optical service unit frames is equal to the number of buffered optical service unit frames in the buffer.
Specifically, the number of the optical service unit frames in the buffer area can be monitored through the scheduler, when the number of the optical service unit frames in the buffer area is monitored to be greater than 1, the number N of the optical service unit frames in the buffer area is reported to the message packaging module when the link is idle, and subsequently, the message packaging module can take out N optical service unit frame overheads from the buffer area and then generate an Ethernet message based on the N optical service unit frame overheads.
Further, in an embodiment, the ethernet packet includes:
ethernet redundancy, reserved bytes, the payload of N optical service unit frame overheads, the channel number of the channel to which the N optical service unit frame overheads belong, and the alarm identifier of the channel to which the N optical service unit frame overheads belong.
In this embodiment, when all buffered frame overheads of the optical service unit are taken out from the buffer area, the ethernet packet obtained by encapsulation includes: ethernet redundancy, reserved bytes, the payload of N optical service unit frame overheads, the channel number of the channel to which the N optical service unit frame overheads belong, and the alarm identifier of the channel to which the N optical service unit frame overheads belong.
In this embodiment, an optical service unit frame from each channel is parsed to obtain an optical service unit frame overhead, and the optical service unit frame overhead is stored in a buffer area; and taking out a plurality of optical service unit frame overheads from the buffer area, and packaging the plurality of optical service unit frame overheads into an Ethernet message. According to the embodiment, the plurality of optical service unit frame overheads are packaged into the Ethernet message, so that the optical service unit frame overheads of a plurality of channels are fused and transmitted, the transmission efficiency is improved, and the bandwidth consumption, the hardware cost and the power consumption are reduced.
In a third aspect, the embodiment of the invention further provides an optical service unit frame overhead processing device.
In an embodiment, referring to fig. 5, fig. 5 is a schematic functional block diagram of an optical service unit frame overhead processing apparatus according to an embodiment of the invention. As shown in fig. 5, the optical service unit frame overhead processing apparatus includes:
the analyzing module 10 is configured to analyze the optical service unit frames from each channel to obtain an optical service unit frame overhead, and store the optical service unit frame overhead into a buffer;
and the encapsulation module 20 is configured to take out a plurality of optical service unit frame overheads from the buffer area, and encapsulate the plurality of optical service unit frame overheads into an ethernet packet.
Further, in an embodiment, the optical service unit frame overhead processing apparatus includes a setting module, configured to:
setting M as a positive integer greater than 1;
the packaging module 20 is configured to:
when the number N of the optical service unit frames in the buffer area is greater than or equal to M, taking out M optical service unit frame spending stored in the buffer area from the buffer area;
and when the number N of the optical service unit frames in the buffer area is smaller than M, extracting the overhead of the N optical service unit frames from the buffer area.
Further, in an embodiment, when the M optical service unit frame overheads stored in the buffer area first are fetched from the buffer area, the ethernet packet includes:
ethernet redundancy, reserved field, payload of M optical service unit frame overheads, channel number of channel to which M optical service unit frame overheads belong, alarm identification of channel to which M optical service unit frame overheads belong;
when the frame overheads of the N optical service units are taken out from the buffer area, the Ethernet message comprises:
the method comprises the steps of Ethernet redundancy, reserved fields, payloads of N optical service unit frame overheads, channel numbers of channels to which the N optical service unit frame overheads belong, alarm identifications of the channels to which the N optical service unit frame overheads belong and preset characters of S-x (M-N) length, wherein the byte length of S=1 payload+the byte length of 1 channel number+the byte length of 1 alarm identification.
Further, in an embodiment, the packaging module 20 is configured to:
acquiring the number N of optical service unit frames in a buffer area;
and extracting N optical service unit frame overheads from the buffer area.
Further, in an embodiment, the ethernet packet includes:
ethernet redundancy, reserved bytes, the payload of N optical service unit frame overheads, the channel number of the channel to which the N optical service unit frame overheads belong, and the alarm identifier of the channel to which the N optical service unit frame overheads belong.
The function implementation of each module in the optical service unit frame overhead processing device corresponds to each step in the optical service unit frame overhead processing method embodiment, and the function and implementation process thereof are not described in detail herein.
In a fourth aspect, embodiments of the present invention also provide a readable storage medium.
The invention stores the light business unit frame spending process program on the readable storage medium, wherein the light business unit frame spending process program is executed by the processor to realize the steps of the light business unit frame spending process method.
The method implemented when the optical service unit frame overhead processing procedure is executed may refer to various embodiments of the optical service unit frame overhead processing method of the present invention, which are not described herein again.
It should be noted that, in this document, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or system 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 system. Without further limitation, an element defined by the phrase "comprising one … …" does not exclude the presence of other like elements in a process, method, article, or system that comprises the element.
The foregoing embodiment numbers of the present invention are merely for the purpose of description, and do not represent the advantages or disadvantages of the embodiments.
From the above description of the embodiments, it will be clear to those skilled in the art that the above-described embodiment method may be implemented by means of software plus a necessary general hardware platform, but of course may also be implemented by means of hardware, but in many cases the former is a preferred embodiment. Based on such understanding, the technical solution of the present invention may be embodied essentially or in a part contributing to the prior art in the form of a software product stored in a storage medium (e.g. ROM/RAM, magnetic disk, optical disk) as described above, comprising several instructions for causing a terminal device to perform the method according to the embodiments of the present invention.
The foregoing description is only of the preferred embodiments of the present invention, and is not intended to limit the scope of the invention, but rather is intended to cover any equivalents of the structures or equivalent processes disclosed herein or in the alternative, which may be employed directly or indirectly in other related arts.

Claims (8)

1. The method for processing the frame overhead of the optical service unit is characterized by comprising the following steps of:
analyzing the optical service unit frames from each channel to obtain the cost of the optical service unit frames, and storing the cost of the optical service unit frames into a buffer area;
taking out a plurality of optical service unit frame overheads from the buffer area, and encapsulating the plurality of optical service unit frame overheads into an Ethernet message;
before the step of parsing the frames of the optical service units from each channel, the method further comprises:
setting M as a positive integer greater than 1;
the step of taking out the frame overhead of the plurality of optical service units from the buffer zone comprises the following steps:
when the number N of the optical service unit frames in the buffer area is greater than or equal to M, taking out M optical service unit frame spending stored in the buffer area from the buffer area;
when the number N of the optical service unit frames in the buffer area is smaller than M, the cost of the N optical service unit frames is taken out from the buffer area;
when the frame overheads of the N optical service units are taken out from the buffer area, the Ethernet message comprises:
the method comprises the steps of Ethernet redundancy, reserved fields, payloads of N optical service unit frame overheads, channel numbers of channels to which the N optical service unit frame overheads belong, alarm identifications of the channels to which the N optical service unit frame overheads belong and preset characters of S-x (M-N) length, wherein the byte length of S=1 payload+the byte length of 1 channel number+the byte length of 1 alarm identification.
2. The method for processing the frame overhead of the optical service unit according to claim 1, wherein when the M frame overheads of the optical service unit stored in the buffer first are fetched from the buffer, the ethernet packet includes:
ethernet redundancy, reserved field, payload of M optical service unit frame overheads, channel number of channel to which M optical service unit frame overheads belong, and alarm identifier of channel to which M optical service unit frame overheads belong.
3. The method for processing the frame overhead of the optical service unit according to claim 1, wherein the step of retrieving the frame overhead of the optical service unit from the buffer comprises:
acquiring the number N of optical service unit frames in a buffer area;
and extracting N optical service unit frame overheads from the buffer area.
4. The method for processing frame overhead of an optical service unit according to claim 3, wherein the ethernet packet comprises:
ethernet redundancy, reserved bytes, the payload of N optical service unit frame overheads, the channel number of the channel to which the N optical service unit frame overheads belong, and the alarm identifier of the channel to which the N optical service unit frame overheads belong.
5. An optical service unit frame overhead processing apparatus, wherein the optical service unit frame overhead processing apparatus comprises:
the analysis module is used for analyzing the optical service unit frames from each channel to obtain the optical service unit frame overhead, and storing the optical service unit frame overhead into a buffer;
the encapsulation module is used for taking out a plurality of optical service unit frame overheads from the buffer area and encapsulating the plurality of optical service unit frame overheads into an Ethernet message;
the optical service unit frame overhead processing device further comprises a setting module, configured to:
setting M as a positive integer greater than 1;
the packaging module is used for:
when the number N of the optical service unit frames in the buffer area is greater than or equal to M, taking out M optical service unit frame spending stored in the buffer area from the buffer area;
when the number N of the optical service unit frames in the buffer area is smaller than M, the cost of the N optical service unit frames is taken out from the buffer area;
when the frame overheads of the N optical service units are taken out from the buffer, the ethernet packet includes:
the method comprises the steps of Ethernet redundancy, reserved fields, payloads of N optical service unit frame overheads, channel numbers of channels to which the N optical service unit frame overheads belong, alarm identifications of the channels to which the N optical service unit frame overheads belong and preset characters of S-x (M-N) length, wherein the byte length of S=1 payload+the byte length of 1 channel number+the byte length of 1 alarm identification.
6. The optical service unit frame overhead processing apparatus of claim 5, wherein the encapsulation module is configured to:
acquiring the number N of optical service unit frames in a buffer area;
and extracting N optical service unit frame overheads from the buffer area.
7. An optical service unit frame overhead processing apparatus, characterized in that the optical service unit frame overhead processing apparatus comprises a processor, a memory, and an optical service unit frame overhead processing program stored on the memory and executable by the processor, wherein the optical service unit frame overhead processing program, when executed by the processor, implements the steps of the optical service unit frame overhead processing method according to any one of claims 1 to 4.
8. A readable storage medium, wherein an optical service unit frame overhead processing program is stored on the readable storage medium, wherein the optical service unit frame overhead processing program, when executed by a processor, implements the steps of the optical service unit frame overhead processing method according to any one of claims 1 to 4.
CN202111334869.6A 2021-11-11 2021-11-11 Method, device, equipment and readable storage medium for processing frame overhead of optical service unit Active CN114051023B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202111334869.6A CN114051023B (en) 2021-11-11 2021-11-11 Method, device, equipment and readable storage medium for processing frame overhead of optical service unit

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202111334869.6A CN114051023B (en) 2021-11-11 2021-11-11 Method, device, equipment and readable storage medium for processing frame overhead of optical service unit

Publications (2)

Publication Number Publication Date
CN114051023A CN114051023A (en) 2022-02-15
CN114051023B true CN114051023B (en) 2023-05-23

Family

ID=80208524

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202111334869.6A Active CN114051023B (en) 2021-11-11 2021-11-11 Method, device, equipment and readable storage medium for processing frame overhead of optical service unit

Country Status (1)

Country Link
CN (1) CN114051023B (en)

Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1575560A (en) * 2001-08-24 2005-02-02 朗米·S·冈达 Method and apparaturs for translating sdh/sonet frames to Ethernet frames
CN101848147A (en) * 2010-04-21 2010-09-29 华为技术有限公司 Transfer method, device and system of SDH (Synchronous Digital Hierarchy)/Sonet section overhead byte
CN101998508A (en) * 2009-08-14 2011-03-30 华为技术有限公司 Data encapsulation method and device
CN102665151A (en) * 2012-04-24 2012-09-12 烽火通信科技股份有限公司 Processing method and processing device for DCC (Data Communication Channel) overhead of SDH (Synchronous Digital Hierarchy) service in packet transport network
CN102835127A (en) * 2012-06-07 2012-12-19 华为技术有限公司 Ont pay expense sending, receiving method and device
CN103532740A (en) * 2013-09-24 2014-01-22 瑞斯康达科技发展股份有限公司 Remote management implementation method, remote management implementation system, general communication channel (GCC) overhead processing method and GCC overhead processing device
CN109981209A (en) * 2017-12-28 2019-07-05 中兴通讯股份有限公司 Business sending, receiving method and device in optical transfer network
CN110661745A (en) * 2018-06-28 2020-01-07 中兴通讯股份有限公司 Overhead transmission method, device, equipment and computer readable storage medium
CN110830426A (en) * 2018-08-13 2020-02-21 中兴通讯股份有限公司 Mapping overhead transmitting/receiving method, device, OTN equipment and storage medium

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109981208B (en) * 2017-12-27 2021-02-09 华为技术有限公司 Method and device for transmitting service flow based on flexible Ethernet Flexe

Patent Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1575560A (en) * 2001-08-24 2005-02-02 朗米·S·冈达 Method and apparaturs for translating sdh/sonet frames to Ethernet frames
CN101998508A (en) * 2009-08-14 2011-03-30 华为技术有限公司 Data encapsulation method and device
CN101848147A (en) * 2010-04-21 2010-09-29 华为技术有限公司 Transfer method, device and system of SDH (Synchronous Digital Hierarchy)/Sonet section overhead byte
CN102665151A (en) * 2012-04-24 2012-09-12 烽火通信科技股份有限公司 Processing method and processing device for DCC (Data Communication Channel) overhead of SDH (Synchronous Digital Hierarchy) service in packet transport network
CN102835127A (en) * 2012-06-07 2012-12-19 华为技术有限公司 Ont pay expense sending, receiving method and device
CN103532740A (en) * 2013-09-24 2014-01-22 瑞斯康达科技发展股份有限公司 Remote management implementation method, remote management implementation system, general communication channel (GCC) overhead processing method and GCC overhead processing device
CN109981209A (en) * 2017-12-28 2019-07-05 中兴通讯股份有限公司 Business sending, receiving method and device in optical transfer network
CN110661745A (en) * 2018-06-28 2020-01-07 中兴通讯股份有限公司 Overhead transmission method, device, equipment and computer readable storage medium
CN110830426A (en) * 2018-08-13 2020-02-21 中兴通讯股份有限公司 Mapping overhead transmitting/receiving method, device, OTN equipment and storage medium

Non-Patent Citations (2)

* Cited by examiner, † Cited by third party
Title
无源光网络技术分析及在智能小区项目中的应用;潘涛;;内蒙古电力技术(06);全文 *
简述SDH帧开销的监控功能;梁娜威;;广播电视信息(06);全文 *

Also Published As

Publication number Publication date
CN114051023A (en) 2022-02-15

Similar Documents

Publication Publication Date Title
CN109391500B (en) Configuration management method, device and equipment
EP1225749B1 (en) Methods and systems for creating an Ethernet upstream and a DOCSIS downstream packet by appending/extracting packet tags for support of remote network functions/packet classification
CN107404734B (en) Data sending method, device and system
US20120140686A1 (en) Method and apparatus for sending, receiving, and transmission of data packets (as amended)
US8594098B2 (en) Method, apparatus and system for transmitting data
US8774155B2 (en) Transporting call data via a packet data network
RU2767321C1 (en) Method and device for wireless communication
CN111294235A (en) Data processing method, device, gateway and readable storage medium
US11743364B2 (en) Method for interconversion between protocols
WO2009138007A1 (en) Generic routing encapsulation load bearing method, device and system
CN116366740A (en) Data transmission method, device, system, storage medium and processor
US7983297B2 (en) Method and apparatus for the efficient use of available communications network bandwidth
CN114051023B (en) Method, device, equipment and readable storage medium for processing frame overhead of optical service unit
CN113179229A (en) Verification method, verification device, storage medium and electronic equipment
CN111371736B (en) iOAM information processing method, iOAM information processing device and computer readable storage medium
US11196792B2 (en) Method, device and system for transmitting data
CN110661745B (en) Overhead transmission method, device, equipment and computer readable storage medium
CN108012289B (en) PDU (protocol data Unit) sending method and device and PDU receiving method and device
CN107835150B (en) Full-media customer service scheduling method and system
WO2017045486A1 (en) Method, apparatus and system for wireless data transmission
CN114168315A (en) Multi-core-based message processing method and device, electronic equipment and storage medium
WO2022267543A1 (en) Data frame fragmentation method, data frame parsing method and related device
CN112825499B (en) QKD system data transmission method and system based on TCP multi-link
CN105874755B (en) Data packet forwarding processing method and device
CN114816737B (en) High-performance hash operation method, device, computer equipment and storage medium

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
GR01 Patent grant
GR01 Patent grant