# US 2021/0289273 A1 · Service data processing method and device

> Agents: this data is available as JSON from the patentgrep API and MCP server — see https://patentgrep.com/llms.txt

- Number: US 2021/0289273 A1
- Document ID: US20210289273A1
- Status: Published application
- Kind: A1
- Application number: 17/333,177
- Filed: 2021-05-28
- Published: 2021-09-16
- Earliest claimed: 2018-11-30
- Assignees: Huawei Technologies Co., Ltd.
- Applicants: Huawei Technologies Co., Ltd.
- Inventors: Junling XIANG; Hong YANG; Tianhai CHANG
- Web page: https://patentgrep.com/patent/US20210289273A1

## CPC

- H04J 3/14: Monitoring arrangements {(for SDH/SONET rings H04J3/085)}
- H04Q 11/0062: {Network aspects}
- H04B 10/27: Arrangements for networking
- H04J 3/1658: {carrying packets or ATM cells; (H04J3/1664 takes precedence for payloads with different packet types)}
- H04J 2203/006: Fault tolerance and recovery
- H04J 2203/0082: Interaction of SDH with non-ATM protocols
- H04J 2203/0085: Support of Ethernet
- H04Q 2011/0081: {Fault tolerance; Redundancy; Recovery; Reconfigurability}
- H04J: MULTIPLEX COMMUNICATION (transmission in general H04B; peculiar to transmission of digital information H04L5/00; systems for the simultaneous or sequential transmission of more than one television signal H04N7/08; in exchanges H04Q11/00; stereophonic systems H04S)
- H04Q: SELECTING (switches, relays, selectors H01H; wireless communication networks H04W)
- H04B: TRANSMISSION

## Abstract

This application discloses a service data processing method and device. A transmit-end device may generate an optical transport network (OTN) encapsulated signal carrying service data, and generate at least n FlexO (flexible optical transport network) frames based on the OTN encapsulated signal and send the at least n FlexO frames, where r FlexO frames in the at least n FlexO frames carry service check data, and the service check data may be used to restore the service data when bit error rates of k FlexO frames are greater than a reference bit error rate. In this way, if no more than r physical ports included in a FlexO group interface fail, or a bit error rate of no more than r FlexO frames is greater than the reference bit error rate due to another reason, a receive-end device may restore the service data through a received FlexO frame.

## Claims

### Claim 1

A service data processing method, comprising:
generating an optical transport network (OTN) encapsulated signal, wherein the OTN encapsulated signal is used to carry service data, and the OTN encapsulated signal is a signal obtained by encapsulating the service data in an OTN data packet encapsulation format;
generating at least n FlexO (flexible optical transport network) frames, wherein the at least n FlexO frames are used to carry the OTN encapsulated signal, the at least n FlexO frames comprise r FlexO check frames and a plurality of FlexO data frames; the plurality of FlexO data frames carry the service data, and the r FlexO check frames carry service check data, wherein the service check data is used to restore the service data when bit error rates of k FlexO frames are greater than a reference bit error rate; and k is a positive integer not greater than r, and r is a positive integer not greater than n−1; and
sending the at least n FlexO frames through a flexible optical transport network FlexO group interface.

### Claim 2 (depends on 1)

The method according to claim 1, wherein the OTN encapsulated signal is an OTUXn signal.

### Claim 3 (depends on 2)

The method according to claim 2, wherein the OTUXn signal comprises n OTUX frames, wherein the n OTUX frames comprise n−r OTUX data frames and r OTUX check frames, and the n−r OTUX data frames carry the service data;
each of the n−r OTUX data frames and the r OTUX check frames comprises w timeslots;
performing redundancy coding on service data in the tth timeslot of the n−r OTUX data frames to obtain corresponding check data, wherein the check data is placed in the tth timeslot of the OTUX check frames, and t is any positive integer within (0, w−1); and
generating the r FlexO check frames based on the r OTUX check frames, generating n−r FlexO data frames based on the n−r OTUX data frames, and using the r FlexO check frames and the n−r FlexO data frames as the n FlexO frames.

### Claim 4 (depends on 3)

The method according to claim 3, wherein each OTUX check frame or each FlexO check frame comprises timeslot indication information, and the timeslot indication information is used to indicate whether a corresponding timeslot is a check timeslot.

### Claim 5 (depends on 2)

The method according to claim 2, wherein the generating at least n FlexO frames comprises:
obtaining n OTUX data frames based on the OTUXn signal, wherein the n OTUX data frames carry the service data;
performing redundancy coding based on the n OTUX data frames to obtain r OTUX check frames, wherein the r OTUX check frames carry the service check data; and
generating n FlexO data frames based on the n OTUX data frames, generating the r FlexO check frames based on the r OTUX check frames, and using the n FlexO data frames and the r FlexO check frames as n+r FlexO frames.

### Claim 6 (depends on 2)

The method according to claim 2, wherein the generating at least n FlexO frames comprises:
obtaining n OTUX data frames based on the OTUXn signal, wherein the n OTUX data frames carry the service data; and
generating n FlexO data frames based on the n OTUX data frames, performing redundancy coding based on the n FlexO data frames to obtain the r FlexO check frames, and using the n FlexO data frames and the r FlexO check frames as n+r FlexO frames.

### Claim 7 (depends on 5)

The method according to claim 5, wherein each OTUX check frame or each FlexO check frame comprises a first overhead, and each OTUX data frame or each FlexO data frame comprises a second overhead; the first overhead and the second overhead each comprise a frame alignment FA byte and an MSI overhead, wherein the MSI overhead comprised in the first overhead comprises frame indication information used to indicate that a corresponding frame is a check frame; and the first overhead is used to carry information obtained by checking information other than the FA byte and the MSI overhead in the second overhead.

### Claim 8 (depends on 6)

The method according to claim 6, wherein each OTUX check frame or each FlexO check frame comprises a first overhead, and each OTUX data frame or each FlexO data frame comprises a second overhead; the first overhead and the second overhead each comprise a frame alignment FA byte and an MSI overhead, wherein the MSI overhead comprised in the first overhead comprises frame indication information used to indicate that a corresponding frame is a check frame; and the first overhead is used to carry information obtained by checking information other than the FA byte and the MSI overhead in the second overhead.

### Claim 9 (depends on 7)

The method according to claim 7, wherein the first overhead and the second overhead each comprise an in-line monitoring indication code, and the in-line monitoring indication code is used to indicate whether a bit error rate of a corresponding frame is greater than the reference bit error rate.

### Claim 10 (depends on 8)

The method according to claim 8, wherein the first overhead and the second overhead each comprise an in-line monitoring indication code, and the in-line monitoring indication code is used to indicate whether a bit error rate of a corresponding frame is greater than the reference bit error rate.

### Claim 11 (depends on 7)

The method according to claim 7, wherein the first overhead or the second overhead further comprises port switching indication information; and
the port switching indication information is used to indicate to start counting from a currently sent OTUXn signal, and after i OTUXn signals are sent, send a FlexO frame through the FlexO group interface to which h physical ports have been added; or the port switching indication information is used to indicate to: start counting from a currently sent OTUXn signal, and after i OTUXn signals are sent, remove h physical ports in a plurality of physical ports comprised in the FlexO group interface, and send a FlexO frame through the FlexO group interface in which the ports have been removed.

### Claim 12 (depends on 1)

The method according to claim 1, wherein the sending the at least n FlexO frames through a FlexO group interface comprises:
sending each of the at least n FlexO frames through at least two physical ports in a plurality of physical ports comprised in the FlexO group interface; or sending at least two FlexO frames in the at least n FlexO frames through each of the plurality of physical ports comprised in the FlexO group interface.

### Claim 13 (depends on 3)

The method according to claim 3, wherein the performing redundancy coding comprises performing coding using any one of a Reed-Solomon RS type erasure code, a low-density erasure code, an array code, a digital fountain code, a regenerating code based on network coding, and a local check code.

### Claim 14

A service data processing method, comprising:
receiving m FlexO frames through a flexible optical transport network FlexO group interface, wherein the m FlexO frames are at least n FlexO frames sent by a transmit-end device or a part of the at least n FlexO frames, the at least n FlexO frames comprise r FlexO check frames and a plurality of FlexO data frames, the r FlexO check frames carry service check data, and the plurality of FlexO data frames carry service data; and
if it is detected, based on the m FlexO frames, that the at least n FlexO frames sent by the transmit-end device comprise k FlexO frames whose bit error rates are greater than a reference bit error rate, restoring the service data based on first service check data and first service data that are carried in a plurality of first FlexO frames in the m FlexO frames, wherein the plurality of first FlexO frames are FlexO frames whose bit error rates are not greater than the reference bit error rate, the first service data is a part of the service data, and k is a positive integer not greater than r.

### Claim 15 (depends on 14)

The method according to claim 14, wherein the restoring the service data based on first service check data and first service data that are carried in a plurality of first FlexO frames in the m FlexO frames comprises:
performing demapping on each of the m FlexO frames to obtain m OTUX frames that are in a one-to-one correspondence with the m FlexO frames;
restoring OTUX frames corresponding to the k FlexO frames in the at least n FlexO frames based on the first service check data and the first service data that are carried in a plurality of first OTUX frames that are in the m OTUX frames and that are in a one-to-one correspondence with the plurality of first FlexO frames, wherein the k FlexO frames are FlexO frames that are in the at least n FlexO frames and whose bit error rates are greater than the reference bit error rate; and
restoring the service data based on the first service data carried in the plurality of first OTUX frames and second service data carried in the restored OTUX frames corresponding to the k FlexO frames.

### Claim 16 (depends on 15)

The method according to claim 15, wherein each of the m OTUX frames comprises an OTUX overhead, and the OTUX overhead of each OTUX frame comprises a frame alignment FA byte and a multiplex structure identifier MSI overhead;
the restoring OTUX frames corresponding to the k FlexO frames in the at least n FlexO frames based on first service check data and first service data that are carried in a plurality of first OTUX frames that are in the m OTUX frames and that are in a one-to-one correspondence with the plurality of first FlexO frames comprises:
aligning the m OTUX frames based on the FA byte in the OTUX overhead of each of the m OTUX frames;
determining that an OTUX frame that is in the plurality of first OTUX frames and whose MSI overhead comprises frame indication information is an OTUX check frame, and determining that a remaining OTUX frame in the plurality of first OTUX frames is an OTUX data frame;
restoring OTUX overheads of the OTUX frames corresponding to the k FlexO frames based on information in an OTUX overhead of the OTUX check frame other than an FA byte and an MSI overhead, and information in an OTUX overhead of the OTUX data frame other than an FA byte and an MSI overhead;
restoring service data in the OTUX frames corresponding to the k FlexO frames based on the first service data carried in the OTUX data frame and the first service check data carried in the OTUX check frame; and
obtaining the OTUX frames corresponding to the k FlexO frames based on the restored OTUX overheads of the OTUX frames corresponding to the k FlexO frames and the service data in the OTUX frames corresponding to the k FlexO frames.

### Claim 17 (depends on 14)

The method according to claim 14, wherein each of the m FlexO frames comprises an in-line monitoring indication code, and the in-line monitoring indication code is used to indicate whether a bit error rate of a corresponding FlexO frame is greater than the reference bit error rate; and
the method further comprises:
determining, based on a plurality of FlexO frames that are received through a plurality of physical ports in the FlexO group interface before the m FlexO frames are received, a reference code of a FlexO frame in the plurality of FlexO frames received through each of the plurality of physical ports; and
determining, based on the reference code of the FlexO frame in the plurality of FlexO frames received through each of the plurality of physical ports and the in-line monitoring indication code carried in each of the m FlexO frames, whether the at least n FlexO frames comprise k FlexO frames whose bit error rates are greater than the reference bit error rate.

### Claim 18 (depends on 15)

The method according to claim 15, wherein the method further comprises:
when an OTUX overhead of any one of the m OTUX frames comprises port switching indication information, based on the port switching indication information, starting counting from a currently received OTUXn signal, and after an ith OTUXn signal is received, receiving a FlexO frame sent through the FlexO group interface to which h physical ports have been added, or receiving a FlexO frame sent through the FlexO group interface in which h physical ports have been removed.

### Claim 19

A service data processing device, wherein the service data processing device comprises a processor and a memory, wherein
the memory is configured to store a program that supports the service data processing device to execute a service data processing method, and the memory is further configured to store data used to implement the service data processing method;
the service data processing method comprising:
generating an optical transport network (OTN) encapsulated signal, wherein the OTN encapsulated signal is used to carry service data, and the OTN encapsulated signal is a signal obtained by encapsulating the service data in an OTN data packet encapsulation format;
generating at least n FlexO frames, wherein the at least n FlexO frames are used to carry the OTN encapsulated signal, the at least n FlexO frames comprise r FlexO check frames and a plurality of FlexO data frames; the plurality of FlexO data frames carry the service data, and the r FlexO check frames carry service check data, wherein the service check data is used to restore the service data when bit error rates of k FlexO frames are greater than a reference bit error rate; and k is a positive integer not greater than r, and r is a positive integer not greater than n;
sending the at least n FlexO frames through a flexible optical transport network (FlexO) group interface;
and
the processor is configured to execute the program stored in the memory to implement the service data processing method.
