Patent ID: 8462816

Claim:
A method for mapping service data, wherein the service data is carried by a plurality of frame groups, each frame group comprises at least two data frames, and each data frame comprises a payload value region and a payload region, the payload region comprises multiple containers, each of the containers is configured to carry service data of a service, the method comprises: calculating a payload value according to the service data to be transmitted in a current frame group; inserting the payload value into the payload value regions of a current frames in the current frame group, wherein the payload value is used to indicate an amount of service data carried by corresponding containers of data frames in a next frame group, the sequence number of the corresponding containers is the same as that of the current frame in the current frame group; obtaining payload values from data frames of a previous frame group; extracting and mapping service data to the containers of the payload region according to the previous payload values, wherein the amount of the service data mapped to each of the containers is determined by the payload values stored in the data frames of a previous frame group.