A service mapping encapsulation method, device and computer-readable storage medium

By slicing the service data stream and encapsulating it with CID-identified GFP-C, the problem of OTU1 interface uplink bandwidth waste is solved, efficient access and independent transmission of multiple services are achieved, and the utilization rate of OTU0 channel resources and clock transparency capabilities are improved.

CN114430574BActive Publication Date: 2025-09-09CHINA MOBILE COMM LTD RES INST +1
View PDF 4 Cites 0 Cited by

Patent Information

Application Number
CN202011098723.1
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2020-10-14
Publication Date
2025-09-09
Estimated Expiration
2040-10-14

AI Technical Summary

Technical Problem

In a metropolitan area network (MAN) environment, existing technologies result in a situation where when the OTU1 interface is connected to the metropolitan area OTN network, the actual service traffic is small but a large amount of bandwidth resources are occupied, resulting in a waste of network bandwidth resources and insufficient capacity utilization in OTU0.

Method used

The service mapping encapsulation method is adopted to slice the data stream of each type of service, and a user identifier CID is assigned to each slice. It is encapsulated and mapped to the wavelength converter OTU0 through GFP-C, realizing efficient access and independent transmission of multiple services.

Benefits of technology

It realizes the simultaneous transmission of multiple services in a single ODU0 channel, improves the utilization of OTU0 channel resources, expands the maximum bandwidth utilization from 622M to 1087M, supports clock transparent transmission of each service, and ensures the independence of the clock frequency of each type of service.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN114430574B_ABST
    Figure CN114430574B_ABST
Patent Text Reader

Abstract

An embodiment of the present invention provides a service mapping and encapsulation method, device, and computer-readable storage medium. The method includes: a transmitting end slicing the data stream of each type of service; assigning a user identifier CID to each obtained slice; encapsulating the N identified slices and then mapping them to the wavelength converter OTU0; N is an integer less than or equal to 256.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the field of mobile communication technology, and in particular to a service mapping encapsulation method, device and computer-readable storage medium. Background Art

[0002] In metropolitan area networks (MANs), to facilitate access to customer-facing services, operators deploy customer-side equipment, such as CPE OTN devices. Currently, the CPE OTN uplink interface is a 2.5G OTU1. The client signal received on the client side may be a GE (1.25G), FE (100M), STM-4 (622M), STM-1 (155M), or even several E1s (2M). This results in very little actual traffic encapsulated into the 2.5G uplink OTU1 IrDI interface. When a 2.5G OTU1 interface is uplinked to the metropolitan area OTN network, the network creates a 2.5G channel. Even if the actual service traffic on this channel is only a few hundred, tens of megabytes, or even a few megabytes, encapsulating it in a 2.5G channel for transmission wastes bandwidth resources in the metropolitan area OTN network.

[0003] To efficiently carry small-granular services, a new IrDI (Inter-Domain Interconnection) interface, OTU0, can be used. Using the OTU0 IrDI interface, which operates at approximately 1Gbps, multiple service signals are first encapsulated in SDH VC containers and then further encapsulated into OTU0. However, since SDH VC containers typically support VC4 (STM-1, 155M), VC4-4C (STM-4, 622M), VC4-16C (STM-16, 2.5G), and VC4-64C (STM-64, 10G), there are no VC containers that match the 1.32G rate of OTU0. Consequently, an OTU0 can only carry a single VC4-4C (622M), utilizing only half of its capacity. Summary of the Invention

[0004] In view of this, embodiments of the present invention are intended to provide a service mapping encapsulation method, apparatus, and computer-readable storage medium.

[0005] To achieve the above-mentioned purpose, the technical solution of the embodiment of the present invention is implemented as follows:

[0006] An embodiment of the present invention provides a service mapping encapsulation method, which is applied to a transmitting end and includes:

[0007] Slice the data stream for each type of business;

[0008] Assign a user identifier CID to each obtained slice;

[0009] The identified N slices are encapsulated and then mapped to the wavelength converter OTU0; N is an integer less than or equal to 256.

[0010] The slicing of the data stream for each type of service includes:

[0011] The constant bit rate (CBR) data stream of each type of service is sliced, and each slice is a packet message. The average length of each slice is Byte, Byte+1, or Byte-1.

[0012] The packet message carries user identification CID information, and the value range of the user identification CID field is 0-255.

[0013] The frequency of occurrence of slices with an average length of Byte+1 or Byte-1 directly reflects the frequency deviation between the CBR clock and the system reference clock. The higher the frequency, the greater the frequency deviation between the two clocks.

[0014] The transmission clock of the wavelength converter ODU0 is phase-locked with the system reference clock.

[0015] A user identifier CID is assigned to each obtained slice, including:

[0016] Each slice is identified by the user identification CID field of the CBR generic framing procedure GFP-C extension header.

[0017] The step of encapsulating the identified N slices and mapping them to the wavelength converter OTU0 includes:

[0018] GFP-C encapsulation is performed on N slices identified by the user identifier CID field. Multiple GFP-C services are aggregated into a single GFP-C service flow and mapped into the optical channel data unit ODU0, and then mapped into OTU0.

[0019] An embodiment of the present invention further provides a service mapping encapsulation method, which is applied to a receiving end and includes:

[0020] Recover a data stream consisting of N slices from the wavelength converter OTU0;

[0021] Obtain each slice based on the user identifier CID;

[0022] The obtained slices are reassembled to restore the data flow of the corresponding service.

[0023] The data stream consisting of N slices is recovered from the wavelength converter OTU0, including:

[0024] Recover the optical channel data unit ODU from OTU0;

[0025] A GFP-C service flow consisting of N slices is recovered from ODU0, and a system reference clock of the opposite end is recovered from the ODU0.

[0026] The obtaining of each slice based on the user identifier CID includes:

[0027] Identify and distinguish each slice from the GFP-C service flow based on a user identifier CID;

[0028] The frequency offset of the CBR clock relative to the reference clock of the peer system is obtained based on the frequency of received slices with an average length of Byte ± 1 byte.

[0029] The step of reassembling the obtained slices to restore the data flow of the corresponding service includes:

[0030] The CBR clock and the data stream of the corresponding service are reconstructed based on the frequency deviation of the CBR clock relative to the reference clock of the opposite system and the reference clock information of the opposite system.

[0031] An embodiment of the present invention further provides a service mapping encapsulation device, which is applied to a transmitting end and includes:

[0032] Slicing module, used to slice the data flow of each type of business;

[0033] A configuration module is used to assign a user identifier CID to each obtained slice;

[0034] The processing module is used to encapsulate the marked N slices and then map them to the wavelength converter OTU0; the N is an integer less than or equal to 256.

[0035] An embodiment of the present invention further provides a service mapping encapsulation device, which is applied to a receiving end and includes:

[0036] A restoration module is used to restore a data stream consisting of N slices from the wavelength converter OTU0;

[0037] An identification module, configured to obtain each slice based on a user identifier CID;

[0038] The reassembly module is used to reassemble the obtained slices and restore the data flow of the corresponding business.

[0039] An embodiment of the present invention further provides a service mapping encapsulation device, the device comprising: a processor and a memory for storing a computer program that can be run on the processor,

[0040] Wherein, the processor is used to execute the steps of the above method when running the computer program.

[0041] An embodiment of the present invention further provides a computer-readable storage medium having a computer program stored thereon, which implements the steps of the above method when executed by a processor.

[0042] The service mapping and encapsulation method, device, and computer-readable storage medium provided by the embodiments of the present invention slice the data stream of each type of service at the transmitting end; assign a user identifier CID to each obtained slice; encapsulate the N identified slices and then map them to the wavelength converter OTU0; N is an integer less than or equal to 256. The embodiments of the present invention can simultaneously transmit multiple services within a single ODU0 channel, expanding the use of a maximum of 1087M from the previous maximum of 622M. This enables efficient access to multiple services and independent transmission of each other, fully utilizing OTU0 channel resources, and improving ODU0 encapsulation efficiency.

[0043] In addition, the embodiment of the present invention also supports clock transparent transmission for each service. By processing slice synchronization information, the independence of the clock frequency of each type of service can be guaranteed. BRIEF DESCRIPTION OF THE DRAWINGS

[0044] Figure 1 Schematic diagram of the service mapping encapsulation method according to an embodiment of the present invention Figure 1 ;

[0045] Figure 2 Schematic diagram of the service mapping encapsulation method according to an embodiment of the present invention Figure 2 ;

[0046] Figure 3 Schematic diagram of the structure of the service mapping encapsulation device according to an embodiment of the present invention Figure 1 ;

[0047] Figure 4 Schematic diagram of the structure of the service mapping encapsulation device according to an embodiment of the present invention Figure 2 ;

[0048] Figure 5 This is a schematic diagram of the service mapping encapsulation channel described in an embodiment of the present invention;

[0049] Figure 6 This is a schematic diagram of the format of the GFP-C message described in the scenario embodiment of the present invention. DETAILED DESCRIPTION

[0050] The present invention will be described below with reference to the accompanying drawings and embodiments.

[0051] The embodiment of the present invention provides a service mapping encapsulation method, such as Figure 1As shown, the method is applied to the sending end and includes:

[0052] Step 101: Slice the data stream of each type of service;

[0053] Step 102: assign a user identifier CID to each obtained slice;

[0054] Step 103: Encapsulate the marked N slices and then map them to the wavelength converter OTU0; N is an integer less than or equal to 256.

[0055] The embodiment of the present invention can simultaneously transmit multiple services in a single ODU0 channel, achieve efficient access of multiple services and independent transmission of multiple services, fully utilize OTU0 channel resources, and improve ODU0 encapsulation efficiency.

[0056] In the embodiment of the present invention, slicing the data stream of each type of service includes:

[0057] The constant bit rate (CBR) data stream of each type of service is sliced, and each slice is a packet message. The average length of each slice is Byte, Byte+1, or Byte-1.

[0058] In the embodiment of the present invention, the packet message carries user identification CID information, and the value range of the user identification CID field is 0-255.

[0059] In the embodiment of the present invention, the occurrence frequency of slices with an average length of Byte+1 or Byte-1 directly reflects the frequency deviation between the CBR clock and the system reference clock; the higher the occurrence frequency, the greater the frequency deviation between the two clocks.

[0060] In the embodiment of the present invention, the transmission clock of the wavelength converter ODU0 is phase-locked with the system reference clock.

[0061] In the embodiment of the present invention, a user identifier CID is allocated to each obtained slice, including:

[0062] Each slice is identified by the user identification CID field of the CBR generic framing procedure GFP-C extension header.

[0063] In the embodiment of the present invention, encapsulating the marked N slices and then mapping them to the wavelength converter OTU0 includes:

[0064] GFP-C encapsulation is performed on N slices identified by the user identifier CID field. Multiple GFP-C services are aggregated into a single GFP-C service flow and mapped into the optical channel data unit ODU0, and then mapped into OTU0.

[0065] The embodiment of the present invention also provides a service mapping encapsulation method, such as Figure 2 As shown, the method is applied to the receiving end, including:

[0066] Step 201: Recover a data stream consisting of N slices from the wavelength converter OTU0;

[0067] Step 202: Obtain each slice based on the user identifier CID;

[0068] Step 203: reassemble the obtained slices to restore the data flow of the corresponding service.

[0069] In the embodiment of the present invention, the data stream consisting of N slices is recovered from the wavelength converter OTU0, including:

[0070] Recover the optical channel data unit ODU from OTU0;

[0071] A GFP-C service flow consisting of N slices is recovered from ODU0, and a system reference clock of the opposite end is recovered from the ODU0.

[0072] In the embodiment of the present invention, obtaining each slice based on the user identifier CID includes:

[0073] Identify and distinguish each slice from the GFP-C service flow based on a user identifier CID;

[0074] The frequency offset of the CBR clock relative to the reference clock of the peer system is obtained based on the frequency of received slices with an average length of Byte ± 1 byte.

[0075] In the embodiment of the present invention, reassembling the obtained slices to restore the data flow of the corresponding service includes:

[0076] The CBR clock and the data stream of the corresponding service are reconstructed based on the frequency deviation of the CBR clock relative to the reference clock of the opposite system and the reference clock information of the opposite system.

[0077] In order to implement the above method embodiment, the embodiment of the present invention also provides a service mapping encapsulation device, such as Figure 3 As shown, the device is applied to the transmitting end and includes:

[0078] Slicing module 301, used to slice the data flow of each type of business;

[0079] A configuration module 302 is configured to assign a user identifier CID to each obtained slice;

[0080] The processing module 303 is configured to encapsulate the marked N slices and then map them to the wavelength converter OTU0; N is an integer less than or equal to 256.

[0081] In the embodiment of the present invention, the slicing module 301 slices the data stream of each type of service, including:

[0082] The constant bit rate (CBR) data stream of each type of service is sliced, and each slice is a packet message. The average length of each slice is Byte, Byte+1, or Byte-1.

[0083] In the embodiment of the present invention, the packet message carries user identification CID information, and the value range of the user identification CID field is 0-255.

[0084] In the embodiment of the present invention, the occurrence frequency of slices with an average length of Byte+1 or Byte-1 directly reflects the frequency deviation between the CBR clock and the system reference clock; the higher the occurrence frequency, the greater the frequency deviation between the two clocks.

[0085] In the embodiment of the present invention, the transmission clock of the wavelength converter ODU0 is phase-locked with the system reference clock.

[0086] In the embodiment of the present invention, the configuration module 302 allocates a user identifier CID to each obtained slice, including:

[0087] Each slice is identified by the user identification CID field of the CBR generic framing procedure GFP-C extension header.

[0088] In the embodiment of the present invention, the processing module 303 encapsulates the marked N slices and then maps them to the wavelength converter OTU0, including:

[0089] GFP-C encapsulation is performed on N slices identified by the user identifier CID field. Multiple GFP-C services are aggregated into a single GFP-C service flow and mapped into the optical channel data unit ODU0, and then mapped into OTU0.

[0090] The embodiment of the present invention also provides a service mapping encapsulation device, such as Figure 4 As shown, the device is applied to a receiving end and includes:

[0091] Restoration module 401, configured to restore a data stream consisting of N slices from wavelength converter OTU0;

[0092] An identification module 402 is configured to identify each slice based on a user identifier CID;

[0093] The reassembly module 403 is used to reassemble the obtained slices to restore the data flow of the corresponding service.

[0094] In the embodiment of the present invention, the restoration module 401 restores a data stream consisting of N slices from the wavelength converter OTU0, including:

[0095] Recover the optical channel data unit ODU from OTU0;

[0096] A GFP-C service flow consisting of N slices is recovered from ODU0, and a system reference clock of the opposite end is recovered from the ODU0.

[0097] In the embodiment of the present invention, the identification module 402 obtains each slice based on the user identifier CID, including:

[0098] Identify and distinguish each slice from the GFP-C service flow based on a user identifier CID;

[0099] The frequency offset of the CBR clock relative to the reference clock of the peer system is obtained based on the frequency of received slices with an average length of Byte ± 1 byte.

[0100] In the embodiment of the present invention, the reassembly module 403 reassembles the obtained slices to restore the data flow of the corresponding service, including:

[0101] The CBR clock and the data stream of the corresponding service are reconstructed based on the frequency deviation of the CBR clock relative to the reference clock of the opposite system and the reference clock information of the opposite system.

[0102] An embodiment of the present invention further provides a service mapping encapsulation device, the device comprising: a processor and a memory for storing a computer program that can be run on the processor,

[0103] Wherein, when the processor is used to run the computer program, it executes:

[0104] Slice the data stream for each type of business;

[0105] Assign a user identifier CID to each obtained slice;

[0106] The identified N slices are encapsulated and then mapped to the wavelength converter OTU0; N is an integer less than or equal to 256.

[0107] The slicing of the data stream for each type of service includes:

[0108] The constant bit rate (CBR) data stream of each type of service is sliced, and each slice is a packet message. The average length of each slice is Byte, Byte+1, or Byte-1.

[0109] The packet message carries user identification CID information, and the value range of the user identification CID field is 0-255.

[0110] The frequency of occurrence of slices with an average length of Byte+1 or Byte-1 directly reflects the frequency deviation between the CBR clock and the system reference clock. The higher the frequency, the greater the frequency deviation between the two clocks.

[0111] The transmission clock of the wavelength converter ODU0 is phase-locked with the system reference clock.

[0112] When assigning a user identifier CID to each obtained slice, the processor is further configured to execute, when running the computer program:

[0113] Each slice is identified by the user identification CID field of the CBR generic framing procedure GFP-C extension header.

[0114] When encapsulating the marked N slices and mapping them to the wavelength converter OTU0, the processor is further configured to execute, when running the computer program:

[0115] GFP-C encapsulation is performed on N slices identified by the user identifier CID field. Multiple GFP-C services are aggregated into a single GFP-C service flow and mapped into the optical channel data unit ODU0, and then mapped into OTU0.

[0116] An embodiment of the present invention further provides a service mapping encapsulation device, the device comprising: a processor and a memory for storing a computer program that can be run on the processor,

[0117] Wherein, when the processor is used to run the computer program, it executes:

[0118] Recover a data stream consisting of N slices from the wavelength converter OTU0;

[0119] Obtain each slice based on the user identifier CID;

[0120] The obtained slices are reassembled to restore the data flow of the corresponding service.

[0121] When the data stream consisting of N slices is recovered from the wavelength converter OTU0, the processor is further configured to execute, when running the computer program:

[0122] Recover the optical channel data unit ODU from OTU0;

[0123] A GFP-C service flow consisting of N slices is recovered from ODU0, and a system reference clock of the opposite end is recovered from the ODU0.

[0124] When each slice is obtained based on the user identifier CID, the processor is further configured to execute, when running the computer program:

[0125] Identify and distinguish each slice from the GFP-C service flow based on a user identifier CID;

[0126] The frequency offset of the CBR clock relative to the reference clock of the peer system is obtained based on the frequency of received slices with an average length of Byte ± 1 byte.

[0127] When the obtained slices are reassembled to restore the data flow of the corresponding service, the processor is further configured to execute, when running the computer program:

[0128] The CBR clock and the data stream of the corresponding service are reconstructed based on the frequency deviation of the CBR clock relative to the reference clock of the opposite system and the reference clock information of the opposite system.

[0129] It should be noted that the apparatus provided in the above embodiments, when performing service mapping encapsulation, uses the division of the aforementioned program modules as an example. In actual applications, the aforementioned processing can be assigned to different program modules as needed, that is, the internal structure of the device can be divided into different program modules to complete all or part of the aforementioned processing. Furthermore, the apparatus provided in the above embodiments and the corresponding method embodiments are based on the same concept. The specific implementation process is detailed in the method embodiments and will not be repeated here.

[0130] In an exemplary embodiment, an embodiment of the present invention further provides a computer-readable storage medium, which can be a memory such as FRAM, ROM, PROM, EPROM, EEPROM, Flash Memory, magnetic surface storage, optical disk, or CD-ROM; or it can be various devices including one or any combination of the above memories, such as mobile phones, computers, tablet devices, personal digital assistants, etc.

[0131] An embodiment of the present invention further provides a computer-readable storage medium having a computer program stored thereon. When the computer program is executed by a processor, the computer program performs:

[0132] Slice the data stream for each type of business;

[0133] Assign a user identifier CID to each obtained slice;

[0134] The identified N slices are encapsulated and then mapped to the wavelength converter OTU0; N is an integer less than or equal to 256.

[0135] The slicing of the data stream for each type of service includes:

[0136] The constant bit rate (CBR) data stream of each type of service is sliced, and each slice is a packet message. The average length of each slice is Byte, Byte+1, or Byte-1.

[0137] The packet message carries user identification CID information, and the value range of the user identification CID field is 0-255.

[0138] The frequency of occurrence of slices with an average length of Byte+1 or Byte-1 directly reflects the frequency deviation between the CBR clock and the system reference clock. The higher the frequency, the greater the frequency deviation between the two clocks.

[0139] The transmission clock of the wavelength converter ODU0 is phase-locked with the system reference clock.

[0140] When a user identifier CID is assigned to each obtained slice, when the computer program is executed by the processor, the computer program further executes:

[0141] Each slice is identified by the user identification CID field of the CBR generic framing procedure GFP-C extension header.

[0142] When the marked N slices are encapsulated and then mapped to the wavelength converter OTU0, the computer program is executed by the processor and further performs:

[0143] GFP-C encapsulation is performed on N slices identified by the user identifier CID field. Multiple GFP-C services are aggregated into a single GFP-C service flow and mapped into the optical channel data unit ODU0, and then mapped into OTU0.

[0144] An embodiment of the present invention further provides a computer-readable storage medium having a computer program stored thereon. When the computer program is executed by a processor, the computer program performs:

[0145] Recover a data stream consisting of N slices from the wavelength converter OTU0;

[0146] Obtain each slice based on the user identifier CID;

[0147] The obtained slices are reassembled to restore the data flow of the corresponding service.

[0148] When the data stream consisting of N slices is recovered from the wavelength converter OTU0, the computer program is executed by the processor and further performs:

[0149] Recover the optical channel data unit ODU from OTU0;

[0150] A GFP-C service flow consisting of N slices is recovered from ODU0, and a system reference clock of the opposite end is recovered from the ODU0.

[0151] When each slice is obtained based on the user identifier CID, the computer program, when executed by the processor, further executes:

[0152] Identify and distinguish each slice from the GFP-C service flow based on a user identifier CID;

[0153] The frequency offset of the CBR clock relative to the reference clock of the peer system is obtained based on the frequency of received slices with an average length of Byte ± 1 byte.

[0154] When the obtained slices are reassembled to restore the data flow of the corresponding service, the computer program, when executed by the processor, further performs:

[0155] The CBR clock and the data stream of the corresponding service are reconstructed based on the frequency deviation of the CBR clock relative to the reference clock of the opposite system and the reference clock information of the opposite system.

[0156] The present invention is described below with reference to scenario embodiments.

[0157] This embodiment provides a service mapping and encapsulation method that maps as many services as possible to ODU0 (OTU0), fully utilizing OTU0 channel resources. This embodiment also provides a GFP-C mapping protocol to enable efficient access and independent transmission of multiple services. GFP-C (Generic Framing Procedure for CBR) enables simultaneous transmission of multiple small-granularity constant bit rate (CBR) services within a single ODU0 channel and supports clock transparency for each service. Small-granularity CBR services include FE, GE, STM-1, and STM-4.

[0158] In the OTN network, the implementation of GFP-C functions includes the encapsulation and decapsulation of services. The encapsulation process is carried out on the service access side card of the device. By executing the GFP-C process, the small-granularity service is encapsulated into ODU0 (a service cross-linking particle of OTN technology), and then enters the line side for transmission. After reaching the opposite node, the GFP-C decapsulation is completed on the corresponding service side card. Figure 5 As shown, the implementation steps are as follows:

[0159] Step 1: At the service card of the transmitting device, for E1, STM-1, and STM-4 services, as well as FE and GE services, the service card first slices the CBR data stream. Each slice is a packet message (GFP-C message).

[0160] Step 2: Use the CID field of the GFP-C extension header to identify each packet message for GFP-C encapsulation (up to 256 packets can be encapsulated). Multiple GFP-C services are aggregated into a single GFP-C service flow and mapped into ODU0, and then mapped into OTU0.

[0161] Step 3: The receiving end recovers ODU0 from OTU0, and then recovers the GFP-C service flow. The CID is used to identify each packet in the GFP-C service flow, and the packet can be recovered from the GFP-C service flow.

[0162] Step 4: The device egress reassembles the packets to recover the original CBR data stream and recovers the CBR clock using a clock recovery algorithm.

[0163] The format of GFP-C message is as follows: Figure 6 The interoperability requirements for the corresponding fields are shown in Table 1 below:

[0164] Field Interoperability requirements EXI Set to 0001, indicating Linear Frame PFI Set to 1 to indicate that payload FCS is carried CID 0..255, indicating Client ID (indicating the number of small particles) Payload Customer's original data

[0165] Table 1

[0166] In order to achieve clock transparent transmission of business signals, Figure 5 In the example, the service board of node A also performs the following functions:

[0167] 1. Slice the CBR data stream. The average slice length is B (bytes), and occasionally it may be B+1 or B-1.

[0168] Second, the frequency of occurrence of slices with an average length of B±1 directly reflects the frequency deviation between the CBR clock and the system reference clock. The higher the frequency, the greater the frequency deviation, and vice versa.

[0169] 3. The ODU0 transmission clock must be phase-locked with the system reference clock.

[0170] The service card of Node B performs the following functions:

[0171] 1. Recover the peer system reference clock from the received ODU0.

[0172] Second, recover the packet message from the GFP-C service flow and calculate the frequency offset of the CBR clock relative to the reference clock of the peer system based on the frequency of received slices of length B±1.

[0173] 3. Reconstruct the CBR clock and data stream based on the frequency offset information and the reference clock information of the peer system.

[0174] It should be noted that the node B can communicate with multiple different nodes A at the same time, and each node A and node B can operate in different clock domains.

[0175] As can be seen from Table 3 below, through the above service processing in this embodiment, compared to the encapsulation method in Table 2, this embodiment can additionally implement service encapsulation methods of sequence numbers 2, 5, 7, 9, and 10 for each service. Multiple services can be simultaneously mapped into one ODU0, and the maximum bandwidth utilization can reach 1087M, far exceeding the 622M in Table 2.

[0176]

[0177] Table 2 Existing service encapsulation methods

[0178]

[0179]

[0180] Table 3 Service encapsulation method of the present invention

[0181] It can be seen that the embodiment of the present invention can simultaneously transmit multiple services in a single ODU0 channel, expanding the use of a maximum of 1087M from the previous maximum of 622M. This can achieve efficient access and independent transmission of multiple services, fully utilize OTU0 channel resources, and improve ODU0 encapsulation efficiency.

[0182] In addition, the embodiment of the present invention also supports clock transparent transmission for each service. By processing slice synchronization information, the independence of the clock frequency of each type of service can be guaranteed.

[0183] The above description is merely a preferred embodiment of the present invention and is not intended to limit the scope of protection of the present invention.

Claims

1. A service mapping encapsulation method, characterized in that: The method is applied to the sending end and includes: Slice the data stream for each type of business; Assign a user identifier CID to each obtained slice; Encapsulate the identified N slices and then map them to the wavelength converter OTU0; N is an integer less than or equal to 256; The slicing of the data stream for each type of service includes: The CBR data stream of each service type is sliced, with each slice forming a packet. The average length of each slice is Byte, Byte+1, or Byte-1. The frequency of slices with an average length of Byte+1 or Byte-1 directly reflects the frequency deviation between the CBR clock and the system reference clock. The higher the frequency, the greater the frequency deviation between the two clocks. The step of encapsulating the identified N slices and mapping them to the wavelength converter OTU0 includes: GFP-C encapsulates the N slices identified by the user identifier CID field, aggregates multiple GFP-C services into a single GFP-C service flow and maps it into the optical channel data unit ODU0, and then maps it into OTU0.

2. The method according to claim 1, characterized in that The packet message carries user identification CID information, and the value range of the user identification CID field is 0-255.

3. The method according to claim 1, characterized in that The transmission clock of wavelength converter ODU0 is phase-locked with the system reference clock.

4. The method according to claim 1, wherein Each slice is assigned a user identifier (CID), including: Each slice is identified by the user identification CID field of the CBR generic framing procedure GFP-C extension header.

5. A service mapping encapsulation method, characterized in that: The method is applied at the receiving end and includes: Recover a data stream consisting of N slices from the wavelength converter OTU0; Obtain each slice based on user identification CID; Reassembling the obtained slices to restore the data flow of the corresponding service; The data stream consisting of N slices is recovered from the wavelength converter OTU0, including: Recover the optical channel data unit ODU0 from OTU0; Recovering a GFP-C service flow consisting of N slices from ODU0, and recovering the system reference clock of the other end from the ODU0; The obtaining of each slice based on the user identifier CID includes: Identify and distinguish each slice from the GFP-C service flow based on a user identifier CID; The frequency offset of the CBR clock relative to the reference clock of the peer system is obtained based on the frequency of received slices with an average length of Byte ± 1 byte. The step of reassembling the obtained slices to restore the data flow of the corresponding service includes: Reconstructing the CBR clock and the data stream of the corresponding service based on the frequency deviation of the CBR clock relative to the reference clock of the opposite system and the reference clock information of the opposite system; The data stream composed of the N slices is a GFP-C service stream composed of N slices, and each slice of the N slices is identified based on a user identifier CID field and is GFP-C encapsulated.

6. A service mapping encapsulation device, characterized in that: The device is applied to the transmitting end and includes: Slicing module, used to slice the data flow of each type of business; A configuration module is used to assign a user identifier CID to each obtained slice; A processing module, configured to encapsulate the identified N slices and then map them to the wavelength converter OTU0; N is an integer less than or equal to 256; The slicing module is specifically configured to slice the constant bit rate (CBR) data stream for each type of service, with each slice being a packet. The average length of each slice is Byte, Byte+1, or Byte-1. The frequency of occurrence of slices with an average length of Byte+1 or Byte-1 directly reflects the frequency deviation between the CBR clock and the system reference clock. The higher the frequency, the greater the frequency deviation between the two clocks. The processing module is specifically used to perform GFP-C encapsulation on the N slices identified by the user identifier CID field, aggregate multiple GFP-C services into a single GFP-C service flow and map it into the optical channel data unit ODU0, and then map it into OTU0.

7. A service mapping encapsulation device, characterized in that: The device is applied to the receiving end and includes: A restoration module is used to restore a data stream consisting of N slices from the wavelength converter OTU0; An identification module, configured to obtain each slice based on a user identifier CID; A reassembly module, configured to reassemble the obtained slices and restore the data flow of the corresponding service; The restoration module is specifically configured to restore an optical channel data unit (ODU0) from OTU0, restore a GFP-C service flow consisting of N slices from ODU0, and recover a system reference clock of the other end from the ODU0. The identification module is specifically configured to identify and distinguish each slice from the GFP-C service flow based on a user identifier CID; obtain a frequency offset of a CBR clock relative to a reference clock of a peer system based on a frequency of received slices with an average length of Byte±1 byte; The reassembly module is specifically configured to reconstruct the CBR clock and the data stream of the corresponding service based on the frequency deviation of the CBR clock relative to the reference clock of the peer system and the reference clock information of the peer system; The data stream composed of the N slices is a GFP-C service stream composed of N slices, and each slice of the N slices is identified based on a user identifier CID field and is GFP-C encapsulated.

8. A service mapping encapsulation device, characterized in that: The apparatus comprises: a processor and a memory for storing a computer program capable of running on the processor, Wherein, when the processor is used to run the computer program, it executes the steps of the method according to any one of claims 1 to 4, or executes the steps of the method according to claim 5.

9. A computer-readable storage medium having a computer program stored thereon, characterized in that: When the computer program is executed by a processor, the computer program implements the steps of the method according to any one of claims 1 to 4 or the steps of the method according to claim 5.

Citation Information

Patent Citations

  • A device and method for switching mapping modes

    CN101150875A

  • Method and device for mixing and concourse of multi-service based on all-purpose framing regulations

    CN101299649A

  • Method for mapping packet service onto optical transport network, and OTN device

    US20180123718A1

  • Method and system for transporting constant bit rate clients across a packet interface

    US9019997B1