WO2021013025A1 - Data receiving method and apparatus, and data sending method and apparatus - Google Patents

Data receiving method and apparatus, and data sending method and apparatus Download PDF

Info

Publication number
WO2021013025A1
WO2021013025A1 PCT/CN2020/102262 CN2020102262W WO2021013025A1 WO 2021013025 A1 WO2021013025 A1 WO 2021013025A1 CN 2020102262 W CN2020102262 W CN 2020102262W WO 2021013025 A1 WO2021013025 A1 WO 2021013025A1
Authority
WO
WIPO (PCT)
Prior art keywords
flexo
phy
phy interface
processing
same group
Prior art date
Application number
PCT/CN2020/102262
Other languages
French (fr)
Chinese (zh)
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 WO2021013025A1 publication Critical patent/WO2021013025A1/en

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]
    • 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

Definitions

  • This application relates to the field of optical communication technology, for example, to a data receiving method and device, and a data sending method and device.
  • the bearer network has a new development trend in the application scenarios of the 5th Generation mobile communication system (the 5th Generation mobile communication system, 5G) era.
  • the fronthaul, midhaul and backhaul applications of 5G services require optical transport networks (Optical Transport Network, OTN) equipment provides large bandwidth, low delay, high-precision time synchronization, flexible channel and packet switching support capabilities.
  • optical Transport Network Optical Transport Network, OTN
  • OTN equipment has large bandwidth processing capabilities, it needs further improvement in terms of delay performance and mapping flexibility.
  • This application provides a data receiving method and device, and a data sending method and device, which can perform flexible mapping processing and reduce delay.
  • This application provides a data receiving method, including:
  • This application also provides a data sending method, including:
  • This application also provides a data receiving device, including a receiving module, a first processing module, a second processing module, and a demapping module;
  • the receiving module is configured to receive at least one physical layer PHY interface flexible optical transport network FlexO signal;
  • the first processing module is configured to perform framing processing and decoding processing on the FlexO signal of each PHY interface to obtain the FlexO frame corresponding to each PHY interface;
  • the second processing module is configured to group the at least one PHY interface, perform offset removal processing and overhead extraction processing on the FlexO frame corresponding to each PHY interface in the same group, to obtain the correspondence of each PHY interface in the same group FlexO payload;
  • the de-mapping module is set to de-map the FlexO payload corresponding to each PHY interface in the same group into customer services.
  • the present application also provides a data sending device, including a first mapping module, a second mapping module, and a sending module;
  • the first mapping module is configured to map at least one customer service in the same group to at least one flexible rate optical channel data unit ODUflex frame;
  • the second mapping module is configured to map the at least one ODUflex frame to FlexO frames of at least one physical layer PHY interface in the same group;
  • the sending module is configured to perform overhead insertion processing and encoding processing on the FlexO frame of each PHY interface, and send it through the PHY interface.
  • FIG. 1 is a schematic flowchart of a data receiving method provided by an embodiment of the present invention
  • FIG. 2 is a schematic diagram of a framing process in a data receiving direction according to an embodiment of the present invention
  • FIG. 3 is a block diagram of an implementation of a data receiving direction (de-offset first) according to an embodiment of the present invention
  • FIG. 4 is a block diagram of an implementation of a data receiving direction (post-offset) provided by an embodiment of the present invention
  • FIG. 5 is a schematic diagram of a data receiving direction offset processing process according to an embodiment of the present invention.
  • FIG. 6 is a schematic diagram of a process for extracting overhead in a data receiving direction according to an embodiment of the present invention.
  • FIG. 7 is a schematic diagram of a process of demapping (time decomposition mapping) of data receiving directions provided by an embodiment of the present invention.
  • FIG. 8 is a schematic diagram of a processing process of data receiving direction demapping (empty decomposition mapping) provided by an embodiment of the present invention.
  • FIG. 9 is a schematic flowchart of a data sending method according to an embodiment of the present invention.
  • FIG. 10 is a schematic diagram of a processing process of data transmission direction mapping (time division mapping) provided by an embodiment of the present invention.
  • FIG. 11 is a schematic diagram of a processing process of data transmission direction mapping (space division mapping) provided by an embodiment of the present invention.
  • FIG. 12 is a schematic diagram of a processing process of overhead insertion in a data transmission direction according to an embodiment of the present invention.
  • FIG. 13 is a schematic diagram of a framing process in a data transmission direction according to an embodiment of the present invention.
  • FIG. 14 is a block diagram of an implementation of a data sending direction according to an embodiment of the present invention.
  • FIG. 15 is a schematic structural diagram of a data receiving device provided by an embodiment of the present invention.
  • FIG. 16 is a schematic structural diagram of a data sending device provided by an embodiment of the present invention.
  • an embodiment of the present invention provides a data receiving method, including:
  • Step 101 Receive flexible optical transport network (Flexible Optical Transport Network, FlexO) signals of one or more physical layer (Physical, PHY) interfaces.
  • FlexO Flexible Optical Transport Network
  • FlexO is an interface technology for signal interconnection, which realizes the transmission of services exceeding 100Gbit/s by binding multiple standard rate interfaces.
  • FlexO-SR Flexible Optical Channel Data Unit
  • the data traffic is first encapsulated into a flexible optical channel data unit (Flexible Optical Channel Data Unit, ODUflex), and then multiplexed to Optical channel data unit Cn (Optical Channel Data Unit-Cn, ODUCn) completes multiplex section and link monitoring (Path Monitor, PM), and finally maps it into FlexO frame through FlexO, and loads it to N PHY interfaces for transmission.
  • Optical channel data unit Cn Optical Channel Data Unit-Cn, ODUCn
  • FlexO-SR uses 100G rate as the standard rate interface.
  • This application uses 25G rate PHY as the basic unit combination, and supports 1.25G or 5G time slots to be combined into FlexO frames to meet the requirements of supporting FlexO services and realizing 5G fronthaul functions.
  • the PHY rate is reduced and the time slot granularity is more finely divided, which makes the combination more flexible.
  • the same service can be combined with multiple PHYs to form a group. Supporting up to N PHY combinations can support multiple different services together, that is, multiple groups can be supported.
  • Step 102 Perform framing processing and decoding processing on the FlexO signal of each PHY interface to obtain a FlexO frame corresponding to each PHY interface.
  • Figure 2 shows the framing process of each PHY receiving direction.
  • the receiving direction finds the frame header after passing through the alignment marker (Alignment Marker, AM), and extracts the multi-frame indication signal for the off-chip overhead line as an overhead insertion indication.
  • AM alignment Marker
  • the service data is descrambled and output to the subsequent stage for decoding.
  • the decoding process is Reed-Solomon codes (Reed-Solomon codes, RS codes) decoding.
  • the code here is a forward error correction channel coding, which is an effective polynomial generated by correcting over-sampling data.
  • the encoding process first seeks redundancy for these polynomials at multiple points, and then transmits or stores them. When the receiver correctly receives enough points, it can restore the original polynomial, even if many points on the received polynomial are interfered by noise.
  • the decoding process supports RS (544, 514) or RS (528, 514), which can be selected according to the configuration.
  • Step 103 Group at least one PHY interface, and perform offset removal processing and overhead extraction processing on the FlexO frame corresponding to each PHY interface in the same group to obtain the FlexO payload corresponding to each PHY interface in the same group.
  • the performing offset removal processing and overhead extraction processing on the FlexO frame corresponding to each PHY interface in the same group includes:
  • the offset processing is performed first, and then the overhead extraction processing is performed, as shown in FIG. 3; or, for the FlexO frame corresponding to each PHY interface in the same group
  • overhead extraction processing is performed first, and then offset processing is performed, as shown in Figure 4.
  • the offset removal processing includes:
  • the FlexO frame corresponding to each PHY interface in the same group is stored in the FIFO (First Input First Output) buffer corresponding to each PHY interface; Next, read the FlexO frame of the FIFO buffer corresponding to each PHY interface in the group at the same time to achieve the offset removal effect.
  • FIFO First Input First Output
  • the read-write control circuit described in this application includes a read control circuit and a write control circuit, wherein the write control circuit is performed independently in a PHY unit; the read control circuit is configured by a central processing unit (CPU).
  • the CPU first configures which PHYs form a group, and the FIFO in the same group starts a read operation at the same time when the CPU configuration output condition is met. All FIFOs can flexibly form multiple independent Groups.
  • each PHY data removes the inter-PHY offset in Figure 5.
  • the data is stored in the corresponding FIFO of each PHY; under the control of the circuit, multiple FIFOs read data at the same time to achieve the effect of offsetting.
  • the read-write control circuit can de-offset different groups composed of N PHYs at the same time.
  • the overhead is extracted after multi-frame framing, and the extracted overhead needs to be subjected to a cyclic redundancy check (Cyclic Redundancy Check, CRC), and the overhead can be processed only after the check is correct.
  • CRC Cyclic Redundancy Check
  • the overhead is divided into two parts: PHY overhead and PM segment monitoring overhead. While performing CRC check, the extracted overhead is sent to the overhead line circuit to facilitate the off-chip processing of overhead.
  • Each PHY data stream after overhead extraction and overhead processing enters the demapping circuit. After stripping the FlexO overhead etc., only the payload part is written into the demapping circuit.
  • Step 104 Demap the FlexO payload corresponding to each PHY interface in the same group into client services.
  • the demapping FlexO payload corresponding to each PHY interface in the same group into a client service includes:
  • the ODUflex frame of each time slot carries the group number, time slot number and PHY interface number; according to the PHY interface and The mapping relationship of customer service ports is to demap the ODUflex frame of each time slot in the ODUflex time-division data stream to the corresponding customer service port.
  • Figure 7 is the processing of time decomposition mapping, where m is a natural number between 1 and N.
  • m is a natural number between 1 and N.
  • a 5G service occupies 4 time slots; when the FlexO time slot uses 5G time slots, a 5G service occupies 1 time Gap.
  • Each PHY data is written into an independent buffer, and one PHY corresponds to a piece of random access memory (Random Access Memory, RAM).
  • RAM Random Access Memory
  • CPU configuration all PHY data is combined into an ODUflex time-division data stream based on the multiplexing relationship of space division to time division. ODUflex in different groups forms a data stream.
  • the stream synchronously outputs the PHY number, Group number, and time slot number.
  • Each time slot ODUflex carries Group number, time slot number and PHY number; when this data stream is output to different client ports for de-mapping, each time slot data is allocated to different client service ports according to the CPU configuration to complete FlexO Payload cross demapping function. Simplify time slot cross processing complexity through time division multiplexing.
  • the demapping the FlexO payload corresponding to each PHY interface in the same group into client services includes:
  • Fig. 8 is the processing of space decomposition mapping, where m is a natural number between 1 and N.
  • m is a natural number between 1 and N.
  • a 5G service occupies 4 time slots; when FlexO time slots use 5G time slots, a 5G service occupies 1 time slot.
  • Each PHY data is written into an independent buffer, and one PHY corresponds to a piece of RAM.
  • PHYs are included in the Group.
  • the payload stripped from each PHY carries the Group number, PHY number, and time slot number according to the overhead information. Based on these signals, a unified time slot number is generated.
  • CPU configuration All time slot numbers are crossed to different customer service ports for demapping, and a maximum of N FlexO PHYs are supported, so this cross also has the same N copies.
  • Embodiment 2 Data sending method
  • an embodiment of the present invention also provides a data sending method, including:
  • Step 901 Map one or more customer services in the same group to one or more ODUflex frames.
  • Step 902 Map the one or more ODUflex frames to FlexO frames of one or more physical layer PHY interfaces in the same group.
  • mapping the one or more ODUflex frames to FlexO frames of one or more PHY interfaces in the same group includes:
  • the ODUflex frame of each time slot carries the group number, the time slot number and the PHY interface number; the ODUflex frame of each time slot is stored according to the time slot number Linked list: Under the control of the time division self-oscillation circuit, read the ODUflex frame of each time slot, map it to the corresponding PHY interface in the same group, and align the output through the FIFO buffer.
  • This application includes multiple sets of time division self-oscillation circuits, multiple sets of time-division self-oscillation circuits are working at the same time, one set of time-division self-oscillation circuits corresponds to a group, and the output rate of these groups is output in time division; the rate indicates that the output conditions are met but it is not its turn
  • the group is output, the ODUflex frame of the group is temporarily stored.
  • the ODUflex frame of each time slot is read, mapped to the corresponding PHY interface in the group, and aligned and output through the FIFO buffer.
  • Fig. 10 is a time division mapping circuit, where m is a natural number between 1 and N.
  • Multiple input client-side services are processed into multiple ODUflex after the client-side mapping circuit.
  • each time slot ODUflex carries the Group number, time slot number and PHY number (the carried PHY The number is configured by the CPU according to the transmission rate of each PHY interface, and the carried PHY number is the PHY number corresponding to the PHY to be loaded by the time slot ODUflex), and the data is stored in the linked list according to the time slot number.
  • the linked list will read out each time slot data stored in the linked list according to the time slot relationship under the time-division self-oscillation control.
  • GMP Use Generic Mapping Procedure
  • BGMP Border Gateway Multicast Protocol
  • BMP Bit-synchronous Mapping Procedure
  • mapping the one or more ODUflex frames to FlexO frames of one or more PHY interfaces in the same group includes:
  • the one or more ODUflex frames are input into the FlexO mapping buffer, the number of FlexO mapping buffers is configured according to the number of service ports, and each FlexO mapping buffer is segmented according to the configured number of time slots; according to the PHY interface and customer service
  • the port mapping relationship reads the ODUflex frame corresponding to the time slot corresponding to the FlexO mapping buffer, and maps it to the FlexO frame corresponding to the PHY interface in the same group.
  • Figure 11 is a space division mapping circuit, where m is a natural number between 1 and N.
  • m is a natural number between 1 and N.
  • the buffers are arranged in service port units, and each service port corresponds to a piece of buffer; each piece of buffer is segmented according to the configured number of time slots.
  • mapping and fetching service data according to the Group number, PHY number, and time slot number configured by the CPU, search the corresponding port RAM and time slot queue under the FlexO service rate control, read the data output of the corresponding time slot to frame.
  • mapping circuit is mapped to N PHYs, and each PHY is an independently transmitted frame structure. Subsequent processing of overhead insertion, AM insertion, encoding, and distribution is performed in the unit of PHY.
  • Step 903 Perform overhead insertion processing and encoding processing on the FlexO frame of each PHY interface, and send it through the PHY interface.
  • the mapped FlexO When the mapped FlexO processes overhead in the sending direction, it selects CPU insertion overhead or overhead line insertion overhead or transparent transmission according to the configuration, as shown in Figure 12. Insert the AM header information after the overhead is processed.
  • the FlexO data after overhead processing can choose RS (544,514) or RS (528,514) encoding. Then it is sent to the framing processing circuit on the sending side for scrambling, multi-frame instruction extraction, and output, as shown in Figure 13.
  • the data stream is mapped to a maximum of N PHYs.
  • Each PHY is an independently transmitted frame structure.
  • the data after the mapping process is The PHY unit performs processing such as overhead insertion, AM insertion, encoding, and distribution.
  • Embodiment 3 Data receiving device
  • an embodiment of the present invention also provides a data receiving device, including a receiving module 1501, a first processing module 1502, a second processing module 1503, and a demapping module 1504, wherein:
  • the receiving module 1501 is configured to receive FlexO signals of the flexible optical transport network of one or more physical layer PHY interfaces.
  • the first processing module 1502 is configured to perform framing processing and decoding processing on the FlexO signal of each PHY interface to obtain the FlexO frame corresponding to each PHY interface.
  • the second processing module 1503 is configured to group at least one PHY interface, and perform offset processing and overhead extraction processing on the FlexO frame corresponding to each PHY interface in the same group to obtain the corresponding data for each PHY interface in the same group. FlexO payload.
  • the de-mapping module 1504 is configured to de-map the FlexO payload corresponding to each PHY interface in the same group into client services.
  • the second processing module 1503 performs offset processing and overhead extraction processing on the FlexO frame corresponding to each PHY interface in the same group, including:
  • the second processing module 1503 performs offset removal processing on the FlexO frame corresponding to each PHY interface in the same group, and then performs overhead extraction processing, as shown in FIG. 3; or, the second processing module 1503 performs The FlexO frame corresponding to each PHY interface in the same group is first subjected to overhead extraction processing, and then offset processing, as shown in Figure 4.
  • the offset removal processing of the second processing module 1503 includes:
  • the FlexO frame corresponding to each PHY interface in the same group is stored in the FIFO buffer corresponding to the PHY interface; under the control of the read-write control circuit, each PHY in the group is read at the same time The FlexO frame of the FIFO buffer corresponding to the interface to achieve the effect of offset.
  • the demapping module 1504 is configured to:
  • the ODUflex frame of each time slot carries the group number, time slot number and PHY interface number; according to the PHY interface and The mapping relationship of customer service ports is to demap the ODUflex frame of each time slot in the ODUflex time-division data stream to the corresponding customer service port.
  • the demapping module 1504 is configured to:
  • Embodiment 4 Data sending device
  • an embodiment of the present invention also provides a data sending device, including a first mapping module 1601, a second mapping module 1602, and a sending module 1603, wherein:
  • the first mapping module 1601 is configured to map one or more customer services in the same group into one or more flexible rate optical channel data unit ODUflex frames.
  • the second mapping module 1602 is configured to map the one or more ODUflex frames to FlexO frames of one or more physical layer PHY interfaces in the same group.
  • the sending module 1603 is configured to perform overhead insertion processing and encoding processing on the FlexO frame of each PHY interface, and send it through the PHY interface.
  • the second mapping module 1602 is configured to:
  • the ODUflex frame of each time slot carries the group number, the time slot number and the PHY interface number; the ODUflex frame of each time slot is stored according to the time slot number Linked list: Under the control of the time division self-oscillation circuit, read the ODUflex frame of each time slot, map it to the corresponding PHY interface in the same group, and align the output through the FIFO buffer.
  • the second mapping module 1602 is configured to:
  • the one or more ODUflex frames are input into the FlexO mapping buffer, the number of FlexO mapping buffers is configured according to the number of service ports, and each FlexO mapping buffer is segmented according to the configured number of time slots; according to the PHY interface and customer service
  • the port mapping relationship reads the ODUflex frame corresponding to the time slot corresponding to the FlexO mapping buffer, and maps it to the FlexO frame corresponding to the PHY interface in the same group.
  • the embodiment of the present invention uses 25G rate PHY as the basic unit combination, and supports 1.25G or 5G timeslot combination into FlexO frames, so as to meet the requirements of supporting FlexO services and realizing 5G fronthaul functions.
  • the PHY rate is reduced and the time slot granularity is more finely divided, which makes the combination more flexible.
  • the same service can be combined with multiple PHYs to form a Group. Supporting up to N PHY combinations can support multiple different services together. That is, multiple groups can be supported.
  • each PHY performs framing and decoding independently, and offsets are first performed among multiple PHYs in the same group.
  • each PHY uses the PHY as the unit to perform overhead processing, obtains the Group number and the number sequence of different PHYs in the same Group according to the overhead, and generates Group alarm or interrupt information according to each PHY. Then go to demapping.
  • Figure 2 shows the framing process of each PHY receiving and sending direction.
  • the receiving direction finds the frame header after fixed AM, and extracts the multi-frame indication signal for the off-chip overhead line as an overhead insertion indication.
  • the service data is descrambled and output to the subsequent stage for decoding.
  • Decoding supports RS (544,514) or RS (528,514), which can be selected according to the configuration.
  • each PHY data removes the inter-PHY offset in Figure 5.
  • the data is stored in the corresponding FIFO of each PHY; under the control of the circuit, multiple FIFOs read the data at the same time to achieve the offset removal effect.
  • the read-write control circuit can de-offset different groups composed of N PHYs at the same time.
  • the overhead is extracted after multi-frame framing.
  • the extracted overhead needs to be CRC, and the overhead can be processed after the verification is correct.
  • the overhead is divided into two parts: PHY overhead and PM segment monitoring overhead. While performing CRC check, the extracted overhead is sent to the overhead line circuit to facilitate the off-chip processing of overhead.
  • Each PHY data stream after overhead extraction and overhead processing enters the demapping circuit. After stripping the FlexO overhead etc., only the payload part is written into the demapping circuit.
  • Figure 7 is the processing of time decomposition mapping.
  • a 5G service occupies 4 time slots; when FlexO time slots use 5G time slots, a 5G service occupies 1 time slot.
  • Each PHY data is written into an independent buffer, and one PHY corresponds to a piece of RAM.
  • All PHY data is combined into an ODUflex time-division data stream based on the multiplexing relationship of space division to time division.
  • ODUflex in different groups forms a data stream. The stream synchronously outputs the PHY number, Group number, and time slot number.
  • Each time slot ODUflex carries Group number, time slot number and PHY number; when this data stream is output to different client ports for de-mapping, each time slot data is allocated to different client service ports according to the CPU configuration to complete FlexO Payload cross demapping function. Simplify time slot cross processing complexity through time division multiplexing.
  • each PHY is a frame structure for independent transmission, which is processed by mapping.
  • the subsequent data is processed by overhead insertion, AM insertion, encoding, and distribution in units of PHY.
  • Figure 10 is a time division mapping circuit. Multiple input client-side services are processed into multiple ODUflex after the client-side mapping circuit. After these data are time-division multiplexed into a data stream, each time slot ODUflex carries the Group number, time slot number and PHY number, data is stored in the linked list according to the time slot number. The linked list will read each time slot data stored in the linked list according to the time slot relationship under the time-division self-oscillation control. Use GMP or BGMP or BMP to map to ODTUF.ts. ODTUF.ts also carries information such as Group, PHY port, and time slot number. And fill in the Group and PHY configured by the CPU based on this information.
  • the mapped FlexO When the mapped FlexO handles overhead processing in the sending direction, it selects CPU insertion overhead or overhead line insertion overhead or transparent transmission according to the configuration, as shown in Figure 12. Insert the AM header information after the overhead is processed.
  • the FlexO data after overhead processing can choose RS (544,514) or RS (528,514) encoding. Then it is sent to the framing processing circuit on the transmitting side for scrambling, multi-frame instruction extraction, and then output, as shown in Figure 13.
  • each PHY independently performs framing and decoding.
  • the Group number and the number sequence of different PHYs in the same Group are obtained according to the overhead, and the Group’s number is generated according to each PHY.
  • Alarm or interrupt information is generated according to each PHY.
  • Figure 2 shows the framing process of each PHY receiving and sending direction.
  • the receiving direction finds the frame header after fixed AM, and extracts the multi-frame indication signal for the off-chip overhead line as an overhead insertion indication.
  • the service data is descrambled and output to the subsequent stage for decoding.
  • Decoding supports RS (544,514) or RS (528,514), which can be selected according to the configuration.
  • the overhead is extracted by multi-frame framing in Figure 6, and the extracted overhead needs to be CRC, and the overhead can be processed after the verification is correct.
  • the overhead is divided into two parts: PHY overhead and PM segment monitoring overhead. While performing CRC check, the extracted overhead is sent to the overhead line circuit to facilitate the off-chip processing of overhead.
  • Each PHY data after overhead extraction and overhead processing is shown in Figure 5 with the offset between PHYs removed.
  • the data is stored in the corresponding FIFO of each PHY; under the control of the circuit, multiple FIFOs read the data at the same time to achieve the offset removal effect.
  • the read-write control circuit can de-offset different groups composed of N PHYs at the same time.
  • Figure 7 is the processing of time decomposition mapping.
  • a 5G service occupies 4 time slots; when FlexO time slots use 5G time slots, a 5G service occupies 1 time slot.
  • Each PHY data is written into an independent buffer, and one PHY corresponds to a piece of RAM.
  • All PHY data is combined into an ODUflex time-division data stream based on the multiplexing relationship of space division to time division.
  • ODUflex in different groups forms a data stream. The stream synchronously outputs the PHY number, Group number, and time slot number.
  • Each time slot ODUflex carries Group number, time slot number and PHY number; when this data stream is output to different client ports for de-mapping, each time slot data is allocated to different client service ports according to the CPU configuration to complete FlexO Payload cross demapping function. Simplify time slot cross processing complexity through time division multiplexing.
  • each PHY is a frame structure for independent transmission, which is processed by mapping.
  • the subsequent data is processed by overhead insertion, AM insertion, encoding, and distribution in units of PHY.
  • Figure 10 is a time division mapping circuit. Multiple input client-side services are processed into multiple ODUflex after the client-side mapping circuit. After these data are time-division multiplexed into a data stream, each time slot ODUflex carries the Group number, time slot number and PHY number, data is stored in the linked list according to the time slot number. The linked list will read out each time slot data stored in the linked list according to the time slot relationship under the time-division self-oscillation control. Use GMP or BGMP or BMP to map to ODTUF.ts. ODTUF.ts also carries information such as Group, PHY port, and time slot number. And fill in the Group and PHY configured by the CPU based on this information.
  • the mapped FlexO When the mapped FlexO handles overhead processing in the sending direction, it selects CPU insertion overhead or overhead line insertion overhead or transparent transmission according to the configuration, as shown in Figure 12. Insert the AM header information after the overhead is processed.
  • the FlexO data after overhead processing can choose RS (544,514) or RS (528,514) encoding. Then it is sent to the framing processing circuit on the transmitting side for scrambling, multi-frame instruction extraction, and then output, as shown in Figure 13.
  • the embodiment of the present invention adopts the 25G rate PHY as the basic unit combination, and supports 1.25G or 5G timeslot combination to form a FlexO frame, so as to meet the requirements of supporting FlexO services and realizing 5G fronthaul functions.
  • the PHY rate is reduced and the time slot granularity is more finely divided, which makes the combination more flexible.
  • the same service can be combined with multiple PHYs to form a Group. Supporting up to N PHY combinations can support multiple different services together. That is, multiple groups can be supported.
  • each PHY independently performs framing and decoding in the receiving direction, and offsets between multiple PHYs in the same Group. After offsetting, each PHY first performs overhead processing with PHY as the unit, and obtains the group number and the number sequence of different PHYs in the same group according to the overhead, and generates Group alarm or interrupt information according to each PHY.
  • Figure 2 shows the framing process of each PHY receiving and sending direction.
  • the receiving direction finds the frame header after fixed AM, and extracts the multi-frame indication signal for the off-chip overhead line as an overhead insertion indication.
  • the service data is descrambled and output to the subsequent stage for decoding.
  • Decoding supports RS (544,514) or RS (528,514), which can be selected according to the configuration.
  • each PHY data removes the inter-PHY offset in Figure 5.
  • the data is stored in the corresponding FIFO of each PHY; under the control of the circuit, multiple FIFOs read the data at the same time to achieve the offset removal effect.
  • the read-write control circuit can de-offset different groups composed of N PHYs at the same time.
  • the overhead is extracted after multi-frame framing.
  • the extracted overhead needs to be CRC, and the overhead can be processed after the verification is correct.
  • the overhead is divided into two parts: PHY overhead and PM segment monitoring overhead. While performing CRC check, the extracted overhead is sent to the overhead line circuit to facilitate the off-chip processing of overhead.
  • Each PHY data after overhead extraction and overhead processing enters the demapping circuit. After stripping the FlexO overhead etc., only the payload part is written into the demapping circuit.
  • Fig. 8 is the processing of empty decomposition mapping.
  • a 5G service occupies 4 time slots; when FlexO time slots use 5G time slots, a 5G service occupies 1 time slot.
  • Each PHY data is written into an independent buffer, and one PHY corresponds to a piece of RAM.
  • PHYs are included in the Group.
  • the payload stripped from each PHY carries the Group number, PHY number, and time slot number according to the overhead information. Based on these signals, a unified time slot number is generated.
  • CPU configuration All time slot numbers are crossed to different customer service ports for demapping, and a maximum of N FlexO PHYs are supported, so this cross also has the same N copies.
  • the client side service is mapped to ODUflex
  • FlexO mapping the data stream is mapped to a maximum of N PHYs.
  • Each PHY is an independently transmitted frame structure.
  • the data after the mapping process is based on the PHY.
  • the unit performs processing such as overhead insertion, AM insertion, encoding, and distribution.
  • Figure 11 is a space division mapping circuit. After each customer service is mapped to ODUflex, it is input into the FlexO mapping buffer.
  • the buffers are arranged in service port units, and each service port corresponds to a piece of buffer; each piece of buffer is segmented according to the configured number of time slots.
  • mapping and fetching service data according to the Group number, PHY number, and time slot number configured by the CPU, search the corresponding port RAM and time slot queue under the FlexO service rate control, read the data output of the corresponding time slot to frame.
  • mapping circuit is mapped to N PHYs, and each PHY is an independently transmitted frame structure. Subsequent processing of overhead insertion, AM insertion, encoding, and distribution is performed in the unit of PHY.
  • the mapped FlexO When the mapped FlexO handles overhead processing in the sending direction, it selects CPU insertion overhead or overhead line insertion overhead or transparent transmission according to the configuration, as shown in Figure 12. Insert the AM header information after the overhead is processed.
  • the FlexO data after overhead processing can choose RS (544,514) or RS (528,514) encoding. Then it is sent to the framing processing circuit on the transmitting side for scrambling, multi-frame instruction extraction, and then output, as shown in Figure 13.
  • each PHY independently performs framing and decoding in the receiving direction; after overhead extraction and overhead processing, the Group number and the number sequence of different PHYs in the same Group are obtained according to the overhead, and Group alarms are generated according to each PHY Or interrupt information. Then the offset is performed between multiple PHYs in the same group.
  • Figure 2 shows the framing process of each PHY receiving and sending direction.
  • the receiving direction finds the frame header after fixed AM, and extracts the multi-frame indication signal for the off-chip overhead line as an overhead insertion indication.
  • the service data is descrambled and output to the subsequent stage for decoding.
  • Decoding supports RS (544,514) or RS (528,514), which can be selected according to the configuration.
  • the overhead is extracted by multi-frame framing in Figure 6, and the extracted overhead needs to be CRC, and the overhead can be processed after the verification is correct.
  • the overhead is divided into two parts: PHY overhead and PM segment monitoring overhead. While performing CRC check, the extracted overhead is sent to the overhead line circuit to facilitate the off-chip processing of overhead.
  • Each PHY data after overhead extraction and overhead processing is shown in Figure 5 with the offset between PHYs removed.
  • the data is stored in the corresponding FIFO of each PHY; under the control of the circuit, multiple FIFOs read the data at the same time to achieve the offset removal effect.
  • the read-write control circuit can de-offset different groups composed of N PHYs at the same time.
  • Fig. 8 is the processing of empty decomposition mapping.
  • a 5G service occupies 4 time slots; when FlexO time slots use 5G time slots, a 5G service occupies 1 time slot.
  • Each PHY data is written into an independent buffer, and one PHY corresponds to a piece of RAM.
  • PHYs are included in the Group.
  • the payload stripped from each PHY carries the Group number, PHY number, and time slot number according to the overhead information. Based on these signals, a unified time slot number is generated.
  • CPU configuration All time slot numbers are crossed to different customer service ports for demapping, and a maximum of N FlexO PHYs are supported, so this cross also has the same N copies.
  • the client side service is mapped to ODUflex
  • FlexO mapping the data stream is mapped to a maximum of N PHYs.
  • Each PHY is an independently transmitted frame structure.
  • the data after the mapping process is based on the PHY.
  • the unit performs processing such as overhead insertion, AM insertion, encoding, and distribution.
  • Figure 11 is a space division mapping circuit. After each customer service is mapped to ODUflex, it is input into the FlexO mapping buffer.
  • the buffers are arranged in service port units, and each service port corresponds to a piece of buffer; each piece of buffer is segmented according to the configured number of time slots.
  • mapping and fetching service data according to the Group number, PHY number, and time slot number configured by the CPU, search the corresponding port RAM and time slot queue under the FlexO service rate control, read the data output of the corresponding time slot to frame.
  • mapping circuit is mapped to N PHYs, and each PHY is an independently transmitted frame structure. Subsequent processing of overhead insertion, AM insertion, encoding, and distribution is performed in the unit of PHY.
  • the mapped FlexO When the mapped FlexO handles overhead processing in the sending direction, it selects CPU insertion overhead or overhead line insertion overhead or transparent transmission according to the configuration, as shown in Figure 12. Insert the AM header information after the overhead is processed.
  • the FlexO data after overhead processing can choose RS (544,514) or RS (528,514) encoding. Then it is sent to the framing processing circuit on the transmitting side for scrambling, multi-frame instruction extraction, and then output, as shown in Figure 13.
  • This application takes 25G PHY (physical interface) as the processing unit, and supports a combination of up to N PHYs (up to N, depending on requirements).
  • N PHYs can be flexibly combined to support services configured by the network management system, and the maximum capacity can be determined according to requirements.
  • Each PHY has its own framing, decoding, encoding overhead processing and other processing procedures.

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Time-Division Multiplex Systems (AREA)

Abstract

Disclosed are a data receiving method and apparatus, and a data sending method and apparatus. The data receiving method comprises: receiving a flexible optical transport network (FlexO) signal from at least one physical layer (PHY) interface; carrying out fixed-frame processing and decoding processing on the FlexO signal from each PHY interface to obtain a FlexO frame corresponding to each PHY interface; grouping the at least one PHY interface, and carrying out de-offset processing and overhead extraction processing on the FlexO frames corresponding to all the PHY interfaces in the same group, so as to obtain FlexO payloads corresponding to all the PHY interfaces in the same group; and demapping the FlexO payloads corresponding to all the PHY interfaces in the same group into client services.

Description

数据接收方法及装置、数据发送方法及装置Data receiving method and device, data sending method and device
本申请要求在2019年07月24日提交中国专利局、申请号为201910671526.5的中国专利申请的优先权,该申请的全部内容通过引用结合在本申请中。This application claims the priority of a Chinese patent application filed with the Chinese Patent Office with an application number of 201910671526.5 on July 24, 2019. The entire content of this application is incorporated into this application by reference.
技术领域Technical field
本申请涉及光通信技术领域,例如涉及一种数据接收方法及装置、数据发送方法及装置。This application relates to the field of optical communication technology, for example, to a data receiving method and device, and a data sending method and device.
背景技术Background technique
承载网在第五代移动通信系统(the 5th Generation mobile communication system,5G)时代的应用场景出现新的发展趋势,5G业务的前传、中传和回传应用,要求光传送网(Optical Transport Network,OTN)设备提供大带宽、低延时、高精度时间同步,灵活通道和分组交换的支持能力。The bearer network has a new development trend in the application scenarios of the 5th Generation mobile communication system (the 5th Generation mobile communication system, 5G) era. The fronthaul, midhaul and backhaul applications of 5G services require optical transport networks (Optical Transport Network, OTN) equipment provides large bandwidth, low delay, high-precision time synchronization, flexible channel and packet switching support capabilities.
OTN设备虽然具有大带宽处理能力,但在延时性能、映射灵活性方面有待进一步提升。Although OTN equipment has large bandwidth processing capabilities, it needs further improvement in terms of delay performance and mapping flexibility.
发明内容Summary of the invention
本申请提供了一种数据接收方法及装置、数据发送方法及装置,能够进行灵活的映射处理、降低延时。This application provides a data receiving method and device, and a data sending method and device, which can perform flexible mapping processing and reduce delay.
本申请提供了一种数据接收方法,包括:This application provides a data receiving method, including:
接收至少一个物理层PHY接口的灵活光传送网FlexO信号;Receiving at least one physical layer PHY interface flexible optical transport network FlexO signal;
对每个PHY接口的FlexO信号进行定帧处理及解码处理,得到每个PHY接口对应的FlexO帧;Perform framing processing and decoding processing on the FlexO signal of each PHY interface to obtain the FlexO frame corresponding to each PHY interface;
对所述至少一个PHY接口进行分组,对同一组内的每个PHY接口对应的FlexO帧进行去偏移处理及开销提取处理,得到同一组内的每个PHY接口对应的FlexO净荷;Grouping the at least one PHY interface, performing offset removal processing and overhead extraction processing on the FlexO frame corresponding to each PHY interface in the same group, to obtain the FlexO payload corresponding to each PHY interface in the same group;
将同一组内的每个PHY接口对应的FlexO净荷解映射为客户业务。Demap the FlexO payload corresponding to each PHY interface in the same group to customer services.
本申请还提供了一种数据发送方法,包括:This application also provides a data sending method, including:
将同一组内的至少一个客户业务映射为至少一路灵活速率光信道数据单元ODUflex帧;Mapping at least one customer service in the same group to at least one flexible rate optical channel data unit ODUflex frame;
将所述至少一路ODUflex帧映射为同一组内的至少一个物理层PHY接口的 FlexO帧;Mapping the at least one ODUflex frame to FlexO frames of at least one physical layer PHY interface in the same group;
对每个PHY接口的FlexO帧进行开销插入处理及编码处理,并通过所述PHY接口发送。Perform overhead insertion processing and encoding processing on the FlexO frame of each PHY interface, and send it through the PHY interface.
本申请还提供了一种数据接收装置,包括接收模块、第一处理模块、第二处理模块和解映射模块;This application also provides a data receiving device, including a receiving module, a first processing module, a second processing module, and a demapping module;
接收模块,设置为接收至少一个物理层PHY接口的灵活光传送网FlexO信号;The receiving module is configured to receive at least one physical layer PHY interface flexible optical transport network FlexO signal;
第一处理模块,设置为对每个PHY接口的FlexO信号进行定帧处理及解码处理,得到每个PHY接口对应的FlexO帧;The first processing module is configured to perform framing processing and decoding processing on the FlexO signal of each PHY interface to obtain the FlexO frame corresponding to each PHY interface;
第二处理模块,设置为对所述至少一个PHY接口进行分组,对同一组内的每个PHY接口对应的FlexO帧进行去偏移处理及开销提取处理,得到同一组内的每个PHY接口对应的FlexO净荷;The second processing module is configured to group the at least one PHY interface, perform offset removal processing and overhead extraction processing on the FlexO frame corresponding to each PHY interface in the same group, to obtain the correspondence of each PHY interface in the same group FlexO payload;
解映射模块,设置为将同一组内的每个PHY接口对应的FlexO净荷解映射为客户业务。The de-mapping module is set to de-map the FlexO payload corresponding to each PHY interface in the same group into customer services.
本申请还提供了一种数据发送装置,包括第一映射模块、第二映射模块和发送模块;The present application also provides a data sending device, including a first mapping module, a second mapping module, and a sending module;
第一映射模块,设置为将同一组内的至少一个客户业务映射为至少一路灵活速率光信道数据单元ODUflex帧;The first mapping module is configured to map at least one customer service in the same group to at least one flexible rate optical channel data unit ODUflex frame;
第二映射模块,设置为将所述至少一路ODUflex帧映射为同一组内的至少一个物理层PHY接口的FlexO帧;The second mapping module is configured to map the at least one ODUflex frame to FlexO frames of at least one physical layer PHY interface in the same group;
发送模块,设置为对每个PHY接口的FlexO帧进行开销插入处理及编码处理,并通过所述PHY接口发送。The sending module is configured to perform overhead insertion processing and encoding processing on the FlexO frame of each PHY interface, and send it through the PHY interface.
附图说明Description of the drawings
图1为本发明实施例提供的一种数据接收方法的流程示意图;FIG. 1 is a schematic flowchart of a data receiving method provided by an embodiment of the present invention;
图2是本发明实施例提供的一种数据接收方向定帧处理过程示意图;2 is a schematic diagram of a framing process in a data receiving direction according to an embodiment of the present invention;
图3是本发明实施例提供的一种数据接收方向(先去偏移)的实现框图;FIG. 3 is a block diagram of an implementation of a data receiving direction (de-offset first) according to an embodiment of the present invention;
图4是本发明实施例提供的一种数据接收方向(后去偏移)的实现框图;FIG. 4 is a block diagram of an implementation of a data receiving direction (post-offset) provided by an embodiment of the present invention;
图5是本发明实施例提供的一种数据接收方向去偏移处理过程示意图;FIG. 5 is a schematic diagram of a data receiving direction offset processing process according to an embodiment of the present invention;
图6是本发明实施例提供的一种数据接收方向开销提取处理过程示意图;FIG. 6 is a schematic diagram of a process for extracting overhead in a data receiving direction according to an embodiment of the present invention;
图7是本发明实施例提供的一种数据接收方向解映射(时分解映射)处理 过程示意图;FIG. 7 is a schematic diagram of a process of demapping (time decomposition mapping) of data receiving directions provided by an embodiment of the present invention;
图8是本发明实施例提供的一种数据接收方向解映射(空分解映射)处理过程示意图;FIG. 8 is a schematic diagram of a processing process of data receiving direction demapping (empty decomposition mapping) provided by an embodiment of the present invention;
图9为本发明实施例提供的一种数据发送方法的流程示意图;FIG. 9 is a schematic flowchart of a data sending method according to an embodiment of the present invention;
图10是本发明实施例提供的一种数据发送方向映射(时分映射)处理过程示意图;10 is a schematic diagram of a processing process of data transmission direction mapping (time division mapping) provided by an embodiment of the present invention;
图11是本发明实施例提供的一种数据发送方向映射(空分映射)处理过程示意图;11 is a schematic diagram of a processing process of data transmission direction mapping (space division mapping) provided by an embodiment of the present invention;
图12是本发明实施例提供的一种数据发送方向开销插入处理过程示意图;FIG. 12 is a schematic diagram of a processing process of overhead insertion in a data transmission direction according to an embodiment of the present invention;
图13是本发明实施例提供的一种数据发送方向定帧处理过程示意图;FIG. 13 is a schematic diagram of a framing process in a data transmission direction according to an embodiment of the present invention;
图14是本发明实施例提供的一种数据发送方向的实现框图;FIG. 14 is a block diagram of an implementation of a data sending direction according to an embodiment of the present invention;
图15为本发明实施例提供的一种数据接收装置的结构示意图;15 is a schematic structural diagram of a data receiving device provided by an embodiment of the present invention;
图16为本发明实施例提供的一种数据发送装置的结构示意图。FIG. 16 is a schematic structural diagram of a data sending device provided by an embodiment of the present invention.
具体实施方式Detailed ways
下文中将结合附图对本发明实施例进行说明。The embodiments of the present invention will be described below in conjunction with the drawings.
在附图的流程图示出的步骤可以在诸如一组计算机可执行指令的计算机系统中执行。并且,虽然在流程图中示出了逻辑顺序,但是在一些情况下,可以以不同于此处的顺序执行所示出或描述的步骤。The steps shown in the flowchart of the drawings may be executed in a computer system such as a set of computer-executable instructions. Also, although a logical sequence is shown in the flowchart, in some cases, the steps shown or described may be performed in a different order than here.
实施例一Example one
如图1所示,本发明实施例提供了一种数据接收方法,包括:As shown in Figure 1, an embodiment of the present invention provides a data receiving method, including:
步骤101:接收一个或多个物理层(Physical,PHY)接口的灵活光传送网(Flexible Optical Transport Network,FlexO)信号。Step 101: Receive flexible optical transport network (Flexible Optical Transport Network, FlexO) signals of one or more physical layer (Physical, PHY) interfaces.
FlexO是一种用于信号互联的接口技术,通过绑定多个标准速率接口来实现超100Gbit/s业务的传输。在使用FlexO标准协议(FlexO-分段路由(FlexO-Segment Routing,FlexO-SR))时,首先将数据流量封装到灵活速率光信道数据单元(Flexible Optical Channel Data Unit,ODUflex),然后复用到光通道数据单元Cn(Optical Channel Data Unit-Cn,ODUCn)完成复用段及链路监控(Path Monitor,PM),最终通过FlexO映射成为FlexO帧,装载至N个PHY接口发送。FlexO is an interface technology for signal interconnection, which realizes the transmission of services exceeding 100Gbit/s by binding multiple standard rate interfaces. When using the FlexO standard protocol (FlexO-Segment Routing (FlexO-Segment Routing, FlexO-SR)), the data traffic is first encapsulated into a flexible optical channel data unit (Flexible Optical Channel Data Unit, ODUflex), and then multiplexed to Optical channel data unit Cn (Optical Channel Data Unit-Cn, ODUCn) completes multiplex section and link monitoring (Path Monitor, PM), and finally maps it into FlexO frame through FlexO, and loads it to N PHY interfaces for transmission.
FlexO-SR以100G速率为标准速率接口。本申请采用25G速率PHY为基本 单元组合,支持1.25G或5G时隙组合成FlexO帧,以达到支持FlexO业务实现5G前传功能要求。相比FlexO-SR,PHY速率降低、时隙颗粒度划分更细后使得组合更加灵活。同一个业务可以用多个PHY组合一起形成一个组(Group)。最多支持N个PHY组合一起能支持多个不同业务,亦即可以支持多个Group。FlexO-SR uses 100G rate as the standard rate interface. This application uses 25G rate PHY as the basic unit combination, and supports 1.25G or 5G time slots to be combined into FlexO frames to meet the requirements of supporting FlexO services and realizing 5G fronthaul functions. Compared with FlexO-SR, the PHY rate is reduced and the time slot granularity is more finely divided, which makes the combination more flexible. The same service can be combined with multiple PHYs to form a group. Supporting up to N PHY combinations can support multiple different services together, that is, multiple groups can be supported.
步骤102:对每个PHY接口的FlexO信号进行定帧处理及解码处理,得到每个PHY接口对应的FlexO帧。Step 102: Perform framing processing and decoding processing on the FlexO signal of each PHY interface to obtain a FlexO frame corresponding to each PHY interface.
图2中表明了每个PHY接收方向定帧处理的过程。接收方向经过定定帧标记(Alignment Marker,AM)后找到帧头,将复帧指示信号提取出来供片外开销线作为开销下插指示。定帧后业务数据经过解扰输出给后级解码。Figure 2 shows the framing process of each PHY receiving direction. The receiving direction finds the frame header after passing through the alignment marker (Alignment Marker, AM), and extracts the multi-frame indication signal for the off-chip overhead line as an overhead insertion indication. After framing, the service data is descrambled and output to the subsequent stage for decoding.
在一种示例性实施例中,所述解码处理为里所码(又称里德-所罗门码,Reed-solomon codes,RS codes)解码。In an exemplary embodiment, the decoding process is Reed-Solomon codes (Reed-Solomon codes, RS codes) decoding.
里所码是一种前向纠错的信道编码,对由校正过采样数据所产生的有效多项式。编码过程首先在多个点上对这些多项式求冗余,然后将其传输或者存储。当接收器正确的收到足够的点后,它就可以恢复原来的多项式,即使接收到的多项式上有很多点被噪声干扰。The code here is a forward error correction channel coding, which is an effective polynomial generated by correcting over-sampling data. The encoding process first seeks redundancy for these polynomials at multiple points, and then transmits or stores them. When the receiver correctly receives enough points, it can restore the original polynomial, even if many points on the received polynomial are interfered by noise.
在该实施例的一示例中,所述解码处理支持RS(544,514)或RS(528,514),可以根据配置进行选择。In an example of this embodiment, the decoding process supports RS (544, 514) or RS (528, 514), which can be selected according to the configuration.
步骤103:对至少一个PHY接口分组,对同一组内的每个PHY接口对应的FlexO帧进行去偏移处理及开销提取处理,得到同一组内的每个PHY接口对应的FlexO净荷。Step 103: Group at least one PHY interface, and perform offset removal processing and overhead extraction processing on the FlexO frame corresponding to each PHY interface in the same group to obtain the FlexO payload corresponding to each PHY interface in the same group.
在一种示例性实施例中,所述对同一组内的每个PHY接口对应的FlexO帧进行去偏移处理及开销提取处理,包括:In an exemplary embodiment, the performing offset removal processing and overhead extraction processing on the FlexO frame corresponding to each PHY interface in the same group includes:
对所述同一组内的每个PHY接口对应的FlexO帧,先进行去偏移处理,再进行开销提取处理,如图3所示;或者,对所述同一组内的每个PHY接口对应的FlexO帧,先进行开销提取处理,再进行去偏移处理,如图4所示。For the FlexO frame corresponding to each PHY interface in the same group, the offset processing is performed first, and then the overhead extraction processing is performed, as shown in FIG. 3; or, for the FlexO frame corresponding to each PHY interface in the same group For FlexO frames, overhead extraction processing is performed first, and then offset processing is performed, as shown in Figure 4.
在一种示例性实施例中,所述去偏移处理,包括:In an exemplary embodiment, the offset removal processing includes:
在读写控制电路控制下,将所述同一组内的每个PHY接口对应的FlexO帧存入每个PHY接口对应的先进先出(First Input First Output,FIFO)缓存;在读写控制电路控制下,同时读取该组内每个PHY接口对应的FIFO缓存的FlexO帧,以达到去偏移作用。Under the control of the read-write control circuit, the FlexO frame corresponding to each PHY interface in the same group is stored in the FIFO (First Input First Output) buffer corresponding to each PHY interface; Next, read the FlexO frame of the FIFO buffer corresponding to each PHY interface in the group at the same time to achieve the offset removal effect.
本申请所述的读写控制电路包括读控制电路和写控制电路,其中,写控制电路以PHY为单位独立进行;读控制电路由中央处理器(Central Processing Unit, CPU)配置进行。CPU先配置哪些PHY组成Group,同一个Group内的FIFO在满足CPU配置输出条件时,同时启动读操作。所有的FIFO可以灵活的组成多个相互独立的Group。The read-write control circuit described in this application includes a read control circuit and a write control circuit, wherein the write control circuit is performed independently in a PHY unit; the read control circuit is configured by a central processing unit (CPU). The CPU first configures which PHYs form a group, and the FIFO in the same group starts a read operation at the same time when the CPU configuration output condition is met. All FIFOs can flexibly form multiple independent Groups.
解码后,每个PHY数据在图5中去掉PHY间偏移。在读写控制电路控制下,数据存入每个PHY对应FIFO中;在该电路控制下多个FIFO同时读取数据,以达到去偏移作用。读写控制电路在CPU配置下,可以同时对N个PHY组成的不同Group进行去偏移处理。After decoding, each PHY data removes the inter-PHY offset in Figure 5. Under the control of the read-write control circuit, the data is stored in the corresponding FIFO of each PHY; under the control of the circuit, multiple FIFOs read data at the same time to achieve the effect of offsetting. Under the CPU configuration, the read-write control circuit can de-offset different groups composed of N PHYs at the same time.
图6中经过复帧定帧提取开销,对提取的开销需进行循环冗余校验(Cyclic Redundancy Check,CRC),校验正确后方可进行进行开销处理。开销分为2部分:PHY开销、PM段监控开销。进行CRC校验的同时将提取的开销送给开销线电路,便于片外对开销进行处理。In Figure 6, the overhead is extracted after multi-frame framing, and the extracted overhead needs to be subjected to a cyclic redundancy check (Cyclic Redundancy Check, CRC), and the overhead can be processed only after the check is correct. The overhead is divided into two parts: PHY overhead and PM segment monitoring overhead. While performing CRC check, the extracted overhead is sent to the overhead line circuit to facilitate the off-chip processing of overhead.
经过开销提取和开销处理后的每个PHY数据流进入解映射电路中。将FlexO的开销等剥离后仅将净荷部分写入解映射电路。Each PHY data stream after overhead extraction and overhead processing enters the demapping circuit. After stripping the FlexO overhead etc., only the payload part is written into the demapping circuit.
步骤104:将同一组内的每个PHY接口对应的FlexO净荷解映射为客户业务。Step 104: Demap the FlexO payload corresponding to each PHY interface in the same group into client services.
在一种示例性实施例中,所述将同一组内的每个PHY接口对应的FlexO净荷解映射为客户业务,包括:In an exemplary embodiment, the demapping FlexO payload corresponding to each PHY interface in the same group into a client service includes:
将同一组内的所有PHY接口对应的FlexO净荷组合成一条灵活速率光信道数据单元ODUflex时分数据流,每个时隙的ODUflex帧携带组号、时隙号和PHY接口号;根据PHY接口与客户业务端口的映射关系,将所述ODUflex时分数据流中每个时隙的ODUflex帧解映射至对应的客户业务端口。Combine the FlexO payloads corresponding to all PHY interfaces in the same group into a flexible rate optical channel data unit ODUflex time division data stream. The ODUflex frame of each time slot carries the group number, time slot number and PHY interface number; according to the PHY interface and The mapping relationship of customer service ports is to demap the ODUflex frame of each time slot in the ODUflex time-division data stream to the corresponding customer service port.
图7是时分解映射的处理,其中,m为1至N之间的自然数。如图7所示,为与老的OTN设备兼容,FlexO时隙采用1.25G时隙时,一条5G业务占用4个时隙;FlexO时隙采用5G时隙时,一条5G业务就占用1个时隙。每个PHY数据写入独立缓存中,一个PHY对应一片随机存取存储器(Random Access Memory,RAM)。在开销处理中,已经知晓Group中包含了哪些PHY,通过CPU配置将全部PHY的数据依据空分转时分的复用关系组合成一条ODUflex时分数据流,不同Group中ODUflex组成一条数据流,与数据流同步输出PHY号、Group号、时隙号。每个时隙ODUflex携带Group号、时隙号和PHY号;这条数据流在输出给不同客户端口解映射时,依据CPU配置将每个时隙数据分配给不同客户业务口,以此完成FlexO净荷交叉解映射功能。通过时分复用方式简化时隙交叉处理复杂度。Figure 7 is the processing of time decomposition mapping, where m is a natural number between 1 and N. As shown in Figure 7, in order to be compatible with the old OTN equipment, when the FlexO time slot uses 1.25G time slots, a 5G service occupies 4 time slots; when the FlexO time slot uses 5G time slots, a 5G service occupies 1 time Gap. Each PHY data is written into an independent buffer, and one PHY corresponds to a piece of random access memory (Random Access Memory, RAM). In the overhead processing, it is known which PHYs are included in the group. Through CPU configuration, all PHY data is combined into an ODUflex time-division data stream based on the multiplexing relationship of space division to time division. ODUflex in different groups forms a data stream. The stream synchronously outputs the PHY number, Group number, and time slot number. Each time slot ODUflex carries Group number, time slot number and PHY number; when this data stream is output to different client ports for de-mapping, each time slot data is allocated to different client service ports according to the CPU configuration to complete FlexO Payload cross demapping function. Simplify time slot cross processing complexity through time division multiplexing.
在另一种示例性实施例中,所述将同一组内的每个PHY接口对应的FlexO 净荷解映射为客户业务,包括:In another exemplary embodiment, the demapping the FlexO payload corresponding to each PHY interface in the same group into client services includes:
将同一组内的每个PHY接口对应的FlexO净荷写入每个PHY接口对应的独立缓存中;根据PHY接口与客户业务端口的映射关系,将每个独立缓存中的FlexO净荷解映射至对应的客户业务端口。Write the FlexO payload corresponding to each PHY interface in the same group into the independent buffer corresponding to each PHY interface; according to the mapping relationship between the PHY interface and the customer service port, demap the FlexO payload in each independent buffer to Corresponding customer service port.
图8是空分解映射的处理,其中,m为1至N之间的自然数。为与老的OTN设备兼容,FlexO时隙采用1.25G时隙时,一条5G业务占用4个时隙;FlexO时隙采用5G时隙时,一条5G业务就占用1个时隙。每个PHY数据写入独立缓存中,一个PHY对应一片RAM。在开销处理中,已经知晓Group中包含了哪些PHY,每个PHY剥离出来的净荷依据开销信息都携带Group号、PHY号、时隙号,依据这些信号会生成统一的时隙编号,CPU配置全部时隙号交叉去往不同客户业务端口去解映射,最大支持N个FlexO的PHY,所以这个交叉也有相同的N份。Fig. 8 is the processing of space decomposition mapping, where m is a natural number between 1 and N. In order to be compatible with old OTN equipment, when FlexO time slots use 1.25G time slots, a 5G service occupies 4 time slots; when FlexO time slots use 5G time slots, a 5G service occupies 1 time slot. Each PHY data is written into an independent buffer, and one PHY corresponds to a piece of RAM. In the overhead processing, it is known which PHYs are included in the Group. The payload stripped from each PHY carries the Group number, PHY number, and time slot number according to the overhead information. Based on these signals, a unified time slot number is generated. CPU configuration All time slot numbers are crossed to different customer service ports for demapping, and a maximum of N FlexO PHYs are supported, so this cross also has the same N copies.
实施例二 数据发送方法Embodiment 2 Data sending method
如图9所示,本发明实施例还提供了一种数据发送方法,包括:As shown in FIG. 9, an embodiment of the present invention also provides a data sending method, including:
步骤901:将同一组内一个或多个客户业务映射为一路或多路ODUflex帧。Step 901: Map one or more customer services in the same group to one or more ODUflex frames.
步骤902:将该一路或多路ODUflex帧映射为同一组内一个或多个物理层PHY接口的FlexO帧。Step 902: Map the one or more ODUflex frames to FlexO frames of one or more physical layer PHY interfaces in the same group.
在一种示例性实施例中,所述将该一路或多路ODUflex帧映射为同一组内一个或多个PHY接口的FlexO帧,包括:In an exemplary embodiment, the mapping the one or more ODUflex frames to FlexO frames of one or more PHY interfaces in the same group includes:
将所述一路或多路ODUflex帧组合成一条ODUflex时分数据流,每个时隙的ODUflex帧携带组号、时隙号和PHY接口号;根据时隙号将每个时隙的ODUflex帧存入链表;在时分自振电路控制下,读取每个时隙的ODUflex帧,映射至同一组内对应的PHY接口,并经过FIFO缓存对齐输出。Combine the one or more ODUflex frames into an ODUflex time-division data stream, the ODUflex frame of each time slot carries the group number, the time slot number and the PHY interface number; the ODUflex frame of each time slot is stored according to the time slot number Linked list: Under the control of the time division self-oscillation circuit, read the ODUflex frame of each time slot, map it to the corresponding PHY interface in the same group, and align the output through the FIFO buffer.
本申请包括多套时分自振电路,多套时分自振电路同时在工作,一套时分自振电路对应一个Group,时分的输出这些Group输出的速率;速率指示满足输出条件但是又没有轮到该Group输出时,先暂存该Group的ODUflex帧,待轮到该Group输出时,读取每个时隙的ODUflex帧,映射至该Group内对应的PHY接口,并经过FIFO缓存对齐输出。This application includes multiple sets of time division self-oscillation circuits, multiple sets of time-division self-oscillation circuits are working at the same time, one set of time-division self-oscillation circuits corresponds to a group, and the output rate of these groups is output in time division; the rate indicates that the output conditions are met but it is not its turn When the group is output, the ODUflex frame of the group is temporarily stored. When it is the turn of the group to output, the ODUflex frame of each time slot is read, mapped to the corresponding PHY interface in the group, and aligned and output through the FIFO buffer.
图10是时分映射电路,其中,m为1至N之间的自然数。多个输入的客户侧业务经过客户侧映射电路后处理为多路ODUflex,这些数据时分复用成一条数据流后,每个时隙ODUflex携带Group号、时隙号和PHY号(所携带的PHY 号由CPU根据每个PHY接口的传输速率进行配置,所携带的PHY号即是该时隙ODUflex要装载的PHY对应的PHY号),数据依据时隙号存入链表。链表在时分自振控制下将依照时隙关系将存入链表中的每个时隙数据读取出来。用通用映射规程(Generic Mapping Procedure,GMP)或边界网关组播协议(Border Gateway Multicast Protocol,BGMP)或比特同步映射规程(Bit-synchronous Mapping Procedure,BMP)映射为ODTUF.ts,ODTUF.ts同样携带了Group、PHY端口、时隙编号等信息。并依据这些信息往CPU配置的Group、PHY中装填,当一个PHY装不下一ODUflex映射过来的多个时隙时,剩余时隙会装入另一个PHY中,这2个PHY同属一个Group,PM段开销各自独立,PHY开销是同属一个Group。哪些时隙映射入同一个PHY,哪些PHY组成一个Group都是CPU配置。从链表读取出来的数据经过映射处理后进入输出FIFO中,同一个Group要对齐后输出。Fig. 10 is a time division mapping circuit, where m is a natural number between 1 and N. Multiple input client-side services are processed into multiple ODUflex after the client-side mapping circuit. After these data are time-division multiplexed into a data stream, each time slot ODUflex carries the Group number, time slot number and PHY number (the carried PHY The number is configured by the CPU according to the transmission rate of each PHY interface, and the carried PHY number is the PHY number corresponding to the PHY to be loaded by the time slot ODUflex), and the data is stored in the linked list according to the time slot number. The linked list will read out each time slot data stored in the linked list according to the time slot relationship under the time-division self-oscillation control. Use Generic Mapping Procedure (GMP) or Border Gateway Multicast Protocol (BGMP) or Bit-synchronous Mapping Procedure (BMP) to map to ODTUF.ts, ODTUF.ts also carry Information such as Group, PHY port, time slot number, etc. are displayed. And fill in the Group and PHY configured by the CPU based on this information. When one PHY cannot hold multiple time slots mapped by the next ODUflex, the remaining time slots will be loaded into another PHY. These two PHYs belong to the same Group, PM The segment overhead is independent, and the PHY overhead belongs to the same Group. Which time slots are mapped to the same PHY and which PHYs form a group are all CPU configurations. The data read from the linked list enters the output FIFO after mapping processing, and the same group is output after alignment.
在另一种示例性实施例中,所述将该一路或多路ODUflex帧映射为同一组内一个或多个PHY接口的FlexO帧,包括:In another exemplary embodiment, the mapping the one or more ODUflex frames to FlexO frames of one or more PHY interfaces in the same group includes:
将所述一路或多路ODUflex帧输入FlexO映射缓存,所述FlexO映射缓存的片数根据业务端口数进行配置,每片FlexO映射缓存按照配置的时隙数进行分段;根据PHY接口与客户业务端口的映射关系,读取对应FlexO映射缓存对应时隙的ODUflex帧,并映射为同一组内对应PHY接口的FlexO帧。The one or more ODUflex frames are input into the FlexO mapping buffer, the number of FlexO mapping buffers is configured according to the number of service ports, and each FlexO mapping buffer is segmented according to the configured number of time slots; according to the PHY interface and customer service The port mapping relationship reads the ODUflex frame corresponding to the time slot corresponding to the FlexO mapping buffer, and maps it to the FlexO frame corresponding to the PHY interface in the same group.
图11是空分映射电路,其中,m为1至N之间的自然数。每个客户业务映射为ODUflex后,输入FlexO映射缓存中,缓存以业务端口单位排列、每个业务端口对应一片缓存;每片缓存按照配置的时隙数分段。映射取业务数据时,依据CPU配置的Group号、PHY号、时隙号,在FlexO业务速率控制下查找对应端口RAM及时隙队列、读取对应时隙的数据输出去成帧。Figure 11 is a space division mapping circuit, where m is a natural number between 1 and N. After each customer service is mapped to ODUflex, it is input into the FlexO mapping buffer. The buffers are arranged in service port units, and each service port corresponds to a piece of buffer; each piece of buffer is segmented according to the configured number of time slots. When mapping and fetching service data, according to the Group number, PHY number, and time slot number configured by the CPU, search the corresponding port RAM and time slot queue under the FlexO service rate control, read the data output of the corresponding time slot to frame.
在映射电路中映射到N个PHY上,每个PHY是一个独立传送的帧结构,后续以PHY为单位进行开销插入、AM插入、编码、分发等处理。The mapping circuit is mapped to N PHYs, and each PHY is an independently transmitted frame structure. Subsequent processing of overhead insertion, AM insertion, encoding, and distribution is performed in the unit of PHY.
步骤903:对每个PHY接口的FlexO帧进行开销插入处理及编码处理,并通过该PHY接口发送。Step 903: Perform overhead insertion processing and encoding processing on the FlexO frame of each PHY interface, and send it through the PHY interface.
映射后的FlexO在发送方向处理开销处理时,根据配置选择CPU插入开销或开销线插入开销或者透传,如图12所示。开销处理完后插入AM头信息。When the mapped FlexO processes overhead in the sending direction, it selects CPU insertion overhead or overhead line insertion overhead or transparent transmission according to the configuration, as shown in Figure 12. Insert the AM header information after the overhead is processed.
经过开销处理的FlexO数据可以选择RS(544,514)或RS(528,514)编码。然后送入发送侧定帧处理电路进行加扰、复帧指示提取,再输出,如图13所示。The FlexO data after overhead processing can choose RS (544,514) or RS (528,514) encoding. Then it is sent to the framing processing circuit on the sending side for scrambling, multi-frame instruction extraction, and output, as shown in Figure 13.
在发送方向,如图14所示,客户侧业务映射成为ODUflex后,经过FlexO 映射,数据流映射到最多N个PHY上,每个PHY是一个独立传送的帧结构,经过映射处理后的数据以PHY为单位进行开销插入、AM插入、编码、分发等处理。In the sending direction, as shown in Figure 14, after the client side service is mapped to ODUflex, after FlexO mapping, the data stream is mapped to a maximum of N PHYs. Each PHY is an independently transmitted frame structure. The data after the mapping process is The PHY unit performs processing such as overhead insertion, AM insertion, encoding, and distribution.
实施例三 数据接收装置Embodiment 3 Data receiving device
如图15所示,本发明实施例还提供了一种数据接收装置,包括接收模块1501、第一处理模块1502、第二处理模块1503和解映射模块1504,其中:As shown in FIG. 15, an embodiment of the present invention also provides a data receiving device, including a receiving module 1501, a first processing module 1502, a second processing module 1503, and a demapping module 1504, wherein:
接收模块1501,设置为接收一个或多个物理层PHY接口的灵活光传送网FlexO信号。The receiving module 1501 is configured to receive FlexO signals of the flexible optical transport network of one or more physical layer PHY interfaces.
第一处理模块1502,设置为对每个PHY接口的FlexO信号进行定帧处理及解码处理,得到每个PHY接口对应的FlexO帧。The first processing module 1502 is configured to perform framing processing and decoding processing on the FlexO signal of each PHY interface to obtain the FlexO frame corresponding to each PHY interface.
第二处理模块1503,设置为对至少一个PHY接口进行分组,对同一组内的每个PHY接口对应的FlexO帧进行去偏移处理及开销提取处理,得到同一组内的每个PHY接口对应的FlexO净荷。The second processing module 1503 is configured to group at least one PHY interface, and perform offset processing and overhead extraction processing on the FlexO frame corresponding to each PHY interface in the same group to obtain the corresponding data for each PHY interface in the same group. FlexO payload.
解映射模块1504,设置为将同一组内的每个PHY接口对应的FlexO净荷解映射为客户业务。The de-mapping module 1504 is configured to de-map the FlexO payload corresponding to each PHY interface in the same group into client services.
在一种示例性实施例中,所述第二处理模块1503对同一组内的每个PHY接口对应的FlexO帧进行去偏移处理及开销提取处理,包括:In an exemplary embodiment, the second processing module 1503 performs offset processing and overhead extraction processing on the FlexO frame corresponding to each PHY interface in the same group, including:
第二处理模块1503对所述同一组内的每个PHY接口对应的FlexO帧,先进行去偏移处理,再进行开销提取处理,如图3所示;或者,第二处理模块1503对所述同一组内的每个PHY接口对应的FlexO帧,先进行开销提取处理,再进行去偏移处理,如图4所示。The second processing module 1503 performs offset removal processing on the FlexO frame corresponding to each PHY interface in the same group, and then performs overhead extraction processing, as shown in FIG. 3; or, the second processing module 1503 performs The FlexO frame corresponding to each PHY interface in the same group is first subjected to overhead extraction processing, and then offset processing, as shown in Figure 4.
在一种示例性实施例中,所述第二处理模块1503的去偏移处理,包括:In an exemplary embodiment, the offset removal processing of the second processing module 1503 includes:
在读写控制电路控制下,将所述同一组内的每个PHY接口对应的FlexO帧存入该PHY接口对应的FIFO缓存;在读写控制电路控制下,同时读取该组内每个PHY接口对应的FIFO缓存的FlexO帧,以达到去偏移作用。Under the control of the read-write control circuit, the FlexO frame corresponding to each PHY interface in the same group is stored in the FIFO buffer corresponding to the PHY interface; under the control of the read-write control circuit, each PHY in the group is read at the same time The FlexO frame of the FIFO buffer corresponding to the interface to achieve the effect of offset.
在一种示例性实施例中,所述解映射模块1504是设置为:In an exemplary embodiment, the demapping module 1504 is configured to:
将同一组内的所有PHY接口对应的FlexO净荷组合成一条灵活速率光信道数据单元ODUflex时分数据流,每个时隙的ODUflex帧携带组号、时隙号和PHY接口号;根据PHY接口与客户业务端口的映射关系,将所述ODUflex时分数据流中每个时隙的ODUflex帧解映射至对应的客户业务端口。Combine the FlexO payloads corresponding to all PHY interfaces in the same group into a flexible rate optical channel data unit ODUflex time division data stream. The ODUflex frame of each time slot carries the group number, time slot number and PHY interface number; according to the PHY interface and The mapping relationship of customer service ports is to demap the ODUflex frame of each time slot in the ODUflex time-division data stream to the corresponding customer service port.
在另一种示例性实施例中,所述解映射模块1504是设置为:In another exemplary embodiment, the demapping module 1504 is configured to:
将同一组内的每个PHY接口对应的FlexO净荷写入该PHY接口对应的独立缓存中;根据PHY接口与客户业务端口的映射关系,将每个独立缓存中的FlexO净荷解映射至对应的客户业务端口。Write the FlexO payload corresponding to each PHY interface in the same group into the independent buffer corresponding to the PHY interface; according to the mapping relationship between the PHY interface and the customer service port, demap the FlexO payload in each independent buffer to the corresponding Customer service port.
实施例四 数据发送装置Embodiment 4 Data sending device
如图16所示,本发明实施例还提供了一种数据发送装置,包括第一映射模块1601、第二映射模块1602和发送模块1603,其中:As shown in FIG. 16, an embodiment of the present invention also provides a data sending device, including a first mapping module 1601, a second mapping module 1602, and a sending module 1603, wherein:
第一映射模块1601,设置为将同一组内一个或多个客户业务映射为一路或多路灵活速率光信道数据单元ODUflex帧。The first mapping module 1601 is configured to map one or more customer services in the same group into one or more flexible rate optical channel data unit ODUflex frames.
第二映射模块1602,设置为将该一路或多路ODUflex帧映射为同一组内一个或多个物理层PHY接口的FlexO帧。The second mapping module 1602 is configured to map the one or more ODUflex frames to FlexO frames of one or more physical layer PHY interfaces in the same group.
发送模块1603,设置为对每个PHY接口的FlexO帧进行开销插入处理及编码处理,并通过该PHY接口发送。The sending module 1603 is configured to perform overhead insertion processing and encoding processing on the FlexO frame of each PHY interface, and send it through the PHY interface.
在一种示例性实施例中,所述第二映射模块1602是设置为:In an exemplary embodiment, the second mapping module 1602 is configured to:
将所述一路或多路ODUflex帧组合成一条ODUflex时分数据流,每个时隙的ODUflex帧携带组号、时隙号和PHY接口号;根据时隙号将每个时隙的ODUflex帧存入链表;在时分自振电路控制下,读取每个时隙的ODUflex帧,映射至同一组内对应的PHY接口,并经过FIFO缓存对齐输出。Combine the one or more ODUflex frames into an ODUflex time-division data stream, the ODUflex frame of each time slot carries the group number, the time slot number and the PHY interface number; the ODUflex frame of each time slot is stored according to the time slot number Linked list: Under the control of the time division self-oscillation circuit, read the ODUflex frame of each time slot, map it to the corresponding PHY interface in the same group, and align the output through the FIFO buffer.
在另一种示例性实施例中,所述第二映射模块1602是设置为:In another exemplary embodiment, the second mapping module 1602 is configured to:
将所述一路或多路ODUflex帧输入FlexO映射缓存,所述FlexO映射缓存的片数根据业务端口数进行配置,每片FlexO映射缓存按照配置的时隙数进行分段;根据PHY接口与客户业务端口的映射关系,读取对应FlexO映射缓存对应时隙的ODUflex帧,并映射为同一组内对应PHY接口的FlexO帧。The one or more ODUflex frames are input into the FlexO mapping buffer, the number of FlexO mapping buffers is configured according to the number of service ports, and each FlexO mapping buffer is segmented according to the configured number of time slots; according to the PHY interface and customer service The port mapping relationship reads the ODUflex frame corresponding to the time slot corresponding to the FlexO mapping buffer, and maps it to the FlexO frame corresponding to the PHY interface in the same group.
具体实施例一(先去偏移+时分映射解映射):Specific embodiment one (de-offset first + time division mapping and demapping):
与标准FlexO的100G速率PHY相比,本发明实施例采用25G速率PHY为基本单元组合,支持1.25G或5G时隙组合成FlexO帧,以达到支持FlexO业务实现5G前传功能要求。相比FlexO-SR,PHY速率降低、时隙颗粒度划分更细后使得组合更加灵活。同一个业务可以用多个PHY组合一起形成一个Group(组)。最多支持N个PHY组合一起能支持多个不同业务。亦即可以支持多个Group。Compared with the standard FlexO 100G rate PHY, the embodiment of the present invention uses 25G rate PHY as the basic unit combination, and supports 1.25G or 5G timeslot combination into FlexO frames, so as to meet the requirements of supporting FlexO services and realizing 5G fronthaul functions. Compared with FlexO-SR, the PHY rate is reduced and the time slot granularity is more finely divided, which makes the combination more flexible. The same service can be combined with multiple PHYs to form a Group. Supporting up to N PHY combinations can support multiple different services together. That is, multiple groups can be supported.
见图3、在接收方向每个PHY独立的进行定帧、解码,同一个Group内的 多个PHY之间先进行去偏移。去偏移后的每个PHY以PHY为单位进行开销处理,根据开销获取Group编号及同一个Group内不同PHY的编号顺序,并根据每个PHY产生Group的告警或中断信息。然后再去解映射。See Figure 3. In the receiving direction, each PHY performs framing and decoding independently, and offsets are first performed among multiple PHYs in the same group. After offsetting, each PHY uses the PHY as the unit to perform overhead processing, obtains the Group number and the number sequence of different PHYs in the same Group according to the overhead, and generates Group alarm or interrupt information according to each PHY. Then go to demapping.
图2中表明了每个PHY接收发送方向定帧处理过程。接收方向经过定AM后找到帧头,将复帧指示信号提取出来供片外开销线作为开销下插指示。定帧后业务数据经过解扰输出给后级解码。Figure 2 shows the framing process of each PHY receiving and sending direction. The receiving direction finds the frame header after fixed AM, and extracts the multi-frame indication signal for the off-chip overhead line as an overhead insertion indication. After framing, the service data is descrambled and output to the subsequent stage for decoding.
解码支持RS(544,514)或RS(528,514),可以根据配置选择。Decoding supports RS (544,514) or RS (528,514), which can be selected according to the configuration.
解码后,每个PHY数据在图5中去掉PHY间偏移。在读写控制电路控制下,数据存入每个PHY对应的FIFO中;在该电路控制下多个FIFO同时读取数据,以达到去偏移作用。读写控制电路在CPU配置下,可以同时对N个PHY组成的不同Group进行去偏移处理。After decoding, each PHY data removes the inter-PHY offset in Figure 5. Under the control of the read-write control circuit, the data is stored in the corresponding FIFO of each PHY; under the control of the circuit, multiple FIFOs read the data at the same time to achieve the offset removal effect. Under the CPU configuration, the read-write control circuit can de-offset different groups composed of N PHYs at the same time.
图6中经过复帧定帧提取开销,对提取的开销需进行CRC,校验正确后方可进行进行开销处理。开销分为2部分:PHY开销、PM段监控开销。进行CRC校验的同时将提取的开销送给开销线电路,便于片外对开销进行处理。In Figure 6, the overhead is extracted after multi-frame framing. The extracted overhead needs to be CRC, and the overhead can be processed after the verification is correct. The overhead is divided into two parts: PHY overhead and PM segment monitoring overhead. While performing CRC check, the extracted overhead is sent to the overhead line circuit to facilitate the off-chip processing of overhead.
经过开销提取和开销处理后的每个PHY数据流进入解映射电路中。将FlexO的开销等剥离后仅将净荷部分写入解映射电路。Each PHY data stream after overhead extraction and overhead processing enters the demapping circuit. After stripping the FlexO overhead etc., only the payload part is written into the demapping circuit.
图7是时分解映射的处理。为与老的OTN设备兼容,FlexO时隙采用1.25G时隙时,一条5G业务占用4个时隙;FlexO时隙采用5G时隙时,一条5G业务就占用1个时隙。每个PHY数据写入独立缓存中,一个PHY对应一片RAM。在开销处理中,已经知晓Group中包含了哪些PHY,通过CPU配置将全部PHY的数据依据空分转时分的复用关系组合成一条ODUflex时分数据流,不同Group中ODUflex组成一条数据流,与数据流同步输出PHY号、Group号、时隙号。每个时隙ODUflex携带Group号、时隙号和PHY号;这条数据流在输出给不同客户端口解映射时,依据CPU配置将每个时隙数据分配给不同客户业务口,以此完成FlexO净荷交叉解映射功能。通过时分复用方式简化时隙交叉处理复杂度。Figure 7 is the processing of time decomposition mapping. In order to be compatible with old OTN equipment, when FlexO time slots use 1.25G time slots, a 5G service occupies 4 time slots; when FlexO time slots use 5G time slots, a 5G service occupies 1 time slot. Each PHY data is written into an independent buffer, and one PHY corresponds to a piece of RAM. In the overhead processing, it is known which PHYs are included in the group. Through CPU configuration, all PHY data is combined into an ODUflex time-division data stream based on the multiplexing relationship of space division to time division. ODUflex in different groups forms a data stream. The stream synchronously outputs the PHY number, Group number, and time slot number. Each time slot ODUflex carries Group number, time slot number and PHY number; when this data stream is output to different client ports for de-mapping, each time slot data is allocated to different client service ports according to the CPU configuration to complete FlexO Payload cross demapping function. Simplify time slot cross processing complexity through time division multiplexing.
在发送方向,见图14,客户侧业务映射成为ODUflex后,经过空分转时分组合为一路ODUflex,数据流映射到最多N个PHY上,每个PHY是一个独立传送的帧结构,经过映射处理后的数据以PHY为单位进行开销插入、AM插入、编码、分发等处理。In the sending direction, see Figure 14. After the client side service is mapped to ODUflex, it is combined into one ODUflex after space division to time division. The data stream is mapped to up to N PHYs. Each PHY is a frame structure for independent transmission, which is processed by mapping. The subsequent data is processed by overhead insertion, AM insertion, encoding, and distribution in units of PHY.
图10是时分映射电路,多个输入的客户侧业务经过客户侧映射电路后处理为多路ODUflex,这些数据时分复用成一条数据流后,每个时隙ODUflex携带Group号、时隙号和PHY号,数据依据时隙号存入链表。链表在时分自振控制 下将依照时隙关系将存入链表中的每个时隙数据读取出来。用GMP或BGMP或BMP映射为ODTUF.ts,ODTUF.ts同样携带了Group、PHY端口、时隙编号等信息。并依据这些信息往CPU配置的Group、PHY中装填,当一个PHY装不下一ODUflex映射过来的多个时隙时,剩余时隙会装入另一个PHY中,这2个PHY同属一个Group,PM段开销各自独立,PHY开销是同属一个Group。哪些时隙映射入同一个PHY,哪些PHY组成一个Group都是CPU配置。从链表读取出来的数据经过映射处理后进入输出FIFO中,同一个Group要对齐后输出。Figure 10 is a time division mapping circuit. Multiple input client-side services are processed into multiple ODUflex after the client-side mapping circuit. After these data are time-division multiplexed into a data stream, each time slot ODUflex carries the Group number, time slot number and PHY number, data is stored in the linked list according to the time slot number. The linked list will read each time slot data stored in the linked list according to the time slot relationship under the time-division self-oscillation control. Use GMP or BGMP or BMP to map to ODTUF.ts. ODTUF.ts also carries information such as Group, PHY port, and time slot number. And fill in the Group and PHY configured by the CPU based on this information. When one PHY cannot hold multiple time slots mapped by the next ODUflex, the remaining time slots will be loaded into another PHY. These two PHYs belong to the same Group, PM The segment overhead is independent, and the PHY overhead belongs to the same Group. Which time slots are mapped to the same PHY and which PHYs form a group are all CPU configurations. The data read from the linked list enters the output FIFO after mapping processing, and the same group is output after alignment.
映射后的FlexO在发送方向处理开销处理时,根据配置选择CPU插入开销或开销线插入开销或者透传,如图12。开销处理完后插入AM头信息。When the mapped FlexO handles overhead processing in the sending direction, it selects CPU insertion overhead or overhead line insertion overhead or transparent transmission according to the configuration, as shown in Figure 12. Insert the AM header information after the overhead is processed.
经过开销处理的FlexO数据可以选择RS(544,514)或RS(528,514)编码。然后送入发送侧定帧处理电路进行加扰、复帧指示提取,再输出,见图13。The FlexO data after overhead processing can choose RS (544,514) or RS (528,514) encoding. Then it is sent to the framing processing circuit on the transmitting side for scrambling, multi-frame instruction extraction, and then output, as shown in Figure 13.
具体实施方式二(后去偏移+时分映射解映射):Specific implementation manner two (post offset + time division mapping and demapping):
见图4,在接收方向每个PHY独立的进行定帧、解码,经过开销提取和开销处理后,根据开销获取Group编号及同一个Group内不同PHY的编号顺序,并根据每个PHY产生Group的告警或中断信息;然后再去偏移、解映射。As shown in Figure 4, in the receiving direction, each PHY independently performs framing and decoding. After overhead extraction and overhead processing, the Group number and the number sequence of different PHYs in the same Group are obtained according to the overhead, and the Group’s number is generated according to each PHY. Alarm or interrupt information; then offset and demap.
图2中表明了每个PHY接收发送方向定帧处理过程。接收方向经过定AM后找到帧头,将复帧指示信号提取出来供片外开销线作为开销下插指示。定帧后业务数据经过解扰输出给后级解码。Figure 2 shows the framing process of each PHY receiving and sending direction. The receiving direction finds the frame header after fixed AM, and extracts the multi-frame indication signal for the off-chip overhead line as an overhead insertion indication. After framing, the service data is descrambled and output to the subsequent stage for decoding.
解码支持RS(544,514)或RS(528,514),可以根据配置选择。Decoding supports RS (544,514) or RS (528,514), which can be selected according to the configuration.
解码后,在图6中经过复帧定帧提取开销,对提取的开销需进行CRC,校验正确后方可进行进行开销处理。开销分为2部分:PHY开销、PM段监控开销。进行CRC校验的同时将提取的开销送给开销线电路,便于片外对开销进行处理。After decoding, the overhead is extracted by multi-frame framing in Figure 6, and the extracted overhead needs to be CRC, and the overhead can be processed after the verification is correct. The overhead is divided into two parts: PHY overhead and PM segment monitoring overhead. While performing CRC check, the extracted overhead is sent to the overhead line circuit to facilitate the off-chip processing of overhead.
经过开销提取和开销处理后的每个PHY数据在图5中去掉PHY间偏移。在读写控制电路控制下,数据存入每个PHY对应的FIFO中;在该电路控制下多个FIFO同时读取数据,以达到去偏移作用。读写控制电路在CPU配置下,可以同时对N个PHY组成的不同Group进行去偏移处理。Each PHY data after overhead extraction and overhead processing is shown in Figure 5 with the offset between PHYs removed. Under the control of the read-write control circuit, the data is stored in the corresponding FIFO of each PHY; under the control of the circuit, multiple FIFOs read the data at the same time to achieve the offset removal effect. Under the CPU configuration, the read-write control circuit can de-offset different groups composed of N PHYs at the same time.
去偏移后进入解映射电路中,将FlexO的开销等剥离后仅将净荷部分写入解映射电路。After offsetting, it enters the demapping circuit, and only the payload part is written into the demapping circuit after stripping the FlexO overhead.
图7是时分解映射的处理。为与老的OTN设备兼容,FlexO时隙采用1.25G时隙时,一条5G业务占用4个时隙;FlexO时隙采用5G时隙时,一条5G业务就占用1个时隙。每个PHY数据写入独立缓存中,一个PHY对应一片RAM。在开销处理中,已经知晓Group中包含了哪些PHY,通过CPU配置将全部PHY的数据依据空分转时分的复用关系组合成一条ODUflex时分数据流,不同Group中ODUflex组成一条数据流,与数据流同步输出PHY号、Group号、时隙号。每个时隙ODUflex携带Group号、时隙号和PHY号;这条数据流在输出给不同客户端口解映射时,依据CPU配置将每个时隙数据分配给不同客户业务口,以此完成FlexO净荷交叉解映射功能。通过时分复用方式简化时隙交叉处理复杂度。Figure 7 is the processing of time decomposition mapping. In order to be compatible with old OTN equipment, when FlexO time slots use 1.25G time slots, a 5G service occupies 4 time slots; when FlexO time slots use 5G time slots, a 5G service occupies 1 time slot. Each PHY data is written into an independent buffer, and one PHY corresponds to a piece of RAM. In the overhead processing, it is known which PHYs are included in the group. Through CPU configuration, all PHY data is combined into an ODUflex time-division data stream based on the multiplexing relationship of space division to time division. ODUflex in different groups forms a data stream. The stream synchronously outputs the PHY number, Group number, and time slot number. Each time slot ODUflex carries Group number, time slot number and PHY number; when this data stream is output to different client ports for de-mapping, each time slot data is allocated to different client service ports according to the CPU configuration to complete FlexO Payload cross demapping function. Simplify time slot cross processing complexity through time division multiplexing.
在发送方向、见图14,客户侧业务映射成为ODUflex后,经过空分转时分组合为一路ODUflex,数据流映射到最多N个PHY上,每个PHY是一个独立传送的帧结构,经过映射处理后的数据以PHY为单位进行开销插入、AM插入、编码、分发等处理。In the sending direction, as shown in Figure 14, after the client side service is mapped to ODUflex, it is combined into one ODUflex after space division to time division. The data stream is mapped to at most N PHYs. Each PHY is a frame structure for independent transmission, which is processed by mapping. The subsequent data is processed by overhead insertion, AM insertion, encoding, and distribution in units of PHY.
图10是时分映射电路,多个输入的客户侧业务经过客户侧映射电路后处理为多路ODUflex,这些数据时分复用成一条数据流后,每个时隙ODUflex携带Group号、时隙号和PHY号,数据依据时隙号存入链表。链表在时分自振控制下将依照时隙关系将存入链表中的每个时隙数据读取出来。用GMP或BGMP或BMP映射为ODTUF.ts,ODTUF.ts同样携带了Group、PHY端口、时隙编号等信息。并依据这些信息往CPU配置的Group、PHY中装填,当一个PHY装不下一ODUflex映射过来的多个时隙时,剩余时隙会装入另一个PHY中,这2个PHY同属一个Group,PM段开销各自独立,PHY开销是同属一个Group。哪些时隙映射入同一个PHY,哪些PHY组成一个Group都是CPU配置。从链表读取出来的数据经过映射处理后进入输出FIFO中,同一个Group要对齐后输出。Figure 10 is a time division mapping circuit. Multiple input client-side services are processed into multiple ODUflex after the client-side mapping circuit. After these data are time-division multiplexed into a data stream, each time slot ODUflex carries the Group number, time slot number and PHY number, data is stored in the linked list according to the time slot number. The linked list will read out each time slot data stored in the linked list according to the time slot relationship under the time-division self-oscillation control. Use GMP or BGMP or BMP to map to ODTUF.ts. ODTUF.ts also carries information such as Group, PHY port, and time slot number. And fill in the Group and PHY configured by the CPU based on this information. When one PHY cannot hold multiple time slots mapped by the next ODUflex, the remaining time slots will be loaded into another PHY. These two PHYs belong to the same Group, PM The segment overhead is independent, and the PHY overhead belongs to the same Group. Which time slots are mapped to the same PHY and which PHYs form a group are all CPU configurations. The data read from the linked list enters the output FIFO after mapping processing, and the same group is output after alignment.
映射后的FlexO在发送方向处理开销处理时,根据配置选择CPU插入开销或开销线插入开销或者透传,如图12。开销处理完后插入AM头信息。When the mapped FlexO handles overhead processing in the sending direction, it selects CPU insertion overhead or overhead line insertion overhead or transparent transmission according to the configuration, as shown in Figure 12. Insert the AM header information after the overhead is processed.
经过开销处理的FlexO数据可以选择RS(544,514)或RS(528,514)编码。然后送入发送侧定帧处理电路进行加扰、复帧指示提取,再输出,见图13。The FlexO data after overhead processing can choose RS (544,514) or RS (528,514) encoding. Then it is sent to the framing processing circuit on the transmitting side for scrambling, multi-frame instruction extraction, and then output, as shown in Figure 13.
具体实施方式三(先去偏移+空分映射解映射):Specific implementation manner three (de-offset first + space division mapping and demapping):
与标准FlexO的100G速率PHY相比,本发明实施例采用25G速率PHY 为基本单元组合,支持1.25G或5G时隙组合成FlexO帧,以达到支持FlexO业务实现5G前传功能要求。相比FlexO-SR,PHY速率降低、时隙颗粒度划分更细后使得组合更加灵活。同一个业务可以用多个PHY组合一起形成一个Group(组)。最多支持N个PHY组合一起能支持多个不同业务。亦即可以支持多个Group。Compared with the 100G rate PHY of the standard FlexO, the embodiment of the present invention adopts the 25G rate PHY as the basic unit combination, and supports 1.25G or 5G timeslot combination to form a FlexO frame, so as to meet the requirements of supporting FlexO services and realizing 5G fronthaul functions. Compared with FlexO-SR, the PHY rate is reduced and the time slot granularity is more finely divided, which makes the combination more flexible. The same service can be combined with multiple PHYs to form a Group. Supporting up to N PHY combinations can support multiple different services together. That is, multiple groups can be supported.
见图3,在接收方向每个PHY独立的进行定帧、解码,同一个Group内的多个PHY之间先进行去偏移。去偏移后的每个PHY先以PHY为单位进行开销处理,根据开销获取Group编号及同一个Group内不同PHY的编号顺序,并根据每个PHY产生Group的告警或中断信息。As shown in Figure 3, each PHY independently performs framing and decoding in the receiving direction, and offsets between multiple PHYs in the same Group. After offsetting, each PHY first performs overhead processing with PHY as the unit, and obtains the group number and the number sequence of different PHYs in the same group according to the overhead, and generates Group alarm or interrupt information according to each PHY.
图2中表明了每个PHY接收发送方向定帧处理过程。接收方向经过定AM后找到帧头,将复帧指示信号提取出来供片外开销线作为开销下插指示。定帧后业务数据经过解扰输出给后级解码。Figure 2 shows the framing process of each PHY receiving and sending direction. The receiving direction finds the frame header after fixed AM, and extracts the multi-frame indication signal for the off-chip overhead line as an overhead insertion indication. After framing, the service data is descrambled and output to the subsequent stage for decoding.
解码支持RS(544,514)或RS(528,514),可以根据配置选择。Decoding supports RS (544,514) or RS (528,514), which can be selected according to the configuration.
解码后,每个PHY数据在图5中去掉PHY间偏移。在读写控制电路控制下,数据存入每个PHY对应的FIFO中;在该电路控制下多个FIFO同时读取数据,以达到去偏移作用。读写控制电路在CPU配置下,可以同时对N个PHY组成的不同Group进行去偏移处理。After decoding, each PHY data removes the inter-PHY offset in Figure 5. Under the control of the read-write control circuit, the data is stored in the corresponding FIFO of each PHY; under the control of the circuit, multiple FIFOs read the data at the same time to achieve the offset removal effect. Under the CPU configuration, the read-write control circuit can de-offset different groups composed of N PHYs at the same time.
图6中经过复帧定帧提取开销,对提取的开销需进行CRC,校验正确后方可进行进行开销处理。开销分为2部分:PHY开销、PM段监控开销。进行CRC校验的同时将提取的开销送给开销线电路,便于片外对开销进行处理。In Figure 6, the overhead is extracted after multi-frame framing. The extracted overhead needs to be CRC, and the overhead can be processed after the verification is correct. The overhead is divided into two parts: PHY overhead and PM segment monitoring overhead. While performing CRC check, the extracted overhead is sent to the overhead line circuit to facilitate the off-chip processing of overhead.
经过开销提取和开销处理后的每个PHY数据进入解映射电路中。将FlexO的开销等剥离后仅将净荷部分写入解映射电路。Each PHY data after overhead extraction and overhead processing enters the demapping circuit. After stripping the FlexO overhead etc., only the payload part is written into the demapping circuit.
图8是空分解映射的处理。为与老的OTN设备兼容,FlexO时隙采用1.25G时隙时,一条5G业务占用4个时隙;FlexO时隙采用5G时隙时,一条5G业务就占用1个时隙。每个PHY数据写入独立缓存中,一个PHY对应一片RAM。在开销处理中,已经知晓Group中包含了哪些PHY,每个PHY剥离出来的净荷依据开销信息都携带Group号、PHY号、时隙号,依据这些信号会生成统一的时隙编号,CPU配置全部时隙号交叉去往不同客户业务端口去解映射,最大支持N个FlexO的PHY,所以这个交叉也有相同的N份。Fig. 8 is the processing of empty decomposition mapping. In order to be compatible with old OTN equipment, when FlexO time slots use 1.25G time slots, a 5G service occupies 4 time slots; when FlexO time slots use 5G time slots, a 5G service occupies 1 time slot. Each PHY data is written into an independent buffer, and one PHY corresponds to a piece of RAM. In the overhead processing, it is known which PHYs are included in the Group. The payload stripped from each PHY carries the Group number, PHY number, and time slot number according to the overhead information. Based on these signals, a unified time slot number is generated. CPU configuration All time slot numbers are crossed to different customer service ports for demapping, and a maximum of N FlexO PHYs are supported, so this cross also has the same N copies.
在发送方向,见图14,客户侧业务映射成为ODUflex后,经过FlexO映射,数据流映射到最多N个PHY上,每个PHY是一个独立传送的帧结构,经过映射处理后的数据以PHY为单位进行开销插入、AM插入、编码、分发等处理。In the sending direction, see Figure 14. After the client side service is mapped to ODUflex, after FlexO mapping, the data stream is mapped to a maximum of N PHYs. Each PHY is an independently transmitted frame structure. The data after the mapping process is based on the PHY. The unit performs processing such as overhead insertion, AM insertion, encoding, and distribution.
图11是空分映射电路,每个客户业务映射为ODUflex后,输入FlexO映射 缓存中,缓存以业务端口单位排列、每个业务端口对应一片缓存;每片缓存按照配置的时隙数分段。映射取业务数据时,依据CPU配置的Group号、PHY号、时隙号,在FlexO业务速率控制下查找对应端口RAM及时隙队列、读取对应时隙的数据输出去成帧。Figure 11 is a space division mapping circuit. After each customer service is mapped to ODUflex, it is input into the FlexO mapping buffer. The buffers are arranged in service port units, and each service port corresponds to a piece of buffer; each piece of buffer is segmented according to the configured number of time slots. When mapping and fetching service data, according to the Group number, PHY number, and time slot number configured by the CPU, search the corresponding port RAM and time slot queue under the FlexO service rate control, read the data output of the corresponding time slot to frame.
在映射电路中映射到N个PHY上,每个PHY是一个独立传送的帧结构,后续以PHY为单位进行开销插入、AM插入、编码、分发等处理。The mapping circuit is mapped to N PHYs, and each PHY is an independently transmitted frame structure. Subsequent processing of overhead insertion, AM insertion, encoding, and distribution is performed in the unit of PHY.
映射后的FlexO在发送方向处理开销处理时,根据配置选择CPU插入开销或开销线插入开销或者透传,如图12。开销处理完后插入AM头信息。When the mapped FlexO handles overhead processing in the sending direction, it selects CPU insertion overhead or overhead line insertion overhead or transparent transmission according to the configuration, as shown in Figure 12. Insert the AM header information after the overhead is processed.
经过开销处理的FlexO数据可以选择RS(544,514)或RS(528,514)编码。然后送入发送侧定帧处理电路进行加扰、复帧指示提取,再输出,见图13。The FlexO data after overhead processing can choose RS (544,514) or RS (528,514) encoding. Then it is sent to the framing processing circuit on the transmitting side for scrambling, multi-frame instruction extraction, and then output, as shown in Figure 13.
具体实施方式四(后去偏移+空分映射解映射):Specific implementation manner four (post offset + space division mapping demapping):
见图4,在接收方向每个PHY独立的进行定帧、解码;经过开销提取和开销处理,根据开销获取Group编号及同一个Group内不同PHY的编号顺序,并根据每个PHY产生Group的告警或中断信息。然后再同一个Group内的多个PHY之间进行去偏移。As shown in Figure 4, each PHY independently performs framing and decoding in the receiving direction; after overhead extraction and overhead processing, the Group number and the number sequence of different PHYs in the same Group are obtained according to the overhead, and Group alarms are generated according to each PHY Or interrupt information. Then the offset is performed between multiple PHYs in the same group.
图2中表明了每个PHY接收发送方向定帧处理过程。接收方向经过定AM后找到帧头,将复帧指示信号提取出来供片外开销线作为开销下插指示。定帧后业务数据经过解扰输出给后级解码。Figure 2 shows the framing process of each PHY receiving and sending direction. The receiving direction finds the frame header after fixed AM, and extracts the multi-frame indication signal for the off-chip overhead line as an overhead insertion indication. After framing, the service data is descrambled and output to the subsequent stage for decoding.
解码支持RS(544,514)或RS(528,514),可以根据配置选择。Decoding supports RS (544,514) or RS (528,514), which can be selected according to the configuration.
解码后,在图6中经过复帧定帧提取开销,对提取的开销需进行CRC,校验正确后方可进行进行开销处理。开销分为2部分:PHY开销、PM段监控开销。进行CRC校验的同时将提取的开销送给开销线电路,便于片外对开销进行处理。After decoding, the overhead is extracted by multi-frame framing in Figure 6, and the extracted overhead needs to be CRC, and the overhead can be processed after the verification is correct. The overhead is divided into two parts: PHY overhead and PM segment monitoring overhead. While performing CRC check, the extracted overhead is sent to the overhead line circuit to facilitate the off-chip processing of overhead.
经过开销提取和开销处理后的每个PHY数据在图5中去掉PHY间偏移。在读写控制电路控制下,数据存入每个PHY对应的FIFO中;在该电路控制下多个FIFO同时读取数据,以达到去偏移作用。读写控制电路在CPU配置下,可以同时对N个PHY组成的不同Group进行去偏移处理。Each PHY data after overhead extraction and overhead processing is shown in Figure 5 with the offset between PHYs removed. Under the control of the read-write control circuit, the data is stored in the corresponding FIFO of each PHY; under the control of the circuit, multiple FIFOs read the data at the same time to achieve the offset removal effect. Under the CPU configuration, the read-write control circuit can de-offset different groups composed of N PHYs at the same time.
去偏移后进入解映射电路中。将FlexO的开销等剥离后仅将净荷部分写入解映射电路。After offsetting, it enters the demapping circuit. After stripping the FlexO overhead etc., only the payload part is written into the demapping circuit.
图8是空分解映射的处理。为与老的OTN设备兼容,FlexO时隙采用1.25G 时隙时,一条5G业务占用4个时隙;FlexO时隙采用5G时隙时,一条5G业务就占用1个时隙。每个PHY数据写入独立缓存中,一个PHY对应一片RAM。在开销处理中,已经知晓Group中包含了哪些PHY,每个PHY剥离出来的净荷依据开销信息都携带Group号、PHY号、时隙号,依据这些信号会生成统一的时隙编号,CPU配置全部时隙号交叉去往不同客户业务端口去解映射,最大支持N个FlexO的PHY,所以这个交叉也有相同的N份。Fig. 8 is the processing of empty decomposition mapping. In order to be compatible with old OTN equipment, when FlexO time slots use 1.25G time slots, a 5G service occupies 4 time slots; when FlexO time slots use 5G time slots, a 5G service occupies 1 time slot. Each PHY data is written into an independent buffer, and one PHY corresponds to a piece of RAM. In the overhead processing, it is known which PHYs are included in the Group. The payload stripped from each PHY carries the Group number, PHY number, and time slot number according to the overhead information. Based on these signals, a unified time slot number is generated. CPU configuration All time slot numbers are crossed to different customer service ports for demapping, and a maximum of N FlexO PHYs are supported, so this cross also has the same N copies.
在发送方向,见图14,客户侧业务映射成为ODUflex后,经过FlexO映射,数据流映射到最多N个PHY上,每个PHY是一个独立传送的帧结构,经过映射处理后的数据以PHY为单位进行开销插入、AM插入、编码、分发等处理。In the sending direction, see Figure 14. After the client side service is mapped to ODUflex, after FlexO mapping, the data stream is mapped to a maximum of N PHYs. Each PHY is an independently transmitted frame structure. The data after the mapping process is based on the PHY. The unit performs processing such as overhead insertion, AM insertion, encoding, and distribution.
图11是空分映射电路,每个客户业务映射为ODUflex后,输入FlexO映射缓存中,缓存以业务端口单位排列、每个业务端口对应一片缓存;每片缓存按照配置的时隙数分段。映射取业务数据时,依据CPU配置的Group号、PHY号、时隙号,在FlexO业务速率控制下查找对应端口RAM及时隙队列、读取对应时隙的数据输出去成帧。Figure 11 is a space division mapping circuit. After each customer service is mapped to ODUflex, it is input into the FlexO mapping buffer. The buffers are arranged in service port units, and each service port corresponds to a piece of buffer; each piece of buffer is segmented according to the configured number of time slots. When mapping and fetching service data, according to the Group number, PHY number, and time slot number configured by the CPU, search the corresponding port RAM and time slot queue under the FlexO service rate control, read the data output of the corresponding time slot to frame.
在映射电路中映射到N个PHY上,每个PHY是一个独立传送的帧结构,后续以PHY为单位进行开销插入、AM插入、编码、分发等处理。The mapping circuit is mapped to N PHYs, and each PHY is an independently transmitted frame structure. Subsequent processing of overhead insertion, AM insertion, encoding, and distribution is performed in the unit of PHY.
映射后的FlexO在发送方向处理开销处理时,根据配置选择CPU插入开销或开销线插入开销或者透传,如图12。开销处理完后插入AM头信息。When the mapped FlexO handles overhead processing in the sending direction, it selects CPU insertion overhead or overhead line insertion overhead or transparent transmission according to the configuration, as shown in Figure 12. Insert the AM header information after the overhead is processed.
经过开销处理的FlexO数据可以选择RS(544,514)或RS(528,514)编码。然后送入发送侧定帧处理电路进行加扰、复帧指示提取,再输出,见图13。The FlexO data after overhead processing can choose RS (544,514) or RS (528,514) encoding. Then it is sent to the framing processing circuit on the transmitting side for scrambling, multi-frame instruction extraction, and then output, as shown in Figure 13.
本申请以25G PHY(物理接口)为处理单位,最多支持N个PHY的组合(最大支持N个,视需求而定)。N个PHY之间可以灵活的组合,以支持网管所配置业务,最大容量可以根据需求来定。每个PHY都有自己的定帧、解码、编码开销处理等处理过程。This application takes 25G PHY (physical interface) as the processing unit, and supports a combination of up to N PHYs (up to N, depending on requirements). N PHYs can be flexibly combined to support services configured by the network management system, and the maximum capacity can be determined according to requirements. Each PHY has its own framing, decoding, encoding overhead processing and other processing procedures.
采用本申请所述方法或装置,与FlexO-SR相比,中间没有了ODUCn映射解映射过程,达到了减少延时支持5G前传的效果;尽最大程度复用了标准FlexO的定帧处理过程;不同客户业务占用FlexO帧中不同时隙在一个PHY中传输、也可以一个高速业务划分成多个时隙通过多个PHY组成Group来传输;支持1.25G时隙和5G时隙,采用了灵活映射解映射方式,尽可能的减少了资源消耗,提高了对业务处理的灵活性。Using the method or device described in this application, compared with FlexO-SR, there is no ODUCn mapping and demapping process, which achieves the effect of reducing delay and supporting 5G fronthaul; it reuses the standard FlexO framing process to the greatest extent; Different customer services occupy different time slots in the FlexO frame for transmission in one PHY, or a high-speed service can be divided into multiple time slots for transmission through multiple PHYs forming a Group; support 1.25G time slots and 5G time slots, using flexible mapping The de-mapping method reduces resource consumption as much as possible and improves the flexibility of business processing.

Claims (10)

  1. 一种数据接收方法,包括:A data receiving method includes:
    接收至少一个物理层PHY接口的灵活光传送网FlexO信号;Receiving at least one physical layer PHY interface flexible optical transport network FlexO signal;
    对每个PHY接口的FlexO信号进行定帧处理及解码处理,得到每个PHY接口对应的FlexO帧;Perform framing processing and decoding processing on the FlexO signal of each PHY interface to obtain the FlexO frame corresponding to each PHY interface;
    对所述至少一个PHY接口进行分组,对同一组内的每个PHY接口对应的FlexO帧进行去偏移处理及开销提取处理,得到同一组内的每个PHY接口对应的FlexO净荷;Grouping the at least one PHY interface, performing offset removal processing and overhead extraction processing on the FlexO frame corresponding to each PHY interface in the same group, to obtain the FlexO payload corresponding to each PHY interface in the same group;
    将同一组内的每个PHY接口对应的FlexO净荷解映射为客户业务。Demap the FlexO payload corresponding to each PHY interface in the same group to customer services.
  2. 根据权利要求1所述的方法,其中,所述对同一组内的每个PHY接口对应的FlexO帧进行去偏移处理及开销提取处理,包括:The method according to claim 1, wherein said performing offset removal processing and overhead extraction processing on the FlexO frame corresponding to each PHY interface in the same group comprises:
    对所述同一组内的每个PHY接口对应的FlexO帧,先进行所述去偏移处理,再进行所述开销提取处理;或者,For FlexO frames corresponding to each PHY interface in the same group, perform the offset removal process first, and then perform the overhead extraction process; or,
    对所述同一组内的每个PHY接口对应的FlexO帧,先进行所述开销提取处理,再进行所述去偏移处理。For the FlexO frame corresponding to each PHY interface in the same group, the overhead extraction processing is performed first, and then the offset removal processing is performed.
  3. 根据权利要求1所述的方法,其中,所述去偏移处理,包括:The method according to claim 1, wherein the de-offset processing includes:
    在读写控制电路控制下,将所述同一组内的每个PHY接口对应的FlexO帧存入所述PHY接口对应的先进先出FIFO缓存;Under the control of the read-write control circuit, storing the FlexO frame corresponding to each PHY interface in the same group into the first-in first-out FIFO buffer corresponding to the PHY interface;
    在读写控制电路控制下,同时读取所述同一组内的每个PHY接口对应的FIFO缓存的FlexO帧,以达到去偏移作用。Under the control of the read-write control circuit, the FlexO frame of the FIFO buffer corresponding to each PHY interface in the same group is read at the same time, so as to achieve the effect of offset removal.
  4. 根据权利要求1所述的方法,其中,所述将同一组内的每个PHY接口对应的FlexO净荷解映射为客户业务,包括:The method according to claim 1, wherein the demapping the FlexO payload corresponding to each PHY interface in the same group into a client service comprises:
    将所述同一组内的所有PHY接口对应的FlexO净荷组合成一条灵活速率光信道数据单元ODUflex时分数据流,其中,所述ODUflex时分数据流中的每个时隙的ODUflex帧携带组号、时隙号和PHY接口号;Combine FlexO payloads corresponding to all PHY interfaces in the same group into a flexible rate optical channel data unit ODUflex time-division data stream, where the ODUflex frame of each time slot in the ODUflex time-division data stream carries the group number, Slot number and PHY interface number;
    根据PHY接口与客户业务端口的映射关系,将所述ODUflex时分数据流中每个时隙的ODUflex帧解映射至对应的客户业务端口。According to the mapping relationship between the PHY interface and the customer service port, the ODUflex frame of each time slot in the ODUflex time-division data stream is demapped to the corresponding customer service port.
  5. 根据权利要求1所述的方法,其中,所述将同一组内的每个PHY接口对应的FlexO净荷解映射为客户业务,包括:The method according to claim 1, wherein the demapping the FlexO payload corresponding to each PHY interface in the same group into a client service comprises:
    将所述同一组内的每个PHY接口对应的FlexO净荷写入所述PHY接口对应的独立缓存中;Writing the FlexO payload corresponding to each PHY interface in the same group into an independent buffer corresponding to the PHY interface;
    根据PHY接口与客户业务端口的映射关系,将每个独立缓存中的FlexO净 荷解映射至对应的客户业务端口。According to the mapping relationship between the PHY interface and the customer service port, the FlexO payload in each independent buffer is demapped to the corresponding customer service port.
  6. 一种数据发送方法,包括:A data transmission method includes:
    将同一组内的至少一个客户业务映射为至少一路灵活速率光信道数据单元ODUflex帧;Mapping at least one customer service in the same group to at least one flexible rate optical channel data unit ODUflex frame;
    将所述至少一路ODUflex帧映射为同一组内的至少一个物理层PHY接口的灵活光传送网FlexO帧;Mapping the at least one ODUflex frame into a flexible optical transport network FlexO frame of at least one physical layer PHY interface in the same group;
    对每个PHY接口的FlexO帧进行开销插入处理及编码处理,并通过所述PHY接口发送。Perform overhead insertion processing and encoding processing on the FlexO frame of each PHY interface, and send it through the PHY interface.
  7. 根据权利要求6所述的方法,其中,所述将所述至少一路ODUflex帧映射为同一组内的至少一个PHY接口的FlexO帧,包括:The method according to claim 6, wherein the mapping the at least one ODUflex frame to a FlexO frame of at least one PHY interface in the same group comprises:
    将所述至少一路ODUflex帧组合成一条ODUflex时分数据流,其中,所述ODUflex时分数据流中的每个时隙的ODUflex帧携带组号、时隙号和PHY接口号;Combining the at least one ODUflex frame into one ODUflex time-division data stream, wherein the ODUflex frame of each time slot in the ODUflex time-division data stream carries a group number, a time slot number, and a PHY interface number;
    根据时隙号将每个时隙的ODUflex帧存入链表;Store the ODUflex frame of each time slot in the linked list according to the time slot number;
    在时分自振电路控制下,读取每个时隙的ODUflex帧,映射至同一组内对应的PHY接口,并经过先入先出FIFO缓存对齐输出。Under the control of the time division self-oscillation circuit, the ODUflex frame of each time slot is read, mapped to the corresponding PHY interface in the same group, and aligned and output through the first-in first-out FIFO buffer.
  8. 根据权利要求6所述的方法,其中,所述将所述至少一路ODUflex帧映射为同一组内的至少一个PHY接口的FlexO帧,包括:The method according to claim 6, wherein the mapping the at least one ODUflex frame to a FlexO frame of at least one PHY interface in the same group comprises:
    将所述至少一路ODUflex帧输入FlexO映射缓存,所述FlexO映射缓存的片数根据业务端口数进行配置,每片FlexO映射缓存按照配置的时隙数进行分段;Input the at least one ODUflex frame into the FlexO mapping buffer, the number of pieces of the FlexO mapping buffer is configured according to the number of service ports, and each piece of the FlexO mapping buffer is segmented according to the configured number of time slots;
    根据PHY接口与客户业务端口的映射关系,读取对应FlexO映射缓存对应时隙的ODUflex帧,并映射为同一组内对应PHY接口的FlexO帧。According to the mapping relationship between the PHY interface and the customer service port, the ODUflex frame corresponding to the time slot corresponding to the FlexO mapping buffer is read and mapped to the FlexO frame corresponding to the PHY interface in the same group.
  9. 一种数据接收装置,包括接收模块、第一处理模块、第二处理模块和解映射模块;A data receiving device includes a receiving module, a first processing module, a second processing module, and a demapping module;
    所述接收模块,设置为接收至少一个物理层PHY接口的灵活光传送网FlexO信号;The receiving module is configured to receive a flexible optical transport network FlexO signal of at least one physical layer PHY interface;
    所述第一处理模块,设置为对每个PHY接口的FlexO信号进行定帧处理及解码处理,得到每个PHY接口对应的FlexO帧;The first processing module is configured to perform framing processing and decoding processing on the FlexO signal of each PHY interface to obtain a FlexO frame corresponding to each PHY interface;
    所述第二处理模块,设置为对所述至少一个PHY接口进行分组,对同一组内的每个PHY接口对应的FlexO帧进行去偏移处理及开销提取处理,得到同一 组内的每个PHY接口对应的FlexO净荷;The second processing module is configured to group the at least one PHY interface, and perform offset processing and overhead extraction processing on the FlexO frame corresponding to each PHY interface in the same group to obtain each PHY in the same group FlexO payload corresponding to the interface;
    所述解映射模块,设置为将同一组内的每个PHY接口对应的FlexO净荷解映射为客户业务。The de-mapping module is configured to de-map the FlexO payload corresponding to each PHY interface in the same group into client services.
  10. 一种数据发送装置,包括第一映射模块、第二映射模块和发送模块;A data sending device includes a first mapping module, a second mapping module, and a sending module;
    所述第一映射模块,设置为将同一组内的至少一个客户业务映射为至少一路灵活速率光信道数据单元ODUflex帧;The first mapping module is configured to map at least one customer service in the same group to at least one flexible rate optical channel data unit ODUflex frame;
    所述第二映射模块,设置为将所述至少一路ODUflex帧映射为同一组内的至少一个物理层PHY接口的灵活光传送网FlexO帧;The second mapping module is configured to map the at least one ODUflex frame into at least one flexible optical transport network FlexO frame of the physical layer PHY interface in the same group;
    所述发送模块,设置为对每个PHY接口的FlexO帧进行开销插入处理及编码处理,并通过所述PHY接口发送。The sending module is configured to perform overhead insertion processing and encoding processing on the FlexO frame of each PHY interface, and send it through the PHY interface.
PCT/CN2020/102262 2019-07-24 2020-07-16 Data receiving method and apparatus, and data sending method and apparatus WO2021013025A1 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201910671526.5A CN112291030A (en) 2019-07-24 2019-07-24 Data receiving method, data sending method and device
CN201910671526.5 2019-07-24

Publications (1)

Publication Number Publication Date
WO2021013025A1 true WO2021013025A1 (en) 2021-01-28

Family

ID=74192435

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2020/102262 WO2021013025A1 (en) 2019-07-24 2020-07-16 Data receiving method and apparatus, and data sending method and apparatus

Country Status (2)

Country Link
CN (1) CN112291030A (en)
WO (1) WO2021013025A1 (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113973083B (en) * 2021-10-26 2023-09-19 新华三信息安全技术有限公司 Data stream transmission method and first device
CN114461563B (en) * 2021-12-22 2024-01-26 天津光电通信技术有限公司 Method for realizing data transmission through custom 100G interface

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20160119076A1 (en) * 2014-10-24 2016-04-28 Ciena Corporation Channelized oduflex systems and methods
CN108023660A (en) * 2016-10-28 2018-05-11 深圳市中兴微电子技术有限公司 A kind of optical transport network business access method and device
CN109600188A (en) * 2017-09-30 2019-04-09 华为技术有限公司 Data transmission method, transmission device and Transmission system
CN109981209A (en) * 2017-12-28 2019-07-05 中兴通讯股份有限公司 Business sending, receiving method and device in optical transfer network
CN110649986A (en) * 2018-06-26 2020-01-03 中兴通讯股份有限公司 Service transmission method, device, equipment and storage medium using flexible optical network

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20160119076A1 (en) * 2014-10-24 2016-04-28 Ciena Corporation Channelized oduflex systems and methods
CN108023660A (en) * 2016-10-28 2018-05-11 深圳市中兴微电子技术有限公司 A kind of optical transport network business access method and device
CN109600188A (en) * 2017-09-30 2019-04-09 华为技术有限公司 Data transmission method, transmission device and Transmission system
CN109981209A (en) * 2017-12-28 2019-07-05 中兴通讯股份有限公司 Business sending, receiving method and device in optical transfer network
CN110649986A (en) * 2018-06-26 2020-01-03 中兴通讯股份有限公司 Service transmission method, device, equipment and storage medium using flexible optical network

Also Published As

Publication number Publication date
CN112291030A (en) 2021-01-29

Similar Documents

Publication Publication Date Title
KR102226021B1 (en) Service transmission method and apparatus, service reception method and apparatus, and network system
CN107438028B (en) Method and equipment for processing customer service
US10771177B2 (en) Method for transmitting client signal in optical transport network, and optical transport device
CN109600188B (en) Data transmission method, transmission equipment and transmission system
US8412040B2 (en) Method and apparatus for mapping traffic using virtual concatenation
US20110286744A1 (en) Method and apparatus for transmitting packet in optical transport network
CN109861781B (en) Interface transmission method, device and equipment
US8199772B2 (en) Systems and methods for synchronous generic framing protocol mapping
WO2018228420A1 (en) Transmission network system, and data exchange and transmission method, device and apparatus
EP4099712A1 (en) Service bearing method, apparatus and system
CN108965157B (en) Data transmission method, device, equipment and system
EP3909209B1 (en) Ethernet signal format using 256b/257b block encoding
US9066163B2 (en) Optical transmission device including a bit rate adjustment function
WO2021013025A1 (en) Data receiving method and apparatus, and data sending method and apparatus
CN110401506A (en) A kind of business transmitting method and the first transmission equipment
WO2019090696A1 (en) Method and apparatus for transporting optical transport unit signal
CN100568841C (en) A kind of converging device of Ethernet service and method
US7542479B2 (en) Transfer device for implementing multi-port service convergence and method thereof
WO2019100982A1 (en) Data transmission method and device
US20030161344A1 (en) Method and device for transporting ethernet frames over transport SDH/SONET network
EP2077637B1 (en) System and method for protecting payload information in radio transmission
EP1178699B1 (en) Transport interface for time division frames
US7778285B2 (en) Method and apparatus for extraction and insertion of plesiochronous overhead data
KR20110127077A (en) Method and apparatus for transmitting packet in optical transport network
EP4164181A1 (en) Interface, electronic device, and communication system

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: 20844968

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: 20844968

Country of ref document: EP

Kind code of ref document: A1