A method and device for receiving and sending data
By flexibly processing FlexO signals, the deficiencies in delay and mapping flexibility of OTN equipment are solved, enabling low-latency and high-flexibility data reception and transmission to meet the needs of 5G services.
Patent Information
- Application Number
- CN201910671526.5
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2019-07-24
- Publication Date
- 2025-01-24
- Estimated Expiration
- 2039-07-24
AI Technical Summary
Existing OTN devices need to be improved in terms of delay performance and mapping flexibility, which is difficult to meet the needs of 5G services for large bandwidth, low latency, high-precision time synchronization and flexible channels.
By receiving and processing flexible optical transport network FlexO signals, flexible mapping processing methods are adopted, including framing processing, decoding processing, de-skew processing, overhead extraction processing and demapping processing, to achieve flexible reception and transmission of data.
This method can reduce the delay, improve the flexibility of business processing, support 1.25g and 5G time slots, reduce resource consumption, and meet the demand for 5G prequel.
Smart Images

Figure CN112291030B_ABST
Abstract
Description
Technical Field
[0001] The embodiments of the present invention relate to but are not limited to the field of optical communication technology, and in particular to a method and device for receiving and sending data. Background Art
[0002] The application scenarios of the bearer network in the 5G era have shown new development trends. The fronthaul, midhaul and backhaul applications of 5G services require Optical Transport Network (OTN) equipment to provide large bandwidth, low latency, high-precision time synchronization, flexible channels and packet switching support capabilities.
[0003] Although existing OTN equipment has large bandwidth processing capabilities, its delay performance and mapping flexibility need to be further improved. Summary of the invention
[0004] In order to solve the above technical problems, the embodiments of the present invention provide a method and device for receiving and sending data, which can perform flexible mapping processing and reduce delay.
[0005] The present application provides a data receiving method, comprising:
[0006] Receiving flexible optical transport network FlexO signals from one or more physical layer PHY interfaces;
[0007] Performing framing and decoding processing on the FlexO signals of each PHY interface to obtain the FlexO frames corresponding to each PHY interface;
[0008] Performing de-skew processing and overhead extraction processing on the FlexO frames corresponding to each PHY interface in the same group to obtain the FlexO payload corresponding to each PHY interface in the same group;
[0009] Demap the FlexO payloads corresponding to each PHY interface in the same group into customer services.
[0010] The present application also provides a data sending method, comprising:
[0011] Mapping one or more customer services in the same group into one or more flexible rate optical channel data unit ODUflex frames;
[0012] Mapping the ODUflex frame to FlexO frames of one or more physical layer PHY interfaces in the same group;
[0013] Overhead insertion processing and encoding processing are performed on the FlexO frames of each PHY interface, and the frames are sent through each PHY interface.
[0014] The present application also provides a data receiving device, comprising a receiving module, a first processing module, a second processing module and a demapping module, wherein:
[0015] A receiving module, used for receiving a flexible optical transport network FlexO signal of one or more physical layer PHY interfaces;
[0016] The first processing module is used to perform framing and decoding processing on the FlexO signal of each PHY interface to obtain a FlexO frame corresponding to each PHY interface;
[0017] The second processing module is used to perform de-skew processing and overhead extraction processing on the FlexO frames corresponding to each PHY interface in the same group to obtain the FlexO payload corresponding to each PHY interface in the same group;
[0018] The demapping module is used to demap the FlexO payload corresponding to each PHY interface in the same group into customer services.
[0019] The present application also provides a data sending device, comprising a first mapping module, a second mapping module and a sending module, wherein:
[0020] A first mapping module is used to map one or more customer services in the same group into one or more flexible rate optical channel data unit ODUflex frames;
[0021] A second mapping module, configured to map the ODUflex frame into a FlexO frame of one or more physical layer PHY interfaces in the same group;
[0022] The sending module is used to perform overhead insertion processing and encoding processing on the FlexO frames of each PHY interface, and send them through each PHY interface.
[0023] Compared with the prior art, the embodiment of the present invention includes receiving FlexO signals of one or more PHY interfaces; performing framing and decoding processing on the FlexO signals of each PHY interface to obtain FlexO frames corresponding to each PHY interface; performing de-skew processing and overhead extraction processing on the FlexO frames corresponding to each PHY interface in the same group to obtain FlexO payloads corresponding to each PHY interface in the same group; demapping the FlexO payloads corresponding to each PHY interface in the same group into customer services, and the receiving or sending process of the present application does not have an ODUCn mapping and demapping process in the middle, thereby achieving the effect of reducing delay and supporting 5G fronthaul; the framing process of the standard FlexO is reused to the greatest extent; different customer services occupy different time slots in the FlexO frame and are transmitted in one PHY, or a high-speed service can be divided into multiple time slots and transmitted through multiple PHY groups (Group); 1.25G time slots and 5G time slots are supported, and a flexible mapping and demapping method is adopted to reduce resource consumption as much as possible and improve the flexibility of service processing.
[0024] Other features and advantages of the embodiments of the present invention will be described in the following description, and partly become apparent from the description, or be understood by implementing the embodiments of the present invention. The purposes and other advantages of the embodiments of the present invention can be achieved and obtained by the structures particularly pointed out in the description, claims and drawings. BRIEF DESCRIPTION OF THE DRAWINGS
[0025] The accompanying drawings are used to provide a further understanding of the technical solution of the present invention and constitute a part of the specification. Together with the embodiments of the present application, they are used to explain the technical solution of the present invention and do not constitute a limitation on the technical solution of the present invention.
[0026] Figure 1 A schematic diagram of a data receiving method according to an embodiment of the present invention;
[0027] Figure 2 It is a schematic diagram of a data receiving direction framing process according to an embodiment of the present invention;
[0028] Figure 3 This is a block diagram of the implementation of the first data receiving direction (de-skew first) of an embodiment of the present invention;
[0029] Figure 4 is a block diagram for implementing the second data receiving direction (post-de-skew) of an embodiment of the present invention;
[0030] Figure 5 It is a schematic diagram of a data receiving direction de-skew processing process according to an embodiment of the present invention;
[0031] Figure 6It is a schematic diagram of a data receiving direction overhead extraction processing process according to an embodiment of the present invention;
[0032] Figure 7 It is a schematic diagram of a data receiving direction demapping (time decomposition mapping) processing process according to an embodiment of the present invention;
[0033] Figure 8 It is a schematic diagram of a data receiving direction demapping (space decomposition mapping) processing process according to an embodiment of the present invention;
[0034] Fig. 9 A schematic diagram of a data sending method according to an embodiment of the present invention;
[0035] Fig.10 It is a schematic diagram of a data transmission direction mapping (time division mapping) processing process according to an embodiment of the present invention;
[0036] Fig.11 It is a schematic diagram of a data transmission direction mapping (space division mapping) processing process according to an embodiment of the present invention;
[0037] Fig.12 It is a schematic diagram of a data transmission direction overhead insertion processing process according to an embodiment of the present invention;
[0038] Fig.13 It is a schematic diagram of a data transmission direction framing process according to an embodiment of the present invention;
[0039] Fig.14 It is a block diagram of an implementation of a data transmission direction of an embodiment of the present invention;
[0040] Fig.15 A schematic diagram of the structure of a data receiving device according to an embodiment of the present invention;
[0041] Fig.16 The present invention is a schematic structural diagram of a data sending device according to an embodiment of the present invention. DETAILED DESCRIPTION
[0042] In order to make the purpose, technical solution and advantages of the present invention more clear, the embodiments of the present invention will be described in detail with reference to the accompanying drawings. It should be noted that the embodiments and features in the embodiments of the present application can be combined with each other arbitrarily without conflict.
[0043] The steps shown in the flowchart of the accompanying drawings can 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 can be performed in a sequence different from that shown here.
[0044] Embodiment 1 Data receiving method
[0045] like Figure 1 As shown, an embodiment of the present invention provides a data receiving method, including:
[0046] Step 101: Receive a Flexible Optical Transport Network (FlexO) signal from one or more physical layer (PHY) interfaces;
[0047] It should be noted that 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 existing FlexO standard protocol (FlexO-SR), the data traffic is first encapsulated into a Flexible Optical Channel Data Unit (ODUflex), then multiplexed into an Optical Channel Data Unit-Cn (ODUCn) to complete the multiplexing section and link monitoring (Path Monitor, PM), and finally mapped into a FlexO frame through FlexO, loaded into N PHY interfaces for transmission.
[0048] The existing 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, so as to support FlexO services to realize 5G fronthaul function requirements. Compared with FlexO-SR, the PHY rate is reduced and the time slot granularity is divided more finely, making the combination more flexible. The same service can be combined with multiple PHYs to form a Group. Up to N PHY combinations are supported to support multiple different services, that is, multiple Groups can be supported.
[0049] Step 102: performing framing and decoding processing on the FlexO signals of each PHY interface to obtain a FlexO frame corresponding to each PHY interface;
[0050] Figure 2 The process of framing in each PHY receiving direction is shown in Figure 1. The receiving direction finds the frame header after the alignment marker (AM) and extracts the multiframe indication signal for the off-chip overhead line as an overhead insertion indication. After framing, the service data is descrambled and output to the next stage for decoding.
[0051] In an exemplary embodiment, the decoding process is Reed-solomon codes (also known as RS codes) decoding.
[0052] Reedsor code is a forward error correction channel code that generates an effective polynomial by correcting the oversampled data. The encoding process first finds redundancy in these polynomials at multiple points, and then transmits or stores them. When the receiver correctly receives enough points, it can recover the original polynomial, even if many points on the received polynomial are corrupted by noise.
[0053] 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.
[0054] Step 103: performing a de-skew process and an overhead extraction process on the FlexO frames corresponding to each PHY interface in the same group, to obtain a FlexO payload corresponding to each PHY interface in the same group;
[0055] In an exemplary embodiment, the de-skew processing and overhead extraction processing of the FlexO frames corresponding to each PHY interface in the same group includes:
[0056] For the FlexO frames corresponding to the PHY interfaces in the same group, a de-skew process is first performed, and then an overhead extraction process is performed, such as Figure 3 as shown; or,
[0057] For the FlexO frames corresponding to the PHY interfaces in the same group, overhead extraction is first performed, and then de-skew is performed, such as Figure 4 shown.
[0058] In an exemplary embodiment, the de-skew processing includes:
[0059] Under the control of the read-write control circuit, the FlexO frames corresponding to the respective PHY interfaces in the same group are stored in the FIFO buffers corresponding to the respective PHY interfaces:
[0060] Under the control of the read / write control circuit, the FlexO frames in the FIFO buffer corresponding to each PHY interface are read simultaneously to achieve the de-skew effect.
[0061] The read / write control circuit described in the present application includes a read control circuit and a write control circuit, wherein the write control circuit is independently performed in units of PHY; the read control circuit is configured by the CPU. Specifically, the CPU first configures which PHYs form a group, and the FIFOs in the same group simultaneously start the read operation when the CPU configuration output conditions are met. All FIFOs can flexibly form multiple independent groups.
[0062] After decoding, each PHY data is in Figure 5The offset between PHYs is removed. Under the control of the read / write control circuit, data is stored in the FIFO corresponding to each PHY; under the control of the circuit, each FIFO reads data at the same time to achieve the de-skew effect. Under the CPU configuration, the read / write control circuit can simultaneously de-skew different groups composed of N PHYs.
[0063] Figure 6 The overhead is extracted through multi-frame framing. The extracted overhead needs to be checked for correctness through cyclic redundancy check (CRC) before it can be processed. 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 off-chip processing of the overhead.
[0064] After overhead extraction and overhead processing, each PHY data stream enters the demapping circuit. After stripping the FlexO overhead, only the payload part is written into the demapping circuit.
[0065] Step 104: Demap the FlexO payload corresponding to each PHY interface in the same group into client services.
[0066] In an exemplary embodiment, demapping the FlexO payload corresponding to each PHY interface in the same group into a client service includes:
[0067] Combine the FlexO payloads corresponding to each PHY interface 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.
[0068] 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.
[0069] Figure 7 is the process of time decomposition mapping, where m is a natural number between 1 and N. Figure 7As shown, in order to be compatible with old OTN equipment, when the FlexO time slot uses 1.25G time slot, one 5G service occupies 4 time slots; when the FlexO time slot uses 5G time slot, one 5G service occupies 1 time slot. Each PHY data is written into an independent cache, and one PHY corresponds to a RAM. In the overhead processing, it is already known which PHYs are included in the Group. Through the CPU configuration, the data of all PHYs are combined into an ODUflex time-division data stream based on the multiplexing relationship of space division to time division. The ODUflex in different Groups form a data stream, and the PHY number, Group number, and time slot number are output synchronously with the data stream. Each time slot ODUflex carries the Group number, time slot number, and PHY number; when this data stream is output to different customer ports for demapping, each time slot data is allocated to different customer service ports according to the CPU configuration, thereby completing the FlexO payload cross-demapping function. The complexity of time slot cross-processing is simplified through time division multiplexing.
[0070] In another exemplary embodiment, demapping the FlexO payload corresponding to each PHY interface in the same group into a client service includes:
[0071] Writing the FlexO payload corresponding to each PHY interface in the same group into the independent buffer corresponding to each PHY interface;
[0072] 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.
[0073] Figure 8 It is the processing of space decomposition mapping, where m is a natural number between 1 and N. To be compatible with old OTN equipment, when the FlexO time slot adopts 1.25G time slot, one 5G service occupies 4 time slots; when the FlexO time slot adopts 5G time slot, one 5G service occupies 1 time slot. Each PHY data is written into an independent cache, and one PHY corresponds to a RAM. In the overhead processing, it is already known which PHYs are included in the Group. The payload stripped from each PHY carries the Group number, PHY number, and time slot number based on the overhead information. A unified time slot number will be generated based on these signals. The CPU configures all time slot numbers to cross and go to different customer service ports for demapping. It supports up to N FlexO PHYs, so this cross also has the same N copies.
[0074] Embodiment 2 Data sending method
[0075] like Fig. 9 As shown, the embodiment of the present invention also provides a data sending method, including:
[0076] Step 901: Map one or more customer services in the same group into one or more ODUflex frames;
[0077] Step 902: Map the ODUflex frame to FlexO frames of one or more physical layer PHY interfaces in the same group;
[0078] In an exemplary embodiment, mapping the ODUflex frame into FlexO frames of one or more PHY interfaces in the same group includes:
[0079] Combining the one or more ODUflex frames into one ODUflex time-division data stream, wherein the ODUflex frame of each time slot carries a group number, a time slot number and a PHY interface number;
[0080] The ODUflex frames of each time slot are stored in a linked list according to the time slot number;
[0081] Under the control of the time-division self-oscillation circuit, the ODUflex frames of each time slot are read, mapped to the corresponding PHY interface in the same group, and output after FIFO buffer alignment.
[0082] The present application includes multiple sets of time-division self-oscillation circuits, which are working at the same time. One set of time-division self-oscillation circuits corresponds to one Group, and the output rates of these Groups are output in time. When the rate indication meets the output conditions but it is not the turn of the Group to output, the ODUflex frames of the Group are temporarily stored. When it is the turn of the Group to output, the ODUflex frames of each time slot are read, mapped to the corresponding PHY interface in the Group, and output aligned through the FIFO cache.
[0083] Fig.10It 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 ODUflexes after being mapped by 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 PHY number carried is configured by the CPU according to the transmission rate of each PHY interface, and the PHY number carried is the PHY number corresponding to the PHY to be loaded by the ODUflex in the time slot), and the data is stored in the linked list according to the time slot number. Under the control of time division self-oscillation, the linked list reads out the data of each time slot stored in the linked list according to the time slot relationship. Use GMP or BGMP or BMP to map to ODTUF.ts, which also carries information such as Group, PHY port, and time slot number. Based on this information, the data is loaded into the Group and PHY configured by the CPU. When one PHY cannot accommodate the time slots mapped from a certain ODUflex, the remaining time slots are loaded into another PHY. These two PHYs belong to the same Group, and the PM segment overhead is independent of each other. The PHY overhead belongs to the same Group. Which time slots are mapped into the same PHY and which PHYs form a Group are all configured by the CPU. The data read from the linked list is mapped and then entered into the output fifo. The same Group must be aligned before output.
[0084] In another exemplary embodiment, mapping the ODUflex frame into FlexO frames of one or more PHY interfaces in the same group includes:
[0085] Input the one or more ODUflex frames into a FlexO mapping buffer, wherein the number of slices of the FlexO mapping buffer is configured according to the number of service ports, and each slice of the FlexO mapping buffer is segmented according to the number of configured time slots;
[0086] According to the mapping relationship between the PHY interface and the customer service port, the ODUflex frame of the corresponding time slot of the corresponding FlexO mapping buffer is read and mapped to the FlexO frame of the corresponding PHY interface in the same group.
[0087] Fig.11 It 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 cache. The cache is arranged in service port units, with one cache for each service port; each cache is segmented according to the configured number of time slots. When mapping service data, according to the Group number, PHY number, and time slot number configured by the CPU, the corresponding port RAM and time slot queue are searched under the control of the FlexO service rate, and the data of the corresponding time slot is read and output for framing.
[0088] In the mapping circuit, it is mapped to N PHYs, each PHY is an independently transmitted frame structure, and subsequently overhead insertion, AM insertion, encoding, distribution and other processing are performed on a PHY basis.
[0089] Step 903: Perform overhead insertion processing and encoding processing on the FlexO frames of each PHY interface, and send them through each PHY interface.
[0090] When the mapped FlexO processes the overhead in the sending direction, it selects CPU insertion overhead or overhead line insertion overhead or transparent transmission according to the configuration, such as Fig.12 After the overhead is processed, the AM header information is inserted.
[0091] After overhead processing, the FlexO data can be encoded in RS (544, 514) or RS (528, 514). Then it is sent to the frame processing circuit on the sending side for scrambling and multi-frame indication extraction, and then output. Fig.13 shown.
[0092] In the sending direction, Fig.14 As shown, after the client-side service is mapped into ODUflex, after FlexO mapping, the data stream is mapped to a maximum of N PHYs. Each PHY is an independently transmitted frame structure. The mapped data is processed by PHY as a unit for overhead insertion, AM insertion, encoding, distribution, etc.
[0093] Embodiment 3 Data receiving device
[0094] like Fig.15 As shown, the embodiment of the present invention further 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:
[0095] The receiving module 1501 is used to receive flexible optical transport network FlexO signals of one or more physical layer PHY interfaces;
[0096] The first processing module 1502 is used to perform framing and decoding processing on the FlexO signal of each PHY interface to obtain a FlexO frame corresponding to each PHY interface;
[0097] The second processing module 1503 is used to perform a de-skew process and an overhead extraction process on the FlexO frames corresponding to each PHY interface in the same group, so as to obtain a FlexO payload corresponding to each PHY interface in the same group;
[0098] The demapping module 1504 is used to demap the FlexO payload corresponding to each PHY interface in the same group into client services.
[0099] In an exemplary embodiment, the second processing module 1503 performs de-skew processing and overhead extraction processing on the FlexO frames corresponding to each PHY interface in the same group, including:
[0100] The second processing module 1503 first performs a de-skew process on the FlexO frames corresponding to each PHY interface in the same group, and then performs an overhead extraction process, such as Figure 3 as shown; or,
[0101] The second processing module 1503 first performs overhead extraction processing and then de-skew processing on the FlexO frames corresponding to each PHY interface in the same group, such as Figure 4 shown.
[0102] In an exemplary embodiment, the de-skew processing of the second processing module 1503 includes:
[0103] Under the control of the read-write control circuit, the FlexO frames corresponding to the respective PHY interfaces in the same group are stored in the FIFO buffers corresponding to the respective PHY interfaces:
[0104] Under the control of the read / write control circuit, the FlexO frames in the FIFO buffer corresponding to each PHY interface are read simultaneously to achieve the de-skew effect.
[0105] In an exemplary embodiment, the demapping module 1504 is specifically configured to:
[0106] Combine the FlexO payloads corresponding to each PHY interface 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.
[0107] 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.
[0108] In another exemplary embodiment, the demapping module 1504 is specifically configured to:
[0109] Writing the FlexO payload corresponding to each PHY interface in the same group into the independent buffer corresponding to each PHY interface;
[0110] 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.
[0111] Embodiment 4 Data sending device
[0112] like Fig.16As shown, the embodiment of the present invention further provides a data sending device, including a first mapping module 1601, a second mapping module 1602 and a sending module 1603, wherein:
[0113] The first mapping module 1601 is used to map one or more customer services in the same group into one or more flexible rate optical channel data unit ODUflex frames;
[0114] The second mapping module 1602 is used to map the ODUflex frame into a FlexO frame of one or more physical layer PHY interfaces in the same group;
[0115] The sending module 1603 is used to perform overhead insertion processing and encoding processing on the FlexO frame of each PHY interface, and send it through each PHY interface.
[0116] In an exemplary embodiment, the second mapping module 1602 is specifically configured to:
[0117] Combining the one or more ODUflex frames into one ODUflex time-division data stream, wherein the ODUflex frame of each time slot carries a group number, a time slot number and a PHY interface number;
[0118] The ODUflex frames of each time slot are stored in a linked list according to the time slot number;
[0119] Under the control of the time-division self-oscillation circuit, the ODUflex frames of each time slot are read, mapped to the corresponding PHY interface in the same group, and output after FIFO buffer alignment.
[0120] In another exemplary embodiment, the second mapping module 1602 is specifically configured to:
[0121] Input the one or more ODUflex frames into a FlexO mapping buffer, wherein the number of slices of the FlexO mapping buffer is configured according to the number of service ports, and each slice of the FlexO mapping buffer is segmented according to the number of configured time slots;
[0122] According to the mapping relationship between the PHY interface and the customer service port, the ODUflex frame of the corresponding time slot of the corresponding FlexO mapping buffer is read and mapped to the FlexO frame of the corresponding PHY interface in the same group.
[0123] Specific embodiment 1 (de-shifting first + time division mapping and demapping):
[0124] Compared with the 100G rate PHY of the standard FlexO, the embodiment of the present invention adopts 25G rate PHY as the basic unit combination, and supports 1.25G or 5G time slots to be combined into FlexO frames, so as to meet the requirements of supporting FlexO services to realize 5G fronthaul functions. Compared with FlexO-SR, the PHY rate is reduced and the time slot granularity is divided finer, making the combination more flexible. The same service can be combined with multiple PHYs to form a Group. Up to N PHY combinations are supported to support multiple different services. That is, multiple Groups can be supported.
[0125] See Figure 3 , In the receiving direction, each PHY performs independent framing and decoding, and multiple PHYs in the same group are first de-skewed. After de-skew, each PHY performs overhead processing on a PHY basis, obtains the Group number and the numbering sequence of different PHYs in the same group based on the overhead, and generates Group alarm or interrupt information based on each PHY. Then de-map.
[0126] Figure 2 The figure shows the framing process of each PHY receiving and sending direction. After AM is determined in the receiving direction, the frame header is found and the multiframe indication signal is extracted for the off-chip overhead line as an overhead insertion indication. After framing, the service data is descrambled and output to the next stage for decoding.
[0127] Decoding supports RS (544, 514) or RS (528, 514), which can be selected according to configuration.
[0128] After decoding, each PHY data is in Figure 5 The offset between PHYs is removed. Under the control of the read / write control circuit, data is stored in the fifo corresponding to each PHY; under the control of the circuit, each fifo reads data at the same time to achieve the de-skew effect. Under the CPU configuration, the read / write control circuit can simultaneously perform de-skew processing on different groups composed of N PHYs.
[0129] Figure 6 The overhead is extracted through multi-frame framing. The extracted overhead needs to be verified by CRC before it can be processed. The overhead is divided into two parts: PHY overhead and PM segment monitoring overhead. While performing CRC verification, the extracted overhead is sent to the overhead line circuit to facilitate off-chip processing of the overhead.
[0130] After overhead extraction and overhead processing, each PHY data stream enters the demapping circuit. After stripping the FlexO overhead, only the payload part is written into the demapping circuit.
[0131] Figure 7It is the processing of time division and mapping. To be compatible with old OTN equipment, when the FlexO time slot adopts 1.25G time slot, one 5G service occupies 4 time slots; when the FlexO time slot adopts 5G time slot, one 5G service occupies 1 time slot. Each PHY data is written into an independent cache, and one PHY corresponds to a RAM. In the overhead processing, it is already known which PHYs are included in the Group. Through the CPU configuration, the data of all PHYs are combined into an ODUflex time division data stream according to the multiplexing relationship of space division to time division. The ODUflex in different Groups form a data stream, and the PHY number, Group number, and time slot number are output synchronously with the data stream. Each time slot ODUflex carries the Group number, time slot number, and PHY number; when this data stream is output to different customer ports for demapping, each time slot data is allocated to different customer service ports according to the CPU configuration, thereby completing the FlexO payload cross demapping function. The complexity of time slot cross processing is simplified through time division multiplexing.
[0132] In the sending direction, see Fig.14 After the client-side service is mapped into ODUflex, it is combined into one ODUflex through space division and time division. The data stream is mapped to a maximum of N PHYs. Each PHY is an independently transmitted frame structure. The mapped data is processed by PHY as a unit for overhead insertion, AM insertion, encoding, distribution and other processing.
[0133] Fig.10 It 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, and the data is stored in the linked list according to the time slot number. Under the control of time division self-oscillation, the linked list reads out the data of each time slot stored in the linked list according to the time slot relationship. It is mapped to ODTUF.ts using GMP, BGMP or BMP. ODTUF.ts also carries information such as Group, PHY port, and time slot number. And according to this information, it is filled into the Group and PHY configured by the CPU. When a PHY cannot accommodate the time slots mapped from a certain ODUflex, the remaining time slots will be loaded into another PHY. These two PHYs belong to the same Group, and the PM segment overhead is independent of each other. 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 configured by the CPU. The data read from the linked list enters the output fifo after mapping, and the same Group must be aligned before output.
[0134] When the mapped FlexO processes the overhead in the sending direction, it selects CPU insertion overhead or overhead line insertion overhead or transparent transmission according to the configuration, such as Fig.12 . After the overhead is processed, the AM header information is inserted.
[0135] After overhead processing, the FlexO data can be encoded in RS (544, 514) or RS (528, 514). Then it is sent to the frame processing circuit on the sending side for scrambling, multi-frame indication extraction, and then output. Fig.13 .
[0136] Specific implementation method 2 (post-de-skew + time division mapping and de-mapping):
[0137] See Figure 4 In the receiving direction, each PHY performs independent framing and decoding. After overhead extraction and overhead processing, the Group number and the numbering sequence of different PHYs in the same Group are obtained according to the overhead, and the Group alarm or interrupt information is generated according to each PHY; then the offset is removed and the mapping is performed.
[0138] Figure 2 The figure shows the framing process of each PHY receiving and sending direction. After AM is determined in the receiving direction, the frame header is found and the multiframe indication signal is extracted for the off-chip overhead line as an overhead insertion indication. After framing, the service data is descrambled and output to the next stage for decoding.
[0139] Decoding supports RS (544, 514) or RS (528, 514), which can be selected according to configuration.
[0140] After decoding, Figure 6 The overhead is extracted through multi-frame framing. The extracted overhead needs to be verified by CRC before it can be processed. The overhead is divided into two parts: PHY overhead and PM segment monitoring overhead. While performing CRC verification, the extracted overhead is sent to the overhead line circuit to facilitate off-chip processing of the overhead.
[0141] After overhead extraction and overhead processing, each PHY data stream is Figure 5 The offset between PHYs is removed. Under the control of the read / write control circuit, data is stored in the fifo corresponding to each PHY; under the control of the circuit, each fifo reads data at the same time to achieve the de-skew effect. Under the CPU configuration, the read / write control circuit can simultaneously perform de-skew processing on different groups composed of N PHYs.
[0142] After de-skewing, it enters the demapping circuit, strips off the FlexO overhead, and only writes the payload part into the demapping circuit.
[0143] Figure 7It is the processing of time division and mapping. To be compatible with old OTN equipment, when the FlexO time slot adopts 1.25G time slot, one 5G service occupies 4 time slots; when the FlexO time slot adopts 5G time slot, one 5G service occupies 1 time slot. Each PHY data is written into an independent cache, and one PHY corresponds to a RAM. In the overhead processing, it is already known which PHYs are included in the Group. Through the CPU configuration, the data of all PHYs are combined into an ODUflex time division data stream according to the multiplexing relationship of space division to time division. The ODUflex in different Groups form a data stream, and the PHY number, Group number, and time slot number are output synchronously with the data stream. Each time slot ODUflex carries the Group number, time slot number, and PHY number; when this data stream is output to different customer ports for demapping, each time slot data is allocated to different customer service ports according to the CPU configuration, thereby completing the FlexO payload cross demapping function. The complexity of time slot cross processing is simplified through time division multiplexing.
[0144] In the sending direction, see Fig.14 After the client-side service is mapped into ODUflex, it is combined into one ODUflex through space division and time division. The data stream is mapped to a maximum of N PHYs. Each PHY is an independently transmitted frame structure. The mapped data is processed by PHY as a unit for overhead insertion, AM insertion, encoding, distribution and other processing.
[0145] Fig.10 It 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, and the data is stored in the linked list according to the time slot number. Under the control of time division self-oscillation, the linked list reads out the data of each time slot stored in the linked list according to the time slot relationship. It is mapped to ODTUF.ts using GMP, BGMP or BMP. ODTUF.ts also carries information such as Group, PHY port, and time slot number. And according to this information, it is filled into the Group and PHY configured by the CPU. When a PHY cannot accommodate the time slots mapped from a certain ODUflex, the remaining time slots will be loaded into another PHY. These two PHYs belong to the same Group, and the PM segment overhead is independent of each other. 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 configured by the CPU. The data read from the linked list enters the output fifo after mapping, and the same Group must be aligned before output.
[0146] When the mapped FlexO processes the overhead in the sending direction, it selects CPU insertion overhead or overhead line insertion overhead or transparent transmission according to the configuration, such as Fig.12 . After the overhead is processed, the AM header information is inserted.
[0147] After overhead processing, the FlexO data can be encoded in RS (544, 514) or RS (528, 514). Then it is sent to the frame processing circuit on the sending side for scrambling, multi-frame indication extraction, and then output. Fig.13 .
[0148] Specific implementation method three (de-shifting first + spatial division mapping demapping):
[0149] Compared with the 100G rate PHY of the standard FlexO, the present invention adopts 25G rate PHY as the basic unit combination, supports 1.25G or 5G time slots to be combined into FlexO frames, so as to support the FlexO service to realize the 5G fronthaul function requirements. Compared with FlexO-SR, the PHY rate is reduced and the time slot granularity is divided finer, making the combination more flexible. The same service can be combined with multiple PHYs to form a Group. Up to N PHY combinations can be supported to support multiple different services. That is, multiple Groups can be supported.
[0150] See Figure 3 In the receiving direction, each PHY performs independent framing and decoding, and multiple PHYs in the same group are first de-skewed. After de-skew, each PHY first performs overhead processing on a PHY basis, obtains the Group number and the numbering sequence of different PHYs in the same Group based on the overhead, and generates Group alarm or interrupt information based on each PHY.
[0151] Figure 2 The figure shows the framing process of each PHY receiving and sending direction. After AM is determined in the receiving direction, the frame header is found and the multiframe indication signal is extracted for the off-chip overhead line as an overhead insertion indication. After framing, the service data is descrambled and output to the next stage for decoding.
[0152] Decoding supports RS (544, 514) or RS (528, 514), which can be selected according to configuration.
[0153] After decoding, each PHY data is in Figure 5 The offset between PHYs is removed. Under the control of the read / write control circuit, data is stored in the fifo corresponding to each PHY; under the control of the circuit, each fifo reads data at the same time to achieve the de-skew effect. Under the CPU configuration, the read / write control circuit can simultaneously perform de-skew processing on different groups composed of N PHYs.
[0154] Figure 6The overhead is extracted through multi-frame framing. The extracted overhead needs to be verified by CRC before it can be processed. The overhead is divided into two parts: PHY overhead and PM segment monitoring overhead. While performing CRC verification, the extracted overhead is sent to the overhead line circuit to facilitate off-chip processing of the overhead.
[0155] After overhead extraction and overhead processing, each PHY data stream enters the demapping circuit. After stripping the FlexO overhead, only the payload part is written into the demapping circuit.
[0156] Figure 8 It is the processing of empty decomposition mapping. To be compatible with old OTN equipment, when the FlexO time slot adopts 1.25G time slot, one 5G service occupies 4 time slots; when the FlexO time slot adopts 5G time slot, one 5G service occupies 1 time slot. Each PHY data is written into an independent cache, and one PHY corresponds to a RAM. In the overhead processing, it is already 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. A unified time slot number will be generated based on these signals. The CPU configures all time slot numbers to cross and go to different customer service ports for demapping. It supports up to N FlexO PHYs, so this cross also has the same N copies.
[0157] In the sending direction, see Fig.14 After the client-side service is mapped into ODUflex, the data stream is mapped to a maximum of N PHYs through FlexO mapping. Each PHY is an independently transmitted frame structure. The mapped data is processed by PHY as a unit for overhead insertion, AM insertion, encoding, and distribution.
[0158] Fig.11 It is a space division mapping circuit. After each customer service is mapped to ODUflex, it is input into the FlexO mapping cache. The cache is arranged in service port units, and each service port has a cache; each cache is segmented according to the configured number of time slots. When mapping service data, according to the Group number, PHY number, and time slot number configured by the CPU, the corresponding port RAM and time slot queue are searched under the control of the FlexO service rate, and the data of the corresponding time slot is read and output to form a frame.
[0159] In the mapping circuit, it is mapped to N PHYs, each PHY is an independently transmitted frame structure, and subsequently overhead insertion, AM insertion, encoding, distribution and other processing are performed on a PHY basis.
[0160] When the mapped FlexO processes the overhead in the sending direction, it selects CPU insertion overhead or overhead line insertion overhead or transparent transmission according to the configuration, such as Fig.12 . After the overhead is processed, the AM header information is inserted.
[0161] After overhead processing, the FlexO data can be encoded in RS (544, 514) or RS (528, 514). Then it is sent to the frame processing circuit on the sending side for scrambling, multi-frame indication extraction, and then output. Fig.13 .
[0162] Specific implementation method 4 (post-de-skew + space division mapping demapping):
[0163] See Figure 4 In the receiving direction, each PHY performs independent framing and decoding. After overhead extraction and overhead processing, the Group number and the numbering sequence of different PHYs in the same Group are obtained according to the overhead, and the Group alarm or interrupt information is generated according to each PHY. Then, the multiple PHYs in the same Group are de-skewed.
[0164] Figure 2 The figure shows the framing process of each PHY receiving and sending direction. After AM is determined in the receiving direction, the frame header is found and the multiframe indication signal is extracted for the off-chip overhead line as an overhead insertion indication. After framing, the service data is descrambled and output to the next stage for decoding.
[0165] Decoding supports RS (544, 514) or RS (528, 514), which can be selected according to configuration.
[0166] After decoding, Figure 6 The overhead is extracted through multi-frame framing. The extracted overhead needs to be verified by CRC before it can be processed. The overhead is divided into two parts: PHY overhead and PM segment monitoring overhead. While performing CRC verification, the extracted overhead is sent to the overhead line circuit to facilitate off-chip processing of the overhead.
[0167] After overhead extraction and overhead processing, each PHY data stream is Figure 5 The offset between PHYs is removed. Under the control of the read / write control circuit, data is stored in the fifo corresponding to each PHY; under the control of the circuit, each fifo reads data at the same time to achieve the de-skew effect. Under the CPU configuration, the read / write control circuit can simultaneously perform de-skew processing on different groups composed of N PHYs.
[0168] After de-skewing, it enters the demapping circuit. After stripping the FlexO overhead, only the payload is written into the demapping circuit.
[0169] Figure 8It is the processing of empty decomposition mapping. To be compatible with old OTN equipment, when the FlexO time slot adopts 1.25G time slot, one 5G service occupies 4 time slots; when the FlexO time slot adopts 5G time slot, one 5G service occupies 1 time slot. Each PHY data is written into an independent cache, and one PHY corresponds to a RAM. In the overhead processing, it is already 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. A unified time slot number will be generated based on these signals. The CPU configures all time slot numbers to cross and go to different customer service ports for demapping. It supports up to N FlexO PHYs, so this cross also has the same N copies.
[0170] In the sending direction, see Fig.14 After the client-side service is mapped into ODUflex, the data stream is mapped to a maximum of N PHYs through FlexO mapping. Each PHY is an independently transmitted frame structure. The mapped data is processed by PHY as a unit for overhead insertion, AM insertion, encoding, and distribution.
[0171] Fig.11 It is a space division mapping circuit. After each customer service is mapped to ODUflex, it is input into the FlexO mapping cache. The cache is arranged in service port units, and each service port has a cache; each cache is segmented according to the configured number of time slots. When mapping service data, according to the Group number, PHY number, and time slot number configured by the CPU, the corresponding port RAM and time slot queue are searched under the control of the FlexO service rate, and the data of the corresponding time slot is read and output to form a frame.
[0172] In the mapping circuit, it is mapped to N PHYs, each PHY is an independently transmitted frame structure, and subsequently overhead insertion, AM insertion, encoding, distribution and other processing are performed on a PHY basis.
[0173] When the mapped FlexO processes the overhead in the sending direction, it selects CPU insertion overhead or overhead line insertion overhead or transparent transmission according to the configuration, such as Fig.12 . After the overhead is processed, the AM header information is inserted.
[0174] After overhead processing, the FlexO data can be encoded in RS (544, 514) or RS (528, 514). Then it is sent to the frame processing circuit on the sending side for scrambling, multi-frame indication extraction, and then output. Fig.13 .
[0175] This application uses 25G PHY (physical interface) as the processing unit and supports a maximum of N PHY combinations (maximum support N, depending on demand). N PHYs can be flexibly combined to support the services configured by the network management, and the maximum capacity can be determined according to demand. Each PHY has its own framing, decoding, encoding overhead processing and other processing processes.
[0176] By adopting the method or device described in the present application, compared with the existing FlexO-SR, there is no ODUCn mapping and demapping process in the middle, thereby achieving the effect of reducing delay and supporting 5G fronthaul; the standard FlexO framing process is reused to the greatest extent; different customer services occupy different time slots in the FlexO frame and are transmitted in one PHY, or a high-speed service can be divided into multiple time slots and transmitted through multiple PHYs to form a Group; 1.25G time slots and 5G time slots are supported, and a flexible mapping and demapping method is adopted to minimize resource consumption and improve the flexibility of service processing.
[0177] Although the embodiments disclosed in the present invention are as above, the contents described are only embodiments adopted to facilitate understanding of the present invention and are not intended to limit the present invention. Any technician in the field to which the present invention belongs can make any modifications and changes in the form and details of implementation without departing from the spirit and scope disclosed in the present invention, but the patent protection scope of the present invention shall still be subject to the scope defined in the attached claims.
Claims
1. A data receiving method, comprising: Receiving flexible optical transport network FlexO signals from one or more physical layer PHY interfaces; Performing framing and decoding processing on the FlexO signals of each PHY interface to obtain the FlexO frames corresponding to each PHY interface; Performing de-skew processing and overhead extraction processing on the FlexO frames corresponding to each PHY interface in the same group to obtain the FlexO payload corresponding to each PHY interface in the same group; Combining the FlexO payloads corresponding to the 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 carries the group number, time slot number and PHY interface number; 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.
2. The method according to claim 1, characterized in that The de-skew processing and overhead extraction processing of the FlexO frames corresponding to each PHY interface in the same group includes: For the FlexO frames corresponding to the respective PHY interfaces in the same group, firstly perform the de-skew processing and then perform the overhead extraction processing; or, For the FlexO frames corresponding to the respective PHY interfaces in the same group, the overhead extraction process is first performed, and then the de-skew process is performed.
3. The method according to claim 1, characterized in that The de-skew processing includes: Under the control of the read-write control circuit, the FlexO frames corresponding to the PHY interfaces in the same group are stored in the FIFO buffers corresponding to the PHY interfaces: Under the control of the read-write control circuit, the FlexO frames in the FIFO buffer corresponding to each of the PHY interfaces are read simultaneously to achieve a de-skew effect.
4. A data transmission method, comprising: Mapping one or more customer services in the same group into one or more flexible rate optical channel data unit ODUflex frames; Mapping the ODUflex frame to FlexO frames of one or more physical layer PHY interfaces in the same group; The mapping of the ODUflex frame into FlexO frames of one or more PHY interfaces in the same group includes: Combining the one or more ODUflex frames into one ODUflex time-division data stream, wherein the ODUflex frame of each time slot carries a group number, a time slot number and a PHY interface number; The ODUflex frames of each time slot are stored in a linked list according to the time slot number; Under the control of the time-division self-oscillation circuit, the ODUflex frames of each time slot are read, mapped to the corresponding PHY interface in the same group, and output after FIFO buffer alignment; Overhead insertion processing and encoding processing are performed on the FlexO frames of each PHY interface, and the frames are sent through each PHY interface.
5. A data receiving device, characterized in that: It includes a receiving module, a first processing module, a second processing module and a demapping module, wherein: A receiving module, used for receiving a flexible optical transport network FlexO signal of one or more physical layer PHY interfaces; The first processing module is used to perform framing and decoding processing on the FlexO signal of each PHY interface to obtain a FlexO frame corresponding to each PHY interface; The second processing module is used to perform de-skew processing and overhead extraction processing on the FlexO frames corresponding to each PHY interface in the same group to obtain the FlexO payload corresponding to each PHY interface in the same group; The demapping module is used to combine the FlexO payloads corresponding to the various PHY interfaces in the same group into a flexible rate optical channel data unit ODUflex time-division data stream, and the ODUflex frame of each time slot carries the group number, the time slot number and the PHY interface number; 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.
6. A data sending device, characterized in that: It includes a first mapping module, a second mapping module and a sending module, wherein: A first mapping module is used to map one or more customer services in the same group into one or more flexible rate optical channel data unit ODUflex frames; A second mapping module, configured to map the ODUflex frame into a FlexO frame of one or more physical layer PHY interfaces in the same group; The second mapping module is specifically used to combine the one or more ODUflex frames into an ODUflex time-division data stream, where the ODUflex frame of each time slot carries a group number, a time slot number and a PHY interface number; store the ODUflex frames of each time slot into a linked list according to the time slot number; read the ODUflex frames of each time slot under the control of the time-division self-oscillation circuit, map them to the corresponding PHY interface in the same group, and align and output them through the FIFO cache; The sending module is used to perform overhead insertion processing and encoding processing on the FlexO frames of each PHY interface, and send them through each PHY interface.
Citation Information
Patent Citations
Flexible Ethernet overhead multiframe locking method and device and OTN device
CN107437973A
Optical transport network business access method and device
CN108023660A