WO2018099053A1 - 光通道传输单元帧的传输方法、装置和计算机存储介质 - Google Patents

光通道传输单元帧的传输方法、装置和计算机存储介质 Download PDF

Info

Publication number
WO2018099053A1
WO2018099053A1 PCT/CN2017/089708 CN2017089708W WO2018099053A1 WO 2018099053 A1 WO2018099053 A1 WO 2018099053A1 CN 2017089708 W CN2017089708 W CN 2017089708W WO 2018099053 A1 WO2018099053 A1 WO 2018099053A1
Authority
WO
WIPO (PCT)
Prior art keywords
gcc
packet
gfp
channel
gfp packet
Prior art date
Application number
PCT/CN2017/089708
Other languages
English (en)
French (fr)
Inventor
曾纪瑞
Original Assignee
深圳市中兴微电子技术有限公司
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 深圳市中兴微电子技术有限公司 filed Critical 深圳市中兴微电子技术有限公司
Publication of WO2018099053A1 publication Critical patent/WO2018099053A1/zh

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04JMULTIPLEX COMMUNICATION
    • H04J3/00Time-division multiplex systems
    • H04J3/16Time-division multiplex systems in which the time allocation to individual channels within a transmission cycle is variable, e.g. to accommodate varying complexity of signals, to vary number of channels transmitted
    • H04J3/1605Fixed allocated frame structures
    • H04J3/1652Optical Transport Network [OTN]
    • H04J3/1664Optical Transport Network [OTN] carrying hybrid payloads, e.g. different types of packets or carrying frames and packets in the paylaod
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04JMULTIPLEX COMMUNICATION
    • H04J3/00Time-division multiplex systems
    • H04J3/02Details
    • H04J3/06Synchronising arrangements
    • 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/0685Clock or time synchronisation in a node; Intranode synchronisation
    • H04J3/0697Synchronisation in a packet node
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04JMULTIPLEX COMMUNICATION
    • H04J3/00Time-division multiplex systems
    • H04J3/16Time-division multiplex systems in which the time allocation to individual channels within a transmission cycle is variable, e.g. to accommodate varying complexity of signals, to vary number of channels transmitted
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L12/00Data switching networks
    • H04L12/28Data switching networks characterised by path configuration, e.g. LAN [Local Area Networks] or WAN [Wide Area Networks]
    • H04L12/46Interconnection of networks
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L12/00Data switching networks
    • H04L12/28Data switching networks characterised by path configuration, e.g. LAN [Local Area Networks] or WAN [Wide Area Networks]
    • H04L12/46Interconnection of networks
    • H04L12/4633Interconnection of networks using encapsulation techniques, e.g. tunneling
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L12/00Data switching networks
    • H04L12/28Data switching networks characterised by path configuration, e.g. LAN [Local Area Networks] or WAN [Wide Area Networks]
    • H04L12/46Interconnection of networks
    • H04L12/4641Virtual LANs, VLANs, e.g. virtual private networks [VPN]
    • H04L12/4645Details on frame tagging

Definitions

  • the present invention relates to a data transmission technology in an optical transport network (OTN), and in particular to a method, an apparatus, and a computer storage medium for transmitting an optical channel transmission unit (OTUCn).
  • OTN optical transport network
  • OTUCn optical channel transmission unit
  • OTN is a transport network that organizes networks in the optical layer based on Wavelength Division Multiplexing (WDM) technology.
  • the OTN signal is transmitted from the low-order optical channel data unit (ODU) to the high-order ODU, and finally formed into an optical channel transport unit (OTU) for transmission.
  • OFDM Wavelength Division Multiplexing
  • embodiments of the present invention are expected to provide an optical channel transmission.
  • the cell frame transmission method, device and computer storage medium can effectively transmit the B100G service.
  • a method for transmitting an optical channel transmission unit frame includes:
  • GFP Generic Framing Procedure
  • Extracting the OTUCn in the first GFP packet acquiring the general communication channel (GCC) information of the OTUC in the OTUCn, and recombining the obtained GCC information into the second GFP packet;
  • GCC general communication channel
  • MAC Media Access Control Sublayer Protocol
  • the recombining the acquired GCC information into a second GFP packet includes:
  • the method before the recombining the acquired GCC information into the second GFP packet, the method further includes:
  • the method before the decapsulating the second GFP packet into a MAC packet according to the established GCC channel, the method further includes:
  • the decapsulating the second GFP packet into a MAC packet for sending comprises:
  • the second GFP that successfully verified the FCS is decapsulated into a MAC packet for transmission.
  • the descrambling the first GFP packet includes:
  • the first GFP packet in each channel is descrambled with an 8-bit bit width.
  • a method for transmitting an optical channel transmission unit frame includes:
  • the third GFP packet read out according to the configuration information of the service is sent to the OTUC participating in establishing the GCC channel in the OTUCn.
  • the method before the reading the third GFP packet buffered in the GCC channel, the method further includes:
  • the method before the reading the third GFP packet buffered in the GCC channel, the method further includes:
  • the reading the third GFP packet buffered in the GCC channel comprises:
  • the method further includes: before the sending, by the OTUC, the third GFP packet that is read according to the configuration information of the service to the OTUC that participates in establishing the GCC channel in the OTUCn, the method further includes:
  • an apparatus for transmitting an optical channel transmission unit frame comprising: an extracting unit and a distributing unit;
  • the extracting unit is configured to receive the first GFP packet and extract the first GFP packet OTUCn, acquiring GCC information of the OTUC in the OTUCn, and recombining the obtained GCC information into a second GFP packet;
  • the distribution unit is configured to establish a GCC channel, and decapsulate the second GFP packet reassembled by the extracting unit into a MAC packet according to the established GCC channel.
  • the extracting unit is configured to acquire the GCC information in the first GFP packet in a transport channel in a polling manner, and reassemble the acquired GCC information according to preset configuration information. For the second GFP packet.
  • the apparatus further includes:
  • a descrambling unit configured to descramble the first GFP packet to obtain the descrambled first GFP packet
  • the extracting unit is configured to extract the OTUCn in the descrambled first GFP packet, acquire GCC information of the OTUC in the OTUCn, and recombine the obtained GCC information into a second GFP packet.
  • the apparatus further includes: a marking unit and a synchronization unit, wherein
  • the marking unit is configured to perform channel number marking on the second GFP packet
  • the synchronization unit is configured to perform time division synchronization on the second GFP packet according to the channel number marked by the marking unit;
  • the distribution unit is configured to decapsulate the second GFP packet after the synchronization unit is successfully synchronized according to the established GCC channel into a MAC packet for transmission.
  • the distributing unit is configured to replace the source address, the destination address, or the virtual local area network identifier of the second GFP packet according to the configuration information of the channel, and perform verification on the frame check sequence FCS;
  • the second GFP decapsulation succeeded by the FCS check is sent as a MAC packet.
  • the descrambling unit is configured to descramble the first GFP packet in each channel with a bit width of eight bits.
  • a transmission apparatus for an optical channel transmission unit frame includes:
  • the first receiving unit is configured to receive the MAC packet, perform FCS check on the received MAC packet, and replace the source address, the destination address, or the virtual local area network identifier, and encapsulate the MAC packet after the FCS verification succeeds into a third GFP packet transmission;
  • a second receiving unit configured to receive a GCC insertion request sent by the OTUCn in the third GFP packet, and read a third GFP packet buffered in the GCC channel according to the GCC insertion request;
  • the distribution unit is configured to send the read third GFP packet according to the configuration information of the service to the OTUC participating in establishing the GCC channel in the OTUCn.
  • the apparatus further includes:
  • the first scrambling unit is configured to perform time division synchronization on the received MAC packet according to the marked channel number, and perform first scrambling on the third GFP packet after the synchronization succeeds to obtain the scrambled third GFP. package;
  • the second receiving unit is further configured to buffer the scrambled third GFP packet in the GCC channel; and read the cache according to the GCC insertion request sent by the OTUCn in the scrambled third GFP packet.
  • the second receiving unit is further configured to: when the third GFP packet is not all written to the GCC channel, and the buffer space of the GCCP information is full, to the third GFP.
  • the packet is subjected to interception processing, and a bracketing flag is set at the intercepting packet; according to the GCC insertion request, the third GFP packet buffered in the GCC channel is read.
  • the second receiving unit is further configured to determine, according to the service application information of the service and the configuration information of the CPU, that the OTUCn in the third GFP packet participates in establishing an OTUC of the GCC channel; A GCC insertion request issued by the OTUC of the GCC channel reads the third GFP packet buffered in the GCC channel.
  • the apparatus further includes:
  • the second scrambling unit is configured to perform time division synchronization on the read third GFP packet according to the marked channel number, and perform second scrambling on the third GFP packet after the synchronization succeeds to obtain a second scrambling The third GFP packet afterwards;
  • the distribution unit is further configured to: read the second scrambled third GFP packet according to the service application information and the configuration information of the CPU; and send the second OTUC to the OTUCn to participate in establishing the GCC channel.
  • the third GFP packet after scrambling.
  • a computer storage medium stores computer executable instructions for performing the application to the transmitting end according to the embodiment of the present invention.
  • a computer storage medium stores computer executable instructions for performing the application to the receiving end according to the embodiment of the present invention.
  • the method and device for transmitting an optical channel transmission unit frame and the computer storage medium receive the first GFP packet, extract the OTUCn in the first GFP packet, and acquire the GCC information of the OTUC in the OTUCn. Reconstructing the obtained GCC information into a second GFP; establishing a GCC channel, and decapsulating the second GFP packet into a MAC packet according to the established GCC channel for transmitting.
  • the GCC channel is established, and the OTUCn is transmitted through the established GCC channel, thereby achieving a small resource cost.
  • the effective delivery of different types of OTUCn in the B100G service is realized.
  • FIG. 1 is a schematic flowchart of a method for transmitting an optical channel transmission unit frame according to an embodiment of the present invention
  • FIG. 2 is a schematic diagram of polling when GCC is extracted in an embodiment of the present invention.
  • FIG. 3 is a schematic flowchart of another method for transmitting an optical channel transmission unit frame according to an embodiment of the present invention.
  • FIG. 4 is a schematic diagram of polling when a GCC is inserted in an embodiment of the present invention.
  • FIG. 5 is a schematic structural diagram of a transmission apparatus for an optical channel transmission unit frame according to an embodiment of the present invention.
  • FIG. 6 is a schematic structural diagram of another optical channel transmission unit frame transmission apparatus according to an embodiment of the present invention.
  • FIG. 1 is a schematic flowchart of a method for transmitting an optical channel transmission unit frame according to an embodiment of the present invention; as shown in FIG. 1, the method includes:
  • Step 101 Receive a first GFP packet.
  • Step 102 Extract the OTUCn in the first GFP packet, obtain the GCC information of the OTUC in the OTUCn, and reassemble the obtained GCC information into the second GFP packet.
  • the OTUCn is composed of a plurality of parallel OTUCs, each having its own GCC information.
  • the OTUCn is first extracted from the first GFP packet, that is, the first GFP packet is decapsulated; and the GCC in each OTUC in the OTUCn is further The information is extracted; all the extracted GCC information is reorganized into a second GFP packet.
  • the GCC information that is obtained is recombined into the second GFP packet, and the GCC information in the first GFP packet is obtained in each transport channel in a polling manner;
  • the preset configuration information recombines the obtained GCC information into the second GFP packet.
  • FIG. 2 is a schematic diagram of polling when GCC is extracted in an embodiment of the present invention
  • FIG. 2 is a method for extracting GCC information and reorganizing the proposed GCC information into a second GFP packet.
  • the GCC information in the ten communication channels is polled and extracted according to the configuration information of the CPU, wherein the ten communication channels refer to the zeroth channel.
  • polling extraction is performed in the order from the 0th to the ninth. Assuming that two OTUC5s are input in the 10-way communication channel, the GCC information in the first OTUC5 is extracted from the 0th to the 4th poll, and the second OTUC5 is extracted from the 5th to the 9th round.
  • the GCC reassembles all the extracted GCC information into the second GFP packet to form a new GCC communication channel. Since the polling speed is much faster than the GCC input speed, there is no need to worry about the data polling input by the GCC.
  • Step 103 Establish a GCC channel, and decapsulate the second GFP packet into a MAC packet according to the established GCC channel for transmission.
  • a GCC channel is established for the second GFP packet.
  • each OTUC aligned, that is, each OTUC has the same output header pulse, the same multiframe number, and the same data pulse, it is considered that the GCC information in each OTUC is simultaneously extracted, and then the extracted GCC is recombined.
  • a complete GCC communication channel is formed, or the extracted GCC is spliced into different types of GCC communication channels according to preset configuration information.
  • GCC communication channels include: GCC0, GCC1, GCC2, GCC0+GCC1, GCC0+GCC2, GCC1+GCC2, GCC0+GCC1+GCC2, and select one of the 7 types according to preset configuration information.
  • a GCC type communication channel carries the OTUCn or uses the formed complete GCC communication channel to carry the OTUCn. Then, according to the configuration information of the channel, the source address or the destination address or the virtual local area network identifier of the second GFP packet is replaced, and the FCS is verified; and the second GFP successfully verified by the FCS is decapsulated into a MAC packet. It is sent out through the interface SGMLL, and the second GFP that fails the FCS check is discarded and counted.
  • the configuration information of the channel may specifically refer to the established GCC channel type information.
  • the appropriate GCC channel type is selected, and the GFP packet obtained by processing the MAC packet is distributed to the corresponding communication channel for transmission. In this way, the information transmission of the B100G is effectively realized.
  • the method before the recombining the acquired GCC information into the second GFP packet, the method further includes:
  • Extracting the OTUCn in the descrambled first GFP packet acquiring the GCC information of the OTUC in the OTUCn, recombining the obtained GCC information into a second GFP packet, and establishing a GCC channel.
  • the first GFP packet is descrambled by the bit width of eight bits, and the GCC information of the OTUC in the descrambled first GFP packet is extracted, and the acquired GCC information is reorganized.
  • the second GFP package For the second GFP package.
  • the method before the decapsulating the second GFP packet into a MAC packet according to the established GCC channel, the method further includes:
  • the second GFP packet after the synchronization succeeds is decapsulated into a MAC packet according to the established GCC channel for transmission.
  • the random access memory (RAM) in the established GCC channel when receiving the second GFP packet, searches for the GCC channel according to the channel number marked in the second GFP packet.
  • the GCC corresponding to the channel number buffers the data, reads, and performs the descrambling operation together with the newly input data, and saves the operation result in the octet width in the RAM, and at the same time,
  • the original data in the RAM is shifted to the left by eight bits, and when the next data is input, the left shifted data is descrambled.
  • FIG. 3 is a schematic flowchart of another method for transmitting a frame of an optical channel transmission unit according to an embodiment of the present invention. As shown in FIG. 3, the method includes:
  • Step 301 Receive a MAC packet, perform FCS check on the received MAC packet, and replace the source address, the destination address, or the virtual local area network identifier, and the MAC address after the FCS check succeeds.
  • the packet is encapsulated into a third GFP packet for transmission.
  • the FCS check is performed on the received MAC packet, and the virtual local area network (WLAN) or the MAC mode may be selected according to the information configured by the CPU, and the MAC packet is used in the WLAN/MAC mode.
  • the destination address (DA, Destination Address), source address (SA, Source Addresses), or WLAN ID is replaced, and the MAC packet whose FCS check succeeds is encapsulated into a third GFP packet.
  • the channel number is generated according to the configuration information of the service, such as the application information of the service and the configuration information of the CPU, and the GCC channel combination type information in the third GFP packet, and the channel number is combined with the The three GFP packets are output together.
  • Step 302 Receive a GCC insertion request sent by the OTUCn in the third GFP packet, and read a third GFP packet buffered in the GCC channel according to the GCC insertion request.
  • the method further includes: performing time division synchronization on the received third GFP packet according to the marked channel number;
  • the third GFP packet is first scrambled to obtain the scrambled third GFP packet, and the scrambled third GFP packet is buffered in the GCC channel; according to the scrambled third GFP packet
  • the GCC insertion request sent by the OTUCn reads the first scrambled third GFP packet buffered in the GCC channel.
  • the reading the first scrambled third GFP packet in the GCC channel includes: determining, according to the service application information and the configuration information of the CPU, that the OTUCn in the third GFP packet participates in establishing the GCC channel. OTUC; reading the third GFP packet buffered in the GCC channel according to a service scheduling request sent by the OTUC participating in establishing the GCC channel, that is, a GCC insertion request.
  • the GCC information of the cached third GCC packet is read in the GCC information according to the configuration information of the internal channel, and the read GCC information and the service scheduling sent by the OTUC participating in the GCC channel are performed. Request to match, will generate successful GCC information generation Read the cache signal.
  • the OTUC responds to the GCC insertion request sent by the OTUCn once, and each OTUC in the OTUCn receives one GCC insertion request, and one frame is obtained. GCC information.
  • each OTUC obtains a GCC information of one frame per response to a GCC insertion request, and is different from the implementation method of the OTU4 in the prior art.
  • the GCC channel established in the embodiment of the present invention has multiple According to different combination types, the OTUC can selectively participate in the establishment of the GCC channel.
  • Step 303 The third GFP packet that is read is sent according to the configuration information of the service to the OTUC that participates in establishing the GCC channel in the OTUCn.
  • the specific establishment of the GCC channel is configured by the CPU.
  • the OTUCn sends a service that inserts the GCC request to match the channel number service in the OTUC
  • the matched OTUC participates in the establishment of the GCC communication channel and obtains the GCC information.
  • the read third GFP packet is inserted into the GCC information location of each OTUC according to information such as the service indication of the OTUCn, the valid indication of the GCC information, and the GCC information insertion location indication.
  • FIG. 4 is a schematic diagram of polling when GCC is inserted, as shown in FIG. 4, taking 5 communication channels as an example, assuming that OTUC5 services are in one channel, and issuing a scheduling request for OTUC5 services, when the scheduling request and the GCC channel are
  • the services of the buffered GCC packets match, it is determined that all of GCC0 and GCC1, GCC2 in one path participate in the establishment of the GCC channel, and when reading the GCC packets buffered in the GCC channel, GCC0, GCC1, GCC2 Polling 3 times, until the data buffered in the GCC channel is read empty, no longer responding to the scheduling request.
  • the method before the third GFP packet that is to be read out according to the configuration information of the service is sent to the OTUC in the OTUCn to participate in establishing the GCC channel, the method further includes:
  • the method before the reading the third GFP packet buffered in the GCC channel, the method further includes: determining that the third GFP packet is not all written to the GCC channel, and the GCCP When the buffer space of the information is full, the third GFP packet is intercepted, and a bracketing flag is set at the intercepting packet; according to the GCC insertion request, the third GFP packet buffered in the GCC channel is read. .
  • the OTUCn when the OTUCn is encapsulated into the third GFP packet, the information that the information is not all written to the GCC channel and the RAM buffer space in the GCC channel is about to be full is encountered.
  • the packet processing is performed.
  • the data of the unwritten packet is directly discarded, and the enclosing flag is set for the last written data, and then the current address of the encirclement is jumped to the address of the write core header, and the new packet length and FCS check are performed. After writing to the location of the core header, it jumps back to the current address, which is the next address written by the end of the packet.
  • the embodiment of the present invention can establish various communication channel types by using the new GCC and carry the OTUCn through the communication channel established by the new GCC with a small resource cost and on the basis of the compatible OTU4 service. send.
  • FIG. 5 is a schematic structural diagram of a transmission apparatus for an optical channel transmission unit frame according to an embodiment of the present invention. As shown in FIG. 5, the apparatus includes: an extraction unit 501 and a distribution unit 502;
  • the extracting unit 501 is configured to receive the first GFP packet, extract the OTUCn in the first GFP packet, acquire the GCC information of the OTUC in the OTUCn, and reassemble the obtained GCC information into the second GFP packet. ;
  • the distributing unit 502 is configured to establish a GCC channel, and decapsulate the second GFP packet reassembled by the extracting unit 501 into a MAC packet according to the established GCC channel.
  • the OTUCn is composed of a plurality of parallel OTUCs, each of which has an OTUC Individual GCC information.
  • the extracting unit 501 receives the first GFP packet, extracting the OTUCn from the first GFP packet, that is, decapsulating the first GFP packet; and then, the OTUCn The GCC information in each OTUC is extracted; and all the extracted GCC information is reorganized into a second GFP packet.
  • the extracting unit 501 is configured to extract the GCC information in the first GFP packet in a transport channel in a polling manner, and extract the GCC information according to preset configuration information. Reorganized into the second GFP packet.
  • FIG. 2 for the detailed polling method, please refer to FIG. 2 in the method embodiment.
  • the GCC information in each OTUC is considered to be At the same time, it is extracted, and then the extracted GCC is reorganized into a second GFP package. And triggering the distribution unit 502, the GCC communication channel is established by the distribution unit 502 to carry the second GFP packet.
  • the distribution unit 502 establishes a GCC communication channel, and may specifically establish different combinations of GCC communication channels according to preset configuration information.
  • different combinations of GCC communication channels include: GCC0, GCC1, GCC2, GCC0+GCC1, GCC0. +GCC2, GCC1+GCC2, GCC0+GCC1+GCC2, according to preset configuration information, select one of the 7 types of GCC type communication channels to carry the OTUCn, or use the formed complete GCC communication channel To carry the OTUCn. Or using the formed complete GCC communication channel to carry the OTUCn.
  • the preset configuration information may specifically refer to the established GCC communication channel combination type information. In this way, the information transmission of the B100G is effectively realized.
  • the distribution unit 502 is configured to perform the transmission of the OTUCn by using the first GFP packet by the distribution unit 502. Therefore, in the embodiment of the present invention, the distribution unit 502 is configured to perform the second GFP packet according to the configuration information of the channel.
  • the source address, the destination address, or the virtual local area network identifier is replaced, and the FCS is verified; the second GFP that successfully verified the FCS check is sent as a MAC packet sent through the interface SGMLL, and the second is not passed for the FCS check. GFP is discarded and unified meter.
  • the apparatus further includes a descrambling unit (not shown) configured to descramble the first GFP packet to obtain the descrambled first GFP packet;
  • the extracting unit 501 is configured to acquire GCC information of the OTUC in the descrambled first GFP packet, and recombine the obtained GCC information into a second GFP packet.
  • the descrambling unit is configured to descramble the first GFP packet with a bit width of eight bits, and extract, by the extracting unit 501, the first descrambled by the descrambling unit
  • the GCC information of each OTUC in the GFP packet reorganizes the obtained GCC information into a second GFP packet.
  • the device further includes a marking unit and a synchronization unit (neither of which are shown in the figure), wherein
  • the marking unit is configured to perform channel number marking on the second GFP packet
  • the synchronization unit is configured to perform time division synchronization on the second GFP packet according to the channel number marked by the marking unit;
  • the distribution unit is configured to decapsulate the second GFP packet after the synchronization unit is successfully synchronized according to the established GCC channel into a MAC packet for transmission.
  • the extracting unit 501 when the extracting unit 501 receives the second GFP packet, it searches for the GCC cache data corresponding to the channel number in the GCC channel according to the channel number marked in the received data, and The cache data is read out, and the descrambling operation is performed together with the data just input, and the operation result is stored in the extracting unit 501 in an octet width, and the original data in the extracting unit 501 is shifted to the left by eight. Bit, when the next frame of data is input, it is read and descrambled.
  • the extracting unit 501, the descrambling unit, the marking unit, and the synchronizing unit may be implemented by a CPU, a Micro Processor Unit (MPU), a Digital Signal Processor (DSP), or Field Programmable Gate Array (FPGA, Field Implementation of the Programmable Gate Array);
  • the distribution unit 502 can be implemented in a practical application by a communication module (including: a basic communication suite, an operating system, a communication module, a standardized interface, a protocol, etc.) and a transceiver antenna.
  • FIG. 6 is a schematic structural diagram of another optical channel transmission unit frame transmission apparatus according to an embodiment of the present invention. As shown in FIG. 6, the method includes: a first receiving unit 601 configured to receive a MAC packet, and receive the received The MAC packet is subjected to FCS check and replacement of the source address or the destination address or the virtual local area network identifier, and the MAC packet after the FCS check succeeds is encapsulated into a third GFP packet.
  • the second receiving unit 602 is configured to receive a GCC insertion request sent by the OTUCn in the third GFP packet, and read a third GFP packet buffered in the GCC channel according to the GCC insertion request;
  • the distribution unit 603 is configured to transmit the read third GFP packet to the OTUC participating in establishing the GCC channel in the OTUCn according to the configuration information of the service.
  • the first receiving unit 601 performs FCS check on the received MAC packet, specifically, may select a WLAN or MAC mode according to information configured by the CPU, and perform DA on the MAC packet in the WLAN/MAC mode.
  • the replacement of the SA or the WLAN ID encapsulates the MAC packet whose FCS check succeeds into a third GFP packet.
  • the first receiving unit 601 further generates a channel number according to the configuration information of the service, such as the service application information and the configuration information of the CPU, and the GCC channel combination type information in the third GFP packet, and the channel is The number is output together with the third GFP packet.
  • the second receiving unit 602 After receiving the GCC insertion request sent by the OTUCn in the third GFP packet, the second receiving unit 602 reads, according to the GCC insertion request, the second receiving unit 602 is cached in the third GFP packet. GCC package.
  • the device further includes a first scrambling unit (not shown), and the second receiving unit 602 is configured to read the GCC packet before the first scrambling unit is configured to Performing time-division synchronization on the received third GFP packet according to the marked channel number, after the synchronization succeeds
  • the third GFP packet performs first scrambling to obtain the scrambled third GFP packet, and caches the scrambled third GFP packet in the GCC channel.
  • the second receiving unit 602 is configured to read the first scrambled third GFP packet buffered in the GFP packet according to the GCC insertion request sent by the OTUCn in the scrambled third GFP packet.
  • the second receiving unit 602 is further configured to determine, according to the service application information of the service and the configuration information of the CPU, that the OTUCn in the third GFP packet participates in establishing an OTUC of the GCC channel;
  • the service scheduling request sent by the OTUC of the GCC channel, that is, the GCC insertion request, reads the third GFP packet buffered in the GCC channel.
  • the GCC information of the cached third GCC packet is read in the GCC information according to the configuration information of the internal channel, and the read GCC information and the service scheduling sent by the OTUC participating in the GCC channel are performed. A request is made to match, and a successfully read GCC message is generated to generate a read buffer signal.
  • the OTUC responds to the GCC insertion request sent by the OTUCn once, and each OTUC in the OTUCn receives one GCC insertion request, and one frame is obtained. GCC information.
  • the specific implementation of the GCC information of each frame of the OTUC in each response to the GCC insertion request is different from the implementation of the OTU4 in the prior art, and the GCC channel established in the embodiment of the present invention has many The channel combination mode, according to different combination types, the OTUC can selectively participate in the establishment of the GCC channel.
  • the GCC channel is established by the CPU.
  • the OTUCn sends a service that inserts the GCC request to match the channel number service in the OTUC
  • the matched OTUC participates in the establishment of the GCC communication channel and obtains the GCC information.
  • the distribution unit 602 inserts the read third GFP packet into the GCC information position of each OTUC according to information such as the service indication of the OTUCn, the valid indication of the GCC information, and the GCC information insertion position indication.
  • the polling method at the time of specific GCC insertion refers to the description of FIG. 4 in the method embodiment.
  • the device further includes a second scrambling unit (not shown), Setting the third GFP packet to be time-divisionally synchronized according to the marked channel number; performing second scrambling on the third GFP packet after the synchronization is successful, to obtain the third scrambled third a GFP packet; the distribution unit 603 reads the second scrambled third GFP packet according to the service application information and the configuration information of the CPU; and sends a second addition to the OTUC participating in the OTUCn to participate in establishing the GCC channel.
  • the third GFP packet after the scrambling.
  • the first receiving unit 601 encapsulates OTUCn into a third GFP packet, and when transmitting the third GFP packet to the second receiving unit 602, it may encounter that information is not all written into the GCC channel, and the RAM in the GCC channel The buffering space is about to be full.
  • the second receiving unit 602 is configured to perform packet interception processing on the third GFP packet, specifically, directly discarding data of the unwritten packet, and writing the last packet.
  • the data sets the enclosing flag, then jumps the current address of the enclosing flag to the address of the write core header, and after writing the new packet length and the FCS check to the position of the core header, then jumps back to the current address. , that is, the next address to write the end tag.
  • the embodiment of the present invention can implement the transmission of the OTUCn by using different GCC information to establish different types of communication channels, and realize the effective B100G, with a small resource cost and on the basis of the compatible OTU4 service. transfer.
  • the first scrambling unit and the second scrambling unit may be implemented by a CPU, an MPU, a DSP, an FPGA, or the like located in the device; the first receiving unit 601, the second receiving unit 602, and the distributing unit 603 are actually Applications can be implemented through communication modules (including: basic communication suites, operating systems, communication modules, standardized interfaces and protocols, etc.) and transceiver antennas.
  • communication modules including: basic communication suites, operating systems, communication modules, standardized interfaces and protocols, etc.
  • the embodiment of the present invention further provides a computer storage medium, where the computer storage medium stores computer executable instructions, and the computer executable instructions are used to execute the optical channel transmission unit frame applied to the transmitting end according to the embodiment of the present invention. Transmission method.
  • the computer executable instruction when executed by the processor, performing: receiving a first general framing procedure GFP packet; extracting an optical channel transmission unit frame OTUCn in the first GFP packet, acquiring the OTUCn Universal communication channel GCC of optical channel transmission unit OTUC And reassembling the acquired GCC information into a second GFP packet; establishing a GCC channel, and decapsulating the second GFP packet into a media access control sublayer protocol MAC packet according to the established GCC channel.
  • the computer executable instructions when executed by the processor, performing: acquiring the GCC information in the first GFP packet in a transport channel in a polling manner; acquiring according to preset configuration information The resulting GCC information is reorganized into the second GFP packet.
  • the computer executable instruction when executed by the processor, performing: descrambling the first GFP packet before recombining the acquired GCC information into a second GFP packet, to obtain Extracting the first GFP packet after the descrambling; extracting the OTUCn in the descrambled first GFP packet, acquiring the GCC information of the OTUC in the OTUCn, and recombining the obtained GCC information into the second GFP packet .
  • the computer executable instructions when executed by the processor, performing: before the decapsulating the second GFP packet into a MAC packet according to the established GCC channel, sending the The second GFP packet is subjected to time-series synchronization according to the marked channel number; and the second GFP packet after synchronization is successfully decapsulated into a MAC packet according to the established GCC channel. Send it.
  • the computer executable instruction when executed by the processor, performing: replacing, according to configuration information of the channel, a source address, a destination address, or a virtual local area network identifier of the second GFP packet, and verifying the frame
  • the sequence FCS performs verification; the second GFP that successfully verified the FCS check is decapsulated into a MAC packet for transmission.
  • the embodiment of the present invention further provides a computer storage medium, where the computer storage medium stores computer executable instructions, and the computer executable instructions are used to execute the optical channel transmission unit frame applied to the receiving end according to the embodiment of the present invention. Transmission method.
  • the computer executable instruction when executed by the processor, performing: receiving a MAC packet, performing FCS check on the received MAC packet, and source address, destination address, or virtual The replacement of the proposed local area network identifier, the MAC packet after the FCS verification succeeds is encapsulated into a third GFP packet transmission; the GCC insertion request sent by the OTUCn in the third GFP packet is received, and the cache is read in the GCC according to the GCC insertion request. a third GFP packet in the channel; the third GFP packet read out according to the configuration information of the service is sent to the OTUC participating in establishing the GCC channel in the OTUCn.
  • the computer executable instructions when executed by the processor, performing: before the reading the third GFP packet buffered in the GCC channel, receiving the third GFP packet according to the marked channel number. Performing time-division synchronization; performing first scrambling on the third GFP packet according to the GCC insertion request sent by the OTUCn in the third GFP packet after the synchronization succeeds, to obtain the scrambled third GFP packet; in the GCC And buffering the scrambled third GFP packet in the channel; and reading, according to the GCC insertion request, the third GFP packet buffered in the GCC channel.
  • the computer executable instructions when executed by the processor, performing: determining, before the reading the third GFP packet buffered in the GCC channel, that the third GFP packet is not all written into the a GCC channel, and the buffer space of the GCCP information is full, performing packet interception processing on the third GFP packet, and setting a bracketing flag at the intercepting packet; according to the GCC insertion request, reading the buffer in the GCC The third GFP packet in the channel.
  • the computer executable instructions when executed by the processor, performing: determining, according to the application information of the service and the configuration information of the CPU, the OTUCn in the third GFP packet to participate in establishing the GCC channel. OTUC; reading the third GFP packet buffered in the GCC channel according to a GCC insertion request sent by an OTUC participating in establishing the GCC channel.
  • the computer executable instructions when executed by the processor, performing: the third GFP packet to be read out according to the configuration information of the service, participating in establishing the GCC channel in the OTUCn Before the OTUC is sent, time-separating the read third GFP packet according to the marked channel number; performing the second adding of the third GFP packet after the synchronization succeeds Interference, obtaining the second scrambled third GFP packet; reading the second scrambled third GFP packet according to the service application information and the CPU configuration information; participating in the establishing of the OTUCn
  • the OTUC of the GCC channel transmits the second scrambled third GFP packet.
  • embodiments of the invention may be provided as a method, apparatus, or computer program product. Accordingly, the present invention can take the form of a hardware embodiment, a software embodiment, or a combination of software and hardware. Moreover, the invention can take the form of a computer program product embodied on one or more computer-usable storage media (including but not limited to disk storage and optical storage, etc.) including computer usable program code.
  • the computer program instructions can also be stored in a computer readable memory that can direct a computer or other programmable data processing device to operate in a particular manner, such that the instructions stored in the computer readable memory produce an article of manufacture including the instructions.
  • the instruction means implements the functions specified in one or more blocks of the flow or in a flow or block diagram of the flowchart.
  • These computer program instructions can also be loaded onto a computer or other programmable data processing device such that a series of operational steps are performed on a computer or other programmable device to produce computer-implemented processing for execution on a computer or other programmable device.
  • the instructions provide steps for implementing the functions specified in one or more of the flow or in a block or blocks of a flow diagram.
  • the technical solution of the embodiment of the present invention after extracting the GCC information in each OTUC in the OTUCn, establishes the GCC channel, and transmits the OTUCn through the established GCC channel, thereby realizing a small resource cost. Effective delivery of different types of OTUCn in the B100G service.

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Computer Security & Cryptography (AREA)
  • Time-Division Multiplex Systems (AREA)
  • Data Exchanges In Wide-Area Networks (AREA)
  • Mobile Radio Communication Systems (AREA)

Abstract

本发明实施例公开了一种光通道传输单元帧的传输方法,所述方法包括:接收第一通用成帧规程(GFP)包;提取所述第一GFP包中的光通道传输单元帧(OTUCn),获取所述OTUCn中光通道传输单元(OTUC)的通用通信信道GCC信息,将获取的所述GCC信息重组为第二GFP包;建立GCC信道,根据建立的所述GCC信道将所述第二GFP包解封为媒体访问控制子层协议(MAC)包进行发送。本发明实施例同时还公开了一种光通道传输单元帧的传输装置和计算机存储介质。

Description

光通道传输单元帧的传输方法、装置和计算机存储介质
相关申请的交叉引用
本申请基于申请号为201611091199.9、申请日为2016年12月01日的中国专利申请提出,并要求该中国专利申请的优先权,该中国专利申请的全部内容在此引入本申请作为参考。
技术领域
本发明涉及在光传送网(OTN,Optical Transport Network)中数据传输技术,具体涉及一种光通道传输单元帧(OTUCn,Optical channel Transmission Unit Cn)的传输方法、装置和计算机存储介质。
背景技术
OTN是一种以波分复用(WDM,Wavelength Division Multiplexing)技术为基础、在光层组织网络的传送网。其中,OTN的信号从低阶光通道数据单元(ODU,Optical channel Data Unit)到高阶ODU,最终形成光通道传输单元(OTU,Optical channel Transport Unit)进行发送。
随着Pre5G以及5G技术的逐渐成熟,云和云、云和移动智能终端之间的数据交换和互联对承载网的带宽需求越来越大,超100G(B100G,Beyond100G)技术成为带宽增长需求的解决方案,而对于100G之上的带宽,无论是400G还是1T而言,传统的OTU4显然是无法提供足够的频谱宽度,来直接承载B100G业务。
发明内容
为解决现有存在的技术问题,本发明实施例期望提供一种光通道传输 单元帧的传输方法、装置和计算机存储介质,能够对B100G业务进行有效传递。
本发明实施例的技术方案是这样实现的:
根据本发明实施例的第一方面,提供一种光通道传输单元帧的传输方法,所述方法包括:
接收第一通用成帧规程(GFP,Generic Framing Procedure)包;
提取所述第一GFP包中的OTUCn,获取所述OTUCn中OTUC的通用通信信道(GCC,General Communication Channel)信息,将获取的所述GCC信息重组为第二GFP包;
建立GCC信道,根据建立的所述GCC信道将所述第二GFP包解封为媒体访问控制子层协议(MAC,Media Access Control)包进行发送。
在一实施例中,所述将获取的所述GCC信息重组为第二GFP包,包括:
以轮询方式在传输信道中获取所述第一GFP包中的所述GCC信息;
根据预设的配置信息将获取到的所述GCC信息重组为所述第二GFP包。
在一实施例中,在所述将获取的所述GCC信息重组为第二GFP包之前,所述方法还包括:
对所述第一GFP包进行解扰,得到解扰后的所述第一GFP包;
提取解扰后的所述第一GFP包中的OTUCn,获取所述OTUCn中OTUC的GCC信息,将获取到所述GCC信息重组为第二GFP包。
在一实施例中,在所述根据建立的所述GCC信道将所述第二GFP包解封为MAC包进行发送之前,所述方法还包括:
对所述第二GFP包进行通道号标记;
根据标记的所述通道号对所述第二GFP包进行时分同步;
根据建立的所述GCC信道将将同步成功后的所述第二GFP包解封为 MAC包进行发送。
在一实施例中,所述将所述第二GFP包解封为MAC包进行发送,包括:
根据通道的配置信息,对所述第二GFP包的源地址、目的地址或虚拟局域网标识进行替换,并对帧检验序列(FCS,Frame Check Sequence)进行校验;
将FCS检验成功的所述第二GFP解封为MAC包进行发送。
在一实施例中,所述对所述第一GFP包进行解扰,包括:
以八比特的位宽对每个通道中的所述第一GFP包进行解扰。
根据本发明实施例的第二方面,提供一种光通道传输单元帧的传输方法,所述方法包括:
接收MAC包,并对接收到的所述MAC包进行FCS校验以及源地址、目的地址或虚拟局域网标识的替换,将FCS校验成功后的MAC包封装成第三GFP包发送;
接收所述第三GFP包中OTUCn发送的GCC插入请求,根据所述GCC插入请求,读取缓存在GCC信道中的第三GFP包;
根据业务的配置信息将读取出的所述第三GFP包,向所述OTUCn中参与建立GCC信道的OTUC发送。
在一实施例中,在所述读取缓存在GCC信道中的第三GFP包之前,所述方法还包括:
根据标记的通道号对接收到的第三GFP包进行时分同步;
根据同步成功后的第三GFP包中OTUCn发送的GCC插入请求,对所述第三GFP包进行第一加扰,得到加扰后的所述第三GFP包;
在所述GCC信道中缓存所述第三GFP包;
根据所述GCC插入请求,读取缓存在所述GCC信道中的第三GFP包。
在一实施例中,在所述读取缓存在GCC信道中的第三GFP包之前,所述方法还包括:
确定所述第三GFP包未全部写入所述GCC信道,且所述GCCP信息的缓存空间已满时,对所述第三GFP包作截包处理,并在截包处设置包围标记;
根据所述GCC插入请求,读取缓存在所述GCC信道中的第三GFP包。
在一实施例中,所述读取缓存在GCC信道中的第三GFP包,包括:
根据业务的申请信息和中央处理器(CPU,Central Processing Unit)的配置信息,确定所述第三GFP包中OTUCn参与建立所述GCC信道的OTUC;
根据参与建立所述GCC信道的OTUC发出的GCC插入请求,读取缓存在所述GCC信道中的所述第三GFP包。
在一实施例中,在所述根据业务的配置信息将读取出的所述第三GFP包,向所述OTUCn中参与建立GCC信道的OTUC发送之前,所述方法还包括:
根据标记的通道号对读取出的所述第三GFP包进行时分同步;
将同步成功后的所述第三GFP包进行第二加扰,得到第二加扰后的所述第三GFP包;
根据业务的申请信息和CPU的配置信息读取第二加扰后的所述第三GFP包;
向所述OTUCn中参与建立所述GCC信道的OTUC发送第二加扰后的所述第三GFP包。
根据本发明实施例的第三方面,提供一种光通道传输单元帧的传输装置,所述装置包括:提取单元和分发单元;其中,
所述提取单元,配置为接收第一GFP包,提取所述第一GFP包中的 OTUCn,获取所述OTUCn中OTUC的GCC信息,将获取到的所述GCC信息重组为第二GFP包;
所述分发单元,配置为建立GCC信道,根据所述建立的所述GCC信道将所述提取单元重组的所述第二GFP包解封为MAC包进行发送。
在一实施例中,所述提取单元,配置为以轮询方式在传输信道中获取所述第一GFP包中的所述GCC信息,根据预设的配置信息将获取到的所述GCC信息重组为所述第二GFP包。
在一实施例中,所述装置还包括:
解扰单元,配置为对所述第一GFP包进行解扰,得到解扰后的所述第一GFP包;
所述提取单元,配置为提取解扰后的所述第一GFP包中的OTUCn,获取所述OTUCn中OTUC的GCC信息,将获取到的所述GCC信息重组为第二GFP包。
在一实施例中,所述装置还包括:标记单元和同步单元,其中;
所述标记单元,配置为对所述第二GFP包进行通道号标记;
所述同步单元,配置为根据所述标记单元标记的所述通道号对所述第二GFP包进行时分同步;
所述分发单元,配置为根据建立的所述GCC信道将所述同步单元同步成功后的所述第二GFP包解封为MAC包进行发送。
在一实施例中,所述分发单元,配置为根据通道的配置信息,对所述第二GFP包的源地址、目的地址或虚拟局域网标识进行替换,并对帧检验序列FCS进行校验;将FCS检验成功的所述第二GFP解封为MAC包进行发送。
在一实施例中,所述解扰单元,配置为以八比特的位宽对每个通道中的所述第一GFP包进行解扰。
根据本发明实施例的第四方面,提供一种光通道传输单元帧的传输装置,所述装置包括:
第一接收单元,配置为接收MAC包,并对接收到的所述MAC包进行FCS校验以及源地址、目的地址或虚拟局域网标识的替换,将FCS校验成功后的MAC包封装成第三GFP包发送;
第二接收单元,配置为接收所述第三GFP包中OTUCn发送的GCC插入请求,根据所述GCC插入请求,读取缓存在GCC信道中的第三GFP包;
分发单元,配置为根据业务的配置信息将读取出的所述第三GFP包,向所述OTUCn中参与建立GCC信道的OTUC发送。
在一实施例中,所述装置还包括:
第一加扰单元,配置为根据标记的通道号对接收到的MAC包进行时分同步;对同步成功后的所述第三GFP包进行第一加扰,得到加扰后的所述第三GFP包;
所述第二接收单元,还配置为在所述GCC信道中缓存加扰后的所述第三GFP包;并根据加扰后的第三GFP包中OTUCn发送的GCC插入请求,读取缓存在所述GCC信道中第一加扰后的第三GFP包。
在一实施例中,所述第二接收单元,还配置为确定所述第三GFP包未全部写入所述GCC信道,且所述GCCP信息的缓存空间已满时,对所述第三GFP包作截包处理,并在截包处设置包围标记;根据所述GCC插入请求,读取缓存在所述GCC信道中的第三GFP包。
在一实施例中,所述第二接收单元,还配置为根据业务的申请信息和CPU的配置信息,确定所述第三GFP包中OTUCn参与建立所述GCC信道的OTUC;根据参与建立所述GCC信道的OTUC发出的GCC插入请求,读取缓存在所述GCC信道中的所述第三GFP包。
在一实施例中,所述装置还包括:
第二加扰单元,配置为根据标记的通道号对读取出的所述第三GFP包进行时分同步;将同步成功后的所述第三GFP包进行第二加扰,得到第二加扰后的所述第三GFP包;
所述分发单元,还配置为根据业务的申请信息和CPU的配置信息读取第二加扰后的所述第三GFP包;并向所述OTUCn中参与建立所述GCC信道的OTUC发送第二加扰后的所述第三GFP包。
根据本发明实施例的第五方面,提供一种计算机存储介质,所述计算机存储介质中存储有计算机可执行指令,所述计算机可执行指令用于执行本发明实施例所述的应用于发送端的光通道传输单元帧的传输方法。
根据本发明实施例的第六方面,提供一种计算机存储介质,所述计算机存储介质中存储有计算机可执行指令,所述计算机可执行指令用于执行本发明实施例所述的应用于接收端的光通道传输单元帧的传输方法。
本发明实施例提供的光通道传输单元帧的传输方法、装置和计算机存储介质,通过接收第一GFP包;提取所述第一GFP包中的OTUCn,并获取所述OTUCn中OTUC的GCC信息,将获取的所述GCC信息重组为第二GFP;建立GCC信道,根据建立的所述GCC信道将所述第二GFP包解封为MAC包进行发送。采用本发明实施例的技术方案,通过将所述OTUCn中各OTUC中的GCC信息提取后,建立所述GCC信道,通过建立的GCC信道对OTUCn进行传送,从而以一种较小的资源代价,实现了B100G业务中不同类型的OTUCn的有效传递。
附图说明
图1为本发明实施例一种光通道传输单元帧的传输方法的流程示意图;
图2为本发明实施例中GCC提取时的轮询示意图;
图3为本发明实施例另一种光通道传输单元帧的传输方法的流程示意图;
图4为本发明实施例中GCC插入时的轮询示意图;
图5为本发明实施例一种光通道传输单元帧的传输装置的组成示意图;
图6为本发明实施例另一种光通道传输单元帧的传输装置的组成示意图。
具体实施方式
下面结合附图对本发明的具体实施方式进行详细说明。应当理解的是,此处所描述的具体实施方式仅用于说明和解释本发明,并不用于限制本发明。
图1为本发明实施例一种光通道传输单元帧的传输方法的流程示意图;如图1所示,所述方法包括:
步骤101,接收第一GFP包。
步骤102,提取所述第一GFP包中的OTUCn,获取所述OTUCn中OTUC的GCC信息,将获取的所述GCC信息重组为第二GFP包。
这里,所述OTUCn是由多个并行的OTUC组成,每个OTUC中都有各自的GCC信息。当接收到所述第一GFP包时,先将所述OTUCn从所述第一GFP包中提取出来,即对所述第一GFP包进行解封;再将所述OTUCn中各个OTUC中的GCC信息提取出来;将提取出来的所有GCC信息重组为第二GFP包。在本发明实施例中,所述将获取的所述GCC信息重组为第二GFP包,具体是以轮询方式在各传输信道中获取所述第一GFP包中的所述GCC信息;然后根据预设的配置信息将获取到的各所述GCC信息重组为所述第二GFP包。具体地,图2为本发明实施例中GCC提取时的轮询示意图;提取GCC信息、将提出的所述GCC信息重组为第二GFP包的方法如图2所示。
如图2所示,假设有十路通信信道,根据CPU的配置信息对十路通信信道中的GCC信息进行轮询提取,其中,所述十路通信信道是指从第0路 至第9路,并且按照从第0路到第9路的顺序进行轮询提取。假定10路通信信道中输入的是两路OTUC5,则从第0路到第4路轮询提取第一路OTUC5中的GCC信息,从第5路到第9路轮询提取第二路OTUC5中的GCC,并将提取到的所有GCC信息重组为所述第二GFP包,形成新的GCC通信信道。由于轮询的速度远快于GCC输入的速度,因此,不必担心GCC输入的数据轮询不到的问题。
步骤103,建立GCC信道,根据建立的所述GCC信道将所述第二GFP包解封为MAC包进行发送。
这里,为所述第二GFP包建立GCC信道。首先只要各个OTUC是对齐的,即各个OTUC的输出帧头脉冲一致、复帧号一致、数据脉冲一致,则认为各个OTUC中的GCC信息是同时被提取出来的,然后再将提取出来的GCC重组为第二GFP包,形成一个完整的GCC通信信道,或者是将提取出来的GCC按照预设的配置信息拼接成不同类型的GCC通信信道。这里,不同类型的GCC通信信道包括:GCC0、GCC1、GCC2、GCC0+GCC1、GCC0+GCC2、GCC1+GCC2、GCC0+GCC1+GCC2,根据预设的配置信息,选择这7种类型中的某一种GCC类型的通信信道来承载所述OTUCn,或者使用形成的完整的GCC通信信道来承载所述OTUCn。然后再根据通道的配置信息,对所述第二GFP包的源地址或目的地址或虚拟局域网标识进行替换,并对FCS进行校验;将FCS检验成功的所述第二GFP解封为MAC包通过接口SGMLL发送出去,而对于FCS校验没通过的第二GFP进行丢弃并统计。
在本发明实施例中,所述通道的配置信息具体可以是指建立的GCC信道类型信息。在传输所述MAC包时,根据通道的配置信息,选择合适的GCC信道类型,将所述MAC包经处理后得到的GFP包分发到相应地通信信道中进行发送。如此,有效地实现了B100G的信息传递。
在本发明实施例中,在所述将获取的所述GCC信息重组为第二GFP包之前,所述方法还包括:
对所述第一GFP包进行解扰,得到解扰后的所述第一GFP包;
提取解扰后的所述第一GFP包中的OTUCn,获取所述OTUCn中OTUC的GCC信息,将获取到的所述GCC信息重组为第二GFP包,并建立GCC信道。
这里,具体是以八比特的位宽对所述第一GFP包进行解扰运算,并提取解扰后的所述第一GFP包中的OTUC的GCC信息,将获取到的所述GCC信息重组为第二GFP包。
在本发明实施例中,在所述根据建立的所述GCC信道将所述第二GFP包解封为MAC包进行发送之前,所述方法还包括:
对所述第二GFP包进行通道号标记;
根据标记的所述通道号对所述第二GFP包进行时分同步;
根据建立的所述GCC信道将将同步成功后的所述第二GFP包解封为MAC包进行发送。
这里,建立的GCC信道中的随机存取存储器(RAM,Random Access Memory)在接收所述第二GFP包时,会根据所述第二GFP包中标记的通道号,在所述GCC信道中查找与该通道号相对应的GCC缓存数据,并读取,将读取出来的缓存数据与刚输入的数据一起进行解扰运算,并将运算结果以八比特位宽保存在RAM中,同时,将所述RAM中原有的数据左移八比特,待下一数据输入时,对左移的数据进行解扰运算。
图3为本发明实施例另一种光通道传输单元帧的传输方法的流程示意图;如图3所示,所述方法包括:
步骤301,接收MAC包,并对接收到的所述MAC包进行FCS校验以及源地址、目的地址或虚拟局域网标识的替换,将FCS校验成功后的MAC 包封装成第三GFP包发送。
这里,对接收到的MAC包进行FCS校验,具体可以按照CPU配置的信息,选择虚拟局域网(WLAN,Virtual Local Area Network)或MAC模式,并在所述WLAN/MAC模式下对所述MAC包进行目的地址(DA,Destination Address)、源地址(SA,Source Addresses)或WLAN ID的替换,将FCS校验成功的MAC包封装成第三GFP包。
在本发明实施例中,还会根据业务的配置信息,比如业务的申请信息和CPU的配置信息,第三GFP包中的GCC信道组合类型信息生成通道号,将所述通道号连同所述第三GFP包一起输出。
步骤302,接收所述第三GFP包中OTUCn发送的GCC插入请求,根据所述GCC插入请求,读取缓存在GCC信道中的第三GFP包。
这里,在所述读取缓存在所述第三GFP包中的GCC包之前,所述方法还包括:根据标记的通道号对接收到的第三GFP包进行时分同步;对同步成功后的所述第三GFP包进行第一加扰,得到加扰后的所述第三GFP包,并在GCC信道中缓存加扰后的所述第三GFP包;根据加扰后的第三GFP包中OTUCn发送的GCC插入请求,读取缓存在所述GCC信道中第一加扰后的第三GFP包。
具体地,读取缓存在所述GCC信道中第一加扰后的第三GFP包包括:根据业务的申请信息和CPU的配置信息,确定所述第三GFP包中OTUCn参与建立所述GCC信道的OTUC;根据参与建立所述GCC信道的OTUC发出的业务调度请求,即GCC插入请求,读取缓存在所述GCC信道中的所述第三GFP包。
在本发明实施例中,根据内部通道的配置信息在GCC信息中读取缓存的第三GCC包的GCC信息,并将读取出的GCC信息与参与所述GCC信道中的OTUC发出的业务调度请求进行匹配,将匹配成功的GCC信息生成 读缓存信号。在本发明实施例中。当所述GCC信道中保存了至少一个第三GCC包时,OTUC会响应一次所述OTUCn下发的GCC插入请求,而OTUCn中的每个OTUC在每响应一次GCC插入请求,就会得到1帧的GCC信息。
本发明中每个OTUC在每响应一次GCC插入请求,就会得到1帧的GCC信息的具体实现与现有技术中OTU4的实现方法不同的是,本发明实施例中建立的GCC信道具有多种信道组合方式,根据不同的组合类型,OTUC可以选择性地参与GCC信道的建立。
步骤303,根据业务的配置信息将读取出的所述第三GFP包,向所述OTUCn中参与建立GCC信道的OTUC发送。
这里,具体建立GCC信道由CPU配置。当OTUCn发出插入GCC请求的业务与OTUC中的通道号业务匹配时,则匹配后的OTUC参与GCC通信信道的建立,并得到GCC信息。然后,根据OTUCn的业务指示、GCC信息的有效指示、GCC信息插入位置指示等信息,将读取出的第三GFP包,插入到各个OTUC的GCC信息位置。
图4为GCC插入时的轮询示意图,如图4所示,以包括5路通信信道为例,假定1路中为OTUC5业务,并发出OTUC5业务的调度请求,当所述调度请求与GCC信道中缓存的GCC包的业务相匹配时,确定1路中的GCC0和GCC1、GCC2全部参与GCC信道的建立,并且在读取缓存在所述GCC信道中的GCC包时,对GCC0、GCC1、GCC2轮询3次,直到所述GCC信道中缓存的数据读空,就不再响应调度请求。
在本发明实施例中,在所述根据业务的配置信息将读取出的所述第三GFP包,向所述OTUCn中参与建立GCC信道的OTUC发送之前,所述方法还包括:
根据标记的通道号对读取出的所述第三GFP包进行时分同步;将同步成功后的所述第三GFP包进行第二加扰,得到第二加扰后的所述第三GFP 包;根据业务的申请信息和CPU的配置信息读取第二加扰后的所述第三GFP包;向所述OTUCn中参与建立所述GCC信道的OTUC发送第二加扰后的所述第三GFP包。
在本发明实施例中,在所述读取缓存在GCC信道中的第三GFP包之前,所述方法还包括:确定所述第三GFP包未全部写入所述GCC信道,且所述GCCP信息的缓存空间已满时,对所述第三GFP包作截包处理,并在截包处设置包围标记;根据所述GCC插入请求,读取缓存在所述GCC信道中的第三GFP包。
具体地,将OTUCn封装成第三GFP包时,会遇到信息未全部写入GCC信道、而所述GCC信道中的RAM缓存空间即将写满的情况,此时,则做截包处理,具体是将未写入包的数据直接丢弃,并为最后写入的数据设置包围标记,然后将打入包围的当前地址跳转到写核心头的地址,并在将新的包长及FCS校验写入核心头的位置后,再跳转回所述当前地址,也就是写包尾标记的下一个地址。
本发明实施例与现有技术相比,以一种较小的资源代价,在兼容OTU4业务基础上,能够以通过新GCC建立各种通信信道类型,并通过新GCC建立的通信信道承载OTUCn的发送。
图5为本发明实施例一种光通道传输单元帧的传输装置的组成示意图,如图5所示,所述装置包括:提取单元501和分发单元502;其中,
所述提取单元501,配置为接收第一GFP包,提取所述第一GFP包中的OTUCn,获取所述OTUCn中OTUC的GCC信息,并将获取到的所述GCC信息重组为第二GFP包;
所述分发单元502,配置为建立GCC信道,根据建立的所述GCC信道将所述提取单元501重组的所述第二GFP包解封为MAC包进行发送。
这里,所述OTUCn是由多个并行的OTUC组成,每个OTUC中都有 各自的GCC信息。当所述提取单元501接收到所述第一GFP包时,将所述OTUCn从所述第一GFP包中提取出来,即对所述第一GFP包进行解封;然后,再将所述OTUCn中各个OTUC中的GCC信息提取出来;并将提取出来的所有GCC信息重组为第二GFP包。在本发明实施例中,所述提取单元501配置为以轮询方式在传输信道中提取所述第一GFP包中的所述GCC信息,根据预设的配置信息将提取到的所述GCC信息重组为所述第二GFP包。详细轮询方式请参照方法实施例中的图2描述。
在本发明实施例中,只要所述提取单元501提取出的各个OTUC是对齐的,即各个OTUC的输出帧头脉冲一致、复帧号一致、数据脉冲一致,则认为各个OTUC中的GCC信息是同时被提取出来的,然后再将提取出来的GCC重组为第二GFP包。并触发分发单元502,由所述分发单元502建立GCC通信信道,来承载所述第二GFP包。所述分发单元502建立GCC通信信道,具体可以按照预设的配置信息,建立不同组合类型的GCC通信信道,这里,不同组合类型的GCC通信信道包括:GCC0、GCC1、GCC2、GCC0+GCC1、GCC0+GCC2、GCC1+GCC2、GCC0+GCC1+GCC2,根据预设的配置信息,选择这7种类型中的某一种GCC类型的通信信道来承载所述OTUCn,或者使用形成的完整的GCC通信信道来承载所述OTUCn。或者使用形成的完整的GCC通信信道来承载所述OTUCn。这里,所述预设的配置信息具体可以是指建立的GCC通信信道组合类型信息。如此,有效地实现了B100G的信息传递。
由于所述分发单元502通过所述第一GFP包,无法实现所述OTUCn的传输,因此,在本发明实施例中,分发单元502配置为根据通道的配置信息,对所述第二GFP包的源地址、目的地址或虚拟局域网标识进行替换,并对FCS进行校验;将FCS检验成功的所述第二GFP解封为MAC包通过接口SGMLL发送出去,而对于FCS校验没通过的第二GFP进行丢弃并统 计。
在本发明实施例中,所述装置还包括解扰单元(图中未示出),配置为对所述第一GFP包进行解扰,得到解扰后的所述第一GFP包;所述提取单元501配置为获取解扰后的所述第一GFP包中的OTUC的GCC信息,将获取到的所述GCC信息重组为第二GFP包。
这里,所述解扰单元配置为是以八比特的位宽对所述第一GFP包进行解扰运算,并由所述提取单元501提取由所述解扰单元解扰后的所述第一GFP包中的各个OTUC的GCC信息,将获取到的各所述GCC信息重组为第二GFP包。
在本发明实施例中,所述装置还包括标记单元和同步单元(图中均未示出),其中;
所述标记单元,配置为对所述第二GFP包进行通道号标记;
所述同步单元,配置为根据所述标记单元标记的所述通道号对所述第二GFP包进行时分同步;
所述分发单元,配置为根据建立的所述GCC信道将所述同步单元同步成功后的所述第二GFP包解封为MAC包进行发送。
这里,在所述提取单元501接收所述第二GFP包时,会根据接收到的数据中标记的通道号,在所述GCC信道中查找与该通道号相对应的GCC缓存数据,并将该缓存数据读取出来,与刚输入的数据一起进行解扰运算,并将运算结果以八比特位宽保存在所述提取单元501中,同时,将所述提取单元501中原有的数据左移八比特,待下一帧数据输入时,对其进行读取和解扰运算。
在实际应用中,提取单元501、解扰单元、标记单元和同步单元,均可由装置中的CPU、微处理器(MPU,Micro Processor Unit)、数字信号处理器(DSP,Digital Signal Processor)、或现场可编程门阵列(FPGA,Field  Programmable Gate Array)等实现;分发单元502在实际应用中可通过通信模组(包含:基础通信套件、操作系统、通信模块、标准化接口和协议等)及收发天线实现。
图6为本发明实施例另一种光通道传输单元帧的传输装置的结构示意图;如图6所示,所述方法包括:第一接收单元601,配置为接收MAC包,并对接收到的所述MAC包进行FCS校验以及源地址或目的地址或虚拟局域网标识的替换,将FCS校验成功后的MAC包封装成第三GFP包发送;
第二接收单元602,配置为接收所述第三GFP包中OTUCn发送的GCC插入请求,根据所述GCC插入请求,读取缓存在GCC信道中的第三GFP包;
分发单元603,配置为根据业务的配置信息将读取出的所述第三GFP包,向所述OTUCn中参与建立GCC信道的OTUC发送。
这里,所述第一接收单元601对接收到的MAC包进行FCS校验,具体可以按照CPU配置的信息,选择WLAN或MAC模式,并在所述WLAN/MAC模式下对所述MAC包进行DA、SA或WLAN ID的替换,将FCS校验成功的MAC包封装成第三GFP包。
在本发明实施例中,第一接收单元601还会根据业务的配置信息,比如业务的申请信息和CPU的配置信息,第三GFP包中的GCC信道组合类型信息生成通道号,将所述通道号连同所述第三GFP包一起输出。
所述第二接收单元602在接收到所述第三GFP包中OTUCn发送的GCC插入请求后,根据所述GCC插入请求,所述第二接收单元602读取缓存在所述第三GFP包中的GCC包。
在本发明实施例中,所述装置还包括第一加扰单元(图中未示出),所述第二接收单元602在读取所述GCC包之前,所述第一加扰单元配置为根据标记的通道号对接收到的第三GFP包进行时分同步,对同步成功后的所 述第三GFP包进行第一加扰,得到加扰后的所述第三GFP包,并在GCC信道中缓存加扰后的所述第三GFP包。所述第二接收单元602配置为根据加扰后的第三GFP包中OTUCn发送的GCC插入请求,读取缓存在所述GFP包中第一加扰后的第三GFP包。
在一实施例中,所述第二接收单元602还配置为根据业务的申请信息和CPU的配置信息,确定所述第三GFP包中OTUCn参与建立所述GCC信道的OTUC;根据参与建立所述GCC信道的OTUC发出的业务调度请求,即GCC插入请求,读取缓存在所述GCC信道中的所述第三GFP包。
在本发明实施例中,根据内部通道的配置信息在GCC信息中读取缓存的第三GCC包的GCC信息,并将读取出的GCC信息与参与所述GCC信道中的OTUC发出的业务调度请求进行匹配,将匹配成功的GCC信息生成读缓存信号。在本发明实施例中。当所述GCC信道中保存了至少一个第三GCC包时,OTUC会响应一次所述OTUCn下发的GCC插入请求,而OTUCn中的每个OTUC在每响应一次GCC插入请求,就会得到1帧的GCC信息。
本发明实施例中每个OTUC在每响应一次GCC插入请求,就会得到1帧的GCC信息的具体实现与现有技术中OTU4的实现不同的是,本发明实施例中建立的GCC信道具有多种信道组合方式,根据不同的组合类型,OTUC可以选择性地参与GCC信道的建立。
建立GCC信道由CPU配置。当OTUCn发出插入GCC请求的业务与OTUC中的通道号业务匹配时,则匹配后的OTUC参与GCC通信信道的建立,并得到GCC信息。由所述分发单元602根据OTUCn的业务指示、GCC信息的有效指示、GCC信息插入位置指示等信息,将读取出的第三GFP包,插入到各个OTUC的GCC信息位置。具体GCC插入时的轮询方法参照方法实施例中图4的描述。
在本发明实施例中,所述装置还包括第二加扰单元(图中未示出),配 置为根据标记的通道号对读取出的所述第三GFP包进行时分同步;将同步成功后的所述第三GFP包进行第二加扰,得到第二加扰后的所述第三GFP包;所述分发单元603根据业务的申请信息和CPU的配置信息读取第二加扰后的所述第三GFP包;向所述OTUCn中参与建立所述GCC信道的OTUC发送第二加扰后的所述第三GFP包。
这里,所述第一接收单元601将OTUCn封装成第三GFP包,向第二接收单元602发送所述第三GFP包时,会遇到信息未全部写入GCC信道,而GCC信道中的RAM缓存空间即将写满的情况,此时,所述第二接收单元602配置为对所述第三GFP包做截包处理,具体是将未写入包的数据直接丢弃,并为最后写入的数据设置包围标记,然后将打上包围标记的当前地址跳转到写核心头的地址,并在将新的包长及FCS校验写入核心头的位置后,再跳转回所述当前的地址,也就是写包尾标记的下一个地址。
本发明实施例与现有技术相比,以一种较小的资源代价,在兼容OTU4业务基础上,能够通过新GCC信息建立不同类型的通信信道,来承载OTUCn的发送,实现了B100G的有效传递。
在实际应用中,第一加扰单元和第二加扰单元均可由位于装置中的CPU、MPU、DSP、或FPGA等实现;第一接收单元601、第二接收单元602和分发单元603在实际应用中可通过通信模组(包含:基础通信套件、操作系统、通信模块、标准化接口和协议等)及收发天线实现。
本发明实施例还提供一种计算机存储介质,所述计算机存储介质中存储有计算机可执行指令,所述计算机可执行指令用于执行本发明实施例所述的应用于发送端的光通道传输单元帧的传输方法。
本实施例中,所述计算机可执行指令被处理器运行时,执行:接收第一通用成帧规程GFP包;提取所述第一GFP包中的光通道传输单元帧OTUCn,获取所述OTUCn中光通道传输单元OTUC的通用通信信道GCC 信息,将获取的所述GCC信息重组为第二GFP包;建立GCC信道,根据建立的所述GCC信道将所述第二GFP包解封为媒体访问控制子层协议MAC包进行发送。
作为一种实施方式,所述计算机可执行指令被处理器运行时,执行:以轮询方式在传输信道中获取所述第一GFP包中的所述GCC信息;根据预设的配置信息将获取到的所述GCC信息重组为所述第二GFP包。
作为一种实施方式,所述计算机可执行指令被处理器运行时,执行:在所述将获取的所述GCC信息重组为第二GFP包之前,对所述第一GFP包进行解扰,得到解扰后的所述第一GFP包;提取解扰后的所述第一GFP包中的OTUCn,获取所述OTUCn中OTUC的GCC信息,将获取到的所述GCC信息重组为第二GFP包。
作为一种实施方式,所述计算机可执行指令被处理器运行时,执行:在所述根据建立的所述GCC信道将所述第二GFP包解封为MAC包进行发送之前,对所述第二GFP包进行通道号标记;根据标记的所述通道号对所述第二GFP包进行时分同步;根据建立的所述GCC信道将将同步成功后的所述第二GFP包解封为MAC包进行发送。
作为一种实施方式,所述计算机可执行指令被处理器运行时,执行:根据通道的配置信息,对所述第二GFP包的源地址、目的地址或虚拟局域网标识进行替换,并对帧检验序列FCS进行校验;将FCS检验成功的所述第二GFP解封为MAC包进行发送。
本发明实施例还提供一种计算机存储介质,所述计算机存储介质中存储有计算机可执行指令,所述计算机可执行指令用于执行本发明实施例所述的应用于接收端的光通道传输单元帧的传输方法。
本实施例中,所述计算机可执行指令被处理器运行时,执行:接收MAC包,并对接收到的所述MAC包进行FCS校验以及源地址、目的地址或虚 拟局域网标识的替换,将FCS校验成功后的MAC包封装成第三GFP包发送;接收所述第三GFP包中OTUCn发送的GCC插入请求,根据所述GCC插入请求,读取缓存在GCC信道中的第三GFP包;根据业务的配置信息将读取出的所述第三GFP包,向所述OTUCn中参与建立GCC信道的OTUC发送。
作为一种实施方式,所述计算机可执行指令被处理器运行时,执行:在所述读取缓存在GCC信道中的第三GFP包之前,根据标记的通道号对接收到的第三GFP包进行时分同步;根据同步成功后的第三GFP包中OTUCn发送的GCC插入请求,对所述第三GFP包进行第一加扰,得到加扰后的所述第三GFP包;在所述GCC信道中缓存加扰后的所述第三GFP包;根据所述GCC插入请求,读取缓存在所述GCC信道中加扰后的第三GFP包。
作为一种实施方式,所述计算机可执行指令被处理器运行时,执行:在所述读取缓存在GCC信道中的第三GFP包之前,确定所述第三GFP包未全部写入所述GCC信道,且所述GCCP信息的缓存空间已满时,对所述第三GFP包作截包处理,并在截包处设置包围标记;根据所述GCC插入请求,读取缓存在所述GCC信道中的第三GFP包。
作为一种实施方式,所述计算机可执行指令被处理器运行时,执行:根据业务的申请信息和中央处理器CPU的配置信息,确定所述第三GFP包中OTUCn参与建立所述GCC信道的OTUC;根据参与建立所述GCC信道的OTUC发出的GCC插入请求,读取缓存在所述GCC信道中的所述第三GFP包。
作为一种实施方式,所述计算机可执行指令被处理器运行时,执行:在所述根据业务的配置信息将读取出的所述第三GFP包,向所述OTUCn中参与建立GCC信道的OTUC发送之前,根据标记的通道号对读取出的所述第三GFP包进行时分同步;将同步成功后的所述第三GFP包进行第二加 扰,得到第二加扰后的所述第三GFP包;根据业务的申请信息和CPU的配置信息读取第二加扰后的所述第三GFP包;向所述OTUCn中参与建立所述GCC信道的OTUC发送第二加扰后的所述第三GFP包。
本领域内的技术人员应明白,本发明的实施例可提供为方法、装置、或计算机程序产品。因此,本发明可采用硬件实施例、软件实施例、或结合软件和硬件方面的实施例的形式。而且,本发明可采用在一个或多个其中包含有计算机可用程序代码的计算机可用存储介质(包括但不限于磁盘存储器和光学存储器等)上实施的计算机程序产品的形式。
本发明是参照根据本发明实施例的方法、装置、和计算机程序产品的流程图和/或方框图来描述的。应理解可由计算机程序指令实现流程图和/或方框图中的每一流程和/或方框、以及流程图和/或方框图中的流程和/或方框的结合。可提供这些计算机程序指令到通用计算机、专用计算机、嵌入式处理机或其他可编程数据处理设备的处理器以产生一个机器,使得通过计算机或其他可编程数据处理设备的处理器执行的指令产生用于实现在流程图一个流程或多个流程和/或方框图一个方框或多个方框中指定的功能的装置。
这些计算机程序指令也可存储在能引导计算机或其他可编程数据处理设备以特定方式工作的计算机可读存储器中,使得存储在该计算机可读存储器中的指令产生包括指令装所设置的制造品,该指令装置实现在流程图一个流程或多个流程和/或方框图一个方框或多个方框中指定的功能。
这些计算机程序指令也可装载到计算机或其他可编程数据处理设备上,使得在计算机或其他可编程设备上执行一系列操作步骤以产生计算机实现的处理,从而在计算机或其他可编程设备上执行的指令提供用于实现在流程图一个流程或多个流程和/或方框图一个方框或多个方框中指定的功能的步骤。
以上所述,仅为本发明的较佳实施例而已,并非用于限定本发明的保护范围。
工业实用性
本发明实施例的技术方案通过将所述OTUCn中各OTUC中的GCC信息提取后,建立所述GCC信道,通过建立的GCC信道对OTUCn进行传送,从而以一种较小的资源代价,实现了B100G业务中不同类型的OTUCn的有效传递。

Claims (24)

  1. 一种光通道传输单元帧的传输方法,所述方法包括:
    接收第一通用成帧规程GFP包;
    提取所述第一GFP包中的光通道传输单元帧OTUCn,获取所述OTUCn中光通道传输单元OTUC的通用通信信道GCC信息,将获取的所述GCC信息重组为第二GFP包;
    建立GCC信道,根据建立的所述GCC信道将所述第二GFP包解封为媒体访问控制子层协议MAC包进行发送。
  2. 根据权利要求1所述的方法,其中,所述将获取的所述GCC信息重组为第二GFP包,包括:
    以轮询方式在传输信道中获取所述第一GFP包中的所述GCC信息;
    根据预设的配置信息将获取到的所述GCC信息重组为所述第二GFP包。
  3. 根据权利要求1所述的方法,其中,在所述将获取的所述GCC信息重组为第二GFP包之前,所述方法还包括:
    对所述第一GFP包进行解扰,得到解扰后的所述第一GFP包;
    提取解扰后的所述第一GFP包中的OTUCn,获取所述OTUCn中OTUC的GCC信息,将获取到的所述GCC信息重组为第二GFP包。
  4. 根据权利要求1所述的方法,其中,在所述根据建立的所述GCC信道将所述第二GFP包解封为MAC包进行发送之前,所述方法还包括:
    对所述第二GFP包进行通道号标记;
    根据标记的所述通道号对所述第二GFP包进行时分同步;
    根据建立的所述GCC信道将将同步成功后的所述第二GFP包解封为MAC包进行发送。
  5. 根据权利要求1所述的方法,其中,所述将所述第二GFP包解封为 MAC包进行发送,包括:
    根据通道的配置信息,对所述第二GFP包的源地址、目的地址或虚拟局域网标识进行替换,并对帧检验序列FCS进行校验;
    将FCS检验成功的所述第二GFP解封为MAC包进行发送。
  6. 根据权利要求3所述的方法,其中,所述对所述第一GFP包进行解扰,包括:
    以八比特的位宽对每个通道中的所述第一GFP包进行解扰。
  7. 一种光通道传输单元帧的传输方法,所述方法包括:
    接收MAC包,并对接收到的所述MAC包进行FCS校验以及源地址、目的地址或虚拟局域网标识的替换,将FCS校验成功后的MAC包封装成第三GFP包发送;
    接收所述第三GFP包中OTUCn发送的GCC插入请求,根据所述GCC插入请求,读取缓存在GCC信道中的第三GFP包;
    根据业务的配置信息将读取出的所述第三GFP包,向所述OTUCn中参与建立GCC信道的OTUC发送。
  8. 根据权利要求7所述的方法,其中,在所述读取缓存在GCC信道中的第三GFP包之前,所述方法还包括:
    根据标记的通道号对接收到的第三GFP包进行时分同步;
    根据同步成功后的第三GFP包中OTUCn发送的GCC插入请求,对所述第三GFP包进行第一加扰,得到加扰后的所述第三GFP包;
    在所述GCC信道中缓存加扰后的所述第三GFP包;
    根据所述GCC插入请求,读取缓存在所述GCC信道中加扰后的第三GFP包。
  9. 根据权利要求7所述的方法,其中,在所述读取缓存在GCC信道中的第三GFP包之前,所述方法还包括:
    确定所述第三GFP包未全部写入所述GCC信道,且所述GCCP信息的缓存空间已满时,对所述第三GFP包作截包处理,并在截包处设置包围标记;
    根据所述GCC插入请求,读取缓存在所述GCC信道中的第三GFP包。
  10. 根据权利要求7所述的方法,其中,所述读取缓存在GCC信道中的第三GFP包,包括:
    根据业务的申请信息和中央处理器CPU的配置信息,确定所述第三GFP包中OTUCn参与建立所述GCC信道的OTUC;
    根据参与建立所述GCC信道的OTUC发出的GCC插入请求,读取缓存在所述GCC信道中的所述第三GFP包。
  11. 根据权利要求7所述的方法,其中,在所述根据业务的配置信息将读取出的所述第三GFP包,向所述OTUCn中参与建立GCC信道的OTUC发送之前,所述方法还包括:
    根据标记的通道号对读取出的所述第三GFP包进行时分同步;
    将同步成功后的所述第三GFP包进行第二加扰,得到第二加扰后的所述第三GFP包;
    根据业务的申请信息和CPU的配置信息读取第二加扰后的所述第三GFP包;
    向所述OTUCn中参与建立所述GCC信道的OTUC发送第二加扰后的所述第三GFP包。
  12. 一种光通道传输单元帧的传输装置,所述装置包括:提取单元和分发单元;其中,
    所述提取单元,配置为接收第一GFP包,提取所述第一GFP包中的OTUCn,获取所述OTUCn中OTUC的GCC信息,将获取到的所述GCC信息重组为第二GFP包;
    所述分发单元,配置为建立GCC信道,根据所述建立的所述GCC信道将所述提取单元重组的所述第二GFP包解封为MAC包进行发送。
  13. 根据权利要求12所述的装置,其中,所述提取单元,配置为以轮询方式在传输信道中获取所述第一GFP包中的所述GCC信息,根据预设的配置信息将获取到的所述GCC信息重组为所述第二GFP包。
  14. 根据权利要求12所述的装置,其中,所述装置还包括:
    解扰单元,配置为对所述第一GFP包进行解扰,得到解扰后的所述第一GFP包;
    所述提取单元,配置为提取解扰后的所述第一GFP包中的OTUCn,获取所述OTUCn中OTUC的GCC信息,将获取到的所述GCC信息重组为第二GFP包。
  15. 根据权利要求12所述的装置,其中,所述装置还包括:标记单元和同步单元,其中;
    所述标记单元,配置为对所述第二GFP包进行通道号标记;
    所述同步单元,配置为根据所述标记单元标记的所述通道号对所述第二GFP包进行时分同步;
    所述分发单元,配置为根据建立的所述GCC信道将所述同步单元同步成功后的所述第二GFP包解封为MAC包进行发送。
  16. 根据权利要求12所述的装置,其中,所述分发单元,配置为根据通道的配置信息,对所述第二GFP包的源地址、目的地址或虚拟局域网标识进行替换,并对帧检验序列FCS进行校验;将FCS检验成功的所述第二GFP解封为MAC包进行发送。
  17. 根据权利要求14所述的装置,其中,所述解扰单元,配置为以八比特的位宽对每个通道中的所述第一GFP包进行解扰。
  18. 一种光通道传输单元帧的传输装置,所述装置包括:
    第一接收单元,配置为接收MAC包,并对接收到的所述MAC包进行FCS校验以及源地址、目的地址或虚拟局域网标识的替换,将FCS校验成功后的MAC包封装成第三GFP包发送;
    第二接收单元,配置为接收所述第三GFP包中OTUCn发送的GCC插入请求,根据所述GCC插入请求,读取缓存在GCC信道中的第三GFP包;
    分发单元,配置为根据业务的配置信息将读取出的所述第三GFP包,向所述OTUCn中参与建立GCC信道的OTUC发送。
  19. 根据权利要求18所述的装置,其中,所述装置还包括:
    第一加扰单元,配置为根据标记的通道号对接收到的MAC包进行时分同步;对同步成功后的所述第三GFP包进行第一加扰,得到加扰后的所述第三GFP包;
    所述第二接收单元,还配置为在所述GCC信道中缓存加扰后的所述第三GFP包;并根据所述GCC插入请求,读取缓存在所述GCC信道中加扰后的第三GFP包。
  20. 根据权利要求18所述的装置,其中,所述第二接收单元,还配置为确定所述第三GFP包未全部写入所述GCC信道,且所述GCCP信息的缓存空间已满时,对所述第三GFP包作截包处理,并在截包处设置包围标记;根据所述GCC插入请求,读取缓存在所述GCC信道中的第三GFP包。
  21. 根据权利要求18所述的装置,其中,所述第二接收单元,还配置为根据业务的申请信息和CPU的配置信息,确定所述第三GFP包中OTUCn参与建立所述GCC信道的OTUC;根据参与建立所述GCC信道的OTUC发出的GCC插入请求,读取缓存在所述GCC信道中的所述第三GFP包。
  22. 根据权利要求18所述的装置,其中,所述装置还包括:
    第二加扰单元,配置为根据标记的通道号对读取出的所述第三GFP包进行时分同步;将同步成功后的所述第三GFP包进行第二加扰,得到第二 加扰后的所述第三GFP包;
    所述分发单元,还配置为根据业务的申请信息和CPU的配置信息读取第二加扰后的所述第三GFP包;并向所述OTUCn中参与建立所述GCC信道的OTUC发送第二加扰后的所述第三GFP包。
  23. 一种计算机存储介质,所述计算机存储介质中存储有计算机可执行指令,所述计算机可执行指令用于执行权利要求1至6任一项所述的光通道传输单元帧的传输方法。
  24. 一种计算机存储介质,所述计算机存储介质中存储有计算机可执行指令,所述计算机可执行指令用于执行权利要求7至11任一项所述的光通道传输单元帧的传输方法。
PCT/CN2017/089708 2016-12-01 2017-06-23 光通道传输单元帧的传输方法、装置和计算机存储介质 WO2018099053A1 (zh)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201611091199.9A CN108134646B (zh) 2016-12-01 2016-12-01 一种光传输单元帧的传输方法及装置
CN201611091199.9 2016-12-01

Publications (1)

Publication Number Publication Date
WO2018099053A1 true WO2018099053A1 (zh) 2018-06-07

Family

ID=62242309

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2017/089708 WO2018099053A1 (zh) 2016-12-01 2017-06-23 光通道传输单元帧的传输方法、装置和计算机存储介质

Country Status (2)

Country Link
CN (1) CN108134646B (zh)
WO (1) WO2018099053A1 (zh)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114531424B (zh) * 2020-10-31 2023-11-10 华为技术有限公司 业务数据传输方法、通信网络、业务接收设备及存储介质

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101035112A (zh) * 2006-03-06 2007-09-12 中兴通讯股份有限公司 一种传送附加信息的装置及方法
CN101686416A (zh) * 2008-09-27 2010-03-31 华为技术有限公司 通过光传送网传送光通道传输单元的方法、装置及网络系统
US20120082455A1 (en) * 2010-10-05 2012-04-05 Bardalai Snigdho C TE-Link Bandwidth Model for ODU Switch Capable OTN Interfaces

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101686420A (zh) * 2008-09-28 2010-03-31 华为技术有限公司 光传送网中信息传输方法及网元
US20160241332A1 (en) * 2013-12-13 2016-08-18 Mitsubishi Electric Corporation Reception device, transmission device, optical transmission device, optical transmission system, and monitoring method

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101035112A (zh) * 2006-03-06 2007-09-12 中兴通讯股份有限公司 一种传送附加信息的装置及方法
CN101686416A (zh) * 2008-09-27 2010-03-31 华为技术有限公司 通过光传送网传送光通道传输单元的方法、装置及网络系统
US20120082455A1 (en) * 2010-10-05 2012-04-05 Bardalai Snigdho C TE-Link Bandwidth Model for ODU Switch Capable OTN Interfaces

Also Published As

Publication number Publication date
CN108134646A (zh) 2018-06-08
CN108134646B (zh) 2019-10-18

Similar Documents

Publication Publication Date Title
CN106878138B (zh) 一种报文传输方法和装置
US7349537B2 (en) Method for data encryption in an ethernet passive optical network
US8335316B2 (en) Method and apparatus for data privacy in passive optical networks
CN106717111B (zh) 接收cpri数据流和接收以太网帧的方法、装置及系统
CN108880722B (zh) 时钟同步的方法、系统和光传输设备
CN101783789B (zh) 网络数据包传输处理方法、设备及系统
CN102132530A (zh) 在网元中集成精确时间协议和介质访问控制安全的方法和装置
US7627747B2 (en) Hardware/software partitioning for encrypted WLAN communications
CN1972247A (zh) 基于分组的交互式电路仿真服务和ip/mpls分组处理
CN110663217A (zh) 利用帧属性的可配置业务分组引擎
US20160007103A1 (en) Optical Channel Data Unit Service Transmission Apparatus and Method
CN113949718B (zh) 基于e1及ip混合承载的电力专网调度放号系统及方法
CN110620762A (zh) 基于rdma的数据传输方法、网卡、服务器及介质
WO2020181462A1 (zh) 交互时钟同步报文的方法及装置
CN104038505A (zh) 一种IPSec防重放的方法和装置
US10798472B2 (en) Data transmission method, data receiving method, optical line terminal and optical network unit
CN110381071A (zh) 一种报文传输方法、装置及发送方设备
WO2010025628A1 (zh) 一种物理层数据传输的方法、装置及系统
WO2018099053A1 (zh) 光通道传输单元帧的传输方法、装置和计算机存储介质
CN108111515B (zh) 一种适用于卫星通信的端到端安全通信加密方法
CN108848090B (zh) 基于ipsec的报文转发方法、网关设备及系统
CN114826748B (zh) 基于rtp、udp及ip协议的音视频流数据加密方法和装置
CN113839923B (zh) 一种面向多节点的高性能处理方法
US11677727B2 (en) Low-latency MACsec authentication
CN114024598A (zh) 前传接口测试方法及装置

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 17876357

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 17876357

Country of ref document: EP

Kind code of ref document: A1