Method and apparatus for service processing in optical transport network, and electronic device
AssigneeZte Corporation
InventorsYuanbin Zhang, Yan Yuan
Life of this patent
Estimating the term…
Abstract
Embodiments of the present disclosure provides a method for service processing in an optical transport network including: mapping a client service into a service container; and mapping the service container into an optical transport network frame, where a payload area of the optical transport network frame consists of payload blocks, each of the payload blocks includes an overhead area, and the overhead area includes an indicator being used for indicating whether data carried by the payload block is service container data or stuff data. The embodiments of the present disclosure further provide an apparatus for service processing in an optical transport network, an electronic device and a computer readable medium.
Claims13
A method for service processing in optical transport network, comprising:
- mapping a client service into a service container;
- and
- mapping the service container into an optical transport network frame,
- wherein a payload area of the optical transport network frame consists of payload blocks, each of the payload block comprises an overhead area, and the overhead area comprises an indicator being used for indicating whether data carried by the payload block is service container data or stuff data,
- wherein in the payload area of the optical transport network frame, multiple consecutive payload blocks are used as a transmission period, and
- mapping the service container into the optical transport network frame comprises:
- calculating the number N1 of payload blocks that need to be occupied by the service container in one transmission period according to a bandwidth of the service container and a bandwidth of the payload blocks;
- determining distribution locations in the transmission period of payload blocks that need to be occupied by the service container based on a preset allocation algorithm according to the number N1 of payload blocks that need to be occupied by the service container in the transmission period;
- and
- mapping the service container into the payload blocks at the determined distribution locations,
- wherein in one transmission period, for the payload blocks for bearing the service container, in a case that data size of the service container data buffered in a service container cache area exceeds a size of one payload block, the service container data is carried in the payload block;
- otherwise, the stuff data is carried in the payload block.
An apparatus for service processing in optical transport network, comprising:
- a first mapping module configured to map a client service into a service container;
- and
- a second mapping module configured to map the service container into an optical transport network frame,
- wherein a payload area of the optical transport network frame comprises multiple payload blocks, each of the payload block comprises an overhead area, and the overhead area comprises an indicator being used for indicating whether data carried by the payload block is service container data or stuff data,
- wherein in the payload area of the optical transport network frame, multiple consecutive payload blocks are used as a transmission period, and
- the second mapping module is configured to:
- calculate the number N1 of payload blocks that need to be occupied by the service container in one transmission period according to a bandwidth of the service container and a bandwidth of the payload blocks;
- determine distribution locations in the transmission period of payload blocks that need to be occupied by the service container based on a preset allocation algorithm according to the number N1 of payload blocks that need to be occupied by the service container in the transmission period;
- and
- map the service container into the payload blocks at the determined distribution locations,
- wherein in one transmission period, for the payload blocks for bearing the service container, in a case that data size of the service container data buffered in a service container cache area exceeds a size of one payload block, the service container data is carried in the payload block;
- otherwise, the stuff data is carried in the payload block.
Dependencies are inferred from the claim text.