Customer service bearer method and apparatus
By mapping customer services to identification frames in OTN and utilizing the overhead areas of the frame header and payload blocks to carry control information, the problem of severe bandwidth waste in existing technologies is solved, and efficient carrying of service signals below 1.25G is achieved.
Patent Information
- Application Number
- CN202110063489.7
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2021-01-18
- Publication Date
- 2026-11-24
- Estimated Expiration
- 2041-01-18
AI Technical Summary
Existing OTN technology suffers from significant bandwidth waste when carrying service signals below 1.25G, especially E1 signals, and lacks effective methods to carry low-rate signals of the VC-n type.
Customer services are mapped to identification frames, which consist of a fixed number of coded blocks, including a frame header block and a frame payload block. These blocks are mapped to service layer signals through a bit synchronization mapping procedure (BMP). Control information and customer services are carried in the overhead areas of the frame header block and the frame payload block.
It enables efficient carrying of customer services with fine bandwidth granularity in OTN, reduces bandwidth waste, and improves signal transmission efficiency.
Smart Images

Figure CN112865911B_ABST
Abstract
Description
Technical Field
[0001] The embodiments of the present invention relate to the field of communications, and more specifically, to a method and apparatus for carrying customer services. Background Technology
[0002] In the existing definition of an Optical Transport Network (OTN), the method for loading multiple service signals into the OTN payload is to divide the OTN payload into n time slots, such as... Figure 1 As shown, the service signal is then loaded into one or more time slots in the optical transport network signal payload, with the time slots implemented in a byte-interleaved manner.
[0003] According to the existing optical transport network standard G.709, the smallest time slot granularity in current OTN technology is 1.25G. This granularity results in significant bandwidth waste when carrying services with granularities lower than 1.25G, such as FE, STM-1, and E1. For example, an E1 signal of 2M, when placed in a 1.25G time slot, results in bandwidth waste exceeding 99%. Therefore, a transmission technology is needed to efficiently carry small-granularity services in OTN. A current research focus is on using Optical Service Units (OSUs) to carry small-granularity services and using Payload Blocks (PBs) to divide the OTN frame payload area, such as... Figure 2 As shown, customer services are first mapped to the OSU, and then the OSU is mapped to the PB. For VC-n (Virtual Container) services, the rate is relatively low and there is no independent frame header. How to carry this type of signal requires further research. Summary of the Invention
[0004] This invention provides a method and apparatus for carrying customer services, which at least solves the problem in the related art of how to carry packet customer services with small bandwidth granularity in OTN.
[0005] According to an embodiment of the present invention, a method for carrying customer services is provided, comprising: mapping customer services to an identification frame, wherein the identification frame consists of a fixed number of coded blocks, including a frame header block and a frame payload block; and mapping the identification frame to a service layer signal.
[0006] In an exemplary embodiment, the frame header block includes a synchronization header, an overhead area, and a payload area. The frame payload block includes a synchronization header and a payload area. The frame header block and the payload area of the frame payload block are used to carry the client service. The overhead area of the frame header block is used to carry at least one of the following fields: control block type, client service number information, control block identification information, and reserved information.
[0007] In an exemplary embodiment, the identification frame further includes a frame tail block, which includes a synchronization header, an overhead region, and a payload region. The payload region of the frame tail block is used to carry the client service, and the overhead region of the frame tail block is used to carry at least one of the following fields: control block type, client service number information, control block identification information, and reserved information.
[0008] In an exemplary embodiment, mapping the identification frame to the service layer signal includes: mapping the identification frame to a data frame, wherein the data frame consists of a fixed number of coded blocks, including a data frame header block and a data frame payload block, the data frame header block including a synchronization header and an overhead region, the overhead region being used to carry at least one of the following fields: control block type, customer service number information, control block identification information, clock information, and reserved information; the data frame payload block being used to carry the identification frame and a padding block; and mapping the data frame to the service layer signal.
[0009] In an exemplary embodiment, the clock information is the number of bytes of customer service carried between the last data frame and the current data frame, or the transmission time of the customer service.
[0010] In one exemplary embodiment, the data frame further includes a frame tail block, which includes a synchronization header, a control block type, and fixed sequence padding.
[0011] In an exemplary embodiment, mapping the data frames to the service layer signal includes: interleaving p data frames in units of coded blocks to form a data frame group, where P is an integer greater than 1; and mapping the data frame group to the service layer signal using a bit-synchronous mapping procedure (BMP).
[0012] In one exemplary embodiment, the number of data frames carried in the payload region of the service layer signal is carried in the overhead region of the service layer signal.
[0013] In one exemplary embodiment, the method further includes: extracting the client service from the service layer signal by demapping at the receiving side through the following steps: demapping the OSU frame from the ODU; demapping the identification frame from the OSU frame and locating the synchronization header of the identification frame; locating the frame header block of the identification frame and extracting the client service from the identification frame.
[0014] In an exemplary embodiment, the method further includes: extracting the client service from the service layer signal by demapping at the receiving side through the following steps: demapping the data frame from the service layer signal; locating the synchronization header of the data frame; locating the frame header block of the data frame and obtaining clock information from the frame header block of the data frame; demapping the identification frame from the data frame according to the clock information, and extracting the client service from the identification frame.
[0015] In one exemplary embodiment, the method further includes: extracting the client service from the service layer signal by demapping at the receiving side through the following steps: demapping the data frame group from the service layer signal, deinterleaving the data frame group in units of coded blocks to obtain a data frame; demapping the identification frame and clock information from the data frame, and extracting the client service from the identification frame according to the clock information.
[0016] According to another embodiment of the present invention, a customer service bearer device is provided, comprising: a first mapping module for mapping customer services to an identification frame, wherein the identification frame consists of a fixed number of coded blocks, including a frame header block and a frame payload block; and a second mapping module for mapping the identification frame to a service layer signal.
[0017] In an exemplary embodiment, the frame header block includes a synchronization header, an overhead area, and a payload area. The frame payload block includes a synchronization header and a payload area. The frame header block and the payload area of the frame payload block are used to carry the client service. The overhead area of the frame header block is used to carry at least one of the following fields: control block type, client service number information, control block identification information, and reserved information.
[0018] In an exemplary embodiment, the identification frame further includes a frame tail block, which includes a synchronization header, an overhead region, and a payload region. The payload region of the frame tail block is used to carry the client service, and the overhead region of the frame tail block is used to carry at least one of the following fields: control block type, client service number information, control block identification information, and reserved information.
[0019] In an exemplary embodiment, the second mapping module includes: a first mapping unit for mapping the identification frame to a data frame, wherein the data frame consists of a fixed number of coded blocks, including a data frame header block and a data frame payload block, the data frame header block including a synchronization header and an overhead region, the overhead region being used to carry at least one of the following fields: control block type, customer service number information, control block identification information, clock information, and reserved information; the data frame payload block being used to carry the identification frame and a padding block; and a second mapping unit for mapping the identification frame to the service layer signal.
[0020] In one exemplary embodiment, the data frame further includes a frame tail block, which includes a synchronization header, a control block type, and fixed sequence padding.
[0021] In an exemplary embodiment, the second mapping module includes: an interleaving unit for interleaving p data frames in units of coding blocks to form a data frame group, where P is an integer greater than 1; and a third mapping unit for mapping the data frame group to the service layer signal using a BMP method.
[0022] According to yet another embodiment of the present invention, a computer-readable storage medium is also provided, wherein a computer program is stored therein, wherein the computer program is configured to perform the steps in any of the above method embodiments when executed.
[0023] According to yet another embodiment of the present invention, an electronic device is also provided, including a memory and a processor, wherein the memory stores a computer program and the processor is configured to run the computer program to perform the steps in any of the above method embodiments.
[0024] In the above embodiments of the present invention, customer services are first mapped to identification frames, and then the identification frames are mapped to service layer signals, thereby enabling the carrying of customer services with small bandwidth granularity in OTN. Attached Figure Description
[0025] Figure 1 This is a diagram illustrating the time slot division of OTN frames based on relevant technologies;
[0026] Figure 2 This is a diagram illustrating the division of OTN frames into PBs based on relevant technologies;
[0027] Figure 3 This is a schematic diagram of a computer terminal structure according to an embodiment of the present invention;
[0028] Figure 4 This is a flowchart of a customer service carrying method according to an embodiment of the present invention;
[0029] Figure 5 This is a schematic diagram of a VC-n identification frame according to an embodiment of the present invention;
[0030] Figure 6 This is a schematic diagram of a VC-n identification frame according to another embodiment of the present invention;
[0031] Figure 7 This is a schematic diagram of a VC-n data frame according to an embodiment of the present invention;
[0032] Figure 8This is a schematic diagram of a VC-n data frame group signal according to an embodiment of the present invention;
[0033] Figure 9 This is a schematic diagram of the customer service carrying device according to an embodiment of the present invention;
[0034] Figure 10 This is a flowchart of a customer service carrying method according to Embodiment 1 of the present invention;
[0035] Figure 11 This is a schematic diagram of a VC-n identification frame according to Embodiment 1 of the present invention;
[0036] Figure 12 This is a flowchart of the customer service carrying method according to Embodiment 2 of the present invention;
[0037] Figure 13 This is a schematic diagram of the VC-12 identification frame according to Embodiment 2 of the present invention;
[0038] Figure 14 This is a schematic diagram of a VC-12 data frame according to Embodiment 2 of the present invention;
[0039] Figure 15 This is a flowchart of the customer service carrying method according to Embodiment 3 of the present invention;
[0040] Figure 16 This is a schematic diagram of the VC-12 identification frame according to Embodiment 3 of the present invention;
[0041] Figure 17 This is a schematic diagram of a VC-12 data frame according to Embodiment 3 of the present invention;
[0042] Figure 18 This is a schematic diagram of a VC-12 data frame group according to Embodiment 3 of the present invention. Detailed Implementation
[0043] The embodiments of the present invention will be described in detail below with reference to the accompanying drawings and examples.
[0044] It should be noted that the terms "first," "second," etc., in the specification, claims, and drawings of this invention are used to distinguish similar objects and are not necessarily used to describe a specific order or sequence.
[0045] The methods and embodiments provided in this application can be executed on a mobile terminal, a computer terminal, or a similar computing device. Taking running on a computer terminal as an example, Figure 3 This is a hardware structure block diagram of a computer terminal according to an embodiment of the present invention. Figure 3 As shown, a computer terminal may include one or more ( Figure 3Only one is shown in the diagram. A processor 102 (which may include, but is not limited to, a microprocessor MCU or a programmable logic device FPGA, etc.) and a memory 104 for storing data are also shown. The computer terminal may further include a transmission device 106 for communication functions and an input / output device 108. Those skilled in the art will understand that... Figure 3 The structure shown is for illustrative purposes only and does not limit the structure of the computer terminal described above. For example, the computer terminal may also include components that are more... Figure 3 The more or fewer components shown, or having the same Figure 3 The different configurations shown.
[0046] The memory 104 can be used to store computer programs, such as application software programs and modules, like the computer program corresponding to the method in this embodiment of the invention. The processor 102 executes various functional applications and data processing by running the computer program stored in the memory 104, thereby implementing the above-described method. The memory 104 may include high-speed random access memory, and may also include non-volatile memory, such as one or more magnetic storage devices, flash memory, or other non-volatile solid-state memory. In some instances, the memory 104 may further include memory remotely located relative to the processor 102, and these remote memories can be connected to a computer terminal via a network. Examples of such networks include, but are not limited to, the Internet, corporate intranets, local area networks, mobile communication networks, and combinations thereof.
[0047] The transmission device 106 is used to receive or send data via a network. Specific examples of the network described above may include a wireless network provided by a communication provider for the computer terminal. In one example, the transmission device 106 includes a Network Interface Controller (NIC), which can connect to other network devices via a base station to communicate with the Internet. In another example, the transmission device 106 may be a Radio Frequency (RF) module used for wireless communication with the Internet.
[0048] With the progress of IP-based services, the main customer services that OTN will face will be packet services. How to carry packet customer services of less than 1G in OTN is one of the hot issues being discussed in the industry. At present, the industry has launched technical research and standardization projects based on sub1G. OSU is a container for carrying sub1G, but there is no perfect solution on how to use OSU to carry customer services.
[0049] Therefore, this embodiment provides a client service carrying method that can run on the aforementioned computer terminal. Figure 4This is a flowchart of a customer service carrying method according to an embodiment of the present invention, such as... Figure 4 As shown, the process includes the following steps:
[0050] Step S402: Map customer services to recognition frames;
[0051] Step S404: Map the identification frame to the service layer signal.
[0052] In this embodiment, the identification frame may be composed of a fixed-length encoding block, which may include a control encoding block and a data encoding block. The service layer signal may be a container with a fixed frame length and a fixed rate, such as an ODU or OSU. The encoding block length may be 66b, 512b, etc.
[0053] In this embodiment, the identification frame can be composed of k 66b coded blocks, including a frame header block and a frame payload block. The frame header block of the identification frame includes a synchronization header 10, an overhead area (M1 bytes), and / or a payload area (X1 bytes). The overhead area is used to carry at least one of the following fields: control block type, customer service number information, and control block identification information. The overhead area may also include reserved information. The payload area is used to carry customer services. The frame payload block of the identification frame includes a synchronization header 01 and an 8-byte payload area. The mapping method for customer services of length N bytes to the identification frame is as follows: the first X1 bytes of the customer service are sequentially carried into the payload area of the frame header block of the identification frame, and the last N-X1 bytes of the customer service are carried into the payload area of the frame payload block of the identification frame, where 0≤X1≤8. Figure 5 As shown.
[0054] In this embodiment, the identification frame may further include a frame tail block. The frame tail block of the identification frame includes a synchronization header 10, an overhead area (M2 bytes), and / or a payload area (X2 bytes). The overhead area is used to carry at least one of the following fields: control block type, customer service number information, and control block identification information. The overhead area may also include reserved information. The mapping method for a customer service of length N bytes to the identification frame is as follows: the first X1 bytes of the customer service are carried in the payload area of the frame header block of the identification frame; the middle N-X1-X2 bytes of the customer service are carried in the payload area of the frame payload block of the identification frame; and the last X2 bytes of the customer service are carried in the payload area of the frame tail block of the identification frame, where 0≤X1≤8, 0≤X2≤8, etc. Figure 6 As shown.
[0055] In this embodiment, after mapping the customer service to the identification frame, the rate of the identification frame is customer service rate * (M+N) / N * (66 / 64), where M is the total overhead bytes in the identification frame. This identification frame is then mapped to an OSU frame. On the receiving side, the identification frame is demapped from the OSU frame, the 66b synchronization header is located, and then the frame header of the identification frame is located to recover the customer service.
[0056] In this embodiment, before mapping the identification frame to the service layer signal, the method may further include mapping the identification frame to a data frame. The data frame is a frame structure generated by a local clock according to the service layer signal payload rate, consisting of a fixed number j of 66b coded blocks, including a data frame header block and a data frame payload block. The data frame header block includes a synchronization header 10 and an overhead region. The overhead region carries at least one of the following fields: control block type, customer service number information, control block identification information, and clock information. The overhead region may also include reserved information. The data frame payload block carries the identification frame and / or a 66b padding block. Figure 7 As shown.
[0057] Since the rate of the identification frame is lower than that of the data frame, a 66-bit fixed padding code block needs to be added for rate adaptation when the identification frame is mapped to the data frame. In order to perform clock recovery at the receiving end, the clock information needs to be carried in the header block of the data frame. The clock information is the number of bits of the customer service carried between the last data frame and the current data frame or the transmission time of the customer service. The fixed padding code block can be an idle code block.
[0058] In this embodiment, for p (p≥1) customer services of the same rate level, each customer service is first mapped to its corresponding identification frame according to the above method, and then the identification frame is mapped to a data frame. Each customer service has its own customer service number. The p data frames are interleaved in units of 66 bytes to form a data frame group, such as... Figure 8 As shown, data frame groups are mapped to service layer signals. On the receiving side, data frame groups are demapped from the service layer signals, and then deinterleaved in 66-bit blocks to obtain data frames. Identification frames and clock information are demapped from the data frames, and customer services are extracted from the identification frames.
[0059] In another embodiment, the header blocks of p data frames can be aligned first, and then interleaved in 66-bit units to form a data frame group signal. The data frame group signal is then mapped into the OSU frame using BMP. On the receiving side, the data frame group is demapped from the service layer signal to obtain the data frame group. The header of the data frame group is located. After the header of the data frame group signal is located, it is deinterleaved in 66-bit units to obtain the data frame. The identification frame and clock information are demapped from the data frame, and the customer service is extracted from the identification frame.
[0060] Through the above description of the embodiments, those skilled in the art can clearly understand that the methods according to the above embodiments can be implemented by means of software plus necessary general-purpose hardware platforms. Of course, they can also be implemented by hardware, but in many cases the former is a better implementation method. Based on this understanding, the technical solution of the present invention, in essence, or the part that contributes to the prior art, can be embodied in the form of a software product. This computer software product is stored in a storage medium (such as ROM / RAM, magnetic disk, optical disk) and includes several instructions to cause a terminal device (which may be a mobile phone, computer, server, or network device, etc.) to execute the methods described in the various embodiments of the present invention.
[0061] This embodiment also provides a customer service carrying device, which is used to implement the above embodiments and preferred embodiments; details already described will not be repeated. As used below, the terms "module" and "unit" can refer to a combination of software and / or hardware that performs a predetermined function. Although the device described in the following embodiments is preferably implemented in software, hardware implementation, or a combination of software and hardware, is also possible and contemplated.
[0062] Figure 9 This is a structural block diagram of a customer service carrying device according to an embodiment of the present invention, such as... Figure 9 As shown, the device includes a first mapping module 10 and a second mapping module 20.
[0063] The first mapping module 10 is used to map customer services to identification frames, and the second mapping module 20 is used to map the identification frames to service layer signals.
[0064] In this embodiment, the identification frame may consist of multiple fixed-length coded blocks, including a frame header block and a frame payload block. The frame header block includes a synchronization header, an overhead area, and a payload area. The frame payload block includes a synchronization header and a payload area. The payload area of the frame header block and the frame payload block are used to carry the client service. The overhead area of the frame header block is used to carry at least one of the following fields: control block type, client service number information, control block identification information, and reserved information.
[0065] In an exemplary embodiment, the identification frame further includes a frame tail block, which includes a synchronization header, an overhead region, and a payload region. The payload region of the frame tail block is used to carry the client service, and the overhead region of the frame tail block is used to carry at least one of the following fields: control block type, client service number information, control block identification information, and reserved information.
[0066] In an exemplary embodiment, the second mapping module may further include: a first mapping unit, configured to map the identification frame to a data frame, wherein the data frame consists of a fixed number of coded blocks, including a data frame header block and a data frame payload block, the data frame header block including a synchronization header and an overhead region, the overhead region being used to carry at least one of the following fields: control block type, customer service number information, control block identification information, clock information, and reserved information; the data frame payload block being used to carry the identification frame and a padding block; and a second mapping unit, configured to map the identification frame to the service layer signal.
[0067] In an exemplary embodiment, the data frame may further include a frame tail block, which includes a synchronization header, a control block type, and a fixed sequence padding. The fixed padding sequence may be an all-zero sequence, an all-one sequence, or a user-configurable sequence with a fixed pattern.
[0068] In an exemplary embodiment, the second mapping module may further include: an interleaving unit, configured to interleave p data frames in units of coding blocks to form a data frame group, where p is an integer greater than 1; a third mapping unit, configured to map the data frame group to the OSU frame using a BMP method; and a fourth mapping unit, configured to map the OSU frame to the ODU.
[0069] It should be noted that the above modules can be implemented by software or hardware. For the latter, they can be implemented in the following ways, but are not limited to: all the above modules are located in the same processor; or, the above modules are located in different processors in any combination.
[0070] To facilitate understanding of the technical solutions provided by this invention, specific embodiments will be described below.
[0071] Example 1
[0072] In this embodiment, mapping a VC-12 signal to an OSU frame is taken as an example. In this embodiment, the VC-12 rate is 2.24 Mbps, the frame length is 140 bytes, the OSU frame rate is 2.6 Mbps, the frame length is 192 bytes, and the payload size is 185 bytes. Figure 10 As shown, this embodiment includes the following steps:
[0073] In step S1001, the VC-12 identification frame is constructed. The VC-12 identification frame consists of 18 66b coded blocks, including a frame header block and a frame payload block. The first 66b coded block of the VC-12 identification frame is the frame header block, with a synchronization header of 10. It includes a 4-byte overhead area and a 4-byte payload area. The overhead area is used to carry one byte of control block type 0x1e, one byte of VC number information VC_NO=1, and two bytes of reserved information. The 2nd to 18th 66b coded blocks in the VC-12 identification frame are the frame payload blocks, with a synchronization header of 01.
[0074] Step S1002: Map the VC-12 service frame to the VC-12 identification frame. Specifically, carry the first 4 bytes of the VC-12 service frame in the payload area of the VC-12 identification frame header block, and carry the remaining 136 bytes of the VC-12 service frame in the payload areas of the 2nd to 18th VC-12 identification frames, as follows: Figure 11 As shown.
[0075] In step S1003, after the VC-12 service frame is mapped to the VC-12 identification frame, its rate is 2.24*144 / 140*66 / 64=2.376Mbps, and the payload rate of the OSU frame is 2.6*185 / 192=2.502Mbps.
[0076] Step S1004: Based on the two rates in step S1003, calculate the maximum number of bytes (176) and minimum number of bytes (175) required for mapping the VC-12 identification frame to the OSU frame, map them into the OSU frame, carry the clock information in the overhead area of the OSU frame, and then map the OSU to the ODU.
[0077] Step S1005: Demap the OSU from the ODU, demap the VC-12 identification frame from the OSU frame, locate the synchronization header of the 66b code block, and then locate the frame header block of the VC-12 identification frame. After completing the frame header location of the VC-12 identification frame, obtain the VC-12 service from the VC-12 frame.
[0078] Example 2
[0079] In this embodiment, mapping a VC-12 signal to an OSU frame is taken as an example. In this embodiment, the VC-12 rate is 2.24 Mbps and the frame length is 140 bytes, while the OSU frame rate is 2.6 Mbps, the frame length is 192 bytes, and the payload size is 185 bytes.
[0080] like Figure 12 As shown, this embodiment may include the following steps:
[0081] Step S1201: Constructing a VC-12 identification frame consists of 18 66b coded blocks. The VC-12 identification frame consists of three parts: a frame header block, a frame payload block, and a frame trailer block. The first 66b coded block of the VC-12 identification frame is the frame header block, with a synchronization header of 10 bytes, including a 3-byte overhead area and a 5-byte payload area. The overhead area is used to carry one byte of control block type 0x78, one byte of VC number information VC_NO=1, and one byte of reserved information. The 2nd to 17th 66b coded blocks in the VC-12 identification frame are frame payload blocks, with a synchronization header of 01 bytes. The 18th 66b coded block of the VC-12 identification frame is the frame trailer block, with a synchronization header of 10 bytes, including a 1-byte overhead area and a 7-byte payload area. The overhead area is used to carry one byte of control block type 0xFF.
[0082] Step S1202: Map the VC-12 service frame to the VC-12 identification frame. Specifically, carry the first 3 bytes of the VC-12 service frame in the payload area of the VC-12 identification frame header block, carry the middle 128 bytes of the VC-12 service frame in the payload area of the 2nd to 17th VC-12 identification frames, and carry the last 7 bytes of the VC-12 service frame in the payload area of the 2nd to 18th VC-12 identification frames tail block. Figure 13 As shown.
[0083] In step S1203, after the VC-12 service frame is mapped to the VC-12 identification frame, its rate is 2.24*144 / 140*66 / 64=2.376Mbps, and the payload rate of the OSU frame is 2.6*185 / 192=2.502Mbps.
[0084] Step S1204: Construct a VC-12 data frame with a rate of OSU frame payload rate = 2.6 * 185 / 192 = 2.502 Mbps. It consists of 64 66b coded blocks. The first 66b coded block is the frame header block of the VC-12 data frame, with a synchronization header of 10, including an 8-byte overhead area. The overhead area is used to carry one byte of control block type 0x1e, one byte of control block identification information 0x02 (used to distinguish it from the Idle block), one byte of VC number information VC_NO = 1, two bytes of clock information, and three bytes of reserved information. The second to the 64th 66b coded blocks are the frame payload blocks of the VC-12 data frame, with a synchronization header of 01.
[0085] Additionally, in this embodiment, the VC-12 data frame may also include a frame tail block, which may include a synchronization header, a control block type, and a fixed sequence padding. The fixed padding sequence may be an all-zero sequence, an all-one sequence, or a user-configurable sequence with a fixed pattern.
[0086] Step S1205: After inserting the VC-12 identification frame into the Idle block, it is mapped to the frame payload block of the VC-12 data frame. The number of VC-12 bytes between the previous and current VC-12 data frames is carried as clock information in the frame header block of the VC-12 data frame. Figure 14 As shown.
[0087] Step S1206: Map the VC-12 data frame to the OSU frame using BMP, and then map the OSU frame to the ODU.
[0088] Step S1207: Demap the OSU from the ODU, demap the VC-12 data frame from the OSU frame, locate the synchronization header of the 66b code block, locate the frame header of the VC-12 data frame, obtain clock information from the frame header of the VC-12 data frame, identify and delete the Idle code block to obtain the VC-12 identification frame, locate the frame header of the VC-12 identification frame, and after completing the frame header location of the VC-12 identification frame, obtain the VC-12 service from the VC-12 frame.
[0089] Example 3
[0090] In this embodiment, five VC-12 signals are mapped into a 13Mbps OSU frame, where the VC-12 rate is 2.24Mbps and the frame length is 140 bytes, the OSU frame rate is 2.6Mbps and the frame length is 192 bytes, and the payload size is 185 bytes.
[0091] like Figure 15 As shown, this embodiment may include the following steps:
[0092] In step S1501, the VC-12 identification frame is constructed. The VC-12 identification frame consists of 18 66b coded blocks, including a frame header block and a frame payload block. The first 66b coded block of the VC-12 identification frame is the frame header block, with a synchronization header of 10. It includes a 4-byte overhead area and a 4-byte payload area. The overhead area is used to carry a byte of control block type 0x1e, a byte of VC number information (VC_NO=1, VC_NO=2, VC_NO=3, VC_NO=4, and VC_NO=5), a byte of control block identification information 0x01 (used to distinguish it from the Idle block and the frame header block of the VC-12 data frame), and a byte of reserved information. The 2nd to 18th 66b coded blocks in the VC-12 identification frame are frame payload blocks, with a synchronization header of 01.
[0093] Step S1502: Map each VC-12 service frame to the corresponding VC-12 identification frame. Specifically, carry the first 4 bytes of the VC-12 service frame in the payload area of the VC-12 identification frame header block, and carry the remaining 136 bytes of the VC-12 service frame in the payload areas of the 2nd to 18th VC-12 identification frames, as follows: Figure 16 As shown.
[0094] In step S1503, after the VC-12 service frame is mapped to the VC-12 identification frame, its rate is 2.24*144 / 140*66 / 64=2.376Mbps, and the payload rate of the OSU frame is 2.6*185 / 192=2.502Mbps.
[0095] Step S1504: Construct a VC-12 data frame with a rate of OSU frame payload rate = 2.6 * 185 / 192 = 2.502 Mbps. It consists of 64 66b coded blocks. The first 66b coded block is the frame header block of the VC-12 data frame, with a synchronization header of 10, including an 8-byte overhead area. The overhead area is used to carry one byte of control block type 0x1e, one byte of control block identification information 0x02 (used to distinguish it from the Idle block and the VC-12 identification frame header block), one byte of VC number information (VC_NO = 1, VC_NO = 2, VC_NO = 3, VC_NO = 4 and VC_NO = 5 respectively), two bytes of clock information, and three bytes of reserved information. The 2nd to 64th 66b coded blocks are the frame payload blocks of the VC-12 data frame, with a synchronization header of 01.
[0096] Step S1505: After inserting the VC-12 identification frame into the Idle block, it is mapped to the frame payload block of the VC-12 data frame. The number of VC-12 bytes between the previous and current VC-12 data frames is carried as clock information in the frame header block of the VC-12 data frame. Figure 17 As shown.
[0097] Step S1506: Interleave the five VC-12 data frames in 66-bit code blocks to form a VC-12 data frame group, as follows: Figure 18 As shown, its rate is 2.6*185 / 192*5=12.526Mbps. The VC-12 data frame group is mapped to the OSU frame via BMP, and the OSU frame is mapped to the ODU.
[0098] Step S1507: Demap the OSU signal from the ODU, demap the VC-12 data frame group signal from the OSU signal, deinterleave the VC-12 data frame group signal in 66-bit code blocks to obtain 5 VC-12 data frames, locate the 66-bit synchronization header for each VC-12 data frame, identify the VC-12 data frame header block and the 66-bit Idle code block, extract clock information from the VC-12 data frame header, delete the VC-12 data frame header block and the 66-bit Idle code block to obtain the VC-12 identification frame, locate the VC-12 identification frame header, and then obtain the VC-12 service frame from the VC-12 identification frame.
[0099] Embodiments of the present invention also provide a computer-readable storage medium storing a computer program, wherein the computer program is configured to perform the steps in any of the above method embodiments when executed.
[0100] In one exemplary embodiment, the aforementioned computer-readable storage medium may include, but is not limited to, various media capable of storing computer programs, such as a USB flash drive, read-only memory (ROM), random access memory (RAM), portable hard disk, magnetic disk, or optical disk.
[0101] Embodiments of the present invention also provide an electronic device including a memory and a processor, the memory storing a computer program and the processor being configured to run the computer program to perform the steps in any of the above method embodiments.
[0102] In one exemplary embodiment, the electronic device may further include a transmission device and an input / output device, wherein the transmission device is connected to the processor and the input / output device is connected to the processor.
[0103] Specific examples in this embodiment can be found in the examples described in the above embodiments and exemplary implementations, and will not be repeated here.
[0104] It is obvious to those skilled in the art that the modules or steps of the present invention described above can be implemented using general-purpose computing devices. They can be centralized on a single computing device or distributed across a network of multiple computing devices. They can be implemented using computer-executable program code, and thus can be stored in a storage device for execution by a computing device. In some cases, the steps shown or described can be performed in a different order than those described herein, or they can be fabricated as separate integrated circuit modules, or multiple modules or steps can be fabricated as a single integrated circuit module. Thus, the present invention is not limited to any particular combination of hardware and software.
[0105] The above description is merely a preferred embodiment of the present invention and is not intended to limit the invention. Various modifications and variations can be made to the present invention by those skilled in the art. Any modifications, equivalent substitutions, or improvements made within the principles of the present invention should be included within the scope of protection of the present invention.
Claims
1. A method for carrying customer services, characterized in that, include: The customer service is mapped to the identification frame, wherein the identification frame consists of a fixed number of coded blocks, including a frame header block and a frame payload block; Map the identified frames to service layer signals; The frame header block includes a synchronization header and an overhead area; or, the frame header block includes a synchronization header, an overhead area, and a payload area, wherein the payload area of the frame header block is used to carry the client service. The frame payload block includes a synchronization header and a payload area. The payload area of the frame payload block is used to carry the client service, and the overhead area of the frame header block is used to carry at least one of the following fields: control block type, client service number information, control block identification information, and reserved information. The identification frame also includes a frame tail block, which includes a synchronization header, an overhead area, and a payload area. The payload area of the frame tail block is used to carry the client service, and the overhead area of the frame tail block is used to carry at least one of the following fields: control block type, client service number information, control block identification information, and reserved information.
2. The method according to claim 1, characterized in that, Mapping the identification frame to the service layer signal includes: The identification frame is mapped to a data frame, wherein the data frame consists of a fixed number of coded blocks, including a data frame header block and a data frame payload block. The data frame header block includes a synchronization header and an overhead area. The overhead area is used to carry at least one of the following fields: control block type, customer service number information, control block identification information, clock information, and reserved information. The data frame payload block is used to carry the identification frame and the padding code block. Data frames are mapped into the service layer signals.
3. The method according to claim 2, characterized in that, The clock information refers to the number of bytes of customer service carried between the last data frame and the current data frame, or the transmission time of the customer service.
4. The method according to claim 2, characterized in that, The data frame also includes a frame tail block, which includes a synchronization header, a control block type, and fixed sequence padding.
5. The method according to claim 2, characterized in that, Mapping data frames to the service layer signals includes: p data frames are interleaved in units of coded blocks to form a data frame group, where P is an integer greater than 1; The data frame group is mapped to the service layer signal using BMP.
6. The method according to claim 5, characterized in that, Also includes: The number of data frames carried in the payload area of the service layer signal is carried in the overhead area of the service layer signal.
7. The method according to claim 2, characterized in that, Also includes: On the receiving side, the customer service is extracted from the service layer signal through demapping using the following steps: The data frame is demapped from the service layer signal; The synchronization header of the data frame is located; The header block of the data frame is located, and clock information is obtained from the header block of the data frame; The identification frame is demapped from the data frame based on the clock information, and the customer service is extracted from the identification frame.
8. The method according to claim 5, characterized in that, Also includes: On the receiving side, the customer service is extracted from the service layer signal through demapping using the following steps: The data frame group is demapped from the service layer signal, and the data frame group is deinterleaved in units of coded blocks to obtain a data frame. The identification frame and clock information are demapped from the data frame, and the customer service is extracted from the identification frame based on the clock information.
9. A customer service carrier device, characterized in that, include: The first mapping module is used to map customer services to identification frames, wherein the identification frames consist of a fixed number of coded blocks, including a frame header block and a frame payload block. The second mapping module is used to map the identification frame to the service layer signal; The frame header block includes a synchronization header and an overhead area; or, the frame header block includes a synchronization header, an overhead area, and a payload area, wherein the payload area of the frame header block is used to carry the client service. The frame payload block includes a synchronization header and a payload area. The payload area of the frame payload block is used to carry the client service, and the overhead area of the frame header block is used to carry at least one of the following fields: control block type, client service number information, control block identification information, and reserved information. The identification frame also includes a frame tail block, which includes a synchronization header, an overhead area, and a payload area. The payload area of the frame tail block is used to carry the client service, and the overhead area of the frame tail block is used to carry at least one of the following fields: control block type, client service number information, control block identification information, and reserved information.
10. The apparatus according to claim 9, characterized in that, The second mapping module includes: The first mapping unit is used to map the identification frame to a data frame, wherein the data frame consists of a fixed number of coded blocks, including a data frame header block and a data frame payload block. The data frame header block includes a synchronization header and an overhead area. The overhead area is used to carry at least one of the following fields: control block type, customer service number information, control block identification information, clock information, and reserved information. The data frame payload block is used to carry the identification frame and a padding block. The second mapping unit is used to map the identification frame to the service layer signal.
11. The apparatus according to claim 10, characterized in that, The data frame also includes a frame tail block, which includes a synchronization header, a control block type, and fixed sequence padding.
12. The apparatus according to claim 10, characterized in that, The second mapping module includes: An interleaving unit is used to interleave p data frames into a data frame group by interleaving them in units of coded blocks, where P is an integer greater than 1; The third mapping unit is used to map the data frame group to the service layer signal using the BMP method.
13. A computer-readable storage medium, characterized in that, The computer-readable storage medium stores a computer program, wherein the computer program, when executed by a processor, implements the steps of the method described in any one of claims 1 to 8.
14. An electronic device comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, characterized in that, When the processor executes the computer program, it implements the steps of the method described in any one of claims 1 to 8.
Citation Information
Patent Citations
Method, device and system for transmitting customer service
CN111490845A
Method, device and system for processing low-speed service data in optical transport network
CN112042138A
